@alma-oss/spirit-web-react 4.4.2 → 4.6.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/CHANGELOG.md +90 -0
- package/DEPRECATIONS.md +2 -2
- package/README.md +194 -6
- package/dist/bundles/web-react.umd.js +2500 -1321
- package/dist/bundles/web-react.umd.js.map +1 -1
- package/dist/bundles/web-react.umd.min.js +1 -1
- package/dist/bundles/web-react.umd.min.js.map +1 -1
- package/dist/common/constants.d.ts +1 -1
- package/dist/common/src/utilities/cssLengthToPixels.cjs +2 -0
- package/dist/common/src/utilities/cssLengthToPixels.cjs.map +1 -0
- package/dist/common/src/utilities/cssLengthToPixels.js +33 -0
- package/dist/common/src/utilities/cssLengthToPixels.js.map +1 -0
- package/dist/common/src/utilities/ssr.cjs +2 -0
- package/dist/common/src/utilities/ssr.cjs.map +1 -0
- package/dist/common/src/utilities/ssr.js +5 -0
- package/dist/common/src/utilities/ssr.js.map +1 -0
- package/dist/common/utilities.d.ts +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/components/Accordion/demo/AccordionBasic.cjs +2 -0
- package/dist/components/Accordion/demo/AccordionBasic.cjs.map +1 -0
- package/dist/components/Accordion/demo/AccordionBasic.js +46 -0
- package/dist/components/Accordion/demo/AccordionBasic.js.map +1 -0
- package/dist/components/Accordion/demo/AccordionOneItemOpenAtATime.cjs +2 -0
- package/dist/components/Accordion/demo/AccordionOneItemOpenAtATime.cjs.map +1 -0
- package/dist/components/Accordion/demo/AccordionOneItemOpenAtATime.js +31 -0
- package/dist/components/Accordion/demo/AccordionOneItemOpenAtATime.js.map +1 -0
- package/dist/components/Accordion/demo/preview.cjs +2 -0
- package/dist/components/Accordion/demo/preview.cjs.map +1 -0
- package/dist/components/Accordion/demo/preview.js +16 -0
- package/dist/components/Accordion/demo/preview.js.map +1 -0
- package/dist/components/Accordion/demo/toggleValueByType.cjs +2 -0
- package/dist/components/Accordion/demo/toggleValueByType.cjs.map +1 -0
- package/dist/components/Accordion/demo/toggleValueByType.js +8 -0
- package/dist/components/Accordion/demo/toggleValueByType.js.map +1 -0
- package/dist/components/Accordion/preview/index.cjs +2 -0
- package/dist/components/Accordion/preview/index.js +6 -0
- package/dist/components/Accordion/preview/index.js.map +1 -0
- package/dist/components/Accordion/preview.d.ts +4 -0
- package/dist/components/Accordion.d.ts +1 -1
- package/dist/components/ActionGroup/demo/ActionLayoutCentered.cjs +2 -0
- package/dist/components/ActionGroup/demo/ActionLayoutCentered.cjs.map +1 -0
- package/dist/components/ActionGroup/demo/ActionLayoutCentered.js +19 -0
- package/dist/components/ActionGroup/demo/ActionLayoutCentered.js.map +1 -0
- package/dist/components/ActionGroup/demo/ActionLayoutDefault.cjs +2 -0
- package/dist/components/ActionGroup/demo/ActionLayoutDefault.cjs.map +1 -0
- package/dist/components/ActionGroup/demo/ActionLayoutDefault.js +12 -0
- package/dist/components/ActionGroup/demo/ActionLayoutDefault.js.map +1 -0
- package/dist/components/ActionGroup/demo/ActionLayoutReversedOnRight.cjs +2 -0
- package/dist/components/ActionGroup/demo/ActionLayoutReversedOnRight.cjs.map +1 -0
- package/dist/components/ActionGroup/demo/ActionLayoutReversedOnRight.js +19 -0
- package/dist/components/ActionGroup/demo/ActionLayoutReversedOnRight.js.map +1 -0
- package/dist/components/ActionGroup/demo/preview.cjs +2 -0
- package/dist/components/ActionGroup/demo/preview.cjs.map +1 -0
- package/dist/components/ActionGroup/demo/preview.js +16 -0
- package/dist/components/ActionGroup/demo/preview.js.map +1 -0
- package/dist/components/ActionGroup/preview/index.cjs +2 -0
- package/dist/components/ActionGroup/preview/index.cjs.map +1 -0
- package/dist/components/ActionGroup/preview/index.js +6 -0
- package/dist/components/ActionGroup/preview/index.js.map +1 -0
- package/dist/components/ActionGroup/preview.d.ts +4 -0
- package/dist/components/ActionGroup.d.ts +1 -1
- package/dist/components/Alert/demo/AlertCentered.cjs +2 -0
- package/dist/components/Alert/demo/AlertCentered.cjs.map +1 -0
- package/dist/components/Alert/demo/AlertCentered.js +13 -0
- package/dist/components/Alert/demo/AlertCentered.js.map +1 -0
- package/dist/components/Alert/demo/AlertColors.cjs +2 -0
- package/dist/components/Alert/demo/AlertColors.cjs.map +1 -0
- package/dist/components/Alert/demo/AlertColors.js +13 -0
- package/dist/components/Alert/demo/AlertColors.js.map +1 -0
- package/dist/components/Alert/demo/AlertContents.cjs +2 -0
- package/dist/components/Alert/demo/AlertContents.cjs.map +1 -0
- package/dist/components/Alert/demo/AlertContents.js +33 -0
- package/dist/components/Alert/demo/AlertContents.js.map +1 -0
- package/dist/components/Alert/demo/AlertIcons.cjs +2 -0
- package/dist/components/Alert/demo/AlertIcons.cjs.map +1 -0
- package/dist/components/Alert/demo/AlertIcons.js +13 -0
- package/dist/components/Alert/demo/AlertIcons.js.map +1 -0
- package/dist/components/Alert/demo/preview.cjs +2 -0
- package/dist/components/Alert/demo/preview.cjs.map +1 -0
- package/dist/components/Alert/demo/preview.js +18 -0
- package/dist/components/Alert/demo/preview.js.map +1 -0
- package/dist/components/Alert/preview/index.cjs +2 -0
- package/dist/components/Alert/preview/index.cjs.map +1 -0
- package/dist/components/Alert/preview/index.js +6 -0
- package/dist/components/Alert/preview/index.js.map +1 -0
- package/dist/components/Alert/preview.d.ts +4 -0
- package/dist/components/Alert.d.ts +1 -1
- package/dist/components/Avatar/constants.cjs +2 -0
- package/dist/components/Avatar/constants.cjs.map +1 -0
- package/dist/components/Avatar/constants.js +22 -0
- package/dist/components/Avatar/constants.js.map +1 -0
- package/dist/components/Avatar/demo/AvatarIcon.cjs +2 -0
- package/dist/components/Avatar/demo/AvatarIcon.cjs.map +1 -0
- package/dist/components/Avatar/demo/AvatarIcon.js +12 -0
- package/dist/components/Avatar/demo/AvatarIcon.js.map +1 -0
- package/dist/components/Avatar/demo/AvatarImage.cjs +2 -0
- package/dist/components/Avatar/demo/AvatarImage.cjs.map +1 -0
- package/dist/components/Avatar/demo/AvatarImage.js +11 -0
- package/dist/components/Avatar/demo/AvatarImage.js.map +1 -0
- package/dist/components/Avatar/demo/AvatarResponsiveSizes.cjs +2 -0
- package/dist/components/Avatar/demo/AvatarResponsiveSizes.cjs.map +1 -0
- package/dist/components/Avatar/demo/AvatarResponsiveSizes.js +38 -0
- package/dist/components/Avatar/demo/AvatarResponsiveSizes.js.map +1 -0
- package/dist/components/Avatar/demo/AvatarText.cjs +2 -0
- package/dist/components/Avatar/demo/AvatarText.cjs.map +1 -0
- package/dist/components/Avatar/demo/AvatarText.js +11 -0
- package/dist/components/Avatar/demo/AvatarText.js.map +1 -0
- package/dist/components/Avatar/demo/preview.cjs +2 -0
- package/dist/components/Avatar/demo/preview.cjs.map +1 -0
- package/dist/components/Avatar/demo/preview.js +20 -0
- package/dist/components/Avatar/demo/preview.js.map +1 -0
- package/dist/components/Avatar/preview/index.cjs +2 -0
- package/dist/components/Avatar/preview/index.cjs.map +1 -0
- package/dist/components/Avatar/preview/index.js +6 -0
- package/dist/components/Avatar/preview/index.js.map +1 -0
- package/dist/components/Avatar/preview.d.ts +4 -0
- package/dist/components/Avatar.d.ts +1 -1
- package/dist/components/Box/demo/BoxColorDemoFactory.cjs +2 -0
- package/dist/components/Box/demo/BoxColorDemoFactory.cjs.map +1 -0
- package/dist/components/Box/demo/BoxColorDemoFactory.js +29 -0
- package/dist/components/Box/demo/BoxColorDemoFactory.js.map +1 -0
- package/dist/components/Box/demo/BoxDefault.cjs +2 -0
- package/dist/components/Box/demo/BoxDefault.cjs.map +1 -0
- package/dist/components/Box/demo/BoxDefault.js +7 -0
- package/dist/components/Box/demo/BoxDefault.js.map +1 -0
- package/dist/components/Box/demo/BoxWithAll.cjs +2 -0
- package/dist/components/Box/demo/BoxWithAll.cjs.map +1 -0
- package/dist/components/Box/demo/BoxWithAll.js +24 -0
- package/dist/components/Box/demo/BoxWithAll.js.map +1 -0
- package/dist/components/Box/demo/BoxWithBackgroundColor.cjs +2 -0
- package/dist/components/Box/demo/BoxWithBackgroundColor.cjs.map +1 -0
- package/dist/components/Box/demo/BoxWithBackgroundColor.js +52 -0
- package/dist/components/Box/demo/BoxWithBackgroundColor.js.map +1 -0
- package/dist/components/Box/demo/BoxWithBackgroundGradient.cjs +2 -0
- package/dist/components/Box/demo/BoxWithBackgroundGradient.cjs.map +1 -0
- package/dist/components/Box/demo/BoxWithBackgroundGradient.js +12 -0
- package/dist/components/Box/demo/BoxWithBackgroundGradient.js.map +1 -0
- package/dist/components/Box/demo/BoxWithBorder.cjs +2 -0
- package/dist/components/Box/demo/BoxWithBorder.cjs.map +1 -0
- package/dist/components/Box/demo/BoxWithBorder.js +37 -0
- package/dist/components/Box/demo/BoxWithBorder.js.map +1 -0
- package/dist/components/Box/demo/BoxWithCustomPadding.cjs +2 -0
- package/dist/components/Box/demo/BoxWithCustomPadding.cjs.map +1 -0
- package/dist/components/Box/demo/BoxWithCustomPadding.js +31 -0
- package/dist/components/Box/demo/BoxWithCustomPadding.js.map +1 -0
- package/dist/components/Box/demo/BoxWithRadius.cjs +2 -0
- package/dist/components/Box/demo/BoxWithRadius.cjs.map +1 -0
- package/dist/components/Box/demo/BoxWithRadius.js +21 -0
- package/dist/components/Box/demo/BoxWithRadius.js.map +1 -0
- package/dist/components/Box/demo/BoxWithTextColor.cjs +2 -0
- package/dist/components/Box/demo/BoxWithTextColor.cjs.map +1 -0
- package/dist/components/Box/demo/BoxWithTextColor.js +52 -0
- package/dist/components/Box/demo/BoxWithTextColor.js.map +1 -0
- package/dist/components/Box/demo/complementaryColorHelper.cjs +2 -0
- package/dist/components/Box/demo/complementaryColorHelper.cjs.map +1 -0
- package/dist/components/Box/demo/complementaryColorHelper.js +18 -0
- package/dist/components/Box/demo/complementaryColorHelper.js.map +1 -0
- package/dist/components/Box/demo/preview.cjs +2 -0
- package/dist/components/Box/demo/preview.cjs.map +1 -0
- package/dist/components/Box/demo/preview.js +26 -0
- package/dist/components/Box/demo/preview.js.map +1 -0
- package/dist/components/Box/preview/index.cjs +2 -0
- package/dist/components/Box/preview/index.cjs.map +1 -0
- package/dist/components/Box/preview/index.js +6 -0
- package/dist/components/Box/preview/index.js.map +1 -0
- package/dist/components/Box/preview.d.ts +4 -0
- package/dist/components/Box.d.ts +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs.map +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.js +14 -13
- package/dist/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/components/Breadcrumbs/demo/BreadcrumbsCurrentWithoutLink.cjs +2 -0
- package/dist/components/Breadcrumbs/demo/BreadcrumbsCurrentWithoutLink.cjs.map +1 -0
- package/dist/components/Breadcrumbs/demo/BreadcrumbsCurrentWithoutLink.js +23 -0
- package/dist/components/Breadcrumbs/demo/BreadcrumbsCurrentWithoutLink.js.map +1 -0
- package/dist/components/Breadcrumbs/demo/BreadcrumbsCustom.cjs +2 -0
- package/dist/components/Breadcrumbs/demo/BreadcrumbsCustom.cjs.map +1 -0
- package/dist/components/Breadcrumbs/demo/BreadcrumbsCustom.js +48 -0
- package/dist/components/Breadcrumbs/demo/BreadcrumbsCustom.js.map +1 -0
- package/dist/components/Breadcrumbs/demo/BreadcrumbsDefault.cjs +2 -0
- package/dist/components/Breadcrumbs/demo/BreadcrumbsDefault.cjs.map +1 -0
- package/dist/components/Breadcrumbs/demo/BreadcrumbsDefault.js +24 -0
- package/dist/components/Breadcrumbs/demo/BreadcrumbsDefault.js.map +1 -0
- package/dist/components/Breadcrumbs/demo/preview.cjs +2 -0
- package/dist/components/Breadcrumbs/demo/preview.cjs.map +1 -0
- package/dist/components/Breadcrumbs/demo/preview.js +18 -0
- package/dist/components/Breadcrumbs/demo/preview.js.map +1 -0
- package/dist/components/Breadcrumbs/preview/index.cjs +2 -0
- package/dist/components/Breadcrumbs/preview/index.cjs.map +1 -0
- package/dist/components/Breadcrumbs/preview/index.js +6 -0
- package/dist/components/Breadcrumbs/preview/index.js.map +1 -0
- package/dist/components/Breadcrumbs/preview.d.ts +4 -0
- package/dist/components/Breadcrumbs.d.ts +1 -1
- package/dist/components/Button/Button.cjs +1 -1
- package/dist/components/Button/Button.cjs.map +1 -1
- package/dist/components/Button/Button.js +19 -19
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/ButtonLink/ButtonLink.cjs +1 -1
- package/dist/components/ButtonLink/ButtonLink.cjs.map +1 -1
- package/dist/components/ButtonLink/ButtonLink.js +23 -18
- package/dist/components/ButtonLink/ButtonLink.js.map +1 -1
- package/dist/components/ButtonLink/useButtonLinkStyleProps.cjs.map +1 -1
- package/dist/components/ButtonLink/useButtonLinkStyleProps.js.map +1 -1
- package/dist/components/ButtonLink.d.ts +1 -1
- package/dist/components/Card/Card.cjs +1 -1
- package/dist/components/Card/Card.cjs.map +1 -1
- package/dist/components/Card/Card.js +13 -19
- package/dist/components/Card/Card.js.map +1 -1
- package/dist/components/Card/CardLink.cjs +1 -1
- package/dist/components/Card/CardLink.cjs.map +1 -1
- package/dist/components/Card/CardLink.js +10 -15
- package/dist/components/Card/CardLink.js.map +1 -1
- package/dist/components/Card/CardTitle.cjs +1 -1
- package/dist/components/Card/CardTitle.cjs.map +1 -1
- package/dist/components/Card/CardTitle.js +11 -10
- package/dist/components/Card/CardTitle.js.map +1 -1
- package/dist/components/Card/useCardStyleProps.cjs +1 -1
- package/dist/components/Card/useCardStyleProps.cjs.map +1 -1
- package/dist/components/Card/useCardStyleProps.js +37 -37
- package/dist/components/Card/useCardStyleProps.js.map +1 -1
- package/dist/components/Card.d.ts +1 -1
- package/dist/components/CharacterCounter/CharacterCounter.cjs +2 -0
- package/dist/components/CharacterCounter/CharacterCounter.cjs.map +1 -0
- package/dist/components/CharacterCounter/CharacterCounter.js +23 -0
- package/dist/components/CharacterCounter/CharacterCounter.js.map +1 -0
- package/dist/components/CharacterCounter/constants.cjs +2 -0
- package/dist/components/CharacterCounter/constants.cjs.map +1 -0
- package/dist/components/CharacterCounter/constants.js +5 -0
- package/dist/components/CharacterCounter/constants.js.map +1 -0
- package/dist/components/CharacterCounter/index.cjs +2 -0
- package/dist/components/CharacterCounter/index.cjs.map +1 -0
- package/dist/components/CharacterCounter/index.js +7 -0
- package/dist/components/CharacterCounter/index.js.map +1 -0
- package/dist/components/CharacterCounter/useCharacterCounterState.cjs +2 -0
- package/dist/components/CharacterCounter/useCharacterCounterState.cjs.map +1 -0
- package/dist/components/CharacterCounter/useCharacterCounterState.js +65 -0
- package/dist/components/CharacterCounter/useCharacterCounterState.js.map +1 -0
- package/dist/components/CharacterCounter.d.ts +2 -0
- package/dist/components/Checkbox/Checkbox.cjs +1 -1
- package/dist/components/Checkbox/Checkbox.cjs.map +1 -1
- package/dist/components/Checkbox/Checkbox.js +58 -54
- package/dist/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/Checkbox/useCheckboxStyleProps.cjs +1 -1
- package/dist/components/Checkbox/useCheckboxStyleProps.cjs.map +1 -1
- package/dist/components/Checkbox/useCheckboxStyleProps.js +15 -15
- package/dist/components/Checkbox/useCheckboxStyleProps.js.map +1 -1
- package/dist/components/Checkbox.d.ts +1 -1
- package/dist/components/Collapse/Collapse.cjs +1 -1
- package/dist/components/Collapse/Collapse.cjs.map +1 -1
- package/dist/components/Collapse/Collapse.js +26 -30
- package/dist/components/Collapse/Collapse.js.map +1 -1
- package/dist/components/Collapse/demo/CollapseDefault.cjs +2 -0
- package/dist/components/Collapse/demo/CollapseDefault.cjs.map +1 -0
- package/dist/components/Collapse/demo/CollapseDefault.js +15 -0
- package/dist/components/Collapse/demo/CollapseDefault.js.map +1 -0
- package/dist/components/Collapse/demo/CollapseHelperClass.cjs +2 -0
- package/dist/components/Collapse/demo/CollapseHelperClass.cjs.map +1 -0
- package/dist/components/Collapse/demo/CollapseHelperClass.js +23 -0
- package/dist/components/Collapse/demo/CollapseHelperClass.js.map +1 -0
- package/dist/components/Collapse/demo/CollapseHideTrigger.cjs +2 -0
- package/dist/components/Collapse/demo/CollapseHideTrigger.cjs.map +1 -0
- package/dist/components/Collapse/demo/CollapseHideTrigger.js +17 -0
- package/dist/components/Collapse/demo/CollapseHideTrigger.js.map +1 -0
- package/dist/components/Collapse/demo/CollapseMultipleTriggers.cjs +2 -0
- package/dist/components/Collapse/demo/CollapseMultipleTriggers.cjs.map +1 -0
- package/dist/components/Collapse/demo/CollapseMultipleTriggers.js +19 -0
- package/dist/components/Collapse/demo/CollapseMultipleTriggers.js.map +1 -0
- package/dist/components/Collapse/demo/CollapseOpenOnInit.cjs +2 -0
- package/dist/components/Collapse/demo/CollapseOpenOnInit.cjs.map +1 -0
- package/dist/components/Collapse/demo/CollapseOpenOnInit.js +15 -0
- package/dist/components/Collapse/demo/CollapseOpenOnInit.js.map +1 -0
- package/dist/components/Collapse/demo/CollapseVisibilityBreakpointDesktop.cjs +2 -0
- package/dist/components/Collapse/demo/CollapseVisibilityBreakpointDesktop.cjs.map +1 -0
- package/dist/components/Collapse/demo/CollapseVisibilityBreakpointDesktop.js +15 -0
- package/dist/components/Collapse/demo/CollapseVisibilityBreakpointDesktop.js.map +1 -0
- package/dist/components/Collapse/demo/CollapseVisibilityBreakpointTablet.cjs +2 -0
- package/dist/components/Collapse/demo/CollapseVisibilityBreakpointTablet.cjs.map +1 -0
- package/dist/components/Collapse/demo/CollapseVisibilityBreakpointTablet.js +15 -0
- package/dist/components/Collapse/demo/CollapseVisibilityBreakpointTablet.js.map +1 -0
- package/dist/components/Collapse/demo/preview.cjs +2 -0
- package/dist/components/Collapse/demo/preview.cjs.map +1 -0
- package/dist/components/Collapse/demo/preview.js +26 -0
- package/dist/components/Collapse/demo/preview.js.map +1 -0
- package/dist/components/Collapse/preview/index.cjs +2 -0
- package/dist/components/Collapse/preview/index.cjs.map +1 -0
- package/dist/components/Collapse/preview/index.js +6 -0
- package/dist/components/Collapse/preview/index.js.map +1 -0
- package/dist/components/Collapse/preview.d.ts +4 -0
- package/dist/components/Collapse/useCollapseStyleProps.cjs +1 -1
- package/dist/components/Collapse/useCollapseStyleProps.cjs.map +1 -1
- package/dist/components/Collapse/useCollapseStyleProps.js +8 -8
- package/dist/components/Collapse/useCollapseStyleProps.js.map +1 -1
- package/dist/components/Collapse.d.ts +1 -1
- package/dist/components/Container/demo/ContainerAlignment.cjs +2 -0
- package/dist/components/Container/demo/ContainerAlignment.cjs.map +1 -0
- package/dist/components/Container/demo/ContainerAlignment.js +13 -0
- package/dist/components/Container/demo/ContainerAlignment.js.map +1 -0
- package/dist/components/Container/demo/ContainerBlockFormattingContext.cjs +2 -0
- package/dist/components/Container/demo/ContainerBlockFormattingContext.cjs.map +1 -0
- package/dist/components/Container/demo/ContainerBlockFormattingContext.js +8 -0
- package/dist/components/Container/demo/ContainerBlockFormattingContext.js.map +1 -0
- package/dist/components/Container/demo/ContainerDefault.cjs +2 -0
- package/dist/components/Container/demo/ContainerDefault.cjs.map +1 -0
- package/dist/components/Container/demo/ContainerDefault.js +8 -0
- package/dist/components/Container/demo/ContainerDefault.js.map +1 -0
- package/dist/components/Container/demo/ContainerFluid.cjs +2 -0
- package/dist/components/Container/demo/ContainerFluid.cjs.map +1 -0
- package/dist/components/Container/demo/ContainerFluid.js +8 -0
- package/dist/components/Container/demo/ContainerFluid.js.map +1 -0
- package/dist/components/Container/demo/ContainerSizes.cjs +2 -0
- package/dist/components/Container/demo/ContainerSizes.cjs.map +1 -0
- package/dist/components/Container/demo/ContainerSizes.js +17 -0
- package/dist/components/Container/demo/ContainerSizes.js.map +1 -0
- package/dist/components/Container/demo/preview.cjs +2 -0
- package/dist/components/Container/demo/preview.cjs.map +1 -0
- package/dist/components/Container/demo/preview.js +20 -0
- package/dist/components/Container/demo/preview.js.map +1 -0
- package/dist/components/Container/preview/index.cjs +2 -0
- package/dist/components/Container/preview/index.cjs.map +1 -0
- package/dist/components/Container/preview/index.js +6 -0
- package/dist/components/Container/preview/index.js.map +1 -0
- package/dist/components/Container/preview.d.ts +4 -0
- package/dist/components/Container.d.ts +1 -1
- package/dist/components/ControlButton/demo/ControlButtonDemoFactory.cjs +2 -0
- package/dist/components/ControlButton/demo/ControlButtonDemoFactory.cjs.map +1 -0
- package/dist/components/ControlButton/demo/ControlButtonDemoFactory.js +73 -0
- package/dist/components/ControlButton/demo/ControlButtonDemoFactory.js.map +1 -0
- package/dist/components/ControlButton/demo/ControlButtonDisabled.cjs +2 -0
- package/dist/components/ControlButton/demo/ControlButtonDisabled.cjs.map +1 -0
- package/dist/components/ControlButton/demo/ControlButtonDisabled.js +33 -0
- package/dist/components/ControlButton/demo/ControlButtonDisabled.js.map +1 -0
- package/dist/components/ControlButton/demo/ControlButtonExpandedSizeScale.cjs +2 -0
- package/dist/components/ControlButton/demo/ControlButtonExpandedSizeScale.cjs.map +1 -0
- package/dist/components/ControlButton/demo/ControlButtonExpandedSizeScale.js +25 -0
- package/dist/components/ControlButton/demo/ControlButtonExpandedSizeScale.js.map +1 -0
- package/dist/components/ControlButton/demo/ControlButtonIcon.cjs +2 -0
- package/dist/components/ControlButton/demo/ControlButtonIcon.cjs.map +1 -0
- package/dist/components/ControlButton/demo/ControlButtonIcon.js +26 -0
- package/dist/components/ControlButton/demo/ControlButtonIcon.js.map +1 -0
- package/dist/components/ControlButton/demo/ControlButtonResponsiveSymmetrical.cjs +2 -0
- package/dist/components/ControlButton/demo/ControlButtonResponsiveSymmetrical.cjs.map +1 -0
- package/dist/components/ControlButton/demo/ControlButtonResponsiveSymmetrical.js +15 -0
- package/dist/components/ControlButton/demo/ControlButtonResponsiveSymmetrical.js.map +1 -0
- package/dist/components/ControlButton/demo/preview.cjs +2 -0
- package/dist/components/ControlButton/demo/preview.cjs.map +1 -0
- package/dist/components/ControlButton/demo/preview.js +20 -0
- package/dist/components/ControlButton/demo/preview.js.map +1 -0
- package/dist/components/ControlButton/preview/index.cjs +2 -0
- package/dist/components/ControlButton/preview/index.cjs.map +1 -0
- package/dist/components/ControlButton/preview/index.js +6 -0
- package/dist/components/ControlButton/preview/index.js.map +1 -0
- package/dist/components/ControlButton/preview.d.ts +4 -0
- package/dist/components/ControlButton/useControlButtonStyleProps.cjs.map +1 -1
- package/dist/components/ControlButton/useControlButtonStyleProps.js.map +1 -1
- package/dist/components/ControlButton.d.ts +1 -1
- package/dist/components/Dialog.d.ts +1 -1
- package/dist/components/Divider/demo/DividerDefault.cjs +2 -0
- package/dist/components/Divider/demo/DividerDefault.cjs.map +1 -0
- package/dist/components/Divider/demo/DividerDefault.js +7 -0
- package/dist/components/Divider/demo/DividerDefault.js.map +1 -0
- package/dist/components/Divider/demo/preview.cjs +2 -0
- package/dist/components/Divider/demo/preview.cjs.map +1 -0
- package/dist/components/Divider/demo/preview.js +10 -0
- package/dist/components/Divider/demo/preview.js.map +1 -0
- package/dist/components/Divider/preview/index.cjs +2 -0
- package/dist/components/Divider/preview/index.cjs.map +1 -0
- package/dist/components/Divider/preview/index.js +6 -0
- package/dist/components/Divider/preview/index.js.map +1 -0
- package/dist/components/Divider/preview.d.ts +4 -0
- package/dist/components/Divider.d.ts +1 -1
- package/dist/components/Drawer.d.ts +1 -1
- package/dist/components/Dropdown/DropdownPopover.cjs.map +1 -1
- package/dist/components/Dropdown/DropdownPopover.js.map +1 -1
- package/dist/components/Dropdown/DropdownTrigger.cjs +1 -1
- package/dist/components/Dropdown/DropdownTrigger.cjs.map +1 -1
- package/dist/components/Dropdown/DropdownTrigger.js +13 -12
- package/dist/components/Dropdown/DropdownTrigger.js.map +1 -1
- package/dist/components/Dropdown/useDropdownStyleProps.cjs +1 -1
- package/dist/components/Dropdown/useDropdownStyleProps.cjs.map +1 -1
- package/dist/components/Dropdown/useDropdownStyleProps.js +13 -13
- package/dist/components/Dropdown/useDropdownStyleProps.js.map +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/EmptyState/demo/EmptyStateDefault.cjs +2 -0
- package/dist/components/EmptyState/demo/EmptyStateDefault.cjs.map +1 -0
- package/dist/components/EmptyState/demo/EmptyStateDefault.js +48 -0
- package/dist/components/EmptyState/demo/EmptyStateDefault.js.map +1 -0
- package/dist/components/EmptyState/demo/preview.cjs +2 -0
- package/dist/components/EmptyState/demo/preview.cjs.map +1 -0
- package/dist/components/EmptyState/demo/preview.js +10 -0
- package/dist/components/EmptyState/demo/preview.js.map +1 -0
- package/dist/components/EmptyState/preview/index.cjs +2 -0
- package/dist/components/EmptyState/preview/index.cjs.map +1 -0
- package/dist/components/EmptyState/preview/index.js +6 -0
- package/dist/components/EmptyState/preview/index.js.map +1 -0
- package/dist/components/EmptyState/preview.d.ts +4 -0
- package/dist/components/EmptyState.d.ts +1 -1
- package/dist/components/Field/HelperText.cjs +1 -1
- package/dist/components/Field/HelperText.cjs.map +1 -1
- package/dist/components/Field/HelperText.js +9 -14
- package/dist/components/Field/HelperText.js.map +1 -1
- package/dist/components/Field/Label.cjs +1 -1
- package/dist/components/Field/Label.cjs.map +1 -1
- package/dist/components/Field/Label.js +11 -16
- package/dist/components/Field/Label.js.map +1 -1
- package/dist/components/Field/ValidationText.cjs +1 -1
- package/dist/components/Field/ValidationText.cjs.map +1 -1
- package/dist/components/Field/ValidationText.js +18 -25
- package/dist/components/Field/ValidationText.js.map +1 -1
- package/dist/components/Field/index.cjs +1 -1
- package/dist/components/Field/index.js +2 -4
- package/dist/components/Field/index.js.map +1 -1
- package/dist/components/Field.d.ts +1 -1
- package/dist/components/FieldGroup/FieldGroup.cjs +1 -1
- package/dist/components/FieldGroup/FieldGroup.cjs.map +1 -1
- package/dist/components/FieldGroup/FieldGroup.js +15 -16
- package/dist/components/FieldGroup/FieldGroup.js.map +1 -1
- package/dist/components/FieldGroup/useFieldGroupStyleProps.cjs +1 -1
- package/dist/components/FieldGroup/useFieldGroupStyleProps.cjs.map +1 -1
- package/dist/components/FieldGroup/useFieldGroupStyleProps.js.map +1 -1
- package/dist/components/FieldGroup.d.ts +1 -1
- package/dist/components/FileUploader/FileUploaderInput.cjs +1 -1
- package/dist/components/FileUploader/FileUploaderInput.cjs.map +1 -1
- package/dist/components/FileUploader/FileUploaderInput.js +36 -35
- package/dist/components/FileUploader/FileUploaderInput.js.map +1 -1
- package/dist/components/FileUploader.d.ts +1 -1
- package/dist/components/Flex/demo/FlexCustomSpacing.cjs +2 -0
- package/dist/components/Flex/demo/FlexCustomSpacing.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexCustomSpacing.js +12 -0
- package/dist/components/Flex/demo/FlexCustomSpacing.js.map +1 -0
- package/dist/components/Flex/demo/FlexHorizontalLayout.cjs +2 -0
- package/dist/components/Flex/demo/FlexHorizontalLayout.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexHorizontalLayout.js +12 -0
- package/dist/components/Flex/demo/FlexHorizontalLayout.js.map +1 -0
- package/dist/components/Flex/demo/FlexHorizontalLayoutHorizontalAlignment.cjs +2 -0
- package/dist/components/Flex/demo/FlexHorizontalLayoutHorizontalAlignment.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexHorizontalLayoutHorizontalAlignment.js +34 -0
- package/dist/components/Flex/demo/FlexHorizontalLayoutHorizontalAlignment.js.map +1 -0
- package/dist/components/Flex/demo/FlexHorizontalReversedLayout.cjs +2 -0
- package/dist/components/Flex/demo/FlexHorizontalReversedLayout.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexHorizontalReversedLayout.js +12 -0
- package/dist/components/Flex/demo/FlexHorizontalReversedLayout.js.map +1 -0
- package/dist/components/Flex/demo/FlexResponsiveAlignment.cjs +2 -0
- package/dist/components/Flex/demo/FlexResponsiveAlignment.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexResponsiveAlignment.js +30 -0
- package/dist/components/Flex/demo/FlexResponsiveAlignment.js.map +1 -0
- package/dist/components/Flex/demo/FlexResponsiveCustomHorizontalSpacing.cjs +2 -0
- package/dist/components/Flex/demo/FlexResponsiveCustomHorizontalSpacing.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexResponsiveCustomHorizontalSpacing.js +12 -0
- package/dist/components/Flex/demo/FlexResponsiveCustomHorizontalSpacing.js.map +1 -0
- package/dist/components/Flex/demo/FlexResponsiveCustomVerticalSpacing.cjs +2 -0
- package/dist/components/Flex/demo/FlexResponsiveCustomVerticalSpacing.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexResponsiveCustomVerticalSpacing.js +11 -0
- package/dist/components/Flex/demo/FlexResponsiveCustomVerticalSpacing.js.map +1 -0
- package/dist/components/Flex/demo/FlexResponsiveLayout.cjs +2 -0
- package/dist/components/Flex/demo/FlexResponsiveLayout.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexResponsiveLayout.js +12 -0
- package/dist/components/Flex/demo/FlexResponsiveLayout.js.map +1 -0
- package/dist/components/Flex/demo/FlexResponsiveSpacing.cjs +2 -0
- package/dist/components/Flex/demo/FlexResponsiveSpacing.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexResponsiveSpacing.js +12 -0
- package/dist/components/Flex/demo/FlexResponsiveSpacing.js.map +1 -0
- package/dist/components/Flex/demo/FlexVerticalAlignment.cjs +2 -0
- package/dist/components/Flex/demo/FlexVerticalAlignment.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexVerticalAlignment.js +54 -0
- package/dist/components/Flex/demo/FlexVerticalAlignment.js.map +1 -0
- package/dist/components/Flex/demo/FlexVerticalLayout.cjs +2 -0
- package/dist/components/Flex/demo/FlexVerticalLayout.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexVerticalLayout.js +12 -0
- package/dist/components/Flex/demo/FlexVerticalLayout.js.map +1 -0
- package/dist/components/Flex/demo/FlexVerticalLayoutHorizontalAlignment.cjs +2 -0
- package/dist/components/Flex/demo/FlexVerticalLayoutHorizontalAlignment.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexVerticalLayoutHorizontalAlignment.js +29 -0
- package/dist/components/Flex/demo/FlexVerticalLayoutHorizontalAlignment.js.map +1 -0
- package/dist/components/Flex/demo/FlexWrapping.cjs +2 -0
- package/dist/components/Flex/demo/FlexWrapping.cjs.map +1 -0
- package/dist/components/Flex/demo/FlexWrapping.js +11 -0
- package/dist/components/Flex/demo/FlexWrapping.js.map +1 -0
- package/dist/components/Flex/demo/preview.cjs +2 -0
- package/dist/components/Flex/demo/preview.cjs.map +1 -0
- package/dist/components/Flex/demo/preview.js +36 -0
- package/dist/components/Flex/demo/preview.js.map +1 -0
- package/dist/components/Flex/preview/index.cjs +2 -0
- package/dist/components/Flex/preview/index.cjs.map +1 -0
- package/dist/components/Flex/preview/index.js +6 -0
- package/dist/components/Flex/preview/index.js.map +1 -0
- package/dist/components/Flex/preview.d.ts +4 -0
- package/dist/components/Flex.d.ts +1 -1
- package/dist/components/Footer.d.ts +1 -1
- package/dist/components/Grid/demo/GridAlignment.cjs +2 -0
- package/dist/components/Grid/demo/GridAlignment.cjs.map +1 -0
- package/dist/components/Grid/demo/GridAlignment.js +41 -0
- package/dist/components/Grid/demo/GridAlignment.js.map +1 -0
- package/dist/components/Grid/demo/GridCustomSpacing.cjs +2 -0
- package/dist/components/Grid/demo/GridCustomSpacing.cjs.map +1 -0
- package/dist/components/Grid/demo/GridCustomSpacing.js +8 -0
- package/dist/components/Grid/demo/GridCustomSpacing.js.map +1 -0
- package/dist/components/Grid/demo/GridEqual.cjs +2 -0
- package/dist/components/Grid/demo/GridEqual.cjs.map +1 -0
- package/dist/components/Grid/demo/GridEqual.js +16 -0
- package/dist/components/Grid/demo/GridEqual.js.map +1 -0
- package/dist/components/Grid/demo/GridItem.cjs +2 -0
- package/dist/components/Grid/demo/GridItem.cjs.map +1 -0
- package/dist/components/Grid/demo/GridItem.js +12 -0
- package/dist/components/Grid/demo/GridItem.js.map +1 -0
- package/dist/components/Grid/demo/GridItemFactory.cjs +2 -0
- package/dist/components/Grid/demo/GridItemFactory.cjs.map +1 -0
- package/dist/components/Grid/demo/GridItemFactory.js +7 -0
- package/dist/components/Grid/demo/GridItemFactory.js.map +1 -0
- package/dist/components/Grid/demo/GridItemRow.cjs +2 -0
- package/dist/components/Grid/demo/GridItemRow.cjs.map +1 -0
- package/dist/components/Grid/demo/GridItemRow.js +12 -0
- package/dist/components/Grid/demo/GridItemRow.js.map +1 -0
- package/dist/components/Grid/demo/GridNestedGridItem.cjs +2 -0
- package/dist/components/Grid/demo/GridNestedGridItem.cjs.map +1 -0
- package/dist/components/Grid/demo/GridNestedGridItem.js +15 -0
- package/dist/components/Grid/demo/GridNestedGridItem.js.map +1 -0
- package/dist/components/Grid/demo/GridResponsive.cjs +2 -0
- package/dist/components/Grid/demo/GridResponsive.cjs.map +1 -0
- package/dist/components/Grid/demo/GridResponsive.js +8 -0
- package/dist/components/Grid/demo/GridResponsive.js.map +1 -0
- package/dist/components/Grid/demo/GridResponsiveAlignment.cjs +2 -0
- package/dist/components/Grid/demo/GridResponsiveAlignment.cjs.map +1 -0
- package/dist/components/Grid/demo/GridResponsiveAlignment.js +33 -0
- package/dist/components/Grid/demo/GridResponsiveAlignment.js.map +1 -0
- package/dist/components/Grid/demo/GridResponsiveCenteredGridItem.cjs +2 -0
- package/dist/components/Grid/demo/GridResponsiveCenteredGridItem.cjs.map +1 -0
- package/dist/components/Grid/demo/GridResponsiveCenteredGridItem.js +24 -0
- package/dist/components/Grid/demo/GridResponsiveCenteredGridItem.js.map +1 -0
- package/dist/components/Grid/demo/GridResponsiveCustomHorizontalSpacing.cjs +2 -0
- package/dist/components/Grid/demo/GridResponsiveCustomHorizontalSpacing.cjs.map +1 -0
- package/dist/components/Grid/demo/GridResponsiveCustomHorizontalSpacing.js +19 -0
- package/dist/components/Grid/demo/GridResponsiveCustomHorizontalSpacing.js.map +1 -0
- package/dist/components/Grid/demo/GridResponsiveCustomSpacing.cjs +2 -0
- package/dist/components/Grid/demo/GridResponsiveCustomSpacing.cjs.map +1 -0
- package/dist/components/Grid/demo/GridResponsiveCustomSpacing.js +24 -0
- package/dist/components/Grid/demo/GridResponsiveCustomSpacing.js.map +1 -0
- package/dist/components/Grid/demo/GridResponsiveCustomVerticalSpacing.cjs +2 -0
- package/dist/components/Grid/demo/GridResponsiveCustomVerticalSpacing.cjs.map +1 -0
- package/dist/components/Grid/demo/GridResponsiveCustomVerticalSpacing.js +19 -0
- package/dist/components/Grid/demo/GridResponsiveCustomVerticalSpacing.js.map +1 -0
- package/dist/components/Grid/demo/GridResponsiveGridItem.cjs +2 -0
- package/dist/components/Grid/demo/GridResponsiveGridItem.cjs.map +1 -0
- package/dist/components/Grid/demo/GridResponsiveGridItem.js +12 -0
- package/dist/components/Grid/demo/GridResponsiveGridItem.js.map +1 -0
- package/dist/components/Grid/demo/preview.cjs +2 -0
- package/dist/components/Grid/demo/preview.cjs.map +1 -0
- package/dist/components/Grid/demo/preview.js +36 -0
- package/dist/components/Grid/demo/preview.js.map +1 -0
- package/dist/components/Grid/preview/index.cjs +2 -0
- package/dist/components/Grid/preview/index.cjs.map +1 -0
- package/dist/components/Grid/preview/index.js +6 -0
- package/dist/components/Grid/preview/index.js.map +1 -0
- package/dist/components/Grid/preview.d.ts +4 -0
- package/dist/components/Grid.d.ts +1 -1
- package/dist/components/Header/HeaderDialogLink.cjs +1 -1
- package/dist/components/Header/HeaderDialogLink.cjs.map +1 -1
- package/dist/components/Header/HeaderDialogLink.js +18 -17
- package/dist/components/Header/HeaderDialogLink.js.map +1 -1
- package/dist/components/Header/HeaderLink.cjs +1 -1
- package/dist/components/Header/HeaderLink.cjs.map +1 -1
- package/dist/components/Header/HeaderLink.js +16 -15
- package/dist/components/Header/HeaderLink.js.map +1 -1
- package/dist/components/Header.d.ts +1 -1
- package/dist/components/Heading/Heading.cjs +1 -1
- package/dist/components/Heading/Heading.cjs.map +1 -1
- package/dist/components/Heading/Heading.js +17 -19
- package/dist/components/Heading/Heading.js.map +1 -1
- package/dist/components/Heading/demo/HeadingAlignment.cjs +2 -0
- package/dist/components/Heading/demo/HeadingAlignment.cjs.map +1 -0
- package/dist/components/Heading/demo/HeadingAlignment.js +12 -0
- package/dist/components/Heading/demo/HeadingAlignment.js.map +1 -0
- package/dist/components/Heading/demo/HeadingBalanced.cjs +2 -0
- package/dist/components/Heading/demo/HeadingBalanced.cjs.map +1 -0
- package/dist/components/Heading/demo/HeadingBalanced.js +10 -0
- package/dist/components/Heading/demo/HeadingBalanced.js.map +1 -0
- package/dist/components/Heading/demo/HeadingDefault.cjs +2 -0
- package/dist/components/Heading/demo/HeadingDefault.cjs.map +1 -0
- package/dist/components/Heading/demo/HeadingDefault.js +7 -0
- package/dist/components/Heading/demo/HeadingDefault.js.map +1 -0
- package/dist/components/Heading/demo/HeadingEmphasis.cjs +2 -0
- package/dist/components/Heading/demo/HeadingEmphasis.cjs.map +1 -0
- package/dist/components/Heading/demo/HeadingEmphasis.js +12 -0
- package/dist/components/Heading/demo/HeadingEmphasis.js.map +1 -0
- package/dist/components/Heading/demo/HeadingHyphens.cjs +2 -0
- package/dist/components/Heading/demo/HeadingHyphens.cjs.map +1 -0
- package/dist/components/Heading/demo/HeadingHyphens.js +12 -0
- package/dist/components/Heading/demo/HeadingHyphens.js.map +1 -0
- package/dist/components/Heading/demo/HeadingSizes.cjs +2 -0
- package/dist/components/Heading/demo/HeadingSizes.cjs.map +1 -0
- package/dist/components/Heading/demo/HeadingSizes.js +13 -0
- package/dist/components/Heading/demo/HeadingSizes.js.map +1 -0
- package/dist/components/Heading/demo/HeadingTextColor.cjs +2 -0
- package/dist/components/Heading/demo/HeadingTextColor.cjs.map +1 -0
- package/dist/components/Heading/demo/HeadingTextColor.js +31 -0
- package/dist/components/Heading/demo/HeadingTextColor.js.map +1 -0
- package/dist/components/Heading/demo/HeadingWordBreak.cjs +2 -0
- package/dist/components/Heading/demo/HeadingWordBreak.cjs.map +1 -0
- package/dist/components/Heading/demo/HeadingWordBreak.js +12 -0
- package/dist/components/Heading/demo/HeadingWordBreak.js.map +1 -0
- package/dist/components/Heading/demo/preview.cjs +2 -0
- package/dist/components/Heading/demo/preview.cjs.map +1 -0
- package/dist/components/Heading/demo/preview.js +26 -0
- package/dist/components/Heading/demo/preview.js.map +1 -0
- package/dist/components/Heading/preview/index.cjs +2 -0
- package/dist/components/Heading/preview/index.cjs.map +1 -0
- package/dist/components/Heading/preview/index.js +6 -0
- package/dist/components/Heading/preview/index.js.map +1 -0
- package/dist/components/Heading/preview.d.ts +4 -0
- package/dist/components/Heading/useHeadingStyleProps.cjs.map +1 -1
- package/dist/components/Heading/useHeadingStyleProps.js.map +1 -1
- package/dist/components/Heading.d.ts +1 -1
- package/dist/components/Hidden/demo/HiddenDefault.cjs +2 -0
- package/dist/components/Hidden/demo/HiddenDefault.cjs.map +1 -0
- package/dist/components/Hidden/demo/HiddenDefault.js +7 -0
- package/dist/components/Hidden/demo/HiddenDefault.js.map +1 -0
- package/dist/components/Hidden/demo/HiddenFrom.cjs +2 -0
- package/dist/components/Hidden/demo/HiddenFrom.cjs.map +1 -0
- package/dist/components/Hidden/demo/HiddenFrom.js +10 -0
- package/dist/components/Hidden/demo/HiddenFrom.js.map +1 -0
- package/dist/components/Hidden/demo/HiddenOn.cjs +2 -0
- package/dist/components/Hidden/demo/HiddenOn.cjs.map +1 -0
- package/dist/components/Hidden/demo/HiddenOn.js +11 -0
- package/dist/components/Hidden/demo/HiddenOn.js.map +1 -0
- package/dist/components/Hidden/demo/preview.cjs +2 -0
- package/dist/components/Hidden/demo/preview.cjs.map +1 -0
- package/dist/components/Hidden/demo/preview.js +16 -0
- package/dist/components/Hidden/demo/preview.js.map +1 -0
- package/dist/components/Hidden/preview/index.cjs +2 -0
- package/dist/components/Hidden/preview/index.cjs.map +1 -0
- package/dist/components/Hidden/preview/index.js +6 -0
- package/dist/components/Hidden/preview/index.js.map +1 -0
- package/dist/components/Hidden/preview.d.ts +4 -0
- package/dist/components/Hidden.d.ts +1 -1
- package/dist/components/Icon/demo/IconColor.cjs +2 -0
- package/dist/components/Icon/demo/IconColor.cjs.map +1 -0
- package/dist/components/Icon/demo/IconColor.js +16 -0
- package/dist/components/Icon/demo/IconColor.js.map +1 -0
- package/dist/components/Icon/demo/IconColorDemoFactory.cjs +2 -0
- package/dist/components/Icon/demo/IconColorDemoFactory.cjs.map +1 -0
- package/dist/components/Icon/demo/IconColorDemoFactory.js +16 -0
- package/dist/components/Icon/demo/IconColorDemoFactory.js.map +1 -0
- package/dist/components/Icon/demo/IconColorDualtone.cjs +2 -0
- package/dist/components/Icon/demo/IconColorDualtone.cjs.map +1 -0
- package/dist/components/Icon/demo/IconColorDualtone.js +16 -0
- package/dist/components/Icon/demo/IconColorDualtone.js.map +1 -0
- package/dist/components/Icon/demo/IconDefault.cjs +2 -0
- package/dist/components/Icon/demo/IconDefault.cjs.map +1 -0
- package/dist/components/Icon/demo/IconDefault.js +7 -0
- package/dist/components/Icon/demo/IconDefault.js.map +1 -0
- package/dist/components/Icon/demo/IconResponsive.cjs +2 -0
- package/dist/components/Icon/demo/IconResponsive.cjs.map +1 -0
- package/dist/components/Icon/demo/IconResponsive.js +7 -0
- package/dist/components/Icon/demo/IconResponsive.js.map +1 -0
- package/dist/components/Icon/demo/preview.cjs +2 -0
- package/dist/components/Icon/demo/preview.cjs.map +1 -0
- package/dist/components/Icon/demo/preview.js +20 -0
- package/dist/components/Icon/demo/preview.js.map +1 -0
- package/dist/components/Icon/preview/index.cjs +2 -0
- package/dist/components/Icon/preview/index.cjs.map +1 -0
- package/dist/components/Icon/preview/index.js +6 -0
- package/dist/components/Icon/preview/index.js.map +1 -0
- package/dist/components/Icon/preview.d.ts +4 -0
- package/dist/components/Icon/useIconStyleProps.cjs +1 -1
- package/dist/components/Icon/useIconStyleProps.cjs.map +1 -1
- package/dist/components/Icon/useIconStyleProps.js +15 -14
- package/dist/components/Icon/useIconStyleProps.js.map +1 -1
- package/dist/components/Icon/utils.cjs +2 -0
- package/dist/components/Icon/utils.cjs.map +1 -0
- package/dist/components/Icon/utils.js +9 -0
- package/dist/components/Icon/utils.js.map +1 -0
- package/dist/components/Icon.d.ts +1 -1
- package/dist/components/IconBox/demo/IconBoxColorDemoFactory.cjs +2 -0
- package/dist/components/IconBox/demo/IconBoxColorDemoFactory.cjs.map +1 -0
- package/dist/components/IconBox/demo/IconBoxColorDemoFactory.js +15 -0
- package/dist/components/IconBox/demo/IconBoxColorDemoFactory.js.map +1 -0
- package/dist/components/IconBox/demo/IconBoxColorVariants.cjs +2 -0
- package/dist/components/IconBox/demo/IconBoxColorVariants.cjs.map +1 -0
- package/dist/components/IconBox/demo/IconBoxColorVariants.js +33 -0
- package/dist/components/IconBox/demo/IconBoxColorVariants.js.map +1 -0
- package/dist/components/IconBox/demo/IconBoxDefault.cjs +2 -0
- package/dist/components/IconBox/demo/IconBoxDefault.cjs.map +1 -0
- package/dist/components/IconBox/demo/IconBoxDefault.js +7 -0
- package/dist/components/IconBox/demo/IconBoxDefault.js.map +1 -0
- package/dist/components/IconBox/demo/IconBoxDemoFactory.cjs +2 -0
- package/dist/components/IconBox/demo/IconBoxDemoFactory.cjs.map +1 -0
- package/dist/components/IconBox/demo/IconBoxDemoFactory.js +20 -0
- package/dist/components/IconBox/demo/IconBoxDemoFactory.js.map +1 -0
- package/dist/components/IconBox/demo/IconBoxResponsiveSize.cjs +2 -0
- package/dist/components/IconBox/demo/IconBoxResponsiveSize.cjs.map +1 -0
- package/dist/components/IconBox/demo/IconBoxResponsiveSize.js +14 -0
- package/dist/components/IconBox/demo/IconBoxResponsiveSize.js.map +1 -0
- package/dist/components/IconBox/demo/IconBoxShapes.cjs +2 -0
- package/dist/components/IconBox/demo/IconBoxShapes.cjs.map +1 -0
- package/dist/components/IconBox/demo/IconBoxShapes.js +9 -0
- package/dist/components/IconBox/demo/IconBoxShapes.js.map +1 -0
- package/dist/components/IconBox/demo/IconBoxSizes.cjs +2 -0
- package/dist/components/IconBox/demo/IconBoxSizes.cjs.map +1 -0
- package/dist/components/IconBox/demo/IconBoxSizes.js +9 -0
- package/dist/components/IconBox/demo/IconBoxSizes.js.map +1 -0
- package/dist/components/IconBox/demo/IconBoxWithoutBorder.cjs +2 -0
- package/dist/components/IconBox/demo/IconBoxWithoutBorder.cjs.map +1 -0
- package/dist/components/IconBox/demo/IconBoxWithoutBorder.js +11 -0
- package/dist/components/IconBox/demo/IconBoxWithoutBorder.js.map +1 -0
- package/dist/components/IconBox/demo/preview.cjs +2 -0
- package/dist/components/IconBox/demo/preview.cjs.map +1 -0
- package/dist/components/IconBox/demo/preview.js +24 -0
- package/dist/components/IconBox/demo/preview.js.map +1 -0
- package/dist/components/IconBox/preview/index.cjs +2 -0
- package/dist/components/IconBox/preview/index.cjs.map +1 -0
- package/dist/components/IconBox/preview/index.js +6 -0
- package/dist/components/IconBox/preview/index.js.map +1 -0
- package/dist/components/IconBox/preview.d.ts +4 -0
- package/dist/components/IconBox.d.ts +1 -1
- package/dist/components/InputDetails/InputDetails.cjs +2 -0
- package/dist/components/InputDetails/InputDetails.cjs.map +1 -0
- package/dist/components/InputDetails/InputDetails.js +22 -0
- package/dist/components/InputDetails/InputDetails.js.map +1 -0
- package/dist/components/InputDetails/index.cjs +2 -0
- package/dist/components/InputDetails/index.cjs.map +1 -0
- package/dist/components/InputDetails/index.js +7 -0
- package/dist/components/InputDetails/index.js.map +1 -0
- package/dist/components/InputDetails/useInputDetailsStyleProps.cjs +2 -0
- package/dist/components/InputDetails/useInputDetailsStyleProps.cjs.map +1 -0
- package/dist/components/InputDetails/useInputDetailsStyleProps.js +11 -0
- package/dist/components/InputDetails/useInputDetailsStyleProps.js.map +1 -0
- package/dist/components/InputDetails.d.ts +2 -0
- package/dist/components/Item/Item.cjs +1 -1
- package/dist/components/Item/Item.cjs.map +1 -1
- package/dist/components/Item/Item.js +26 -31
- package/dist/components/Item/Item.js.map +1 -1
- package/dist/components/Item/useItemStyleProps.cjs +1 -1
- package/dist/components/Item/useItemStyleProps.cjs.map +1 -1
- package/dist/components/Item/useItemStyleProps.js +9 -9
- package/dist/components/Item/useItemStyleProps.js.map +1 -1
- package/dist/components/Item.d.ts +1 -1
- package/dist/components/Link/Link.cjs +1 -1
- package/dist/components/Link/Link.cjs.map +1 -1
- package/dist/components/Link/Link.js +10 -9
- package/dist/components/Link/Link.js.map +1 -1
- package/dist/components/Link/demo/LinkColors.cjs +2 -0
- package/dist/components/Link/demo/LinkColors.cjs.map +1 -0
- package/dist/components/Link/demo/LinkColors.js +13 -0
- package/dist/components/Link/demo/LinkColors.js.map +1 -0
- package/dist/components/Link/demo/LinkDefault.cjs +2 -0
- package/dist/components/Link/demo/LinkDefault.cjs.map +1 -0
- package/dist/components/Link/demo/LinkDefault.js +11 -0
- package/dist/components/Link/demo/LinkDefault.js.map +1 -0
- package/dist/components/Link/demo/LinkDisabled.cjs +2 -0
- package/dist/components/Link/demo/LinkDisabled.cjs.map +1 -0
- package/dist/components/Link/demo/LinkDisabled.js +13 -0
- package/dist/components/Link/demo/LinkDisabled.js.map +1 -0
- package/dist/components/Link/demo/LinkUnderlined.cjs +2 -0
- package/dist/components/Link/demo/LinkUnderlined.cjs.map +1 -0
- package/dist/components/Link/demo/LinkUnderlined.js +18 -0
- package/dist/components/Link/demo/LinkUnderlined.js.map +1 -0
- package/dist/components/Link/demo/LinkVisited.cjs +2 -0
- package/dist/components/Link/demo/LinkVisited.cjs.map +1 -0
- package/dist/components/Link/demo/LinkVisited.js +14 -0
- package/dist/components/Link/demo/LinkVisited.js.map +1 -0
- package/dist/components/Link/demo/LinkVisitedDisabled.cjs +2 -0
- package/dist/components/Link/demo/LinkVisitedDisabled.cjs.map +1 -0
- package/dist/components/Link/demo/LinkVisitedDisabled.js +12 -0
- package/dist/components/Link/demo/LinkVisitedDisabled.js.map +1 -0
- package/dist/components/Link/demo/preview.cjs +2 -0
- package/dist/components/Link/demo/preview.cjs.map +1 -0
- package/dist/components/Link/demo/preview.js +22 -0
- package/dist/components/Link/demo/preview.js.map +1 -0
- package/dist/components/Link/preview/index.cjs +2 -0
- package/dist/components/Link/preview/index.cjs.map +1 -0
- package/dist/components/Link/preview/index.js +6 -0
- package/dist/components/Link/preview/index.js.map +1 -0
- package/dist/components/Link/preview.d.ts +4 -0
- package/dist/components/Link/useLinkStyleProps.cjs.map +1 -1
- package/dist/components/Link/useLinkStyleProps.js.map +1 -1
- package/dist/components/Link.d.ts +1 -1
- package/dist/components/Matrix/Matrix.cjs +1 -1
- package/dist/components/Matrix/Matrix.cjs.map +1 -1
- package/dist/components/Matrix/Matrix.js +23 -22
- package/dist/components/Matrix/Matrix.js.map +1 -1
- package/dist/components/Matrix/demo/MatrixColumnsWithScrollView.cjs +2 -0
- package/dist/components/Matrix/demo/MatrixColumnsWithScrollView.cjs.map +1 -0
- package/dist/components/Matrix/demo/MatrixColumnsWithScrollView.js +38 -0
- package/dist/components/Matrix/demo/MatrixColumnsWithScrollView.js.map +1 -0
- package/dist/components/Matrix/demo/MatrixDefault.cjs +2 -0
- package/dist/components/Matrix/demo/MatrixDefault.cjs.map +1 -0
- package/dist/components/Matrix/demo/MatrixDefault.js +8 -0
- package/dist/components/Matrix/demo/MatrixDefault.js.map +1 -0
- package/dist/components/Matrix/demo/MatrixItemFactory.cjs +2 -0
- package/dist/components/Matrix/demo/MatrixItemFactory.cjs.map +1 -0
- package/dist/components/Matrix/demo/MatrixItemFactory.js +12 -0
- package/dist/components/Matrix/demo/MatrixItemFactory.js.map +1 -0
- package/dist/components/Matrix/demo/MatrixResponsiveColumnsGap.cjs +2 -0
- package/dist/components/Matrix/demo/MatrixResponsiveColumnsGap.cjs.map +1 -0
- package/dist/components/Matrix/demo/MatrixResponsiveColumnsGap.js +38 -0
- package/dist/components/Matrix/demo/MatrixResponsiveColumnsGap.js.map +1 -0
- package/dist/components/Matrix/demo/MatrixScrollView.cjs +2 -0
- package/dist/components/Matrix/demo/MatrixScrollView.cjs.map +1 -0
- package/dist/components/Matrix/demo/MatrixScrollView.js +25 -0
- package/dist/components/Matrix/demo/MatrixScrollView.js.map +1 -0
- package/dist/components/Matrix/demo/preview.cjs +2 -0
- package/dist/components/Matrix/demo/preview.cjs.map +1 -0
- package/dist/components/Matrix/demo/preview.js +18 -0
- package/dist/components/Matrix/demo/preview.js.map +1 -0
- package/dist/components/Matrix/preview/index.cjs +2 -0
- package/dist/components/Matrix/preview/index.cjs.map +1 -0
- package/dist/components/Matrix/preview/index.js +6 -0
- package/dist/components/Matrix/preview/index.js.map +1 -0
- package/dist/components/Matrix/preview.d.ts +4 -0
- package/dist/components/Matrix/useMatrixStyleProps.cjs.map +1 -1
- package/dist/components/Matrix/useMatrixStyleProps.js.map +1 -1
- package/dist/components/Matrix.d.ts +1 -1
- package/dist/components/Modal.d.ts +1 -1
- package/dist/components/Navigation.d.ts +1 -1
- package/dist/components/NoSsr.d.ts +1 -1
- package/dist/components/Pagination/PaginationLink.cjs +1 -1
- package/dist/components/Pagination/PaginationLink.cjs.map +1 -1
- package/dist/components/Pagination/PaginationLink.js +29 -18
- package/dist/components/Pagination/PaginationLink.js.map +1 -1
- package/dist/components/Pagination/demo/PaginationCurrentFirst.cjs +2 -0
- package/dist/components/Pagination/demo/PaginationCurrentFirst.cjs.map +1 -0
- package/dist/components/Pagination/demo/PaginationCurrentFirst.js +17 -0
- package/dist/components/Pagination/demo/PaginationCurrentFirst.js.map +1 -0
- package/dist/components/Pagination/demo/PaginationCurrentFirstCentered.cjs +2 -0
- package/dist/components/Pagination/demo/PaginationCurrentFirstCentered.cjs.map +1 -0
- package/dist/components/Pagination/demo/PaginationCurrentFirstCentered.js +17 -0
- package/dist/components/Pagination/demo/PaginationCurrentFirstCentered.js.map +1 -0
- package/dist/components/Pagination/demo/PaginationCurrentLast.cjs +2 -0
- package/dist/components/Pagination/demo/PaginationCurrentLast.cjs.map +1 -0
- package/dist/components/Pagination/demo/PaginationCurrentLast.js +17 -0
- package/dist/components/Pagination/demo/PaginationCurrentLast.js.map +1 -0
- package/dist/components/Pagination/demo/PaginationCurrentMiddle.cjs +2 -0
- package/dist/components/Pagination/demo/PaginationCurrentMiddle.cjs.map +1 -0
- package/dist/components/Pagination/demo/PaginationCurrentMiddle.js +19 -0
- package/dist/components/Pagination/demo/PaginationCurrentMiddle.js.map +1 -0
- package/dist/components/Pagination/demo/preview.cjs +2 -0
- package/dist/components/Pagination/demo/preview.cjs.map +1 -0
- package/dist/components/Pagination/demo/preview.js +20 -0
- package/dist/components/Pagination/demo/preview.js.map +1 -0
- package/dist/components/Pagination/preview/index.cjs +2 -0
- package/dist/components/Pagination/preview/index.cjs.map +1 -0
- package/dist/components/Pagination/preview/index.js +6 -0
- package/dist/components/Pagination/preview/index.js.map +1 -0
- package/dist/components/Pagination/preview.d.ts +4 -0
- package/dist/components/Pagination/usePaginationStyleProps.cjs.map +1 -1
- package/dist/components/Pagination/usePaginationStyleProps.js +4 -4
- package/dist/components/Pagination/usePaginationStyleProps.js.map +1 -1
- package/dist/components/Pagination.d.ts +1 -1
- package/dist/components/PartnerLogo/demo/PartnerLogoDefault.cjs +2 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoDefault.cjs.map +1 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoDefault.js +8 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoDefault.js.map +1 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoDemoFactory.cjs +2 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoDemoFactory.cjs.map +1 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoDemoFactory.js +133 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoDemoFactory.js.map +1 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoFluid.cjs +2 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoFluid.cjs.map +1 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoFluid.js +13 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoFluid.js.map +1 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoResponsiveSize.cjs +2 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoResponsiveSize.cjs.map +1 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoResponsiveSize.js +10 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoResponsiveSize.js.map +1 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoSafeAreaDisabled.cjs +2 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoSafeAreaDisabled.cjs.map +1 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoSafeAreaDisabled.js +8 -0
- package/dist/components/PartnerLogo/demo/PartnerLogoSafeAreaDisabled.js.map +1 -0
- package/dist/components/PartnerLogo/demo/preview.cjs +2 -0
- package/dist/components/PartnerLogo/demo/preview.cjs.map +1 -0
- package/dist/components/PartnerLogo/demo/preview.js +18 -0
- package/dist/components/PartnerLogo/demo/preview.js.map +1 -0
- package/dist/components/PartnerLogo/preview/index.cjs +2 -0
- package/dist/components/PartnerLogo/preview/index.cjs.map +1 -0
- package/dist/components/PartnerLogo/preview/index.js +6 -0
- package/dist/components/PartnerLogo/preview/index.js.map +1 -0
- package/dist/components/PartnerLogo/preview.d.ts +4 -0
- package/dist/components/PartnerLogo.d.ts +1 -1
- package/dist/components/Pill/Pill.cjs +1 -1
- package/dist/components/Pill/Pill.cjs.map +1 -1
- package/dist/components/Pill/Pill.js +13 -12
- package/dist/components/Pill/Pill.js.map +1 -1
- package/dist/components/Pill/demo/PillColors.cjs +2 -0
- package/dist/components/Pill/demo/PillColors.cjs.map +1 -0
- package/dist/components/Pill/demo/PillColors.js +12 -0
- package/dist/components/Pill/demo/PillColors.js.map +1 -0
- package/dist/components/Pill/demo/PillLongText.cjs +2 -0
- package/dist/components/Pill/demo/PillLongText.cjs.map +1 -0
- package/dist/components/Pill/demo/PillLongText.js +7 -0
- package/dist/components/Pill/demo/PillLongText.js.map +1 -0
- package/dist/components/Pill/demo/preview.cjs +2 -0
- package/dist/components/Pill/demo/preview.cjs.map +1 -0
- package/dist/components/Pill/demo/preview.js +14 -0
- package/dist/components/Pill/demo/preview.js.map +1 -0
- package/dist/components/Pill/preview/index.cjs +2 -0
- package/dist/components/Pill/preview/index.cjs.map +1 -0
- package/dist/components/Pill/preview/index.js +6 -0
- package/dist/components/Pill/preview/index.js.map +1 -0
- package/dist/components/Pill/preview.d.ts +4 -0
- package/dist/components/Pill/usePillStyleProps.cjs.map +1 -1
- package/dist/components/Pill/usePillStyleProps.js.map +1 -1
- package/dist/components/Pill.d.ts +1 -1
- package/dist/components/PricingPlan/PricingPlan.cjs +1 -1
- package/dist/components/PricingPlan/PricingPlan.cjs.map +1 -1
- package/dist/components/PricingPlan/PricingPlan.js +15 -13
- package/dist/components/PricingPlan/PricingPlan.js.map +1 -1
- package/dist/components/PricingPlan/PricingPlanBody.cjs +1 -1
- package/dist/components/PricingPlan/PricingPlanBody.cjs.map +1 -1
- package/dist/components/PricingPlan/PricingPlanBody.js +18 -17
- package/dist/components/PricingPlan/PricingPlanBody.js.map +1 -1
- package/dist/components/PricingPlan/PricingPlanFooter.cjs +1 -1
- package/dist/components/PricingPlan/PricingPlanFooter.cjs.map +1 -1
- package/dist/components/PricingPlan/PricingPlanFooter.js +11 -9
- package/dist/components/PricingPlan/PricingPlanFooter.js.map +1 -1
- package/dist/components/PricingPlan/PricingPlanHeader.cjs +1 -1
- package/dist/components/PricingPlan/PricingPlanHeader.cjs.map +1 -1
- package/dist/components/PricingPlan/PricingPlanHeader.js +19 -18
- package/dist/components/PricingPlan/PricingPlanHeader.js.map +1 -1
- package/dist/components/PricingPlan/usePricingPlanStyleProps.cjs +1 -1
- package/dist/components/PricingPlan/usePricingPlanStyleProps.cjs.map +1 -1
- package/dist/components/PricingPlan/usePricingPlanStyleProps.js +11 -11
- package/dist/components/PricingPlan/usePricingPlanStyleProps.js.map +1 -1
- package/dist/components/PricingPlan.d.ts +1 -1
- package/dist/components/ProductLogo/demo/ProductLogoDefault.cjs +2 -0
- package/dist/components/ProductLogo/demo/ProductLogoDefault.cjs.map +1 -0
- package/dist/components/ProductLogo/demo/ProductLogoDefault.js +102 -0
- package/dist/components/ProductLogo/demo/ProductLogoDefault.js.map +1 -0
- package/dist/components/ProductLogo/demo/preview.cjs +2 -0
- package/dist/components/ProductLogo/demo/preview.cjs.map +1 -0
- package/dist/components/ProductLogo/demo/preview.js +10 -0
- package/dist/components/ProductLogo/demo/preview.js.map +1 -0
- package/dist/components/ProductLogo/preview/index.cjs +2 -0
- package/dist/components/ProductLogo/preview/index.cjs.map +1 -0
- package/dist/components/ProductLogo/preview/index.js +6 -0
- package/dist/components/ProductLogo/preview/index.js.map +1 -0
- package/dist/components/ProductLogo/preview.d.ts +4 -0
- package/dist/components/ProductLogo.d.ts +1 -1
- package/dist/components/Radio/Radio.cjs +1 -1
- package/dist/components/Radio/Radio.cjs.map +1 -1
- package/dist/components/Radio/Radio.js +24 -25
- package/dist/components/Radio/Radio.js.map +1 -1
- package/dist/components/Radio/useRadioStyleProps.cjs +1 -1
- package/dist/components/Radio/useRadioStyleProps.cjs.map +1 -1
- package/dist/components/Radio/useRadioStyleProps.js +16 -16
- package/dist/components/Radio/useRadioStyleProps.js.map +1 -1
- package/dist/components/Radio.d.ts +1 -1
- package/dist/components/ScrollView/demo/ScrollViewDefault.cjs +2 -0
- package/dist/components/ScrollView/demo/ScrollViewDefault.cjs.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewDefault.js +8 -0
- package/dist/components/ScrollView/demo/ScrollViewDefault.js.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewHiddenScrollbar.cjs +2 -0
- package/dist/components/ScrollView/demo/ScrollViewHiddenScrollbar.cjs.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewHiddenScrollbar.js +11 -0
- package/dist/components/ScrollView/demo/ScrollViewHiddenScrollbar.js.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontal.cjs +2 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontal.cjs.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontal.js +8 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontal.js.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontalBreakout.cjs +2 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontalBreakout.cjs.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontalBreakout.js +9 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontalBreakout.js.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontalWithArrows.cjs +2 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontalWithArrows.cjs.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontalWithArrows.js +8 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontalWithArrows.js.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontalWithArrowsAndHiddenScrollbar.cjs +2 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontalWithArrowsAndHiddenScrollbar.cjs.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontalWithArrowsAndHiddenScrollbar.js +8 -0
- package/dist/components/ScrollView/demo/ScrollViewHorizontalWithArrowsAndHiddenScrollbar.js.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewOverflowDecorators.cjs +2 -0
- package/dist/components/ScrollView/demo/ScrollViewOverflowDecorators.cjs.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewOverflowDecorators.js +46 -0
- package/dist/components/ScrollView/demo/ScrollViewOverflowDecorators.js.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewVerticalWithArrows.cjs +2 -0
- package/dist/components/ScrollView/demo/ScrollViewVerticalWithArrows.cjs.map +1 -0
- package/dist/components/ScrollView/demo/ScrollViewVerticalWithArrows.js +8 -0
- package/dist/components/ScrollView/demo/ScrollViewVerticalWithArrows.js.map +1 -0
- package/dist/components/ScrollView/demo/constants.cjs +30 -0
- package/dist/components/ScrollView/demo/constants.cjs.map +1 -0
- package/dist/components/ScrollView/demo/constants.js +34 -0
- package/dist/components/ScrollView/demo/constants.js.map +1 -0
- package/dist/components/ScrollView/demo/preview.cjs +2 -0
- package/dist/components/ScrollView/demo/preview.cjs.map +1 -0
- package/dist/components/ScrollView/demo/preview.js +28 -0
- package/dist/components/ScrollView/demo/preview.js.map +1 -0
- package/dist/components/ScrollView/preview/index.cjs +2 -0
- package/dist/components/ScrollView/preview/index.cjs.map +1 -0
- package/dist/components/ScrollView/preview/index.js +6 -0
- package/dist/components/ScrollView/preview/index.js.map +1 -0
- package/dist/components/ScrollView/preview.d.ts +4 -0
- package/dist/components/ScrollView/useScrollPosition.js +4 -4
- package/dist/components/ScrollView/useScrollViewStyleProps.cjs +1 -1
- package/dist/components/ScrollView/useScrollViewStyleProps.cjs.map +1 -1
- package/dist/components/ScrollView/useScrollViewStyleProps.js +13 -13
- package/dist/components/ScrollView/useScrollViewStyleProps.js.map +1 -1
- package/dist/components/ScrollView.d.ts +1 -1
- package/dist/components/Section/demo/SectionBackground.cjs +2 -0
- package/dist/components/Section/demo/SectionBackground.cjs.map +1 -0
- package/dist/components/Section/demo/SectionBackground.js +9 -0
- package/dist/components/Section/demo/SectionBackground.js.map +1 -0
- package/dist/components/Section/demo/SectionCustomPadding.cjs +2 -0
- package/dist/components/Section/demo/SectionCustomPadding.cjs.map +1 -0
- package/dist/components/Section/demo/SectionCustomPadding.js +17 -0
- package/dist/components/Section/demo/SectionCustomPadding.js.map +1 -0
- package/dist/components/Section/demo/SectionDefault.cjs +2 -0
- package/dist/components/Section/demo/SectionDefault.cjs.map +1 -0
- package/dist/components/Section/demo/SectionDefault.js +8 -0
- package/dist/components/Section/demo/SectionDefault.js.map +1 -0
- package/dist/components/Section/demo/SectionSizes.cjs +2 -0
- package/dist/components/Section/demo/SectionSizes.cjs.map +1 -0
- package/dist/components/Section/demo/SectionSizes.js +13 -0
- package/dist/components/Section/demo/SectionSizes.js.map +1 -0
- package/dist/components/Section/demo/SectionTextAlignment.cjs +2 -0
- package/dist/components/Section/demo/SectionTextAlignment.cjs.map +1 -0
- package/dist/components/Section/demo/SectionTextAlignment.js +13 -0
- package/dist/components/Section/demo/SectionTextAlignment.js.map +1 -0
- package/dist/components/Section/demo/preview.cjs +2 -0
- package/dist/components/Section/demo/preview.cjs.map +1 -0
- package/dist/components/Section/demo/preview.js +20 -0
- package/dist/components/Section/demo/preview.js.map +1 -0
- package/dist/components/Section/preview/index.cjs +2 -0
- package/dist/components/Section/preview/index.cjs.map +1 -0
- package/dist/components/Section/preview/index.js +6 -0
- package/dist/components/Section/preview/index.js.map +1 -0
- package/dist/components/Section/preview.d.ts +4 -0
- package/dist/components/Section.d.ts +1 -1
- package/dist/components/SegmentedControl/useSegmentedControlStyleProps.cjs.map +1 -1
- package/dist/components/SegmentedControl/useSegmentedControlStyleProps.js.map +1 -1
- package/dist/components/SegmentedControl.d.ts +1 -1
- package/dist/components/Select/Select.cjs +1 -1
- package/dist/components/Select/Select.cjs.map +1 -1
- package/dist/components/Select/Select.js +28 -29
- package/dist/components/Select/Select.js.map +1 -1
- package/dist/components/Select/useSelectStyleProps.cjs +1 -1
- package/dist/components/Select/useSelectStyleProps.cjs.map +1 -1
- package/dist/components/Select/useSelectStyleProps.js +14 -14
- package/dist/components/Select/useSelectStyleProps.js.map +1 -1
- package/dist/components/Select.d.ts +1 -1
- package/dist/components/Skeleton/SkeletonHeading.cjs +1 -1
- package/dist/components/Skeleton/SkeletonHeading.cjs.map +1 -1
- package/dist/components/Skeleton/SkeletonHeading.js +15 -14
- package/dist/components/Skeleton/SkeletonHeading.js.map +1 -1
- package/dist/components/Skeleton/SkeletonShape.cjs +1 -1
- package/dist/components/Skeleton/SkeletonShape.cjs.map +1 -1
- package/dist/components/Skeleton/SkeletonShape.js +16 -15
- package/dist/components/Skeleton/SkeletonShape.js.map +1 -1
- package/dist/components/Skeleton/SkeletonText.cjs +1 -1
- package/dist/components/Skeleton/SkeletonText.cjs.map +1 -1
- package/dist/components/Skeleton/SkeletonText.js +17 -16
- package/dist/components/Skeleton/SkeletonText.js.map +1 -1
- package/dist/components/Skeleton/demo/SkeletonCombined.cjs +2 -0
- package/dist/components/Skeleton/demo/SkeletonCombined.cjs.map +1 -0
- package/dist/components/Skeleton/demo/SkeletonCombined.js +17 -0
- package/dist/components/Skeleton/demo/SkeletonCombined.js.map +1 -0
- package/dist/components/Skeleton/demo/SkeletonHeadings.cjs +2 -0
- package/dist/components/Skeleton/demo/SkeletonHeadings.cjs.map +1 -0
- package/dist/components/Skeleton/demo/SkeletonHeadings.js +13 -0
- package/dist/components/Skeleton/demo/SkeletonHeadings.js.map +1 -0
- package/dist/components/Skeleton/demo/SkeletonShapes.cjs +2 -0
- package/dist/components/Skeleton/demo/SkeletonShapes.cjs.map +1 -0
- package/dist/components/Skeleton/demo/SkeletonShapes.js +23 -0
- package/dist/components/Skeleton/demo/SkeletonShapes.js.map +1 -0
- package/dist/components/Skeleton/demo/SkeletonTexts.cjs +2 -0
- package/dist/components/Skeleton/demo/SkeletonTexts.cjs.map +1 -0
- package/dist/components/Skeleton/demo/SkeletonTexts.js +16 -0
- package/dist/components/Skeleton/demo/SkeletonTexts.js.map +1 -0
- package/dist/components/Skeleton/demo/preview.cjs +2 -0
- package/dist/components/Skeleton/demo/preview.cjs.map +1 -0
- package/dist/components/Skeleton/demo/preview.js +18 -0
- package/dist/components/Skeleton/demo/preview.js.map +1 -0
- package/dist/components/Skeleton/preview/index.cjs +2 -0
- package/dist/components/Skeleton/preview/index.cjs.map +1 -0
- package/dist/components/Skeleton/preview/index.js +6 -0
- package/dist/components/Skeleton/preview/index.js.map +1 -0
- package/dist/components/Skeleton/preview.d.ts +4 -0
- package/dist/components/Skeleton/useSkeletonShapeStyleProps.cjs.map +1 -1
- package/dist/components/Skeleton/useSkeletonShapeStyleProps.js.map +1 -1
- package/dist/components/Skeleton/useSkeletonStyleProps.cjs.map +1 -1
- package/dist/components/Skeleton/useSkeletonStyleProps.js.map +1 -1
- package/dist/components/Skeleton.d.ts +1 -1
- package/dist/components/SkipLink/demo/SkipLinkDefault.cjs +2 -0
- package/dist/components/SkipLink/demo/SkipLinkDefault.cjs.map +1 -0
- package/dist/components/SkipLink/demo/SkipLinkDefault.js +24 -0
- package/dist/components/SkipLink/demo/SkipLinkDefault.js.map +1 -0
- package/dist/components/SkipLink/demo/preview.cjs +2 -0
- package/dist/components/SkipLink/demo/preview.cjs.map +1 -0
- package/dist/components/SkipLink/demo/preview.js +10 -0
- package/dist/components/SkipLink/demo/preview.js.map +1 -0
- package/dist/components/SkipLink/preview/index.cjs +2 -0
- package/dist/components/SkipLink/preview/index.cjs.map +1 -0
- package/dist/components/SkipLink/preview/index.js +6 -0
- package/dist/components/SkipLink/preview/index.js.map +1 -0
- package/dist/components/SkipLink/preview.d.ts +4 -0
- package/dist/components/SkipLink.d.ts +1 -1
- package/dist/components/Slider/Slider.cjs +1 -1
- package/dist/components/Slider/Slider.cjs.map +1 -1
- package/dist/components/Slider/Slider.js +23 -24
- package/dist/components/Slider/Slider.js.map +1 -1
- package/dist/components/Slider/useSliderStyleProps.cjs +1 -1
- package/dist/components/Slider/useSliderStyleProps.cjs.map +1 -1
- package/dist/components/Slider/useSliderStyleProps.js +14 -14
- package/dist/components/Slider/useSliderStyleProps.js.map +1 -1
- package/dist/components/Slider.d.ts +1 -1
- package/dist/components/Spinner/demo/SpinnerColors.cjs +2 -0
- package/dist/components/Spinner/demo/SpinnerColors.cjs.map +1 -0
- package/dist/components/Spinner/demo/SpinnerColors.js +12 -0
- package/dist/components/Spinner/demo/SpinnerColors.js.map +1 -0
- package/dist/components/Spinner/demo/SpinnerDefault.cjs +2 -0
- package/dist/components/Spinner/demo/SpinnerDefault.cjs.map +1 -0
- package/dist/components/Spinner/demo/SpinnerDefault.js +7 -0
- package/dist/components/Spinner/demo/SpinnerDefault.js.map +1 -0
- package/dist/components/Spinner/demo/SpinnerIconProps.cjs +2 -0
- package/dist/components/Spinner/demo/SpinnerIconProps.cjs.map +1 -0
- package/dist/components/Spinner/demo/SpinnerIconProps.js +10 -0
- package/dist/components/Spinner/demo/SpinnerIconProps.js.map +1 -0
- package/dist/components/Spinner/demo/preview.cjs +2 -0
- package/dist/components/Spinner/demo/preview.cjs.map +1 -0
- package/dist/components/Spinner/demo/preview.js +18 -0
- package/dist/components/Spinner/demo/preview.js.map +1 -0
- package/dist/components/Spinner/preview/index.cjs +2 -0
- package/dist/components/Spinner/preview/index.cjs.map +1 -0
- package/dist/components/Spinner/preview/index.js +6 -0
- package/dist/components/Spinner/preview/index.js.map +1 -0
- package/dist/components/Spinner/preview.d.ts +4 -0
- package/dist/components/Spinner.d.ts +1 -1
- package/dist/components/SplitButton.d.ts +1 -1
- package/dist/components/Stack/useStackStyleProps.cjs +1 -1
- package/dist/components/Stack/useStackStyleProps.cjs.map +1 -1
- package/dist/components/Stack/useStackStyleProps.js +15 -15
- package/dist/components/Stack/useStackStyleProps.js.map +1 -1
- package/dist/components/Stack.d.ts +1 -1
- package/dist/components/Tabs/TabLink.cjs +1 -1
- package/dist/components/Tabs/TabLink.cjs.map +1 -1
- package/dist/components/Tabs/TabLink.js +18 -17
- package/dist/components/Tabs/TabLink.js.map +1 -1
- package/dist/components/Tabs/demo/TabsDefault.cjs +2 -0
- package/dist/components/Tabs/demo/TabsDefault.cjs.map +1 -0
- package/dist/components/Tabs/demo/TabsDefault.js +29 -0
- package/dist/components/Tabs/demo/TabsDefault.js.map +1 -0
- package/dist/components/Tabs/demo/TabsWithCustomSpacing.cjs +2 -0
- package/dist/components/Tabs/demo/TabsWithCustomSpacing.cjs.map +1 -0
- package/dist/components/Tabs/demo/TabsWithCustomSpacing.js +37 -0
- package/dist/components/Tabs/demo/TabsWithCustomSpacing.js.map +1 -0
- package/dist/components/Tabs/demo/preview.cjs +2 -0
- package/dist/components/Tabs/demo/preview.cjs.map +1 -0
- package/dist/components/Tabs/demo/preview.js +14 -0
- package/dist/components/Tabs/demo/preview.js.map +1 -0
- package/dist/components/Tabs/preview/index.cjs +2 -0
- package/dist/components/Tabs/preview/index.cjs.map +1 -0
- package/dist/components/Tabs/preview/index.js +6 -0
- package/dist/components/Tabs/preview/index.js.map +1 -0
- package/dist/components/Tabs/preview.d.ts +4 -0
- package/dist/components/Tabs.d.ts +1 -1
- package/dist/components/Tag/constants.cjs +1 -1
- package/dist/components/Tag/constants.cjs.map +1 -1
- package/dist/components/Tag/constants.js +4 -3
- package/dist/components/Tag/constants.js.map +1 -1
- package/dist/components/Tag/demo/TagAppearance.cjs +2 -0
- package/dist/components/Tag/demo/TagAppearance.cjs.map +1 -0
- package/dist/components/Tag/demo/TagAppearance.js +21 -0
- package/dist/components/Tag/demo/TagAppearance.js.map +1 -0
- package/dist/components/Tag/demo/TagDefault.cjs +2 -0
- package/dist/components/Tag/demo/TagDefault.cjs.map +1 -0
- package/dist/components/Tag/demo/TagDefault.js +25 -0
- package/dist/components/Tag/demo/TagDefault.js.map +1 -0
- package/dist/components/Tag/demo/TagDisabled.cjs +2 -0
- package/dist/components/Tag/demo/TagDisabled.cjs.map +1 -0
- package/dist/components/Tag/demo/TagDisabled.js +28 -0
- package/dist/components/Tag/demo/TagDisabled.js.map +1 -0
- package/dist/components/Tag/demo/TagWithControlButton.cjs +2 -0
- package/dist/components/Tag/demo/TagWithControlButton.cjs.map +1 -0
- package/dist/components/Tag/demo/TagWithControlButton.js +44 -0
- package/dist/components/Tag/demo/TagWithControlButton.js.map +1 -0
- package/dist/components/Tag/demo/preview.cjs +2 -0
- package/dist/components/Tag/demo/preview.cjs.map +1 -0
- package/dist/components/Tag/demo/preview.js +20 -0
- package/dist/components/Tag/demo/preview.js.map +1 -0
- package/dist/components/Tag/preview/index.cjs +2 -0
- package/dist/components/Tag/preview/index.cjs.map +1 -0
- package/dist/components/Tag/preview/index.js +6 -0
- package/dist/components/Tag/preview/index.js.map +1 -0
- package/dist/components/Tag/preview.d.ts +4 -0
- package/dist/components/Tag/useTagStyleProps.cjs +1 -1
- package/dist/components/Tag/useTagStyleProps.cjs.map +1 -1
- package/dist/components/Tag/useTagStyleProps.js +25 -10
- package/dist/components/Tag/useTagStyleProps.js.map +1 -1
- package/dist/components/Tag.d.ts +1 -1
- package/dist/components/Text/Text.cjs +1 -1
- package/dist/components/Text/Text.cjs.map +1 -1
- package/dist/components/Text/Text.js +15 -14
- package/dist/components/Text/Text.js.map +1 -1
- package/dist/components/Text/demo/TextAlignment.cjs +2 -0
- package/dist/components/Text/demo/TextAlignment.cjs.map +1 -0
- package/dist/components/Text/demo/TextAlignment.js +12 -0
- package/dist/components/Text/demo/TextAlignment.js.map +1 -0
- package/dist/components/Text/demo/TextBalanced.cjs +2 -0
- package/dist/components/Text/demo/TextBalanced.cjs.map +1 -0
- package/dist/components/Text/demo/TextBalanced.js +10 -0
- package/dist/components/Text/demo/TextBalanced.js.map +1 -0
- package/dist/components/Text/demo/TextColor.cjs +2 -0
- package/dist/components/Text/demo/TextColor.cjs.map +1 -0
- package/dist/components/Text/demo/TextColor.js +30 -0
- package/dist/components/Text/demo/TextColor.js.map +1 -0
- package/dist/components/Text/demo/TextDefault.cjs +2 -0
- package/dist/components/Text/demo/TextDefault.cjs.map +1 -0
- package/dist/components/Text/demo/TextDefault.js +7 -0
- package/dist/components/Text/demo/TextDefault.js.map +1 -0
- package/dist/components/Text/demo/TextEmphasis.cjs +2 -0
- package/dist/components/Text/demo/TextEmphasis.cjs.map +1 -0
- package/dist/components/Text/demo/TextEmphasis.js +12 -0
- package/dist/components/Text/demo/TextEmphasis.js.map +1 -0
- package/dist/components/Text/demo/TextHyphens.cjs +2 -0
- package/dist/components/Text/demo/TextHyphens.cjs.map +1 -0
- package/dist/components/Text/demo/TextHyphens.js +12 -0
- package/dist/components/Text/demo/TextHyphens.js.map +1 -0
- package/dist/components/Text/demo/TextSizes.cjs +2 -0
- package/dist/components/Text/demo/TextSizes.cjs.map +1 -0
- package/dist/components/Text/demo/TextSizes.js +14 -0
- package/dist/components/Text/demo/TextSizes.js.map +1 -0
- package/dist/components/Text/demo/TextWordBreak.cjs +2 -0
- package/dist/components/Text/demo/TextWordBreak.cjs.map +1 -0
- package/dist/components/Text/demo/TextWordBreak.js +12 -0
- package/dist/components/Text/demo/TextWordBreak.js.map +1 -0
- package/dist/components/Text/demo/preview.cjs +2 -0
- package/dist/components/Text/demo/preview.cjs.map +1 -0
- package/dist/components/Text/demo/preview.js +26 -0
- package/dist/components/Text/demo/preview.js.map +1 -0
- package/dist/components/Text/preview/index.cjs +2 -0
- package/dist/components/Text/preview/index.cjs.map +1 -0
- package/dist/components/Text/preview/index.js +6 -0
- package/dist/components/Text/preview/index.js.map +1 -0
- package/dist/components/Text/preview.d.ts +4 -0
- package/dist/components/Text/useTextStyleProps.cjs.map +1 -1
- package/dist/components/Text/useTextStyleProps.js.map +1 -1
- package/dist/components/Text.d.ts +1 -1
- package/dist/components/TextArea/TextArea.cjs +1 -1
- package/dist/components/TextArea/TextArea.cjs.map +1 -1
- package/dist/components/TextArea/TextArea.js +57 -21
- package/dist/components/TextArea/TextArea.js.map +1 -1
- package/dist/components/TextArea/constants.cjs +2 -0
- package/dist/components/TextArea/constants.cjs.map +1 -0
- package/dist/components/TextArea/constants.js +5 -0
- package/dist/components/TextArea/constants.js.map +1 -0
- package/dist/components/TextArea.d.ts +1 -1
- package/dist/components/TextField.d.ts +1 -1
- package/dist/components/TextFieldBase/TextFieldBase.cjs +1 -1
- package/dist/components/TextFieldBase/TextFieldBase.cjs.map +1 -1
- package/dist/components/TextFieldBase/TextFieldBase.js +69 -59
- package/dist/components/TextFieldBase/TextFieldBase.js.map +1 -1
- package/dist/components/TextFieldBase/useTextFieldBaseInputStyleProps.cjs.map +1 -1
- package/dist/components/TextFieldBase/useTextFieldBaseInputStyleProps.js.map +1 -1
- package/dist/components/TextFieldBase/useTextFieldBaseStyleProps.cjs +1 -1
- package/dist/components/TextFieldBase/useTextFieldBaseStyleProps.cjs.map +1 -1
- package/dist/components/TextFieldBase/useTextFieldBaseStyleProps.js +15 -14
- package/dist/components/TextFieldBase/useTextFieldBaseStyleProps.js.map +1 -1
- package/dist/components/TextFieldBase.d.ts +1 -1
- package/dist/components/Timeline/Timeline.cjs +1 -1
- package/dist/components/Timeline/Timeline.cjs.map +1 -1
- package/dist/components/Timeline/Timeline.js +13 -12
- package/dist/components/Timeline/Timeline.js.map +1 -1
- package/dist/components/Timeline/TimelineStep.cjs +1 -1
- package/dist/components/Timeline/TimelineStep.cjs.map +1 -1
- package/dist/components/Timeline/TimelineStep.js +11 -10
- package/dist/components/Timeline/TimelineStep.js.map +1 -1
- package/dist/components/Timeline/constants.cjs +1 -1
- package/dist/components/Timeline/constants.cjs.map +1 -1
- package/dist/components/Timeline/constants.js +6 -5
- package/dist/components/Timeline/constants.js.map +1 -1
- package/dist/components/Timeline/demo/TimelineColors.cjs +2 -0
- package/dist/components/Timeline/demo/TimelineColors.cjs.map +1 -0
- package/dist/components/Timeline/demo/TimelineColors.js +9 -0
- package/dist/components/Timeline/demo/TimelineColors.js.map +1 -0
- package/dist/components/Timeline/demo/TimelineDefault.cjs +2 -0
- package/dist/components/Timeline/demo/TimelineDefault.cjs.map +1 -0
- package/dist/components/Timeline/demo/TimelineDefault.js +9 -0
- package/dist/components/Timeline/demo/TimelineDefault.js.map +1 -0
- package/dist/components/Timeline/demo/TimelineDemoFactory.cjs +2 -0
- package/dist/components/Timeline/demo/TimelineDemoFactory.cjs.map +1 -0
- package/dist/components/Timeline/demo/TimelineDemoFactory.js +32 -0
- package/dist/components/Timeline/demo/TimelineDemoFactory.js.map +1 -0
- package/dist/components/Timeline/demo/TimelineDots.cjs +2 -0
- package/dist/components/Timeline/demo/TimelineDots.cjs.map +1 -0
- package/dist/components/Timeline/demo/TimelineDots.js +9 -0
- package/dist/components/Timeline/demo/TimelineDots.js.map +1 -0
- package/dist/components/Timeline/demo/TimelineIcons.cjs +2 -0
- package/dist/components/Timeline/demo/TimelineIcons.cjs.map +1 -0
- package/dist/components/Timeline/demo/TimelineIcons.js +9 -0
- package/dist/components/Timeline/demo/TimelineIcons.js.map +1 -0
- package/dist/components/Timeline/demo/TimelineResponsiveSizes.cjs +2 -0
- package/dist/components/Timeline/demo/TimelineResponsiveSizes.cjs.map +1 -0
- package/dist/components/Timeline/demo/TimelineResponsiveSizes.js +34 -0
- package/dist/components/Timeline/demo/TimelineResponsiveSizes.js.map +1 -0
- package/dist/components/Timeline/demo/TimelineSizes.cjs +2 -0
- package/dist/components/Timeline/demo/TimelineSizes.cjs.map +1 -0
- package/dist/components/Timeline/demo/TimelineSizes.js +18 -0
- package/dist/components/Timeline/demo/TimelineSizes.js.map +1 -0
- package/dist/components/Timeline/demo/TimelineSizesDots.cjs +2 -0
- package/dist/components/Timeline/demo/TimelineSizesDots.cjs.map +1 -0
- package/dist/components/Timeline/demo/TimelineSizesDots.js +18 -0
- package/dist/components/Timeline/demo/TimelineSizesDots.js.map +1 -0
- package/dist/components/Timeline/demo/TimelineSizesIcons.cjs +2 -0
- package/dist/components/Timeline/demo/TimelineSizesIcons.cjs.map +1 -0
- package/dist/components/Timeline/demo/TimelineSizesIcons.js +18 -0
- package/dist/components/Timeline/demo/TimelineSizesIcons.js.map +1 -0
- package/dist/components/Timeline/demo/constants.cjs +2 -0
- package/dist/components/Timeline/demo/constants.cjs.map +1 -0
- package/dist/components/Timeline/demo/constants.js +141 -0
- package/dist/components/Timeline/demo/constants.js.map +1 -0
- package/dist/components/Timeline/demo/preview.cjs +2 -0
- package/dist/components/Timeline/demo/preview.cjs.map +1 -0
- package/dist/components/Timeline/demo/preview.js +28 -0
- package/dist/components/Timeline/demo/preview.js.map +1 -0
- package/dist/components/Timeline/preview/index.cjs +2 -0
- package/dist/components/Timeline/preview/index.cjs.map +1 -0
- package/dist/components/Timeline/preview/index.js +6 -0
- package/dist/components/Timeline/preview/index.js.map +1 -0
- package/dist/components/Timeline/preview.d.ts +4 -0
- package/dist/components/Timeline/useTimelineStyleProps.cjs +1 -1
- package/dist/components/Timeline/useTimelineStyleProps.cjs.map +1 -1
- package/dist/components/Timeline/useTimelineStyleProps.js +18 -18
- package/dist/components/Timeline/useTimelineStyleProps.js.map +1 -1
- package/dist/components/Timeline.d.ts +1 -1
- package/dist/components/Toast/ToastContext.cjs +1 -1
- package/dist/components/Toast/ToastContext.cjs.map +1 -1
- package/dist/components/Toast/ToastContext.js +89 -5
- package/dist/components/Toast/ToastContext.js.map +1 -1
- package/dist/components/Toast/index.cjs +1 -1
- package/dist/components/Toast/index.js +18 -15
- package/dist/components/Toast/index.js.map +1 -1
- package/dist/components/Toast/useToastBarStyleProps.cjs +1 -1
- package/dist/components/Toast/useToastBarStyleProps.cjs.map +1 -1
- package/dist/components/Toast/useToastBarStyleProps.js +6 -6
- package/dist/components/Toast/useToastBarStyleProps.js.map +1 -1
- package/dist/components/Toast/useToastStyleProps.cjs +1 -1
- package/dist/components/Toast/useToastStyleProps.cjs.map +1 -1
- package/dist/components/Toast/useToastStyleProps.js +13 -13
- package/dist/components/Toast/useToastStyleProps.js.map +1 -1
- package/dist/components/Toast.d.ts +1 -1
- package/dist/components/Toggle/Toggle.cjs +1 -1
- package/dist/components/Toggle/Toggle.cjs.map +1 -1
- package/dist/components/Toggle/Toggle.js +59 -55
- package/dist/components/Toggle/Toggle.js.map +1 -1
- package/dist/components/Toggle/useToggleStyleProps.cjs +1 -1
- package/dist/components/Toggle/useToggleStyleProps.cjs.map +1 -1
- package/dist/components/Toggle/useToggleStyleProps.js +25 -25
- package/dist/components/Toggle/useToggleStyleProps.js.map +1 -1
- package/dist/components/Toggle.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.cjs +1 -1
- package/dist/components/Tooltip/Tooltip.cjs.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +82 -78
- package/dist/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/components/Tooltip/TooltipPopover.cjs +1 -1
- package/dist/components/Tooltip/TooltipPopover.cjs.map +1 -1
- package/dist/components/Tooltip/TooltipPopover.js +38 -38
- package/dist/components/Tooltip/TooltipPopover.js.map +1 -1
- package/dist/components/Tooltip/TooltipTrigger.cjs +1 -1
- package/dist/components/Tooltip/TooltipTrigger.cjs.map +1 -1
- package/dist/components/Tooltip/TooltipTrigger.js +11 -10
- package/dist/components/Tooltip/TooltipTrigger.js.map +1 -1
- package/dist/components/Tooltip/useTooltipStyleProps.cjs +1 -1
- package/dist/components/Tooltip/useTooltipStyleProps.cjs.map +1 -1
- package/dist/components/Tooltip/useTooltipStyleProps.js +10 -10
- package/dist/components/Tooltip/useTooltipStyleProps.js.map +1 -1
- package/dist/components/Tooltip.d.ts +1 -1
- package/dist/components/Truncate/Truncate.cjs +1 -1
- package/dist/components/Truncate/Truncate.cjs.map +1 -1
- package/dist/components/Truncate/Truncate.js +24 -23
- package/dist/components/Truncate/Truncate.js.map +1 -1
- package/dist/components/Truncate/demo/TruncateDefault.cjs +2 -0
- package/dist/components/Truncate/demo/TruncateDefault.cjs.map +1 -0
- package/dist/components/Truncate/demo/TruncateDefault.js +57 -0
- package/dist/components/Truncate/demo/TruncateDefault.js.map +1 -0
- package/dist/components/Truncate/demo/preview.cjs +2 -0
- package/dist/components/Truncate/demo/preview.cjs.map +1 -0
- package/dist/components/Truncate/demo/preview.js +12 -0
- package/dist/components/Truncate/demo/preview.js.map +1 -0
- package/dist/components/Truncate/preview/index.cjs +2 -0
- package/dist/components/Truncate/preview/index.cjs.map +1 -0
- package/dist/components/Truncate/preview/index.js +6 -0
- package/dist/components/Truncate/preview/index.js.map +1 -0
- package/dist/components/Truncate/preview.d.ts +4 -0
- package/dist/components/Truncate/useTruncateStyleProps.cjs.map +1 -1
- package/dist/components/Truncate/useTruncateStyleProps.js.map +1 -1
- package/dist/components/Truncate.d.ts +1 -1
- package/dist/components/UNSTABLE_File/UNSTABLE_File.cjs +2 -0
- package/dist/components/UNSTABLE_File/UNSTABLE_File.cjs.map +1 -0
- package/dist/components/UNSTABLE_File/UNSTABLE_File.js +88 -0
- package/dist/components/UNSTABLE_File/UNSTABLE_File.js.map +1 -0
- package/dist/components/UNSTABLE_File/UNSTABLE_FileImagePreview.cjs +2 -0
- package/dist/components/UNSTABLE_File/UNSTABLE_FileImagePreview.cjs.map +1 -0
- package/dist/components/UNSTABLE_File/UNSTABLE_FileImagePreview.js +29 -0
- package/dist/components/UNSTABLE_File/UNSTABLE_FileImagePreview.js.map +1 -0
- package/dist/components/UNSTABLE_File/constants.cjs +2 -0
- package/dist/components/UNSTABLE_File/constants.cjs.map +1 -0
- package/dist/components/UNSTABLE_File/constants.js +13 -0
- package/dist/components/UNSTABLE_File/constants.js.map +1 -0
- package/dist/components/UNSTABLE_File/index.cjs +2 -0
- package/dist/components/UNSTABLE_File/index.cjs.map +1 -0
- package/dist/components/UNSTABLE_File/index.js +16 -0
- package/dist/components/UNSTABLE_File/index.js.map +1 -0
- package/dist/components/UNSTABLE_File/useFileImageStyles.cjs +2 -0
- package/dist/components/UNSTABLE_File/useFileImageStyles.cjs.map +1 -0
- package/dist/components/UNSTABLE_File/useFileImageStyles.js +21 -0
- package/dist/components/UNSTABLE_File/useFileImageStyles.js.map +1 -0
- package/dist/components/UNSTABLE_File/useFileStyleProps.cjs +2 -0
- package/dist/components/UNSTABLE_File/useFileStyleProps.cjs.map +1 -0
- package/dist/components/UNSTABLE_File/useFileStyleProps.js +29 -0
- package/dist/components/UNSTABLE_File/useFileStyleProps.js.map +1 -0
- package/dist/components/UNSTABLE_File.d.ts +2 -0
- package/dist/components/UNSTABLE_FileUpload/UNSTABLE_FileUpload.cjs +1 -1
- package/dist/components/UNSTABLE_FileUpload/UNSTABLE_FileUpload.cjs.map +1 -1
- package/dist/components/UNSTABLE_FileUpload/UNSTABLE_FileUpload.js +129 -112
- package/dist/components/UNSTABLE_FileUpload/UNSTABLE_FileUpload.js.map +1 -1
- package/dist/components/UNSTABLE_FileUpload/useFileUploadStyleProps.cjs +1 -1
- package/dist/components/UNSTABLE_FileUpload/useFileUploadStyleProps.cjs.map +1 -1
- package/dist/components/UNSTABLE_FileUpload/useFileUploadStyleProps.js +18 -16
- package/dist/components/UNSTABLE_FileUpload/useFileUploadStyleProps.js.map +1 -1
- package/dist/components/UNSTABLE_FileUpload.d.ts +1 -1
- package/dist/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.cjs.map +1 -1
- package/dist/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js.map +1 -1
- package/dist/components/UNSTABLE_Header/useUnstableHeaderStyleProps.cjs +1 -1
- package/dist/components/UNSTABLE_Header/useUnstableHeaderStyleProps.cjs.map +1 -1
- package/dist/components/UNSTABLE_Header/useUnstableHeaderStyleProps.js +6 -6
- package/dist/components/UNSTABLE_Header/useUnstableHeaderStyleProps.js.map +1 -1
- package/dist/components/UNSTABLE_Header.d.ts +1 -1
- package/dist/components/UNSTABLE_Picker/PickerContext.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/PickerContext.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/PickerContext.js +9 -0
- package/dist/components/UNSTABLE_Picker/PickerContext.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/PickerPopoverContext.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/PickerPopoverContext.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/PickerPopoverContext.js +16 -0
- package/dist/components/UNSTABLE_Picker/PickerPopoverContext.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_Picker.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_Picker.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_Picker.js +204 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_Picker.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_PickerGroup.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_PickerGroup.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_PickerGroup.js +14 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_PickerGroup.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_PickerItem.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_PickerItem.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_PickerItem.js +32 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_PickerItem.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_PickerTag.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_PickerTag.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_PickerTag.js +64 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_PickerTag.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_UncontrolledPicker.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_UncontrolledPicker.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_UncontrolledPicker.js +40 -0
- package/dist/components/UNSTABLE_Picker/UNSTABLE_UncontrolledPicker.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/constants.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/constants.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/constants.js +11 -0
- package/dist/components/UNSTABLE_Picker/constants.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/index.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/index.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/index.js +26 -0
- package/dist/components/UNSTABLE_Picker/index.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/usePickerId.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/usePickerId.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/usePickerId.js +15 -0
- package/dist/components/UNSTABLE_Picker/usePickerId.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/usePickerPopoverTabOutToTrigger.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/usePickerPopoverTabOutToTrigger.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/usePickerPopoverTabOutToTrigger.js +27 -0
- package/dist/components/UNSTABLE_Picker/usePickerPopoverTabOutToTrigger.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/usePickerSelectionGridKeyboard.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/usePickerSelectionGridKeyboard.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/usePickerSelectionGridKeyboard.js +95 -0
- package/dist/components/UNSTABLE_Picker/usePickerSelectionGridKeyboard.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/usePickerStyleProps.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/usePickerStyleProps.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/usePickerStyleProps.js +29 -0
- package/dist/components/UNSTABLE_Picker/usePickerStyleProps.js.map +1 -0
- package/dist/components/UNSTABLE_Picker/utils.cjs +2 -0
- package/dist/components/UNSTABLE_Picker/utils.cjs.map +1 -0
- package/dist/components/UNSTABLE_Picker/utils.js +41 -0
- package/dist/components/UNSTABLE_Picker/utils.js.map +1 -0
- package/dist/components/UNSTABLE_Picker.d.ts +2 -0
- package/dist/components/UNSTABLE_Table/UNSTABLE_Table.cjs +2 -0
- package/dist/components/UNSTABLE_Table/UNSTABLE_Table.cjs.map +1 -0
- package/dist/components/UNSTABLE_Table/UNSTABLE_Table.js +14 -0
- package/dist/components/UNSTABLE_Table/UNSTABLE_Table.js.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableBordered.cjs +2 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableBordered.cjs.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableBordered.js +30 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableBordered.js.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableCombined.cjs +2 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableCombined.cjs.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableCombined.js +40 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableCombined.js.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableCompact.cjs +2 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableCompact.cjs.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableCompact.js +30 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableCompact.js.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableDefault.cjs +2 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableDefault.cjs.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableDefault.js +30 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableDefault.js.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableHoverable.cjs +2 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableHoverable.cjs.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableHoverable.js +30 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableHoverable.js.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableStriped.cjs +2 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableStriped.cjs.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableStriped.js +35 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableStriped.js.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableWithCaption.cjs +2 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableWithCaption.cjs.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableWithCaption.js +35 -0
- package/dist/components/UNSTABLE_Table/demo/UNSTABLE_TableWithCaption.js.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/preview.cjs +2 -0
- package/dist/components/UNSTABLE_Table/demo/preview.cjs.map +1 -0
- package/dist/components/UNSTABLE_Table/demo/preview.js +26 -0
- package/dist/components/UNSTABLE_Table/demo/preview.js.map +1 -0
- package/dist/components/UNSTABLE_Table/index.cjs +2 -0
- package/dist/components/UNSTABLE_Table/index.cjs.map +1 -0
- package/dist/components/UNSTABLE_Table/index.js +8 -0
- package/dist/components/UNSTABLE_Table/index.js.map +1 -0
- package/dist/components/UNSTABLE_Table/preview/index.cjs +2 -0
- package/dist/components/UNSTABLE_Table/preview/index.cjs.map +1 -0
- package/dist/components/UNSTABLE_Table/preview/index.js +6 -0
- package/dist/components/UNSTABLE_Table/preview/index.js.map +1 -0
- package/dist/components/UNSTABLE_Table/preview.d.ts +4 -0
- package/dist/components/UNSTABLE_Table/useUnstableTableStyleProps.cjs +2 -0
- package/dist/components/UNSTABLE_Table/useUnstableTableStyleProps.cjs.map +1 -0
- package/dist/components/UNSTABLE_Table/useUnstableTableStyleProps.js +28 -0
- package/dist/components/UNSTABLE_Table/useUnstableTableStyleProps.js.map +1 -0
- package/dist/components/UNSTABLE_Table.d.ts +2 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.cjs +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.cjs.map +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.js +12 -9
- package/dist/components/VisuallyHidden/VisuallyHidden.js.map +1 -1
- package/dist/components/VisuallyHidden/useVisuallyHiddenProps.cjs.map +1 -1
- package/dist/components/VisuallyHidden/useVisuallyHiddenProps.js.map +1 -1
- package/dist/components/VisuallyHidden.d.ts +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +564 -532
- package/dist/components/index.js.map +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/constants/index.cjs +1 -1
- package/dist/constants/index.js +49 -41
- package/dist/constants/index.js.map +1 -1
- package/dist/constants/selection.cjs +2 -0
- package/dist/constants/selection.cjs.map +1 -0
- package/dist/constants/selection.js +6 -0
- package/dist/constants/selection.js.map +1 -0
- package/dist/constants/units.cjs +2 -0
- package/dist/constants/units.cjs.map +1 -0
- package/dist/constants/units.js +8 -0
- package/dist/constants/units.js.map +1 -0
- package/dist/constants.d.ts +1 -1
- package/dist/context/I18nContext.cjs +2 -0
- package/dist/context/I18nContext.cjs.map +1 -0
- package/dist/context/I18nContext.js +24 -0
- package/dist/context/I18nContext.js.map +1 -0
- package/dist/context/RouterContext.cjs +2 -0
- package/dist/context/RouterContext.cjs.map +1 -0
- package/dist/context/RouterContext.js +12 -0
- package/dist/context/RouterContext.js.map +1 -0
- package/dist/context/index.cjs +1 -1
- package/dist/context/index.js +13 -6
- package/dist/context/index.js.map +1 -1
- package/dist/context.d.ts +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.js +54 -40
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/styleProps.cjs +1 -1
- package/dist/hooks/styleProps.cjs.map +1 -1
- package/dist/hooks/styleProps.js +1 -1
- package/dist/hooks/styleProps.js.map +1 -1
- package/dist/hooks/useAriaIdRefs.cjs +2 -0
- package/dist/hooks/useAriaIdRefs.cjs.map +1 -0
- package/dist/hooks/useAriaIdRefs.js +23 -0
- package/dist/hooks/useAriaIdRefs.js.map +1 -0
- package/dist/hooks/useControlledModeGuard.cjs +2 -0
- package/dist/hooks/useControlledModeGuard.cjs.map +1 -0
- package/dist/hooks/useControlledModeGuard.js +33 -0
- package/dist/hooks/useControlledModeGuard.js.map +1 -0
- package/dist/hooks/useDebouncedValue.cjs +2 -0
- package/dist/hooks/useDebouncedValue.cjs.map +1 -0
- package/dist/hooks/useDebouncedValue.js +17 -0
- package/dist/hooks/useDebouncedValue.js.map +1 -0
- package/dist/hooks/useI18n.cjs +1 -1
- package/dist/hooks/useI18n.cjs.map +1 -1
- package/dist/hooks/useI18n.js +14 -8
- package/dist/hooks/useI18n.js.map +1 -1
- package/dist/hooks/useLinkClick.cjs +2 -0
- package/dist/hooks/useLinkClick.cjs.map +1 -0
- package/dist/hooks/useLinkClick.js +15 -0
- package/dist/hooks/useLinkClick.js.map +1 -0
- package/dist/hooks/useSelectionState.cjs +2 -0
- package/dist/hooks/useSelectionState.cjs.map +1 -0
- package/dist/hooks/useSelectionState.js +41 -0
- package/dist/hooks/useSelectionState.js.map +1 -0
- package/dist/hooks.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -7
- package/dist/index.js +791 -722
- package/dist/index.js.map +1 -1
- package/dist/src/components/Accordion/preview/index.d.ts +2 -0
- package/dist/src/components/ActionGroup/preview/index.d.ts +2 -0
- package/dist/src/components/Alert/preview/index.d.ts +2 -0
- package/dist/src/components/Avatar/preview/index.d.ts +2 -0
- package/dist/src/components/Box/preview/index.d.ts +2 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +8 -0
- package/dist/src/components/Breadcrumbs/preview/index.d.ts +2 -0
- package/dist/src/components/ButtonLink/ButtonLink.d.ts +3 -0
- package/dist/src/components/ButtonLink/useButtonLinkStyleProps.d.ts +20 -0
- package/dist/src/components/Card/Card.d.ts +8 -0
- package/dist/src/components/Card/CardLink.d.ts +3 -0
- package/dist/src/components/Card/CardTitle.d.ts +8 -0
- package/dist/src/components/CharacterCounter/CharacterCounter.d.ts +7 -0
- package/dist/src/components/CharacterCounter/constants.d.ts +1 -0
- package/dist/src/components/CharacterCounter/index.d.ts +3 -0
- package/dist/src/components/CharacterCounter/types.d.ts +6 -0
- package/dist/src/components/CharacterCounter/useCharacterCounterState.d.ts +25 -0
- package/dist/src/components/Collapse/Collapse.d.ts +8 -0
- package/dist/src/components/Collapse/preview/index.d.ts +2 -0
- package/dist/src/components/Container/preview/index.d.ts +2 -0
- package/dist/src/components/ControlButton/preview/index.d.ts +2 -0
- package/dist/src/components/Divider/preview/index.d.ts +2 -0
- package/dist/src/components/Dropdown/DropdownPopover.d.ts +9 -0
- package/dist/src/components/Dropdown/DropdownTrigger.d.ts +8 -0
- package/dist/src/components/EmptyState/preview/index.d.ts +2 -0
- package/dist/src/components/Field/HelperText.d.ts +8 -0
- package/dist/src/components/Field/Label.d.ts +8 -0
- package/dist/src/components/Field/ValidationText.d.ts +8 -0
- package/dist/src/components/Field/index.d.ts +3 -0
- package/dist/src/components/Field/types.d.ts +14 -0
- package/dist/src/components/Flex/preview/index.d.ts +2 -0
- package/dist/src/components/Grid/preview/index.d.ts +2 -0
- package/dist/src/components/Heading/Heading.d.ts +8 -0
- package/dist/src/components/Heading/preview/index.d.ts +2 -0
- package/dist/src/components/Heading/useHeadingStyleProps.d.ts +23 -0
- package/dist/src/components/Hidden/preview/index.d.ts +2 -0
- package/dist/src/components/Icon/preview/index.d.ts +2 -0
- package/dist/src/components/IconBox/preview/index.d.ts +2 -0
- package/dist/src/components/InputDetails/InputDetails.d.ts +8 -0
- package/dist/src/components/InputDetails/index.d.ts +2 -0
- package/dist/src/components/InputDetails/useInputDetailsStyleProps.d.ts +7 -0
- package/dist/src/components/Item/Item.d.ts +8 -0
- package/dist/src/components/Link/preview/index.d.ts +2 -0
- package/dist/src/components/Link/useLinkStyleProps.d.ts +5 -0
- package/dist/src/components/Matrix/Matrix.d.ts +8 -0
- package/dist/src/components/Matrix/preview/index.d.ts +2 -0
- package/dist/src/components/Matrix/useMatrixStyleProps.d.ts +12 -0
- package/dist/src/components/Pagination/preview/index.d.ts +2 -0
- package/dist/src/components/PartnerLogo/preview/index.d.ts +2 -0
- package/dist/src/components/Pill/Pill.d.ts +8 -0
- package/dist/src/components/Pill/preview/index.d.ts +2 -0
- package/dist/src/components/Pill/usePillStyleProps.d.ts +6 -0
- package/dist/src/components/PricingPlan/PricingPlan.d.ts +8 -0
- package/dist/src/components/ProductLogo/preview/index.d.ts +2 -0
- package/dist/src/components/ScrollView/preview/index.d.ts +2 -0
- package/dist/src/components/Section/preview/index.d.ts +2 -0
- package/dist/src/components/SegmentedControl/useSegmentedControlStyleProps.d.ts +12 -0
- package/dist/src/components/Skeleton/SkeletonHeading.d.ts +8 -0
- package/dist/src/components/Skeleton/SkeletonShape.d.ts +8 -0
- package/dist/src/components/Skeleton/SkeletonText.d.ts +8 -0
- package/dist/src/components/Skeleton/preview/index.d.ts +2 -0
- package/dist/src/components/Skeleton/useSkeletonShapeStyleProps.d.ts +880 -0
- package/dist/src/components/Skeleton/useSkeletonStyleProps.d.ts +11 -0
- package/dist/src/components/SkipLink/preview/index.d.ts +2 -0
- package/dist/src/components/Spinner/preview/index.d.ts +2 -0
- package/dist/src/components/Tabs/preview/index.d.ts +2 -0
- package/dist/src/components/Tag/constants.d.ts +4 -0
- package/dist/src/components/Tag/preview/index.d.ts +2 -0
- package/dist/src/components/Tag/useTagStyleProps.d.ts +19 -0
- package/dist/src/components/Text/Text.d.ts +8 -0
- package/dist/src/components/Text/preview/index.d.ts +2 -0
- package/dist/src/components/Text/useTextStyleProps.d.ts +23 -0
- package/dist/src/components/TextArea/constants.d.ts +1 -0
- package/dist/src/components/TextFieldBase/useTextFieldBaseInputStyleProps.d.ts +8 -0
- package/dist/src/components/TextFieldBase/useTextFieldBaseStyleProps.d.ts +16 -0
- package/dist/src/components/Timeline/Timeline.d.ts +8 -0
- package/dist/src/components/Timeline/TimelineStep.d.ts +8 -0
- package/dist/src/components/Timeline/preview/index.d.ts +2 -0
- package/dist/src/components/Timeline/useTimelineStyleProps.d.ts +18 -0
- package/dist/src/components/Toast/index.d.ts +8 -0
- package/dist/src/components/Tooltip/TooltipTrigger.d.ts +8 -0
- package/dist/src/components/Truncate/Truncate.d.ts +8 -0
- package/dist/src/components/Truncate/preview/index.d.ts +2 -0
- package/dist/src/components/Truncate/useTruncateStyleProps.d.ts +27 -0
- package/dist/src/components/UNSTABLE_File/UNSTABLE_File.d.ts +8 -0
- package/dist/src/components/UNSTABLE_File/UNSTABLE_FileImagePreview.d.ts +8 -0
- package/dist/src/components/UNSTABLE_File/constants.d.ts +9 -0
- package/dist/src/components/UNSTABLE_File/index.d.ts +6 -0
- package/dist/src/components/UNSTABLE_File/types.d.ts +48 -0
- package/dist/src/components/UNSTABLE_File/useFileImageStyles.d.ts +19 -0
- package/dist/src/components/UNSTABLE_File/useFileStyleProps.d.ts +20 -0
- package/dist/src/components/UNSTABLE_FileUpload/types.d.ts +33 -0
- package/dist/src/components/UNSTABLE_FileUpload/useFileUploadStyleProps.d.ts +28 -0
- package/dist/src/components/UNSTABLE_Picker/PickerContext.d.ts +3 -0
- package/dist/src/components/UNSTABLE_Picker/PickerPopoverContext.d.ts +3 -0
- package/dist/src/components/UNSTABLE_Picker/UNSTABLE_Picker.d.ts +4 -0
- package/dist/src/components/UNSTABLE_Picker/UNSTABLE_PickerGroup.d.ts +7 -0
- package/dist/src/components/UNSTABLE_Picker/UNSTABLE_PickerItem.d.ts +7 -0
- package/dist/src/components/UNSTABLE_Picker/UNSTABLE_PickerTag.d.ts +7 -0
- package/dist/src/components/UNSTABLE_Picker/UNSTABLE_UncontrolledPicker.d.ts +4 -0
- package/dist/src/components/UNSTABLE_Picker/constants.d.ts +6 -0
- package/dist/src/components/UNSTABLE_Picker/index.d.ts +11 -0
- package/dist/src/components/UNSTABLE_Picker/types.d.ts +91 -0
- package/dist/src/components/UNSTABLE_Picker/usePickerId.d.ts +8 -0
- package/dist/src/components/UNSTABLE_Picker/usePickerPopoverTabOutToTrigger.d.ts +11 -0
- package/dist/src/components/UNSTABLE_Picker/usePickerSelectionGridKeyboard.d.ts +13 -0
- package/dist/src/components/UNSTABLE_Picker/usePickerStyleProps.d.ts +21 -0
- package/dist/src/components/UNSTABLE_Picker/utils.d.ts +10 -0
- package/dist/src/components/UNSTABLE_Table/UNSTABLE_Table.d.ts +7 -0
- package/dist/src/components/UNSTABLE_Table/index.d.ts +3 -0
- package/dist/src/components/UNSTABLE_Table/preview/index.d.ts +2 -0
- package/dist/src/components/UNSTABLE_Table/types.d.ts +10 -0
- package/dist/src/components/UNSTABLE_Table/useUnstableTableStyleProps.d.ts +8 -0
- package/dist/src/components/VisuallyHidden/VisuallyHidden.d.ts +8 -0
- package/dist/src/components/VisuallyHidden/useVisuallyHiddenProps.d.ts +6 -0
- package/dist/src/components/index.d.ts +69 -0
- package/dist/src/constants/index.d.ts +11 -0
- package/dist/src/constants/selection.d.ts +2 -0
- package/dist/src/constants/units.d.ts +4 -0
- package/dist/src/context/I18nContext.d.ts +165 -0
- package/dist/src/context/RouterContext.d.ts +16 -0
- package/dist/src/context/index.d.ts +5 -0
- package/dist/src/hooks/index.d.ts +26 -0
- package/dist/src/hooks/useAriaIdRefs.d.ts +11 -0
- package/dist/src/hooks/useControlledModeGuard.d.ts +10 -0
- package/dist/src/hooks/useDebouncedValue.d.ts +1 -0
- package/dist/src/hooks/useI18n.d.ts +5 -0
- package/dist/src/hooks/useLinkClick.d.ts +4 -0
- package/dist/src/hooks/useSelectionState.d.ts +17 -0
- package/dist/src/index.d.ts +7 -0
- package/dist/src/translations/defaults.d.ts +50 -0
- package/dist/src/translations/index.d.ts +4 -0
- package/dist/src/translations/mergeTranslations.d.ts +5 -0
- package/dist/src/types/actionGroup.d.ts +3 -0
- package/dist/src/types/breadcrumbs.d.ts +23 -0
- package/dist/src/types/button.d.ts +20 -0
- package/dist/src/types/card.d.ts +60 -0
- package/dist/src/types/checkbox.d.ts +12 -0
- package/dist/src/types/container.d.ts +11 -0
- package/dist/src/types/controlButton.d.ts +14 -0
- package/dist/src/types/divider.d.ts +4 -0
- package/dist/src/types/dropdown.d.ts +48 -0
- package/dist/src/types/fieldGroup.d.ts +12 -0
- package/dist/src/types/header.d.ts +58 -0
- package/dist/src/types/heading.d.ts +6 -0
- package/dist/src/types/index.d.ts +62 -0
- package/dist/src/types/inputDetails.d.ts +9 -0
- package/dist/src/types/item.d.ts +20 -0
- package/dist/src/types/label.d.ts +11 -0
- package/dist/src/types/link.d.ts +25 -0
- package/dist/src/types/matrix.d.ts +13 -0
- package/dist/src/types/pagination.d.ts +44 -0
- package/dist/src/types/pill.d.ts +9 -0
- package/dist/src/types/pricingPlan.d.ts +31 -0
- package/dist/src/types/segmentedControl.d.ts +25 -0
- package/dist/src/types/shared/element.d.ts +56 -0
- package/dist/src/types/shared/index.d.ts +35 -0
- package/dist/src/types/shared/inputs.d.ts +37 -0
- package/dist/src/types/shared/router.d.ts +3 -0
- package/dist/src/types/skeleton.d.ts +20 -0
- package/dist/src/types/skipLink.d.ts +11 -0
- package/dist/src/types/splitButton.d.ts +27 -0
- package/dist/src/types/tabs.d.ts +40 -0
- package/dist/src/types/tag.d.ts +13 -0
- package/dist/src/types/text.d.ts +5 -0
- package/dist/src/types/textArea.d.ts +33 -0
- package/dist/src/types/textFieldBase.d.ts +29 -0
- package/dist/src/types/timeline.d.ts +25 -0
- package/dist/src/types/toggle.d.ts +17 -0
- package/dist/src/types/tooltip.d.ts +52 -0
- package/dist/src/types/truncate.d.ts +13 -0
- package/dist/src/types/unstableHeader.d.ts +16 -0
- package/dist/src/types/visuallyHidden.d.ts +5 -0
- package/dist/src/utils/debounce.d.ts +4 -0
- package/dist/src/utils/index.d.ts +15 -0
- package/dist/src/utils/pxToRem.d.ts +6 -0
- package/dist/src/utils/router.d.ts +12 -0
- package/dist/src/utils/string.d.ts +5 -0
- package/dist/translations/defaults.cjs +1 -1
- package/dist/translations/defaults.cjs.map +1 -1
- package/dist/translations/defaults.js +18 -1
- package/dist/translations/defaults.js.map +1 -1
- package/dist/translations/index.cjs +1 -1
- package/dist/translations/index.js +8 -6
- package/dist/translations/index.js.map +1 -1
- package/dist/translations/mergeTranslations.cjs +2 -0
- package/dist/translations/mergeTranslations.cjs.map +1 -0
- package/dist/translations/mergeTranslations.js +19 -0
- package/dist/translations/mergeTranslations.js.map +1 -0
- package/dist/translations.d.ts +1 -1
- package/dist/types/card.cjs.map +1 -1
- package/dist/types/card.js.map +1 -1
- package/dist/types/dropdown.cjs.map +1 -1
- package/dist/types/dropdown.js.map +1 -1
- package/dist/types/item.cjs.map +1 -1
- package/dist/types/item.js.map +1 -1
- package/dist/types/link.cjs.map +1 -1
- package/dist/types/link.js.map +1 -1
- package/dist/types/shared/index.cjs.map +1 -1
- package/dist/types/shared/index.js.map +1 -1
- package/dist/types/shared.d.ts +1 -1
- package/dist/types/tooltip.cjs.map +1 -1
- package/dist/types/tooltip.js.map +1 -1
- package/dist/types/truncate.cjs.map +1 -1
- package/dist/types/truncate.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utils/debounce.cjs +1 -1
- package/dist/utils/debounce.cjs.map +1 -1
- package/dist/utils/debounce.js +11 -8
- package/dist/utils/debounce.js.map +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.js +40 -34
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/pxToRem.cjs +2 -0
- package/dist/utils/pxToRem.cjs.map +1 -0
- package/dist/utils/pxToRem.js +11 -0
- package/dist/utils/pxToRem.js.map +1 -0
- package/dist/utils/router.cjs +2 -0
- package/dist/utils/router.cjs.map +1 -0
- package/dist/utils/router.js +10 -0
- package/dist/utils/router.js.map +1 -0
- package/dist/utils/string.cjs +1 -1
- package/dist/utils/string.cjs.map +1 -1
- package/dist/utils/string.js +10 -9
- package/dist/utils/string.js.map +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/web-react/docs/DocsBox.cjs +2 -0
- package/dist/web-react/docs/DocsBox.cjs.map +1 -0
- package/dist/web-react/docs/DocsBox.js +18 -0
- package/dist/web-react/docs/DocsBox.js.map +1 -0
- package/dist/web-react/docs/DocsSection.cjs +2 -0
- package/dist/web-react/docs/DocsSection.cjs.map +1 -0
- package/dist/web-react/docs/DocsSection.js +40 -0
- package/dist/web-react/docs/DocsSection.js.map +1 -0
- package/dist/web-react/docs/DocsStack.cjs +2 -0
- package/dist/web-react/docs/DocsStack.cjs.map +1 -0
- package/dist/web-react/docs/DocsStack.js +14 -0
- package/dist/web-react/docs/DocsStack.js.map +1 -0
- package/dist/web-react/docs/constants.cjs +2 -0
- package/dist/web-react/docs/constants.cjs.map +1 -0
- package/dist/web-react/docs/constants.js +16 -0
- package/dist/web-react/docs/constants.js.map +1 -0
- package/package.json +43 -28
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -7
- package/dist/components/ButtonLink/ButtonLink.d.ts +0 -3
- package/dist/components/ButtonLink/useButtonLinkStyleProps.d.ts +0 -20
- package/dist/components/Card/Card.d.ts +0 -7
- package/dist/components/Card/CardLink.d.ts +0 -3
- package/dist/components/Card/CardTitle.d.ts +0 -7
- package/dist/components/Collapse/Collapse.d.ts +0 -7
- package/dist/components/Dropdown/DropdownPopover.d.ts +0 -9
- package/dist/components/Dropdown/DropdownTrigger.d.ts +0 -7
- package/dist/components/Field/HelperText.d.ts +0 -7
- package/dist/components/Field/Label.d.ts +0 -7
- package/dist/components/Field/ValidationText.d.ts +0 -7
- package/dist/components/Field/index.d.ts +0 -5
- package/dist/components/Field/types.d.ts +0 -15
- package/dist/components/Field/useAriaIds.cjs +0 -2
- package/dist/components/Field/useAriaIds.cjs.map +0 -1
- package/dist/components/Field/useAriaIds.d.ts +0 -8
- package/dist/components/Field/useAriaIds.js +0 -15
- package/dist/components/Field/useAriaIds.js.map +0 -1
- package/dist/components/Heading/Heading.d.ts +0 -7
- package/dist/components/Heading/useHeadingStyleProps.d.ts +0 -7
- package/dist/components/Item/Item.d.ts +0 -7
- package/dist/components/Link/useLinkStyleProps.d.ts +0 -5
- package/dist/components/Matrix/Matrix.d.ts +0 -7
- package/dist/components/Matrix/useMatrixStyleProps.d.ts +0 -9
- package/dist/components/Pill/Pill.d.ts +0 -7
- package/dist/components/Pill/usePillStyleProps.d.ts +0 -7
- package/dist/components/PricingPlan/PricingPlan.d.ts +0 -7
- package/dist/components/SegmentedControl/useSegmentedControlStyleProps.d.ts +0 -12
- package/dist/components/Skeleton/SkeletonHeading.d.ts +0 -7
- package/dist/components/Skeleton/SkeletonShape.d.ts +0 -7
- package/dist/components/Skeleton/SkeletonText.d.ts +0 -7
- package/dist/components/Skeleton/useSkeletonShapeStyleProps.d.ts +0 -12
- package/dist/components/Skeleton/useSkeletonStyleProps.d.ts +0 -12
- package/dist/components/Tag/constants.d.ts +0 -3
- package/dist/components/Tag/useTagStyleProps.d.ts +0 -7
- package/dist/components/Text/Text.d.ts +0 -7
- package/dist/components/Text/useTextStyleProps.d.ts +0 -7
- package/dist/components/TextFieldBase/useTextFieldBaseInputStyleProps.d.ts +0 -8
- package/dist/components/TextFieldBase/useTextFieldBaseStyleProps.d.ts +0 -15
- package/dist/components/Timeline/Timeline.d.ts +0 -7
- package/dist/components/Timeline/TimelineStep.d.ts +0 -7
- package/dist/components/Timeline/useTimelineStyleProps.d.ts +0 -20
- package/dist/components/Toast/index.d.ts +0 -7
- package/dist/components/Tooltip/TooltipTrigger.d.ts +0 -7
- package/dist/components/Truncate/Truncate.d.ts +0 -7
- package/dist/components/Truncate/useTruncateStyleProps.d.ts +0 -14
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_Attachment.cjs +0 -2
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_Attachment.cjs.map +0 -1
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_Attachment.d.ts +0 -8
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_Attachment.js +0 -42
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_Attachment.js.map +0 -1
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentActionButton.cjs +0 -2
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentActionButton.cjs.map +0 -1
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentActionButton.d.ts +0 -8
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentActionButton.js +0 -30
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentActionButton.js.map +0 -1
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentDismissButton.cjs +0 -2
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentDismissButton.cjs.map +0 -1
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentDismissButton.d.ts +0 -8
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentDismissButton.js +0 -29
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentDismissButton.js.map +0 -1
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentImagePreview.cjs +0 -2
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentImagePreview.cjs.map +0 -1
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentImagePreview.d.ts +0 -8
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentImagePreview.js +0 -29
- package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentImagePreview.js.map +0 -1
- package/dist/components/UNSTABLE_Attachment/constants.cjs +0 -2
- package/dist/components/UNSTABLE_Attachment/constants.cjs.map +0 -1
- package/dist/components/UNSTABLE_Attachment/constants.d.ts +0 -9
- package/dist/components/UNSTABLE_Attachment/constants.js +0 -13
- package/dist/components/UNSTABLE_Attachment/constants.js.map +0 -1
- package/dist/components/UNSTABLE_Attachment/index.cjs +0 -2
- package/dist/components/UNSTABLE_Attachment/index.d.ts +0 -8
- package/dist/components/UNSTABLE_Attachment/index.js +0 -20
- package/dist/components/UNSTABLE_Attachment/index.js.map +0 -1
- package/dist/components/UNSTABLE_Attachment/types.d.ts +0 -42
- package/dist/components/UNSTABLE_Attachment/useAttachmentImageStyles.cjs +0 -2
- package/dist/components/UNSTABLE_Attachment/useAttachmentImageStyles.cjs.map +0 -1
- package/dist/components/UNSTABLE_Attachment/useAttachmentImageStyles.d.ts +0 -18
- package/dist/components/UNSTABLE_Attachment/useAttachmentImageStyles.js +0 -22
- package/dist/components/UNSTABLE_Attachment/useAttachmentImageStyles.js.map +0 -1
- package/dist/components/UNSTABLE_Attachment/useAttachmentStyleProps.cjs +0 -2
- package/dist/components/UNSTABLE_Attachment/useAttachmentStyleProps.cjs.map +0 -1
- package/dist/components/UNSTABLE_Attachment/useAttachmentStyleProps.d.ts +0 -21
- package/dist/components/UNSTABLE_Attachment/useAttachmentStyleProps.js +0 -24
- package/dist/components/UNSTABLE_Attachment/useAttachmentStyleProps.js.map +0 -1
- package/dist/components/UNSTABLE_Attachment.d.ts +0 -2
- package/dist/components/UNSTABLE_FileUpload/types.d.ts +0 -30
- package/dist/components/UNSTABLE_FileUpload/useFileUploadStyleProps.d.ts +0 -29
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +0 -7
- package/dist/components/VisuallyHidden/useVisuallyHiddenProps.d.ts +0 -7
- package/dist/components/index.d.ts +0 -65
- package/dist/constants/index.d.ts +0 -9
- package/dist/context/index.d.ts +0 -3
- package/dist/hooks/index.d.ts +0 -22
- package/dist/hooks/useAriaDescribedBy.cjs +0 -2
- package/dist/hooks/useAriaDescribedBy.cjs.map +0 -1
- package/dist/hooks/useAriaDescribedBy.d.ts +0 -5
- package/dist/hooks/useAriaDescribedBy.js +0 -7
- package/dist/hooks/useAriaDescribedBy.js.map +0 -1
- package/dist/hooks/useI18n.d.ts +0 -6
- package/dist/translations/defaults.d.ts +0 -33
- package/dist/translations/index.d.ts +0 -3
- package/dist/types/actionGroup.d.ts +0 -4
- package/dist/types/breadcrumbs.d.ts +0 -25
- package/dist/types/button.d.ts +0 -19
- package/dist/types/card.d.ts +0 -67
- package/dist/types/checkbox.d.ts +0 -12
- package/dist/types/container.d.ts +0 -11
- package/dist/types/controlButton.d.ts +0 -15
- package/dist/types/divider.d.ts +0 -3
- package/dist/types/dropdown.d.ts +0 -48
- package/dist/types/fieldGroup.d.ts +0 -13
- package/dist/types/header.d.ts +0 -58
- package/dist/types/heading.d.ts +0 -10
- package/dist/types/index.d.ts +0 -61
- package/dist/types/item.d.ts +0 -22
- package/dist/types/label.d.ts +0 -12
- package/dist/types/link.d.ts +0 -24
- package/dist/types/matrix.d.ts +0 -17
- package/dist/types/pagination.d.ts +0 -44
- package/dist/types/pill.d.ts +0 -13
- package/dist/types/pricingPlan.d.ts +0 -32
- package/dist/types/segmentedControl.d.ts +0 -25
- package/dist/types/shared/element.d.ts +0 -51
- package/dist/types/shared/index.d.ts +0 -35
- package/dist/types/shared/inputs.d.ts +0 -34
- package/dist/types/shared/rest.d.ts +0 -5
- package/dist/types/skeleton.d.ts +0 -21
- package/dist/types/skipLink.d.ts +0 -11
- package/dist/types/splitButton.d.ts +0 -26
- package/dist/types/tabs.d.ts +0 -40
- package/dist/types/tag.d.ts +0 -15
- package/dist/types/text.d.ts +0 -9
- package/dist/types/textArea.d.ts +0 -12
- package/dist/types/textFieldBase.d.ts +0 -26
- package/dist/types/timeline.d.ts +0 -29
- package/dist/types/toggle.d.ts +0 -17
- package/dist/types/tooltip.d.ts +0 -52
- package/dist/types/truncate.d.ts +0 -13
- package/dist/types/unstableHeader.d.ts +0 -16
- package/dist/types/visuallyHidden.d.ts +0 -9
- package/dist/utils/debounce.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -13
- package/dist/utils/string.d.ts +0 -4
- /package/dist/components/{UNSTABLE_Attachment → Accordion/preview}/index.cjs.map +0 -0
- /package/dist/{common → src/common}/constants/environments.d.ts +0 -0
- /package/dist/{common → src/common}/constants/index.d.ts +0 -0
- /package/dist/{common → src/common}/index.d.ts +0 -0
- /package/dist/{common → src/common}/utilities/index.d.ts +0 -0
- /package/dist/{common → src/common}/utilities/info.d.ts +0 -0
- /package/dist/{common → src/common}/utilities/warning.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/Accordion.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/AccordionContent.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/AccordionContext.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/AccordionHeader.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/AccordionItem.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/AccordionItemContext.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/UncontrolledAccordion.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/index.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/useAccordion.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/useAccordionAriaProps.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/useAccordionStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/useOpenItem.d.ts +0 -0
- /package/dist/{components → src/components}/ActionGroup/ActionGroup.d.ts +0 -0
- /package/dist/{components → src/components}/ActionGroup/index.d.ts +0 -0
- /package/dist/{components → src/components}/Alert/Alert.d.ts +0 -0
- /package/dist/{components → src/components}/Alert/index.d.ts +0 -0
- /package/dist/{components → src/components}/Alert/useAlertIcon.d.ts +0 -0
- /package/dist/{components → src/components}/Alert/useAlertStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Avatar/Avatar.d.ts +0 -0
- /package/dist/{components → src/components}/Avatar/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Avatar/index.d.ts +0 -0
- /package/dist/{components → src/components}/Avatar/useAvatarStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Box/Box.d.ts +0 -0
- /package/dist/{components → src/components}/Box/index.d.ts +0 -0
- /package/dist/{components → src/components}/Box/useBoxStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Breadcrumbs/BreadcrumbsItem.d.ts +0 -0
- /package/dist/{components → src/components}/Breadcrumbs/index.d.ts +0 -0
- /package/dist/{components → src/components}/Breadcrumbs/useBreadcrumbsStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Button/Button.d.ts +0 -0
- /package/dist/{components → src/components}/Button/index.d.ts +0 -0
- /package/dist/{components → src/components}/Button/useButtonProps.d.ts +0 -0
- /package/dist/{components → src/components}/Button/useButtonStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/ButtonLink/index.d.ts +0 -0
- /package/dist/{components → src/components}/ButtonLink/useButtonLinkProps.d.ts +0 -0
- /package/dist/{components → src/components}/Card/CardArtwork.d.ts +0 -0
- /package/dist/{components → src/components}/Card/CardBody.d.ts +0 -0
- /package/dist/{components → src/components}/Card/CardEyebrow.d.ts +0 -0
- /package/dist/{components → src/components}/Card/CardFooter.d.ts +0 -0
- /package/dist/{components → src/components}/Card/CardLogo.d.ts +0 -0
- /package/dist/{components → src/components}/Card/CardMedia.d.ts +0 -0
- /package/dist/{components → src/components}/Card/index.d.ts +0 -0
- /package/dist/{components → src/components}/Card/useCardMediaStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Card/useCardStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Checkbox/Checkbox.d.ts +0 -0
- /package/dist/{components → src/components}/Checkbox/index.d.ts +0 -0
- /package/dist/{components → src/components}/Checkbox/useCheckboxStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Collapse/UncontrolledCollapse.d.ts +0 -0
- /package/dist/{components → src/components}/Collapse/index.d.ts +0 -0
- /package/dist/{components → src/components}/Collapse/useCollapse.d.ts +0 -0
- /package/dist/{components → src/components}/Collapse/useCollapseAriaProps.d.ts +0 -0
- /package/dist/{components → src/components}/Collapse/useCollapseStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Collapse/useResizeHeight.d.ts +0 -0
- /package/dist/{components → src/components}/Container/Container.d.ts +0 -0
- /package/dist/{components → src/components}/Container/index.d.ts +0 -0
- /package/dist/{components → src/components}/Container/useContainerStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/ControlButton/ControlButton.d.ts +0 -0
- /package/dist/{components → src/components}/ControlButton/index.d.ts +0 -0
- /package/dist/{components → src/components}/ControlButton/useControlButtonProps.d.ts +0 -0
- /package/dist/{components → src/components}/ControlButton/useControlButtonStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Dialog/Dialog.d.ts +0 -0
- /package/dist/{components → src/components}/Dialog/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Dialog/index.d.ts +0 -0
- /package/dist/{components → src/components}/Dialog/useDialog.d.ts +0 -0
- /package/dist/{components → src/components}/Divider/Divider.d.ts +0 -0
- /package/dist/{components → src/components}/Divider/index.d.ts +0 -0
- /package/dist/{components → src/components}/Divider/useDividerStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Drawer/Drawer.d.ts +0 -0
- /package/dist/{components → src/components}/Drawer/DrawerCloseButton.d.ts +0 -0
- /package/dist/{components → src/components}/Drawer/DrawerContext.d.ts +0 -0
- /package/dist/{components → src/components}/Drawer/DrawerPanel.d.ts +0 -0
- /package/dist/{components → src/components}/Drawer/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Drawer/index.d.ts +0 -0
- /package/dist/{components → src/components}/Drawer/useDrawerStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Dropdown/Dropdown.d.ts +0 -0
- /package/dist/{components → src/components}/Dropdown/DropdownContext.d.ts +0 -0
- /package/dist/{components → src/components}/Dropdown/UncontrolledDropdown.d.ts +0 -0
- /package/dist/{components → src/components}/Dropdown/index.d.ts +0 -0
- /package/dist/{components → src/components}/Dropdown/useDropdown.d.ts +0 -0
- /package/dist/{components → src/components}/Dropdown/useDropdownAriaProps.d.ts +0 -0
- /package/dist/{components → src/components}/Dropdown/useDropdownStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/EmptyState/EmptyState.d.ts +0 -0
- /package/dist/{components → src/components}/EmptyState/EmptyStateSection.d.ts +0 -0
- /package/dist/{components → src/components}/EmptyState/index.d.ts +0 -0
- /package/dist/{components → src/components}/EmptyState/useEmptyStateStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Field/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Field/useValidationIcon.d.ts +0 -0
- /package/dist/{components → src/components}/Field/useValidationTextRole.d.ts +0 -0
- /package/dist/{components → src/components}/FieldGroup/FieldGroup.d.ts +0 -0
- /package/dist/{components → src/components}/FieldGroup/index.d.ts +0 -0
- /package/dist/{components → src/components}/FieldGroup/useFieldGroupStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/AttachmentActionButton.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/AttachmentDismissButton.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/AttachmentImagePreview.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/FileUploader.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/FileUploaderAttachment.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/FileUploaderContext.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/FileUploaderInput.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/FileUploaderList.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/UncontrolledFileUploader.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/constants.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/index.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/useFileQueue.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/useFileUploaderAttachment.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/useFileUploaderInput.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/useFileUploaderStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/FileUploader/utils.d.ts +0 -0
- /package/dist/{components → src/components}/Flex/Flex.d.ts +0 -0
- /package/dist/{components → src/components}/Flex/index.d.ts +0 -0
- /package/dist/{components → src/components}/Flex/useFlexStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Footer/Footer.d.ts +0 -0
- /package/dist/{components → src/components}/Footer/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Footer/index.d.ts +0 -0
- /package/dist/{components → src/components}/Footer/useFooterStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Grid/Grid.d.ts +0 -0
- /package/dist/{components → src/components}/Grid/GridItem.d.ts +0 -0
- /package/dist/{components → src/components}/Grid/index.d.ts +0 -0
- /package/dist/{components → src/components}/Grid/useGridItemStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Grid/useGridStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Header/Header.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderButton.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderDesktopActions.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderDialog.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderDialogActions.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderDialogButton.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderDialogCloseButton.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderDialogContext.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderDialogLink.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderDialogNav.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderDialogNavItem.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderDialogText.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderLink.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderMobileActions.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderNav.d.ts +0 -0
- /package/dist/{components → src/components}/Header/HeaderNavItem.d.ts +0 -0
- /package/dist/{components → src/components}/Header/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Header/index.d.ts +0 -0
- /package/dist/{components → src/components}/Header/useHeaderStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Heading/index.d.ts +0 -0
- /package/dist/{components → src/components}/Hidden/Hidden.d.ts +0 -0
- /package/dist/{components → src/components}/Hidden/index.d.ts +0 -0
- /package/dist/{components → src/components}/Icon/Icon.d.ts +0 -0
- /package/dist/{components → src/components}/Icon/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Icon/index.d.ts +0 -0
- /package/dist/{components → src/components}/Icon/useIconBoxSize.d.ts +0 -0
- /package/dist/{components → src/components}/Icon/useIconStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Icon/utils.d.ts +0 -0
- /package/dist/{components → src/components}/IconBox/IconBox.d.ts +0 -0
- /package/dist/{components → src/components}/IconBox/constants.d.ts +0 -0
- /package/dist/{components → src/components}/IconBox/index.d.ts +0 -0
- /package/dist/{components → src/components}/IconBox/useIconBoxColors.d.ts +0 -0
- /package/dist/{components → src/components}/IconBox/useIconBoxStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Item/index.d.ts +0 -0
- /package/dist/{components → src/components}/Item/useItemStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Link/Link.d.ts +0 -0
- /package/dist/{components → src/components}/Link/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Link/index.d.ts +0 -0
- /package/dist/{components → src/components}/Matrix/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Matrix/index.d.ts +0 -0
- /package/dist/{components → src/components}/Modal/Modal.d.ts +0 -0
- /package/dist/{components → src/components}/Modal/ModalBody.d.ts +0 -0
- /package/dist/{components → src/components}/Modal/ModalCloseButton.d.ts +0 -0
- /package/dist/{components → src/components}/Modal/ModalContext.d.ts +0 -0
- /package/dist/{components → src/components}/Modal/ModalDialog.d.ts +0 -0
- /package/dist/{components → src/components}/Modal/ModalFooter.d.ts +0 -0
- /package/dist/{components → src/components}/Modal/ModalHeader.d.ts +0 -0
- /package/dist/{components → src/components}/Modal/index.d.ts +0 -0
- /package/dist/{components → src/components}/Modal/useModalDialogStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Modal/useModalStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Navigation/Navigation.d.ts +0 -0
- /package/dist/{components → src/components}/Navigation/NavigationAction.d.ts +0 -0
- /package/dist/{components → src/components}/Navigation/NavigationAvatar.d.ts +0 -0
- /package/dist/{components → src/components}/Navigation/NavigationItem.d.ts +0 -0
- /package/dist/{components → src/components}/Navigation/index.d.ts +0 -0
- /package/dist/{components → src/components}/Navigation/useNavigationActionProps.d.ts +0 -0
- /package/dist/{components → src/components}/Navigation/useNavigationStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/NoSsr/NoSsr.d.ts +0 -0
- /package/dist/{components → src/components}/NoSsr/index.d.ts +0 -0
- /package/dist/{components → src/components}/Pagination/Pagination.d.ts +0 -0
- /package/dist/{components → src/components}/Pagination/PaginationButtonLink.d.ts +0 -0
- /package/dist/{components → src/components}/Pagination/PaginationItem.d.ts +0 -0
- /package/dist/{components → src/components}/Pagination/PaginationLink.d.ts +0 -0
- /package/dist/{components → src/components}/Pagination/PaginationLinkNext.d.ts +0 -0
- /package/dist/{components → src/components}/Pagination/PaginationLinkPrevious.d.ts +0 -0
- /package/dist/{components → src/components}/Pagination/UncontrolledPagination.d.ts +0 -0
- /package/dist/{components → src/components}/Pagination/index.d.ts +0 -0
- /package/dist/{components → src/components}/Pagination/usePagination.d.ts +0 -0
- /package/dist/{components → src/components}/Pagination/usePaginationStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/PartnerLogo/PartnerLogo.d.ts +0 -0
- /package/dist/{components → src/components}/PartnerLogo/index.d.ts +0 -0
- /package/dist/{components → src/components}/PartnerLogo/usePartnerLogoStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Pill/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Pill/index.d.ts +0 -0
- /package/dist/{components → src/components}/PricingPlan/PricingPlanBody.d.ts +0 -0
- /package/dist/{components → src/components}/PricingPlan/PricingPlanFeatureTitle.d.ts +0 -0
- /package/dist/{components → src/components}/PricingPlan/PricingPlanFooter.d.ts +0 -0
- /package/dist/{components → src/components}/PricingPlan/PricingPlanHeader.d.ts +0 -0
- /package/dist/{components → src/components}/PricingPlan/constants.d.ts +0 -0
- /package/dist/{components → src/components}/PricingPlan/index.d.ts +0 -0
- /package/dist/{components → src/components}/PricingPlan/usePricingPlanStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/ProductLogo/ProductLogo.d.ts +0 -0
- /package/dist/{components → src/components}/ProductLogo/index.d.ts +0 -0
- /package/dist/{components → src/components}/Radio/Radio.d.ts +0 -0
- /package/dist/{components → src/components}/Radio/index.d.ts +0 -0
- /package/dist/{components → src/components}/Radio/useRadioStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/ScrollView/ScrollView.d.ts +0 -0
- /package/dist/{components → src/components}/ScrollView/ScrollViewArrows.d.ts +0 -0
- /package/dist/{components → src/components}/ScrollView/constants.d.ts +0 -0
- /package/dist/{components → src/components}/ScrollView/index.d.ts +0 -0
- /package/dist/{components → src/components}/ScrollView/useScrollCallback.d.ts +0 -0
- /package/dist/{components → src/components}/ScrollView/useScrollPosition.d.ts +0 -0
- /package/dist/{components → src/components}/ScrollView/useScrollViewArrows.d.ts +0 -0
- /package/dist/{components → src/components}/ScrollView/useScrollViewStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Section/Section.d.ts +0 -0
- /package/dist/{components → src/components}/Section/index.d.ts +0 -0
- /package/dist/{components → src/components}/Section/useSectionSizeProps.d.ts +0 -0
- /package/dist/{components → src/components}/Section/useSectionStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/SegmentedControl/SegmentedControl.d.ts +0 -0
- /package/dist/{components → src/components}/SegmentedControl/SegmentedControlContext.d.ts +0 -0
- /package/dist/{components → src/components}/SegmentedControl/SegmentedControlItem.d.ts +0 -0
- /package/dist/{components → src/components}/SegmentedControl/UncontrolledSegmentedControl.d.ts +0 -0
- /package/dist/{components → src/components}/SegmentedControl/index.d.ts +0 -0
- /package/dist/{components → src/components}/SegmentedControl/useSegmentedControl.d.ts +0 -0
- /package/dist/{components → src/components}/Select/Select.d.ts +0 -0
- /package/dist/{components → src/components}/Select/index.d.ts +0 -0
- /package/dist/{components → src/components}/Select/useSelectStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Skeleton/SkeletonItem.d.ts +0 -0
- /package/dist/{components → src/components}/Skeleton/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Skeleton/index.d.ts +0 -0
- /package/dist/{components → src/components}/SkipLink/SkipLink.d.ts +0 -0
- /package/dist/{components → src/components}/SkipLink/index.d.ts +0 -0
- /package/dist/{components → src/components}/SkipLink/useSkipLinkStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Slider/Slider.d.ts +0 -0
- /package/dist/{components → src/components}/Slider/UncontrolledSlider.d.ts +0 -0
- /package/dist/{components → src/components}/Slider/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Slider/index.d.ts +0 -0
- /package/dist/{components → src/components}/Slider/useSlider.d.ts +0 -0
- /package/dist/{components → src/components}/Slider/useSliderStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Spinner/Spinner.d.ts +0 -0
- /package/dist/{components → src/components}/Spinner/index.d.ts +0 -0
- /package/dist/{components → src/components}/Spinner/useSpinnerStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/SplitButton/SplitButton.d.ts +0 -0
- /package/dist/{components → src/components}/SplitButton/UncontrolledSplitButton.d.ts +0 -0
- /package/dist/{components → src/components}/SplitButton/index.d.ts +0 -0
- /package/dist/{components → src/components}/SplitButton/useSplitButtonStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Stack/Stack.d.ts +0 -0
- /package/dist/{components → src/components}/Stack/StackItem.d.ts +0 -0
- /package/dist/{components → src/components}/Stack/index.d.ts +0 -0
- /package/dist/{components → src/components}/Stack/useStackStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/TabContent.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/TabContext.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/TabItem.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/TabLink.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/TabList.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/TabPane.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/Tabs.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/UncontrolledTabs.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/index.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/useTabs.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/useTabsStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Tag/Tag.d.ts +0 -0
- /package/dist/{components → src/components}/Tag/index.d.ts +0 -0
- /package/dist/{components → src/components}/Text/index.d.ts +0 -0
- /package/dist/{components → src/components}/TextArea/TextArea.d.ts +0 -0
- /package/dist/{components → src/components}/TextArea/index.d.ts +0 -0
- /package/dist/{components → src/components}/TextArea/useAdjustHeight.d.ts +0 -0
- /package/dist/{components → src/components}/TextField/TextField.d.ts +0 -0
- /package/dist/{components → src/components}/TextField/index.d.ts +0 -0
- /package/dist/{components → src/components}/TextFieldBase/TextFieldBase.d.ts +0 -0
- /package/dist/{components → src/components}/TextFieldBase/TextFieldBaseInput.d.ts +0 -0
- /package/dist/{components → src/components}/TextFieldBase/TextFieldBasePasswordToggle.d.ts +0 -0
- /package/dist/{components → src/components}/TextFieldBase/index.d.ts +0 -0
- /package/dist/{components → src/components}/TextFieldBase/usePasswordToggle.d.ts +0 -0
- /package/dist/{components → src/components}/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/TextFieldBase/withPasswordToggle.d.ts +0 -0
- /package/dist/{components → src/components}/Timeline/TimelineContent.d.ts +0 -0
- /package/dist/{components → src/components}/Timeline/TimelineHeading.d.ts +0 -0
- /package/dist/{components → src/components}/Timeline/TimelineMarker.d.ts +0 -0
- /package/dist/{components → src/components}/Timeline/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Timeline/index.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/Toast.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/ToastBar.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/ToastBarLink.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/ToastBarMessage.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/ToastCloseButton.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/ToastContext.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/UncontrolledToast.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/constants.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/useToast.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/useToastBarStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/useToastIcon.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/useToastStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Toggle/Toggle.d.ts +0 -0
- /package/dist/{components → src/components}/Toggle/index.d.ts +0 -0
- /package/dist/{components → src/components}/Toggle/useToggleStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Tooltip/Tooltip.d.ts +0 -0
- /package/dist/{components → src/components}/Tooltip/TooltipCloseButton.d.ts +0 -0
- /package/dist/{components → src/components}/Tooltip/TooltipContext.d.ts +0 -0
- /package/dist/{components → src/components}/Tooltip/TooltipPopover.d.ts +0 -0
- /package/dist/{components → src/components}/Tooltip/UncontrolledTooltip.d.ts +0 -0
- /package/dist/{components → src/components}/Tooltip/index.d.ts +0 -0
- /package/dist/{components → src/components}/Tooltip/useFloating.d.ts +0 -0
- /package/dist/{components → src/components}/Tooltip/useTooltip.d.ts +0 -0
- /package/dist/{components → src/components}/Tooltip/useTooltipStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/Truncate/index.d.ts +0 -0
- /package/dist/{components → src/components}/Truncate/useTruncatedText.d.ts +0 -0
- /package/dist/{components → src/components}/UNSTABLE_FileUpload/UNSTABLE_FileUpload.d.ts +0 -0
- /package/dist/{components → src/components}/UNSTABLE_FileUpload/index.d.ts +0 -0
- /package/dist/{components → src/components}/UNSTABLE_FileUpload/useFileUploadState.d.ts +0 -0
- /package/dist/{components → src/components}/UNSTABLE_Header/UNSTABLE_Header.d.ts +0 -0
- /package/dist/{components → src/components}/UNSTABLE_Header/UNSTABLE_HeaderLogo.d.ts +0 -0
- /package/dist/{components → src/components}/UNSTABLE_Header/index.d.ts +0 -0
- /package/dist/{components → src/components}/UNSTABLE_Header/useUnstableHeaderStyleProps.d.ts +0 -0
- /package/dist/{components → src/components}/VisuallyHidden/index.d.ts +0 -0
- /package/dist/{constants → src/constants}/classes.d.ts +0 -0
- /package/dist/{constants → src/constants}/colors.d.ts +0 -0
- /package/dist/{constants → src/constants}/dictionaries.d.ts +0 -0
- /package/dist/{constants → src/constants}/direction.d.ts +0 -0
- /package/dist/{constants → src/constants}/inputs.d.ts +0 -0
- /package/dist/{constants → src/constants}/media.d.ts +0 -0
- /package/dist/{constants → src/constants}/position.d.ts +0 -0
- /package/dist/{constants → src/constants}/style.d.ts +0 -0
- /package/dist/{constants → src/constants}/text.d.ts +0 -0
- /package/dist/{context → src/context}/ClassNamePrefixContext.d.ts +0 -0
- /package/dist/{context → src/context}/IconsContext.d.ts +0 -0
- /package/dist/{context → src/context}/PropsContext.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/__mocks__/useIcon.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/styleProps.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useAlignmentClass.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useCancelEvent.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useClassNamePrefix.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useClick.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useClickOutside.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useDeprecationMessage.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useDimensionStyle.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useDragAndDrop.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useIcon.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useIconName.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useInputPositionClass.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useIsMounted.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useIsomorphicLayoutEffect.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useLastActiveFocus.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useResizeObserver.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useScrollControl.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useSpacingStyle.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useStyleUtilities.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useSymmetry.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useToggle.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useWrapClass.d.ts +0 -0
- /package/dist/{translations → src/translations}/replaceTranslationParams.d.ts +0 -0
- /package/dist/{translations → src/translations}/resolveTranslationKey.d.ts +0 -0
- /package/dist/{types → src/types}/accordion.d.ts +0 -0
- /package/dist/{types → src/types}/alert.d.ts +0 -0
- /package/dist/{types → src/types}/avatar.d.ts +0 -0
- /package/dist/{types → src/types}/box.d.ts +0 -0
- /package/dist/{types → src/types}/collapse.d.ts +0 -0
- /package/dist/{types → src/types}/drawer.d.ts +0 -0
- /package/dist/{types → src/types}/emptyState.d.ts +0 -0
- /package/dist/{types → src/types}/fileUploader.d.ts +0 -0
- /package/dist/{types → src/types}/flex.d.ts +0 -0
- /package/dist/{types → src/types}/footer.d.ts +0 -0
- /package/dist/{types → src/types}/grid.d.ts +0 -0
- /package/dist/{types → src/types}/hidden.d.ts +0 -0
- /package/dist/{types → src/types}/icon.d.ts +0 -0
- /package/dist/{types → src/types}/iconBox.d.ts +0 -0
- /package/dist/{types → src/types}/modal.d.ts +0 -0
- /package/dist/{types → src/types}/navigation.d.ts +0 -0
- /package/dist/{types → src/types}/partnerLogo.d.ts +0 -0
- /package/dist/{types → src/types}/productLogo.d.ts +0 -0
- /package/dist/{types → src/types}/radio.d.ts +0 -0
- /package/dist/{types → src/types}/scrollView.d.ts +0 -0
- /package/dist/{types → src/types}/section.d.ts +0 -0
- /package/dist/{types → src/types}/select.d.ts +0 -0
- /package/dist/{types → src/types}/shared/adornments.d.ts +0 -0
- /package/dist/{types → src/types}/shared/buttons.d.ts +0 -0
- /package/dist/{types → src/types}/shared/colors.d.ts +0 -0
- /package/dist/{types → src/types}/shared/columns.d.ts +0 -0
- /package/dist/{types → src/types}/shared/dialogs.d.ts +0 -0
- /package/dist/{types → src/types}/shared/dictionaries.d.ts +0 -0
- /package/dist/{types → src/types}/shared/directions.d.ts +0 -0
- /package/dist/{types → src/types}/shared/dragAndDrop.d.ts +0 -0
- /package/dist/{types → src/types}/shared/events.d.ts +0 -0
- /package/dist/{types → src/types}/shared/item.d.ts +0 -0
- /package/dist/{types → src/types}/shared/polymorphic.d.ts +0 -0
- /package/dist/{types → src/types}/shared/positions.d.ts +0 -0
- /package/dist/{types → src/types}/shared/radii.d.ts +0 -0
- /package/dist/{types → src/types}/shared/refs.d.ts +0 -0
- /package/dist/{types → src/types}/shared/responsive.d.ts +0 -0
- /package/dist/{types → src/types}/shared/sizes.d.ts +0 -0
- /package/dist/{types → src/types}/shared/style.d.ts +0 -0
- /package/dist/{types → src/types}/shared/text.d.ts +0 -0
- /package/dist/{types → src/types}/shared/tokens.d.ts +0 -0
- /package/dist/{types → src/types}/slider.d.ts +0 -0
- /package/dist/{types → src/types}/spinner.d.ts +0 -0
- /package/dist/{types → src/types}/stack.d.ts +0 -0
- /package/dist/{types → src/types}/textField.d.ts +0 -0
- /package/dist/{types → src/types}/toast.d.ts +0 -0
- /package/dist/{utils → src/utils}/assert.d.ts +0 -0
- /package/dist/{utils → src/utils}/classname.d.ts +0 -0
- /package/dist/{utils → src/utils}/colorObjectGenerators.d.ts +0 -0
- /package/dist/{utils → src/utils}/compose.d.ts +0 -0
- /package/dist/{utils → src/utils}/delayedCallback.d.ts +0 -0
- /package/dist/{utils → src/utils}/htmlReactParser.d.ts +0 -0
- /package/dist/{utils → src/utils}/mergeStyleProps.d.ts +0 -0
- /package/dist/{utils → src/utils}/responsive.d.ts +0 -0
- /package/dist/{utils → src/utils}/ssr.d.ts +0 -0
- /package/dist/{utils → src/utils}/stylePropsClassesGenerator.d.ts +0 -0
- /package/dist/{utils → src/utils}/toPascalCase.d.ts +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).webReact={},e.React,e.ReactDOM)}(this,(function(e,t,n){"use strict";function r(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const o=r(t),s=r(n),i=({defaultOpen:e,stayOpen:n})=>{const[r,o]=t.useState(e);return{open:r,toggle:e=>{n?Array.isArray(r)?r?.includes(e)?o(r.filter((t=>t!==e))):o([...r,e]):o([e]):o(r===e?void 0:e)}}},a="aria-expanded",l="aria-controls",c="aria-labelledby",p=({id:e,isOpen:t})=>{const n=`${e}_Header`,r=`${e}_Content`;return{headerProps:{id:n},triggerProps:{[a]:t,[l]:r},contentProps:{id:r,[c]:n}}};function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var d,f={exports:{}};var m,h=(d||(d=1,m=f,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var s in n)e.call(n,s)&&n[s]&&(o=r(o,s));return o}function r(e,t){return t?e?e+" "+t:e+t:e}m.exports?(t.default=t,m.exports=t):window.classNames=t}()),f.exports);const y=u(h),g="production",b=(e,t)=>{if(process.env.NODE_ENV!==g){const e=`Warning: ${t}`;"undefined"!=typeof console&&console.warn(e);try{throw Error(e)}catch(e){}}},v="is-open",x={ACCENT:"accent",EMOTION:"emotion"},T={mobile:0,tablet:"768px",desktop:"1280px"},P="spirit-",S={xsmall:{maxWidth:"480px"},small:{maxWidth:"640px"},medium:{maxWidth:"768px"},large:{maxWidth:"1024px"},xlarge:{maxWidth:"1280px"},padding:{mobile:"16px",tablet:"32px",desktop:"32px"},maxWidth:"1280px"},E={"01":{backgroundBasic:"var(--spirit-color-accent-01-background-basic)",backgroundSubtle:"var(--spirit-color-accent-01-background-subtle)",borderBasic:"var(--spirit-color-accent-01-border-basic)",borderSubtle:"var(--spirit-color-accent-01-border-subtle)",contentBasic:"var(--spirit-color-accent-01-content-basic)",contentSubtle:"var(--spirit-color-accent-01-content-subtle)",stateActive:"var(--spirit-color-accent-01-state-active)",stateDefault:"var(--spirit-color-accent-01-state-default)",stateHover:"var(--spirit-color-accent-01-state-hover)"},"02":{backgroundBasic:"var(--spirit-color-accent-02-background-basic)",backgroundSubtle:"var(--spirit-color-accent-02-background-subtle)",borderBasic:"var(--spirit-color-accent-02-border-basic)",borderSubtle:"var(--spirit-color-accent-02-border-subtle)",contentBasic:"var(--spirit-color-accent-02-content-basic)",contentSubtle:"var(--spirit-color-accent-02-content-subtle)",stateActive:"var(--spirit-color-accent-02-state-active)",stateDefault:"var(--spirit-color-accent-02-state-default)",stateHover:"var(--spirit-color-accent-02-state-hover)"}},C={button:{plain:{border:"var(--spirit-color-component-button-plain-border)",content:"var(--spirit-color-component-button-plain-content)",stateActive:"var(--spirit-color-component-button-plain-state-active)",stateDefault:"var(--spirit-color-component-button-plain-state-default)",stateHover:"var(--spirit-color-component-button-plain-state-hover)"},primary:{border:"var(--spirit-color-component-button-primary-border)",content:"var(--spirit-color-component-button-primary-content)",stateActive:"var(--spirit-color-component-button-primary-state-active)",stateDefault:"var(--spirit-color-component-button-primary-state-default)",stateHover:"var(--spirit-color-component-button-primary-state-hover)"},secondary:{border:"var(--spirit-color-component-button-secondary-border)",content:"var(--spirit-color-component-button-secondary-content)",stateActive:"var(--spirit-color-component-button-secondary-state-active)",stateDefault:"var(--spirit-color-component-button-secondary-state-default)",stateHover:"var(--spirit-color-component-button-secondary-state-hover)"},tertiary:{border:"var(--spirit-color-component-button-tertiary-border)",content:"var(--spirit-color-component-button-tertiary-content)",stateActive:"var(--spirit-color-component-button-tertiary-state-active)",stateDefault:"var(--spirit-color-component-button-tertiary-state-default)",stateHover:"var(--spirit-color-component-button-tertiary-state-hover)"}}},w={danger:{backgroundBasic:"var(--spirit-color-emotion-danger-background-basic)",backgroundSubtle:"var(--spirit-color-emotion-danger-background-subtle)",borderBasic:"var(--spirit-color-emotion-danger-border-basic)",borderSubtle:"var(--spirit-color-emotion-danger-border-subtle)",contentBasic:"var(--spirit-color-emotion-danger-content-basic)",contentSubtle:"var(--spirit-color-emotion-danger-content-subtle)",stateActive:"var(--spirit-color-emotion-danger-state-active)",stateDefault:"var(--spirit-color-emotion-danger-state-default)",stateHover:"var(--spirit-color-emotion-danger-state-hover)"},informative:{backgroundBasic:"var(--spirit-color-emotion-informative-background-basic)",backgroundSubtle:"var(--spirit-color-emotion-informative-background-subtle)",borderBasic:"var(--spirit-color-emotion-informative-border-basic)",borderSubtle:"var(--spirit-color-emotion-informative-border-subtle)",contentBasic:"var(--spirit-color-emotion-informative-content-basic)",contentSubtle:"var(--spirit-color-emotion-informative-content-subtle)",stateActive:"var(--spirit-color-emotion-informative-state-active)",stateDefault:"var(--spirit-color-emotion-informative-state-default)",stateHover:"var(--spirit-color-emotion-informative-state-hover)"},success:{backgroundBasic:"var(--spirit-color-emotion-success-background-basic)",backgroundSubtle:"var(--spirit-color-emotion-success-background-subtle)",borderBasic:"var(--spirit-color-emotion-success-border-basic)",borderSubtle:"var(--spirit-color-emotion-success-border-subtle)",contentBasic:"var(--spirit-color-emotion-success-content-basic)",contentSubtle:"var(--spirit-color-emotion-success-content-subtle)",stateActive:"var(--spirit-color-emotion-success-state-active)",stateDefault:"var(--spirit-color-emotion-success-state-default)",stateHover:"var(--spirit-color-emotion-success-state-hover)"},warning:{backgroundBasic:"var(--spirit-color-emotion-warning-background-basic)",backgroundSubtle:"var(--spirit-color-emotion-warning-background-subtle)",borderBasic:"var(--spirit-color-emotion-warning-border-basic)",borderSubtle:"var(--spirit-color-emotion-warning-border-subtle)",contentBasic:"var(--spirit-color-emotion-warning-content-basic)",contentSubtle:"var(--spirit-color-emotion-warning-content-subtle)",stateActive:"var(--spirit-color-emotion-warning-state-active)",stateDefault:"var(--spirit-color-emotion-warning-state-default)",stateHover:"var(--spirit-color-emotion-warning-state-hover)"}},N={primary:"var(--spirit-color-text-primary)",secondary:"var(--spirit-color-text-secondary)",tertiary:"var(--spirit-color-text-tertiary)"};function A(e){return Object.fromEntries(Object.keys(e).map((e=>[e.toUpperCase(),e])))}const _={LEFT:"left",CENTER:"center",RIGHT:"right"},R={SPACE_BETWEEN:"space-between",STRETCH:"stretch",..._},k={TOP:"top",CENTER:"center",BOTTOM:"bottom"},O={BASELINE:"baseline",STRETCH:"stretch",...k},$={BASIC:"basic"},j={0:"0",100:"100",200:"200",300:"300",400:"400",500:"500",FULL:"full"},D={SOLID:"solid",DOTTED:"dotted",DASHED:"dashed"},L={0:"0",100:"100",200:"200"},I={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},M=A(C.button),F=A(w),B=A(N),H={BASIC:"basic",SUBTLE:"subtle"},U={REGULAR:"regular",SEMIBOLD:"semibold",BOLD:"bold",ITALIC:"italic"},z={TOP:"top",TOP_START:"top-start",TOP_END:"top-end",BOTTOM:"bottom",BOTTOM_START:"bottom-start",BOTTOM_END:"bottom-end",LEFT:"left",LEFT_START:"left-start",LEFT_END:"left-end",RIGHT:"right",RIGHT_START:"right-start",RIGHT_END:"right-end"},V={SMALL:"small",MEDIUM:"medium",LARGE:"large"},W={XSMALL:"xsmall",...V,XLARGE:"xlarge"},{MAXWIDTH:G,PADDING:q,...X}=A(S),Y={FILL:"fill",OUTLINE:"outline"},Q={BOX:"box",PILL:"pill"},K={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Z={...K,HORIZONTAL_REVERSED:"horizontal-reversed"};var J=(e=>(e.X="x",e.Y="y",e))(J||{});const ee=e=>e===K.HORIZONTAL,te={START:"start",END:"end"},ne={CONTAIN:"contain",COVER:"cover"},re={LEFT:"left",RIGHT:"right",TOP:"top",BOTTOM:"bottom"},oe={backgroundGradient:"bg-gradient"},se={borderRadius:"rounded"},ie={margin:"m",marginTop:"mt",marginRight:"mr",marginBottom:"mb",marginLeft:"ml",marginX:"mx",marginY:"my"},ae={padding:"p",paddingBottom:"pb",paddingLeft:"pl",paddingRight:"pr",paddingTop:"pt",paddingX:"px",paddingY:"py"},le={isTextBalanced:"text-wrap-pretty",textAlignment:"text",textHyphens:"text-hyphens",textWordBreak:"text-word-break"},ce={isTextBalanced:"text-wrap-balance"},pe={hideOn:"d",hideFrom:"d"},ue={theme:""},de=t.createContext(void 0),fe=de.Provider,me=de.Consumer,he={...V,AUTO:"auto"},ye="background",ge="both",be="icon",ve={ALWAYS:"always",HOVER:"hover",NEVER:"never"},xe="auto",Te="mobile";var Pe=(e=>(e.TABLET="tablet",e.DESKTOP="desktop",e))(Pe||{});const Se={CLICK:"click",HOVER:"hover",FOCUS:"focus",MANUAL:"manual",OUTSIDE_PRESS:"outside-press",ESCAPE_KEY:"escape-key"},Ee={LINES:"lines",WORDS:"words",CHARACTERS:"characters"},Ce=e=>null==e,we=e=>"string"==typeof e&&""===e.trim(),Ne=e=>Array.isArray(e)&&0===e.length,Ae=e=>"object"==typeof e&&null!==e&&0===Object.keys(e).length,_e=e=>{if("object"==typeof e&&null!==e)for(const t in e)if(Object.hasOwnProperty.call(e,t))return!0;return!1},Re=e=>!!Ce(e)||(!!we(e)||(!!Ne(e)||(!!Ae(e)||(_e(e),!1)))),ke=e=>t=>null!=e&&""!==e?`${e}-${t}`:t,Oe=e=>t=>`${t}--${e}`,$e=e=>t=>`${t}--${e}`,je=(e,t,n)=>{const r={};for(const[o,s]of Object.entries(e))for(const[e]of Object.entries(s))if(e.startsWith(t)){const s=`${n}-${o}-${e.replace(t,"").toLowerCase()}`;r[s.replace(/-/g,"_").toUpperCase()]=s}return r},De=(...e)=>e.reduceRight(((e,t)=>(...n)=>t(e(...n))),(e=>e)),Le=(e,t)=>{let n,r=!1;return o=>{r||(r=!0,n&&clearTimeout(n),n=setTimeout((()=>{e(o),r=!1}),t))}};var Ie,Me={},Fe={},Be={},He={},Ue={};function ze(){return Ie||(Ie=1,e=Ue,Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0,(n=t=e.ElementType||(e.ElementType={})).Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype",e.isTag=function(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style},e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype),Ue;var e,t,n}var Ve,We,Ge={};function qe(){if(Ve)return Ge;Ve=1;var e=Ge&&Ge.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),t=Ge&&Ge.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};Object.defineProperty(Ge,"__esModule",{value:!0}),Ge.cloneNode=Ge.hasChildren=Ge.isDocument=Ge.isDirective=Ge.isComment=Ge.isText=Ge.isCDATA=Ge.isTag=Ge.Element=Ge.Document=Ge.CDATA=Ge.NodeWithChildren=Ge.ProcessingInstruction=Ge.Comment=Ge.Text=Ge.DataNode=Ge.Node=void 0;var n=ze(),r=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),b(this,e)},e}();Ge.Node=r;var o=function(t){function n(e){var n=t.call(this)||this;return n.data=e,n}return e(n,t),Object.defineProperty(n.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),n}(r);Ge.DataNode=o;var s=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.ElementType.Text,e}return e(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),r}(o);Ge.Text=s;var i=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.ElementType.Comment,e}return e(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),r}(o);Ge.Comment=i;var a=function(t){function r(e,r){var o=t.call(this,r)||this;return o.name=e,o.type=n.ElementType.Directive,o}return e(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),r}(o);Ge.ProcessingInstruction=a;var l=function(t){function n(e){var n=t.call(this)||this;return n.children=e,n}return e(n,t),Object.defineProperty(n.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),n}(r);Ge.NodeWithChildren=l;var c=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.ElementType.CDATA,e}return e(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),r}(l);Ge.CDATA=c;var p=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.ElementType.Root,e}return e(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),r}(l);Ge.Document=p;var u=function(t){function r(e,r,o,s){void 0===o&&(o=[]),void 0===s&&(s="script"===e?n.ElementType.Script:"style"===e?n.ElementType.Style:n.ElementType.Tag);var i=t.call(this,o)||this;return i.name=e,i.attribs=r,i.type=s,i}return e(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),r}(l);function d(e){return(0,n.isTag)(e)}function f(e){return e.type===n.ElementType.CDATA}function m(e){return e.type===n.ElementType.Text}function h(e){return e.type===n.ElementType.Comment}function y(e){return e.type===n.ElementType.Directive}function g(e){return e.type===n.ElementType.Root}function b(e,n){var r;if(void 0===n&&(n=!1),m(e))r=new s(e.data);else if(h(e))r=new i(e.data);else if(d(e)){var o=n?v(e.children):[],l=new u(e.name,t({},e.attribs),o);o.forEach((function(e){return e.parent=l})),null!=e.namespace&&(l.namespace=e.namespace),e["x-attribsNamespace"]&&(l["x-attribsNamespace"]=t({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(l["x-attribsPrefix"]=t({},e["x-attribsPrefix"])),r=l}else if(f(e)){o=n?v(e.children):[];var b=new c(o);o.forEach((function(e){return e.parent=b})),r=b}else if(g(e)){o=n?v(e.children):[];var x=new p(o);o.forEach((function(e){return e.parent=x})),e["x-mode"]&&(x["x-mode"]=e["x-mode"]),r=x}else{if(!y(e))throw new Error("Not implemented yet: ".concat(e.type));var T=new a(e.name,e.data);null!=e["x-name"]&&(T["x-name"]=e["x-name"],T["x-publicId"]=e["x-publicId"],T["x-systemId"]=e["x-systemId"]),r=T}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function v(e){for(var t=e.map((function(e){return b(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}return Ge.Element=u,Ge.isTag=d,Ge.isCDATA=f,Ge.isText=m,Ge.isComment=h,Ge.isDirective=y,Ge.isDocument=g,Ge.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},Ge.cloneNode=b,Ge}function Xe(){return We||(We=1,function(e){var t=He&&He.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=He&&He.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var r=ze(),o=qe();n(qe(),e);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},i=function(){function e(e,t,n){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?r.ElementType.Tag:void 0,s=new o.Element(e,t,void 0,n);this.addNode(s),this.tagStack.push(s)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===r.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new o.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment)this.lastNode.data+=e;else{var t=new o.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(""),t=new o.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new o.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();e.DomHandler=i,e.default=i}(He)),He}var Ye,Qe,Ke,Ze,Je={};function et(){if(Qe)return Be;Qe=1,Object.defineProperty(Be,"__esModule",{value:!0}),Be.formatAttributes=r,Be.escapeSpecialCharacters=function(e){return e.replace(n.CARRIAGE_RETURN_REGEX,n.CARRIAGE_RETURN_PLACEHOLDER)},Be.revertEscapedCharacters=s,Be.formatDOM=function e(n,i,a){void 0===i&&(i=null);for(var l,c=[],p=0,u=n.length;p<u;p++){var d=n[p];switch(d.nodeType){case 1:var f=o(d.nodeName);(l=new t.Element(f,r(d.attributes))).children=e("template"===f?d.content.childNodes:d.childNodes,l);break;case 3:l=new t.Text(s(d.nodeValue));break;case 8:l=new t.Comment(d.nodeValue);break;default:continue}var m=c[p-1]||null;m&&(m.next=l),l.parent=i,l.prev=m,l.next=null,c.push(l)}a&&((l=new t.ProcessingInstruction(a.substring(0,a.indexOf(" ")).toLowerCase(),a)).next=c[0]||null,l.parent=i,c.unshift(l),c[1]&&(c[1].prev=c[0]));return c};var e,t=Xe(),n=(Ye||(Ye=1,e=Je,Object.defineProperty(e,"__esModule",{value:!0}),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=e.CARRIAGE_RETURN_PLACEHOLDER=e.CARRIAGE_RETURN_REGEX=e.CARRIAGE_RETURN=e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES=void 0,e.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{}),e.CARRIAGE_RETURN="\r",e.CARRIAGE_RETURN_REGEX=new RegExp(e.CARRIAGE_RETURN,"g"),e.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER,"g")),Je);function r(e){for(var t={},n=0,r=e.length;n<r;n++){var o=e[n];t[o.name]=o.value}return t}function o(e){var t=function(e){return n.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase());return t||e}function s(e){return e.replace(n.CARRIAGE_RETURN_PLACEHOLDER_REGEX,n.CARRIAGE_RETURN)}return Be}const tt=u(function(){if(Ze)return Me;Ze=1;var e=Me&&Me.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Me,"__esModule",{value:!0}),Me.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var o=e.match(r),s=o?o[1]:void 0;return(0,n.formatDOM)((0,t.default)(e),null,s)};var t=e(function(){if(Ke)return Fe;Ke=1,Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.default=function(c){var p,u,f=(c=(0,e.escapeSpecialCharacters)(c)).match(o),m=f&&f[1]?f[1].toLowerCase():"";switch(m){case t:var h=l(c);return s.test(c)||null===(p=null==(g=h.querySelector(n))?void 0:g.parentNode)||void 0===p||p.removeChild(g),i.test(c)||null===(u=null==(g=h.querySelector(r))?void 0:g.parentNode)||void 0===u||u.removeChild(g),h.querySelectorAll(t);case n:case r:var y=a(c).querySelectorAll(m);return i.test(c)&&s.test(c)?y[0].parentNode.childNodes:y;default:return d?d(c):(g=a(c,r).querySelector(r)).childNodes;var g}};var e=et(),t="html",n="head",r="body",o=/<([a-zA-Z]+[0-9]?)/,s=/<head[^]*>/i,i=/<body[^]*>/i,a=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},l=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"==typeof window&&window.DOMParser;if("function"==typeof c){var p=new c;a=l=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),p.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var u=document.implementation.createHTMLDocument();a=function(e,t){if(t){var n=u.documentElement.querySelector(t);return n&&(n.innerHTML=e),u}return u.documentElement.innerHTML=e,u}}var d,f="object"==typeof document&&document.createElement("template");return f&&f.content&&(d=function(e){return f.innerHTML=e,f.content.childNodes}),Fe}()),n=et(),r=/<(![a-zA-Z\s]+)>/;return Me}()),nt=tt.default||tt;var rt,ot,st={},it={},at={},lt={};function ct(){if(ot)return at;ot=1;function e(e,t,n,r,o,s,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}const t={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((n=>{t[n]=new e(n,0,!1,n,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([n,r])=>{t[n]=new e(n,1,!1,r,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((n=>{t[n]=new e(n,2,!1,n.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((n=>{t[n]=new e(n,2,!1,n,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((n=>{t[n]=new e(n,3,!1,n.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((n=>{t[n]=new e(n,3,!0,n,null,!1,!1)})),["capture","download"].forEach((n=>{t[n]=new e(n,4,!1,n,null,!1,!1)})),["cols","rows","size","span"].forEach((n=>{t[n]=new e(n,6,!1,n,null,!1,!1)})),["rowSpan","start"].forEach((n=>{t[n]=new e(n,5,!1,n.toLowerCase(),null,!1,!1)}));const n=/[\-\:]([a-z])/g,r=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((o=>{const s=o.replace(n,r);t[s]=new e(s,1,!1,o,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((o=>{const s=o.replace(n,r);t[s]=new e(s,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((o=>{const s=o.replace(n,r);t[s]=new e(s,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((n=>{t[n]=new e(n,1,!1,n.toLowerCase(),null,!1,!1)}));t.xlinkHref=new e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((n=>{t[n]=new e(n,1,!1,n.toLowerCase(),null,!0,!0)}));const{CAMELCASE:o,SAME:s,possibleStandardNames:i}=(rt||(rt=1,lt.SAME=0,lt.CAMELCASE=1,lt.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}),lt),a=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),l=Object.keys(i).reduce(((e,t)=>{const n=i[t];return n===s?e[t]=t:n===o?e[t.toLowerCase()]=t:e[t]=n,e}),{});return at.BOOLEAN=3,at.BOOLEANISH_STRING=2,at.NUMERIC=5,at.OVERLOADED_BOOLEAN=4,at.POSITIVE_NUMERIC=6,at.RESERVED=0,at.STRING=1,at.getPropertyInfo=function(e){return t.hasOwnProperty(e)?t[e]:null},at.isCustomAttribute=a,at.possibleStandardNames=l,at}var pt,ut,dt,ft={},mt={},ht={};function yt(){if(dt)return ht;dt=1;var e=ht&&ht.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ht,"__esModule",{value:!0});var t=e(function(){if(ut)return pt;ut=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i=/^[;\s]*/,a=/^\s+|\s+$/g,l="";function c(e){return e?e.replace(a,l):l}return pt=function(a,p){if("string"!=typeof a)throw new TypeError("First argument must be a string");if(!a)return[];p=p||{};var u=1,d=1;function f(e){var n=e.match(t);n&&(u+=n.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function m(){var e={line:u,column:d};return function(t){return t.position=new h(e),b(),t}}function h(e){this.start=e,this.end={line:u,column:d},this.source=p.source}function y(e){var t=new Error(p.source+":"+u+":"+d+": "+e);if(t.reason=e,t.filename=p.source,t.line=u,t.column=d,t.source=a,!p.silent)throw t}function g(e){var t=e.exec(a);if(t){var n=t[0];return f(n),a=a.slice(n.length),t}}function b(){g(n)}function v(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var e=m();if("/"==a.charAt(0)&&"*"==a.charAt(1)){for(var t=2;l!=a.charAt(t)&&("*"!=a.charAt(t)||"/"!=a.charAt(t+1));)++t;if(t+=2,l===a.charAt(t-1))return y("End of comment missing");var n=a.slice(2,t-2);return d+=2,f(n),a=a.slice(t),d+=2,e({type:"comment",comment:n})}}function T(){var t=m(),n=g(r);if(n){if(x(),!g(o))return y("property missing ':'");var a=g(s),p=t({type:"declaration",property:c(n[0].replace(e,l)),value:a?c(a[0].replace(e,l)):l});return g(i),p}}return h.prototype.content=a,b(),function(){var e,t=[];for(v(t);e=T();)!1!==e&&(t.push(e),v(t));return t}()}}());return ht.default=function(e,n){var r=null;if(!e||"string"!=typeof e)return r;var o=(0,t.default)(e),s="function"==typeof n;return o.forEach((function(e){if("declaration"===e.type){var t=e.property,o=e.value;s?n(t,o,e):o&&((r=r||{})[t]=o)}})),r},ht}var gt,bt,vt,xt,Tt,Pt={};function St(){if(gt)return Pt;gt=1,Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.camelCase=void 0;var e=/^--[a-zA-Z0-9-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},i=function(e,t){return"".concat(t,"-")};return Pt.camelCase=function(a,l){return void 0===l&&(l={}),function(t){return!t||n.test(t)||e.test(t)}(a)?a:(a=a.toLowerCase(),(a=l.reactCompat?a.replace(o,i):a.replace(r,i)).replace(t,s))},Pt}function Et(){return vt||(vt=1,function(e){var n=ft&&ft.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=e.setStyleProp=e.isCustomComponent=void 0;var r=t,o=n(function(){if(bt)return mt;bt=1;var e=mt&&mt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(mt,"__esModule",{value:!0});var t=e(yt()),n=St();return mt.default=function(e,r){var o={};return e&&"string"==typeof e?((0,t.default)(e,(function(e,t){e&&t&&(o[(0,n.camelCase)(e,r)]=t)})),o):o},mt}()),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);e.isCustomComponent=function(e,t){return e.includes("-")?!s.has(e):Boolean(t&&"string"==typeof t.is)};var i={reactCompat:!0};e.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,o.default)(e,i)}catch(e){t.style={}}else t.style={}},e.PRESERVE_CUSTOM_ATTRIBUTES=Number(r.version.split(".")[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.canTextBeChildOfNode=function(t){return!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(t.name)};e.returnFirstArg=function(e){return e}}(ft)),ft}const Ct=u(function(){if(Tt)return st;Tt=1;var e=st&&st.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(st,"__esModule",{value:!0});var n=t,r=e(function(){if(xt)return it;xt=1,Object.defineProperty(it,"__esModule",{value:!0});var e=ct(),t=Et(),n=["checked","value"],r=["input","select","textarea"],o={reset:!0,submit:!0};function s(t){return e.possibleStandardNames[t]}return it.default=function(i,a){void 0===i&&(i={});var l={},c=Boolean(i.type&&o[i.type]);for(var p in i){var u=i[p];if((0,e.isCustomAttribute)(p))l[p]=u;else{var d=p.toLowerCase(),f=s(d);if(f){var m=(0,e.getPropertyInfo)(f);switch(n.includes(f)&&r.includes(a)&&!c&&(f=s("default"+d)),l[f]=u,m&&m.type){case e.BOOLEAN:l[f]=!0;break;case e.OVERLOADED_BOOLEAN:""===u&&(l[f]=!0)}}else t.PRESERVE_CUSTOM_ATTRIBUTES&&(l[p]=u)}}return(0,t.setStyleProp)(i.style,l),l},it}()),o=Et(),s={cloneElement:n.cloneElement,createElement:n.createElement,isValidElement:n.isValidElement};function i(e){return o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,o.isCustomComponent)(e.name,e.attribs)}return st.default=function e(t,n){for(var a=[],l="function"==typeof(null==n?void 0:n.replace),c=(null==n?void 0:n.transform)||o.returnFirstArg,p=(null==n?void 0:n.library)||s,u=p.cloneElement,d=p.createElement,f=p.isValidElement,m=t.length,h=0;h<m;h++){var y=t[h];if(l){var g=n.replace(y,h);if(f(g)){m>1&&(g=u(g,{key:g.key||h})),a.push(c(g,y,h));continue}}if("text"!==y.type){var b=y,v={};i(b)?((0,o.setStyleProp)(b.attribs.style,b.attribs),v=b.attribs):b.attribs&&(v=(0,r.default)(b.attribs,b.name));var x=void 0;switch(y.type){case"script":case"style":y.children[0]&&(v.dangerouslySetInnerHTML={__html:y.children[0].data});break;case"tag":"textarea"===y.name&&y.children[0]?v.defaultValue=y.children[0].data:y.children&&y.children.length&&(x=e(y.children,n));break;default:continue}m>1&&(v.key=h),a.push(c(d(y.name,v,x),y,h))}else{var T=!y.data.trim().length;if(T&&y.parent&&!(0,o.canTextBeChildOfNode)(y.parent))continue;if((null==n?void 0:n.trim)&&T)continue;a.push(c(y.data,y,h))}}return 1===a.length?a[0]:a},st}()),wt=Ct.default||Ct,Nt=e=>{if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];const t="function"==typeof nt.default?nt.default:nt;return("function"==typeof wt.default?wt.default:wt)(t(e))};function At(e,t){const n="string"!=typeof(r=e)&&null!==r&&"spiritComponent"in r;var r;const o=e=>"object"==typeof e&&null!==e,s=Object.values(t).flatMap((e=>"string"==typeof e?[e]:o(e)?[e.className,e.UNSAFE_className].filter(Boolean):[])).filter(Boolean).join(" "),i=Object.values(t).filter(o).reduce(((e,t)=>{if(!o(t))return e;const n=t,r=n.style||n.UNSAFE_style||{},s=(e=>o(e)?Object.entries(e).filter((([e])=>e.startsWith("--"))).reduce(((e,[t,n])=>({...e,[t]:n})),{}):{})(t);return{...e,...r,...s}}),{});return n?{UNSAFE_className:s,UNSAFE_style:i}:{className:s,style:i}}function _t(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function Rt(e,t){return t?_t(t)?Object.entries(t).map((([t,n])=>void 0===n?"":"mobile"===t?`${e}--${n}`:`${e}--${t}--${n}`)).filter((e=>""!==e)):[`${e}--${t}`]:[]}const kt="undefined"==typeof window,Ot=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),$t=e=>e.replace(/-([a-z])/g,(e=>e[1].toUpperCase())),jt=e=>{if("object"==typeof e&&null!==e){const t={};for(const[n,r]of Object.entries(e))t[n]="string"==typeof r?$t(r):r;return t}return e},Dt=e=>"string"==typeof e?$t(e):"object"==typeof e&&null!==e?jt(e):e;function Lt(e){return"string"!=typeof e?e:e.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("")}function It(e,t,n){return`${e}--${n||""}${n?Lt(t):t}`}function Mt(e,t,n){return Object.keys(t).map((r=>{const o="mobile"===r?"":`--${r}`,s=t[r];return`${e}${o}--${n||""}${n?Lt(s):s}`})).join(" ")}function Ft(e,t,n){const r=function(e){return e&&"object"==typeof e}(t)?Mt:It;return r(e,t,n)}const Bt="-",Ht=e=>(e=>"string"==typeof e&&e.startsWith("space-"))(e)?(e=>e===xe?xe:e.replace(/[^0-9]/g,""))(e):e,Ut=(e,t,n,r)=>{switch(e){case"hideOn":return((e,t,n)=>(Array.isArray(t)?t:[t]).map((t=>ke(n)(`${e}${Bt}only${Bt}${t}${Bt}none`))))(t,n,r);case"hideFrom":return((e,t,n)=>{const r=t===Te?"":`${Bt}${t}`;return[ke(n)(`${e}${r}${Bt}none`)]})(t,n,r);default:return[]}},zt=(e,t,n,r)=>{if(t===ue.theme){if("string"!=typeof n)return[];const e=Ot(n);return[ke(r)(e)]}return e in pe?Ut(e,t,n,r):"boolean"==typeof n?n?[ke(r)(t)]:[]:"string"==typeof n?[ke(r)(`${t}-${Ht(n)}`)]:((e,t,n)=>Object.keys(t).reduce(((r,o)=>{const s=t[o];if("string"==typeof s){const t=Ht(s),i=o===Te?"":`${Bt}${o}`;r.push(ke(n)(`${e}${i}${Bt}${t}`))}return r}),[]))(t,n,r)},Vt=(e,t,n,r={includesKey:!0})=>{const o=(s=e,i=t,Object.keys(s).includes(i));var s,i;return r.includesKey?o&&!Re(n):!o};function Wt(e,n){const r=t.useContext(de),{UNSAFE_className:o,UNSAFE_style:s,...i}=e,a={theme:ue.theme,...n??{}},{styleUtilities:l,props:c}=((e,t="",n={})=>{const r={...ie,...pe,...ue,...n},o=Object.entries(e);return{styleUtilities:o.reduce(((e,[n,o])=>{if(Vt(r,n,o)){const s=r[n];return[...e,...zt(n,s,o,t)]}return e}),[]),props:o.reduce(((e,[t,n])=>Vt(r,t,n,{includesKey:!1})?{...e,[t]:n}:e),{})}})(i,r,a),p={...s};c.className&&(b(0,"The className prop is unsafe and is unsupported in Spirit Web React. Please use style props with Spirit Design Tokens, or UNSAFE_className if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes."),delete c.className),c.style&&(b(0,"The style prop is unsafe and is unsupported in Spirit Web React. Please use style props with Spirit Design Tokens, or UNSAFE_style if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes."),delete c.style);return{styleProps:{style:Object.keys(p).length>0?p:void 0,className:y(o,...l)||void 0},props:c}}function Gt(e,t,n){return Ft(e,t&&"object"==typeof t?{mobile:"stretch",...t}:t,n)}const qt=e=>t.useMemo((()=>e.length?{"aria-describedby":e.join(" ")}:{}),[e]),Xt=kt?t.useEffect:t.useLayoutEffect,Yt="cancel",Qt="keydown",Kt=(e,n,r=!0,o=!1)=>{const s=t.useCallback((t=>{e&&n&&(t.defaultPrevented||(t.preventDefault(),n&&r&&n(t)))}),[e,n,r]),i=t.useCallback((e=>{"Escape"===e.key&&!r&&o&&e.preventDefault()}),[r,o]);return Xt((()=>{const t=e?.current;return t?(t.addEventListener(Yt,s),document.addEventListener(Qt,i),()=>{t.removeEventListener(Yt,s),document.removeEventListener(Qt,i)}):()=>{}}),[e,s]),s},Zt=e=>{const n=t.useContext(de);let r=e;return e&&n?r=ke(n)(e):n&&(r=n),r},Jt=(e,n)=>t.useCallback((t=>{e?t.preventDefault():n&&n(t)}),[e,n]),en=({ref:e,callback:n})=>{const r=t.useRef({mouseDownTarget:null}),o=t.useCallback((t=>{const o=r.current;!e||!n||t.defaultPrevented||e.current&&e.current.contains(o.mouseDownTarget)||e.current&&!e.current.contains(t?.target)&&n&&n(t)}),[e,n]),s=e=>{r.current.mouseDownTarget=e.target};Xt((()=>(document.addEventListener("mousedown",s,{capture:!0}),document.addEventListener("click",o,{capture:!0}),()=>{document.removeEventListener("mousedown",s,{capture:!0}),document.removeEventListener("click",o,{capture:!0})})),[o])},tn=({method:e="component",trigger:n,componentName:r,componentProps:o,propertyProps:s,customText:i})=>{const a=`Deprecation warning (${r}):`;t.useEffect((()=>{const t=n&&r&&"development"===process.env.NODE_ENV;let l,c;switch(e){case"property":l=s?.delete?`${a} "${s?.deprecatedName}" property will be deleted in the next major version.`:s?.deprecatedValue&&s?.newValue&&s?.propertyName?`${a} The "${s?.deprecatedValue}" value for "${s?.propertyName}" property will be renamed to "${s?.newValue}" in the next major version.`:`${a} "${s?.deprecatedName}" property will be replaced in the next major version. Please use "${s?.newName}" instead. ♻️️`,c=!!s;break;case"custom":l=`${a} ${i}`,c=!0;break;default:l=o?.delete?`${a} The component and its subcomponents will be deleted in the next major version.`:`${a} The component and its subcomponents will be renamed to "${o?.newName}" in the next major version.`,c=!!o}l&&t&&c&&b(0,l)}),[])},nn=(e,t)=>{const n={},r=`--${t}`;return"object"==typeof e&&null!==e?Object.keys(e).forEach((t=>{const o="mobile"===t?"":`-${t}`,s=e[t];n[`${r}${o}`]=`${s?.toString()}`})):e&&(n[`${r}`]=`${e?.toString()}`),n},rn=e=>{const[n,r]=t.useState(!1);return{isDragging:n,onDragOver:t=>{t.preventDefault(),e?.onDragOver&&e.onDragOver(t)},onDragEnter:t=>{r(!0),e?.onDragEnter&&e.onDragEnter(t)},onDragLeave:t=>{r(!1),e?.onDragLeave&&e.onDragLeave(t)},onDrop:t=>{t.preventDefault(),e?.onDrop&&e.onDrop(t),r(!1)}}},on={common:{close:"Close",edit:"Edit",remove:"Remove"},attachment:{edit:"Edit",remove:"Remove"},breadcrumbs:{back:"Go back"},fileUploader:{edit:"Edit",remove:"Remove",attachments:"Attachments"},pagination:{next:"Next",previous:"Previous",goToPage:"Go to page"},textField:{password:{show:"Show password",hide:"Hide password"}},splitButton:{dropdown:"More"}},sn=(e,t)=>Object.entries(t).reduce(((e,[t,n])=>{const r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return e.replace(new RegExp(`\\{${r}\\}`,"g"),String(n))}),e),an=(e,t)=>{const n=t.split(".");let r=e;for(const e of n){if("object"!=typeof r||null===r||!(e in r))return t;r=r[e]}return"string"==typeof r?r:t},ln=()=>({t:(e,t)=>{const n=an(on,e);return t?sn(n,t):n}}),cn=t.createContext(void 0),pn=cn.Provider,un=cn.Consumer,dn=e=>{const n=t.useContext(cn);return null!=n&&null!=n[e]?n[e]:(b(0,`The ${e} icon is missing from your assets or icon map provided by the IconsProvider. Please make sure you have provided all icons needed by used components.`),"")};function fn(e,t,n="default"){return e&&t[e]?t[e]:t[n]}function mn(e,t){return t?Ft(e,t,"inputPosition"):""}const hn=e=>{const n=t.useRef(null);t.useEffect((()=>{e?n.current=document.activeElement:n?.current&&n.current.focus()}),[e])};function yn(e,t,n){return e[t]?Array.isArray(e[t])?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}const gn={width:void 0,height:void 0};function bn(e){const{ref:n,box:r="border-box"}=e,[{width:o,height:s},i]=t.useState(gn),a=function(){const e=t.useRef(!1);return t.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),t.useCallback((()=>e.current),[])}(),l=t.useRef({...gn}),c=t.useRef(void 0);return c.current=e.onResize,t.useEffect((()=>{if(kt)return;if(!("ResizeObserver"in window))return;if(!n.current)return;const e=new ResizeObserver((([e])=>{const t="border-box"===r?"borderBoxSize":"device-pixel-content-box"===r?"devicePixelContentBoxSize":"contentBoxSize",n=yn(e,t,"inlineSize"),o=yn(e,t,"blockSize");if(l.current.width!==n||l.current.height!==o){const e={width:n,height:o};l.current.width=n,l.current.height=o,c.current?c.current(e):a()&&i(e)}}));return e.observe(n.current,{box:r}),()=>{e.disconnect()}}),[r,n,a]),{width:o,height:s}}const vn="is-scrolling-disabled",xn=()=>{const{body:e}=document;e.style.paddingRight="",e.classList.remove(vn)},Tn=(e,n)=>{t.useEffect((()=>(n?(()=>{const{body:e}=document,t=window.innerWidth-e.clientWidth;e.style.paddingRight=`${t}px`,e.classList.add(vn)})():e.current&&!e.current.open&&xn(),()=>{xn()})),[n,e])};function Pn(e,t,n=void 0){const r={},o=n?`-${n}`:"";return"object"==typeof e&&null!==e?Object.keys(e).forEach((n=>{r[`--${t}-spacing${o}${"mobile"===n?"":`-${n}`}`]=`var(--${P}${e[n]?.toString()})`})):e&&(r[`--${t}-spacing${o}`]=`var(--${P}${e})`),r}const Sn="--symmetrical";function En(e,t){if("object"!=typeof t||null===t)return{isSymmetricalActive:!0===t,symmetricalClassName:t?`${e}${Sn}`:""};const{classes:n}=Object.keys(T).reduce(function(e,t){return(n,r)=>{if(r in t){const o=t[r],s=r===Te?"":`--${r}`;if(o)return{classes:[...n.classes,`${e}${s}${Sn}`],wasSymmetrical:!0};if(n.wasSymmetrical)return{classes:[...n.classes,`${e}${s}--asymmetrical`],wasSymmetrical:n.wasSymmetrical}}return n}}(e,t),{classes:[],wasSymmetrical:!1});return{isSymmetricalActive:Object.values(t).includes(!0),symmetricalClassName:n.join(" ")}}const Cn=(e=!1)=>{const[n,r]=t.useState(e);return[n,t.useCallback((()=>r((e=>!e))),[])]},wn="--wrap",Nn="--noWrap";function An(e,t){return"object"==typeof t&&null!==t?Object.entries(t).map((([t,n])=>`${e}${"mobile"===t?"":`--${t}`}${n?wn:Nn}`)).join(" "):`${e}${t?wn:Nn}`}const _n=()=>{const e=Zt("Accordion");return{classProps:{root:e,item:`${e}__item`,header:`${e}__itemHeader`,toggle:`${e}__itemToggle`,side:`${e}__itemSide`,slot:`${e}__itemSlot`,icon:`${e}__itemIcon`,content:`${e}__content`}}},Rn=t.createContext({open:void 0,toggle:()=>null}),kn=Rn.Provider;Rn.Consumer;const On=()=>t.useContext(Rn),$n=e=>{const{open:t}=On();return{isOpen:(n=e,!(!n||n!==t&&!t?.includes(n)))};var n};var jn,Dn={exports:{}},Ln={};var In,Mn,Fn={};function Bn(){return In||(In=1,"production"!==process.env.NODE_ENV&&function(){function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===L?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case E:return"Fragment";case S:return"Portal";case w:return"Profiler";case C:return"StrictMode";case R:return"Suspense";case k:return"SuspenseList"}if("object"==typeof t)switch("number"==typeof t.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case A:return(t.displayName||"Context")+".Provider";case N:return(t._context.displayName||"Context")+".Consumer";case _:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case O:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case $:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}function n(e){return""+e}function r(e){try{n(e);var t=!1}catch(e){t=!0}if(t){var r=(t=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),n(e)}}function o(){}function s(e){if(void 0===z)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||"",V=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+z+e+V}function i(e,t){if(!e||G)return"";var n=q.get(e);if(void 0!==n)return n;G=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r;r=I.H,I.H=null,function(){if(0===U){m=console.log,h=console.info,y=console.warn,g=console.error,b=console.group,v=console.groupCollapsed,x=console.groupEnd;var e={configurable:!0,enumerable:!0,value:o,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}U++}();try{var i={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch((function(){}))}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var l=i.DetermineComponentFrameRoot(),c=l[0],p=l[1];if(c&&p){var u=c.split("\n"),d=p.split("\n");for(l=a=0;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;for(;l<d.length&&!d[l].includes("DetermineComponentFrameRoot");)l++;if(a===u.length||l===d.length)for(a=u.length-1,l=d.length-1;1<=a&&0<=l&&u[a]!==d[l];)l--;for(;1<=a&&0<=l;a--,l--)if(u[a]!==d[l]){if(1!==a||1!==l)do{if(a--,0>--l||u[a]!==d[l]){var f="\n"+u[a].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&q.set(e,f),f}}while(1<=a&&0<=l);break}}}finally{G=!1,I.H=r,function(){if(0==--U){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:F({},e,{value:m}),info:F({},e,{value:h}),warn:F({},e,{value:y}),error:F({},e,{value:g}),group:F({},e,{value:b}),groupCollapsed:F({},e,{value:v}),groupEnd:F({},e,{value:x})})}0>U&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=n}return u=(u=e?e.displayName||e.name:"")?s(u):"","function"==typeof e&&q.set(e,u),u}function a(e){if(null==e)return"";if("function"==typeof e){var t=e.prototype;return i(e,!(!t||!t.isReactComponent))}if("string"==typeof e)return s(e);switch(e){case R:return s("Suspense");case k:return s("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case _:return e=i(e.render,!1);case O:return a(e.type);case $:t=e._payload,e=e._init;try{return a(e(t))}catch(e){}}return""}function l(){var e=I.A;return null===e?null:e.getOwner()}function c(){var t=e(this.type);return Y[t]||(Y[t]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(t=this.props.ref)?t:null}function p(t,n,o,s,i,a){if("string"==typeof t||"function"==typeof t||t===E||t===w||t===C||t===R||t===k||t===j||"object"==typeof t&&null!==t&&(t.$$typeof===$||t.$$typeof===O||t.$$typeof===A||t.$$typeof===N||t.$$typeof===_||t.$$typeof===B||void 0!==t.getModuleId)){var p=n.children;if(void 0!==p)if(s)if(H(p)){for(s=0;s<p.length;s++)u(p[s],t);Object.freeze&&Object.freeze(p)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else u(p,t)}else p="",(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(p+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===t?s="null":H(t)?s="array":void 0!==t&&t.$$typeof===P?(s="<"+(e(t.type)||"Unknown")+" />",p=" Did you accidentally export a JSX literal instead of a component?"):s=typeof t,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,p);if(M.call(n,"key")){p=e(t);var d=Object.keys(n).filter((function(e){return"key"!==e}));s=0<d.length?"{key: someKey, "+d.join(": ..., ")+": ...}":"{key: someKey}",Q[p+s]||(d=0<d.length?"{"+d.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',s,p,d,p),Q[p+s]=!0)}if(p=null,void 0!==o&&(r(o),p=""+o),function(e){if(M.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(r(n.key),p=""+n.key),"key"in n)for(var f in o={},n)"key"!==f&&(o[f]=n[f]);else o=n;return p&&function(e,t){function n(){W||(W=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,"function"==typeof t?t.displayName||t.name||"Unknown":t),function(e,t,n,r,o,s){return n=s.ref,e={$$typeof:P,type:e,key:t,props:s,_owner:o},null!==(void 0!==n?n:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:c}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(t,p,a,0,l(),o)}function u(e,t){if("object"==typeof e&&e&&e.$$typeof!==X)if(H(e))for(var n=0;n<e.length;n++){var r=e[n];d(r)&&f(r,t)}else if(d(e))e._store&&(e._store.validated=1);else if(null===e||"object"!=typeof e?n=null:n="function"==typeof(n=D&&e[D]||e["@@iterator"])?n:null,"function"==typeof n&&n!==e.entries&&(n=n.call(e))!==e)for(;!(e=n.next()).done;)d(e.value)&&f(e.value,t)}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===P}function f(t,n){if(t._store&&!t._store.validated&&null==t.key&&(t._store.validated=1,n=function(t){var n="",r=l();return r&&(r=e(r.type))&&(n="\n\nCheck the render method of `"+r+"`."),n||(t=e(t))&&(n="\n\nCheck the top-level render call using <"+t+">."),n}(n),!K[n])){K[n]=!0;var r="";t&&null!=t._owner&&t._owner!==l()&&(r=null,"number"==typeof t._owner.tag?r=e(t._owner.type):"string"==typeof t._owner.name&&(r=t._owner.name),r=" It was passed a child from "+r+".");var o=I.getCurrentStack;I.getCurrentStack=function(){var e=a(t.type);return o&&(e+=o()||""),e},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',n,r),I.getCurrentStack=o}}var m,h,y,g,b,v,x,T=t,P=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),A=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),D=Symbol.iterator,L=Symbol.for("react.client.reference"),I=T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M=Object.prototype.hasOwnProperty,F=Object.assign,B=Symbol.for("react.client.reference"),H=Array.isArray,U=0;o.__reactDisabledLog=!0;var z,V,W,G=!1,q=new("function"==typeof WeakMap?WeakMap:Map),X=Symbol.for("react.client.reference"),Y={},Q={},K={};Fn.Fragment=E,Fn.jsx=function(e,t,n,r,o){return p(e,t,n,!1,0,o)},Fn.jsxs=function(e,t,n,r,o){return p(e,t,n,!0,0,o)}}()),Fn}var Hn=(Mn||(Mn=1,"production"===process.env.NODE_ENV?Dn.exports=function(){if(jn)return Ln;jn=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==n.key&&(o=""+n.key),"key"in n)for(var s in r={},n)"key"!==s&&(r[s]=n[s]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:o,ref:void 0!==n?n:null,props:r}}return Ln.Fragment=t,Ln.jsx=n,Ln.jsxs=n,Ln}():Dn.exports=Bn()),Dn.exports);const Un=t.forwardRef(((e,t)=>{const{children:n,elementType:r="section",open:o,toggle:s,...i}=e,a=r,{classProps:l}=_n(),{styleProps:c,props:p}=Wt(i),u=At(a,{classProps:l.root,styleProps:c}),d={open:o,toggle:s};return Hn.jsx(a,{...p,...u,ref:t,children:Hn.jsx(kn,{value:d,children:n})})}));Un.spiritComponent="Accordion",Un.displayName="Accordion";const zn=t.createContext({id:""}),Vn=zn.Provider;zn.Consumer;const Wn=()=>t.useContext(zn),Gn=t.forwardRef(((e,t)=>{const{children:n,elementType:r="article",id:o,...s}=e,i=r,{classProps:a}=_n(),{styleProps:l,props:c}=Wt(s),p=At(i,{classProps:a.item,styleProps:l}),u={id:o};return Hn.jsx(i,{...c,id:o,...p,ref:t,children:Hn.jsx(Vn,{value:u,children:n})})}));Gn.spiritComponent="AccordionItem",Gn.displayName="AccordionItem";const qn=(e,t)=>{const n={};return"object"==typeof t&&Object.entries(t).forEach((([t,r])=>{n[`${e}${"mobile"===t?"":`-${t}`}`]=`${r?.toString()}px`})),n},Xn=e=>{const{boxSize:t,color:n,name:r,...o}=e,s=`--${P}icon`,i=String(r).includes("-dualtone")&&!n?B.PRIMARY:n,a=Zt("Icon"),l=`${a}--${i}`;return{classProps:y(a,{[l]:n||i}),iconStyleProps:{...t?qn(`${s}-size`,t):{}},props:o}},Yn={ariaHidden:!0,boxSize:24},Qn=t.forwardRef(((e,t)=>{const n={...Yn,...e},{boxSize:r,name:o,title:s,ariaHidden:i,...a}=n;let l=dn(o);const c=(e=>"object"==typeof e?e.mobile??24:e??24)(r),{classProps:p,iconStyleProps:u,props:d}=Xn({boxSize:r,name:o,...a}),{styleProps:f,props:m}=Wt(d),h=At("svg",{classProps:p,iconStyleProps:u,styleProps:f});return s&&(l=`<title>${s}</title>${l}`),Hn.jsx("svg",{...m,...h,viewBox:"0 0 24 24",fill:"none",width:c,height:c,"aria-hidden":i,ref:t,children:Nt(l)})}));Qn.spiritComponent="Icon",Qn.displayName="Icon";const Kn={elementType:"h3"},Zn=t.forwardRef(((e,t)=>{const n={...Kn,...e},{elementType:r="h3",children:o,slot:s,...i}=n,a=r,{classProps:l}=_n(),{toggle:c}=On(),{id:u}=Wn(),{styleProps:d,props:f}=Wt(i),{isOpen:m}=$n(u),{triggerProps:h,headerProps:y}=p({id:u,isOpen:m}),g=At(a,{classProps:l.header,styleProps:d});return Hn.jsxs(a,{...f,...g,...y,ref:t,children:[Hn.jsx("button",{type:"button",className:l.toggle,onClick:()=>{c&&u&&c(u)},...h,children:o}),Hn.jsxs("span",{className:l.side,children:[s&&Hn.jsx("span",{className:l.slot,children:s}),Hn.jsx("span",{className:l.icon,children:Hn.jsx(Qn,{name:"chevron-down"})})]})]})}));function Jn(e,t){return(Jn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}Zn.spiritComponent="AccordionHeader",Zn.displayName="AccordionHeader";var er,tr={exports:{}},nr={exports:{}},rr={};var or,sr,ir,ar,lr,cr,pr,ur,dr,fr,mr,hr,yr,gr,br,vr={};function xr(){return sr||(sr=1,"production"===process.env.NODE_ENV?nr.exports=function(){if(er)return rr;er=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:switch(e=e.type){case l:case c:case r:case s:case o:case u:return e;default:switch(e=e&&e.$$typeof){case a:case p:case m:case f:case i:return e;default:return d}}case n:return d}}}function x(e){return v(e)===c}return rr.AsyncMode=l,rr.ConcurrentMode=c,rr.ContextConsumer=a,rr.ContextProvider=i,rr.Element=t,rr.ForwardRef=p,rr.Fragment=r,rr.Lazy=m,rr.Memo=f,rr.Portal=n,rr.Profiler=s,rr.StrictMode=o,rr.Suspense=u,rr.isAsyncMode=function(e){return x(e)||v(e)===l},rr.isConcurrentMode=x,rr.isContextConsumer=function(e){return v(e)===a},rr.isContextProvider=function(e){return v(e)===i},rr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},rr.isForwardRef=function(e){return v(e)===p},rr.isFragment=function(e){return v(e)===r},rr.isLazy=function(e){return v(e)===m},rr.isMemo=function(e){return v(e)===f},rr.isPortal=function(e){return v(e)===n},rr.isProfiler=function(e){return v(e)===s},rr.isStrictMode=function(e){return v(e)===o},rr.isSuspense=function(e){return v(e)===u},rr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===s||e===o||e===u||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===i||e.$$typeof===a||e.$$typeof===p||e.$$typeof===y||e.$$typeof===g||e.$$typeof===b||e.$$typeof===h)},rr.typeOf=v,rr}():nr.exports=(or||(or=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var h=e.type;switch(h){case l:case c:case r:case s:case o:case u:return h;default:var y=h&&h.$$typeof;switch(y){case a:case p:case m:case f:case i:return y;default:return d}}case n:return d}}}var x=l,T=c,P=a,S=i,E=t,C=p,w=r,N=m,A=f,_=n,R=s,k=o,O=u,$=!1;function j(e){return v(e)===c}vr.AsyncMode=x,vr.ConcurrentMode=T,vr.ContextConsumer=P,vr.ContextProvider=S,vr.Element=E,vr.ForwardRef=C,vr.Fragment=w,vr.Lazy=N,vr.Memo=A,vr.Portal=_,vr.Profiler=R,vr.StrictMode=k,vr.Suspense=O,vr.isAsyncMode=function(e){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),j(e)||v(e)===l},vr.isConcurrentMode=j,vr.isContextConsumer=function(e){return v(e)===a},vr.isContextProvider=function(e){return v(e)===i},vr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},vr.isForwardRef=function(e){return v(e)===p},vr.isFragment=function(e){return v(e)===r},vr.isLazy=function(e){return v(e)===m},vr.isMemo=function(e){return v(e)===f},vr.isPortal=function(e){return v(e)===n},vr.isProfiler=function(e){return v(e)===s},vr.isStrictMode=function(e){return v(e)===o},vr.isSuspense=function(e){return v(e)===u},vr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===s||e===o||e===u||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===i||e.$$typeof===a||e.$$typeof===p||e.$$typeof===y||e.$$typeof===g||e.$$typeof===b||e.$$typeof===h)},vr.typeOf=v}()),vr)),nr.exports}function Tr(){if(ar)return ir;ar=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return ir=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var s,i,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),l=1;l<arguments.length;l++){for(var c in s=Object(arguments[l]))t.call(s,c)&&(a[c]=s[c]);if(e){i=e(s);for(var p=0;p<i.length;p++)n.call(s,i[p])&&(a[i[p]]=s[i[p]])}}return a},ir}function Pr(){if(cr)return lr;cr=1;return lr="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Sr(){return ur?pr:(ur=1,pr=Function.call.bind(Object.prototype.hasOwnProperty))}function Er(){if(fr)return dr;fr=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Pr(),n={},r=Sr();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,s,i,a,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var p;try{if("function"!=typeof o[c]){var u=Error((a||"React class")+": "+i+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}p=o[c](s,c,a,i,null,t)}catch(e){p=e}if(!p||p instanceof Error||e((a||"React class")+": type specification of "+i+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in n)){n[p.message]=!0;var d=l?l():"";e("Failed "+i+" type: "+p.message+(null!=d?d:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},dr=o}function Cr(){if(hr)return mr;hr=1;var e=xr(),t=Tr(),n=Pr(),r=Sr(),o=Er(),s=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(s=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),mr=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator;var p="<<anonymous>>",u={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:m(i),arrayOf:function(e){return m((function(t,r,o,s,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var a=t[r];if(!Array.isArray(a))return new f("Invalid "+s+" `"+i+"` of type `"+b(a)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,o,s,i+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:m((function(e,t,n,r,o){var s=e[t];return a(s)?null:new f("Invalid "+r+" `"+o+"` of type `"+b(s)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,r,o,s){var i=t[n];return e.isValidElementType(i)?null:new f("Invalid "+o+" `"+s+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,r,o,s){if(!(t[n]instanceof e)){var i=e.name||p;return new f("Invalid "+o+" `"+s+"` of type `"+(((a=t[n]).constructor&&a.constructor.name?a.constructor.name:p)+"` supplied to `")+r+"`, expected instance of `"+i+"`.")}var a;return null}))},node:m((function(e,t,n,r,o){return g(e[t])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,o,s,i,a){if("function"!=typeof e)return new f("Property `"+a+"` of component `"+s+"` has invalid PropType notation inside objectOf.");var l=t[o],c=b(l);if("object"!==c)return new f("Invalid "+i+" `"+a+"` of type `"+c+"` supplied to `"+s+"`, expected an object.");for(var p in l)if(r(l,p)){var u=e(l,p,s,i,a+"."+p,n);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&s(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i;return m((function(t,n,r,o,s){for(var i=t[n],a=0;a<e.length;a++)if(d(i,e[a]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===v(t)?String(t):t}));return new f("Invalid "+o+" `"+s+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+l+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&s("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+t+"."),i}return m((function(t,o,s,i,a){for(var l=[],c=0;c<e.length;c++){var p=(0,e[c])(t,o,s,i,a,n);if(null==p)return null;p.data&&r(p.data,"expectedType")&&l.push(p.data.expectedType)}return new f("Invalid "+i+" `"+a+"` supplied to `"+s+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,r,o,s,i){var a=t[r],l=b(a);if("object"!==l)return new f("Invalid "+s+" `"+i+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var p=e[c];if("function"!=typeof p)return y(o,s,i,c,v(p));var u=p(a,c,o,s,i+"."+c,n);if(u)return u}return null}))},exact:function(e){return m((function(o,s,i,a,l){var c=o[s],p=b(c);if("object"!==p)return new f("Invalid "+a+" `"+l+"` of type `"+p+"` supplied to `"+i+"`, expected `object`.");var u=t({},o[s],e);for(var d in u){var m=e[d];if(r(e,d)&&"function"!=typeof m)return y(i,a,l,d,v(m));if(!m)return new f("Invalid "+a+" `"+l+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[s],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=m(c,d,i,a,l+"."+d,n);if(h)return h}return null}))}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,i,a,c,u,d,m){if(c=c||p,d=d||a,m!==n){if(l){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var y=c+":"+a;!t[y]&&r<3&&(s("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[y]=!0,r++)}}return null==i[a]?o?null===i[a]?new f("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new f("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(i,a,c,u,d)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function h(e){return m((function(t,n,r,o,s,i){var a=t[n];return b(a)!==e?new f("Invalid "+o+" `"+s+"` of type `"+v(a)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function y(e,t,n,r,o){return new f((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function g(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(g);if(null===e||a(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!g(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,u.checkPropTypes=o,u.resetWarningCache=o.resetWarningCache,u.PropTypes=u,u},mr}function wr(){if(gr)return yr;gr=1;var e=Pr();function t(){}function n(){}return n.resetWarningCache=t,yr=function(){function r(t,n,r,o,s,i){if(i!==e){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function o(){return r}r.isRequired=r;var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s}}function Nr(){if(br)return tr.exports;if(br=1,"production"!==process.env.NODE_ENV){var e=xr();tr.exports=Cr()(e.isElement,true)}else tr.exports=wr()();return tr.exports}const Ar=u(Nr()),_r=!1;var Rr="production"!==process.env.NODE_ENV?Ar.oneOfType([Ar.number,Ar.shape({enter:Ar.number,exit:Ar.number,appear:Ar.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&Ar.oneOfType([Ar.string,Ar.shape({enter:Ar.string,exit:Ar.string,active:Ar.string}),Ar.shape({enter:Ar.string,enterDone:Ar.string,enterActive:Ar.string,exit:Ar.string,exitDone:Ar.string,exitActive:Ar.string})]);const kr=t.createContext(null);var Or="unmounted",$r="exited",jr="entering",Dr="entered",Lr="exiting",Ir=function(e){var r,o;function s(t,n){var r;r=e.call(this,t,n)||this;var o,s=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?s?(o=$r,r.appearStatus=jr):o=Dr:o=t.unmountOnExit||t.mountOnEnter?Or:$r,r.state={status:o},r.nextCallback=null,r}o=e,(r=s).prototype=Object.create(o.prototype),r.prototype.constructor=r,Jn(r,o),s.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Or?{status:$r}:null};var i=s.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==jr&&n!==Dr&&(t=jr):n!==jr&&n!==Dr||(t=Lr)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===jr){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:n.findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===$r&&this.setState({status:Or})},i.performEnter=function(e){var t=this,r=this.props.enter,o=this.context?this.context.isMounting:e,s=this.props.nodeRef?[o]:[n.findDOMNode(this),o],i=s[0],a=s[1],l=this.getTimeouts(),c=o?l.appear:l.enter;!e&&!r||_r?this.safeSetState({status:Dr},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:jr},(function(){t.props.onEntering(i,a),t.onTransitionEnd(c,(function(){t.safeSetState({status:Dr},(function(){t.props.onEntered(i,a)}))}))})))},i.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),o=this.props.nodeRef?void 0:n.findDOMNode(this);t&&!_r?(this.props.onExit(o),this.safeSetState({status:Lr},(function(){e.props.onExiting(o),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:$r},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:$r},(function(){e.props.onExited(o)}))},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:n.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(r&&!o){if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=s[0],a=s[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===Or)return null;var n=this.props,r=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(kr.Provider,{value:null},"function"==typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},s}(t.Component);function Mr(){}Ir.contextType=kr,Ir.propTypes="production"!==process.env.NODE_ENV?{nodeRef:Ar.shape({current:"undefined"==typeof Element?Ar.any:function(e,t,n,r,o,s){var i=e[t];return Ar.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,s)}}),children:Ar.oneOfType([Ar.func.isRequired,Ar.element.isRequired]).isRequired,in:Ar.bool,mountOnEnter:Ar.bool,unmountOnExit:Ar.bool,appear:Ar.bool,enter:Ar.bool,exit:Ar.bool,timeout:function(e){var t=Rr;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},addEndListener:Ar.func,onEnter:Ar.func,onEntering:Ar.func,onEntered:Ar.func,onExit:Ar.func,onExiting:Ar.func,onExited:Ar.func}:{},Ir.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Mr,onEntering:Mr,onEntered:Mr,onExit:Mr,onExiting:Mr,onExited:Mr},Ir.UNMOUNTED=Or,Ir.EXITED=$r,Ir.ENTERING=jr,Ir.ENTERED=Dr,Ir.EXITING=Lr;const Fr="aria-expanded",Br="aria-controls",Hr="data-spirit-breakpoint",Ur=e=>{const{isOpen:t,collapsibleToBreakpoint:n,...r}=e;return tn({method:"custom",trigger:!r.id,componentName:"Collapse",customText:'The "id" property will be required instead of optional starting from the next major version.'}),{ariaProps:{root:{[Hr]:n},trigger:{[Fr]:t,[Br]:String(r.id)}},props:r}},zr=(e,t,n)=>{const r=Zt("Collapse"),o=`${r}__content`;return{classProps:{root:y(r,e?v:""),content:o},styleProps:"span"===t?{}:{height:e?n:0}}},Vr=250,Wr={entering:"is-transitioning",entered:"",exiting:"is-transitioning",exited:""},Gr={elementType:"div",isOpen:!1,collapsibleToBreakpoint:void 0,transitionDuration:Vr},qr=e=>{const n={...Gr,...e},{elementType:r=Gr.elementType,children:o,transitionDuration:s=Vr,...i}=n,a=t.useRef(null),l=t.useRef(null),c=(e=>{const[n,r]=t.useState(void 0);return bn({ref:e,onResize:e=>{const t=e.height;r(`${t}px`)}}),n})(l),{classProps:p,styleProps:u}=zr(i.isOpen,r,c),{ariaProps:d,props:f}=Ur(i),{styleProps:m,props:h}=Wt(f),y={className:m.className,style:{...u,...m.style}};return"span"===r&&i.isOpen?o:Hn.jsx(Ir,{in:i.isOpen,nodeRef:a,timeout:s,children:e=>Hn.jsx(r,{...h,...d.root,...At(r,{classProps:p.root,styleProps:m,collapseStyleProps:y,transitioningStyles:Wr[e]}),ref:a,children:Hn.jsx(r,{ref:l,className:p.content,children:o})})})};qr.spiritComponent="Collapse";const Xr=e=>{const[n,r]=t.useState(e);return{toggleHandler:e=>{e.preventDefault(),r(!n)},toggle:r,isOpen:n}},Yr={isOpen:!1},Qr=e=>{const t={...Yr,...e},{children:n,hideOnCollapse:r,isDisposable:o,renderTrigger:s,...i}=t,{isOpen:a,toggleHandler:l}=Xr(i.isOpen),{ariaProps:c}=Ur({...i,isOpen:a}),p=r||o;return Hn.jsxs(Hn.Fragment,{children:[!s||p&&p&&a?null:s({isOpen:a,onClick:l,...c.trigger}),p&&a?n:Hn.jsx(qr,{...i,isOpen:a,children:n})]})};Qr.spiritComponent="UncontrolledCollapse";const Kr=({children:e,...t})=>{const{classProps:n}=_n(),{id:r}=Wn(),{styleProps:o,props:s}=Wt(t),{isOpen:i}=$n(r),{contentProps:a}=p({id:r,isOpen:i});return Hn.jsx(qr,{isOpen:i,...a,children:Hn.jsx("div",{...s,...o,className:y(n.content,o.className),children:e})})};Kr.spiritComponent="AccordionContent";const Zr=e=>{const{defaultOpen:t,stayOpen:n,...r}=e,{open:o,toggle:s}=i({defaultOpen:t,stayOpen:n});return Hn.jsx(Un,{...r,open:o,toggle:s})};function Jr(e){const{alignmentX:t,alignmentY:n,direction:r,spacing:o,spacingX:s,spacingY:i,isWrapping:a,...l}=e;tn({method:"custom",trigger:"row"===r||"column"===r,componentName:"Flex",customText:"Direction values `row` and `column` are deprecated and will be removed in the next major release. Use `horizontal` and `vertical` values instead."});const c=Zt("Flex"),p={...Pn(o,"flex",J.X),...Pn(o,"flex",J.Y),...Pn(s,"flex",J.X),...Pn(i,"flex",J.Y)},u=Ft(c,Dt(r));return{classProps:y(c,An(c,a),{[Gt(c,t,"alignmentX")]:t,[Gt(c,n,"alignmentY")]:n,[u]:r}),props:l,styleProps:p}}Zr.spiritComponent="UncontrolledAccordion",Zr.displayName="UncontrolledAccordion";const eo={alignmentX:R.STRETCH,alignmentY:O.STRETCH,direction:Z.HORIZONTAL,elementType:"div",isWrapping:!1},to=t.forwardRef(((e,t)=>{const n={...eo,...e},{elementType:r=eo.elementType,direction:o,children:s,...i}=n,a=r,{classProps:l,props:c,styleProps:p}=Jr({direction:o,...i}),{styleProps:u,props:d}=Wt({...c}),f=At(a,{classProps:l,flexStyle:p,styleProps:u,otherProps:d});return Hn.jsx(a,{...d,...f,ref:t,children:s})}));to.spiritComponent="Flex",to.displayName="Flex";const no={alignmentX:{mobile:R.STRETCH,tablet:R.LEFT},direction:{mobile:Z.VERTICAL,tablet:Z.HORIZONTAL}},ro=e=>{const{children:t,...n}=e,r={...no,...n};return Hn.jsx(to,{...r,children:t})};function oo(e){const{color:t,isCentered:n,...r}=e,o=Zt("Alert"),s=`${o}--${t}`,i=`${o}--center`;return{classProps:y(o,{[s]:t,[i]:n}),props:r}}ro.spiritComponent="ActionGroup";const so={color:"success",isCentered:!1,elementType:"div"},io=t.forwardRef(((e,t)=>{const n={...so,...e},{elementType:r,children:o,color:s,iconName:i,...a}=n,l=r,{classProps:c,props:p}=oo({color:s,...a}),{styleProps:u,props:d}=Wt(p),f=At(l,{classProps:c,styleProps:u,otherProps:d}),m=function({color:e,iconName:t}){const n=fn(e,{default:"info",success:"check-plain",informative:"info",warning:"warning",danger:"danger"});return t||n}({color:s,iconName:i,...d});return Hn.jsxs(l,{...d,...f,ref:t,children:[Hn.jsx(Qn,{name:m}),Hn.jsx("div",{children:o})]})}));io.spiritComponent="Alert",io.displayName="Alert";const ao=e=>{const{isSquare:t,size:n,...r}=e,o=Zt("Avatar"),s=`${o}--square`,i=Rt(o,n);return{classProps:y(o,...i,{[s]:t}),props:r}},lo={elementType:"div",isSquare:!1,size:W.MEDIUM},co=t.forwardRef(((e,t)=>{const n={...lo,...e},{elementType:r=lo.elementType,children:o,...s}=n,i=r,{classProps:a,props:l}=ao(s),{styleProps:c,props:p}=Wt(l),u=At(i,{classProps:a,styleProps:c});return Hn.jsx(i,{...p,...u,ref:t,children:o})}));co.spiritComponent="Avatar",co.displayName="Avatar";const po=e=>{const{backgroundColor:t,borderColor:n,borderStyle:r,borderWidth:o,textColor:s,...i}=e||{},a=Zt(`bg-${t}`),l=Zt("border-"),c=t?a:"";let p=n?n.replace("",l):"",u="";const d=o?o.replace("",l):"",f=Zt(s?`text-${s}`:"");o&&parseInt(o,10)>0&&(u=`${l}${r}`,n||(p=`${l}${$.BASIC}`));return{classProps:y(c,p,u,d,{[f]:!!s}),props:i}},uo={elementType:"div",borderStyle:D.SOLID},fo=t.forwardRef(((e,t)=>{const n={...uo,...e},{elementType:r=uo.elementType,children:o,...s}=n,i=r,{classProps:a,props:l}=po(s),{styleProps:c,props:p}=Wt(l,{...oe,...se,...ae}),u=At(i,{classProps:a,styleProps:c});return Hn.jsx(i,{...p,...u,ref:t,children:o})}));function mo(e){const{color:t,hasVisitedStyleAllowed:n,isDisabled:r,underlined:o,...s}=e,i=Zt("link"),a=`${i}-disabled`,l=`${i}-underlined`,c=`${i}-not-underlined`,p=`${i}-allow-visited-style`;return{classProps:y(`${i}-${t}`,{[a]:r,[l]:o===ve.ALWAYS,[c]:o===ve.NEVER,[p]:n}),props:s}}fo.spiritComponent="Box",fo.displayName="Box";const ho={elementType:"a",color:"primary",hasVisitedStyleAllowed:!1,underlined:"hover"},yo=t.forwardRef(((e,t)=>{const n={...ho,...e},{elementType:r=ho.elementType,children:o,...s}=n,i=r,{classProps:a,props:l}=mo(s),{styleProps:c,props:p}=Wt(l),u=At(i,{classProps:a,styleProps:c,otherProps:p});return Hn.jsx(i,{...p,...u,href:s.href,ref:t,children:o})}));yo.spiritComponent="Link",yo.displayName="Link";function go(e){const{isGoBackOnly:t,...n}=e,r=Zt("Breadcrumbs"),o=Zt("d-none"),s=Zt("d-tablet-flex"),i=Zt("d-tablet-none");return{classProps:{root:r,item:y({[o]:!t,[s]:!t,[i]:t})},props:n}}const bo={iconNameEnd:"chevron-right",iconNameStart:"chevron-left",isCurrent:!1,isGoBackOnly:!1},vo=e=>{const t={...bo,...e},{children:n,href:r,isCurrent:o,iconNameStart:s,iconNameEnd:i,...a}=t,{classProps:l,props:c}=go({...a}),{styleProps:p,props:u}=Wt(c);return Hn.jsxs("li",{...u,...p,className:y(l.item,p.className),children:[a.isGoBackOnly&&s&&Hn.jsx(Qn,{name:s}),!r&&o?n:Hn.jsx(yo,{href:r,color:o?"secondary":"primary",underlined:o?"hover":"always","aria-current":o?"page":void 0,children:n}),!o&&!a.isGoBackOnly&&i&&Hn.jsx(Qn,{name:i})]})};vo.spiritComponent="BreadcrumbsItem";const xo={elementType:"nav",items:[]},To=e=>{const n={...xo,...e},{children:r,elementType:o="nav",goBackTitle:s,items:i,...a}=n,{classProps:l,props:c}=go({...a}),{styleProps:p,props:u}=Wt(c),d=At(o,{classProps:l.root,styleProps:p}),f=(e,t)=>e===t-1;return Hn.jsx(o,{...u,...d,"aria-label":"Breadcrumb",children:Hn.jsx("ol",{children:r||i?.map(((e,n)=>Hn.jsxs(t.Fragment,{children:[n===i.length-2&&s&&Hn.jsx(vo,{href:e.url||void 0,isGoBackOnly:!0,children:s}),Hn.jsx(vo,{href:e.url||void 0,isCurrent:f(n,i?.length),children:e.title})]},`BreadcrumbsItem_${e.title}`)))})})};To.spiritComponent="Breadcrumbs";const Po=e=>{const{isDisabled:t,isLoading:n,onClick:r,type:o="button"}=e;return{buttonProps:{...{type:o,disabled:t||n},onClick:Jt(t,r)}}};function So(e){const{color:t,isBlock:n,isDisabled:r,isLoading:o,isSymmetrical:s,size:i,...a}=e;tn({method:"custom",trigger:!!n,componentName:"Button",customText:"The `isBlock` property will be deleted in the next major release. Please read component's documentation for more information."});const l=Zt("Button"),c=`${l}--block`,p=`${l}--disabled`,u=`${l}--loading`,{isSymmetricalActive:d,symmetricalClassName:f}=En(l,s);n&&d&&b(0,"isBlock and isSymmetrical props are mutually exclusive");const m=y(l,((e,t)=>De(Oe(t))(e))(l,t),((e,t)=>De($e(t))(e))(l,i),{[c]:n&&!d,[p]:r||o,[u]:o},f);return{classProps:m,props:a}}const Eo=t.createContext(null),Co=({value:e,children:n})=>{const r=t.useContext(Eo),o=r?{...r,...e}:e;return t.createElement(Eo.Provider,{value:o},n)},wo=Eo.Consumer,No=(e={})=>{const n=t.useContext(Eo);return n?{...e,...n}:e};function Ao(e){const{color:t,...n}=e,r=Zt("text"),o=t?`${r}-${t}`:"",s=Zt("animation-spin-clockwise");return{classProps:y(o,s),props:n}}const _o=e=>{const{classProps:t,props:n}=Ao(e),{styleProps:r,props:o}=Wt(n);return Hn.jsx(Qn,{...o,name:"spinner",UNSAFE_className:y(t,r.className),UNSAFE_style:r.style})};_o.spiritComponent="Spinner";const Ro={color:"primary",isBlock:!1,isDisabled:!1,isLoading:!1,isSymmetrical:!1,size:"medium",type:"button",elementType:"button"},ko=t.forwardRef(((e,t)=>{const n=No(),r={...Ro,...e,...n},{elementType:o=Ro.elementType,children:s,...i}=r,a=o,{buttonProps:l}=Po(i),{classProps:c,props:p}=So(i),{styleProps:u,props:d}=Wt(p),f=At(a,{classProps:c,styleProps:u,otherProps:d});return Hn.jsxs(a,{...d,...l,ref:t,...f,children:[s,i.isLoading&&Hn.jsx(_o,{})]})}));ko.spiritComponent="Button",ko.displayName="Button";const Oo=e=>{const{elementType:t,isDisabled:n,isLoading:r,onClick:o,href:s,target:i,rel:a}=e;return{buttonLinkProps:{...{role:"button",href:"a"===t&&n?void 0:s,target:"a"===t?i:void 0,disabled:n||r,rel:"a"===t?a:void 0},onClick:Jt(n,o)}}};function $o(e){const{color:t,isBlock:n,isDisabled:r,isLoading:o,isSymmetrical:s,size:i,...a}=e;tn({method:"custom",trigger:!!n,componentName:"ButtonLink",customText:"The `isBlock` property will be deleted in the next major release. Please read component's documentation for more information."});const l=Zt("Button"),c=`${l}--block`,p=`${l}--disabled`,u=`${l}--loading`,{isSymmetricalActive:d,symmetricalClassName:f}=En(l,s);n&&d&&b(0,"isBlock and isSymmetrical props are mutually exclusive");const m=y(l,((e,t)=>De(Oe(t))(e))(l,t),((e,t)=>De($e(t))(e))(l,i),{[c]:n&&!d,[p]:r||o,[u]:o},f);return{classProps:m,props:a}}const jo={color:"primary",elementType:"a",isBlock:!1,isDisabled:!1,isLoading:!1,isSymmetrical:!1,size:"medium"},Do=t.forwardRef(((e,t)=>{const n={...jo,...e},{elementType:r=jo.elementType,children:o,...s}=n,i=r,{buttonLinkProps:a}=Oo(n),{classProps:l,props:c}=$o(s),{styleProps:p,props:u}=Wt(c),d=At(i,{classProps:l,styleProps:p,otherProps:u});return Hn.jsxs(i,{...u,...a,...d,ref:t,children:[o,s.isLoading&&Hn.jsx(_o,{})]})}));function Lo(e){const{alignmentY:t,artworkAlignmentX:n,direction:r,footerAlignmentX:o,hasFilledHeight:s,isBoxed:i,isExpanded:a,isHeading:l,isSelectable:c,size:p}=e||{},u=Zt("Card"),d=`${u}Artwork`,f=`${u}Body`,m=`${u}Eyebrow`,h=`${u}Footer`,g=`${u}Link`,b=`${u}Logo`,v=`${u}Media`,x=`${u}Title`,T=`${f}--selectable`,P=Ft(u,Dt(r)),S=`${u}--boxed`,E=`${v}__canvas`,C=`${v}--filledHeight`,w=`${v}--expanded`,N=p?`${v}--${p}`:"",A=`${x}--heading`;return{classProps:{artwork:y(d,{[Gt(d,n,"alignmentX")]:n}),body:y(f,{[T]:c}),eyebrow:m,footer:y(h,{[Gt(h,o,"alignmentX")]:o}),link:g,logo:b,media:y(v,N,{[w]:a,[C]:s}),mediaCanvas:E,root:y(u,{[Gt(u,t,"alignmentY")]:t,[P]:r,[S]:i}),title:y(x,{[A]:l})}}}Do.spiritComponent="ButtonLink",Do.displayName="ButtonLink";const Io={direction:Z.VERTICAL,elementType:"article",isBoxed:!1},Mo=e=>{const t={...Io,...e},{elementType:n="article",alignmentY:r,direction:o,isBoxed:s,children:i,...a}=t,{classProps:l}=Lo({alignmentY:r,direction:o,isBoxed:s}),{styleProps:c,props:p}=Wt(a),u=At(n,{classProps:l.root,styleProps:c,otherProps:p});return Hn.jsx(n,{...p,...u,children:i})};Mo.spiritComponent="Card";const Fo={alignmentX:_.LEFT},Bo=e=>{const t={...Fo,...e},{children:n,alignmentX:r,...o}=t,{classProps:s}=Lo({artworkAlignmentX:r}),{styleProps:i,props:a}=Wt(o);return Hn.jsx("div",{...a,className:y(s.artwork,i.className),style:i.style,children:n})};Bo.spiritComponent="CardArtwork";const Ho={isSelectable:!1},Uo=e=>{const t={...Ho,...e},{children:n,isSelectable:r,...o}=t,{classProps:s}=Lo({isSelectable:r}),{styleProps:i,props:a}=Wt(o);return Hn.jsx("div",{...a,className:y(s.body,i.className),style:i.style,children:n})};Uo.spiritComponent="CardBody";const zo=e=>{const{children:t,...n}=e,{classProps:r}=Lo(),{styleProps:o,props:s}=Wt(n);return Hn.jsx("div",{...s,className:y(r.eyebrow,o.className),style:o.style,children:t})};zo.spiritComponent="CardEyebrow";const Vo={alignmentX:_.LEFT},Wo=e=>{const t={...Vo,...e},{children:n,alignmentX:r,...o}=t,{classProps:s}=Lo({footerAlignmentX:r}),{styleProps:i,props:a}=Wt(o);return Hn.jsx("footer",{...a,className:y(s.footer,i.className),style:i.style,children:n})};Wo.spiritComponent="CardFooter";const Go={elementType:"a"},qo=t.forwardRef(((e,t)=>{const n={...Go,...e},{elementType:r=Go.elementType,children:o,href:s,...i}=n,{classProps:a}=Lo(),{styleProps:l,props:c}=Wt(i),p=At(r,{classProps:a.link,styleProps:l,otherProps:c});return Hn.jsx(r,{...c,...l,...p,href:s,ref:t,children:o})}));qo.spiritComponent="CardLink",qo.displayName="CardLink";const Xo=e=>{const{children:t,...n}=e,{classProps:r}=Lo(),{styleProps:o,props:s}=Wt(n);return Hn.jsx("div",{...s,className:y(r.logo,o.className),style:{...o.style},children:t})};Xo.spiritComponent="CardLogo";const Yo={fit:ne.COVER,hasFilledHeight:!1,isExpanded:!1,size:he.AUTO},Qo=e=>{const t={...Yo,...e},{backgroundColor:n,children:r,fit:o,hasFilledHeight:s,isExpanded:i,size:a,...l}=t,{classProps:c}=Lo({size:a,isExpanded:i,hasFilledHeight:s}),{classProps:p,styleProps:u}=(e=>{const{backgroundColor:t,fit:n}=e||{},r=Zt(`bg-${t}`);return{classProps:t?r:"",styleProps:n?{[`--${P}card-media-object-fit`]:n}:{}}})({backgroundColor:n,fit:o}),{styleProps:d,props:f}=Wt(l,{...oe}),m=At("div",{classProps:y(c.media,p,d.className),styleProps:{...u,...d}});return Hn.jsx("div",{...f,...m,children:Hn.jsx("div",{className:c.mediaCanvas,children:r})})};Qo.spiritComponent="CardMedia";const Ko={elementType:"h4",isHeading:!0},Zo=e=>{const t={...Ko,...e},{elementType:n="h4",children:r,isHeading:o,...s}=t,{classProps:i}=Lo({isHeading:o}),{styleProps:a,props:l}=Wt(s),c=At(n,{classProps:i.title,styleProps:a,otherProps:l});return Hn.jsx(n,{...l,...c,children:r})};Zo.spiritComponent="CardTitle";const Jo={elementType:"div",id:void 0,registerAria:void 0},es=e=>{const n={...Jo,...e},{helperText:r,elementType:o=Jo.elementType,id:s,registerAria:i,...a}=n,{styleProps:l,props:c}=Wt(a),p=At(o,{styleProps:l,transferProps:c});return t.useEffect((()=>(r&&i?.({add:s}),()=>{i?.({remove:s})})),[r,s,i]),r?Hn.jsx(o,{...c,...p,id:s,children:r}):null};es.spiritComponent="HelperText";const ts=e=>{const{elementType:t="label",children:n,htmlFor:r,for:o,...s}=e,{styleProps:i,props:a}=Wt(s),l=At(t,{styleProps:i,otherProps:a});return Hn.jsx(t,{...a,...l,htmlFor:"label"===t?o||r:void 0,children:n})};ts.spiritComponent="Label";const ns=e=>{const[n,r]=t.useState(e?e.split(" "):[]);return[n,t.useCallback((({add:e,remove:t})=>{r((n=>{let r=[...n];return t&&(r=r.filter((e=>e!==t))),e&&(r=[...r,e]),r}))}),[])]};const rs={elementType:"div",id:void 0,registerAria:void 0,role:void 0},os=e=>{const n={...rs,...e},{elementType:r=rs.elementType,id:o,hasValidationStateIcon:s,registerAria:i,role:a,validationText:l,...c}=n,p=function({hasValidationStateIcon:e}){return fn(e,{success:"check-plain",warning:"warning",danger:"danger"})}({hasValidationStateIcon:s}),{styleProps:u,props:d}=Wt(c),f=At(r,{styleProps:u,transferProps:d});if(t.useEffect((()=>(l&&i?.({add:o}),()=>{i?.({remove:o})})),[o,i,l]),!l)return null;const m=s?Hn.jsx("div",{children:l}):l;return Hn.jsxs(r,{...d,...f,id:o,role:a,children:[s&&Hn.jsx(Qn,{name:p,boxSize:20}),Array.isArray(l)?Hn.jsx("ul",{children:l.map((e=>Hn.jsx("li",{children:e},`validationText_${e}`)))}):m]})};os.spiritComponent="ValidationText";const ss=({validationState:e,validationText:n})=>{const[r,o]=t.useState(),s=t.useRef(n),i=t.useRef(e);return t.useEffect((()=>{s.current===n&&i.current===e||o("alert"),s.current=n,i.current=e}),[n,e]),r};function is(e){const{inputPosition:t=te.START,isItem:n,isLabelHidden:r,validationState:o,...s}=e,{isDisabled:i,isRequired:a}=s,l=Zt("Checkbox"),c=`${l}--disabled`,p=`${l}--item`,u=`${l}__input`,d=mn(l,t),f=`${l}__text`,m=`${l}__label`,h=`${l}__label--required`,g=`${l}__label--hidden`,b=`${l}__helperText`,v=`${l}__validationText`,x=`${l}--${o}`;return{classProps:{root:y(l,{[d]:d,[c]:i,[p]:n,[x]:o}),text:f,label:y(m,{[h]:a,[g]:r}),input:u,helperText:b,validationText:v},props:{...s,validationState:o}}}const as=t.forwardRef(((e,t)=>{const{classProps:n,props:r}=is(e),{"aria-describedby":o="",hasValidationIcon:s,helperText:i,id:a,isChecked:l,isDisabled:c,isRequired:p,label:u,validationState:d,validationText:f,value:m,...h}=r,{styleProps:g,props:b}=Wt(h),[v,x]=ns(o),T=qt(v),P=ss({validationState:d,validationText:f});return Hn.jsxs("div",{style:g.style,className:y(n.root,g.className),children:[Hn.jsx("input",{...b,...T,type:"checkbox",id:a,className:n.input,disabled:c,required:p,checked:l,value:m,ref:t}),Hn.jsxs("div",{className:n.text,children:[Hn.jsx(ts,{UNSAFE_className:n.label,htmlFor:a,children:u}),Hn.jsx(es,{UNSAFE_className:n.helperText,id:`${a}__helperText`,registerAria:x,helperText:i}),d&&Hn.jsx(os,{UNSAFE_className:n.validationText,id:`${a}__validationText`,...s&&{hasValidationStateIcon:d},validationText:f,registerAria:x,role:P})]})]})}));function ls(e){const{isFluid:t,size:n,...r}=e,o=Zt("Container"),s=`${o}--fluid`,i=`${o}--${n}`;return{classProps:y(o,{[s]:t,[i]:!t&&n}),props:r}}as.spiritComponent="Checkbox",as.displayName="Checkbox";const cs={isFluid:!1,size:W.XLARGE},ps=e=>{const t={...cs,...e},{children:n,...r}=t,{classProps:o,props:s}=ls(r),{styleProps:i,props:a}=Wt(s,{textAlignment:le.textAlignment});return Hn.jsx("div",{...a,...i,className:y(o,i.className),children:n})};ps.spiritComponent="Container";const us=e=>{const{isDisabled:t,onClick:n,type:r="button"}=e;return{controlButtonProps:{...{type:r,disabled:t},onClick:Jt(t,n)}}};function ds(e){const{isDisabled:t,isSubtle:n,isSymmetrical:r,size:o,...s}=e,i=Zt("ControlButton"),a=`${i}--hasBackground`,l=`${i}--disabled`,c=Zt("dynamic-color-background-interactive"),p=Zt("dynamic-color-border"),u=Zt("accessibility-tap-target"),{symmetricalClassName:d}=En(i,r),f=y(i,((e,t)=>De($e(t))(e))(i,o),c,u,{[l]:t,[a]:!n,[p]:!n},d);return{classProps:f,props:s}}const fs={elementType:"button",isDisabled:!1,isSubtle:!1,isSymmetrical:!1,size:V.MEDIUM,type:"button"},ms=t.forwardRef(((e,t)=>{const n={...fs,...e},{elementType:r=fs.elementType,children:o,...s}=n,i=r,{controlButtonProps:a}=us(s),{classProps:l,props:c}=ds(s),{styleProps:p,props:u}=Wt(c),d=At(i,{classProps:l,styleProps:p,otherProps:u});return Hn.jsx(i,{...u,...a,ref:t,...d,children:o})}));ms.spiritComponent="ControlButton",ms.displayName="ControlButton";const hs=(e,n)=>{const r=t.useRef(null),o=t.useCallback((()=>{null!==r.current&&(clearTimeout(r.current),r.current=null)}),[]),s=t.useCallback((e=>{o(),r.current=setTimeout((()=>{e.open&&e.close&&e.close()}),300)}),[o]),i=t.useCallback((t=>{const r=e?.current;r&&t.target===r&&!n&&r.open&&r.close&&(o(),r.close())}),[n,e,o]);Tn(e,n);const a=t.useCallback((t=>{const n=e?.current;n?.classList&&(t?n.classList.add(v):n.classList.remove(v))}),[e]);t.useEffect((()=>{const t=e?.current;return t&&(n?(o(),!t.open&&t.showModal&&(t.showModal(),a(!0))):!n&&t.open&&(a(!1),s(t))),()=>{o()}}),[n,e,a,o,s]);return{openDialog:()=>{const t=e?.current;t&&(o(),!t.open&&t.showModal&&(t.showModal(),a(!0)))},closeDialog:()=>{const t=e?.current;t&&t.open&&(a(!1),s(t))},onTransitionEnd:i}},ys=t.forwardRef(((e,n)=>{const{children:r,isOpen:o,onClose:s,closeOnBackdropClick:i=!0,closeOnEscapeKeyDown:a,...l}=e,c=t.useRef(n),p=t.useRef(null),{closeDialog:u,onTransitionEnd:d}=hs(c,o);en({ref:p,callback:o?e=>{i&&e.target===c.current&&(u(),s(e))}:void 0}),Kt(c,s,a,o);const f=t.Children.only(r);return Hn.jsx("dialog",{ref:c,onTransitionEnd:d,...l,children:t.cloneElement(f,{ref:e=>{p.current=e}})})}));function gs(e){return{classProps:Zt("Divider"),props:e}}ys.spiritComponent="Dialog",ys.displayName="Dialog";const bs=e=>{const{classProps:t,props:n}=gs(e),{styleProps:r,props:o}=Wt(n);return Hn.jsx("hr",{...o,...r,className:y(t,r.className)})};bs.spiritComponent="Divider";const vs=_.RIGHT,xs=t.createContext({id:"",isOpen:!1,onClose:()=>null}),Ts=xs.Provider,Ps=xs.Consumer,Ss=()=>t.useContext(xs),Es=(e={})=>{const{drawerAlignmentX:t=vs,isOpen:n=!1}=e,r=Zt("Drawer"),o=`${r}Panel`,s=`${o}__content`,i=`${r}CloseButton`;return{classProps:{root:y(r,{left:`${r}--left`,right:`${r}--right`}[t],{[v]:n}),panel:o,content:s,closeButton:i}}},Cs=e=>{const{children:t,alignmentX:n=vs,isOpen:r,onClose:o,id:s,...i}=e,{classProps:a}=Es({drawerAlignmentX:n}),{styleProps:l,props:c}=Wt(i),p={id:s,isOpen:r,onClose:o};return hn(r),Hn.jsx(Ts,{value:p,children:Hn.jsx(ys,{...c,...l,id:s,isOpen:r,onClose:o,className:y(a.root,l.className),children:t})})};Cs.spiritComponent="Drawer";const ws=e=>{const{children:t,elementType:n="span",...r}=e,{classProps:o,props:s}=function(e){const{...t}=e;return{classProps:Zt("accessibility-hidden"),props:t}}(r),{styleProps:i,props:a}=Wt(s),l=At(n,{classProps:o,styleProps:i,otherProps:a});return Hn.jsx(n,{...a,...l,children:t})};ws.spiritComponent="VisuallyHidden";const Ns={color:M.TERTIARY,iconBoxSize:24,size:V.MEDIUM},As=e=>{const t={...Ns,...e},{color:n,iconBoxSize:r,label:o,size:s,...i}=t,{t:a}=ln(),l=o??a("common.close"),{id:c,isOpen:p,onClose:u}=Ss(),{classProps:d}=Es(),{styleProps:f,props:m}=Wt(i);return Hn.jsxs(ko,{...m,"aria-expanded":p,"aria-controls":c,onClick:u,color:n,size:s,UNSAFE_className:y(d.closeButton,f.className),UNSAFE_style:f.style,isSymmetrical:!0,children:[Hn.jsx(Qn,{name:"close",boxSize:r}),Hn.jsx(ws,{children:l})]})};As.spiritComponent="DrawerCloseButton";const _s=t.forwardRef(((e,t)=>{const{elementType:n="div",children:r,...o}=e,s=n,{classProps:i}=Es(o),{styleProps:a,props:l}=Wt(o),c=At(s,{classProps:i.panel,styleProps:a,otherProps:l});return Hn.jsx(s,{...l,...c,ref:t,children:Hn.jsx("div",{className:i.content,children:r})})}));_s.spiritComponent="DrawerPanel",_s.displayName="DrawerPanel";const Rs="aria-expanded",ks="aria-controls",Os="data-spirit-fullwidthmode",$s="data-spirit-placement";var js=(e=>(e.off="off",e["mobile-only"]="mobile-only",e.all="all",e))(js||{});const Ds=e=>{const{fullWidthMode:t,id:n,isOpen:r,placement:o=z.BOTTOM_START,toggleHandler:s}=e,i={[Rs]:r,[ks]:String(n),onClick:s};return{contentProps:{id:n,[Os]:t,[$s]:o},triggerProps:i}},Ls={dropdownRef:{current:null},fullWidthMode:js.off,id:"",isOpen:!1,onToggle:()=>{},placement:z.BOTTOM_START,triggerRef:{current:void 0}},Is=t.createContext(Ls),Ms=Is.Provider;Is.Consumer;const Fs=()=>t.useContext(Is),Bs=(e={isOpen:!1})=>{const{alignmentX:t,alignmentY:n,isOpen:r,...o}=e,s=Zt("Dropdown"),i=`${s}Popover`,a=r?"is-expanded":"",l=r?v:"",c=y(s,{[Gt(s,t,"alignmentX")]:t,[Gt(s,n,"alignmentY")]:n}),p=y(i,l);return{classProps:{root:c,trigger:y(a),popover:p},props:o}},Hs=e=>{const{children:n,enableAutoClose:r=!0,fullWidthMode:o,id:s,isOpen:i=!1,onAutoClose:a,onToggle:l,placement:c,...p}=e,{classProps:u,props:d}=Bs({isOpen:i,...p}),{styleProps:f,props:m}=Wt(d),h=t.useRef(null),g=t.useRef();return en({ref:h,callback:e=>{r&&(g?.current?.contains(e?.target)||(a&&a(e),l&&i&&l()))}}),Hn.jsx(Ms,{value:{id:s,isOpen:i,fullWidthMode:o,placement:c,onToggle:l,dropdownRef:h,triggerRef:g},children:Hn.jsx("div",{ref:h,className:y(u.root,f.className),style:f.style,...m,children:n})})};Hs.spiritComponent="Dropdown";const Us={elementType:"button"},zs=e=>{const t={...Us,...e},{elementType:n="button",children:r,...o}=t,{id:s,isOpen:i,onToggle:a,fullWidthMode:l,triggerRef:c}=Fs(),{classProps:p,props:u}=Bs({isOpen:i,...o}),{styleProps:d,props:f}=Wt(u),m=At(n,{classProps:p.trigger,triggerStyleProps:d}),{triggerProps:h}=Ds({id:s,isOpen:i,toggleHandler:a,fullWidthMode:l});return Hn.jsx(n,{...f,...h,...m,ref:c,children:"function"==typeof r?r({isOpen:i}):r})};zs.spiritComponent="DropdownTrigger";const Vs=e=>{const{children:t,...n}=e,{id:r,isOpen:o,onToggle:s,fullWidthMode:i,placement:a}=Fs(),{classProps:l,props:c}=Bs({isOpen:o,...n}),{styleProps:p,props:u}=Wt(c),{contentProps:d}=Ds({id:r,isOpen:o,toggleHandler:s,placement:a,fullWidthMode:i});return Hn.jsx("div",{className:y(l.popover,p.className),style:p.style,...d,...u,children:t})};Vs.spiritComponent="DropdownPopover";const Ws=({dropdownRef:e,triggerRef:n,enableAutoClose:r,onAutoClose:o})=>{const[s,i]=t.useState(!1);return en({ref:e,callback:e=>{r&&(n?.current?.contains(e?.target)||(o&&o(e),i(!1)))}}),{toggleHandler:e=>{e.preventDefault(),i(!s)},isOpen:s}},Gs=e=>{const{children:n,enableAutoClose:r=!0,fullWidthMode:o,id:s,onAutoClose:i,placement:a,...l}=e,{classProps:c,props:p}=Bs(l),{styleProps:u,props:d}=Wt(p),f=t.useRef(null),m=t.useRef(),{isOpen:h,toggleHandler:g}=Ws({dropdownRef:f,triggerRef:m,enableAutoClose:r,onAutoClose:i});return Hn.jsx(Ms,{value:{id:s,isOpen:h,fullWidthMode:o,placement:a,onToggle:g,dropdownRef:f,triggerRef:m},children:Hn.jsx("div",{ref:f,...u,...d,className:y(c.root,u.className),children:n})})};function qs(e){const{hasEndDivider:t,hasIntermediateDividers:n,hasSpacing:r,hasStartDivider:o,spacing:s,...i}=e,a=Zt("Stack"),l=`${a}--hasEndDivider`,c=`${a}--hasIntermediateDividers`,p=`${a}--hasSpacing`,u=`${a}--hasStartDivider`;return{classProps:{root:y(a,{[l]:t,[c]:n,[p]:r||s,[u]:o}),item:y(`${a}Item`)},props:i,styleProps:Pn(s,"stack")}}Gs.spiritComponent="UncontrolledDropdown";const Xs=["ul","ol"],Ys={elementType:"div",hasSpacing:!1,hasEndDivider:!1,hasIntermediateDividers:!1,hasStartDivider:!1},Qs=t.forwardRef(((e,t)=>{const n={...Ys,...e},{elementType:r=Ys.elementType,children:o,...s}=n,i=r,{classProps:a,props:l,styleProps:c}=qs(s),{styleProps:p,props:u}=Wt(l),d=At(i,{classProps:a.root,stackStyle:c,styleProps:p,otherProps:u}),f=Xs.includes(r)?"li":void 0;return Hn.jsx(Co,{value:{elementType:f},children:Hn.jsx(i,{...u,...d,ref:t,children:o})})}));Qs.spiritComponent="Stack",Qs.displayName="Stack";const Ks="div",Zs=t.forwardRef(((e,t)=>{const{elementType:n}=e,r=No(e),{children:o,elementType:s,...i}=r,a=n??s??Ks,{classProps:l,props:c}=qs(i),{styleProps:p,props:u}=Wt(c),d=At(a,{classProps:l.item,styleProps:p,otherProps:u});return Hn.jsx(a,{...u,...d,ref:t,children:Hn.jsx(Co,{value:{elementType:void 0},children:o})})}));function Js(e){const t=Zt("EmptyState");return{classProps:{root:t,section:`${t}__section`},props:e}}Zs.spiritComponent="StackItem",Zs.displayName="StackItem";const ei=e=>{const{children:t,...n}=e,{classProps:r,props:o}=Js(n),{styleProps:s,props:i}=Wt(o);return Hn.jsx(Qs,{...i,UNSAFE_className:y(r.root,s.className),UNSAFE_style:s.style,children:t})};ei.spiritComponent="EmptyState";const ti=e=>{const{children:t,...n}=e,{classProps:r,props:o}=Js(n),{styleProps:s,props:i}=Wt(o);return Hn.jsx(Qs,{...i,UNSAFE_className:y(r.section,s.className),UNSAFE_style:s.style,children:t})};ti.spiritComponent="EmptyStateSection";const ni=e=>{const{"aria-describedby":t="",children:n,helperText:r,hasValidationIcon:o,id:s,isDisabled:i,isFluid:a,isLabelHidden:l,isRequired:c,label:p,validationState:u,validationText:d,...f}=e,{classProps:m}=(({isFluid:e,isRequired:t,validationState:n})=>{const r=Zt("FieldGroup"),o=`${r}--fluid`,s=`${r}--${n}`,i=`${r}__label`,a=`${i}--required`,l=`${r}__fields`,c=`${r}__validationText`,p=`${r}__helperText`;return{classProps:{root:y(r,{[o]:e,[s]:n}),label:y(i,{[a]:t}),fields:l,validationText:c,helperText:p}}})({isFluid:a,isRequired:c,validationState:u}),{styleProps:h,props:g}=Wt(f),[b,v]=ns(t),x=qt(b),T=ss({validationState:u,validationText:d});return Hn.jsxs("fieldset",{...g,...h,...x,className:y(m.root,h.className),disabled:i,children:[Hn.jsx(ws,{elementType:"legend",children:p}),!l&&Hn.jsx("div",{className:m.label,"aria-hidden":"true",children:p}),Hn.jsx("div",{className:m.fields,children:n}),Hn.jsx(es,{UNSAFE_className:m.helperText,id:`${s}__helperText`,registerAria:v,helperText:r}),u&&Hn.jsx(os,{UNSAFE_className:m.validationText,...o&&{hasValidationStateIcon:u},id:`${s}__helperText`,validationText:d,registerAria:v,role:T})]})};ni.spiritComponent="FieldGroup";const ri=1e7,oi=1,si="The file size limit has been exceeded",ii="This file already exists in the queue",ai="You have exceeded the number of files allowed in the queue",li="This file type is not supported",ci="file",pi={TOP:"--file-uploader-attachment-image-top",LEFT:"--file-uploader-attachment-image-left",WIDTH:"--file-uploader-attachment-image-width",HEIGHT:"--file-uploader-attachment-image-height"},ui={addToQueue:()=>new Map,clearQueue:()=>null,fileQueue:new Map,onDismiss:()=>new Map,findInQueue:()=>null,updateQueue:()=>new Map,errorMessages:{errorFileDuplicity:"",errorFileNotSupported:"",errorMaxFileSize:"",errorMaxUploadedFiles:""}},di=t.createContext(ui),fi=di.Provider;di.Consumer;const mi=()=>t.useContext(di),hi=e=>{const t=Zt("FileUploader"),n="has-drag-and-drop",r=`${t}--fluid`,o=`${t}Input`,s=`${o}--disabled`,i=`${o}--${e?.validationState}`,a="is-dragging",l=`${o}__dragAndDropLabel`,c=`${o}__dropZone`,p=`${c}Label`,u=`${o}__helperText`,d="d-none",f=`${o}__input`,m=`${o}__label`,h=`${o}__label--hidden`,g=`${o}__label--required`,b=`${o}__link`,v=`${o}__validationText`,x=`${t}List`,T=`${t}Attachment`,P=`${T}__name`,S=`${T}__action`,E=`${T}__image`,C=`${T}__slot`,{meta:w,imageObjectFit:N}=e||{};let A,_;const R=null!=w&&["x","y","cropWidth","cropHeight","originalWidth","originalHeight"].every((e=>null!=w[e]));if(R){const{x:e,y:t,cropWidth:n,cropHeight:r,originalWidth:o,originalHeight:s}=w,i=54;let a;a=r>n?i/n:i/r;const l=Math.round(e*a),c=Math.round(t*a),p=Math.round(o*a),u=Math.round(s*a);A={[pi.TOP]:`-${c}px`,[pi.LEFT]:`-${l}px`,[pi.WIDTH]:`${p}px`,[pi.HEIGHT]:`${u}px`}}return N&&(_={"--file-uploader-attachment-image-object-fit":N}),{classProps:{root:y(t,{[r]:e?.isFluid}),input:{root:y(o,{[n]:e?.isDragAndDropSupported,[s]:e?.isDisabled||e?.isDisabledByQueueLimitBehavior&&"disable"===e?.queueLimitBehavior,[a]:e?.isDragging,[d]:e?.isDropZoneHidden&&"hide"===e.queueLimitBehavior,[i]:e?.validationState}),label:y(m,{[g]:e?.isRequired,[h]:e?.isLabelHidden}),input:f,dropLabel:l,helper:u,link:y(b,"link-primary","link-underlined"),validationText:v,dropZone:{root:c,label:p}},list:x,attachment:{root:T,button:S,name:P,image:E,slot:C},...R&&{imageCropStyles:A},...N&&{attachmentStyles:_}}}},yi=e=>{const{addToQueue:t,children:n,clearQueue:r,errorMessages:o,fileQueue:s,findInQueue:i,id:a,isFluid:l,onDismiss:c,updateQueue:p,...u}=e,{classProps:d}=hi({isFluid:l}),{styleProps:f,props:m}=Wt(u),h={addToQueue:t,clearQueue:r,fileQueue:s,onDismiss:c,findInQueue:i,updateQueue:p,errorMessages:{errorFileDuplicity:ii,errorFileNotSupported:li,errorMaxFileSize:si,errorMaxUploadedFiles:ai,...o}};return Hn.jsx(fi,{value:h,children:Hn.jsx("div",{id:a,...m,...f,className:y(d.root,f.className),children:n})})};yi.spiritComponent="FileUploader";const gi=e=>{const{maxFileSize:n,maxUploadedFiles:r,queueLimitBehavior:o,isMultiple:s,onError:i,accept:a}=e,[l,c]=t.useState(!1),[p,u]=t.useState(!1),{fileQueue:d,addToQueue:f,clearQueue:m,errorMessages:h}=mi(),y=e=>`file__${e.replace(/\./g,"_").replace(/\s/g,"_")}`,g=e=>{try{s||m(),(e=>{if(s&&d.has(y(e.name)))throw new Error(`${e.name}: ${h?.errorFileDuplicity}`)})(e),(e=>{if(e.size>n)throw new Error(`${e.name}: ${h?.errorMaxFileSize}`)})(e),(e=>{const t=e.name.split(".").pop()?.toLowerCase(),n=e.type;let r;if(a&&""!==a&&"*"!==a&&"*/*"!==a){const e=a.replace(/ /g,"").split(","),o=e.filter((e=>e.match(/\./g))),s=e.filter((e=>e.match(/\//g)));o.forEach((e=>{const n=e.replace(".","").replace("*","");t.match(n)&&(r=!0)})),s.forEach((e=>{const t=e.replace("*","");n.match(t)&&(r=!0)}))}else r=!0;if(!r)throw new Error(`${e.name}: ${h?.errorFileNotSupported}`)})(e),(()=>{if(d.size>=r)throw new Error(h?.errorMaxUploadedFiles)})(),(()=>{if(r>1&&!s)throw new Error("`isMultiple` props must be set when maxUploadedFiles is greater than `1`")})(),f(y(e.name),e)}catch(e){i?i(e):b(0,e)}};t.useEffect((()=>{var e;e=d,o&&("hide"===o?u(e?.size>=r):c(e?.size>=r))}),[d]);return{isDropZoneHidden:p,isDisabledByQueueLimitBehavior:l,onChange:e=>{const{files:t}=e.target,n=Array.prototype.slice.call(t);let o,s=0;s+=d.size,n.forEach((e=>{s<r?(g(e),s+=1):o=!0})),o&&i&&h?.errorMaxUploadedFiles&&i(new Error(h?.errorMaxUploadedFiles)),e.target.blur(),e.target.value=""},...rn({onDrop:e=>{const t=Array.from(e.dataTransfer.items),n=Array.from(e.dataTransfer.files);let o,s=0;s+=d.size,e.dataTransfer.items?t.forEach((e=>{if("file"===e.kind){const t=e.getAsFile();t&&s<r?(g(t),s+=1):o=!0}})):n.forEach((e=>{s<r?(g(e),s+=1):o=!0})),o&&i&&h?.errorMaxUploadedFiles&&i(new Error(h?.errorMaxUploadedFiles))}})}},bi=e=>{const[n,r]=t.useState(!1),{accept:o,"aria-describedby":s="",dropZoneRef:i,hasValidationIcon:a,helperText:l,iconName:c="upload",id:p,inputRef:u,isDisabled:d,isLabelHidden:f,isMultiple:m,isRequired:h,label:g,labelText:b,linkText:v,maxFileSize:x=ri,maxUploadedFiles:T=oi,onError:P,queueLimitBehavior:S="none",validationState:E,validationText:C,...w}=e,{isDisabledByQueueLimitBehavior:N,isDragging:A,isDropZoneHidden:_,onChange:R,onDragEnter:k,onDragLeave:O,onDragOver:$,onDrop:j}=gi({accept:o,isMultiple:m,maxFileSize:x,maxUploadedFiles:T,onError:P,queueLimitBehavior:S}),{classProps:D}=hi({isDisabled:d,isDisabledByQueueLimitBehavior:N,isDragAndDropSupported:n,isDragging:A,isDropZoneHidden:_,isLabelHidden:f,isRequired:h,queueLimitBehavior:S,validationState:E}),{styleProps:L,props:I}=Wt(w),[M,F]=ns(s),B=qt(M),H=ss({validationState:E,validationText:C});return t.useEffect((()=>{r("draggable"in document.createElement("span"))}),[]),Hn.jsxs("div",{...I,...L,onDragOver:!d&&n?$:void 0,onDragEnter:!d&&n?k:void 0,onDragLeave:!d&&n?O:void 0,onDrop:!d&&n?j:void 0,className:y(D.input.root,L.className),children:[Hn.jsx(ts,{htmlFor:p,UNSAFE_className:D.input.label,children:g}),Hn.jsx("input",{...B,type:"file",accept:o,id:p,ref:u,className:D.input.input,onChange:R,multiple:m,disabled:d||N,...w}),Hn.jsxs("div",{ref:i,className:D.input.dropZone.root,children:[Hn.jsx(Qn,{name:c,"aria-hidden":"true"}),Hn.jsxs(ts,{htmlFor:p,UNSAFE_className:D.input.dropZone.label,children:[Hn.jsx("span",{className:D.input.link,children:v})," ",Hn.jsx("span",{className:D.input.dropLabel,children:b})]}),Hn.jsx(es,{UNSAFE_className:D.input.helper,id:`${p}__helperText`,registerAria:F,helperText:l})]}),E&&Hn.jsx(os,{UNSAFE_className:D.input.validationText,elementType:"span",...a&&{hasValidationStateIcon:E},id:`${p}__validationText`,validationText:C,registerAria:F,role:H})]})};bi.spiritComponent="FileUploaderInput";const vi=e=>{const{t:n}=ln(),{label:r,id:o,attachmentComponent:s,inputName:i,hasImagePreview:a,...l}=e,c=r??n("fileUploader.attachments"),{classProps:p}=hi(),{styleProps:u,props:d}=Wt(l),{fileQueue:f,onDismiss:m}=mi(),h=t.useMemo((()=>Array.from(f,(e=>({key:e[0],file:e[1].file,meta:e[1].meta}))).map((({key:e,file:t,meta:n})=>s&&s({id:e,label:t.name,name:i,file:t,meta:n,onDismiss:m,hasImagePreview:a})))),[s,f,i,m,a]);return Hn.jsxs(Hn.Fragment,{children:[Hn.jsx("h3",{id:o,hidden:!0,children:c}),Hn.jsx("ul",{"aria-labelledby":o,...d,...u,className:y(p.list,u.className),children:h})]})};vi.spiritComponent="FileUploaderList";const xi=e=>{const{name:t="edit",children:n,...r}=e,{classProps:o}=hi(),{styleProps:s,props:i}=Wt(r);return Hn.jsxs("button",{type:"button",...i,...s,className:y(o.attachment.button,s.className),children:[Hn.jsx(ws,{children:n}),Hn.jsx(Qn,{name:t,"aria-hidden":"true"})]})};xi.spiritComponent="AttachmentActionButton";const Ti=e=>{const{children:t,...n}=e,{classProps:r}=hi(),{styleProps:o,props:s}=Wt(n);return Hn.jsxs("button",{type:"button",...s,...o,className:y(r.attachment.button,o.className),children:[Hn.jsx(ws,{children:t}),Hn.jsx(Qn,{name:"close","aria-hidden":"true"})]})};Ti.spiritComponent="AttachmentDismissButton";const Pi={meta:void 0,imageObjectFit:"cover"},Si=e=>{const t={...Pi,...e},{label:n,imagePreview:r,meta:o,imageObjectFit:s}=t,{classProps:i}=hi({meta:o,imageObjectFit:s}),{imageCropStyles:a,attachmentStyles:l}=i;return Hn.jsx("span",{className:i.attachment.image,children:Hn.jsx("img",{src:r,width:54,height:54,alt:n,style:{...a,...l}})})};Si.spiritComponent="AttachmentImagePreview";const Ei=(e,t,n)=>{const r=document.createElement("input"),o=new DataTransfer;if(e)return o.items?.add(e),r.setAttribute("type","file"),r.setAttribute("name",`${t}[]`),r.setAttribute("hidden",""),r.files=o.files,r;n?n("File not found"):b(0,"File not found")},Ci=(e,t,n)=>{const r=document.createElement("input");return r.setAttribute("type","text"),r.setAttribute("name",`${t}_meta`),r.setAttribute("value",JSON.stringify(n)),r.setAttribute("hidden",""),r},wi=(e,t,n)=>{const r=new FileReader;r.onload=e=>{const r=new Image;r.onload=()=>{const e=document.createElement("canvas"),o=e.getContext("2d");e.width=t,e.height=r.height/r.width*t,o?.drawImage(r,0,0,e.width,e.height);const s=e.toDataURL("image/jpeg",.8);n(s)},e.target&&e.target.result&&(r.src=e.target.result.toString())},r.readAsDataURL(e)},Ni=({attachmentRef:e,file:t,name:n,meta:r,onError:o})=>{Xt((()=>{(r=>{e.current?.querySelectorAll("input").forEach((e=>e.remove()));const s=Ei(t,n,o);if(s&&e.current?.appendChild(s),r){const t=Ci(0,n,r);e.current?.appendChild(t)}})(r)}),[e,t,n,r,o])},Ai=e=>{const{t:n}=ln(),{editText:r,file:o,hasImagePreview:s,iconName:i=ci,id:a,imageObjectFit:l,label:c,meta:p,name:u,onDismiss:d,onEdit:f,onError:m,removeText:h,...g}=e,b=r??n("fileUploader.edit"),v=h??n("fileUploader.remove"),[x,T]=t.useState(""),{classProps:P}=hi(),{styleProps:S,props:E}=Wt(g),C=o.type.includes("image"),w=t.useRef();return C&&wi(o,500,(e=>T(e))),Ni({attachmentRef:w,file:o,name:u,meta:p,onError:m}),Hn.jsxs("li",{id:a,ref:w,...E,...S,className:y(P.attachment.root,S.className),children:[s&&x?Hn.jsx(Si,{label:c,imagePreview:x,meta:p,imageObjectFit:l}):Hn.jsx(Qn,{name:i,"aria-hidden":"true"}),Hn.jsx("span",{className:P.attachment.name,children:Hn.jsx("span",{className:Zt("text-truncate"),children:c})}),f&&Hn.jsx("span",{className:P.attachment.slot,children:Hn.jsx(xi,{onClick:e=>f&&f(e,o),children:b})}),Hn.jsx(Ti,{onClick:()=>{d&&d(a)},children:v})]})};Ai.spiritComponent="FileUploaderAttachment";const _i=()=>{const[e,n]=t.useState(new Map);return{addToQueue:(t,r,o)=>(n((e=>{const n={file:r};return null!=o&&(n.meta=o),new Map(e.set(t,n))})),e),clearQueue:()=>{n((e=>(e.clear(),new Map(e))))},fileQueue:e,findInQueue:t=>e.get(t)||null,onDismiss:t=>(n((e=>{const n=new Map(e);return n.delete(t),n})),e),updateQueue:(t,r,o)=>(n((e=>{const n=new Map(e),s={file:r};return null!=o&&(s.meta=o),n.set(t,s),n})),e)}},Ri=e=>{const{attachmentComponent:n,maxFileSize:r,maxUploadedFiles:o,helperText:s,iconName:i,inputId:a,inputLabel:l,inputName:c,inputProps:p,isLabelHidden:u,isDisabled:d,isFluid:f,queueLimitBehavior:m,isMultiple:h,isRequired:y,labelText:g,linkText:b,listId:v,listProps:x,onInputError:T,onChange:P,errorMessages:S,validationState:E,validationText:C,...w}=e,{fileQueue:N,addToQueue:A,clearQueue:_,onDismiss:R,findInQueue:k,updateQueue:O}=_i();return t.useEffect((()=>{P&&P(N)}),[N]),Hn.jsxs(yi,{fileQueue:N,onDismiss:R,addToQueue:A,clearQueue:_,findInQueue:k,updateQueue:O,errorMessages:S,isFluid:f,...w,children:[Hn.jsx(bi,{maxFileSize:r,maxUploadedFiles:o,helperText:s,iconName:i,id:a,isLabelHidden:u,isDisabled:d,queueLimitBehavior:m,isMultiple:h,isRequired:y,label:l,labelText:g,linkText:b,name:c,onError:T,validationState:E,validationText:C,...p}),Hn.jsx(vi,{id:v,inputName:c,attachmentComponent:n,...x})]})};Ri.spiritComponent="UncontrolledFileUploader";const ki={backgroundColor:I.SECONDARY,elementType:"footer",paddingBottom:"space-1200",paddingTop:"space-1400"},Oi=t.forwardRef(((e,t)=>{const n={...ki,...e},{elementType:r=ki.elementType,children:o,backgroundColor:s,...i}=n,a=r,{classProps:l}=(e=>{const{backgroundColor:t}=e,n=Zt(`bg-${t}`),r=t?n:"";return{classProps:y({[r]:t})}})({backgroundColor:s}),{styleProps:c,props:p}=Wt(i,{paddingBottom:ae.paddingBottom,paddingTop:ae.paddingTop,textAlignment:le.textAlignment}),u=At(a,{classProps:l,styleProps:c,otherProps:p});return Hn.jsx(a,{...p,...u,ref:t,children:o})}));function $i(e){const{alignmentX:t,alignmentY:n,cols:r,spacing:o,spacingX:s,spacingY:i,...a}=e,l=Zt("Grid"),c={...Pn(o,"grid",J.X),...Pn(o,"grid",J.Y),...Pn(s,"grid",J.X),...Pn(i,"grid",J.Y)};return{classProps:y(l,{[Gt(l,t,"alignmentX")]:t,[Gt(l,n,"alignmentY")]:n,[function(e,t,n){return"object"==typeof t&&null!==t?Object.keys(t).map((r=>{const o="mobile"===r?"":`--${r}`,s=t[r];return`${e}${o}--${n}-${s}`})).join(" "):`${e}--${n}-${t}`}(l,r,"cols")]:r}),props:a,styleProps:c}}Oi.spiritComponent="Footer",Oi.displayName="Footer";const ji={alignmentX:R.STRETCH,alignmentY:O.STRETCH,elementType:"div"},Di=t.forwardRef(((e,t)=>{const n={...ji,...e},{elementType:r=ji.elementType,children:o,...s}=n,i=r,{classProps:a,props:l,styleProps:c}=$i(s),{styleProps:p,props:u}=Wt(l),d=At(i,{classProps:a,styleProps:p,otherProps:u,gridStyle:c});return Hn.jsx(i,{...u,...d,ref:t,children:o})}));Di.spiritComponent="Grid",Di.displayName="Grid";const Li=(e,t,n)=>{e[t]=n};function Ii(e){const t=Zt("GridItem"),n={},r={...e};return Object.keys(r).filter((e=>e.startsWith("column")||e.startsWith("row"))).forEach((e=>{const t=e.startsWith("column")?"column":"row",o=r[e];var s,i,a;o&&(s=n,i=`grid-item-${t}-${e.replace(t,"").toLowerCase()}`,"object"==typeof(a=o)&&null!==a?Object.keys(a).forEach((e=>{Li(s,`--${i}${"mobile"===e?"":`-${e}`}`,a[e]?.toString())})):Li(s,`--${i}`,a?.toString())),delete r[e]})),{classProps:t,props:r,styleProps:n}}const Mi={elementType:"div"},Fi=t.forwardRef(((e,t)=>{const{elementType:n=Mi.elementType,children:r,...o}=e,s=n,{classProps:i,styleProps:a,props:l}=Ii(o),{styleProps:c,props:p}=Wt(l),u=At(s,{classProps:i,styleProps:c,otherProps:p,gridItemStyle:a});return Hn.jsx(s,{...p,...u,ref:t,children:r})}));Fi.spiritComponent="GridItem",Fi.displayName="GridItem";const Bi="primary",Hi="primary",Ui="Close",zi="Menu",Vi=({actionsColor:e=Hi,color:t=Bi,hasActionsAtEnd:n,isCurrentLink:r,isSimple:o}={actionsColor:Hi,color:Bi,hasActionsAtEnd:!1,isCurrentLink:!1,isSimple:!1})=>{const s=Zt("Header"),i=`${s}--simple`,a=`${s}Nav`,l=`${s}NavItem`,c=`${s}Link`,p=`${c}--current`,u=`${s}DesktopActions`,d=`${u}--end`,f=`${s}MobileActions`,m=`${s}Dialog`,h=`${m}__panel`,g=`${m}__content`,b=`${s}DialogActions`,v=`${b}--${e}`,x=`${s}DialogCloseButton`,T=`${s}DialogLink`,P=`${T}--current`,S=`${s}DialogNav`,E=`${s}DialogNavItem`,C=`${s}DialogText`;return{classProps:{root:y(s,`${s}--${t}`,{[i]:o}),headerButton:c,headerDesktopActions:y(u,{[d]:n}),headerDialog:{root:m,panel:h,content:g},headerDialogActions:y(b,v),headerDialogButton:T,headerDialogCloseButton:x,headerDialogLink:y(T,{[P]:r}),headerDialogNav:S,headerDialogNavItem:E,headerDialogText:C,headerLink:y(c,{[p]:r}),headerMobileActions:f,headerNav:a,headerNavItem:l}}},Wi=e=>{const{children:t,color:n=Bi,isSimple:r,...o}=e,{classProps:s}=Vi({color:n,isSimple:r}),{styleProps:i,props:a}=Wt(o);return tn({method:"custom",trigger:!0,componentName:"Header",customText:"The component will be removed in the next major version. Component is replaced by the current implementation of UNSTABLE_Header.\n Please see the composition of the UNSTABLE_Header, Drawer and Navigation components."}),Hn.jsx("header",{...a,className:y(s.root,i.className),style:i.style,children:t})};Wi.spiritComponent="Header";const Gi=e=>{const{classProps:t}=Vi(),{styleProps:n,props:r}=Wt(e);return Hn.jsx("button",{...r,type:"button",className:y(t.headerButton,n.className),style:n.style})};Gi.spiritComponent="HeaderButton";const qi={isAtEnd:!1},Xi=e=>{const t={...qi,...e},{isAtEnd:n,...r}=t,{classProps:o}=Vi({hasActionsAtEnd:n}),{styleProps:s,props:i}=Wt(r);return Hn.jsx("nav",{...i,className:y(o.headerDesktopActions,s.className),style:s.style})};Xi.spiritComponent="HeaderDesktopActions";const Yi=t.createContext({id:"",isOpen:!1,onClose:()=>null}),Qi=Yi.Provider,Ki=Yi.Consumer,Zi=()=>t.useContext(Yi),Ji=e=>{const{children:t,id:n,isOpen:r,onClose:o,...s}=e,{classProps:i}=Vi(),{styleProps:a,props:l}=Wt(s),c={id:n,isOpen:r,onClose:o};return hn(r),Hn.jsx(Qi,{value:c,children:Hn.jsx(ys,{...l,id:n,isOpen:r,onClose:o,className:y(i.headerDialog.root,a.className),style:a.style,children:Hn.jsx("div",{className:i.headerDialog.panel,children:Hn.jsx("div",{className:i.headerDialog.content,children:t})})})})};Ji.spiritComponent="HeaderDialog";const ea=e=>{const{color:t=Hi,...n}=e,{classProps:r}=Vi({actionsColor:t}),{styleProps:o,props:s}=Wt(n);return Hn.jsx("nav",{...s,className:y(r.headerDialogActions,o.className),style:o.style})};ea.spiritComponent="HeaderDialogActions";const ta=e=>{const{classProps:t}=Vi(),{styleProps:n,props:r}=Wt(e);return Hn.jsx("button",{...r,type:"button",className:y(t.headerDialogButton,n.className),style:n.style})};ta.spiritComponent="HeaderDialogButton";const na=e=>{const{label:t=Ui,onClick:n,...r}=e,{classProps:o}=Vi(),{styleProps:s,props:i}=Wt(r),{id:a,isOpen:l,onClose:c}=Zi();return Hn.jsxs("button",{...i,type:"button","aria-expanded":l,"aria-controls":a,onClick:e=>{c(e),n&&n(e)},className:y(o.headerDialogCloseButton,s.className),style:s.style,children:[Hn.jsx(Qn,{name:"close"}),Hn.jsx(ws,{children:t})]})};na.spiritComponent="HeaderDialogCloseButton";const ra=t.forwardRef(((e,t)=>{const{elementType:n="a",children:r,isCurrent:o,...s}=e,i=n,{classProps:a}=Vi({isCurrentLink:o}),{styleProps:l,props:c}=Wt(s),p=At(i,{classProps:a.headerDialogLink,styleProps:l,otherProps:c});return Hn.jsx(i,{...c,...p,ref:t,children:r})}));ra.spiritComponent="HeaderDialogLink",ra.displayName="HeaderDialogLink";const oa=e=>{const{classProps:t}=Vi(),{styleProps:n,props:r}=Wt(e);return Hn.jsx("ul",{...r,className:y(t.headerDialogNav,n.className),style:n.style})};oa.spiritComponent="HeaderDialogNav";const sa=e=>{const{classProps:t}=Vi(),{styleProps:n,props:r}=Wt(e);return Hn.jsx("li",{...r,className:y(t.headerDialogNavItem,n.className),style:n.style})};sa.spiritComponent="HeaderDialogNavItem";const ia=e=>{const{classProps:t}=Vi(),{styleProps:n,props:r}=Wt(e);return Hn.jsx("span",{...r,className:y(t.headerDialogText,n.className),style:n.style})};ia.spiritComponent="HeaderDialogText";const aa=t.forwardRef(((e,t)=>{const{elementType:n="a",children:r,isCurrent:o,...s}=e,i=n,{classProps:a}=Vi({isCurrentLink:o}),{styleProps:l,props:c}=Wt(s),p=At(i,{classProps:a.headerLink,styleProps:l,otherProps:c});return Hn.jsx(i,{...c,...p,ref:t,children:r})}));aa.spiritComponent="HeaderLink",aa.displayName="HeaderLink";const la=e=>{const{children:t,dialogId:n,menuToggleLabel:r=zi,isOpen:o,onOpen:s,...i}=e,{classProps:a}=Vi(),{styleProps:l,props:c}=Wt(i);return Hn.jsxs("div",{...c,className:y(a.headerMobileActions,l.className),style:l.style,children:[t,Hn.jsxs(ko,{"aria-controls":n,"aria-expanded":o,color:"secondary",onClick:s,isSymmetrical:!0,children:[Hn.jsx(Qn,{name:"hamburger"}),Hn.jsx(ws,{children:r})]})]})};la.spiritComponent="HeaderMobileActions";const ca=e=>{const{classProps:t}=Vi(),{styleProps:n,props:r}=Wt(e);return Hn.jsx("ul",{...r,className:y(t.headerNav,n.className),style:n.style})};ca.spiritComponent="HeaderNav";const pa=e=>{const{classProps:t}=Vi(),{styleProps:n,props:r}=Wt(e);return Hn.jsx("li",{...r,className:y(t.headerNavItem,n.className),style:n.style})};function ua(e){const{emphasis:t,size:n,textColor:r,...o}=e,s=Zt("typography-heading"),i=Zt(r?`text-${r}`:"");return{classProps:y(`${s}-${n}-${t}`,{[i]:!!r}),props:o}}pa.spiritComponent="HeaderNavItem";const da={emphasis:U.BOLD,size:W.MEDIUM},fa=e=>{const t={...da,...e},{elementType:n,children:r,...o}=t,{classProps:s,props:i}=ua({...o}),{styleProps:a,props:l}=Wt(i,{isTextBalanced:ce.isTextBalanced,textAlignment:le.textAlignment,textHyphens:le.textHyphens,textWordBreak:le.textWordBreak}),c=At(n,{classProps:s,styleProps:a,otherProps:l});return Hn.jsx(n,{...l,...c,children:r})};fa.spiritComponent="Heading";const ma={elementType:"span"},ha=t.forwardRef(((e,t)=>{const n={...ma,...e},{elementType:r=ma.elementType,children:o,on:s,from:i,...a}=n,l=r,c={...a,hideOn:s||a.hideOn,hideFrom:i||a.hideFrom},{styleProps:p,props:u}=Wt(c),d=At(l,{styleProps:p});return Hn.jsx(l,{...u,...d,ref:t,children:o})}));ha.spiritComponent="Hidden",ha.displayName="Hidden";const ya={ROUNDED:"rounded",SQUARE:"square",CIRCLE:"circle"},ga={[W.XSMALL]:{padding:"space-500",iconSize:16},[W.SMALL]:{padding:"space-500",iconSize:20},[W.MEDIUM]:{padding:"space-600",iconSize:24},[W.LARGE]:{padding:"space-600",iconSize:28},[W.XLARGE]:{padding:"space-700",iconSize:28}},ba={[ya.CIRCLE]:j.FULL,[ya.ROUNDED]:j[300],[ya.SQUARE]:j[0]},va=(e,t,n)=>`${e}-${t}-${n}`,xa=(e,t=!0)=>{const n=t?H.SUBTLE:H.BASIC,r=n===H.BASIC?H.SUBTLE:H.BASIC,o=e??F.INFORMATIVE,s=(e=>Object.keys(w).includes(e)?x.EMOTION:x.ACCENT)(o);return{colors:{background:va(s,o,n),border:va(s,o,n),text:va(s,o,r)}}},Ta=e=>{const{shape:t=ya.ROUNDED,size:n=W.MEDIUM,...r}=e||{},o=ba[t],s={padding:`calc(var(--${P}local-padding) - var(--${P}local-border-width, 0px)) !important`};let i;if(_t(n)){const e={},t={};Object.entries(n).forEach((([n,r])=>{const o=ga[r];e[n]=o.padding,t[n]=o.iconSize})),i={padding:e,iconSize:t}}else i=ga[n];return{iconBoxStyles:s,props:r,shapesProps:o,sizeProps:i}},Pa={shape:ya.ROUNDED,color:F.INFORMATIVE,elementType:"div",hasBorder:!0,isSubtle:!0,size:W.MEDIUM},Sa=t.forwardRef(((e,t)=>{const n={...Pa,...e},{elementType:r,shape:o,color:s,iconName:i,isSubtle:a,hasBorder:l,size:c,...p}=n,u=r,{colors:d}=xa(s,a),{iconBoxStyles:f,props:m,shapesProps:h,sizeProps:{padding:g,iconSize:b}}=Ta({size:c,shape:o,...p}),{styleProps:v,props:x}=Wt(m);return Hn.jsx(fo,{...x,backgroundColor:d.background,elementType:u,borderColor:l?d.border:void 0,borderRadius:h,borderWidth:l?L[100]:void 0,padding:g,textColor:d.text,UNSAFE_className:y(v.className,"d-inline-flex"),UNSAFE_style:{...v.style,...f},ref:t,children:Hn.jsx(Qn,{"aria-hidden":"true",boxSize:b,name:i})})}));function Ea(e){const{isDisabled:t,isSelected:n,selectionDecorator:r,...o}=e,s=Zt("Item"),i=`${s}--disabled`,a=`${s}--selected`,l=`${s}__icon`,c=n&&(r===ye||r===ge);return{classProps:{helperText:`${s}__helperText`,icon:{root:l,start:`${l}--start`,end:`${l}--end`},label:`${s}__label`,root:y(s,{[i]:t,[a]:c})},props:o}}Sa.spiritComponent="IconBox",Sa.displayName="IconBox";const Ca=e=>{const{label:t,elementType:n="button",iconName:r,helperText:o,isSelected:s,isDisabled:i,selectionDecorator:a=be,...l}=e,{classProps:c,props:p}=Ea({isSelected:s,isDisabled:i,selectionDecorator:a,...l}),{styleProps:u,props:d}=Wt(p),f=At(n,{classProps:c.root,styleProps:u,otherProps:d}),m=s&&(a===be||a===ge);return Hn.jsxs(n,{...d,...f,disabled:!!i&&"button"===n,children:[r&&Hn.jsx("span",{className:y(c.icon.root,c.icon.start),children:Hn.jsx(Qn,{name:r})}),Hn.jsx("span",{className:c.label,children:t}),Hn.jsx(es,{UNSAFE_className:c.helperText,elementType:"span",helperText:o}),m&&Hn.jsx("span",{className:y(c.icon.root,c.icon.end),children:Hn.jsx(Qn,{name:"check-plain"})})]})};Ca.spiritComponent="Item";const wa=(e,t,n,r)=>{const o={},s=`--${r}`;return"object"==typeof e&&100===t&&n>0&&Object.keys(e).forEach((e=>{const t="mobile"===e?"":`-${e}`;o[`${s}-items-count`]=`${n}`,o[`${s}-rows${t}`]=`calc(var(${s}-item-rows) * var(${s}-items-count) / var(${s}-columns${t}))`})),o};function Na(e){const{cols:t,itemsCount:n,itemRows:r,rows:o,spacing:s,spacingX:i,spacingY:a,...l}=e,c=Zt("Matrix"),p=`${P}matrix`,u={...nn(t,`${p}-columns`),...nn(o,`${p}-rows`),...nn(r,`${p}-item-rows`),...wa(t,o,n,p),...Pn(s,p,J.X),...Pn(s,p,J.Y),...Pn(i,p,J.X),...Pn(a,p,J.Y)};return{classProps:y(c),props:l,styleProps:u}}const Aa={cols:3,elementType:"div",itemRows:100,rows:100,spacingX:"space-700",spacingY:"space-0"},_a=e=>{const n={...Aa,...e},{elementType:r="div",children:o,...s}=n,i=t.Children.count(o),{classProps:a,props:l,styleProps:c}=Na({...s,itemsCount:i}),{styleProps:p,props:u}=Wt(l),d=At(r,{classProps:a,styleProps:p,otherProps:u,matrixStyleProps:c});return Hn.jsx(r,{...u,...d,children:o})};_a.spiritComponent="Matrix";const Ra=t.createContext({id:"",isOpen:!1,onClose:()=>null}),ka=Ra.Provider,Oa=Ra.Consumer,$a=()=>t.useContext(Ra);function ja({footerAlignment:e=_.RIGHT,isDockedOnMobile:t=!1,isExpandedOnMobile:n=!1,isOpen:r=!1,isScrollable:o=!1,modalAlignment:s=k.CENTER}={}){const i=Zt("Modal"),a={top:`${i}--top`,center:`${i}--center`,bottom:`${i}--bottom`},l=`${i}Dialog`,c=`${l}--dockOnMobile`,p=`${l}--expandOnMobile`,u=`${l}--scrollable`,d=`${i}Header`,f=`${d}__title`,m=`${i}Body`,h=`${i}Footer`,g=`${h}__description`,b=`${h}__actions`,x={left:`${h}--left`,center:`${h}--center`,right:`${h}--right`};return{classProps:{root:y(i,{[a[s]]:s,[v]:r}),dialog:y(l,{[c]:t,[p]:n,[u]:o}),title:f,header:d,body:m,footer:{root:y(h,{[x[e]]:e}),description:g,actions:b}}}}const Da=e=>{const{children:t,alignmentY:n=k.CENTER,isOpen:r,onClose:o,id:s,...i}=e,{classProps:a}=ja({isOpen:r,modalAlignment:n}),{styleProps:l,props:c}=Wt(i),p={id:s,isOpen:r,onClose:o};return hn(r),Hn.jsx(ka,{value:p,children:Hn.jsx(ys,{...c,...l,id:s,isOpen:r,onClose:o,className:y(a.root,l.className),"aria-labelledby":`${s}__title`,children:t})})};Da.spiritComponent="Modal";const La=({children:e,...t})=>{const{classProps:n}=ja(),{styleProps:r,props:o}=Wt(t);return Hn.jsx("div",{...o,...r,className:y(n.body,r.className),children:e})};La.spiritComponent="ModalBody";const Ia=({label:e,onClose:t,id:n,isOpen:r,...o})=>{const{t:s}=ln(),i=e??s("common.close");return Hn.jsxs(ko,{...o,isSymmetrical:!0,color:"tertiary",onClick:t,"aria-expanded":r,"aria-controls":n,children:[Hn.jsx(Qn,{name:"close"}),Hn.jsx(ws,{children:i})]})};Ia.spiritComponent="ModalCloseButton";const Ma=(e,t)=>{if(!t)return{};if("object"==typeof t)return Object.keys(t).reduce(((n,r)=>{const o=`--${e}${"mobile"===r?"":`-${r}`}`;return{...n,[o]:t[r]?.toString()}}),{});const n=`--${e}`;return{[n]:t?.toString()}},Fa=t.forwardRef(((e,t)=>{const{elementType:n="article",children:r,isDockedOnMobile:o,isExpandedOnMobile:s,isScrollable:i,...a}=e,l=n,{classProps:c}=ja({isDockedOnMobile:o,isExpandedOnMobile:s,isScrollable:i}),{modalDialogStyleProps:p,props:u}=(e=>{const{height:t,maxHeight:n,...r}=e;return{modalDialogStyleProps:{...Ma("modal-dialog-height",t),...Ma("modal-dialog-max-height",n)},props:r}})(a),{styleProps:d,props:f}=Wt(u),m=At(l,{classProps:c.dialog,modalDialogStyleProps:p,styleProps:d,otherProps:f});return Hn.jsx(l,{...f,...m,ref:t,children:r})}));Fa.spiritComponent="ModalDialog",Fa.displayName="ModalDialog";const Ba=e=>{const{children:t,alignmentX:n=_.RIGHT,description:r,...o}=e,{classProps:s}=ja({footerAlignment:n}),{styleProps:i,props:a}=Wt(o);return Hn.jsxs("footer",{...a,...i,className:y(s.footer.root,i.className),children:[r&&Hn.jsx("div",{className:s.footer.description,children:r}),Hn.jsx("div",{className:s.footer.actions,children:t})]})};Ba.spiritComponent="ModalFooter";const Ha={hasCloseButton:!0},Ua=e=>{const t={...Ha,...e},{children:n,closeLabel:r,hasCloseButton:o,...s}=t,{t:i}=ln(),a=r??i("common.close"),{classProps:l}=ja(),{styleProps:c,props:p}=Wt(s),{id:u,isOpen:d,onClose:f}=$a();return Hn.jsxs("header",{...p,...c,className:y(l.header,c.className),children:[n&&Hn.jsx("h2",{id:`${u}__title`,className:l.title,children:n}),o&&Hn.jsx(Ia,{id:u,isOpen:d,label:a,onClose:f})]})};Ua.spiritComponent="ModalHeader";const za=({isDisabled:e=!1,isSelected:t=!1,isSquare:n=!1,alignmentY:r=O.CENTER,direction:o=K.HORIZONTAL,variant:s=Q.BOX,...i})=>{const a=Zt("Navigation"),l=`${a}Action`,c=`${a}Avatar`,p=`${a}Item`,u=`${a}--${o}`,d=`${l}--disabled`,f=`${l}--selected`,m=`${l}--${s}`,h=`${c}--square`,g=y(p,{[Gt(p,r,"alignmentY")]:r});return{classProps:{root:y(a,u),action:y(l,m,{[d]:e,[f]:t}),avatar:y(c,{[h]:n}),item:g},props:i}},Va={direction:K.HORIZONTAL},Wa=e=>{const t={...Va,...e},{children:n,...r}=t,{classProps:o,props:s}=za(r),{styleProps:i,props:a}=Wt(s);return Hn.jsx("nav",{...a,className:y(o.root,i.className),style:i.style,children:Hn.jsx("ul",{children:n})})};Wa.spiritComponent="Navigation";const Ga=e=>{const{isDisabled:t,href:n,target:r,rel:o}=e;return{navigationActionProps:{href:t?void 0:n,target:t?void 0:r,rel:t?void 0:o}}},qa={elementType:"a",variant:Q.BOX},Xa=t.forwardRef(((e,t)=>{const n={...qa,...e},{elementType:r=qa.elementType,children:o,...s}=n,i=n.isDisabled?"span":r,{navigationActionProps:a}=Ga(n),{classProps:l,props:c}=za(s),{styleProps:p,props:u}=Wt(c),d=At(i,{classProps:l.action,styleProps:p,otherProps:u});return Hn.jsx(i,{...u,...a,...d,ref:t,children:o})}));Xa.spiritComponent="NavigationAction",Xa.displayName="NavigationAction";const Ya={elementType:"a",isSquare:!1,avatarSize:V.SMALL},Qa=t.forwardRef(((e,t)=>{const n={...Ya,...e},{elementType:r=Ya.elementType,avatarContent:o,avatarSize:s=Ya.avatarSize,isSquare:i,children:a,...l}=n,{classProps:c,props:p}=za({isSquare:i,...l}),{styleProps:u,props:d}=Wt(p),f=At(r,{classProps:c.avatar,styleProps:u,otherProps:d});return Hn.jsxs(r,{...d,...f,ref:t,children:[Hn.jsx(co,{size:s,isSquare:i,children:o}),a]})}));Qa.spiritComponent="NavigationAvatar",Qa.displayName="NavigationAvatar";const Ka={alignmentY:O.CENTER},Za=e=>{const t={...Ka,...e},{children:n,...r}=t,{classProps:o,props:s}=za(r),{styleProps:i,props:a}=Wt(s);return Hn.jsx("li",{...a,className:y(o.item,i.className),style:i.style,children:n})};Za.spiritComponent="NavigationItem";const Ja=({children:e})=>{const[n,r]=t.useState(!1);return t.useEffect((()=>{r(!0)}),[]),n?e:null};Ja.spiritComponent="NoSsr";const el=e=>{const t=Zt("Pagination"),n=`${t}__link`,r=`${n}--current`;return{classProps:{root:t,item:`${t}__item`,link:y(n,{[r]:e?.isCurrent})}}},tl=e=>{const{children:t,listProps:n={},...r}=e,{classProps:o}=el(),{styleProps:s,props:i}=Wt(r),{styleProps:a,props:l}=Wt(n);return Hn.jsx("nav",{...i,...s,children:Hn.jsx("ul",{...a,...l,className:y(o.root,a.className),children:t})})};tl.spiritComponent="Pagination";const nl=t.forwardRef(((e,t)=>{const{t:n}=ln(),{direction:r,accessibilityLabel:o,...s}=e,i=o??n("previous"===r?"pagination.previous":"pagination.next");return Hn.jsxs(Do,{color:"secondary",isSymmetrical:!0,...s,ref:t,children:[Hn.jsx(Qn,{name:{previous:"chevron-left",next:"chevron-right"}[r]}),Hn.jsx(ws,{children:i})]})}));nl.spiritComponent="PaginationButtonLink",nl.displayName="PaginationButtonLink";const rl=e=>{const{children:t,...n}=e,{classProps:r}=el(),{styleProps:o,props:s}=Wt(n);return Hn.jsx("li",{...s,...o,className:y(r.item,o.className),children:t})};rl.spiritComponent="PaginationItem";const ol=t.forwardRef(((e,t)=>{const{t:n}=ln(),{elementType:r="a",accessibilityLabel:o,isCurrent:s,pageNumber:i,...a}=e,l=o||`${n("pagination.goToPage")} ${i}`,c=r,{classProps:p}=el({isCurrent:s}),{styleProps:u,props:d}=Wt(a),f=At(c,{classProps:p.link,styleProps:u,otherProps:d});return Hn.jsxs(c,{...s&&{"aria-current":"page"},...d,...f,ref:t,children:[Hn.jsx(ws,{children:l}),Hn.jsx("span",{"aria-hidden":"true",children:i})]})}));ol.spiritComponent="PaginationLink",ol.displayName="PaginationLink";const sl=t.forwardRef((({accessibilityLabel:e,...t},n)=>{const{t:r}=ln(),o=e??r("pagination.next");return Hn.jsx(nl,{direction:"next",accessibilityLabel:o,...t,ref:n})}));sl.spiritComponent="PaginationLinkNext",sl.displayName="PaginationLinkNext";const il=t.forwardRef((({accessibilityLabel:e,...t},n)=>{const{t:r}=ln(),o=e??r("pagination.previous");return Hn.jsx(nl,{direction:"previous",accessibilityLabel:o,...t,ref:n})}));il.spiritComponent="PaginationLinkPrevious",il.displayName="PaginationLinkPrevious";const al=({totalPages:e,onChange:n,defaultPage:r,visiblePages:o})=>{const[s,i]=t.useState(r<=0||r>e?1:r??1),[a,l]=t.useState([o]);t.useMemo((()=>{const t=o>e?e:o,n=e-s<t?e-(t-1):s;l(Array.from(Array(t),((e,t)=>t+n)))}),[o,s,e]);const c=t.useCallback((e=>{i(e),n&&n(e)}),[n]);return t.useMemo((()=>{l((()=>{const t=Math.floor(o/2);let n=Math.max(1,s-t);const r=Math.min(n+o-1,e);if(e-o<n-1){const t=e-o+1;n=t<1?1:t}return Array.from({length:r-n+1},((e,t)=>n+t))})())}),[]),{totalPages:e,currentPage:s,pages:a,handlePageChange:c}},ll=e=>{const{t:t}=ln(),{accessibilityLabel:n,accessibilityLabelPrevious:r,accessibilityLabelNext:o,defaultPage:s=1,onChange:i,totalPages:a=0,visiblePages:l=5,...c}=e,p=n??t("pagination.goToPage"),u=r??t("pagination.previous"),d=o??t("pagination.next"),{currentPage:f,pages:m,handlePageChange:h}=al({defaultPage:s,onChange:i,totalPages:a,visiblePages:l});return Hn.jsxs(tl,{...c,children:[1!==f&&Hn.jsx(il,{accessibilityLabel:u,onClick:e=>{e.preventDefault(),h(f-1)}}),m?.map((e=>Hn.jsx(rl,{children:Hn.jsx(ol,{accessibilityLabel:`${p} ${e}`,href:"#",isCurrent:f===e,pageNumber:e,onClick:t=>{t.preventDefault(),h(e)}})},e))),f!==a&&Hn.jsx(sl,{accessibilityLabel:d,onClick:e=>{e.preventDefault(),h(f+1)}})]})};ll.spiritComponent="UncontrolledPagination";const cl=e=>{const{hasSafeArea:t,isFluid:n,size:r,...o}=e,s=Zt("PartnerLogo"),i=`${s}--fluid`,a=`${s}--safeArea`,l=Rt(s,r);return{classProps:y(s,{[i]:n,[a]:t},l),props:o}},pl={hasSafeArea:!0,isFluid:!1,size:V.MEDIUM},ul=e=>{const t={...pl,...e},{children:n,...r}=t,{classProps:o,props:s}=cl(r),{styleProps:i,props:a}=Wt(s);return Hn.jsx("div",{...a,className:y(o,i.className),style:i.style,children:n})};ul.spiritComponent="PartnerLogo";const dl={SELECTED:"selected",NEUTRAL:"neutral"};function fl(e){const{color:t,...n}=e,r=Zt("Pill"),o=`${r}--${t}`;return{classProps:y(r,{[o]:t}),props:n}}const ml={color:dl.SELECTED,elementType:"span"},hl=e=>{const t={...ml,...e},{elementType:n="span",children:r,...o}=t,{classProps:s,props:i}=fl(o),{styleProps:a,props:l}=Wt(i),c=At(n,{classProps:s,styleProps:a,otherProps:l});return Hn.jsx(n,{...l,...c,children:r})};hl.spiritComponent="Pill";const yl=e=>{const{hasComparableFeatures:t,isHighlighted:n,action:r,badge:o,title:s,subtitle:i,note:a,price:l,rows:c,...p}=e,u=Zt("PricingPlan"),d=`${u}--comparableFeatures`,f=`${u}__layout`,m=`${u}--highlighted`,h=Zt("PricingPlanHeader"),g=`${h}__badge`,b=`${h}__title`,v=`${h}__subtitle`,x=`${h}__price`,T=`${h}__action`,S=`${h}__note`,E=`${h}__content`,C=Zt("PricingPlanBody"),w=`${C}__featureList`,N=`${C}__featureItem`,A=`${C}__featureTitle`,_=`${C}__featureTitleText`,R=`${C}__featureDescription`,k=Zt("PricingPlanFooter"),O=y(u,{[d]:t,[m]:n}),$={};return 100!==c&&($[`--${P}pricing-plan-rows`]=c?.toString()),{classProps:{root:O,layout:f,header:{root:h,badge:o?g:void 0,content:E,title:s?b:void 0,subtitle:i?v:void 0,price:l?x:void 0,action:r?T:void 0,note:a?S:void 0},body:{root:C,featureList:w,featureItem:N,featureTitle:A,featureTitleText:_,featureDescription:R},footer:k},props:p,styleProps:$}},gl={hasComparableFeatures:!1,isHighlighted:!1,rows:100},bl=e=>{const t={...gl,...e},{elementType:n="article",children:r,...o}=t,{classProps:s,props:i,styleProps:a}=yl(o),{styleProps:l,props:c}=Wt(i),p=At(n,{classProps:s.root,pricingPlanStyleProps:a,styleProps:l});return Hn.jsx(n,{...c,...p,children:Hn.jsx("div",{className:y(s.layout),children:r})})};bl.spiritComponent="PricingPlan";const vl={action:void 0,badge:void 0,note:void 0,price:void 0,subtitle:void 0,title:void 0},xl=e=>{const t={...vl,...e},{elementType:n="header",...r}=t,{classProps:o,props:s}=yl(r),{badge:i,title:a,subtitle:l,price:c,action:p,note:u}=t,{styleProps:d,props:f}=Wt(s),m=At(n,{classProps:o.header.root,styleProps:d});return Hn.jsxs(n,{...f,...m,children:[i&&Hn.jsx("div",{className:o.header.badge,children:i}),Hn.jsxs("div",{className:o.header.content,children:[a&&Hn.jsx("h3",{className:o.header.title,children:a}),l&&Hn.jsx("div",{className:y(o.header.subtitle),children:l}),c&&Hn.jsx("div",{className:o.header.price,children:c}),p&&Hn.jsx("div",{className:o.header.action,children:p}),u&&Hn.jsx("div",{className:o.header.note,children:u})]})]})};xl.spiritComponent="PricingPlanHeader";const Tl=t.createContext({anchorRef:()=>{},arrowRef:{current:null},getReferenceProps:()=>({id:"",ref:()=>{}}),getFloatingProps:()=>({id:"",ref:()=>{}}),id:"",isDismissible:!1,isOpen:!1,middlewareData:{},onToggle:()=>{},placement:"bottom",sizeMaxWidth:void 0,tooltipMaxWidth:void 0,tooltipRef:()=>{},triggerRef:()=>{},x:0,y:0,position:"absolute"}),Pl=Tl.Provider;Tl.Consumer;const Sl=()=>t.useContext(Tl);function El(){return"undefined"!=typeof window}function Cl(e){return Al(e)?(e.nodeName||"").toLowerCase():"#document"}function wl(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Nl(e){var t;return null==(t=(Al(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Al(e){return!!El()&&(e instanceof Node||e instanceof wl(e).Node)}function _l(e){return!!El()&&(e instanceof Element||e instanceof wl(e).Element)}function Rl(e){return!!El()&&(e instanceof HTMLElement||e instanceof wl(e).HTMLElement)}function kl(e){return!(!El()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof wl(e).ShadowRoot)}function Ol(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ml(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function $l(e){return["table","td","th"].includes(Cl(e))}function jl(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function Dl(e){const t=Ll(),n=_l(e)?Ml(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Ll(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Il(e){return["html","body","#document"].includes(Cl(e))}function Ml(e){return wl(e).getComputedStyle(e)}function Fl(e){return _l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Bl(e){if("html"===Cl(e))return e;const t=e.assignedSlot||e.parentNode||kl(e)&&e.host||Nl(e);return kl(t)?t.host:t}function Hl(e){const t=Bl(e);return Il(t)?e.ownerDocument?e.ownerDocument.body:e.body:Rl(t)&&Ol(t)?t:Hl(t)}function Ul(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Hl(e),s=o===(null==(r=e.ownerDocument)?void 0:r.body),i=wl(o);if(s){const e=zl(i);return t.concat(i,i.visualViewport||[],Ol(o)?o:[],e&&n?Ul(e):[])}return t.concat(o,Ul(o,[],n))}function zl(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Vl(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function Wl(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&kl(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function Gl(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function ql(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function Xl(e){return!ql().includes("jsdom/")&&(!Yl()&&0===e.width&&0===e.height||Yl()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function Yl(){const e=/android/i;return e.test(Gl())||e.test(ql())}function Ql(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function Kl(e){return(null==e?void 0:e.ownerDocument)||document}function Zl(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function Jl(e){return"composedPath"in e?e.composedPath()[0]:e.target}function ec(e){return Rl(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}const tc=Math.min,nc=Math.max,rc=Math.round,oc=Math.floor,sc=e=>({x:e,y:e}),ic={left:"right",right:"left",bottom:"top",top:"bottom"},ac={start:"end",end:"start"};function lc(e,t,n){return nc(e,tc(t,n))}function cc(e,t){return"function"==typeof e?e(t):e}function pc(e){return e.split("-")[0]}function uc(e){return e.split("-")[1]}function dc(e){return"x"===e?"y":"x"}function fc(e){return"y"===e?"height":"width"}function mc(e){return["top","bottom"].includes(pc(e))?"y":"x"}function hc(e){return dc(mc(e))}function yc(e){return e.replace(/start|end/g,(e=>ac[e]))}function gc(e){return e.replace(/left|right|bottom|top/g,(e=>ic[e]))}function bc(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function vc(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function xc(e,t,n){let{reference:r,floating:o}=e;const s=mc(t),i=hc(t),a=fc(i),l=pc(t),c="y"===s,p=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let f;switch(l){case"top":f={x:p,y:r.y-o.height};break;case"bottom":f={x:p,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:u};break;case"left":f={x:r.x-o.width,y:u};break;default:f={x:r.x,y:r.y}}switch(uc(t)){case"start":f[i]-=d*(n&&c?-1:1);break;case"end":f[i]+=d*(n&&c?-1:1)}return f}async function Tc(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:u="floating",altBoundary:d=!1,padding:f=0}=cc(t,e),m=bc(f),h=a[d?"floating"===u?"reference":"floating":u],y=vc(await s.getClippingRect({element:null==(n=await(null==s.isElement?void 0:s.isElement(h)))||n?h:h.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:p,strategy:l})),g="floating"===u?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,b=await(null==s.getOffsetParent?void 0:s.getOffsetParent(a.floating)),v=await(null==s.isElement?void 0:s.isElement(b))&&await(null==s.getScale?void 0:s.getScale(b))||{x:1,y:1},x=vc(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:b,strategy:l}):g);return{top:(y.top-x.top+m.top)/v.y,bottom:(x.bottom-y.bottom+m.bottom)/v.y,left:(y.left-x.left+m.left)/v.x,right:(x.right-y.right+m.right)/v.x}}function Pc(e){const t=tc(...e.map((e=>e.left))),n=tc(...e.map((e=>e.top)));return{x:t,y:n,width:nc(...e.map((e=>e.right)))-t,height:nc(...e.map((e=>e.bottom)))-n}}function Sc(e){const t=Ml(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Rl(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=rc(n)!==s||rc(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function Ec(e){return _l(e)?e:e.contextElement}function Cc(e){const t=Ec(e);if(!Rl(t))return sc(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=Sc(t);let i=(s?rc(n.width):n.width)/r,a=(s?rc(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}const wc=sc(0);function Nc(e){const t=wl(e);return Ll()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:wc}function Ac(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),s=Ec(e);let i=sc(1);t&&(r?_l(r)&&(i=Cc(r)):i=Cc(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==wl(e))&&t}(s,n,r)?Nc(s):sc(0);let l=(o.left+a.x)/i.x,c=(o.top+a.y)/i.y,p=o.width/i.x,u=o.height/i.y;if(s){const e=wl(s),t=r&&_l(r)?wl(r):r;let n=e,o=zl(n);for(;o&&r&&t!==n;){const e=Cc(o),t=o.getBoundingClientRect(),r=Ml(o),s=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,p*=e.x,u*=e.y,l+=s,c+=i,n=wl(o),o=zl(n)}}return vc({width:p,height:u,x:l,y:c})}function _c(e,t){const n=Fl(e).scrollLeft;return t?t.left+n:Ac(Nl(e)).left+n}function Rc(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:_c(e,r)),y:r.top+t.scrollTop}}function kc(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=wl(e),r=Nl(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const e=Ll();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a,y:l}}(e,n);else if("document"===t)r=function(e){const t=Nl(e),n=Fl(e),r=e.ownerDocument.body,o=nc(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=nc(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+_c(e);const a=-n.scrollTop;return"rtl"===Ml(r).direction&&(i+=nc(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}(Nl(e));else if(_l(t))r=function(e,t){const n=Ac(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Rl(e)?Cc(e):sc(1);return{width:e.clientWidth*s.x,height:e.clientHeight*s.y,x:o*s.x,y:r*s.y}}(t,n);else{const n=Nc(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return vc(r)}function Oc(e,t){const n=Bl(e);return!(n===t||!_l(n)||Il(n))&&("fixed"===Ml(n).position||Oc(n,t))}function $c(e,t,n){const r=Rl(t),o=Nl(t),s="fixed"===n,i=Ac(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=sc(0);if(r||!r&&!s)if(("body"!==Cl(t)||Ol(o))&&(a=Fl(t)),r){const e=Ac(t,!0,s,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=_c(o));const c=!o||r||s?sc(0):Rc(o,a);return{x:i.left+a.scrollLeft-l.x-c.x,y:i.top+a.scrollTop-l.y-c.y,width:i.width,height:i.height}}function jc(e){return"static"===Ml(e).position}function Dc(e,t){if(!Rl(e)||"fixed"===Ml(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Nl(e)===n&&(n=n.ownerDocument.body),n}function Lc(e,t){const n=wl(e);if(jl(e))return n;if(!Rl(e)){let t=Bl(e);for(;t&&!Il(t);){if(_l(t)&&!jc(t))return t;t=Bl(t)}return n}let r=Dc(e,t);for(;r&&$l(r)&&jc(r);)r=Dc(r,t);return r&&Il(r)&&jc(r)&&!Dl(r)?n:r||function(e){let t=Bl(e);for(;Rl(t)&&!Il(t);){if(Dl(t))return t;if(jl(t))return null;t=Bl(t)}return null}(e)||n}const Ic={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s="fixed"===o,i=Nl(r),a=!!t&&jl(t.floating);if(r===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},c=sc(1);const p=sc(0),u=Rl(r);if((u||!u&&!s)&&(("body"!==Cl(r)||Ol(i))&&(l=Fl(r)),Rl(r))){const e=Ac(r);c=Cc(r),p.x=e.x+r.clientLeft,p.y=e.y+r.clientTop}const d=!i||u||s?sc(0):Rc(i,l,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+p.x+d.x,y:n.y*c.y-l.scrollTop*c.y+p.y+d.y}},getDocumentElement:Nl,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[..."clippingAncestors"===n?jl(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Ul(e,[],!1).filter((e=>_l(e)&&"body"!==Cl(e))),o=null;const s="fixed"===Ml(e).position;let i=s?Bl(e):e;for(;_l(i)&&!Il(i);){const t=Ml(i),n=Dl(i);n||"fixed"!==t.position||(o=null),(s?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Ol(i)&&!n&&Oc(e,i))?r=r.filter((e=>e!==i)):o=t,i=Bl(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],i=s[0],a=s.reduce(((e,n)=>{const r=kc(t,n,o);return e.top=nc(r.top,e.top),e.right=tc(r.right,e.right),e.bottom=tc(r.bottom,e.bottom),e.left=nc(r.left,e.left),e}),kc(t,i,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Lc,getElementRects:async function(e){const t=this.getOffsetParent||Lc,n=this.getDimensions,r=await n(e.floating);return{reference:$c(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Sc(e);return{width:t,height:n}},getScale:Cc,isElement:_l,isRTL:function(e){return"rtl"===Ml(e).direction}};function Mc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Fc(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ec(e),p=o||s?[...c?Ul(c):[],...Ul(t)]:[];p.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)}));const u=c&&a?function(e,t){let n,r=null;const o=Nl(e);function s(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function i(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),s();const c=e.getBoundingClientRect(),{left:p,top:u,width:d,height:f}=c;if(a||t(),!d||!f)return;const m={rootMargin:-oc(u)+"px "+-oc(o.clientWidth-(p+d))+"px "+-oc(o.clientHeight-(u+f))+"px "+-oc(p)+"px",threshold:nc(0,tc(1,l))||1};let h=!0;function y(t){const r=t[0].intersectionRatio;if(r!==l){if(!h)return i();r?i(!1,r):n=setTimeout((()=>{i(!1,1e-7)}),1e3)}1!==r||Mc(c,e.getBoundingClientRect())||i(),h=!1}try{r=new IntersectionObserver(y,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(y,m)}r.observe(e)}(!0),s}(c,n):null;let d,f=-1,m=null;i&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),n()})),c&&!l&&m.observe(c),m.observe(t));let h=l?Ac(e):null;return l&&function t(){const r=Ac(e);h&&!Mc(h,r)&&n();h=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach((e=>{o&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)})),null==u||u(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(d)}}const Bc=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,s=await(null==r.isRTL?void 0:r.isRTL(o.floating)),i=pc(n),a=uc(n),l="y"===mc(n),c=["left","top"].includes(i)?-1:1,p=s&&l?-1:1,u=cc(t,e);let{mainAxis:d,crossAxis:f,alignmentAxis:m}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof m&&(f="end"===a?-1*m:m),l?{x:f*p,y:d*c}:{x:d*c,y:f*p}}(t,e);return i===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},Hc=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=cc(e,t),c={x:n,y:r},p=await Tc(t,l),u=mc(pc(o)),d=dc(u);let f=c[d],m=c[u];if(s){const e="y"===d?"bottom":"right";f=lc(f+p["y"===d?"top":"left"],f,f-p[e])}if(i){const e="y"===u?"bottom":"right";m=lc(m+p["y"===u?"top":"left"],m,m-p[e])}const h=a.fn({...t,[d]:f,[u]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[d]:s,[u]:i}}}}}},Uc=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:p=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...y}=cc(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const g=pc(o),b=mc(a),v=pc(a)===a,x=await(null==l.isRTL?void 0:l.isRTL(c.floating)),T=d||(v||!h?[gc(a)]:function(e){const t=gc(e);return[yc(e),t,yc(t)]}(a)),P="none"!==m;!d&&P&&T.push(...function(e,t,n,r){const o=uc(e);let s=function(e,t,n){const r=["left","right"],o=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?s:i;default:return[]}}(pc(e),"start"===n,r);return o&&(s=s.map((e=>e+"-"+o)),t&&(s=s.concat(s.map(yc)))),s}(a,h,m,x));const S=[a,...T],E=await Tc(t,y),C=[];let w=(null==(r=s.flip)?void 0:r.overflows)||[];if(p&&C.push(E[g]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=uc(e),o=hc(e),s=fc(o);let i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=gc(i)),[i,gc(i)]}(o,i,x);C.push(E[e[0]],E[e[1]])}if(w=[...w,{placement:o,overflows:C}],!C.every((e=>e<=0))){var N,A;const e=((null==(N=s.flip)?void 0:N.index)||0)+1,t=S[e];if(t)return{data:{index:e,overflows:w},reset:{placement:t}};let n=null==(A=w.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:A.placement;if(!n)switch(f){case"bestFit":{var _;const e=null==(_=w.filter((e=>{if(P){const t=mc(e.placement);return t===b||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:_[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},zc=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...c}=cc(e,t),p=await Tc(t,c),u=pc(o),d=uc(o),f="y"===mc(o),{width:m,height:h}=s.floating;let y,g;"top"===u||"bottom"===u?(y=u,g=d===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(g=u,y="end"===d?"top":"bottom");const b=h-p.top-p.bottom,v=m-p.left-p.right,x=tc(h-p[y],b),T=tc(m-p[g],v),P=!t.middlewareData.shift;let S=x,E=T;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(E=v),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(S=b),P&&!d){const e=nc(p.left,0),t=nc(p.right,0),n=nc(p.top,0),r=nc(p.bottom,0);f?E=m-2*(0!==e||0!==t?e+t:nc(p.left,p.right)):S=h-2*(0!==n||0!==r?n+r:nc(p.top,p.bottom))}await l({...t,availableWidth:E,availableHeight:S});const C=await i.getDimensions(a.floating);return m!==C.width||h!==C.height?{reset:{rects:!0}}:{}}}},Vc=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:p=0}=cc(e,t)||{};if(null==c)return{};const u=bc(p),d={x:n,y:r},f=hc(o),m=fc(f),h=await i.getDimensions(c),y="y"===f,g=y?"top":"left",b=y?"bottom":"right",v=y?"clientHeight":"clientWidth",x=s.reference[m]+s.reference[f]-d[f]-s.floating[m],T=d[f]-s.reference[f],P=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let S=P?P[v]:0;S&&await(null==i.isElement?void 0:i.isElement(P))||(S=a.floating[v]||s.floating[m]);const E=x/2-T/2,C=S/2-h[m]/2-1,w=tc(u[g],C),N=tc(u[b],C),A=w,_=S-h[m]-N,R=S/2-h[m]/2+E,k=lc(A,R,_),O=!l.arrow&&null!=uc(o)&&R!==k&&s.reference[m]/2-(R<A?w:N)-h[m]/2<0,$=O?R<A?R-A:R-_:0;return{[f]:d[f]+$,data:{[f]:k,centerOffset:R-k-$,...O&&{alignmentOffset:$}},reset:O}}}),Wc=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:o,platform:s,strategy:i}=t,{padding:a=2,x:l,y:c}=cc(e,t),p=Array.from(await(null==s.getClientRects?void 0:s.getClientRects(r.reference))||[]),u=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let r=null;for(let e=0;e<t.length;e++){const o=t[e];!r||o.y-r.y>r.height/2?n.push([o]):n[n.length-1].push(o),r=o}return n.map((e=>vc(Pc(e))))}(p),d=vc(Pc(p)),f=bc(a);const m=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===u.length&&u[0].left>u[1].right&&null!=l&&null!=c)return u.find((e=>l>e.left-f.left&&l<e.right+f.right&&c>e.top-f.top&&c<e.bottom+f.bottom))||d;if(u.length>=2){if("y"===mc(n)){const e=u[0],t=u[u.length-1],r="top"===pc(n),o=e.top,s=t.bottom,i=r?e.left:t.left,a=r?e.right:t.right;return{top:o,bottom:s,left:i,right:a,width:a-i,height:s-o,x:i,y:o}}const e="left"===pc(n),t=nc(...u.map((e=>e.right))),r=tc(...u.map((e=>e.left))),o=u.filter((n=>e?n.left===r:n.right===t)),s=o[0].top,i=o[o.length-1].bottom;return{top:s,bottom:i,left:r,right:t,width:t-r,height:i-s,x:r,y:s}}return d}},floating:r.floating,strategy:i});return o.reference.x!==m.reference.x||o.reference.y!==m.reference.y||o.reference.width!==m.reference.width||o.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}},Gc=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=cc(e,t),p={x:n,y:r},u=mc(o),d=dc(u);let f=p[d],m=p[u];const h=cc(a,t),y="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===d?"height":"width",t=s.reference[d]-s.floating[e]+y.mainAxis,n=s.reference[d]+s.reference[e]-y.mainAxis;f<t?f=t:f>n&&(f=n)}if(c){var g,b;const e="y"===d?"width":"height",t=["top","left"].includes(pc(o)),n=s.reference[u]-s.floating[e]+(t&&(null==(g=i.offset)?void 0:g[u])||0)+(t?0:y.crossAxis),r=s.reference[u]+s.reference[e]+(t?0:(null==(b=i.offset)?void 0:b[u])||0)-(t?y.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[d]:f,[u]:m}}}},qc=(e,t,n)=>{const r=new Map,o={platform:Ic,...n},s={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:u}=xc(c,r,l),d=r,f={},m=0;for(let n=0;n<a.length;n++){const{name:s,fn:h}=a[n],{x:y,y:g,data:b,reset:v}=await h({x:p,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:f,rects:c,platform:i,elements:{reference:e,floating:t}});p=null!=y?y:p,u=null!=g?g:u,f={...f,[s]:{...f[s],...b}},v&&m<=50&&(m++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:p,y:u}=xc(c,d,l))),n=-1)}return{x:p,y:u,placement:d,strategy:o,middlewareData:f}})(e,t,{...o,platform:s})};var Xc="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function Yc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!Yc(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!Yc(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function Qc(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Kc(e,t){const n=Qc(e);return Math.round(t*n)/n}function Zc(e){const t=o.useRef(e);return Xc((()=>{t.current=e})),t}const Jc=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?Vc({element:n.current,padding:r}).fn(t):{}:n?Vc({element:n,padding:r}).fn(t):{};var o}}),ep=(e,t)=>({...Hc(e),options:[e,t]}),tp=(e,t)=>({...Gc(e),options:[e,t]}),np=(e,t)=>({...Uc(e),options:[e,t]}),rp=(e,t)=>({...zc(e),options:[e,t]}),op=(e,t)=>({...Wc(e),options:[e,t]}),sp=(e,t)=>({...Jc(e),options:[e,t]}),ip={...o},ap=ip.useInsertionEffect||(e=>e());function lp(e){const t=o.useRef((()=>{if("production"!==process.env.NODE_ENV)throw new Error("Cannot call an event handler while rendering.")}));return ap((()=>{t.current=e})),o.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}var cp="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;let pp=!1,up=0;const dp=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+up++;const fp=ip.useId||function(){const[e,t]=o.useState((()=>pp?dp():void 0));return cp((()=>{null==e&&t(dp())}),[]),o.useEffect((()=>{pp=!0}),[]),e};let mp;"production"!==process.env.NODE_ENV&&(mp=new Set);const hp=o.createContext(null),yp=o.createContext(null),gp=()=>{var e;return(null==(e=o.useContext(hp))?void 0:e.id)||null},bp=()=>o.useContext(yp);function vp(e){return"data-floating-ui-"+e}function xp(e){-1!==e.current&&(clearTimeout(e.current),e.current=-1)}function Tp(e){const n=t.useRef(e);return cp((()=>{n.current=e})),n}const Pp=vp("safe-polygon");function Sp(e,t,n){return n&&!Ql(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function Ep(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}const Cp="data-floating-ui-focusable";function wp(e){return Rl(e.target)&&"BUTTON"===e.target.tagName}function Np(e){return ec(e)}const Ap={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},_p={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Rp=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function kp(e){const{open:t=!1,onOpenChange:n,elements:r}=e,s=fp(),i=o.useRef({}),[a]=o.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}())),l=null!=gp();if("production"!==process.env.NODE_ENV){const e=r.reference;e&&!_l(e)&&function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");var s;null!=(e=mp)&&e.has(o)||(null==(s=mp)||s.add(o),console.error(o))}("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[c,p]=o.useState(r.reference),u=lp(((e,t,r)=>{i.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)})),d=o.useMemo((()=>({setPositionReference:p})),[]),f=o.useMemo((()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference})),[c,r.reference,r.floating]);return o.useMemo((()=>({dataRef:i,open:t,onOpenChange:u,elements:f,events:a,floatingId:s,refs:d})),[t,u,f,a,s,d])}function Op(e){void 0===e&&(e={});const{nodeId:t}=e,n=kp({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[a,l]=o.useState(null),[c,p]=o.useState(null),u=(null==i?void 0:i.domReference)||a,d=o.useRef(null),f=bp();cp((()=>{u&&(d.current=u)}),[u]);const m=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:l}={},transform:c=!0,whileElementsMounted:p,open:u}=e,[d,f]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=o.useState(r);Yc(m,r)||h(r);const[y,g]=o.useState(null),[b,v]=o.useState(null),x=o.useCallback((e=>{e!==E.current&&(E.current=e,g(e))}),[]),T=o.useCallback((e=>{e!==C.current&&(C.current=e,v(e))}),[]),P=a||y,S=l||b,E=o.useRef(null),C=o.useRef(null),w=o.useRef(d),N=null!=p,A=Zc(p),_=Zc(i),R=Zc(u),k=o.useCallback((()=>{if(!E.current||!C.current)return;const e={placement:t,strategy:n,middleware:m};_.current&&(e.platform=_.current),qc(E.current,C.current,e).then((e=>{const t={...e,isPositioned:!1!==R.current};O.current&&!Yc(w.current,t)&&(w.current=t,s.flushSync((()=>{f(t)})))}))}),[m,t,n,_,R]);Xc((()=>{!1===u&&w.current.isPositioned&&(w.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[u]);const O=o.useRef(!1);Xc((()=>(O.current=!0,()=>{O.current=!1})),[]),Xc((()=>{if(P&&(E.current=P),S&&(C.current=S),P&&S){if(A.current)return A.current(P,S,k);k()}}),[P,S,k,A,N]);const $=o.useMemo((()=>({reference:E,floating:C,setReference:x,setFloating:T})),[x,T]),j=o.useMemo((()=>({reference:P,floating:S})),[P,S]),D=o.useMemo((()=>{const e={position:n,left:0,top:0};if(!j.floating)return e;const t=Kc(j.floating,d.x),r=Kc(j.floating,d.y);return c?{...e,transform:"translate("+t+"px, "+r+"px)",...Qc(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,c,j.floating,d.x,d.y]);return o.useMemo((()=>({...d,update:k,refs:$,elements:j,floatingStyles:D})),[d,k,$,j,D])}({...e,elements:{...i,...c&&{reference:c}}}),h=o.useCallback((e=>{const t=_l(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;p(t),m.refs.setReference(t)}),[m.refs]),y=o.useCallback((e=>{(_l(e)||null===e)&&(d.current=e,l(e)),(_l(m.refs.reference.current)||null===m.refs.reference.current||null!==e&&!_l(e))&&m.refs.setReference(e)}),[m.refs]),g=o.useMemo((()=>({...m.refs,setReference:y,setPositionReference:h,domReference:d})),[m.refs,y,h]),b=o.useMemo((()=>({...m.elements,domReference:u})),[m.elements,u]),v=o.useMemo((()=>({...m,...r,refs:g,elements:b,nodeId:t})),[m,g,b,t,r]);return cp((()=>{r.dataRef.current.floatingContext=v;const e=null==f?void 0:f.nodesRef.current.find((e=>e.id===t));e&&(e.context=v)})),o.useMemo((()=>({...m,context:v,refs:g,elements:b})),[m,g,b,v])}function $p(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,events:s,dataRef:i,elements:a}=e,{enabled:l=!0,visibleOnly:c=!0}=t,p=o.useRef(!1),u=o.useRef(-1),d=o.useRef(!0);o.useEffect((()=>{if(!l)return;const e=wl(a.domReference);function t(){!n&&Rl(a.domReference)&&a.domReference===Vl(Kl(a.domReference))&&(p.current=!0)}function r(){d.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}}),[a.domReference,n,l]),o.useEffect((()=>{if(l)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(p.current=!0)}}),[s,l]),o.useEffect((()=>()=>{xp(u)}),[]);const f=o.useMemo((()=>({onPointerDown(e){Xl(e.nativeEvent)||(d.current=!1)},onMouseLeave(){p.current=!1},onFocus(e){if(p.current)return;const t=Jl(e.nativeEvent);if(c&&_l(t))try{if(/apple/i.test(navigator.vendor)&&Gl().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints)throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!d.current&&!ec(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){p.current=!1;const t=e.relatedTarget,n=e.nativeEvent,o=_l(t)&&t.hasAttribute(vp("focus-guard"))&&"outside"===t.getAttribute("data-type");u.current=window.setTimeout((()=>{var e;const s=Vl(a.domReference?a.domReference.ownerDocument:document);(t||s!==a.domReference)&&(Wl(null==(e=i.current.floatingContext)?void 0:e.refs.floating.current,s)||Wl(a.domReference,s)||o||r(!1,n,"focus"))}))}})),[i,a.domReference,r,c]);return o.useMemo((()=>l?{reference:f}:{}),[l,f])}const jp="active",Dp="selected";function Lp(e,t,n){const r=new Map,o="item"===n;let s=e;if(o&&e){const{[jp]:t,[Dp]:n,...r}=e;s=r}return{..."floating"===n&&{tabIndex:-1,[Cp]:""},...s,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,s]=t;var i;o&&[jp,Dp].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof s&&(null==(i=r.get(n))||i.push(s),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),s=0;s<t;s++)o[s]=arguments[s];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=s)})),e):e),{})}}const Ip=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function Mp(e,t){const[n,r]=e;let o=!1;const s=t.length;for(let e=0,i=s-1;e<s;i=e++){const[s,a]=t[e]||[0,0],[l,c]=t[i]||[0,0];a>=r!=c>=r&&n<=(l-s)*(r-a)/(c-a)+s&&(o=!o)}return o}function Fp(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,s=!1,i=null,a=null,l=performance.now();const c=e=>{let{x:n,y:c,placement:p,elements:u,onClose:d,nodeId:f,tree:m}=e;return function(e){function h(){clearTimeout(o),d()}if(clearTimeout(o),!u.domReference||!u.floating||null==p||null==n||null==c)return;const{clientX:y,clientY:g}=e,b=[y,g],v=Jl(e),x="mouseleave"===e.type,T=Wl(u.floating,v),P=Wl(u.domReference,v),S=u.domReference.getBoundingClientRect(),E=u.floating.getBoundingClientRect(),C=p.split("-")[0],w=n>E.right-E.width/2,N=c>E.bottom-E.height/2,A=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(b,S),_=E.width>S.width,R=E.height>S.height,k=(_?S:E).left,O=(_?S:E).right,$=(R?S:E).top,j=(R?S:E).bottom;if(T&&(s=!0,!x))return;if(P&&(s=!1),P&&!x)return void(s=!0);if(x&&_l(e.relatedTarget)&&Wl(u.floating,e.relatedTarget))return;if(m&&Ep(m.nodesRef.current,f).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===C&&c>=S.bottom-1||"bottom"===C&&c<=S.top+1||"left"===C&&n>=S.right-1||"right"===C&&n<=S.left+1)return h();let D=[];switch(C){case"top":D=[[k,S.top+1],[k,E.bottom-1],[O,E.bottom-1],[O,S.top+1]];break;case"bottom":D=[[k,E.top+1],[k,S.bottom-1],[O,S.bottom-1],[O,E.top+1]];break;case"left":D=[[E.right-1,j],[E.right-1,$],[S.left+1,$],[S.left+1,j]];break;case"right":D=[[S.right-1,j],[S.right-1,$],[E.left+1,$],[E.left+1,j]]}if(!Mp([y,g],D)){if(s&&!A)return h();if(!x&&r){const t=function(e,t){const n=performance.now(),r=n-l;if(null===i||null===a||0===r)return i=e,a=t,l=n,null;const o=e-i,s=t-a,c=Math.sqrt(o*o+s*s);return i=e,a=t,l=n,c/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return h()}Mp([y,g],function(e){let[n,r]=e;switch(C){case"top":return[[_?n+t/2:w?n+4*t:n-4*t,r+t+1],[_?n-t/2:w?n+4*t:n-4*t,r+t+1],...[[E.left,w||_?E.bottom-t:E.top],[E.right,w?_?E.bottom-t:E.top:E.bottom-t]]];case"bottom":return[[_?n+t/2:w?n+4*t:n-4*t,r-t],[_?n-t/2:w?n+4*t:n-4*t,r-t],...[[E.left,w||_?E.top+t:E.bottom],[E.right,w?_?E.top+t:E.bottom:E.top+t]]];case"left":{const e=[n+t+1,R?r+t/2:N?r+4*t:r-4*t],o=[n+t+1,R?r-t/2:N?r+4*t:r-4*t];return[...[[N||R?E.right-t:E.left,E.top],[N?R?E.right-t:E.left:E.right-t,E.bottom]],e,o]}case"right":return[[n-t,R?r+t/2:N?r+4*t:r-4*t],[n-t,R?r-t/2:N?r+4*t:r-4*t],...[[N||R?E.left+t:E.right,E.top],[N?R?E.left+t:E.right:E.left+t,E.bottom]]]}}([n,c]))?!s&&r&&(o=window.setTimeout(h,40)):h()}}};return c.__options={blockPointerEvents:n},c}const Bp=e=>{const{arrowRef:n,cornerOffset:r=0,flipCrossAxis:s,flipFallbackAxisSideDirection:i="none",flipFallbackPlacements:a,flipProp:l,isDismissible:c,isOpen:p=!1,offset:u=0,onToggle:d,isFocusableOnHover:f,shiftProp:m,sizeProp:h,positionStrategy:y="absolute",tooltipArrowWidth:g=0,tooltipPlacement:b,trigger:v}=e,[x,T]=t.useState(void 0),[P,S]=t.useState(!1),E=r+g,C=v?.includes(Se.HOVER),w=v?.includes(Se.CLICK),N=v?.includes(Se.FOCUS),{x:A,y:_,floatingStyles:R,refs:k,context:O,placement:$,middlewareData:j}=Op({open:p,onOpenChange:(e,t,n)=>{if(C){if(n===Se.CLICK&&S((e=>!e)),p&&P&&n===Se.HOVER)return;if(p&&P&&(n===Se.CLICK||n===Se.OUTSIDE_PRESS||n===Se.ESCAPE_KEY))return S(!1),void d(!1)}d(e)},placement:b,whileElementsMounted:Fc,middleware:[(L=u,{...Bc(L),options:[L,I]}),op(),l&&np({crossAxis:s,fallbackPlacements:a?(D=a,Array.isArray(D)?D:[D]):void 0,fallbackAxisSideDirection:i}),m&&ep({limiter:tp({offset:()=>({mainAxis:E})})}),h&&rp({apply({availableWidth:e}){T(e)}}),sp({element:n.current,padding:r})],strategy:y});var D,L,I;const M=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:s,elements:{domReference:i}}=e,{enabled:a=!0,event:l="click",toggle:c=!0,ignoreMouse:p=!1,keyboardHandlers:u=!0,stickIfOpen:d=!0}=t,f=o.useRef(),m=o.useRef(!1),h=o.useMemo((()=>({onPointerDown(e){f.current=e.pointerType},onMouseDown(e){const t=f.current;0===e.button&&"click"!==l&&(Ql(t,!0)&&p||(!n||!c||s.current.openEvent&&d&&"mousedown"!==s.current.openEvent.type?(e.preventDefault(),r(!0,e.nativeEvent,"click")):r(!1,e.nativeEvent,"click")))},onClick(e){const t=f.current;"mousedown"===l&&f.current?f.current=void 0:Ql(t,!0)&&p||(!n||!c||s.current.openEvent&&d&&"click"!==s.current.openEvent.type?r(!0,e.nativeEvent,"click"):r(!1,e.nativeEvent,"click"))},onKeyDown(e){f.current=void 0,e.defaultPrevented||!u||wp(e)||(" "!==e.key||Np(i)||(e.preventDefault(),m.current=!0),"Enter"===e.key&&r(!n||!c,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!u||wp(e)||Np(i)||" "===e.key&&m.current&&(m.current=!1,r(!n||!c,e.nativeEvent,"click"))}})),[s,i,l,p,u,r,n,d,c]);return o.useMemo((()=>a?{reference:h}:{}),[a,h])}(O,{enabled:w}),F=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:s,events:i,elements:a}=e,{enabled:l=!0,delay:c=0,handleClose:p=null,mouseOnly:u=!1,restMs:d=0,move:f=!0}=t,m=bp(),h=gp(),y=Tp(p),g=Tp(c),b=Tp(n),v=o.useRef(),x=o.useRef(-1),T=o.useRef(),P=o.useRef(-1),S=o.useRef(!0),E=o.useRef(!1),C=o.useRef((()=>{})),w=o.useRef(!1),N=o.useCallback((()=>{var e;const t=null==(e=s.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[s]);o.useEffect((()=>{if(l)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{open:t}=e;t||(xp(x),xp(P),S.current=!0,w.current=!1)}}),[l,i]),o.useEffect((()=>{if(!l)return;if(!y.current)return;if(!n)return;function e(e){N()&&r(!1,e,"hover")}const t=Kl(a.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[a.floating,n,r,l,y,N]);const A=o.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const o=Sp(g.current,"close",v.current);o&&!T.current?(xp(x),x.current=window.setTimeout((()=>r(!1,e,n)),o)):t&&(xp(x),r(!1,e,n))}),[g,r]),_=lp((()=>{C.current(),T.current=void 0})),R=lp((()=>{if(E.current){const e=Kl(a.floating).body;e.style.pointerEvents="",e.removeAttribute(Pp),E.current=!1}})),k=lp((()=>!!s.current.openEvent&&["click","mousedown"].includes(s.current.openEvent.type)));o.useEffect((()=>{if(l&&_l(a.domReference)){var e;const r=a.domReference;return n&&r.addEventListener("mouseleave",i),null==(e=a.floating)||e.addEventListener("mouseleave",i),f&&r.addEventListener("mousemove",t,{once:!0}),r.addEventListener("mouseenter",t),r.addEventListener("mouseleave",o),()=>{var e;n&&r.removeEventListener("mouseleave",i),null==(e=a.floating)||e.removeEventListener("mouseleave",i),f&&r.removeEventListener("mousemove",t),r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",o)}}function t(e){if(xp(x),S.current=!1,u&&!Ql(v.current)||d>0&&!Sp(g.current,"open"))return;const t=Sp(g.current,"open",v.current);t?x.current=window.setTimeout((()=>{b.current||r(!0,e,"hover")}),t):n||r(!0,e,"hover")}function o(e){if(k())return;C.current();const t=Kl(a.floating);if(xp(P),w.current=!1,y.current&&s.current.floatingContext){n||xp(x),T.current=y.current({...s.current.floatingContext,tree:m,x:e.clientX,y:e.clientY,onClose(){R(),_(),k()||A(e,!0,"safe-polygon")}});const r=T.current;return t.addEventListener("mousemove",r),void(C.current=()=>{t.removeEventListener("mousemove",r)})}("touch"!==v.current||!Wl(a.floating,e.relatedTarget))&&A(e)}function i(e){k()||s.current.floatingContext&&(null==y.current||y.current({...s.current.floatingContext,tree:m,x:e.clientX,y:e.clientY,onClose(){R(),_(),k()||A(e)}})(e))}}),[a,l,e,u,d,f,A,_,R,r,n,b,m,g,y,s,k]),cp((()=>{var e;if(l&&n&&null!=(e=y.current)&&e.__options.blockPointerEvents&&N()){E.current=!0;const e=a.floating;if(_l(a.domReference)&&e){var t;const n=Kl(a.floating).body;n.setAttribute(Pp,"");const r=a.domReference,o=null==m||null==(t=m.nodesRef.current.find((e=>e.id===h)))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[l,n,h,a,m,y,N]),cp((()=>{n||(v.current=void 0,w.current=!1,_(),R())}),[n,_,R]),o.useEffect((()=>()=>{_(),xp(x),xp(P),R()}),[l,a.domReference,_,R]);const O=o.useMemo((()=>{function e(e){v.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function o(){S.current||b.current||r(!0,t,"hover")}u&&!Ql(v.current)||n||0===d||w.current&&e.movementX**2+e.movementY**2<2||(xp(P),"touch"===v.current?o():(w.current=!0,P.current=window.setTimeout(o,d)))}}}),[u,r,n,b,d]),$=o.useMemo((()=>({onMouseEnter(){xp(x)},onMouseLeave(e){k()||A(e.nativeEvent,!1)}})),[A,k]);return o.useMemo((()=>l?{reference:O,floating:$}:{}),[l,O,$])}(O,{enabled:C,handleClose:(B=!!f,B?Fp({requireIntent:!1}):void 0)});var B;const H=$p(O,{enabled:N}),U=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,elements:s,dataRef:i}=e,{enabled:a=!0,escapeKey:l=!0,outsidePress:c=!0,outsidePressEvent:p="pointerdown",referencePress:u=!1,referencePressEvent:d="pointerdown",ancestorScroll:f=!1,bubbles:m,capture:h}=t,y=bp(),g=lp("function"==typeof c?c:()=>!1),b="function"==typeof c?g:c,v=o.useRef(!1),x=o.useRef(!1),{escapeKey:T,outsidePress:P}=Rp(m),{escapeKey:S,outsidePress:E}=Rp(h),C=o.useRef(!1),w=lp((e=>{var t;if(!n||!a||!l||"Escape"!==e.key)return;if(C.current)return;const o=null==(t=i.current.floatingContext)?void 0:t.nodeId,s=y?Ep(y.nodesRef.current,o):[];if(!T&&(e.stopPropagation(),s.length>0)){let e=!0;if(s.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}r(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")})),N=lp((e=>{var t;const n=()=>{var t;w(e),null==(t=Jl(e))||t.removeEventListener("keydown",n)};null==(t=Jl(e))||t.addEventListener("keydown",n)})),A=lp((e=>{var t;const n=v.current;v.current=!1;const o=x.current;if(x.current=!1,"click"===p&&o)return;if(n)return;if("function"==typeof b&&!b(e))return;const a=Jl(e),l="["+vp("inert")+"]",c=Kl(s.floating).querySelectorAll(l);let u=_l(a)?a:null;for(;u&&!Il(u);){const e=Bl(u);if(Il(e)||!_l(e))break;u=e}if(c.length&&_l(a)&&!a.matches("html,body")&&!Wl(a,s.floating)&&Array.from(c).every((e=>!Wl(u,e))))return;if(Rl(a)&&k){const t=Il(a),n=Ml(a),r=/auto|scroll/,o=t||r.test(n.overflowX),s=t||r.test(n.overflowY),i=o&&a.clientWidth>0&&a.scrollWidth>a.clientWidth,l=s&&a.clientHeight>0&&a.scrollHeight>a.clientHeight,c="rtl"===n.direction,p=l&&(c?e.offsetX<=a.offsetWidth-a.clientWidth:e.offsetX>a.clientWidth),u=i&&e.offsetY>a.clientHeight;if(p||u)return}const d=null==(t=i.current.floatingContext)?void 0:t.nodeId,f=y&&Ep(y.nodesRef.current,d).some((t=>{var n;return Zl(e,null==(n=t.context)?void 0:n.elements.floating)}));if(Zl(e,s.floating)||Zl(e,s.domReference)||f)return;const m=y?Ep(y.nodesRef.current,d):[];if(m.length>0){let e=!0;if(m.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}r(!1,e,"outside-press")})),_=lp((e=>{var t;const n=()=>{var t;A(e),null==(t=Jl(e))||t.removeEventListener(p,n)};null==(t=Jl(e))||t.addEventListener(p,n)}));o.useEffect((()=>{if(!n||!a)return;i.current.__escapeKeyBubbles=T,i.current.__outsidePressBubbles=P;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function o(){window.clearTimeout(e),C.current=!0}function c(){e=window.setTimeout((()=>{C.current=!1}),Ll()?5:0)}const u=Kl(s.floating);l&&(u.addEventListener("keydown",S?N:w,S),u.addEventListener("compositionstart",o),u.addEventListener("compositionend",c)),b&&u.addEventListener(p,E?_:A,E);let d=[];return f&&(_l(s.domReference)&&(d=Ul(s.domReference)),_l(s.floating)&&(d=d.concat(Ul(s.floating))),!_l(s.reference)&&s.reference&&s.reference.contextElement&&(d=d.concat(Ul(s.reference.contextElement)))),d=d.filter((e=>{var t;return e!==(null==(t=u.defaultView)?void 0:t.visualViewport)})),d.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{l&&(u.removeEventListener("keydown",S?N:w,S),u.removeEventListener("compositionstart",o),u.removeEventListener("compositionend",c)),b&&u.removeEventListener(p,E?_:A,E),d.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[i,s,l,b,p,n,r,f,a,T,P,w,S,N,A,E,_]),o.useEffect((()=>{v.current=!1}),[b,p]);const R=o.useMemo((()=>({onKeyDown:w,...u&&{[Ap[d]]:e=>{r(!1,e.nativeEvent,"reference-press")},..."click"!==d&&{onClick(e){r(!1,e.nativeEvent,"reference-press")}}}})),[w,r,u,d]),k=o.useMemo((()=>({onKeyDown:w,onMouseDown(){x.current=!0},onMouseUp(){x.current=!0},[_p[p]]:()=>{v.current=!0}})),[w,p]);return o.useMemo((()=>a?{reference:R,floating:k}:{}),[a,R,k])}(O,{outsidePress:!c}),z=function(e,t){var n;void 0===t&&(t={});const{open:r,floatingId:s}=e,{enabled:i=!0,role:a="dialog"}=t,l=null!=(n=Ip.get(a))?n:a,c=fp(),p=null!=gp(),u=o.useMemo((()=>"tooltip"===l||"label"===a?{["aria-"+("label"===a?"labelledby":"describedby")]:r?s:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===l?"dialog":l,"aria-controls":r?s:void 0,..."listbox"===l&&{role:"combobox"},..."menu"===l&&{id:c},..."menu"===l&&p&&{role:"menuitem"},..."select"===a&&{"aria-autocomplete":"none"},..."combobox"===a&&{"aria-autocomplete":"list"}}),[l,s,p,r,c,a]),d=o.useMemo((()=>{const e={id:s,...l&&{role:l}};return"tooltip"===l||"label"===a?e:{...e,..."menu"===l&&{"aria-labelledby":c}}}),[l,s,c,a]),f=o.useCallback((e=>{let{active:t,selected:n}=e;const r={role:"option",...t&&{id:s+"-option"}};switch(a){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}),[s,a]);return o.useMemo((()=>i?{reference:u,floating:d,item:f}:{}),[i,u,d,f])}(O,{role:"tooltip"}),{getReferenceProps:V,getFloatingProps:W}=function(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),s=o.useCallback((t=>Lp(t,e,"reference")),t),i=o.useCallback((t=>Lp(t,e,"floating")),n),a=o.useCallback((t=>Lp(t,e,"item")),r);return o.useMemo((()=>({getReferenceProps:s,getFloatingProps:i,getItemProps:a})),[s,i,a])}([M,F,H,U,z]);return{context:O,getFloatingProps:W,getReferenceProps:e=>{const t=V(e);if(N){const e=t.onMouseDown;t.onMouseDown=t=>{e&&e(t);const n=t.currentTarget;if(n&&n!==document.activeElement){n instanceof HTMLElement&&(n.tabIndex>=0||n instanceof HTMLButtonElement||n instanceof HTMLAnchorElement||n instanceof HTMLInputElement||n instanceof HTMLSelectElement||n instanceof HTMLTextAreaElement)&&n.focus()}}}return t},maxWidth:x,middlewareData:j,placement:$,refs:k,x:A,y:_,position:R.position}},Hp=e=>{const{isDismissible:n,isOpen:r,...o}=e,s=Zt("Tooltip"),i=`${s}Popover`,a=`${i}__arrow`,l=`${i}__close`,c=`${i}--dismissible`,p="is-hidden",u=t.useMemo((()=>!1===r),[r]);return{classProps:{rootClassName:s,popoverClassName:y(i,{[c]:n,[p]:u}),arrowClassName:a,closeButtonClassName:l},props:o}},Up=t.forwardRef(((e,n)=>{const{children:r,elementType:o="div",enableFlipping:s=!0,enableFlippingCrossAxis:i=!0,enableShifting:a=!0,enableSizing:l=!0,flipFallbackAxisSideDirection:c="none",flipFallbackPlacements:p=["bottom","top"],id:u,isDismissible:d=!1,isFocusableOnHover:f=!1,isOpen:m=!1,onToggle:h,placement:y,positionStrategy:g="absolute",trigger:b=["click","hover"],...v}=e,x=o,{classProps:T,props:P}=Hp({isDismissible:d,isOpen:m,...v}),{styleProps:S,props:E}=Wt(P),C=At(x,{classProps:T.rootClassName,styleProps:S}),w=t.useRef(null),N=t.useRef(n);let A,_,R,k;const O=N.current?.querySelector('[data-spirit-element="tooltip"]'),$=O?.querySelector('[data-spirit-element="tooltip-arrow"]');if(O){const e=window.getComputedStyle(O),t=$&&window.getComputedStyle($);A=parseInt(e.getPropertyValue("--tooltip-max-width"),10),_=parseInt(e.getPropertyValue("--tooltip-offset"),10),R=t?parseInt(t.getPropertyValue("--tooltip-arrow-corner-offset"),10):0,k=t?parseInt(t.width,10):0}const{getFloatingProps:j,getReferenceProps:D,maxWidth:L,middlewareData:I,placement:M,refs:F,x:B,y:H,position:U}=Bp({arrowRef:w,cornerOffset:R,flipCrossAxis:i,flipFallbackAxisSideDirection:c,flipFallbackPlacements:p,flipProp:s,isDismissible:d,isFocusableOnHover:f,isOpen:m,offset:_,onToggle:h,shiftProp:a,sizeProp:l,positionStrategy:g,tooltipArrowWidth:k,tooltipPlacement:y,trigger:b});return Hn.jsx(Pl,{value:{anchorRef:F.setPositionReference,arrowRef:w,getFloatingProps:j,getReferenceProps:D,id:u,isDismissible:d,isOpen:m,middlewareData:I,onToggle:h,placement:M,sizeMaxWidth:L,tooltipMaxWidth:A,tooltipRef:F.setFloating,triggerRef:F.setReference,x:B,y:H,position:U},children:Hn.jsx(x,{...E,ref:N,...C,children:r})})}));Up.spiritComponent="Tooltip",Up.displayName="Tooltip";const zp=({label:e,onClick:t,...n})=>{const{t:r}=ln(),o=e??r("common.close"),{classProps:s,props:i}=Hp(n),{styleProps:a}=Wt({...i});return Hn.jsxs("button",{type:"button",className:y(s.closeButtonClassName,a.className),style:a.style,onClick:t,"aria-expanded":"true",children:[Hn.jsx(Qn,{name:"close","aria-hidden":"true"}),Hn.jsx(ws,{children:o})]})};zp.spiritComponent="TooltipCloseButton";const Vp=e=>{const{children:n,...r}=e,{arrowRef:o,getFloatingProps:s,isDismissible:i,isOpen:a,middlewareData:l,onToggle:c,placement:p,tooltipRef:u,x:d,y:f,position:m,sizeMaxWidth:h,tooltipMaxWidth:g}=Sl(),{classProps:b,props:v}=Hp({isOpen:a,isDismissible:i,...r}),{styleProps:x,props:T}=Wt(v),P=t.useMemo((()=>i&&Hn.jsx(zp,{onClick:()=>c(!1),label:"close"})),[i,c]);return Hn.jsxs("div",{ref:u,className:y(b.popoverClassName,x.className),...T,...s(),style:{position:m,top:f??0,left:d??0,...(()=>{if(a&&h&&g)return{maxWidth:g<h?g:h}})(),...x.style},"data-spirit-element":"tooltip","data-spirit-placement":p,children:[n,P,Hn.jsx("span",{ref:o,className:b.arrowClassName,"data-spirit-element":"tooltip-arrow",style:{position:"absolute",...(()=>{if(p&&o.current){const{arrow:e}=l,t={top:"bottom",right:"left",bottom:"top",left:"right"}[p.split("-")[0]],n=o.current,r="top"===t||"bottom"===t?n.offsetHeight:(n.offsetHeight+n.offsetWidth)/2;return{left:e?.x,top:e?.y,[t]:r&&-Math.floor(r)}}})()}})]})};Vp.spiritComponent="TooltipPopover";const Wp={elementType:"button",children:null},Gp=e=>{const t={...Wp,...e},{elementType:n="button",children:r,...o}=t,{id:s,isOpen:i,triggerRef:a,getReferenceProps:l}=Sl(),{styleProps:c,props:p}=Wt(o),u=At(n,{triggerStyleProps:c,transferProps:p});return Hn.jsx(n,{...p,...u,id:s,ref:a,...l(),children:"function"==typeof r?r({isOpen:i}):r})};Gp.spiritComponent="TooltipTrigger";const qp=(e=!1)=>{const[n,r]=t.useState(e);return{isOpen:n,onToggle:r}},Xp=e=>{const{children:t,isOpen:n,...r}=e,{isOpen:o,onToggle:s}=qp(n);return Hn.jsx(Up,{...r,isOpen:o,onToggle:s,children:t})};Xp.spiritComponent="UncontrolledTooltip";const Yp=({feature:e,featureId:n,...r})=>{const{modalContent:o,title:s,tooltipContent:i}=e,{classProps:a}=yl(r),[l,c]=Cn(!1),[p,u]=t.useState(!1);return o?Hn.jsxs("div",{className:a.body.featureTitle,children:[Hn.jsx(Qn,{name:"check-plain",boxSize:16}),Hn.jsx("button",{type:"button",onClick:()=>u(!0),className:y(a.body.featureTitleText,"text-underlined-dotted"),children:s}),Hn.jsx(Da,{id:`${n}-modal`,isOpen:p,onClose:()=>u(!1),children:Hn.jsxs(Fa,{isScrollable:!0,children:[Hn.jsx(Ua,{children:s}),Hn.jsx(La,{children:o})]})})]}):i?Hn.jsxs(Up,{elementType:"div",id:`${n}-tooltip`,isDismissible:!0,isOpen:l,onToggle:c,placement:"top",trigger:["click"],UNSAFE_className:a.body.featureTitle,children:[Hn.jsx(Qn,{name:"check-plain",boxSize:16}),Hn.jsx(Gp,{elementType:"button",UNSAFE_className:y(a.body.featureTitleText,"text-underlined-dotted"),children:s}),Hn.jsx(Vp,{children:Hn.jsx("div",{children:i})})]}):Hn.jsxs("div",{className:a.body.featureTitle,children:[Hn.jsx(Qn,{name:"check-plain",boxSize:16}),Hn.jsx("div",{className:a.body.featureTitleText,id:`${n}-title`,children:s})]})};Yp.spiritComponent="PricingPlanFeatureTitle";const Qp={description:void 0,features:[]},Kp=e=>{const t={...Qp,...e},{description:n,elementType:r="div",features:o=[],id:s,...i}=t,{classProps:a,props:l}=yl(i),{styleProps:c,props:p}=Wt(l),u=At(r,{classProps:a.body.root,styleProps:c});return Hn.jsxs(r,{...p,...u,children:[n&&Hn.jsx("div",{children:n}),Hn.jsx("ul",{className:a.body.featureList,children:o.map(((e,t)=>{const n=`featureItem-${t}`,r=`${s}-feature-${t}`;return Hn.jsxs("li",{className:a.body.featureItem,children:[Hn.jsx(Yp,{feature:e,featureId:r}),Hn.jsx("div",{className:a.body.featureDescription,children:e.description})]},n)}))})]})};Kp.spiritComponent="PricingPlanBody";const Zp=e=>{const{children:t,elementType:n="footer",...r}=e,{classProps:o,props:s}=yl(r),{styleProps:i,props:a}=Wt(s),l=At(n,{classProps:o.footer,styleProps:i});return Hn.jsx(n,{...a,...l,children:t})};Zp.spiritComponent="PricingPlanFooter";const Jp=e=>{const{children:t,...n}=e,r=Zt("ProductLogo"),{styleProps:o,props:s}=Wt(n);return Hn.jsx("div",{...s,className:y(r,o.className),style:o.style,children:t})};function eu(e){const{inputPosition:t=te.START,isItem:n,isLabelHidden:r,validationState:o,...s}=e,{isDisabled:i}=s,a=Zt("Radio"),l=`${a}--disabled`,c=`${a}--item`,p=`${a}__input`,u=mn(a,t),d=`${a}__label`,f=`${a}__label--hidden`,m=`${a}__text`,h=`${a}__helperText`,g=`${a}--${o}`;return{classProps:{root:y(a,{[u]:u,[l]:i,[c]:n,[g]:o}),label:y(d,{[f]:r}),input:p,text:m,helperText:h},props:s}}Jp.spiritComponent="ProductLogo";const tu=t.forwardRef(((e,t)=>{const{classProps:n,props:r}=eu(e),{"aria-describedby":o="",helperText:s,id:i,isChecked:a,isDisabled:l,label:c,onChange:p,value:u,...d}=r,{styleProps:f,props:m}=Wt(d),[h,g]=ns(o),b=qt(h);return Hn.jsxs("div",{style:f.style,className:y(n.root,f.className),children:[Hn.jsx("input",{...m,...b,type:"radio",id:i,className:n.input,disabled:l,checked:a,onChange:p,value:u,ref:t}),Hn.jsxs("div",{className:n.text,children:[Hn.jsx(ts,{UNSAFE_className:n.label,htmlFor:i,children:c}),Hn.jsx(es,{UNSAFE_className:n.helperText,id:`${i}__helperText`,registerAria:g,helperText:s})]})]})}));tu.spiritComponent="Radio",tu.displayName="Radio";const nu="Scroll right",ru="Scroll left",ou="Scroll down",su="Scroll up",iu=K.VERTICAL,au="shadows",lu=({viewportRef:e,direction:n})=>{const r=t.useRef(null);t.useEffect((()=>()=>{r.current&&clearTimeout(r.current)}),[]);return{handleScroll:t.useCallback((t=>{if(!e.current)return;const o=ee(n),s=o?re.LEFT:re.TOP,i=o?e.current.scrollLeft:e.current.scrollTop,a=o?e.current.scrollWidth-e.current.clientWidth:e.current.scrollHeight-e.current.clientHeight;e.current.scrollTo({[s]:i,behavior:"auto"}),r.current&&clearTimeout(r.current);const l=Math.max(0,Math.min(i+t,a));r.current=setTimeout((()=>{e.current&&e.current.scrollTo({[s]:l,behavior:"smooth"})}),10)}),[e,n])}},cu=(e,t,n=300)=>{const r=(e=>e?{start:ru,end:nu}:{top:su,bottom:ou})(e),o={...r,...t};return{arrows:[{icon:e?"chevron-left":"chevron-up",label:e?o.start??r.start:o.top??r.top,step:-n},{icon:e?"chevron-right":"chevron-down",label:e?o.end??r.end:o.bottom??r.bottom,step:n}]}},pu=({direction:e,isScrollbarDisabled:t,isScrolledAtEnd:n,isScrolledAtStart:r,overflowDecorators:o=au})=>{const s=Zt("ScrollView"),i=`${s}--${e}`,a=`${s}--scrollbarDisabled`,l=`${s}__viewport`,c=`${s}__content`,p=`${s}__overflowDecorators`,u={shadows:`${p}--shadows`,borders:`${p}--borders`,both:y(`${p}--shadows`,`${p}--borders`)}[o],d="is-scrolled-at-start",f="is-scrolled-at-end",m=`${s}__arrows`;return{classProps:{root:y(s,i,{[a]:t,[f]:n,[d]:r}),viewport:l,content:c,overflowDecorators:y(p,u),arrows:m}}},uu=e=>{const{ariaLabelArrows:t,direction:n,scrollStep:r,viewportRef:o,...s}=e,{classProps:i}=pu({direction:n}),{styleProps:a,props:l}=Wt(s),c=At("button",{classProps:i.arrows,styleProps:a}),p=ee(n),{arrows:u}=cu(p,t,r),{handleScroll:d}=lu({viewportRef:o,direction:n});return Hn.jsx("div",{...l,...c,children:u.map((({icon:e,label:t,step:n})=>Hn.jsx(ms,{"aria-label":t,onClick:()=>d(n),size:"small",isSymmetrical:!0,children:Hn.jsx(Qn,{name:e})},e)))})};uu.spiritComponent="ScrollViewArrows";const du=({viewportReference:e,contentReference:n,direction:r})=>{const[o,s]=t.useState(!1),[i,a]=t.useState(!1),l=()=>{const t=ee(r),l=t?re.LEFT:re.TOP,c=t?re.RIGHT:re.BOTTOM,p=(()=>{if(!n.current||!e.current)return null;const t=n.current.getBoundingClientRect(),r=e.current.getBoundingClientRect();return{[re.BOTTOM]:t.bottom-r.bottom,[re.LEFT]:t.left-r.left,[re.RIGHT]:t.right-r.right,[re.TOP]:t.top-r.top}})();if(!p)return;const u=p[l]<=-1,d=p[c]>=1;u!==o&&s(u),d!==i&&a(d)},c=t.useCallback(Le(l,50),[l]);return bn({ref:e,onResize:c}),t.useEffect(l,[]),{isScrolledAtEnd:i,isScrolledAtStart:o,onScroll:Le(l,50)}},fu=e=>{const{ariaLabelArrows:n,arrowsScrollStep:r=300,children:o,direction:s=iu,hasArrows:i=!1,isScrollbarDisabled:a,overflowDecorators:l=au,...c}=e,p=t.useRef(null),u=t.useRef(null),{isScrolledAtEnd:d,isScrolledAtStart:f,onScroll:m}=du({contentReference:p,direction:s,viewportReference:u}),{classProps:h}=pu({direction:s,isScrollbarDisabled:a,isScrolledAtStart:f,isScrolledAtEnd:d,overflowDecorators:l}),{styleProps:g,props:b}=Wt(c);return Hn.jsxs("div",{...b,...g,className:y(h.root,g.className),children:[Hn.jsx("div",{className:h.viewport,onScroll:m,ref:u,tabIndex:0,children:Hn.jsx("div",{className:h.content,ref:p,children:o})}),Hn.jsx("div",{className:h.overflowDecorators,"aria-hidden":"true"}),i&&Hn.jsx(uu,{ariaLabelArrows:n,direction:s,scrollStep:r,viewportRef:u})]})};fu.spiritComponent="ScrollView";const mu={[W.XSMALL]:{paddingY:{mobile:"space-900",tablet:"space-1000"}},[W.SMALL]:{paddingY:{mobile:"space-1000",tablet:"space-1100"}},[W.MEDIUM]:{paddingY:{mobile:"space-1100",tablet:"space-1300"}},[W.LARGE]:{paddingY:{mobile:"space-1200",tablet:"space-1400"}},[W.XLARGE]:{paddingY:{mobile:"space-1400",tablet:"space-1600"}}},hu=(e={})=>{const{size:t}=e;return{modifiedProps:t?{...mu[t],...e}:e}},yu=e=>{const{backgroundColor:t}=e||{},n=Zt(`bg-${t}`),r=t?n:"";return{classProps:y({[r]:t})}},gu={elementType:"section",hasContainer:!0,size:void 0},bu=t.forwardRef(((e,t)=>{const n={...gu,...e},{elementType:r=gu.elementType,backgroundColor:o,children:s,containerProps:i,hasContainer:a,...l}=n,c=r,{classProps:p}=yu({backgroundColor:o}),{modifiedProps:u}=hu(l),{styleProps:d,props:f}=Wt(u,{paddingTop:ae.paddingTop,paddingBottom:ae.paddingBottom,paddingY:ae.paddingY,textAlignment:le.textAlignment}),m=At(c,{classProps:p,styleProps:d});return Hn.jsx(c,{...f,...m,ref:t,children:a?Hn.jsx(ps,{...i,children:s}):s})}));bu.spiritComponent="Section",bu.displayName="Section";const vu=t.createContext({isMultiselect:!1,name:"",selectedValue:[],setSelectedValue:()=>{},onSelectionChange:()=>{}}),xu=vu.Provider,Tu=e=>{const{isFluid:t,variant:n=Y.OUTLINE,...r}=e,o=Zt("SegmentedControl"),s=`${o}--fluid`,i=`${o}Item`,a=`${i}__input`,l=`${i}__label`;return{classProps:{root:y(o,`${o}--${n}`,{[s]:t}),input:a,label:l},props:r}},Pu={isFluid:!1,isMultiselect:!1,variant:Y.OUTLINE},Su=e=>{const t={...Pu,...e},{children:n,isMultiselect:r,label:o,name:s,onSelectionChange:i,selectedValue:a,setSelectedValue:l,...c}=t,{classProps:p,props:u}=Tu(c),{styleProps:d,props:f}=Wt(u),m={isMultiselect:r,name:s,selectedValue:a,setSelectedValue:l,onSelectionChange:i};return Hn.jsx(xu,{value:m,children:Hn.jsxs("fieldset",{...f,...d,className:y(p.root,d.className),children:[Hn.jsx(ws,{elementType:"legend",children:o}),n]})})};Su.spiritComponent="SegmentedControl";const Eu=t.forwardRef(((e,n)=>{const{isMultiselect:r,name:o,onSelectionChange:s,selectedValue:i,setSelectedValue:a}=t.useContext(vu),{id:l,isDisabled:c,value:p,children:u,...d}=e,{classProps:f,props:m}=Tu(d),{styleProps:h,props:g}=Wt(m),b=r?Array.isArray(i)&&i.includes(String(p)):i===String(p);return Hn.jsxs(Hn.Fragment,{children:[Hn.jsx("input",{...g,...h,...c&&{disabled:!0},className:y(f.input,h.className),type:r?"checkbox":"radio",name:o,id:l,value:p,checked:b,onChange:()=>(e=>{if(c)return;let t;if(r){const n=Array.isArray(i)?i:[];t=n.includes(e)?n.filter((t=>t!==e)):[...n,e]}else t=e;a(t),s&&s(t)})(String(p))}),Hn.jsx("label",{ref:n,htmlFor:l,...h,className:y(f.label,h.className),children:u})]})}));Eu.spiritComponent="SegmentedControlItem",Eu.displayName="SegmentedControlItem";const Cu=({isDisabled:e,isFluid:t,isLabelHidden:n,isRequired:r,size:o,validationState:s})=>{const i=Zt("Select"),a=`${i}--fluid`,l=`${i}--disabled`,c=`${i}--${o}`,p=`${i}--${s}`,u=`${i}__label`,d=`${u}--required`,f=`${u}--hidden`,m=`${i}__inputContainer`,h=`${i}__input`,g=`${i}__icon`,b=`${i}__validationText`,v=`${i}__helperText`;return{classProps:{root:y(i,{[l]:e,[a]:t,[c]:o,[p]:s}),label:y(u,{[d]:r,[f]:n}),container:m,input:h,icon:g,validationText:b,helperText:v}}},wu=t.forwardRef(((e,t)=>{const{"aria-describedby":n="",children:r,hasValidationIcon:o,helperText:s,id:i,isDisabled:a,isFluid:l,isLabelHidden:c,isRequired:p,label:u,size:d=V.MEDIUM,validationState:f,validationText:m,...h}=e,{classProps:g}=Cu({isDisabled:a,isFluid:l,isLabelHidden:c,isRequired:p,size:d,validationState:f}),{styleProps:b,props:v}=Wt(h),[x,T]=ns(n),P=qt(x),S=ss({validationState:f,validationText:m});return Hn.jsxs("div",{...b,className:y(g.root,b.className),children:[Hn.jsx(ts,{htmlFor:i,UNSAFE_className:g.label,children:u}),Hn.jsxs("div",{className:g.container,children:[Hn.jsx("select",{...v,...P,id:i,className:g.input,disabled:a,required:p,ref:t,children:r}),Hn.jsx("div",{className:g.icon,children:Hn.jsx(Qn,{name:"chevron-down",boxSize:d===V.SMALL?16:20})})]}),Hn.jsx(es,{UNSAFE_className:g.helperText,id:`${i}__helperText`,registerAria:T,helperText:s}),f&&Hn.jsx(os,{UNSAFE_className:g.validationText,...o&&{hasValidationStateIcon:f},id:`${i}__validationText`,validationText:m,registerAria:T,role:S})]})}));function Nu(e){const{size:t,...n}=e||{},r=Zt("Skeleton"),o=`${r}--${t}`,s=`${r}--text`,i=`${r}--heading`,a=`${r}__item`;return{classProps:{root:y(r,{[o]:t}),text:s,heading:i,item:a},props:n}}wu.spiritComponent="Select",wu.displayName="Select";const Au=()=>{const{classProps:e}=Nu();return Hn.jsx("div",{className:y(e.item),"aria-hidden":"true"})};Au.spiritComponent="SkeletonItem";const _u={size:W.MEDIUM,lines:1,elementType:"div"},Ru=e=>{const t={..._u,...e},{elementType:n="div",lines:r,...o}=t,{classProps:s,props:i}=Nu(o),{styleProps:a,props:l}=Wt(i),c=At(n,{classProps:s.root,classPropsText:s.text,styleProps:a,otherProps:l}),p=[...Array(r??1).keys()];return Hn.jsx(n,{...l,...c,children:p.map((e=>Hn.jsx(Au,{},`skeleton-item-${e.toString()}`)))})};Ru.spiritComponent="SkeletonText";const ku={size:W.MEDIUM,lines:1,elementType:"div"},Ou=e=>{const t={...ku,...e},{elementType:n="div",lines:r,...o}=t,{classProps:s,props:i}=Nu(o),{styleProps:a,props:l}=Wt(i),c=At(n,{classProps:s.root,classPropsHeading:s.heading,styleProps:a,otherProps:l}),p=[...Array(r??1).keys()];return Hn.jsx(n,{...l,...c,children:p.map((e=>Hn.jsx(Au,{},`skeleton-item-${e.toString()}`)))})};Ou.spiritComponent="SkeletonHeading";const $u=(e,t)=>{if(!t)return{};const n=`--${e}`;return{[n]:`${t?.toString()}px`}},ju=(e,t)=>{const n={},r=`--${P}radius-`;return"object"==typeof t&&null!==t?Object.keys(t).forEach((o=>{const s="mobile"===o?"":`-${o}`,i=t[o];n[`--${e}${s}`]=`var(${r}${i})`})):t&&(n[`--${e}`]=`var(${r}${t})`),n},Du={borderRadius:j[400],elementType:"div"},Lu=e=>{const t={...Du,...e},{elementType:n="div",...r}=t,{classProps:o,skeletonShapeStyleProps:s,props:i}=(e=>{const{height:t,width:n,borderRadius:r,...o}=e,s=Zt("Skeleton"),i=y(s,`${s}--shape`),a=`${P}skeleton-shape`;return{classProps:i,skeletonShapeStyleProps:{...$u(`${a}-width`,n),...$u(`${a}-height`,t),...r?ju(`${a}-radius`,r):{}},props:o}})(r),{styleProps:a,props:l}=Wt(i),c=At(n,{classProps:o,styleProps:a,skeletonShapeStyleProps:s,otherProps:l});return Hn.jsx(n,{...l,...c})};function Iu(e){const{...t}=e;return{classProps:Zt("SkipLink"),props:t}}Lu.spiritComponent="SkeletonShape";const Mu={elementType:"a"},Fu=t.forwardRef(((e,t)=>{const n={...Mu,...e},{elementType:r=Mu.elementType,children:o,...s}=n,{classProps:i,props:a}=Iu(s),{styleProps:l,props:c}=Wt(a),p=At("a",{classProps:i,styleProps:l,otherProps:c});return Hn.jsx(r,{...c,...p,href:s.href,ref:t,children:o})}));Fu.spiritComponent="SkipLink",Fu.displayName="SkipLink";function Bu(e){const{isDisabled:t,isFluid:n,isLabelHidden:r,validationState:o,...s}=e,i=Zt("Slider"),a=y(i),l=`${i}--disabled`,c=`${i}--fluid`,p=`${i}--${o}`,u=y(`${i}__label`),d=`${i}__label--hidden`,f=`${i}__input`,m=`${i}__helperText`,h=`${i}__validationText`;return{classProps:{root:y(a,{[l]:t,[c]:n,[p]:o}),label:y(u,{[d]:r}),input:f,helperText:m,validationText:h},props:s}}const Hu={max:100,min:0,step:1},Uu=t.forwardRef(((e,t)=>{const n={...Hu,...e},{"aria-describedby":r,hasValidationIcon:o,helperText:s,id:i,isDisabled:a,label:l,max:c,min:p,step:u,validationState:d,validationText:f,value:m,...h}=n,{classProps:g,props:b}=Bu({...h,isDisabled:a,validationState:d}),{styleProps:v,props:x}=Wt(b),[T,P]=ns(r),S=qt(T),E=ss({validationState:d,validationText:f}),C="--slider-position",w=e=>`${Math.round(100*(e-p)/(c-p))}%`;return Hn.jsxs("div",{...v,...x,className:y(g.root,v.className),children:[Hn.jsx(ts,{htmlFor:i,UNSAFE_className:g.label,children:l}),Hn.jsx("input",{...S,className:g.input,id:i,onInput:e=>{const{target:t}=e,{value:n}=t;t.style.setProperty(C,w(Number(n)))},style:{[C]:`${w(m)}`},type:"range",min:p,max:c,step:u,value:m,disabled:a,ref:t}),Hn.jsx(es,{UNSAFE_className:g.helperText,helperText:s,id:`${i}__helperText`,registerAria:P}),d&&Hn.jsx(os,{UNSAFE_className:g.validationText,...o&&{hasValidationStateIcon:d},id:`${i}__validationText`,registerAria:P,validationText:f,role:E})]})}));function zu(){return{classProps:Zt("SplitButton")}}Uu.spiritComponent="Slider",Uu.displayName="Slider";const Vu={color:M.PRIMARY,size:V.MEDIUM},Wu=e=>{const t={...Vu,...e},{children:n,color:r,size:o,isDisabled:s,...i}=t,{classProps:a}=zu(),{styleProps:l,props:c}=Wt(i);return Hn.jsx(Co,{value:{color:r,size:o,isDisabled:s},children:Hn.jsx("div",{...l,...c,className:y(a,l.className),children:n})})},Gu={dropdownPlacement:"bottom-end",dropdownTriggerIconName:"chevron-down"},qu=({children:e,...t})=>{const{styleProps:n,props:r}=Wt(t);return Hn.jsx("div",{...r,...n,children:e})};qu.spiritComponent="TabContent";const Xu=t.createContext({selectedId:"",selectTab:e=>{},onSelectionChange:(e,t)=>{}}),Yu=Xu.Provider,Qu=Xu.Consumer,Ku=()=>t.useContext(Xu);function Zu(e={selectedId:"",forTabPane:"",id:""}){const{spacing:t}=Ku(),{selectedId:n,forTabPane:r,id:o,...s}=e,i=Zt("Tabs"),a=`${i}__item`,l=`${i}__link`,c=`${i}Pane`,p="is-selected",u=Pn(t,"tabs");return{classProps:{item:a,link:y(l,{[p]:!!r&&!!n&&n===r}),pane:y(c,{[p]:!!o&&!!n&&n===o}),root:i},props:s,styleProps:u}}const Ju=({children:e,forTabPane:t,onClick:n,...r})=>{const{selectTab:o,selectedId:s,onSelectionChange:i}=Ku(),{classProps:a}=Zu({forTabPane:t,selectedId:s}),{styleProps:l,props:c}=Wt(r);return Hn.jsx("li",{className:a.item,role:"presentation",children:Hn.jsx("button",{...c,...l,type:"button",className:y(a.link,l.className),role:"tab","aria-selected":s===t,id:`${t}-tab`,"aria-controls":t.toString(),onClick:e=>{o(t),n&&n(e),i&&i(s,t)},children:e})})};Ju.spiritComponent="TabItem";const ed={itemProps:{}},td=t.forwardRef(((e,t)=>{const n={...ed,...e},{elementType:r="a",children:o,itemProps:s={},...i}=n,a=r,{classProps:l}=Zu(),{styleProps:c,props:p}=Wt(s),u=At(a,{classProps:l.link});return Hn.jsx("li",{...c,...p,className:y(l.item,c.className),role:"presentation",children:Hn.jsx(a,{...i,...u,ref:t,children:o})})}));td.spiritComponent="TabLink",td.displayName="TabLink";const nd=({children:e,...t})=>{const{classProps:n,styleProps:r}=Zu(),{styleProps:o,props:s}=Wt(t),i={style:{...o.style,...r}};return Hn.jsx("ul",{...s,...o,...i,className:y(n.root,o.className),role:"tablist",children:e})};nd.spiritComponent="TabList";const rd=({children:e,id:t,...n})=>{const{selectedId:r}=Ku(),{classProps:o}=Zu({id:t,selectedId:r}),{styleProps:s,props:i}=Wt(n);return r===t?Hn.jsx("div",{...i,...s,id:t.toString(),className:y(o.pane,s.className),role:"tabpanel","aria-labelledby":`${t}-tab`,children:e}):null};rd.spiritComponent="TabPane";const od=({children:e,selectedTab:t,toggle:n,onSelectionChange:r,spacing:o})=>Hn.jsx(Yu,{value:{selectedId:t,selectTab:n,onSelectionChange:r,spacing:o},children:e});od.spiritComponent="Tabs";const sd=e=>{const[n,r]=t.useState(e);return{selectedId:n,selectTab:t.useCallback((e=>{r(e)}),[])}},id=({children:e,defaultSelectedTab:t,onSelectionChange:n,spacing:r})=>{const{selectedId:o,selectTab:s}=sd(t);return Hn.jsx(Yu,{value:{selectedId:o,selectTab:s,onSelectionChange:n,spacing:r},children:e})};id.spiritComponent="UncontrolledTabs";const ad={NEUTRAL:"neutral"};function ld(e){const{color:t,isSubtle:n,size:r,...o}=e,s=Zt("Tag"),i=`${s}--${t}`,a=`${s}--${r}`,l=`${s}--subtle`;return{classProps:y(s,{[i]:t,[a]:r,[l]:n}),props:o}}const cd={color:ad.NEUTRAL,elementType:"span",isSubtle:!1,size:W.MEDIUM},pd=t.forwardRef(((e,t)=>{const n={...cd,...e},{elementType:r=cd.elementType,children:o,...s}=n,i=r,{classProps:a,props:l}=ld(s),{styleProps:c,props:p}=Wt(l),u=At(i,{classProps:a,styleProps:c,otherProps:p});return Hn.jsx(i,{...p,...u,ref:t,children:o})}));function ud(e){const{emphasis:t,size:n,textColor:r,...o}=e,s=Zt("typography-body"),i=Zt(r?`text-${r}`:"");return{classProps:y(`${s}-${n}-${t}`,{[i]:!!r}),props:o}}pd.spiritComponent="Tag",pd.displayName="Tag";const dd={elementType:"p",emphasis:U.REGULAR,size:W.MEDIUM},fd=e=>{const t={...dd,...e},{elementType:n="p",children:r,...o}=t,{classProps:s,props:i}=ud(o),{styleProps:a,props:l}=Wt(i,{isTextBalanced:le.isTextBalanced,textAlignment:le.textAlignment,textHyphens:le.textHyphens,textWordBreak:le.textWordBreak}),c=At(n,{classProps:s,styleProps:a,otherProps:l});return Hn.jsx(n,{...l,...c,children:r})};fd.spiritComponent="Text";const md=t.forwardRef(((e,t)=>{const{classProps:n,props:r}=function(e){const{isMultiline:t,id:n,...r}=e;return{classProps:{input:`${Zt(t?"TextArea":"TextField")}__input`},props:{...r,isMultiline:t,id:n}}}(e),{id:o,isDisabled:s,isMultiline:i,isRequired:a,inputWidth:l,type:c,...p}=r,{props:u}=Wt(p),d=i?"textarea":"input",f=i?void 0:c;return Hn.jsx(d,{...u,className:n.input,disabled:s,id:o,required:a,size:l,type:f,ref:t})}));md.spiritComponent="TextFieldBaseInput",md.displayName="TextFieldBaseInput";const hd=e=>{const{t:t}=ln(),{children:n,isPasswordShown:r,onToggleClick:o,isDisabled:s,size:i}=e,{classProps:a}=function(){const e=Zt("TextField");return{classProps:{passwordToggle:`${e}__passwordToggle`,passwordToggleButton:`${e}__passwordToggle__button`,passwordToggleIcon:`${e}__passwordToggle__icon`}}}(),l=t(r?"textField.password.hide":"textField.password.show");return Hn.jsxs("div",{className:a.passwordToggle,children:[n,Hn.jsx("button",{className:a.passwordToggleButton,type:"button",role:"switch","aria-checked":!!r,"aria-label":l,onClick:()=>o(),disabled:s,children:Hn.jsx("span",{className:a.passwordToggleIcon,children:Hn.jsx(Qn,{name:"visibility-"+(r?"off":"on"),boxSize:i===V.SMALL?16:20})})})]})};hd.spiritComponent="TextFieldBasePasswordToggle";function yd(e){const n=e.displayName||e.name||"Component",r=(n,r)=>{const{isPasswordShown:o,passwordToggle:s}=(()=>{const[e,n]=t.useState(!1);return{isPasswordShown:e,passwordToggle:()=>n(!e)}})(),{hasPasswordToggle:i,isDisabled:a,size:l,...c}=n;return i?Hn.jsx(hd,{isDisabled:a,isPasswordShown:o,onToggleClick:s,size:l,children:Hn.jsx(e,{...c,type:o?"text":"password",isDisabled:a,ref:r})}):Hn.jsx(e,{...c,isDisabled:a,ref:r})};return r.displayName=`withPasswordToggle(${n})`,r}yd.spiritComponent="withPasswordToggle";const gd=t.forwardRef(yd(md)),bd=t.forwardRef(((e,t)=>{const{"aria-describedby":n="",hasValidationIcon:r,helperText:o,id:s,label:i,size:a=V.MEDIUM,validationState:l,validationText:c,...p}=e,{classProps:u,props:d}=function(e){const{isFluid:t,isMultiline:n,isLabelHidden:r,size:o,validationState:s,...i}=e,{isDisabled:a,isRequired:l}=i,c=Zt(n?"TextArea":"TextField"),p=`${c}--disabled`,u=`${c}--fluid`,d=`${c}--${o}`,f=`${c}--${s}`,m=`${c}__input`,h=`${c}__label`,g=`${c}__label--required`,b=`${c}__label--hidden`,v=`${c}__validationText`,x=`${c}__passwordToggle`,T=`${c}__passwordToggle__button`,P=`${c}__passwordToggle__icon`,S=`${c}__helperText`;return{classProps:{root:y(c,{[p]:a,[u]:t,[f]:s,[d]:o}),label:y(h,{[g]:l,[b]:r}),input:m,helperText:S,validationText:v,passwordToggle:x,passwordToggleButton:T,passwordToggleIcon:P},props:{...i,isMultiline:n}}}({id:s,size:a,validationState:l,...p}),{styleProps:f,props:m}=Wt(d),[h,g]=ns(n),b=qt(h),v=ss({validationState:l,validationText:c});return Hn.jsxs("div",{...f,className:y(u.root,f.className),children:[Hn.jsx(ts,{htmlFor:s,UNSAFE_className:u.label,children:i}),Hn.jsx(gd,{...m,...b,id:s,ref:t,size:a}),Hn.jsx(es,{UNSAFE_className:u.helperText,id:`${s}__helperText`,registerAria:g,helperText:o}),l&&Hn.jsx(os,{UNSAFE_className:u.validationText,elementType:"span",...r&&{hasValidationStateIcon:l},id:`${s}__validationText`,validationText:c,registerAria:g,role:v})]})}));bd.spiritComponent="TextFieldBase",bd.displayName="TextFieldBase";const vd=t.forwardRef(((e,n)=>{const{onInput:r,isAutoResizing:o,autoResizingMaxHeight:s=400,...i}=e,a=t.useRef(n),{adjustHeightOnAutoresize:l,onInput:c}=(({elementReference:e,maxHeight:n,onInput:r,isAutoResizing:o})=>{const s=e=>{const t=(parseFloat(getComputedStyle(e).getPropertyValue("border-top-width"))||0)+(parseFloat(getComputedStyle(e).getPropertyValue("border-bottom-width"))||0);e.style.height="auto",e.style.overflow="auto";const r=e.scrollHeight+t;e.style.height=`${r<n?r:n}px`,e.style.overflow=r<n?"hidden":"auto"},i=()=>{if(o){const t=e?.current;t&&s(t)}};return t.useEffect((()=>{i()}),[]),{adjustHeight:s,adjustHeightOnAutoresize:i,onInput:e=>{i(),r&&r(e)}}})({elementReference:a,onInput:r,isAutoResizing:o,maxHeight:s});return Hn.jsx(bd,{isMultiline:!0,ref:a,onInput:c,onFocus:l,...i})}));vd.spiritComponent="TextArea",vd.displayName="TextArea";const xd=t.forwardRef(((e,t)=>Hn.jsx(bd,{type:"text",...e,ref:t})));xd.spiritComponent="TextField",xd.displayName="TextField";const Td="dot",Pd="number",Sd=V.SMALL;function Ed(e){const{markerBackgroundColor:t,markerBorderColor:n,markerTextColor:r,markerVariant:o,markerSize:s=Sd,...i}=e||{},a=Zt("Timeline"),l=`${a}Content`,c=`${a}Heading`,p=`${a}Marker`,u=`${a}Step`,d=o===Td||o===Pd,f=Zt(`bg-${t}`),m=Zt(`border-${n}`),h=Zt(`text-${r}`),g=t?f:"",b=n?m:"",v=r?h:"",x=y(p,{[`${p}--${o}`]:!!o,[g]:d,[b]:d,[v]:!!r}),T=Rt(a,s);return{classProps:{content:l,heading:c,marker:x,root:y(a,...T),step:u},props:i}}const Cd={elementType:"ol",size:Sd},wd=e=>{const t={...Cd,...e},{elementType:n="ol",children:r,size:o,...s}=t,{classProps:i}=Ed({markerSize:o}),{styleProps:a,props:l}=Wt(s),c=At(n,{classProps:i.root,styleProps:a,otherProps:l});return Hn.jsx(n,{...l,...c,children:r})};wd.spiritComponent="Timeline";const Nd=e=>{const{children:t,...n}=e,{classProps:r}=Ed(),{styleProps:o,props:s}=Wt(n);return Hn.jsx("div",{...s,className:y(r.content,o.className),style:o.style,children:t})};Nd.spiritComponent="TimelineContent";const Ad=e=>{const{children:t,...n}=e,{classProps:r}=Ed(),{styleProps:o,props:s}=Wt(n);return Hn.jsx("div",{...s,className:y(r.heading,o.className),style:o.style,children:t})};Ad.spiritComponent="TimelineHeading";const _d={variant:"number"},Rd=e=>{const t={..._d,...e},{backgroundColor:n,borderColor:r,children:o,textColor:s,variant:i,...a}=t,{classProps:l}=Ed({markerBackgroundColor:n,markerBorderColor:r,markerTextColor:s,markerVariant:i}),{styleProps:c,props:p}=Wt(a);return Hn.jsx("div",{...p,className:y(l.marker,c.className),style:c.style,"aria-hidden":"true",children:i!==Td&&o})};Rd.spiritComponent="TimelineMarker";const kd={elementType:"li"},Od=e=>{const t={...kd,...e},{elementType:n="li",children:r,...o}=t,{classProps:s}=Ed(),{styleProps:i,props:a}=Wt(o),l=At(n,{classProps:s.step,styleProps:i,otherProps:a});return Hn.jsx(n,{...a,...l,children:r})};Od.spiritComponent="TimelineStep";const $d={alignmentX:_.CENTER,alignmentY:k.BOTTOM,isCollapsible:!0},jd=e=>{const t={...$d,...e},{children:n,alignmentX:r,alignmentY:o,...s}=t,{classProps:i,props:a}=function(e){const{alignmentX:t,alignmentY:n,isCollapsible:r,...o}=e,s=Zt("Toast"),i=[...(a=[t,n],a.map((e=>"object"==typeof e&&null!==e?Object.keys(e).reduce(((t,n)=>[...t,`${s}${"mobile"===n?"":`--${n}`}--${e[n]}`]),[]):[`${s}--${e}`])))];var a;return{classProps:{root:y(s,r&&`${s}--collapsible`,...i),queue:`${s}__queue`},props:o}}({...s,alignmentX:r,alignmentY:o}),{styleProps:l,props:c}=Wt(a);return Hn.jsx("div",{...c,...l,className:y(i.root,l.className),role:"log",children:Hn.jsx("div",{className:i.queue,children:n})})};jd.spiritComponent="Toast";const Dd={entering:"is-open is-transitioning",entered:"is-open",exiting:"is-hidden is-transitioning",exited:"is-hidden"},Ld="neutral",Id={NEUTRAL:"neutral"},Md=e=>{const{color:t,isDismissible:n,...r}=e,o=Zt("ToastBar"),s=`${o}__box`,i=`${o}__close`,a=`${o}__container`,l=`${o}__content`,c=`${o}__link`,p=Zt("link-underlined");return{classProps:{root:y(o,`${o}--${t||Id.NEUTRAL}`,n&&`${o}--dismissible`),box:s,close:i,container:a,content:l,link:y(c,p)},props:r}},Fd=e=>{const{onClose:t,isOpen:n,id:r,closeLabel:o,isDismissible:s,...i}=e,{classProps:a,props:l}=Md({...i}),{styleProps:c,props:p}=Wt(l);return s&&t?Hn.jsxs("button",{...p,...c,type:"button",className:y(a.close,c.className),onClick:t,"aria-expanded":n,"aria-controls":r,children:[Hn.jsx(Qn,{name:"close"}),Hn.jsx(ws,{children:o})]}):null};Fd.spiritComponent="ToastCloseButton";const Bd=e=>{const{t:n}=ln(),{id:r,children:o,closeLabel:s,color:i=Ld,hasIcon:a,iconName:l,isDismissible:c,isOpen:p=!0,onClose:u=()=>{},...d}=e,f=s??n("common.close"),m=t.useRef(null),h=function({color:e,iconName:t}){const n=fn(e,{danger:"danger",informative:"info",neutral:"info",success:"check-plain",warning:"warning"},Ld);return t||n}({color:i,iconName:l}),{classProps:g,props:b}=Md({...d,color:i,isDismissible:c}),{styleProps:v,props:x}=Wt(b);return Hn.jsx(Ir,{in:p,nodeRef:m,timeout:250,unmountOnExit:!0,children:e=>Hn.jsx("div",{...v,...x,id:r,className:y(g.root,Dd[e],v.className),ref:m,children:Hn.jsxs("div",{className:g.box,children:[Hn.jsxs("div",{className:g.container,children:[(a||l)&&Hn.jsx(Qn,{name:h,boxSize:20}),Hn.jsx("div",{className:g.content,children:o})]}),Hn.jsx(Fd,{id:r,isOpen:p,closeLabel:f,onClose:u,isDismissible:c})]})})})};Bd.spiritComponent="ToastBar";const Hd=e=>{const{children:t,...n}=e,{styleProps:r,props:o}=Wt(n);return Hn.jsx("div",{...r,...o,className:y(Zt("text-truncate-multiline"),r.className),children:t})};Hd.spiritComponent="ToastBarMessage";const Ud={elementType:"a"},zd=t.forwardRef(((e,t)=>{const n={...Ud,...e},{elementType:r=Ud.elementType,children:o,...s}=n,i=r,{classProps:a,props:l}=Md({...s}),{styleProps:c,props:p}=Wt(l),u=At(i,{classProps:a.link,styleProps:c,otherProps:p});return Hn.jsx(i,{...p,...u,ref:t,children:o})}));zd.spiritComponent="ToastBarLink",zd.displayName="ToastBarLink";const Vd=t.createContext({clear:()=>{},hide:()=>{},queue:[],setQueue:()=>{},show:()=>{}}),Wd=()=>{const e=t.useContext(Vd);if(!e)throw new Error("useToast has to be used within <ToastProvider>");return e},Gd=e=>{const{t:n}=ln(),{alignmentX:r,alignmentY:o,isCollapsible:s,closeLabel:i,...a}=e,l=i??n("common.close"),{hide:c,queue:p}=Wd();return Hn.jsx(jd,{alignmentX:r,alignmentY:o,isCollapsible:s,children:p.map((e=>{const{color:n,iconName:r,id:o,isOpen:s,content:i,hasIcon:p,isDismissible:u,linkProps:d}=e;return t.createElement(Bd,{...a,key:o,id:o,closeLabel:l,color:n,hasIcon:p,iconName:r,isDismissible:u,onClose:()=>c(o),isOpen:s&&!!i},Hn.jsx(Hd,{children:i.message}),i.link&&Hn.jsx(zd,{...d,children:i.link}))}))})};function qd(e){const{hasIndicators:t=!1,inputPosition:n=te.END,isDisabled:r=!1,isFluid:o=!1,isLabelHidden:s=!1,isRequired:i=!1,validationState:a,...l}=e,c=Zt("Toggle"),p=`${c}--fluid`,u=`${c}--disabled`,d=`${c}__text`,f=`${c}__label`,m=`${f}--hidden`,h=`${c}--${a}`,g=`${f}--required`,b=`${c}__input`,v=`${b}--indicators`,x=mn(c,n),T=`${c}__helperText`,P=`${c}__validationText`;return{classProps:{root:y(c,{[x]:x,[p]:o,[u]:r,[h]:a}),label:y(f,{[g]:i,[m]:s}),text:d,helperText:T,input:y(b,{[v]:t}),validationText:P},props:{...l,validationState:a,isDisabled:r,isRequired:i}}}Gd.spiritComponent="UncontrolledToast";const Xd=t.forwardRef(((e,n)=>{const{classProps:r,props:o}=qd(e),{"aria-describedby":s="",hasValidationIcon:i,id:a,isDisabled:l,isChecked:c=!1,isRequired:p,label:u,helperText:d,onChange:f=()=>{},validationState:m,validationText:h,...g}=o,{styleProps:b,props:v}=Wt(g),[x,T]=ns(s),P=qt(x),[S,E]=t.useState(c),C=ss({validationState:m,validationText:h});return Hn.jsxs("div",{style:b.style,className:y(r.root,b.className),children:[Hn.jsxs("div",{className:r.text,children:[Hn.jsx(ts,{UNSAFE_className:r.label,htmlFor:a,children:u}),Hn.jsx(es,{UNSAFE_className:r.helperText,id:`${a}__helperText`,registerAria:T,helperText:d}),m&&Hn.jsx(os,{UNSAFE_className:r.validationText,...i&&{hasValidationStateIcon:m},id:`${a}__validationText`,validationText:h,registerAria:T,role:C})]}),Hn.jsx("input",{...v,...P,type:"checkbox",id:a,className:r.input,disabled:l,checked:S,required:p,onChange:e=>{E(e.target.checked),f(e)},ref:n})]})}));Xd.spiritComponent="Toggle",Xd.displayName="Toggle";const Yd=(e,t)=>{const n=e.trim().split(/\s+/);return n.length<=t?e:`${n.slice(0,t).join(" ")}…`},Qd=(e,t)=>e.length<=t?e:`${e.slice(0,t)}…`,Kd=e=>e,Zd=(e,n,r)=>t.useMemo((()=>{if("string"!=typeof e)return e;if(!r||r<=0)return e;switch(n){case Ee.WORDS:return Yd(e,r);case Ee.CHARACTERS:return Qd(e,r);case Ee.LINES:default:return e}}),[e,n,r]),Jd=e=>{const{limit:t,mode:n=Ee.LINES,...r}=e,o=Zt(n===Ee.LINES?"text-truncate-multiline":""),s={};return n===Ee.LINES&&void 0!==t&&(s["--text-truncate-lines"]=t),{classProps:o,props:r,styleProps:s,effectiveMode:n,effectiveLimit:t}},ef={elementType:"span"},tf=e=>{const t={...ef,...e},{children:n,elementType:r="span",...o}=t,{classProps:s,props:i,styleProps:a,effectiveMode:l,effectiveLimit:c}=Jd(o),p=Zd(n,l,l!==Ee.LINES?c:void 0),{styleProps:u,props:d}=Wt(i),f=At(r,{classProps:s,styleProps:u,truncateStyleProps:{style:{...u.style,...a}}});return Hn.jsx(r,{...d,...f,children:p})};tf.spiritComponent="Truncate";const nf="file",rf="edit",of={TOP:"--file-uploader-attachment-image-top",LEFT:"--file-uploader-attachment-image-left",WIDTH:"--file-uploader-attachment-image-width",HEIGHT:"--file-uploader-attachment-image-height"},sf=["x","y","cropWidth","cropHeight","originalWidth","originalHeight"];function af(e,t){const n=function(e){return null!=e&&sf.every((t=>null!=e[t]))}(e),r=n?function(e){const{x:t,y:n,cropWidth:r,cropHeight:o,originalWidth:s,originalHeight:i}=e,a=o>r?54/r:54/o;return{[of.TOP]:`-${Math.round(n*a)}px`,[of.LEFT]:`-${Math.round(t*a)}px`,[of.WIDTH]:`${Math.round(s*a)}px`,[of.HEIGHT]:`${Math.round(i*a)}px`}}(e):void 0;return{imageCropCSS:r,imageObjectFitCSS:t?{"--file-uploader-attachment-image-object-fit":t}:void 0,hasCoordsInMeta:n}}const lf=e=>{const t=Zt("Attachment"),n=`${t}--fluid`,r=`${t}__name`,o=`${t}__action`,s=`${t}__image`,i=`${t}__slot`,{imageCropCSS:a,imageObjectFitCSS:l,hasCoordsInMeta:c}=af(e?.meta,e?.imageObjectFit);return{classProps:{root:y(t,{[n]:e?.isFluid}),button:o,name:r,image:s,slot:i,...c&&{imageCropStyles:a},...l&&{attachmentStyles:l}}}},cf=e=>{const{name:t=rf,children:n,...r}=e,{classProps:o}=lf(),{styleProps:s,props:i}=Wt(r);return Hn.jsxs("button",{type:"button",...i,...s,className:y(o.button,s.className),children:[Hn.jsx(ws,{children:n}),Hn.jsx(Qn,{name:t,"aria-hidden":"true"})]})};cf.spiritComponent="UNSTABLE_AttachmentActionButton",cf.displayName="UNSTABLE_AttachmentActionButton";const pf=e=>{const{children:t,...n}=e,{classProps:r}=lf(),{styleProps:o,props:s}=Wt(n);return Hn.jsxs("button",{type:"button",...s,...o,className:y(r.button,o.className),children:[Hn.jsx(ws,{children:t}),Hn.jsx(Qn,{name:"close","aria-hidden":"true"})]})};pf.spiritComponent="UNSTABLE_AttachmentDismissButton",pf.displayName="UNSTABLE_AttachmentDismissButton";const uf={elementType:"li",iconName:nf,isFluid:!1},df=e=>{const t={...uf,...e},{t:n}=ln(),{editText:r,elementType:o,iconName:s,id:i,isFluid:a,label:l,onDismiss:c,onChange:p,removeText:u,previewSlot:d,...f}=t,m=r??n("attachment.edit"),h=u??n("attachment.remove"),{classProps:g}=lf({isFluid:a}),{styleProps:b,props:v}=Wt(f),x=o;return Hn.jsxs(x,{...v,...b,id:i,className:y(g.root,b.className),children:[d??Hn.jsx(Qn,{name:s,"aria-hidden":"true"}),Hn.jsx("span",{className:g.name,children:Hn.jsx("span",{className:Zt("text-truncate"),children:l})}),p&&Hn.jsx("span",{className:g.slot,children:Hn.jsx(cf,{onClick:p,children:m})}),Hn.jsx(pf,{onClick:c,children:h})]})};df.spiritComponent="UNSTABLE_Attachment",df.displayName="UNSTABLE_Attachment";const ff={meta:void 0,imageObjectFit:ne.COVER},mf=e=>{const t={...ff,...e},{label:n,imagePreview:r,meta:o,imageObjectFit:s,...i}=t,{classProps:a}=lf({meta:o,imageObjectFit:s}),l=a.imageCropStyles??{},c=a.attachmentStyles??{},{styleProps:p,props:u}=Wt(i);return Hn.jsx("span",{...u,...p,className:y(a.image,p.className),children:Hn.jsx("img",{src:r,width:54,height:54,alt:n,style:{...l,...c}})})};mf.spiritComponent="UNSTABLE_AttachmentImagePreview",mf.displayName="UNSTABLE_AttachmentImagePreview";const hf=e=>{const{onFilesSelected:t}=e;return{onChange:e=>{if(!t)return;const{files:n}=e.target,r=n?Array.prototype.slice.call(n):[];r.length&&t(r),e.target.blur(),e.target.value=""},...rn({onDrop:e=>{if(!t)return;const n=Array.from(e.dataTransfer.items),r=Array.from(e.dataTransfer.files),o=[];e.dataTransfer.items?.length?n.forEach((e=>{if("file"===e.kind){const t=e.getAsFile();t&&o.push(t)}})):r.forEach((e=>o.push(e))),o.length&&t(o)}})}},yf=e=>{const t=Zt("FileUploader"),n="has-drag-and-drop",r=`${t}--fluid`,o=`${t}Input`,s=`${o}--disabled`,i=`${o}--${e?.validationState}`,a="is-dragging",l=`${o}__dragAndDropLabel`,c=`${o}__dropZone`,p=`${c}Label`,u=`${o}__helperText`,d=`${o}__input`,f=`${o}__label`,m=`${o}__label--hidden`,h=`${o}__label--required`,g=`${o}__link`,b=`${o}__validationText`,v=`${t}List`;return{classProps:{root:y(t,{[r]:e?.isFluid}),input:{root:y(o,{[n]:e?.isDragAndDropSupported,[s]:e?.isDisabled,[a]:e?.isDragging,[i]:e?.validationState}),label:y(f,{[h]:e?.isRequired,[m]:e?.isLabelHidden}),input:d,dropLabel:l,helper:u,link:y(g,"link-primary","link-underlined"),validationText:b,dropZone:{root:c,label:p}},list:v}}},gf=e=>{const[n,r]=t.useState(!1),{"aria-describedby":o="",accept:s,children:i,dropZoneRef:a,hasValidationIcon:l,helperText:c,iconName:p="upload",id:u,inputRef:d,isDisabled:f,isFluid:m,isLabelHidden:h,isMultiple:g,isRequired:b,label:v,labelText:x,linkText:T,name:P,onFilesSelected:S,validationState:E,validationText:C,...w}=e,N=void 0!==P,{isDragging:A,onChange:_,onDragEnter:R,onDragLeave:k,onDragOver:O,onDrop:$}=hf({onFilesSelected:N?S:void 0}),{classProps:j}=yf({isDisabled:f,isDragAndDropSupported:n,isDragging:A,isFluid:m,isLabelHidden:h,isRequired:b,validationState:E}),{styleProps:D,props:L}=Wt(w),[I,M]=ns(o),F=qt(I),B=ss({validationState:E,validationText:C}),H=`${u}-input`;return t.useEffect((()=>{r("draggable"in document.createElement("span"))}),[]),Hn.jsxs("div",{id:u,...L,...D,className:y(j.root,D.className),children:[N&&Hn.jsxs("div",{onDragOver:!f&&n?O:void 0,onDragEnter:!f&&n?R:void 0,onDragLeave:!f&&n?k:void 0,onDrop:!f&&n?$:void 0,className:j.input.root,children:[Hn.jsx(ts,{htmlFor:H,UNSAFE_className:j.input.label,children:v}),Hn.jsx("input",{...F,type:"file",accept:s,id:H,ref:d,name:P,className:j.input.input,onChange:_,multiple:g,disabled:f}),Hn.jsxs("div",{ref:a,className:j.input.dropZone.root,children:[Hn.jsx(Qn,{name:p,"aria-hidden":"true"}),Hn.jsxs(ts,{htmlFor:H,UNSAFE_className:j.input.dropZone.label,children:[Hn.jsx("span",{className:j.input.link,children:T})," ",Hn.jsx("span",{className:j.input.dropLabel,children:x})]}),Hn.jsx(es,{UNSAFE_className:j.input.helper,id:`${H}__helperText`,registerAria:M,helperText:c})]}),E&&Hn.jsx(os,{UNSAFE_className:j.input.validationText,elementType:"span",...l&&{hasValidationStateIcon:E},id:`${H}__validationText`,validationText:C,registerAria:M,role:B})]}),i]})};gf.spiritComponent="UNSTABLE_FileUpload",gf.displayName="UNSTABLE_FileUpload";const bf=e=>{const{hasBottomDivider:t=!1,...n}=e,r=Zt("UNSTABLE_Header"),o=`${r}Logo`,s=`${r}--bottomDivider`;return{classProps:{root:y(r,{[s]:t}),logo:o},props:n}},vf=Object.freeze(Object.defineProperty({__proto__:null,useUnstableHeaderStyleProps:bf},Symbol.toStringTag,{value:"Module"})),xf=e=>{const{children:t,...n}=e,{classProps:r,props:o}=bf(n),{styleProps:s,props:i}=Wt(o);return Hn.jsx("header",{...i,className:y(r.root,s.className),style:s.style,children:t})};xf.spiritComponent="UNSTABLE_Header";const Tf={elementType:"a"},Pf=t.forwardRef(((e,t)=>{const n={...Tf,...e},{elementType:r=Tf.elementType,children:o,...s}=n,i=r,{classProps:a,props:l}=bf(s),{styleProps:c,props:p}=Wt(l),u=At(i,{classProps:a.logo,styleProps:c,otherProps:p});return Hn.jsx(i,{...p,...u,href:s.href,ref:t,children:o})}));Pf.spiritComponent="UNSTABLE_HeaderLogo",Pf.displayName="UNSTABLE_HeaderLogo",e.Accordion=Un,e.AccordionContent=Kr,e.AccordionContext=Rn,e.AccordionHeader=Zn,e.AccordionItem=Gn,e.AccordionItemContext=zn,e.ActionGroup=ro,e.Alert=io,e.AlignmentX=_,e.AlignmentXExtended=R,e.AlignmentY=k,e.AlignmentYExtended=O,e.AttachmentActionButton=xi,e.AttachmentCropCSS=of,e.AttachmentDismissButton=Ti,e.Avatar=co,e.BREAKPOINT_MOBILE=Te,e.BackgroundColors=I,e.BackgroundGradients={PRIMARY:"primary",SECONDARY:"secondary"},e.BackgroundStyleProps=oe,e.BorderColors=$,e.BorderRadii=j,e.BorderRadiusStyleProps=se,e.BorderStyles=D,e.BorderWidths=L,e.Box=fo,e.Breadcrumbs=To,e.BreadcrumbsItem=vo,e.Button=ko,e.ButtonLink=Do,e.CLASS_NAME_OPEN=v,e.Card=Mo,e.CardArtwork=Bo,e.CardBody=Uo,e.CardEyebrow=zo,e.CardFooter=Wo,e.CardLink=qo,e.CardLogo=Xo,e.CardMedia=Qo,e.CardSizes=he,e.CardTitle=Zo,e.Checkbox=as,e.ClassNamePrefixConsumer=me,e.ClassNamePrefixProvider=fe,e.Collapse=qr,e.ColorPrefixes=x,e.ComponentButtonColors=M,e.Container=ps,e.ContainerTokenSizes=X,e.ControlButton=ms,e.DEBOUNCE_DELAY=50,e.DEFAULT_ATTACHMENT_ACTION_BUTTON_ICON_NAME=rf,e.DEFAULT_ATTACHMENT_ICON_NAME=nf,e.DEFAULT_ATTACHMENT_IMAGE_DIMENSION=54,e.DEFAULT_ERROR_MESSAGE_MAX_FILE_SIZE=si,e.DEFAULT_ERROR_MESSAGE_QUEUE_DUPLICITY=ii,e.DEFAULT_ERROR_MESSAGE_QUEUE_LIMIT=ai,e.DEFAULT_ERROR_MESSAGE_UNSUPPORTED_FILE=li,e.DEFAULT_FILE_QUEUE_LIMIT=oi,e.DEFAULT_FILE_SIZE_LIMIT=ri,e.DEFAULT_ICON_NAME=ci,e.DEFAULT_TOAST_AUTO_CLOSE_INTERVAL=3e3,e.DEFAULT_TOAST_COLOR=Ld,e.Dialog=ys,e.Direction=K,e.DirectionAxis=J,e.DirectionExtended=Z,e.DisplayStyleProps=pe,e.Divider=bs,e.Drawer=Cs,e.DrawerCloseButton=As,e.DrawerConsumer=Ps,e.DrawerPanel=_s,e.DrawerProvider=Ts,e.Dropdown=Hs,e.DropdownContext=Is,e.DropdownFullWidthModes={OFF:"off",MOBILE_ONLY:"mobile-only",ALL:"all"},e.DropdownPopover=Vs,e.DropdownTrigger=zs,e.EDGE_DETECTION_INACCURACY_PX=1,e.EmotionColors=F,e.Emphasis=U,e.EmptyState=ei,e.EmptyStateSection=ti,e.FieldGroup=ni,e.FileUploader=yi,e.FileUploaderAttachment=Ai,e.FileUploaderCropCSS=pi,e.FileUploaderInput=bi,e.FileUploaderList=vi,e.FillVariants=Y,e.Flex=to,e.Footer=Oi,e.Grid=Di,e.GridItem=Fi,e.HEADER_ACTIONS_COLOR_DEFAULT=Hi,e.HEADER_COLOR_DEFAULT=Bi,e.HEADER_DIALOG_CLOSE_BUTTON_LABEL_DEFAULT=Ui,e.HEADER_MENU_TOGGLE_LABEL_DEFAULT=zi,e.Header=Wi,e.HeaderButton=Gi,e.HeaderDesktopActions=Xi,e.HeaderDialog=Ji,e.HeaderDialogActions=ea,e.HeaderDialogButton=ta,e.HeaderDialogCloseButton=na,e.HeaderDialogConsumer=Ki,e.HeaderDialogLink=ra,e.HeaderDialogNav=oa,e.HeaderDialogNavItem=sa,e.HeaderDialogProvider=Qi,e.HeaderDialogText=ia,e.HeaderLink=aa,e.HeaderMobileActions=la,e.HeaderNav=ca,e.HeaderNavItem=pa,e.Heading=fa,e.HeadingStyleProps=ce,e.HelperText=es,e.Hidden=ha,e.ICON_BOX_SIZE=20,e.IMAGE_DIMENSION=54,e.IMAGE_PREVIEW_BASE64_MAX_WIDTH=500,e.ITEM_SELECTION_DECORATOR_BACKGROUND=ye,e.ITEM_SELECTION_DECORATOR_BOTH=ge,e.ITEM_SELECTION_DECORATOR_ICON=be,e.Icon=Qn,e.IconBox=Sa,e.IconsConsumer=un,e.IconsProvider=pn,e.InputPositions=te,e.Intensity=H,e.Item=Ca,e.Label=ts,e.Link=yo,e.LinkColors={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},e.LinkColorsExtended={INHERIT:"inherit"},e.Matrix=_a,e.Modal=Da,e.ModalBody=La,e.ModalCloseButton=Ia,e.ModalConsumer=Oa,e.ModalDialog=Fa,e.ModalFooter=Ba,e.ModalHeader=Ua,e.ModalProvider=ka,e.Navigation=Wa,e.NavigationAction=Xa,e.NavigationAvatar=Qa,e.NavigationItem=Za,e.NoSsr=Ja,e.ObjectFit=ne,e.PaddingStyleProps=ae,e.Pagination=tl,e.PaginationButtonLink=nl,e.PaginationItem=rl,e.PaginationLink=ol,e.PaginationLinkNext=sl,e.PaginationLinkPrevious=il,e.PartnerLogo=ul,e.Pill=hl,e.PillColorsExtended=dl,e.Placements=z,e.Position=re,e.PricingPlan=bl,e.PricingPlanBody=Kp,e.PricingPlanFooter=Zp,e.PricingPlanHeader=xl,e.ProductLogo=Jp,e.PropsConsumer=wo,e.PropsProvider=Co,e.Radio=tu,e.SCROLL_CANCEL_DELAY=10,e.SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_END=nu,e.SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START=ru,e.SCROLL_VIEW_ARROWS_LABEL_VERTICAL_END=ou,e.SCROLL_VIEW_ARROWS_LABEL_VERTICAL_START=su,e.SCROLL_VIEW_DEFAULT_DIRECTION=iu,e.SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR=au,e.STYLE_SPACING_AUTO=xe,e.ScrollView=fu,e.ScrollViewArrows=uu,e.Section=bu,e.SegmentedControl=Su,e.SegmentedControlItem=Eu,e.Select=wu,e.ShapeVariants=Q,e.Sizes=V,e.SizesExtended=W,e.SkeletonHeading=Ou,e.SkeletonItem=Au,e.SkeletonShape=Lu,e.SkeletonText=Ru,e.SkipLink=Fu,e.Slider=Uu,e.SpacingStyleProp=ie,e.Spinner=_o,e.SpiritBreakpoints=Pe,e.SplitButton=Wu,e.Stack=Qs,e.StackItem=Zs,e.TOOLTIP_TRIGGER=Se,e.TRANSITIONING_STYLES=Dd,e.TRANSITION_DURATION=250,e.TabContent=qu,e.TabContext=Xu,e.TabItem=Ju,e.TabLink=td,e.TabList=nd,e.TabPane=rd,e.Tabs=od,e.TabsConsumer=Qu,e.TabsProvider=Yu,e.Tag=pd,e.TagColorsExtended=ad,e.Text=fd,e.TextAlignments={LEFT:"left",CENTER:"center",RIGHT:"right"},e.TextArea=vd,e.TextColors=B,e.TextField=xd,e.TextFieldBase=bd,e.TextHyphens={NONE:"none",AUTO:"auto",MANUAL:"manual"},e.TextStyleProps=le,e.TextWordBreaks={NORMAL:"normal",ANYWHERE:"anywhere",LONG_WORDS:"long-words"},e.ThemeStyleProps=ue,e.Timeline=wd,e.TimelineContent=Nd,e.TimelineHeading=Ad,e.TimelineMarker=Rd,e.TimelineStep=Od,e.Toast=jd,e.ToastBar=Bd,e.ToastBarLink=zd,e.ToastBarMessage=Hd,e.ToastColorsExtended=Id,e.Toggle=Xd,e.Tooltip=Up,e.TooltipCloseButton=zp,e.TooltipPopover=Vp,e.TooltipTrigger=Gp,e.Truncate=tf,e.TruncateModes=Ee,e.UNDERLINED_OPTIONS=ve,e.UNSTABLE_Attachment=df,e.UNSTABLE_AttachmentActionButton=cf,e.UNSTABLE_AttachmentDismissButton=pf,e.UNSTABLE_AttachmentImagePreview=mf,e.UNSTABLE_FileUpload=gf,e.UNSTABLE_Header=xf,e.UNSTABLE_HeaderLogo=Pf,e.UncontrolledAccordion=Zr,e.UncontrolledCollapse=Qr,e.UncontrolledDropdown=Gs,e.UncontrolledFileUploader=Ri,e.UncontrolledPagination=ll,e.UncontrolledSplitButton=e=>{const{t:n}=ln(),r={...Gu,...e},{buttonIconName:o,buttonLabel:s,buttonOnClick:i,children:a,dropdownTriggerIconName:l,dropdownTriggerLabel:c,dropdownPlacement:p,id:u,isButtonLabelHidden:d,isDisabled:f,isDropdownTriggerLabelHidden:m,...h}=r,y=c??n("splitButton.dropdown"),[g,b]=t.useState(!1);return Hn.jsxs(Wu,{...h,id:u,isDisabled:f,children:[Hn.jsxs(ko,{onClick:i,children:[o&&Hn.jsx(Qn,{name:o,...!d&&{marginRight:"space-400"}}),d?Hn.jsx(ws,{children:s}):s]}),Hn.jsxs(Hs,{id:`${u}-dropdown`,isOpen:g,onToggle:()=>b(!g),placement:p,children:[Hn.jsxs(zs,{elementType:ko,children:[m?Hn.jsx(ws,{children:y}):y,Hn.jsx(Qn,{name:l,...!m&&{marginLeft:"space-400"}})]}),Hn.jsx(Vs,{children:a})]})]})},e.UncontrolledTabs=id,e.UncontrolledToast=Gd,e.UncontrolledTooltip=Xp,e.ValidationStates={SUCCESS:"success",WARNING:"warning",DANGER:"danger"},e.ValidationText=os,e.VisuallyHidden=ws,e.applyClassNamePrefix=ke,e.applyColor=Oe,e.applySize=$e,e.applyTheme=e=>t=>`${t}--${e}`,e.base64ToByteArray=e=>{const t=atob(e),n=new Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return new Uint8Array(n)},e.camelCaseToKebabCase=Ot,e.compose=De,e.debounce=Le,e.defaultLabels=on,e.delayedCallback=(e,t)=>{const n=setTimeout((()=>{e(),clearTimeout(n)}),t)},e.fullWidthModeKeys=js,e.generateColorsObject=je,e.generateResponsiveClassNames=Rt,e.generateResponsiveStylePropsClasses=Mt,e.generateStaticStylePropsClasses=It,e.generateStylePropsClassNames=Ft,e.getAccentBackgroundColors=()=>je(E,"background","accent"),e.getAccentBorderColors=()=>je(E,"border","accent"),e.getAccentColorNames=()=>Object.keys(E),e.getAccentTextColors=()=>je(E,"content","accent"),e.getAttachmentInput=Ei,e.getAttachmentMetaInput=Ci,e.getEmotionBackgroundColors=()=>je(w,"background","emotion"),e.getEmotionBorderColors=()=>je(w,"border","emotion"),e.getEmotionColorNames=()=>Object.keys(w),e.getEmotionTextColors=()=>je(w,"content","emotion"),e.getNeutralBackgroundColors=()=>({NEUTRAL_BASIC:"neutral-basic",NEUTRAL_SUBTLE:"neutral-subtle"}),e.getNeutralTextColors=()=>({NEUTRAL_BASIC:"neutral-basic",NEUTRAL_SUBTLE:"neutral-subtle"}),e.getTextColorNames=()=>Object.keys(N),e.htmlReactParser=Nt,e.image2Base64Preview=wi,e.isDirectionHorizontal=ee,e.isEmpty=Re,e.isEmptyArray=Ne,e.isEmptyObject=Ae,e.isEmptyString=we,e.isEnumerable=_e,e.isNullish=Ce,e.isResponsive=_t,e.isSSR=kt,e.kebabCaseToCamelCase=$t,e.kebabCaseToCamelCaseValues=jt,e.mergeStyleProps=At,e.replaceTranslationParams=sn,e.resolveTranslationKey=an,e.stringOrObjectKebabCaseToCamelCase=Dt,e.toPascalCase=Lt,e.truncateByCharacters=Qd,e.truncateByLines=Kd,e.truncateByWords=Yd,e.useAccordion=i,e.useAccordionAriaProps=p,e.useAccordionStyleProps=_n,e.useAlertStyleProps=oo,e.useAlignmentClass=Gt,e.useAriaDescribedBy=qt,e.useAriaIds=ns,e.useAttachmentImageStyles=af,e.useAttachmentStyleProps=lf,e.useAvatarStyleProps=ao,e.useBoxStyleProps=po,e.useBreadcrumbsStyleProps=go,e.useButtonLinkProps=Oo,e.useButtonLinkStyleProps=$o,e.useButtonProps=Po,e.useButtonStyleProps=So,e.useCancelEvent=Kt,e.useCardStyleProps=Lo,e.useCheckboxStyleProps=is,e.useClassNamePrefix=Zt,e.useClick=Jt,e.useClickOutside=en,e.useCollapse=Xr,e.useCollapseAriaProps=Ur,e.useCollapseStyleProps=zr,e.useContainerStyleProps=ls,e.useContextProps=No,e.useControlButtonProps=us,e.useControlButtonStyleProps=ds,e.useDefaultResponsiveRowsStyle=wa,e.useDeprecationMessage=tn,e.useDialog=hs,e.useDimensionStyle=nn,e.useDividerStyleProps=gs,e.useDragAndDrop=rn,e.useDrawerContext=Ss,e.useDrawerStyleProps=Es,e.useDropdown=Ws,e.useDropdownAriaProps=Ds,e.useDropdownStyleProps=Bs,e.useEmptyStateStyleProps=Js,e.useFileQueue=_i,e.useFileUploadState=hf,e.useFileUploadStyleProps=yf,e.useFileUploaderAttachment=Ni,e.useFileUploaderInput=gi,e.useFileUploaderStyleProps=hi,e.useFlexStyleProps=Jr,e.useGridStyleProps=$i,e.useHeaderDialogContext=Zi,e.useHeaderStyleProps=Vi,e.useHeadingStyleProps=ua,e.useI18n=ln,e.useIcon=dn,e.useIconBoxColors=xa,e.useIconBoxStyleProps=Ta,e.useIconName=fn,e.useIconStyleProps=Xn,e.useInputPositionClass=mn,e.useIsomorphicLayoutEffect=Xt,e.useItemStyleProps=Ea,e.useLastActiveFocus=hn,e.useLinkStyleProps=mo,e.useMatrixStyleProps=Na,e.useModalContext=$a,e.useModalStyleProps=ja,e.useNavigationActionProps=Ga,e.useNavigationStyleProps=za,e.useOpenItem=$n,e.usePaginationStyleProps=el,e.usePartnerLogoStyleProps=cl,e.usePillStyleProps=fl,e.usePricingPlanStyleProps=yl,e.useRadioStyleProps=eu,e.useResizeObserver=bn,e.useScrollCallback=lu,e.useScrollControl=Tn,e.useScrollPosition=du,e.useScrollViewArrows=cu,e.useScrollViewStyleProps=pu,e.useSectionSizeProps=hu,e.useSectionStyleProps=yu,e.useSegmentedControl=({defaultSelectedValue:e,isMultiselect:n})=>{let r;r=n?Array.isArray(e)?e:void 0!==e?[e]:[]:e??"";const[o,s]=t.useState(r);return{selectedValue:o,setSelectedValue:s}},e.useSegmentedControlStyleProps=Tu,e.useSelectStyleProps=Cu,e.useSkeletonStyleProps=Nu,e.useSkipLinkStyleProps=Iu,e.useSliderStyleProps=Bu,e.useSpacingStyle=Pn,e.useSpinnerStyleProps=Ao,e.useSplitButtonStyleProps=zu,e.useStyleProps=Wt,e.useSymmetry=En,e.useTab=sd,e.useTabContext=Ku,e.useTabsStyleProps=Zu,e.useTagStyleProps=ld,e.useTextStyleProps=ud,e.useTimelineStyleProps=Ed,e.useToast=Wd,e.useToggle=Cn,e.useToggleStyleProps=qd,e.useTooltip=qp,e.useTooltipStyleProps=Hp,e.useTruncateStyleProps=Jd,e.useTruncatedText=Zd,e.useUnstableHeaderStyleProps=vf,e.useWrapClass=An,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).webReact={},e.React,e.ReactDOM)}(this,(function(e,t,n){"use strict";function r(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const o=r(t),s=r(n),i=({defaultOpen:e,stayOpen:n})=>{const[r,o]=t.useState(e);return{open:r,toggle:e=>{n?Array.isArray(r)?r?.includes(e)?o(r.filter((t=>t!==e))):o([...r,e]):o([e]):o(r===e?void 0:e)}}},a="aria-expanded",l="aria-controls",c="aria-labelledby",p=({id:e,isOpen:t})=>{const n=`${e}_Header`,r=`${e}_Content`;return{headerProps:{id:n},triggerProps:{[a]:t,[l]:r},contentProps:{id:r,[c]:n}}};function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var u,m={exports:{}};var f,h=(u||(u=1,f=m,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var s in n)e.call(n,s)&&n[s]&&(o=r(o,s));return o}function r(e,t){return t?e?e+" "+t:e+t:e}f.exports?(t.default=t,f.exports=t):window.classNames=t}()),m.exports);const g=d(h),y="production",b=(e,t)=>{if(process.env.NODE_ENV!==y){const e=`Warning: ${t}`;"undefined"!=typeof console&&console.warn(e);try{throw Error(e)}catch(e){}}},v="is-open",x={ACCENT:"accent",EMOTION:"emotion"},T={mobile:0,tablet:"48rem",desktop:"80rem"},P="spirit-",S={xsmall:{maxWidth:"30rem"},small:{maxWidth:"40rem"},medium:{maxWidth:"48rem"},large:{maxWidth:"64rem"},xlarge:{maxWidth:"80rem"},padding:{desktop:"2rem",mobile:"1rem",tablet:"2rem"},maxWidth:"80rem"},E={"01":{backgroundBasic:"var(--spirit-color-accent-01-background-basic)",backgroundSubtle:"var(--spirit-color-accent-01-background-subtle)",borderBasic:"var(--spirit-color-accent-01-border-basic)",borderSubtle:"var(--spirit-color-accent-01-border-subtle)",contentBasic:"var(--spirit-color-accent-01-content-basic)",contentSubtle:"var(--spirit-color-accent-01-content-subtle)",stateActive:"var(--spirit-color-accent-01-state-active)",stateDefault:"var(--spirit-color-accent-01-state-default)",stateHover:"var(--spirit-color-accent-01-state-hover)"},"02":{backgroundBasic:"var(--spirit-color-accent-02-background-basic)",backgroundSubtle:"var(--spirit-color-accent-02-background-subtle)",borderBasic:"var(--spirit-color-accent-02-border-basic)",borderSubtle:"var(--spirit-color-accent-02-border-subtle)",contentBasic:"var(--spirit-color-accent-02-content-basic)",contentSubtle:"var(--spirit-color-accent-02-content-subtle)",stateActive:"var(--spirit-color-accent-02-state-active)",stateDefault:"var(--spirit-color-accent-02-state-default)",stateHover:"var(--spirit-color-accent-02-state-hover)"}},C={button:{plain:{border:"var(--spirit-color-component-button-plain-border)",content:"var(--spirit-color-component-button-plain-content)",stateActive:"var(--spirit-color-component-button-plain-state-active)",stateDefault:"var(--spirit-color-component-button-plain-state-default)",stateHover:"var(--spirit-color-component-button-plain-state-hover)"},primary:{border:"var(--spirit-color-component-button-primary-border)",content:"var(--spirit-color-component-button-primary-content)",stateActive:"var(--spirit-color-component-button-primary-state-active)",stateDefault:"var(--spirit-color-component-button-primary-state-default)",stateHover:"var(--spirit-color-component-button-primary-state-hover)"},secondary:{border:"var(--spirit-color-component-button-secondary-border)",content:"var(--spirit-color-component-button-secondary-content)",stateActive:"var(--spirit-color-component-button-secondary-state-active)",stateDefault:"var(--spirit-color-component-button-secondary-state-default)",stateHover:"var(--spirit-color-component-button-secondary-state-hover)"},tertiary:{border:"var(--spirit-color-component-button-tertiary-border)",content:"var(--spirit-color-component-button-tertiary-content)",stateActive:"var(--spirit-color-component-button-tertiary-state-active)",stateDefault:"var(--spirit-color-component-button-tertiary-state-default)",stateHover:"var(--spirit-color-component-button-tertiary-state-hover)"}}},N={danger:{backgroundBasic:"var(--spirit-color-emotion-danger-background-basic)",backgroundSubtle:"var(--spirit-color-emotion-danger-background-subtle)",borderBasic:"var(--spirit-color-emotion-danger-border-basic)",borderSubtle:"var(--spirit-color-emotion-danger-border-subtle)",contentBasic:"var(--spirit-color-emotion-danger-content-basic)",contentSubtle:"var(--spirit-color-emotion-danger-content-subtle)",stateActive:"var(--spirit-color-emotion-danger-state-active)",stateDefault:"var(--spirit-color-emotion-danger-state-default)",stateHover:"var(--spirit-color-emotion-danger-state-hover)"},informative:{backgroundBasic:"var(--spirit-color-emotion-informative-background-basic)",backgroundSubtle:"var(--spirit-color-emotion-informative-background-subtle)",borderBasic:"var(--spirit-color-emotion-informative-border-basic)",borderSubtle:"var(--spirit-color-emotion-informative-border-subtle)",contentBasic:"var(--spirit-color-emotion-informative-content-basic)",contentSubtle:"var(--spirit-color-emotion-informative-content-subtle)",stateActive:"var(--spirit-color-emotion-informative-state-active)",stateDefault:"var(--spirit-color-emotion-informative-state-default)",stateHover:"var(--spirit-color-emotion-informative-state-hover)"},success:{backgroundBasic:"var(--spirit-color-emotion-success-background-basic)",backgroundSubtle:"var(--spirit-color-emotion-success-background-subtle)",borderBasic:"var(--spirit-color-emotion-success-border-basic)",borderSubtle:"var(--spirit-color-emotion-success-border-subtle)",contentBasic:"var(--spirit-color-emotion-success-content-basic)",contentSubtle:"var(--spirit-color-emotion-success-content-subtle)",stateActive:"var(--spirit-color-emotion-success-state-active)",stateDefault:"var(--spirit-color-emotion-success-state-default)",stateHover:"var(--spirit-color-emotion-success-state-hover)"},warning:{backgroundBasic:"var(--spirit-color-emotion-warning-background-basic)",backgroundSubtle:"var(--spirit-color-emotion-warning-background-subtle)",borderBasic:"var(--spirit-color-emotion-warning-border-basic)",borderSubtle:"var(--spirit-color-emotion-warning-border-subtle)",contentBasic:"var(--spirit-color-emotion-warning-content-basic)",contentSubtle:"var(--spirit-color-emotion-warning-content-subtle)",stateActive:"var(--spirit-color-emotion-warning-state-active)",stateDefault:"var(--spirit-color-emotion-warning-state-default)",stateHover:"var(--spirit-color-emotion-warning-state-hover)"}},w={primary:"var(--spirit-color-text-primary)",secondary:"var(--spirit-color-text-secondary)",tertiary:"var(--spirit-color-text-tertiary)"};function A(e){return Object.fromEntries(Object.keys(e).map((e=>[e.toUpperCase(),e])))}const _={LEFT:"left",CENTER:"center",RIGHT:"right"},R={SPACE_BETWEEN:"space-between",STRETCH:"stretch",..._},k={TOP:"top",CENTER:"center",BOTTOM:"bottom"},O={BASELINE:"baseline",STRETCH:"stretch",...k},$={BASIC:"basic"},j={0:"0",100:"100",200:"200",300:"300",400:"400",500:"500",FULL:"full"},D={SOLID:"solid",DOTTED:"dotted",DASHED:"dashed"},L={0:"0",100:"100",200:"200"},I={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},M=A(C.button),F=A(N),B=A(w),U={BASIC:"basic",SUBTLE:"subtle"},H={REGULAR:"regular",SEMIBOLD:"semibold",BOLD:"bold",ITALIC:"italic"},z={TOP:"top",TOP_START:"top-start",TOP_END:"top-end",BOTTOM:"bottom",BOTTOM_START:"bottom-start",BOTTOM_END:"bottom-end",LEFT:"left",LEFT_START:"left-start",LEFT_END:"left-end",RIGHT:"right",RIGHT_START:"right-start",RIGHT_END:"right-end"},V={SMALL:"small",MEDIUM:"medium",LARGE:"large"},W={XSMALL:"xsmall",...V,XLARGE:"xlarge"},{MAXWIDTH:G,PADDING:q,...X}=A(S),Y={FILL:"fill",OUTLINE:"outline"},K={BOX:"box",PILL:"pill"},Q={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Z={...Q,HORIZONTAL_REVERSED:"horizontal-reversed"};var J=(e=>(e.X="x",e.Y="y",e))(J||{});const ee=e=>e===Q.HORIZONTAL,te={START:"start",END:"end"},ne={CONTAIN:"contain",COVER:"cover"},re={LEFT:"left",RIGHT:"right",TOP:"top",BOTTOM:"bottom"},oe="multiple",se="single",ie={backgroundGradient:"bg-gradient"},ae={borderRadius:"rounded"},le={margin:"m",marginTop:"mt",marginRight:"mr",marginBottom:"mb",marginLeft:"ml",marginX:"mx",marginY:"my"},ce={padding:"p",paddingBottom:"pb",paddingLeft:"pl",paddingRight:"pr",paddingTop:"pt",paddingX:"px",paddingY:"py"},pe={isTextBalanced:"text-wrap-pretty",textAlignment:"text",textHyphens:"text-hyphens",textWordBreak:"text-word-break"},de={isTextBalanced:"text-wrap-balance"},ue={hideOn:"d",hideFrom:"d"},me={theme:""},fe=4,he=t.createContext(void 0),ge=he.Provider,ye=he.Consumer,be={...V,AUTO:"auto"},ve="background",xe="both",Te="icon",Pe={ALWAYS:"always",HOVER:"hover",NEVER:"never"},Se="auto",Ee="mobile";var Ce=(e=>(e.TABLET="tablet",e.DESKTOP="desktop",e))(Ce||{});const Ne={CLICK:"click",HOVER:"hover",FOCUS:"focus",MANUAL:"manual",OUTSIDE_PRESS:"outside-press",ESCAPE_KEY:"escape-key"},we={LINES:"lines",WORDS:"words",CHARACTERS:"characters"},Ae=e=>null==e,_e=e=>"string"==typeof e&&""===e.trim(),Re=e=>Array.isArray(e)&&0===e.length,ke=e=>"object"==typeof e&&null!==e&&0===Object.keys(e).length,Oe=e=>{if("object"==typeof e&&null!==e)for(const t in e)if(Object.hasOwnProperty.call(e,t))return!0;return!1},$e=e=>!!Ae(e)||(!!_e(e)||(!!Re(e)||(!!ke(e)||(Oe(e),!1)))),je=e=>t=>null!=e&&""!==e?`${e}-${t}`:t,De=e=>t=>`${t}--${e}`,Le=e=>t=>`${t}--${e}`,Ie=(e,t,n)=>{const r={};for(const[o,s]of Object.entries(e))for(const[e]of Object.entries(s))if(e.startsWith(t)){const s=`${n}-${o}-${e.replace(t,"").toLowerCase()}`;r[s.replace(/-/g,"_").toUpperCase()]=s}return r},Me=(...e)=>e.reduceRight(((e,t)=>(...n)=>t(e(...n))),(e=>e)),Fe=(e,t)=>{let n;const r=r=>{void 0!==n&&clearTimeout(n),n=setTimeout((()=>{n=void 0,e(r)}),t)};return r.cancel=()=>{void 0!==n&&(clearTimeout(n),n=void 0)},r},Be=(e,t)=>{const n=setTimeout((()=>{e(),clearTimeout(n)}),t)};var Ue,He={},ze={},Ve={},We={},Ge={};function qe(){return Ue||(Ue=1,e=Ge,Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0,(n=t=e.ElementType||(e.ElementType={})).Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype",e.isTag=function(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style},e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype),Ge;var e,t,n}var Xe,Ye,Ke={};function Qe(){if(Xe)return Ke;Xe=1;var e=Ke&&Ke.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),t=Ke&&Ke.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};Object.defineProperty(Ke,"__esModule",{value:!0}),Ke.cloneNode=Ke.hasChildren=Ke.isDocument=Ke.isDirective=Ke.isComment=Ke.isText=Ke.isCDATA=Ke.isTag=Ke.Element=Ke.Document=Ke.CDATA=Ke.NodeWithChildren=Ke.ProcessingInstruction=Ke.Comment=Ke.Text=Ke.DataNode=Ke.Node=void 0;var n=qe(),r=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),b(this,e)},e}();Ke.Node=r;var o=function(t){function n(e){var n=t.call(this)||this;return n.data=e,n}return e(n,t),Object.defineProperty(n.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),n}(r);Ke.DataNode=o;var s=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.ElementType.Text,e}return e(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),r}(o);Ke.Text=s;var i=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.ElementType.Comment,e}return e(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),r}(o);Ke.Comment=i;var a=function(t){function r(e,r){var o=t.call(this,r)||this;return o.name=e,o.type=n.ElementType.Directive,o}return e(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),r}(o);Ke.ProcessingInstruction=a;var l=function(t){function n(e){var n=t.call(this)||this;return n.children=e,n}return e(n,t),Object.defineProperty(n.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),n}(r);Ke.NodeWithChildren=l;var c=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.ElementType.CDATA,e}return e(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),r}(l);Ke.CDATA=c;var p=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.ElementType.Root,e}return e(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),r}(l);Ke.Document=p;var d=function(t){function r(e,r,o,s){void 0===o&&(o=[]),void 0===s&&(s="script"===e?n.ElementType.Script:"style"===e?n.ElementType.Style:n.ElementType.Tag);var i=t.call(this,o)||this;return i.name=e,i.attribs=r,i.type=s,i}return e(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),r}(l);function u(e){return(0,n.isTag)(e)}function m(e){return e.type===n.ElementType.CDATA}function f(e){return e.type===n.ElementType.Text}function h(e){return e.type===n.ElementType.Comment}function g(e){return e.type===n.ElementType.Directive}function y(e){return e.type===n.ElementType.Root}function b(e,n){var r;if(void 0===n&&(n=!1),f(e))r=new s(e.data);else if(h(e))r=new i(e.data);else if(u(e)){var o=n?v(e.children):[],l=new d(e.name,t({},e.attribs),o);o.forEach((function(e){return e.parent=l})),null!=e.namespace&&(l.namespace=e.namespace),e["x-attribsNamespace"]&&(l["x-attribsNamespace"]=t({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(l["x-attribsPrefix"]=t({},e["x-attribsPrefix"])),r=l}else if(m(e)){o=n?v(e.children):[];var b=new c(o);o.forEach((function(e){return e.parent=b})),r=b}else if(y(e)){o=n?v(e.children):[];var x=new p(o);o.forEach((function(e){return e.parent=x})),e["x-mode"]&&(x["x-mode"]=e["x-mode"]),r=x}else{if(!g(e))throw new Error("Not implemented yet: ".concat(e.type));var T=new a(e.name,e.data);null!=e["x-name"]&&(T["x-name"]=e["x-name"],T["x-publicId"]=e["x-publicId"],T["x-systemId"]=e["x-systemId"]),r=T}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function v(e){for(var t=e.map((function(e){return b(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}return Ke.Element=d,Ke.isTag=u,Ke.isCDATA=m,Ke.isText=f,Ke.isComment=h,Ke.isDirective=g,Ke.isDocument=y,Ke.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},Ke.cloneNode=b,Ke}function Ze(){return Ye||(Ye=1,function(e){var t=We&&We.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=We&&We.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var r=qe(),o=Qe();n(Qe(),e);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},i=function(){function e(e,t,n){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?r.ElementType.Tag:void 0,s=new o.Element(e,t,void 0,n);this.addNode(s),this.tagStack.push(s)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===r.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new o.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment)this.lastNode.data+=e;else{var t=new o.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(""),t=new o.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new o.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();e.DomHandler=i,e.default=i}(We)),We}var Je,et,tt,nt,rt={};function ot(){if(et)return Ve;et=1,Object.defineProperty(Ve,"__esModule",{value:!0}),Ve.formatAttributes=r,Ve.escapeSpecialCharacters=function(e){return e.replace(n.CARRIAGE_RETURN_REGEX,n.CARRIAGE_RETURN_PLACEHOLDER)},Ve.revertEscapedCharacters=s,Ve.formatDOM=function e(n,i,a){void 0===i&&(i=null);for(var l,c=[],p=0,d=n.length;p<d;p++){var u=n[p];switch(u.nodeType){case 1:var m=o(u.nodeName);(l=new t.Element(m,r(u.attributes))).children=e("template"===m?u.content.childNodes:u.childNodes,l);break;case 3:l=new t.Text(s(u.nodeValue));break;case 8:l=new t.Comment(u.nodeValue);break;default:continue}var f=c[p-1]||null;f&&(f.next=l),l.parent=i,l.prev=f,l.next=null,c.push(l)}a&&((l=new t.ProcessingInstruction(a.substring(0,a.indexOf(" ")).toLowerCase(),a)).next=c[0]||null,l.parent=i,c.unshift(l),c[1]&&(c[1].prev=c[0]));return c};var e,t=Ze(),n=(Je||(Je=1,e=rt,Object.defineProperty(e,"__esModule",{value:!0}),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=e.CARRIAGE_RETURN_PLACEHOLDER=e.CARRIAGE_RETURN_REGEX=e.CARRIAGE_RETURN=e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES=void 0,e.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{}),e.CARRIAGE_RETURN="\r",e.CARRIAGE_RETURN_REGEX=new RegExp(e.CARRIAGE_RETURN,"g"),e.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER,"g")),rt);function r(e){for(var t={},n=0,r=e.length;n<r;n++){var o=e[n];t[o.name]=o.value}return t}function o(e){var t=function(e){return n.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase());return t||e}function s(e){return e.replace(n.CARRIAGE_RETURN_PLACEHOLDER_REGEX,n.CARRIAGE_RETURN)}return Ve}const st=d(function(){if(nt)return He;nt=1;var e=He&&He.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(He,"__esModule",{value:!0}),He.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var o=e.match(r),s=o?o[1]:void 0;return(0,n.formatDOM)((0,t.default)(e),null,s)};var t=e(function(){if(tt)return ze;tt=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.default=function(c){var p,d,m=(c=(0,e.escapeSpecialCharacters)(c)).match(o),f=m&&m[1]?m[1].toLowerCase():"";switch(f){case t:var h=l(c);return s.test(c)||null===(p=null==(y=h.querySelector(n))?void 0:y.parentNode)||void 0===p||p.removeChild(y),i.test(c)||null===(d=null==(y=h.querySelector(r))?void 0:y.parentNode)||void 0===d||d.removeChild(y),h.querySelectorAll(t);case n:case r:var g=a(c).querySelectorAll(f);return i.test(c)&&s.test(c)?g[0].parentNode.childNodes:g;default:return u?u(c):(y=a(c,r).querySelector(r)).childNodes;var y}};var e=ot(),t="html",n="head",r="body",o=/<([a-zA-Z]+[0-9]?)/,s=/<head[^]*>/i,i=/<body[^]*>/i,a=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},l=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"==typeof window&&window.DOMParser;if("function"==typeof c){var p=new c;a=l=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),p.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var d=document.implementation.createHTMLDocument();a=function(e,t){if(t){var n=d.documentElement.querySelector(t);return n&&(n.innerHTML=e),d}return d.documentElement.innerHTML=e,d}}var u,m="object"==typeof document&&document.createElement("template");return m&&m.content&&(u=function(e){return m.innerHTML=e,m.content.childNodes}),ze}()),n=ot(),r=/<(![a-zA-Z\s]+)>/;return He}()),it=st.default||st;var at,lt,ct={},pt={},dt={},ut={};function mt(){if(lt)return dt;lt=1;function e(e,t,n,r,o,s,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}const t={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((n=>{t[n]=new e(n,0,!1,n,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([n,r])=>{t[n]=new e(n,1,!1,r,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((n=>{t[n]=new e(n,2,!1,n.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((n=>{t[n]=new e(n,2,!1,n,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((n=>{t[n]=new e(n,3,!1,n.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((n=>{t[n]=new e(n,3,!0,n,null,!1,!1)})),["capture","download"].forEach((n=>{t[n]=new e(n,4,!1,n,null,!1,!1)})),["cols","rows","size","span"].forEach((n=>{t[n]=new e(n,6,!1,n,null,!1,!1)})),["rowSpan","start"].forEach((n=>{t[n]=new e(n,5,!1,n.toLowerCase(),null,!1,!1)}));const n=/[\-\:]([a-z])/g,r=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((o=>{const s=o.replace(n,r);t[s]=new e(s,1,!1,o,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((o=>{const s=o.replace(n,r);t[s]=new e(s,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((o=>{const s=o.replace(n,r);t[s]=new e(s,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((n=>{t[n]=new e(n,1,!1,n.toLowerCase(),null,!1,!1)}));t.xlinkHref=new e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((n=>{t[n]=new e(n,1,!1,n.toLowerCase(),null,!0,!0)}));const{CAMELCASE:o,SAME:s,possibleStandardNames:i}=(at||(at=1,ut.SAME=0,ut.CAMELCASE=1,ut.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}),ut),a=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),l=Object.keys(i).reduce(((e,t)=>{const n=i[t];return n===s?e[t]=t:n===o?e[t.toLowerCase()]=t:e[t]=n,e}),{});return dt.BOOLEAN=3,dt.BOOLEANISH_STRING=2,dt.NUMERIC=5,dt.OVERLOADED_BOOLEAN=4,dt.POSITIVE_NUMERIC=6,dt.RESERVED=0,dt.STRING=1,dt.getPropertyInfo=function(e){return t.hasOwnProperty(e)?t[e]:null},dt.isCustomAttribute=a,dt.possibleStandardNames=l,dt}var ft,ht,gt,yt={},bt={},vt={};function xt(){if(gt)return vt;gt=1;var e=vt&&vt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vt,"__esModule",{value:!0});var t=e(function(){if(ht)return ft;ht=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i=/^[;\s]*/,a=/^\s+|\s+$/g,l="";function c(e){return e?e.replace(a,l):l}return ft=function(a,p){if("string"!=typeof a)throw new TypeError("First argument must be a string");if(!a)return[];p=p||{};var d=1,u=1;function m(e){var n=e.match(t);n&&(d+=n.length);var r=e.lastIndexOf("\n");u=~r?e.length-r:u+e.length}function f(){var e={line:d,column:u};return function(t){return t.position=new h(e),b(),t}}function h(e){this.start=e,this.end={line:d,column:u},this.source=p.source}function g(e){var t=new Error(p.source+":"+d+":"+u+": "+e);if(t.reason=e,t.filename=p.source,t.line=d,t.column=u,t.source=a,!p.silent)throw t}function y(e){var t=e.exec(a);if(t){var n=t[0];return m(n),a=a.slice(n.length),t}}function b(){y(n)}function v(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var e=f();if("/"==a.charAt(0)&&"*"==a.charAt(1)){for(var t=2;l!=a.charAt(t)&&("*"!=a.charAt(t)||"/"!=a.charAt(t+1));)++t;if(t+=2,l===a.charAt(t-1))return g("End of comment missing");var n=a.slice(2,t-2);return u+=2,m(n),a=a.slice(t),u+=2,e({type:"comment",comment:n})}}function T(){var t=f(),n=y(r);if(n){if(x(),!y(o))return g("property missing ':'");var a=y(s),p=t({type:"declaration",property:c(n[0].replace(e,l)),value:a?c(a[0].replace(e,l)):l});return y(i),p}}return h.prototype.content=a,b(),function(){var e,t=[];for(v(t);e=T();)!1!==e&&(t.push(e),v(t));return t}()}}());return vt.default=function(e,n){var r=null;if(!e||"string"!=typeof e)return r;var o=(0,t.default)(e),s="function"==typeof n;return o.forEach((function(e){if("declaration"===e.type){var t=e.property,o=e.value;s?n(t,o,e):o&&((r=r||{})[t]=o)}})),r},vt}var Tt,Pt,St,Et,Ct,Nt={};function wt(){if(Tt)return Nt;Tt=1,Object.defineProperty(Nt,"__esModule",{value:!0}),Nt.camelCase=void 0;var e=/^--[a-zA-Z0-9-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},i=function(e,t){return"".concat(t,"-")};return Nt.camelCase=function(a,l){return void 0===l&&(l={}),function(t){return!t||n.test(t)||e.test(t)}(a)?a:(a=a.toLowerCase(),(a=l.reactCompat?a.replace(o,i):a.replace(r,i)).replace(t,s))},Nt}function At(){return St||(St=1,function(e){var n=yt&&yt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=e.setStyleProp=e.isCustomComponent=void 0;var r=t,o=n(function(){if(Pt)return bt;Pt=1;var e=bt&&bt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bt,"__esModule",{value:!0});var t=e(xt()),n=wt();return bt.default=function(e,r){var o={};return e&&"string"==typeof e?((0,t.default)(e,(function(e,t){e&&t&&(o[(0,n.camelCase)(e,r)]=t)})),o):o},bt}()),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);e.isCustomComponent=function(e,t){return e.includes("-")?!s.has(e):Boolean(t&&"string"==typeof t.is)};var i={reactCompat:!0};e.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,o.default)(e,i)}catch(e){t.style={}}else t.style={}},e.PRESERVE_CUSTOM_ATTRIBUTES=Number(r.version.split(".")[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.canTextBeChildOfNode=function(t){return!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(t.name)};e.returnFirstArg=function(e){return e}}(yt)),yt}const _t=d(function(){if(Ct)return ct;Ct=1;var e=ct&&ct.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ct,"__esModule",{value:!0});var n=t,r=e(function(){if(Et)return pt;Et=1,Object.defineProperty(pt,"__esModule",{value:!0});var e=mt(),t=At(),n=["checked","value"],r=["input","select","textarea"],o={reset:!0,submit:!0};function s(t){return e.possibleStandardNames[t]}return pt.default=function(i,a){void 0===i&&(i={});var l={},c=Boolean(i.type&&o[i.type]);for(var p in i){var d=i[p];if((0,e.isCustomAttribute)(p))l[p]=d;else{var u=p.toLowerCase(),m=s(u);if(m){var f=(0,e.getPropertyInfo)(m);switch(n.includes(m)&&r.includes(a)&&!c&&(m=s("default"+u)),l[m]=d,f&&f.type){case e.BOOLEAN:l[m]=!0;break;case e.OVERLOADED_BOOLEAN:""===d&&(l[m]=!0)}}else t.PRESERVE_CUSTOM_ATTRIBUTES&&(l[p]=d)}}return(0,t.setStyleProp)(i.style,l),l},pt}()),o=At(),s={cloneElement:n.cloneElement,createElement:n.createElement,isValidElement:n.isValidElement};function i(e){return o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,o.isCustomComponent)(e.name,e.attribs)}return ct.default=function e(t,n){for(var a=[],l="function"==typeof(null==n?void 0:n.replace),c=(null==n?void 0:n.transform)||o.returnFirstArg,p=(null==n?void 0:n.library)||s,d=p.cloneElement,u=p.createElement,m=p.isValidElement,f=t.length,h=0;h<f;h++){var g=t[h];if(l){var y=n.replace(g,h);if(m(y)){f>1&&(y=d(y,{key:y.key||h})),a.push(c(y,g,h));continue}}if("text"!==g.type){var b=g,v={};i(b)?((0,o.setStyleProp)(b.attribs.style,b.attribs),v=b.attribs):b.attribs&&(v=(0,r.default)(b.attribs,b.name));var x=void 0;switch(g.type){case"script":case"style":g.children[0]&&(v.dangerouslySetInnerHTML={__html:g.children[0].data});break;case"tag":"textarea"===g.name&&g.children[0]?v.defaultValue=g.children[0].data:g.children&&g.children.length&&(x=e(g.children,n));break;default:continue}f>1&&(v.key=h),a.push(c(u(g.name,v,x),g,h))}else{var T=!g.data.trim().length;if(T&&g.parent&&!(0,o.canTextBeChildOfNode)(g.parent))continue;if((null==n?void 0:n.trim)&&T)continue;a.push(c(g.data,g,h))}}return 1===a.length?a[0]:a},ct}()),Rt=_t.default||_t,kt=e=>{if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];const t="function"==typeof it.default?it.default:it;return("function"==typeof Rt.default?Rt.default:Rt)(t(e))};function Ot(e,t){const n="string"!=typeof(r=e)&&null!==r&&"spiritComponent"in r;var r;const o=e=>"object"==typeof e&&null!==e,s=Object.values(t).flatMap((e=>"string"==typeof e?[e]:o(e)?[e.className,e.UNSAFE_className].filter(Boolean):[])).filter(Boolean).join(" "),i=Object.values(t).filter(o).reduce(((e,t)=>{if(!o(t))return e;const n=t,r=n.style||n.UNSAFE_style||{},s=(e=>o(e)?Object.entries(e).filter((([e])=>e.startsWith("--"))).reduce(((e,[t,n])=>({...e,[t]:n})),{}):{})(t);return{...e,...r,...s}}),{});return n?{UNSAFE_className:s,UNSAFE_style:i}:{className:s,style:i}}const $t=Number.parseFloat("16px"),jt=Number.isFinite($t)&&$t>0?$t:16,Dt=(e,t={})=>{const{baseFontSize:n=jt,decimals:r=fe}=t,o=Number.parseFloat(String(e)),s=Number.isFinite(o)?o:0,i=Number.parseFloat(String(n)),a=Number.isFinite(i)&&i>0?i:16,l=Number.isInteger(r)&&r>=0&&r<=100?r:fe,c=s/a,p=10**l,d=Math.round((c+Number.EPSILON)*p)/p;return`${(0===Math.abs(d)?0:d).toFixed(l).replace(/\.?0+$/,"")}rem`},Lt=e=>{const{router:t,routerOptions:n,href:r,target:o,download:s,onClick:i,isDisabled:a}=e,l="string"==typeof r&&(e=>(e=>/^[a-z][a-z0-9+.-]*:/i.test(e.trim()))(e)||(e=>e.trim().startsWith("//"))(e))(r),c="string"==typeof r&&(e=>e.trim().startsWith("#"))(r),p=Boolean(t&&r&&!a&&!(!0===s||"string"==typeof s)&&!(e=>"string"==typeof e&&"_self"!==e.toLowerCase())(o)&&!l&&!c);return p?e=>{e.defaultPrevented||(i?.(e),(e=>e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||"number"==typeof e.button&&0!==e.button)(e)||e.defaultPrevented||(e.preventDefault(),t?.navigate(String(r),n)))}:i};function It(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function Mt(e,t){return t?It(t)?Object.entries(t).map((([t,n])=>void 0===n?"":"mobile"===t?`${e}--${n}`:`${e}--${t}--${n}`)).filter((e=>""!==e)):[`${e}--${t}`]:[]}const Ft="undefined"==typeof window,Bt=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ut=e=>e.replace(/-([a-z])/g,(e=>e[1].toUpperCase())),Ht=e=>{if("object"==typeof e&&null!==e){const t={};for(const[n,r]of Object.entries(e))t[n]="string"==typeof r?Ut(r):r;return t}return e},zt=e=>"string"==typeof e||null==e?e??void 0:String(e),Vt=e=>"string"==typeof e?Ut(e):"object"==typeof e&&null!==e?Ht(e):e;function Wt(e){return"string"!=typeof e?e:e.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("")}function Gt(e,t,n){return`${e}--${n||""}${n?Wt(t):t}`}function qt(e,t,n){return Object.keys(t).map((r=>{const o="mobile"===r?"":`--${r}`,s=t[r];return`${e}${o}--${n||""}${n?Wt(s):s}`})).join(" ")}function Xt(e,t,n){const r=function(e){return e&&"object"==typeof e}(t)?qt:Gt;return r(e,t,n)}const Yt="-",Kt=e=>(e=>"string"==typeof e&&e.startsWith("space-"))(e)?(e=>e===Se?Se:e.replace(/[^0-9]/g,""))(e):e,Qt=(e,t,n,r)=>{switch(e){case"hideOn":return((e,t,n)=>(Array.isArray(t)?t:[t]).map((t=>je(n)(`${e}${Yt}only${Yt}${t}${Yt}none`))))(t,n,r);case"hideFrom":return((e,t,n)=>{const r=t===Ee?"":`${Yt}${t}`;return[je(n)(`${e}${r}${Yt}none`)]})(t,n,r);default:return[]}},Zt=(e,t,n,r)=>{if(t===me.theme){if("string"!=typeof n)return[];const e=Bt(n);return[je(r)(e)]}return e in ue?Qt(e,t,n,r):"boolean"==typeof n?n?[je(r)(t)]:[]:"string"==typeof n?[je(r)(`${t}-${Kt(n)}`)]:((e,t,n)=>Object.keys(t).reduce(((r,o)=>{const s=t[o];if("string"==typeof s){const t=Kt(s),i=o===Ee?"":`${Yt}${o}`;r.push(je(n)(`${e}${i}${Yt}${t}`))}return r}),[]))(t,n,r)},Jt=(e,t,n,r={includesKey:!0})=>{const o=(s=e,i=t,Object.keys(s).includes(i));var s,i;return r.includesKey?o&&!$e(n):!o};function en(e,n){const r=t.useContext(he),{UNSAFE_className:o,UNSAFE_style:s,...i}=e,a={theme:me.theme,...n??{}},{styleUtilities:l,props:c}=((e,t="",n={})=>{const r={...le,...ue,...me,...n},o=Object.entries(e);return{styleUtilities:o.reduce(((e,[n,o])=>{if(Jt(r,n,o)){const s=r[n];return[...e,...Zt(n,s,o,t)]}return e}),[]),props:o.reduce(((e,[t,n])=>Jt(r,t,n,{includesKey:!1})?{...e,[t]:n}:e),{})}})(i,r,a),p={...s};c.className&&(b(0,"The className prop is unsafe and is unsupported in Spirit Web React. Please use style props with Spirit Design Tokens, or UNSAFE_className if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes."),delete c.className),c.style&&(b(0,"The style prop is unsafe and is unsupported in Spirit Web React. Please use style props with Spirit Design Tokens, or UNSAFE_style if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes."),delete c.style);return{styleProps:{style:Object.keys(p).length>0?p:void 0,className:g(...l,o)||void 0},props:c}}function tn(e,t,n){return Xt(e,t&&"object"==typeof t?{mobile:"stretch",...t}:t,n)}function nn(e,n){const[r,o]=t.useState((()=>{if(!n)return[];const e=n.trim().split(/\s+/).filter(Boolean);return Array.from(new Set(e))})),s=t.useCallback((({add:e,remove:t})=>{o((n=>{const r=new Set(n),o=r.size;return t&&r.delete(t),e&&r.add(e),r.size!==o?Array.from(r):n}))}),[]);return[t.useMemo((()=>r.length>0?{[e]:r.join(" ")}:{}),[r,e]),s]}const rn=e=>nn("aria-describedby",e),on=e=>nn("aria-details",e),sn=Ft?t.useEffect:t.useLayoutEffect,an="cancel",ln="keydown",cn=(e,n,r=!0,o=!1)=>{const s=t.useCallback((t=>{e&&n&&(t.defaultPrevented||(t.preventDefault(),n&&r&&n(t)))}),[e,n,r]),i=t.useCallback((e=>{"Escape"===e.key&&!r&&o&&e.preventDefault()}),[r,o]);return sn((()=>{const t=e?.current;return t?(t.addEventListener(an,s),document.addEventListener(ln,i),()=>{t.removeEventListener(an,s),document.removeEventListener(ln,i)}):()=>{}}),[e,s]),s},pn=e=>{const n=t.useContext(he);let r=e;return e&&n?r=je(n)(e):n&&(r=n),r},dn=(e,n)=>t.useCallback((t=>{e?t.preventDefault():n&&n(t)}),[e,n]),un=({ref:e,callback:n})=>{const r=t.useRef({mouseDownTarget:null}),o=t.useCallback((t=>{const o=r.current;!e||!n||t.defaultPrevented||e.current&&e.current.contains(o.mouseDownTarget)||e.current&&!e.current.contains(t?.target)&&n&&n(t)}),[e,n]),s=e=>{r.current.mouseDownTarget=e.target};sn((()=>(document.addEventListener("mousedown",s,{capture:!0}),document.addEventListener("click",o,{capture:!0}),()=>{document.removeEventListener("mousedown",s,{capture:!0}),document.removeEventListener("click",o,{capture:!0})})),[o])},mn=e=>{const{value:n,defaultValue:r,componentName:o,valuePropName:s="value",defaultValuePropName:i="defaultValue",bothDefinedMessage:a,modeSwitchMessage:l}=e,c=void 0!==n,p=t.useRef(void 0),d=t.useRef(!1);t.useEffect((()=>{void 0===n||void 0===r||d.current||(d.current=!0,b(0,a??`${o}: \`${s}\` and \`${i}\` cannot both be set. Use either controlled (\`${s}\`) or uncontrolled (\`${i}\`) mode.`))}),[a,o,r,i,n,s]),t.useEffect((()=>{void 0!==p.current?(p.current!==c&&b(0,l??`${o}: Do not switch between controlled (\`${s}\` defined) and uncontrolled (\`${s}\` undefined) modes across renders.`),p.current=c):p.current=c}),[o,c,l,s])},fn=(e,n)=>{const[r,o]=t.useState(e),s=t.useRef(!0),i=t.useMemo((()=>Fe((e=>o(e)),n)),[n]);return t.useEffect((()=>{if(!s.current)return i(e),()=>i.cancel();s.current=!1}),[e,i]),r},hn=({method:e="component",trigger:n,componentName:r,componentProps:o,propertyProps:s,customText:i})=>{const a=`Deprecation warning (${r}):`;t.useEffect((()=>{const t=n&&r&&"development"===process.env.NODE_ENV;let l,c;switch(e){case"property":l=s?.delete?`${a} "${s?.deprecatedName}" property will be deleted in the next major version.`:s?.deprecatedValue&&s?.newValue&&s?.propertyName?`${a} The "${s?.deprecatedValue}" value for "${s?.propertyName}" property will be renamed to "${s?.newValue}" in the next major version.`:`${a} "${s?.deprecatedName}" property will be replaced in the next major version. Please use "${s?.newName}" instead. ♻️️`,c=!!s;break;case"custom":l=`${a} ${i}`,c=!0;break;default:l=o?.delete?`${a} The component and its subcomponents will be deleted in the next major version.`:`${a} The component and its subcomponents will be renamed to "${o?.newName}" in the next major version.`,c=!!o}l&&t&&c&&b(0,l)}),[])},gn=(e,t)=>{const n={},r=`--${t}`;return"object"==typeof e&&null!==e?Object.keys(e).forEach((t=>{const o="mobile"===t?"":`-${t}`,s=e[t];n[`${r}${o}`]=`${s?.toString()}`})):e&&(n[`${r}`]=`${e?.toString()}`),n},yn=e=>{const[n,r]=t.useState(!1);return{isDragging:n,onDragOver:t=>{t.preventDefault(),e?.onDragOver&&e.onDragOver(t)},onDragEnter:t=>{r(!0),e?.onDragEnter&&e.onDragEnter(t)},onDragLeave:t=>{r(!1),e?.onDragLeave&&e.onDragLeave(t)},onDrop:t=>{t.preventDefault(),e?.onDrop&&e.onDrop(t),r(!1)}}},bn={common:{close:"Close",edit:"Edit",remove:"Remove"},attachment:{edit:"Edit",remove:"Remove"},breadcrumbs:{back:"Go back"},fileUploader:{edit:"Edit",remove:"Remove",attachments:"Attachments"},pagination:{next:"Next",previous:"Previous",goToPage:"Go to page"},picker:{add:"Add",removeAll:"Remove all",removeItemLabel:"Remove {itemLabel}",selectionAriaLabel:"Selected {label}",tagDescriptionText:"Press Delete or Backspace to remove"},textArea:{counter:{charactersEntered:"{count} characters entered",charactersRemaining:"{count} characters remaining",characterRemaining:"{count} character remaining",canEnterUpTo:"You can enter up to {maxLength} characters",charactersOverLimit:"{count} characters over limit",characterOverLimit:"{count} character over limit"}},textField:{password:{show:"Show password",hide:"Hide password"}},splitButton:{dropdown:"More"}},vn=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),xn=e=>{const t={};for(const n of Object.keys(e)){const r=e[n];t[n]="string"==typeof r?r:xn(r)}return t},Tn=(e,t)=>{const n=xn(e);for(const e of Object.keys(t)){const r=t[e],o=n[e];"string"==typeof r?n[e]=r:vn(r)&&("string"==typeof o?n[e]=Tn({},r):vn(o)?n[e]=Tn(o,r):n[e]=Tn({},r))}return n},Pn=t.createContext(null),Sn=Pn.Consumer,En=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),Cn=(e,t)=>{if(null==e||!En(e))return;if((e=>Object.keys(e).some((e=>e in bn)))(e))return e;const n=e[t];return En(n)?n:void 0},Nn=(e,t)=>Object.entries(t).reduce(((e,[t,n])=>{const r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return e.replace(new RegExp(`\\{${r}\\}`,"g"),String(n))}),e),wn=(e,t)=>{const n=t.split(".");let r=e;for(const e of n){if("object"!=typeof r||null===r||!(e in r))return t;r=r[e]}return"string"==typeof r?r:t},An=()=>{const e=t.useContext(Pn)??bn;return{t:(t,n)=>{const r=wn(e,t);return n?Nn(r,n):r}}},_n=t.createContext(void 0),Rn=_n.Provider,kn=_n.Consumer,On=e=>{const n=t.useContext(_n);return null!=n&&null!=n[e]?n[e]:(b(0,`The ${e} icon is missing from your assets or icon map provided by the IconsProvider. Please make sure you have provided all icons needed by used components.`),"")};function $n(e,t,n="default"){return e&&t[e]?t[e]:t[n]}function jn(e,t){return t?Xt(e,t,"inputPosition"):""}const Dn=e=>{const n=t.useRef(null);t.useEffect((()=>{e?n.current=document.activeElement:n?.current&&n.current.focus()}),[e])},Ln=t.createContext(null),In=Ln.Consumer,Mn=()=>t.useContext(Ln),Fn=e=>{const n=Mn(),{routerOptions:r,href:o,target:s,download:i,onClick:a,isDisabled:l}=e;return t.useMemo((()=>Lt({router:n,routerOptions:r,href:o,target:s,download:i,onClick:a,isDisabled:l})),[n,r,o,s,i,a,l])};function Bn(e,t,n){return e[t]?Array.isArray(e[t])?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}const Un={width:void 0,height:void 0};function Hn(e){const{ref:n,box:r="border-box"}=e,[{width:o,height:s},i]=t.useState(Un),a=function(){const e=t.useRef(!1);return t.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),t.useCallback((()=>e.current),[])}(),l=t.useRef({...Un}),c=t.useRef(void 0);return c.current=e.onResize,t.useEffect((()=>{if(Ft)return;if(!("ResizeObserver"in window))return;if(!n.current)return;const e=new ResizeObserver((([e])=>{const t="border-box"===r?"borderBoxSize":"device-pixel-content-box"===r?"devicePixelContentBoxSize":"contentBoxSize",n=Bn(e,t,"inlineSize"),o=Bn(e,t,"blockSize");if(l.current.width!==n||l.current.height!==o){const e={width:n,height:o};l.current.width=n,l.current.height=o,c.current?c.current(e):a()&&i(e)}}));return e.observe(n.current,{box:r}),()=>{e.disconnect()}}),[r,n,a]),{width:o,height:s}}const zn="is-scrolling-disabled",Vn=()=>{const{body:e}=document;e.style.paddingRight="",e.classList.remove(zn)},Wn=(e,n)=>{t.useEffect((()=>(n?(()=>{const{body:e}=document,t=window.innerWidth-e.clientWidth;e.style.paddingRight=`${t}px`,e.classList.add(zn)})():e.current&&!e.current.open&&Vn(),()=>{Vn()})),[n,e])},Gn=e=>e===se,qn=(e,t)=>Gn(t)?e.slice(0,1):e,Xn=(e,t,n)=>Gn(n)?e[0]===t:e.includes(t),Yn=(e,t,n)=>{const r=e.includes(t);return Gn(n)?r?[]:[t]:r?e.filter((e=>e!==t)):[...e,t]},Kn=({defaultSelectedKeys:e=[],onSelectionChange:n,selectionMode:r=oe})=>{const[o,s]=t.useState((()=>qn(e,r))),i=t.useRef(n);i.current=n;const a=t.useRef(!0);t.useEffect((()=>{s((e=>{const t=qn(e,r);return e.length===t.length&&e.every(((e,n)=>e===t[n]))?e:t}))}),[r]),t.useEffect((()=>{a.current?a.current=!1:i.current?.(o)}),[o]);return{selectedKeys:o,setSelectedKeys:e=>{s(qn(e,r))},toggleSelectedKey:e=>{s((t=>Yn(t,e,r)))}}};function Qn(e,t,n=void 0){const r={},o=n?`-${n}`:"";return"object"==typeof e&&null!==e?Object.keys(e).forEach((n=>{r[`--${t}-spacing${o}${"mobile"===n?"":`-${n}`}`]=`var(--${P}${e[n]?.toString()})`})):e&&(r[`--${t}-spacing${o}`]=`var(--${P}${e})`),r}const Zn="--symmetrical";function Jn(e,t){if("object"!=typeof t||null===t)return{isSymmetricalActive:!0===t,symmetricalClassName:t?`${e}${Zn}`:""};const{classes:n}=Object.keys(T).reduce(function(e,t){return(n,r)=>{if(r in t){const o=t[r],s=r===Ee?"":`--${r}`;if(o)return{classes:[...n.classes,`${e}${s}${Zn}`],wasSymmetrical:!0};if(n.wasSymmetrical)return{classes:[...n.classes,`${e}${s}--asymmetrical`],wasSymmetrical:n.wasSymmetrical}}return n}}(e,t),{classes:[],wasSymmetrical:!1});return{isSymmetricalActive:Object.values(t).includes(!0),symmetricalClassName:n.join(" ")}}const er=(e=!1)=>{const[n,r]=t.useState(e);return[n,t.useCallback((()=>r((e=>!e))),[])]},tr="--wrap",nr="--noWrap";function rr(e,t){return"object"==typeof t&&null!==t?Object.entries(t).map((([t,n])=>`${e}${"mobile"===t?"":`--${t}`}${n?tr:nr}`)).join(" "):`${e}${t?tr:nr}`}const or=()=>{const e=pn("Accordion");return{classProps:{root:e,item:`${e}__item`,header:`${e}__itemHeader`,toggle:`${e}__itemToggle`,side:`${e}__itemSide`,slot:`${e}__itemSlot`,icon:`${e}__itemIcon`,content:`${e}__content`}}},sr=t.createContext({open:void 0,toggle:()=>null}),ir=sr.Provider;sr.Consumer;const ar=()=>t.useContext(sr),lr=e=>{const{open:t}=ar();return{isOpen:(n=e,!(!n||n!==t&&!t?.includes(n)))};var n};var cr,pr={exports:{}},dr={};var ur,mr,fr={};function hr(){return ur||(ur=1,"production"!==process.env.NODE_ENV&&function(){function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===C?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case f:return"Fragment";case g:return"Profiler";case h:return"StrictMode";case x:return"Suspense";case T:return"SuspenseList";case E:return"Activity"}if("object"==typeof t)switch("number"==typeof t.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case m:return"Portal";case b:return t.displayName||"Context";case y:return(t._context.displayName||"Context")+".Consumer";case v:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case P:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case S:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}function n(e){return""+e}function r(e){try{n(e);var t=!1}catch(e){t=!0}if(t){var r=(t=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),n(e)}}function o(t){if(t===f)return"<>";if("object"==typeof t&&null!==t&&t.$$typeof===S)return"<...>";try{var n=e(t);return n?"<"+n+">":"<...>"}catch(e){return"<...>"}}function s(){return Error("react-stack-top-frame")}function i(){var t=e(this.type);return R[t]||(R[t]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(t=this.props.ref)?t:null}function a(t,n,o,s,a,c){var d,m=n.children;if(void 0!==m)if(s)if(A(m)){for(s=0;s<m.length;s++)l(m[s]);Object.freeze&&Object.freeze(m)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else l(m);if(w.call(n,"key")){m=e(t);var f=Object.keys(n).filter((function(e){return"key"!==e}));s=0<f.length?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}",$[m+s]||(f=0<f.length?"{"+f.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',s,m,f,m),$[m+s]=!0)}if(m=null,void 0!==o&&(r(o),m=""+o),function(e){if(w.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(r(n.key),m=""+n.key),"key"in n)for(var h in o={},n)"key"!==h&&(o[h]=n[h]);else o=n;return m&&function(e,t){function n(){p||(p=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,"function"==typeof t?t.displayName||t.name||"Unknown":t),function(e,t,n,r,o,s){var a=n.ref;return e={$$typeof:u,type:e,key:t,props:n,_owner:r},null!==(void 0!==a?a:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:i}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(t,m,o,null===(d=N.A)?null:d.getOwner(),a,c)}function l(e){c(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===S&&("fulfilled"===e._payload.status?c(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function c(e){return"object"==typeof e&&null!==e&&e.$$typeof===u}var p,d=t,u=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),b=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),C=Symbol.for("react.client.reference"),N=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w=Object.prototype.hasOwnProperty,A=Array.isArray,_=console.createTask?console.createTask:function(){return null},R={},k=(d={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(d,s)(),O=_(o(s)),$={};fr.Fragment=f,fr.jsx=function(e,t,n){var r=1e4>N.recentlyCreatedOwnerStacks++;return a(e,t,n,!1,r?Error("react-stack-top-frame"):k,r?_(o(e)):O)},fr.jsxs=function(e,t,n){var r=1e4>N.recentlyCreatedOwnerStacks++;return a(e,t,n,!0,r?Error("react-stack-top-frame"):k,r?_(o(e)):O)}}()),fr}var gr=(mr||(mr=1,"production"===process.env.NODE_ENV?pr.exports=function(){if(cr)return dr;cr=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==n.key&&(o=""+n.key),"key"in n)for(var s in r={},n)"key"!==s&&(r[s]=n[s]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:o,ref:void 0!==n?n:null,props:r}}return dr.Fragment=t,dr.jsx=n,dr.jsxs=n,dr}():pr.exports=hr()),pr.exports);const yr=t.forwardRef(((e,t)=>{const{children:n,elementType:r="section",open:o,toggle:s,...i}=e,a=r,{classProps:l}=or(),{styleProps:c,props:p}=en(i),d=Ot(a,{classProps:l.root,styleProps:c}),u={open:o,toggle:s};return gr.jsx(a,{...p,...d,ref:t,children:gr.jsx(ir,{value:u,children:n})})}));yr.spiritComponent="Accordion",yr.displayName="Accordion";const br=t.createContext({id:""}),vr=br.Provider;br.Consumer;const xr=()=>t.useContext(br),Tr=t.forwardRef(((e,t)=>{const{children:n,elementType:r="article",id:o,...s}=e,i=r,{classProps:a}=or(),{styleProps:l,props:c}=en(s),p=Ot(i,{classProps:a.item,styleProps:l}),d={id:o};return gr.jsx(i,{...c,id:o,...p,ref:t,children:gr.jsx(vr,{value:d,children:n})})}));Tr.spiritComponent="AccordionItem",Tr.displayName="AccordionItem";const Pr=(e,t)=>{const n={};return"object"==typeof t?Object.entries(t).forEach((([t,r])=>{n[`${e}${"mobile"===t?"":`-${t}`}`]=void 0===r?void 0:Dt(r)})):n[e]=Dt(t),n},Sr=e=>{const{boxSize:t,color:n,name:r,...o}=e,s=`--${P}icon`,i=String(r).includes("-dualtone")&&!n?B.PRIMARY:n,a=pn("Icon"),l=`${a}--${i}`;return{classProps:g(a,{[l]:n||i}),iconStyleProps:{...t?Pr(`${s}-size`,t):{}},props:o}},Er={ariaHidden:!0,boxSize:24},Cr=t.forwardRef(((e,t)=>{const n={...Er,...e},{boxSize:r,name:o,title:s,ariaHidden:i,...a}=n;let l=On(o);const c=(e=>"object"==typeof e?e.mobile??24:e??24)(r),{classProps:p,iconStyleProps:d,props:u}=Sr({boxSize:r,name:o,...a}),{styleProps:m,props:f}=en(u),h=Ot("svg",{classProps:p,iconStyleProps:d,styleProps:m});return s&&(l=`<title>${s}</title>${l}`),gr.jsx("svg",{...f,...h,viewBox:"0 0 24 24",fill:"none",width:c,height:c,"aria-hidden":i,ref:t,children:kt(l)})}));Cr.spiritComponent="Icon",Cr.displayName="Icon";const Nr={elementType:"h3"},wr=t.forwardRef(((e,t)=>{const n={...Nr,...e},{elementType:r="h3",children:o,slot:s,...i}=n,a=r,{classProps:l}=or(),{toggle:c}=ar(),{id:d}=xr(),{styleProps:u,props:m}=en(i),{isOpen:f}=lr(d),{triggerProps:h,headerProps:g}=p({id:d,isOpen:f}),y=Ot(a,{classProps:l.header,styleProps:u});return gr.jsxs(a,{...m,...y,...g,ref:t,children:[gr.jsx("button",{type:"button",className:l.toggle,onClick:()=>{c&&d&&c(d)},...h,children:o}),gr.jsxs("span",{className:l.side,children:[s&&gr.jsx("span",{className:l.slot,children:s}),gr.jsx("span",{className:l.icon,children:gr.jsx(Cr,{name:"chevron-down"})})]})]})}));function Ar(e,t){return(Ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}wr.spiritComponent="AccordionHeader",wr.displayName="AccordionHeader";var _r,Rr={exports:{}},kr={exports:{}},Or={};var $r,jr,Dr,Lr,Ir,Mr,Fr,Br,Ur,Hr,zr,Vr,Wr,Gr,qr,Xr={};function Yr(){return jr||(jr=1,"production"===process.env.NODE_ENV?kr.exports=function(){if(_r)return Or;_r=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var u=e.$$typeof;switch(u){case t:switch(e=e.type){case l:case c:case r:case s:case o:case d:return e;default:switch(e=e&&e.$$typeof){case a:case p:case f:case m:case i:return e;default:return u}}case n:return u}}}function x(e){return v(e)===c}return Or.AsyncMode=l,Or.ConcurrentMode=c,Or.ContextConsumer=a,Or.ContextProvider=i,Or.Element=t,Or.ForwardRef=p,Or.Fragment=r,Or.Lazy=f,Or.Memo=m,Or.Portal=n,Or.Profiler=s,Or.StrictMode=o,Or.Suspense=d,Or.isAsyncMode=function(e){return x(e)||v(e)===l},Or.isConcurrentMode=x,Or.isContextConsumer=function(e){return v(e)===a},Or.isContextProvider=function(e){return v(e)===i},Or.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Or.isForwardRef=function(e){return v(e)===p},Or.isFragment=function(e){return v(e)===r},Or.isLazy=function(e){return v(e)===f},Or.isMemo=function(e){return v(e)===m},Or.isPortal=function(e){return v(e)===n},Or.isProfiler=function(e){return v(e)===s},Or.isStrictMode=function(e){return v(e)===o},Or.isSuspense=function(e){return v(e)===d},Or.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===s||e===o||e===d||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===i||e.$$typeof===a||e.$$typeof===p||e.$$typeof===g||e.$$typeof===y||e.$$typeof===b||e.$$typeof===h)},Or.typeOf=v,Or}():kr.exports=($r||($r=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var u=e.$$typeof;switch(u){case t:var h=e.type;switch(h){case l:case c:case r:case s:case o:case d:return h;default:var g=h&&h.$$typeof;switch(g){case a:case p:case f:case m:case i:return g;default:return u}}case n:return u}}}var x=l,T=c,P=a,S=i,E=t,C=p,N=r,w=f,A=m,_=n,R=s,k=o,O=d,$=!1;function j(e){return v(e)===c}Xr.AsyncMode=x,Xr.ConcurrentMode=T,Xr.ContextConsumer=P,Xr.ContextProvider=S,Xr.Element=E,Xr.ForwardRef=C,Xr.Fragment=N,Xr.Lazy=w,Xr.Memo=A,Xr.Portal=_,Xr.Profiler=R,Xr.StrictMode=k,Xr.Suspense=O,Xr.isAsyncMode=function(e){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),j(e)||v(e)===l},Xr.isConcurrentMode=j,Xr.isContextConsumer=function(e){return v(e)===a},Xr.isContextProvider=function(e){return v(e)===i},Xr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Xr.isForwardRef=function(e){return v(e)===p},Xr.isFragment=function(e){return v(e)===r},Xr.isLazy=function(e){return v(e)===f},Xr.isMemo=function(e){return v(e)===m},Xr.isPortal=function(e){return v(e)===n},Xr.isProfiler=function(e){return v(e)===s},Xr.isStrictMode=function(e){return v(e)===o},Xr.isSuspense=function(e){return v(e)===d},Xr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===s||e===o||e===d||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===i||e.$$typeof===a||e.$$typeof===p||e.$$typeof===g||e.$$typeof===y||e.$$typeof===b||e.$$typeof===h)},Xr.typeOf=v}()),Xr)),kr.exports}function Kr(){if(Lr)return Dr;Lr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Dr=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var s,i,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),l=1;l<arguments.length;l++){for(var c in s=Object(arguments[l]))t.call(s,c)&&(a[c]=s[c]);if(e){i=e(s);for(var p=0;p<i.length;p++)n.call(s,i[p])&&(a[i[p]]=s[i[p]])}}return a},Dr}function Qr(){if(Mr)return Ir;Mr=1;return Ir="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Zr(){return Br?Fr:(Br=1,Fr=Function.call.bind(Object.prototype.hasOwnProperty))}function Jr(){if(Hr)return Ur;Hr=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Qr(),n={},r=Zr();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,s,i,a,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var p;try{if("function"!=typeof o[c]){var d=Error((a||"React class")+": "+i+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}p=o[c](s,c,a,i,null,t)}catch(e){p=e}if(!p||p instanceof Error||e((a||"React class")+": type specification of "+i+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in n)){n[p.message]=!0;var u=l?l():"";e("Failed "+i+" type: "+p.message+(null!=u?u:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Ur=o}function eo(){if(Vr)return zr;Vr=1;var e=Yr(),t=Kr(),n=Qr(),r=Zr(),o=Jr(),s=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(s=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),zr=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator;var p="<<anonymous>>",d={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:f(i),arrayOf:function(e){return f((function(t,r,o,s,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var a=t[r];if(!Array.isArray(a))return new m("Invalid "+s+" `"+i+"` of type `"+b(a)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,o,s,i+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:f((function(e,t,n,r,o){var s=e[t];return a(s)?null:new m("Invalid "+r+" `"+o+"` of type `"+b(s)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:f((function(t,n,r,o,s){var i=t[n];return e.isValidElementType(i)?null:new m("Invalid "+o+" `"+s+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return f((function(t,n,r,o,s){if(!(t[n]instanceof e)){var i=e.name||p;return new m("Invalid "+o+" `"+s+"` of type `"+(((a=t[n]).constructor&&a.constructor.name?a.constructor.name:p)+"` supplied to `")+r+"`, expected instance of `"+i+"`.")}var a;return null}))},node:f((function(e,t,n,r,o){return y(e[t])?null:new m("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,o,s,i,a){if("function"!=typeof e)return new m("Property `"+a+"` of component `"+s+"` has invalid PropType notation inside objectOf.");var l=t[o],c=b(l);if("object"!==c)return new m("Invalid "+i+" `"+a+"` of type `"+c+"` supplied to `"+s+"`, expected an object.");for(var p in l)if(r(l,p)){var d=e(l,p,s,i,a+"."+p,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&s(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i;return f((function(t,n,r,o,s){for(var i=t[n],a=0;a<e.length;a++)if(u(i,e[a]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===v(t)?String(t):t}));return new m("Invalid "+o+" `"+s+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+l+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&s("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+t+"."),i}return f((function(t,o,s,i,a){for(var l=[],c=0;c<e.length;c++){var p=(0,e[c])(t,o,s,i,a,n);if(null==p)return null;p.data&&r(p.data,"expectedType")&&l.push(p.data.expectedType)}return new m("Invalid "+i+" `"+a+"` supplied to `"+s+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return f((function(t,r,o,s,i){var a=t[r],l=b(a);if("object"!==l)return new m("Invalid "+s+" `"+i+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var p=e[c];if("function"!=typeof p)return g(o,s,i,c,v(p));var d=p(a,c,o,s,i+"."+c,n);if(d)return d}return null}))},exact:function(e){return f((function(o,s,i,a,l){var c=o[s],p=b(c);if("object"!==p)return new m("Invalid "+a+" `"+l+"` of type `"+p+"` supplied to `"+i+"`, expected `object`.");var d=t({},o[s],e);for(var u in d){var f=e[u];if(r(e,u)&&"function"!=typeof f)return g(i,a,l,u,v(f));if(!f)return new m("Invalid "+a+" `"+l+"` key `"+u+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[s],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=f(c,u,i,a,l+"."+u,n);if(h)return h}return null}))}};function u(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function f(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,i,a,c,d,u,f){if(c=c||p,u=u||a,f!==n){if(l){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!t[g]&&r<3&&(s("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,r++)}}return null==i[a]?o?null===i[a]?new m("The "+d+" `"+u+"` is marked as required in `"+c+"`, but its value is `null`."):new m("The "+d+" `"+u+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(i,a,c,d,u)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function h(e){return f((function(t,n,r,o,s,i){var a=t[n];return b(a)!==e?new m("Invalid "+o+" `"+s+"` of type `"+v(a)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,r,o){return new m((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function y(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(y);if(null===e||a(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!y(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!y(o[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,d.checkPropTypes=o,d.resetWarningCache=o.resetWarningCache,d.PropTypes=d,d},zr}function to(){if(Gr)return Wr;Gr=1;var e=Qr();function t(){}function n(){}return n.resetWarningCache=t,Wr=function(){function r(t,n,r,o,s,i){if(i!==e){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function o(){return r}r.isRequired=r;var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s}}function no(){if(qr)return Rr.exports;if(qr=1,"production"!==process.env.NODE_ENV){var e=Yr();Rr.exports=eo()(e.isElement,true)}else Rr.exports=to()();return Rr.exports}const ro=d(no()),oo=!1;var so="production"!==process.env.NODE_ENV?ro.oneOfType([ro.number,ro.shape({enter:ro.number,exit:ro.number,appear:ro.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&ro.oneOfType([ro.string,ro.shape({enter:ro.string,exit:ro.string,active:ro.string}),ro.shape({enter:ro.string,enterDone:ro.string,enterActive:ro.string,exit:ro.string,exitDone:ro.string,exitActive:ro.string})]);const io=t.createContext(null);var ao="unmounted",lo="exited",co="entering",po="entered",uo="exiting",mo=function(e){var r,o;function s(t,n){var r;r=e.call(this,t,n)||this;var o,s=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?s?(o=lo,r.appearStatus=co):o=po:o=t.unmountOnExit||t.mountOnEnter?ao:lo,r.state={status:o},r.nextCallback=null,r}o=e,(r=s).prototype=Object.create(o.prototype),r.prototype.constructor=r,Ar(r,o),s.getDerivedStateFromProps=function(e,t){return e.in&&t.status===ao?{status:lo}:null};var i=s.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==co&&n!==po&&(t=co):n!==co&&n!==po||(t=uo)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===co){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:n.findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===lo&&this.setState({status:ao})},i.performEnter=function(e){var t=this,r=this.props.enter,o=this.context?this.context.isMounting:e,s=this.props.nodeRef?[o]:[n.findDOMNode(this),o],i=s[0],a=s[1],l=this.getTimeouts(),c=o?l.appear:l.enter;!e&&!r||oo?this.safeSetState({status:po},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:co},(function(){t.props.onEntering(i,a),t.onTransitionEnd(c,(function(){t.safeSetState({status:po},(function(){t.props.onEntered(i,a)}))}))})))},i.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),o=this.props.nodeRef?void 0:n.findDOMNode(this);t&&!oo?(this.props.onExit(o),this.safeSetState({status:uo},(function(){e.props.onExiting(o),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:lo},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:lo},(function(){e.props.onExited(o)}))},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:n.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(r&&!o){if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=s[0],a=s[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===ao)return null;var n=this.props,r=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(io.Provider,{value:null},"function"==typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},s}(t.Component);function fo(){}mo.contextType=io,mo.propTypes="production"!==process.env.NODE_ENV?{nodeRef:ro.shape({current:"undefined"==typeof Element?ro.any:function(e,t,n,r,o,s){var i=e[t];return ro.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,s)}}),children:ro.oneOfType([ro.func.isRequired,ro.element.isRequired]).isRequired,in:ro.bool,mountOnEnter:ro.bool,unmountOnExit:ro.bool,appear:ro.bool,enter:ro.bool,exit:ro.bool,timeout:function(e){var t=so;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},addEndListener:ro.func,onEnter:ro.func,onEntering:ro.func,onEntered:ro.func,onExit:ro.func,onExiting:ro.func,onExited:ro.func}:{},mo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:fo,onEntering:fo,onEntered:fo,onExit:fo,onExiting:fo,onExited:fo},mo.UNMOUNTED=ao,mo.EXITED=lo,mo.ENTERING=co,mo.ENTERED=po,mo.EXITING=uo;const ho="aria-expanded",go="aria-controls",yo="data-spirit-breakpoint",bo=e=>{const{isOpen:t,collapsibleToBreakpoint:n,...r}=e;return hn({method:"custom",trigger:!r.id,componentName:"Collapse",customText:'The "id" property will be required instead of optional starting from the next major version.'}),{ariaProps:{root:{[yo]:n},trigger:{[ho]:t,[go]:String(r.id)}},props:r}},vo=(e,t,n)=>{const r=pn("Collapse"),o=`${r}__content`,s="span"===t?{}:{height:e?n:0};return{classProps:{root:g(r,e?v:""),content:o},styleProps:s}},xo=250,To={entering:"is-transitioning",entered:"",exiting:"is-transitioning",exited:""},Po={elementType:"div",isOpen:!1,collapsibleToBreakpoint:void 0,transitionDuration:xo},So=e=>{const n={...Po,...e},{elementType:r,children:o,transitionDuration:s=xo,...i}=n,a=r,l=t.useRef(null),c=t.useRef(null),p=(e=>{const[n,r]=t.useState(void 0);return Hn({ref:e,onResize:e=>{const t=e.height;r(`${t}px`)}}),n})(c),{classProps:d,styleProps:u}=vo(i.isOpen,a,p),{ariaProps:m,props:f}=bo(i),{styleProps:h,props:g}=en(f),y={className:h.className,style:{...u,...h.style}};return"span"===a&&i.isOpen?o:gr.jsx(mo,{in:i.isOpen,nodeRef:l,timeout:s,children:e=>gr.jsx(a,{...g,...m.root,...Ot(a,{classProps:d.root,styleProps:h,collapseStyleProps:y,transitioningStyles:To[e]}),ref:l,children:gr.jsx(a,{ref:c,className:d.content,children:o})})})};So.spiritComponent="Collapse",So.displayName="Collapse";const Eo=e=>{const[n,r]=t.useState(e);return{toggleHandler:e=>{e.preventDefault(),r(!n)},toggle:r,isOpen:n}},Co={isOpen:!1},No=e=>{const t={...Co,...e},{children:n,hideOnCollapse:r,isDisposable:o,renderTrigger:s,...i}=t,{isOpen:a,toggleHandler:l}=Eo(i.isOpen),{ariaProps:c}=bo({...i,isOpen:a}),p=r||o;return gr.jsxs(gr.Fragment,{children:[!s||p&&p&&a?null:s({isOpen:a,onClick:l,...c.trigger}),p&&a?n:gr.jsx(So,{...i,isOpen:a,children:n})]})};No.spiritComponent="UncontrolledCollapse";const wo=({children:e,...t})=>{const{classProps:n}=or(),{id:r}=xr(),{styleProps:o,props:s}=en(t),{isOpen:i}=lr(r),{contentProps:a}=p({id:r,isOpen:i});return gr.jsx(So,{isOpen:i,...a,children:gr.jsx("div",{...s,...o,className:g(n.content,o.className),children:e})})};wo.spiritComponent="AccordionContent";const Ao=e=>{const{defaultOpen:t,stayOpen:n,...r}=e,{open:o,toggle:s}=i({defaultOpen:t,stayOpen:n});return gr.jsx(yr,{...r,open:o,toggle:s})};function _o(e){const{alignmentX:t,alignmentY:n,direction:r,spacing:o,spacingX:s,spacingY:i,isWrapping:a,...l}=e;hn({method:"custom",trigger:"row"===r||"column"===r,componentName:"Flex",customText:"Direction values `row` and `column` are deprecated and will be removed in the next major release. Use `horizontal` and `vertical` values instead."});const c=pn("Flex"),p={...Qn(o,"flex",J.X),...Qn(o,"flex",J.Y),...Qn(s,"flex",J.X),...Qn(i,"flex",J.Y)},d=Xt(c,Vt(r));return{classProps:g(c,rr(c,a),{[tn(c,t,"alignmentX")]:t,[tn(c,n,"alignmentY")]:n,[d]:r}),props:l,styleProps:p}}Ao.spiritComponent="UncontrolledAccordion",Ao.displayName="UncontrolledAccordion";const Ro={alignmentX:R.STRETCH,alignmentY:O.STRETCH,direction:Z.HORIZONTAL,elementType:"div",isWrapping:!1},ko=t.forwardRef(((e,t)=>{const n={...Ro,...e},{elementType:r=Ro.elementType,direction:o,children:s,...i}=n,a=r,{classProps:l,props:c,styleProps:p}=_o({direction:o,...i}),{styleProps:d,props:u}=en({...c}),m=Ot(a,{classProps:l,flexStyle:p,styleProps:d,otherProps:u});return gr.jsx(a,{...u,...m,ref:t,children:s})}));ko.spiritComponent="Flex",ko.displayName="Flex";const Oo={alignmentX:{mobile:R.STRETCH,tablet:R.LEFT},direction:{mobile:Z.VERTICAL,tablet:Z.HORIZONTAL}},$o=e=>{const{children:t,...n}=e,r={...Oo,...n};return gr.jsx(ko,{...r,children:t})};function jo(e){const{color:t,isCentered:n,...r}=e,o=pn("Alert"),s=`${o}--${t}`,i=`${o}--center`;return{classProps:g(o,{[s]:t,[i]:n}),props:r}}$o.spiritComponent="ActionGroup";const Do={color:"success",isCentered:!1,elementType:"div"},Lo=t.forwardRef(((e,t)=>{const n={...Do,...e},{elementType:r,children:o,color:s,iconName:i,...a}=n,l=r,{classProps:c,props:p}=jo({color:s,...a}),{styleProps:d,props:u}=en(p),m=Ot(l,{classProps:c,styleProps:d,otherProps:u}),f=function({color:e,iconName:t}){const n=$n(e,{default:"info",success:"check-plain",informative:"info",warning:"warning",danger:"danger"});return t||n}({color:s,iconName:i,...u});return gr.jsxs(l,{...u,...m,ref:t,children:[gr.jsx(Cr,{name:f}),gr.jsx("div",{children:o})]})}));Lo.spiritComponent="Alert",Lo.displayName="Alert";const Io=e=>{const{isSquare:t,size:n,...r}=e,o=pn("Avatar"),s=`${o}--square`,i=Mt(o,n);return{classProps:g(o,...i,{[s]:t}),props:r}},Mo={elementType:"div",isSquare:!1,size:W.MEDIUM},Fo=t.forwardRef(((e,t)=>{const n={...Mo,...e},{elementType:r=Mo.elementType,children:o,...s}=n,i=r,{classProps:a,props:l}=Io(s),{styleProps:c,props:p}=en(l),d=Ot(i,{classProps:a,styleProps:c});return gr.jsx(i,{...p,...d,ref:t,children:o})}));Fo.spiritComponent="Avatar",Fo.displayName="Avatar";const Bo=e=>{const{backgroundColor:t,borderColor:n,borderStyle:r,borderWidth:o,textColor:s,...i}=e||{},a=pn(`bg-${t}`),l=pn("border-"),c=t?a:"";let p=n?n.replace("",l):"",d="";const u=o?o.replace("",l):"",m=pn(s?`text-${s}`:"");o&&parseInt(o,10)>0&&(d=`${l}${r}`,n||(p=`${l}${$.BASIC}`));return{classProps:g(c,p,d,u,{[m]:!!s}),props:i}},Uo={elementType:"div",borderStyle:D.SOLID},Ho=t.forwardRef(((e,t)=>{const n={...Uo,...e},{elementType:r=Uo.elementType,children:o,...s}=n,i=r,{classProps:a,props:l}=Bo(s),{styleProps:c,props:p}=en(l,{...ie,...ae,...ce}),d=Ot(i,{classProps:a,styleProps:c});return gr.jsx(i,{...p,...d,ref:t,children:o})}));function zo(e){const{color:t,hasVisitedStyleAllowed:n,isDisabled:r,underlined:o,...s}=e,i=pn("link"),a=`${i}-disabled`,l=`${i}-underlined`,c=`${i}-not-underlined`,p=`${i}-allow-visited-style`;return{classProps:g(`${i}-${t}`,{[a]:r,[l]:o===Pe.ALWAYS,[c]:o===Pe.NEVER,[p]:n}),props:s}}Ho.spiritComponent="Box",Ho.displayName="Box";const Vo={elementType:"a",color:"primary",hasVisitedStyleAllowed:!1,underlined:"hover"},Wo=t.forwardRef(((e,t)=>{const n={...Vo,...e},{elementType:r=Vo.elementType,children:o,routerOptions:s,...i}=n,a=r,{classProps:l,props:c}=zo(i),{styleProps:p,props:d}=en(c),u=Ot(a,{classProps:l,styleProps:p,otherProps:d}),m=Fn({...i,routerOptions:s});return gr.jsx(a,{...d,...u,onClick:m,ref:t,children:o})}));Wo.spiritComponent="Link",Wo.displayName="Link";function Go(e){const{isGoBackOnly:t,...n}=e,r=pn("Breadcrumbs"),o=pn("d-none"),s=pn("d-tablet-flex"),i=pn("d-tablet-none");return{classProps:{root:r,item:g({[o]:!t,[s]:!t,[i]:t})},props:n}}const qo={iconNameEnd:"chevron-right",iconNameStart:"chevron-left",isCurrent:!1,isGoBackOnly:!1},Xo=e=>{const t={...qo,...e},{children:n,href:r,isCurrent:o,iconNameStart:s,iconNameEnd:i,...a}=t,{classProps:l,props:c}=Go({...a}),{styleProps:p,props:d}=en(c);return gr.jsxs("li",{...d,...p,className:g(l.item,p.className),children:[a.isGoBackOnly&&s&&gr.jsx(Cr,{name:s}),!r&&o?n:gr.jsx(Wo,{href:r,color:o?"secondary":"primary",underlined:o?"hover":"always","aria-current":o?"page":void 0,children:n}),!o&&!a.isGoBackOnly&&i&&gr.jsx(Cr,{name:i})]})};Xo.spiritComponent="BreadcrumbsItem";const Yo={elementType:"nav",items:[]},Ko=e=>{const n={...Yo,...e},{children:r,elementType:o,goBackTitle:s,items:i,...a}=n,l=o,{classProps:c,props:p}=Go({...a}),{styleProps:d,props:u}=en(p),m=Ot(l,{classProps:c.root,styleProps:d}),f=(e,t)=>e===t-1;return gr.jsx(l,{...u,...m,"aria-label":"Breadcrumb",children:gr.jsx("ol",{children:r||i?.map(((e,n)=>gr.jsxs(t.Fragment,{children:[n===i.length-2&&s&&gr.jsx(Xo,{href:e.url||void 0,isGoBackOnly:!0,children:s}),gr.jsx(Xo,{href:e.url||void 0,isCurrent:f(n,i?.length),children:e.title})]},`BreadcrumbsItem_${e.title}`)))})})};Ko.spiritComponent="Breadcrumbs",Ko.displayName="Breadcrumbs";const Qo=e=>{const{isDisabled:t,isLoading:n,onClick:r,type:o="button"}=e;return{buttonProps:{...{type:o,disabled:t||n},onClick:dn(t,r)}}};function Zo(e){const{color:t,isBlock:n,isDisabled:r,isLoading:o,isSymmetrical:s,size:i,...a}=e;hn({method:"custom",trigger:!!n,componentName:"Button",customText:"The `isBlock` property will be deleted in the next major release. Please read component's documentation for more information."});const l=pn("Button"),c=`${l}--block`,p=`${l}--disabled`,d=`${l}--loading`,{isSymmetricalActive:u,symmetricalClassName:m}=Jn(l,s);n&&u&&b(0,"isBlock and isSymmetrical props are mutually exclusive");const f=g(l,((e,t)=>Me(De(t))(e))(l,t),((e,t)=>Me(Le(t))(e))(l,i),{[c]:n&&!u,[p]:r||o,[d]:o},m);return{classProps:f,props:a}}const Jo=t.createContext(null),es=({value:e,children:n})=>{const r=t.useContext(Jo),o=r?{...r,...e}:e;return t.createElement(Jo.Provider,{value:o},n)},ts=Jo.Consumer,ns=(e={})=>{const n=t.useContext(Jo);return n?{...e,...n}:e};function rs(e){const{color:t,...n}=e,r=pn("text"),o=t?`${r}-${t}`:"",s=pn("animation-spin-clockwise");return{classProps:g(o,s),props:n}}const os=e=>{const{classProps:t,props:n}=rs(e),{styleProps:r,props:o}=en(n);return gr.jsx(Cr,{...o,name:"spinner",UNSAFE_className:g(t,r.className),UNSAFE_style:r.style})};os.spiritComponent="Spinner";const ss={color:"primary",isBlock:!1,isDisabled:!1,isLoading:!1,isSymmetrical:!1,size:"medium",type:"button",elementType:"button"},is=t.forwardRef(((e,t)=>{const{elementType:n}=e,r=ns(e),{elementType:o,children:s,...i}=r,a=n??o??ss.elementType,l={...ss,...i},{elementType:c,...p}=l,d=a,{buttonProps:u}=Qo(p),{classProps:m,props:f}=Zo(p),{styleProps:h,props:g}=en(f),y=Ot(d,{classProps:m,styleProps:h,otherProps:g});return gr.jsxs(d,{...g,...u,ref:t,...y,children:[s,p.isLoading&&gr.jsx(os,{})]})}));is.spiritComponent="Button",is.displayName="Button";const as=e=>{const{elementType:t,isDisabled:n,isLoading:r,onClick:o,href:s,target:i,rel:a}=e;return{buttonLinkProps:{...{role:"button",href:"a"===t&&n?void 0:s,target:"a"===t?i:void 0,disabled:n||r,rel:"a"===t?a:void 0},onClick:dn(n,o)}}};function ls(e){const{color:t,isBlock:n,isDisabled:r,isLoading:o,isSymmetrical:s,size:i,...a}=e;hn({method:"custom",trigger:!!n,componentName:"ButtonLink",customText:"The `isBlock` property will be deleted in the next major release. Please read component's documentation for more information."});const l=pn("Button"),c=`${l}--block`,p=`${l}--disabled`,d=`${l}--loading`,{isSymmetricalActive:u,symmetricalClassName:m}=Jn(l,s);n&&u&&b(0,"isBlock and isSymmetrical props are mutually exclusive");const f=g(l,((e,t)=>Me(De(t))(e))(l,t),((e,t)=>Me(Le(t))(e))(l,i),{[c]:n&&!u,[p]:r||o,[d]:o},m);return{classProps:f,props:a}}const cs={color:"primary",elementType:"a",isBlock:!1,isDisabled:!1,isLoading:!1,isSymmetrical:!1,size:"medium"},ps=t.forwardRef(((e,t)=>{const n={...cs,...e},{elementType:r=cs.elementType,children:o,routerOptions:s,...i}=n,a=r,{buttonLinkProps:l}=as(n),{classProps:c,props:p}=ls(i),{styleProps:d,props:u}=en(p),m=Ot(a,{classProps:c,styleProps:d,otherProps:u}),f=Fn({...i,routerOptions:s,onClick:l.onClick});return gr.jsxs(a,{...u,...l,...m,onClick:f,ref:t,children:[o,i.isLoading&&gr.jsx(os,{})]})}));function ds(e){const{alignmentY:t,artworkAlignmentX:n,direction:r,footerAlignmentX:o,hasFilledHeight:s,isBoxed:i,isExpanded:a,isHeading:l,isSelectable:c,size:p}=e||{},d=pn("Card"),u=`${d}Artwork`,m=`${d}Body`,f=`${d}Eyebrow`,h=`${d}Footer`,y=`${d}Link`,b=`${d}Logo`,v=`${d}Media`,x=`${d}Title`,T=`${m}--selectable`,P=`${d}--boxed`,S=`${v}__canvas`,E=`${v}--filledHeight`,C=`${v}--expanded`,N=p?`${v}--${p}`:"",w=`${x}--heading`;return{classProps:{artwork:g(u,{[tn(u,n,"alignmentX")]:n}),body:g(m,{[T]:c}),eyebrow:f,footer:g(h,{[tn(h,o,"alignmentX")]:o}),link:y,logo:b,media:g(v,N,{[C]:a,[E]:s}),mediaCanvas:S,root:g(d,{[tn(d,t,"alignmentY")]:t,[Xt(d,Vt(r))]:r,[P]:i}),title:g(x,{[w]:l})}}}ps.spiritComponent="ButtonLink",ps.displayName="ButtonLink";const us={direction:Z.VERTICAL,elementType:"article",isBoxed:!1},ms=e=>{const t={...us,...e},{elementType:n,alignmentY:r,direction:o,isBoxed:s,children:i,...a}=t,l=n,{classProps:c}=ds({alignmentY:r,direction:o,isBoxed:s}),{styleProps:p,props:d}=en(a),u=Ot(l,{classProps:c.root,styleProps:p,otherProps:d});return gr.jsx(l,{...d,...u,children:i})};ms.spiritComponent="Card",ms.displayName="Card";const fs={alignmentX:_.LEFT},hs=e=>{const t={...fs,...e},{children:n,alignmentX:r,...o}=t,{classProps:s}=ds({artworkAlignmentX:r}),{styleProps:i,props:a}=en(o);return gr.jsx("div",{...a,className:g(s.artwork,i.className),style:i.style,children:n})};hs.spiritComponent="CardArtwork";const gs={isSelectable:!1},ys=e=>{const t={...gs,...e},{children:n,isSelectable:r,...o}=t,{classProps:s}=ds({isSelectable:r}),{styleProps:i,props:a}=en(o);return gr.jsx("div",{...a,className:g(s.body,i.className),style:i.style,children:n})};ys.spiritComponent="CardBody";const bs=e=>{const{children:t,...n}=e,{classProps:r}=ds(),{styleProps:o,props:s}=en(n);return gr.jsx("div",{...s,className:g(r.eyebrow,o.className),style:o.style,children:t})};bs.spiritComponent="CardEyebrow";const vs={alignmentX:_.LEFT},xs=e=>{const t={...vs,...e},{children:n,alignmentX:r,...o}=t,{classProps:s}=ds({footerAlignmentX:r}),{styleProps:i,props:a}=en(o);return gr.jsx("footer",{...a,className:g(s.footer,i.className),style:i.style,children:n})};xs.spiritComponent="CardFooter";const Ts={elementType:"a"},Ps=t.forwardRef(((e,t)=>{const n={...Ts,...e},{elementType:r,children:o,href:s,...i}=n,a=r,{classProps:l}=ds(),{styleProps:c,props:p}=en(i),d=Ot(a,{classProps:l.link,styleProps:c,otherProps:p});return gr.jsx(a,{...p,...c,...d,href:s,ref:t,children:o})}));Ps.spiritComponent="CardLink",Ps.displayName="CardLink";const Ss=e=>{const{children:t,...n}=e,{classProps:r}=ds(),{styleProps:o,props:s}=en(n);return gr.jsx("div",{...s,className:g(r.logo,o.className),style:{...o.style},children:t})};Ss.spiritComponent="CardLogo";const Es={fit:ne.COVER,hasFilledHeight:!1,isExpanded:!1,size:be.AUTO},Cs=e=>{const t={...Es,...e},{backgroundColor:n,children:r,fit:o,hasFilledHeight:s,isExpanded:i,size:a,...l}=t,{classProps:c}=ds({size:a,isExpanded:i,hasFilledHeight:s}),{classProps:p,styleProps:d}=(e=>{const{backgroundColor:t,fit:n}=e||{},r=pn(`bg-${t}`);return{classProps:t?r:"",styleProps:n?{[`--${P}card-media-object-fit`]:n}:{}}})({backgroundColor:n,fit:o}),{styleProps:u,props:m}=en(l,{...ie}),f=Ot("div",{classProps:g(c.media,p,u.className),styleProps:{...d,...u}});return gr.jsx("div",{...m,...f,children:gr.jsx("div",{className:c.mediaCanvas,children:r})})};Cs.spiritComponent="CardMedia";const Ns={elementType:"h4",isHeading:!0},ws=e=>{const t={...Ns,...e},{elementType:n,children:r,isHeading:o,...s}=t,i=n,{classProps:a}=ds({isHeading:o}),{styleProps:l,props:c}=en(s),p=Ot(i,{classProps:a.title,styleProps:l,otherProps:c});return gr.jsx(i,{...c,...p,children:r})};ws.spiritComponent="CardTitle",ws.displayName="CardTitle";const As={elementType:"span"},_s=e=>{const t={...As,...e},{children:n,elementType:r,...o}=t,s=r,{classProps:i,props:a}=function(e){const{...t}=e;return{classProps:pn("accessibility-hidden"),props:t}}(o),{styleProps:l,props:c}=en(a),p=Ot(s,{classProps:i,styleProps:l,otherProps:c});return gr.jsx(s,{...c,...p,children:n})};_s.spiritComponent="VisuallyHidden",_s.displayName="VisuallyHidden";const Rs=e=>{const{value:n,defaultValue:r,counterThreshold:o,hasCounter:s,onChange:i}=e,a=void 0!==n;mn({componentName:"useCharacterCounterState",value:n,defaultValue:r});const[l,c]=t.useState((()=>a?n.length:r?.length??0)),p=a?n.length:l,d=!0===s||void 0!==o,u=t.useCallback((e=>{!a&&d&&c(e.target.value.length),i?.(e)}),[a,d,i]);return{counterProps:d?{counterThreshold:o,currentLength:p,hasCounter:s}:void 0,handleChange:u}},ks=e=>{const{counterThreshold:n,currentLength:r,hasCounter:o,id:s,registerAria:i,...a}=e,{styleProps:l,props:c}=en(a),{t:p}=An(),d=!0===o||void 0!==n,u=`${s}__counterScreenReaderMessage`,m=((e,t)=>void 0!==t?`${e}/${t}`:String(e))(r,n),f=((e,t,n)=>{if(void 0===n)return e("textArea.counter.charactersEntered",{count:t});if(0===t)return e("textArea.counter.canEnterUpTo",{maxLength:n});if(t>n){const r=t-n;return e(1===r?"textArea.counter.characterOverLimit":"textArea.counter.charactersOverLimit",{count:r})}const r=n-t;return e(1===r?"textArea.counter.characterRemaining":"textArea.counter.charactersRemaining",{count:r})})(p,r,n),h=fn(f,500);return t.useEffect((()=>{if(d)return i({add:u}),()=>{i({remove:u})}}),[d,u,i]),{debouncedScreenReaderMessage:h,isVisible:d,screenReaderMessageId:u,styleProps:l,transferProps:c,visibleCounterText:m}},Os=e=>{const{debouncedScreenReaderMessage:t,isVisible:n,screenReaderMessageId:r,styleProps:o,transferProps:s,visibleCounterText:i}=ks(e);return n?gr.jsxs(gr.Fragment,{children:[gr.jsx("div",{...s,...o,"aria-hidden":"true",children:i}),gr.jsx(_s,{id:r,"aria-live":"polite","aria-atomic":"true",children:t})]}):null};Os.spiritComponent="CharacterCounter";const $s={elementType:"div",id:void 0,registerAria:void 0},js=e=>{const n={...$s,...e},{helperText:r,elementType:o,id:s,registerAria:i,...a}=n,l=o,{styleProps:c,props:p}=en(a),d=Ot(l,{styleProps:c,transferProps:p});return t.useEffect((()=>(r&&i?.({add:s}),()=>{i?.({remove:s})})),[r,s,i]),r?gr.jsx(l,{...p,...d,id:s,children:r}):null};js.spiritComponent="HelperText",js.displayName="HelperText";const Ds={elementType:"label"},Ls=e=>{const t={...Ds,...e},{elementType:n,children:r,htmlFor:o,for:s,...i}=t,a=n,{styleProps:l,props:c}=en(i),p=Ot(a,{styleProps:l,otherProps:c});return gr.jsx(a,{...c,...p,htmlFor:"label"===a?s||o:void 0,children:r})};Ls.spiritComponent="Label",Ls.displayName="Label";const Is={elementType:"div",id:void 0,registerAria:void 0,role:void 0},Ms=e=>{const n={...Is,...e},{elementType:r,hasValidationStateIcon:o,id:s,registerAria:i,role:a,validationText:l,...c}=n,p=r,d=function({hasValidationStateIcon:e}){return $n(e,{success:"check-plain",warning:"warning",danger:"danger"})}({hasValidationStateIcon:o}),{styleProps:u,props:m}=en(c),f=Ot(p,{styleProps:u,transferProps:m});if(t.useEffect((()=>(l&&i?.({add:s}),()=>{i?.({remove:s})})),[s,i,l]),!l)return null;const h=o?gr.jsx("div",{children:l}):l;return gr.jsxs(p,{...m,...f,id:s,role:a,children:[o&&gr.jsx(Cr,{name:d,boxSize:20}),Array.isArray(l)?gr.jsx("ul",{children:l.map((e=>gr.jsx("li",{children:e},`validationText_${e}`)))}):h]})};Ms.spiritComponent="ValidationText",Ms.displayName="ValidationText";const Fs=({validationState:e,validationText:n})=>{const[r,o]=t.useState(),s=t.useRef(n),i=t.useRef(e);return t.useEffect((()=>{s.current===n&&i.current===e||o("alert"),s.current=n,i.current=e}),[n,e]),r};function Bs(e){return{classProps:pn("InputDetails"),props:e}}const Us={elementType:"div",id:void 0,registerAriaDetails:void 0},Hs=e=>{const n={...Us,...e},{classProps:r,props:o}=Bs(n),{children:s,elementType:i,id:a,registerAriaDetails:l,...c}=o,{styleProps:p,props:d}=en(c),u=i||Us.elementType,m=Ot(u,{classProps:r,styleProps:p,otherProps:d});return t.useEffect((()=>(a&&l?.({add:a}),()=>{a&&l?.({remove:a})})),[a,l]),gr.jsx(u,{...d,...m,id:a,children:s})};function zs(e){const{inputPosition:t=te.START,isItem:n,isLabelHidden:r,validationState:o,...s}=e,{isDisabled:i,isRequired:a}=s,l=pn("Checkbox"),c=`${l}--disabled`,p=`${l}--item`,d=`${l}__input`,u=jn(l,t),m=`${l}__text`,f=`${l}__label`,h=`${l}__label--required`,y=`${l}__label--hidden`,b=`${l}__helperText`,v=`${l}__validationText`,x=`${l}--${o}`;return{classProps:{root:g(l,{[u]:u,[c]:i,[p]:n,[x]:o}),text:m,label:g(f,{[h]:a,[y]:r}),input:d,helperText:b,validationText:v},props:{...s,validationState:o}}}Hs.spiritComponent="InputDetails",Hs.displayName="InputDetails";const Vs=t.forwardRef(((e,t)=>{const{classProps:n,props:r}=zs(e),{"aria-describedby":o="","aria-details":s,details:i,hasValidationIcon:a,helperText:l,id:c,isChecked:p,isDisabled:d,isRequired:u,label:m,validationState:f,validationText:h,value:y,...b}=r,{styleProps:v,props:x}=en(b),[T,P]=rn(o),[S,E]=on(s),C=Fs({validationState:f,validationText:h});return gr.jsxs("div",{style:v.style,className:g(n.root,v.className),children:[gr.jsx("input",{...x,...T,...S,type:"checkbox",id:c,className:n.input,disabled:d,required:u,checked:p,value:y,ref:t}),gr.jsxs("div",{className:n.text,children:[gr.jsx(Ls,{UNSAFE_className:n.label,htmlFor:c,children:m}),i&&gr.jsx(Hs,{id:`${c}-details`,registerAriaDetails:E,children:i}),gr.jsx(js,{UNSAFE_className:n.helperText,id:`${c}__helperText`,registerAria:P,helperText:l}),f&&gr.jsx(Ms,{UNSAFE_className:n.validationText,id:`${c}__validationText`,...a&&{hasValidationStateIcon:f},validationText:h,registerAria:P,role:C})]})]})}));function Ws(e){const{isFluid:t,size:n,...r}=e,o=pn("Container"),s=`${o}--fluid`,i=`${o}--${n}`;return{classProps:g(o,{[s]:t,[i]:!t&&n}),props:r}}Vs.spiritComponent="Checkbox",Vs.displayName="Checkbox";const Gs={isFluid:!1,size:W.XLARGE},qs=e=>{const t={...Gs,...e},{children:n,...r}=t,{classProps:o,props:s}=Ws(r),{styleProps:i,props:a}=en(s,{textAlignment:pe.textAlignment});return gr.jsx("div",{...a,...i,className:g(o,i.className),children:n})};qs.spiritComponent="Container";const Xs=e=>{const{isDisabled:t,onClick:n,type:r="button"}=e;return{controlButtonProps:{...{type:r,disabled:t},onClick:dn(t,n)}}};function Ys(e){const{isDisabled:t,isSubtle:n,isSymmetrical:r,size:o,...s}=e,i=pn("ControlButton"),a=`${i}--hasBackground`,l=`${i}--disabled`,c=pn("dynamic-color-background-interactive"),p=pn("dynamic-color-border"),d=pn("accessibility-tap-target"),{symmetricalClassName:u}=Jn(i,r),m=g(i,((e,t)=>Me(Le(t))(e))(i,o),c,d,{[l]:t,[a]:!n,[p]:!n},u);return{classProps:m,props:s}}const Ks={elementType:"button",isDisabled:!1,isSubtle:!1,isSymmetrical:!1,size:V.MEDIUM,type:"button"},Qs=t.forwardRef(((e,t)=>{const n={...Ks,...e},{elementType:r=Ks.elementType,children:o,...s}=n,i=r,{controlButtonProps:a}=Xs(s),{classProps:l,props:c}=Ys(s),{styleProps:p,props:d}=en(c),u=Ot(i,{classProps:l,styleProps:p,otherProps:d});return gr.jsx(i,{...d,...a,ref:t,...u,children:o})}));Qs.spiritComponent="ControlButton",Qs.displayName="ControlButton";const Zs=(e,n)=>{const r=t.useRef(null),o=t.useCallback((()=>{null!==r.current&&(clearTimeout(r.current),r.current=null)}),[]),s=t.useCallback((e=>{o(),r.current=setTimeout((()=>{e.open&&e.close&&e.close()}),300)}),[o]),i=t.useCallback((t=>{const r=e?.current;r&&t.target===r&&!n&&r.open&&r.close&&(o(),r.close())}),[n,e,o]);Wn(e,n);const a=t.useCallback((t=>{const n=e?.current;n?.classList&&(t?n.classList.add(v):n.classList.remove(v))}),[e]);t.useEffect((()=>{const t=e?.current;return t&&(n?(o(),!t.open&&t.showModal&&(t.showModal(),a(!0))):!n&&t.open&&(a(!1),s(t))),()=>{o()}}),[n,e,a,o,s]);return{openDialog:()=>{const t=e?.current;t&&(o(),!t.open&&t.showModal&&(t.showModal(),a(!0)))},closeDialog:()=>{const t=e?.current;t&&t.open&&(a(!1),s(t))},onTransitionEnd:i}},Js=t.forwardRef(((e,n)=>{const{children:r,isOpen:o,onClose:s,closeOnBackdropClick:i=!0,closeOnEscapeKeyDown:a,...l}=e,c=t.useRef(n),p=t.useRef(null),{closeDialog:d,onTransitionEnd:u}=Zs(c,o);un({ref:p,callback:o?e=>{i&&e.target===c.current&&(d(),s(e))}:void 0}),cn(c,s,a,o);const m=t.Children.only(r);return gr.jsx("dialog",{ref:c,onTransitionEnd:u,...l,children:t.cloneElement(m,{ref:e=>{p.current=e}})})}));function ei(e){return{classProps:pn("Divider"),props:e}}Js.spiritComponent="Dialog",Js.displayName="Dialog";const ti=e=>{const{classProps:t,props:n}=ei(e),{styleProps:r,props:o}=en(n);return gr.jsx("hr",{...o,...r,className:g(t,r.className)})};ti.spiritComponent="Divider";const ni=_.RIGHT,ri=t.createContext({id:"",isOpen:!1,onClose:()=>null}),oi=ri.Provider,si=ri.Consumer,ii=()=>t.useContext(ri),ai=(e={})=>{const{drawerAlignmentX:t=ni,isOpen:n=!1}=e,r=pn("Drawer"),o=`${r}Panel`,s=`${o}__content`,i=`${r}CloseButton`;return{classProps:{root:g(r,{left:`${r}--left`,right:`${r}--right`}[t],{[v]:n}),panel:o,content:s,closeButton:i}}},li=e=>{const{children:t,alignmentX:n=ni,isOpen:r,onClose:o,id:s,...i}=e,{classProps:a}=ai({drawerAlignmentX:n}),{styleProps:l,props:c}=en(i),p={id:s,isOpen:r,onClose:o};return Dn(r),gr.jsx(oi,{value:p,children:gr.jsx(Js,{...c,...l,id:s,isOpen:r,onClose:o,className:g(a.root,l.className),children:t})})};li.spiritComponent="Drawer";const ci={color:M.TERTIARY,iconBoxSize:24,size:V.MEDIUM},pi=e=>{const t={...ci,...e},{color:n,iconBoxSize:r,label:o,size:s,...i}=t,{t:a}=An(),l=o??a("common.close"),{id:c,isOpen:p,onClose:d}=ii(),{classProps:u}=ai(),{styleProps:m,props:f}=en(i);return gr.jsxs(is,{...f,"aria-expanded":p,"aria-controls":c,onClick:d,color:n,size:s,UNSAFE_className:g(u.closeButton,m.className),UNSAFE_style:m.style,isSymmetrical:!0,children:[gr.jsx(Cr,{name:"close",boxSize:r}),gr.jsx(_s,{children:l})]})};pi.spiritComponent="DrawerCloseButton";const di=t.forwardRef(((e,t)=>{const{elementType:n="div",children:r,...o}=e,s=n,{classProps:i}=ai(o),{styleProps:a,props:l}=en(o),c=Ot(s,{classProps:i.panel,styleProps:a,otherProps:l});return gr.jsx(s,{...l,...c,ref:t,children:gr.jsx("div",{className:i.content,children:r})})}));di.spiritComponent="DrawerPanel",di.displayName="DrawerPanel";const ui="aria-expanded",mi="aria-controls",fi="data-spirit-fullwidthmode",hi="data-spirit-placement";var gi=(e=>(e.off="off",e["mobile-only"]="mobile-only",e.all="all",e))(gi||{});const yi=e=>{const{fullWidthMode:t,id:n,isOpen:r,placement:o=z.BOTTOM_START,toggleHandler:s}=e,i={[ui]:r,[mi]:String(n),onClick:s};return{contentProps:{id:n,[fi]:t,[hi]:o},triggerProps:i}},bi={dropdownRef:{current:null},fullWidthMode:gi.off,id:"",isOpen:!1,onToggle:()=>{},placement:z.BOTTOM_START,triggerRef:{current:void 0}},vi=t.createContext(bi),xi=vi.Provider;vi.Consumer;const Ti=()=>t.useContext(vi),Pi=(e={isOpen:!1})=>{const{alignmentX:t,alignmentY:n,isOpen:r,...o}=e,s=pn("Dropdown"),i=`${s}Popover`,a=r?"is-expanded":"",l=r?v:"";return{classProps:{root:g(s,{[tn(s,t,"alignmentX")]:t,[tn(s,n,"alignmentY")]:n}),trigger:a,popover:g(i,l)},props:o}},Si=e=>{const{children:n,enableAutoClose:r=!0,fullWidthMode:o,id:s,isOpen:i=!1,onAutoClose:a,onToggle:l,placement:c,...p}=e,{classProps:d,props:u}=Pi({isOpen:i,...p}),{styleProps:m,props:f}=en(u),h=t.useRef(null),y=t.useRef();return un({ref:h,callback:e=>{r&&(y?.current?.contains(e?.target)||(a&&a(e),l&&i&&l()))}}),gr.jsx(xi,{value:{id:s,isOpen:i,fullWidthMode:o,placement:c,onToggle:l,dropdownRef:h,triggerRef:y},children:gr.jsx("div",{ref:h,className:g(d.root,m.className),style:m.style,...f,children:n})})};Si.spiritComponent="Dropdown";const Ei={elementType:"button"},Ci=e=>{const t={...Ei,...e},{elementType:n,children:r,...o}=t,s=n,{id:i,isOpen:a,onToggle:l,fullWidthMode:c,triggerRef:p}=Ti(),{classProps:d,props:u}=Pi({isOpen:a,...o}),{styleProps:m,props:f}=en(u),h=Ot(s,{classProps:d.trigger,triggerStyleProps:m}),{triggerProps:g}=yi({id:i,isOpen:a,toggleHandler:l,fullWidthMode:c});return gr.jsx(s,{...f,...g,...h,ref:p,children:"function"==typeof r?r({isOpen:a}):r})};Ci.spiritComponent="DropdownTrigger",Ci.displayName="DropdownTrigger";const Ni=e=>{const{children:t,...n}=e,{id:r,isOpen:o,onToggle:s,fullWidthMode:i,placement:a}=Ti(),{classProps:l,props:c}=Pi({isOpen:o,...n}),{styleProps:p,props:d}=en(c),{contentProps:u}=yi({id:r,isOpen:o,toggleHandler:s,placement:a,fullWidthMode:i});return gr.jsx("div",{className:g(l.popover,p.className),style:p.style,...u,...d,children:t})};Ni.spiritComponent="DropdownPopover";const wi=({dropdownRef:e,triggerRef:n,enableAutoClose:r,onAutoClose:o})=>{const[s,i]=t.useState(!1);return un({ref:e,callback:e=>{r&&(n?.current?.contains(e?.target)||(o&&o(e),i(!1)))}}),{toggleHandler:e=>{e.preventDefault(),i(!s)},isOpen:s}},Ai=e=>{const{children:n,enableAutoClose:r=!0,fullWidthMode:o,id:s,onAutoClose:i,placement:a,...l}=e,{classProps:c,props:p}=Pi(l),{styleProps:d,props:u}=en(p),m=t.useRef(null),f=t.useRef(),{isOpen:h,toggleHandler:y}=wi({dropdownRef:m,triggerRef:f,enableAutoClose:r,onAutoClose:i});return gr.jsx(xi,{value:{id:s,isOpen:h,fullWidthMode:o,placement:a,onToggle:y,dropdownRef:m,triggerRef:f},children:gr.jsx("div",{ref:m,...d,...u,className:g(c.root,d.className),children:n})})};function _i(e){const{hasEndDivider:t,hasIntermediateDividers:n,hasSpacing:r,hasStartDivider:o,spacing:s,...i}=e,a=pn("Stack"),l=`${a}--hasEndDivider`,c=`${a}--hasIntermediateDividers`,p=`${a}--hasSpacing`,d=`${a}--hasStartDivider`,u=`${a}Item`,m=Qn(s,"stack");return{classProps:{root:g(a,{[l]:t,[c]:n,[p]:r||s,[d]:o}),item:u},props:i,styleProps:m}}Ai.spiritComponent="UncontrolledDropdown";const Ri=["ul","ol"],ki={elementType:"div",hasSpacing:!1,hasEndDivider:!1,hasIntermediateDividers:!1,hasStartDivider:!1},Oi=t.forwardRef(((e,t)=>{const n={...ki,...e},{elementType:r=ki.elementType,children:o,...s}=n,i=r,{classProps:a,props:l,styleProps:c}=_i(s),{styleProps:p,props:d}=en(l),u=Ot(i,{classProps:a.root,stackStyle:c,styleProps:p,otherProps:d}),m=Ri.includes(r)?"li":void 0;return gr.jsx(es,{value:{elementType:m},children:gr.jsx(i,{...d,...u,ref:t,children:o})})}));Oi.spiritComponent="Stack",Oi.displayName="Stack";const $i="div",ji=t.forwardRef(((e,t)=>{const{elementType:n}=e,r=ns(e),{children:o,elementType:s,...i}=r,a=n??s??$i,{classProps:l,props:c}=_i(i),{styleProps:p,props:d}=en(c),u=Ot(a,{classProps:l.item,styleProps:p,otherProps:d});return gr.jsx(a,{...d,...u,ref:t,children:gr.jsx(es,{value:{elementType:void 0},children:o})})}));function Di(e){const t=pn("EmptyState");return{classProps:{root:t,section:`${t}__section`},props:e}}ji.spiritComponent="StackItem",ji.displayName="StackItem";const Li=e=>{const{children:t,...n}=e,{classProps:r,props:o}=Di(n),{styleProps:s,props:i}=en(o);return gr.jsx(Oi,{...i,UNSAFE_className:g(r.root,s.className),UNSAFE_style:s.style,children:t})};Li.spiritComponent="EmptyState";const Ii=e=>{const{children:t,...n}=e,{classProps:r,props:o}=Di(n),{styleProps:s,props:i}=en(o);return gr.jsx(Oi,{...i,UNSAFE_className:g(r.section,s.className),UNSAFE_style:s.style,children:t})};Ii.spiritComponent="EmptyStateSection";const Mi=e=>{const{"aria-describedby":t="",children:n,helperText:r,hasValidationIcon:o,id:s,isDisabled:i,isFluid:a,isLabelHidden:l,isRequired:c,label:p,validationState:d,validationText:u,...m}=e,{classProps:f}=(({isFluid:e,isRequired:t,validationState:n})=>{const r=pn("FieldGroup"),o=`${r}--fluid`,s=`${r}--${n}`,i=`${r}__label`,a=`${i}--required`,l=`${r}__fields`,c=`${r}__validationText`,p=`${r}__helperText`;return{classProps:{root:g(r,{[o]:e,[s]:n}),label:g(i,{[a]:t}),fields:l,validationText:c,helperText:p}}})({isFluid:a,isRequired:c,validationState:d}),{styleProps:h,props:y}=en(m),[b,v]=rn(t),x=Fs({validationState:d,validationText:u});return gr.jsxs("fieldset",{...y,...h,...b,className:g(f.root,h.className),disabled:i,children:[gr.jsx(_s,{elementType:"legend",children:p}),!l&&gr.jsx("div",{className:f.label,"aria-hidden":"true",children:p}),gr.jsx("div",{className:f.fields,children:n}),gr.jsx(js,{UNSAFE_className:f.helperText,id:`${s}__helperText`,registerAria:v,helperText:r}),d&&gr.jsx(Ms,{UNSAFE_className:f.validationText,...o&&{hasValidationStateIcon:d},id:`${s}__helperText`,validationText:u,registerAria:v,role:x})]})};Mi.spiritComponent="FieldGroup";const Fi=1e7,Bi=1,Ui="The file size limit has been exceeded",Hi="This file already exists in the queue",zi="You have exceeded the number of files allowed in the queue",Vi="This file type is not supported",Wi="file",Gi={TOP:"--file-uploader-attachment-image-top",LEFT:"--file-uploader-attachment-image-left",WIDTH:"--file-uploader-attachment-image-width",HEIGHT:"--file-uploader-attachment-image-height"},qi={addToQueue:()=>new Map,clearQueue:()=>null,fileQueue:new Map,onDismiss:()=>new Map,findInQueue:()=>null,updateQueue:()=>new Map,errorMessages:{errorFileDuplicity:"",errorFileNotSupported:"",errorMaxFileSize:"",errorMaxUploadedFiles:""}},Xi=t.createContext(qi),Yi=Xi.Provider;Xi.Consumer;const Ki=()=>t.useContext(Xi),Qi=e=>{const t=pn("FileUploader"),n="has-drag-and-drop",r=`${t}--fluid`,o=`${t}Input`,s=`${o}--disabled`,i=`${o}--${e?.validationState}`,a="is-dragging",l=`${o}__dragAndDropLabel`,c=`${o}__dropZone`,p=`${c}Label`,d=`${o}__helperText`,u="d-none",m=`${o}__input`,f=`${o}__label`,h=`${o}__label--hidden`,y=`${o}__label--required`,b=`${o}__link`,v=`${o}__validationText`,x=`${t}List`,T=`${t}Attachment`,P=`${T}__name`,S=`${T}__action`,E=`${T}__image`,C=`${T}__slot`,{meta:N,imageObjectFit:w}=e||{};let A,_;const R=null!=N&&["x","y","cropWidth","cropHeight","originalWidth","originalHeight"].every((e=>null!=N[e]));if(R){const{x:e,y:t,cropWidth:n,cropHeight:r,originalWidth:o,originalHeight:s}=N,i=54;let a;a=r>n?i/n:i/r;const l=Math.round(e*a),c=Math.round(t*a),p=Math.round(o*a),d=Math.round(s*a);A={[Gi.TOP]:`-${c}px`,[Gi.LEFT]:`-${l}px`,[Gi.WIDTH]:`${p}px`,[Gi.HEIGHT]:`${d}px`}}return w&&(_={"--file-uploader-attachment-image-object-fit":w}),{classProps:{root:g(t,{[r]:e?.isFluid}),input:{root:g(o,{[n]:e?.isDragAndDropSupported,[s]:e?.isDisabled||e?.isDisabledByQueueLimitBehavior&&"disable"===e?.queueLimitBehavior,[a]:e?.isDragging,[u]:e?.isDropZoneHidden&&"hide"===e.queueLimitBehavior,[i]:e?.validationState}),label:g(f,{[y]:e?.isRequired,[h]:e?.isLabelHidden}),input:m,dropLabel:l,helper:d,link:g(b,"link-primary","link-underlined"),validationText:v,dropZone:{root:c,label:p}},list:x,attachment:{root:T,button:S,name:P,image:E,slot:C},...R&&{imageCropStyles:A},...w&&{attachmentStyles:_}}}},Zi=e=>{const{addToQueue:t,children:n,clearQueue:r,errorMessages:o,fileQueue:s,findInQueue:i,id:a,isFluid:l,onDismiss:c,updateQueue:p,...d}=e,{classProps:u}=Qi({isFluid:l}),{styleProps:m,props:f}=en(d),h={addToQueue:t,clearQueue:r,fileQueue:s,onDismiss:c,findInQueue:i,updateQueue:p,errorMessages:{errorFileDuplicity:Hi,errorFileNotSupported:Vi,errorMaxFileSize:Ui,errorMaxUploadedFiles:zi,...o}};return gr.jsx(Yi,{value:h,children:gr.jsx("div",{id:a,...f,...m,className:g(u.root,m.className),children:n})})};Zi.spiritComponent="FileUploader";const Ji=e=>{const{maxFileSize:n,maxUploadedFiles:r,queueLimitBehavior:o,isMultiple:s,onError:i,accept:a}=e,[l,c]=t.useState(!1),[p,d]=t.useState(!1),{fileQueue:u,addToQueue:m,clearQueue:f,errorMessages:h}=Ki(),g=e=>`file__${e.replace(/\./g,"_").replace(/\s/g,"_")}`,y=e=>{try{s||f(),(e=>{if(s&&u.has(g(e.name)))throw new Error(`${e.name}: ${h?.errorFileDuplicity}`)})(e),(e=>{if(e.size>n)throw new Error(`${e.name}: ${h?.errorMaxFileSize}`)})(e),(e=>{const t=e.name.split(".").pop()?.toLowerCase(),n=e.type;let r;if(a&&""!==a&&"*"!==a&&"*/*"!==a){const e=a.replace(/ /g,"").split(","),o=e.filter((e=>e.match(/\./g))),s=e.filter((e=>e.match(/\//g)));o.forEach((e=>{const n=e.replace(".","").replace("*","");t.match(n)&&(r=!0)})),s.forEach((e=>{const t=e.replace("*","");n.match(t)&&(r=!0)}))}else r=!0;if(!r)throw new Error(`${e.name}: ${h?.errorFileNotSupported}`)})(e),(()=>{if(u.size>=r)throw new Error(h?.errorMaxUploadedFiles)})(),(()=>{if(r>1&&!s)throw new Error("`isMultiple` props must be set when maxUploadedFiles is greater than `1`")})(),m(g(e.name),e)}catch(e){i?i(e):b(0,e)}};t.useEffect((()=>{var e;e=u,o&&("hide"===o?d(e?.size>=r):c(e?.size>=r))}),[u]);return{isDropZoneHidden:p,isDisabledByQueueLimitBehavior:l,onChange:e=>{const{files:t}=e.target,n=Array.prototype.slice.call(t);let o,s=0;s+=u.size,n.forEach((e=>{s<r?(y(e),s+=1):o=!0})),o&&i&&h?.errorMaxUploadedFiles&&i(new Error(h?.errorMaxUploadedFiles)),e.target.blur(),e.target.value=""},...yn({onDrop:e=>{const t=Array.from(e.dataTransfer.items),n=Array.from(e.dataTransfer.files);let o,s=0;s+=u.size,e.dataTransfer.items?t.forEach((e=>{if("file"===e.kind){const t=e.getAsFile();t&&s<r?(y(t),s+=1):o=!0}})):n.forEach((e=>{s<r?(y(e),s+=1):o=!0})),o&&i&&h?.errorMaxUploadedFiles&&i(new Error(h?.errorMaxUploadedFiles))}})}},ea=e=>{const[n,r]=t.useState(!1),{accept:o,"aria-describedby":s="",dropZoneRef:i,hasValidationIcon:a,helperText:l,iconName:c="upload",id:p,inputRef:d,isDisabled:u,isLabelHidden:m,isMultiple:f,isRequired:h,label:y,labelText:b,linkText:v,maxFileSize:x=Fi,maxUploadedFiles:T=Bi,name:P,onError:S,queueLimitBehavior:E="none",validationState:C,validationText:N,...w}=e,{isDisabledByQueueLimitBehavior:A,isDragging:_,isDropZoneHidden:R,onChange:k,onDragEnter:O,onDragLeave:$,onDragOver:j,onDrop:D}=Ji({accept:o,isMultiple:f,maxFileSize:x,maxUploadedFiles:T,onError:S,queueLimitBehavior:E}),{classProps:L}=Qi({isDisabled:u,isDisabledByQueueLimitBehavior:A,isDragAndDropSupported:n,isDragging:_,isDropZoneHidden:R,isLabelHidden:m,isRequired:h,queueLimitBehavior:E,validationState:C}),{styleProps:I,props:M}=en(w),[F,B]=rn(s),U=Fs({validationState:C,validationText:N});return t.useEffect((()=>{r("draggable"in document.createElement("span"))}),[]),gr.jsxs("div",{...M,...I,onDragOver:!u&&n?j:void 0,onDragEnter:!u&&n?O:void 0,onDragLeave:!u&&n?$:void 0,onDrop:!u&&n?D:void 0,className:g(L.input.root,I.className),children:[gr.jsx(Ls,{htmlFor:p,UNSAFE_className:L.input.label,children:y}),gr.jsx("input",{...F,type:"file",accept:o,id:p,ref:d,name:P,className:L.input.input,onChange:k,multiple:f,disabled:u||A,...w}),gr.jsxs("div",{ref:i,className:L.input.dropZone.root,children:[gr.jsx(Cr,{name:c,"aria-hidden":"true"}),gr.jsxs(Ls,{htmlFor:p,UNSAFE_className:L.input.dropZone.label,children:[gr.jsx("span",{className:L.input.link,children:v})," ",gr.jsx("span",{className:L.input.dropLabel,children:b})]}),gr.jsx(js,{UNSAFE_className:L.input.helper,id:`${p}__helperText`,registerAria:B,helperText:l})]}),C&&gr.jsx(Ms,{UNSAFE_className:L.input.validationText,elementType:"span",...a&&{hasValidationStateIcon:C},id:`${p}__validationText`,validationText:N,registerAria:B,role:U})]})};ea.spiritComponent="FileUploaderInput";const ta=e=>{const{t:n}=An(),{label:r,id:o,attachmentComponent:s,inputName:i,hasImagePreview:a,...l}=e,c=r??n("fileUploader.attachments"),{classProps:p}=Qi(),{styleProps:d,props:u}=en(l),{fileQueue:m,onDismiss:f}=Ki(),h=t.useMemo((()=>Array.from(m,(e=>({key:e[0],file:e[1].file,meta:e[1].meta}))).map((({key:e,file:t,meta:n})=>s&&s({id:e,label:t.name,name:i,file:t,meta:n,onDismiss:f,hasImagePreview:a})))),[s,m,i,f,a]);return gr.jsxs(gr.Fragment,{children:[gr.jsx("h3",{id:o,hidden:!0,children:c}),gr.jsx("ul",{"aria-labelledby":o,...u,...d,className:g(p.list,d.className),children:h})]})};ta.spiritComponent="FileUploaderList";const na=e=>{const{name:t="edit",children:n,...r}=e,{classProps:o}=Qi(),{styleProps:s,props:i}=en(r);return gr.jsxs("button",{type:"button",...i,...s,className:g(o.attachment.button,s.className),children:[gr.jsx(_s,{children:n}),gr.jsx(Cr,{name:t,"aria-hidden":"true"})]})};na.spiritComponent="AttachmentActionButton";const ra=e=>{const{children:t,...n}=e,{classProps:r}=Qi(),{styleProps:o,props:s}=en(n);return gr.jsxs("button",{type:"button",...s,...o,className:g(r.attachment.button,o.className),children:[gr.jsx(_s,{children:t}),gr.jsx(Cr,{name:"close","aria-hidden":"true"})]})};ra.spiritComponent="AttachmentDismissButton";const oa={meta:void 0,imageObjectFit:"cover"},sa=e=>{const t={...oa,...e},{label:n,imagePreview:r,meta:o,imageObjectFit:s}=t,{classProps:i}=Qi({meta:o,imageObjectFit:s}),{imageCropStyles:a,attachmentStyles:l}=i;return gr.jsx("span",{className:i.attachment.image,children:gr.jsx("img",{src:r,width:54,height:54,alt:n,style:{...a,...l}})})};sa.spiritComponent="AttachmentImagePreview";const ia=(e,t,n)=>{const r=document.createElement("input"),o=new DataTransfer;if(e)return o.items?.add(e),r.setAttribute("type","file"),r.setAttribute("name",`${t}[]`),r.setAttribute("hidden",""),r.files=o.files,r;n?n("File not found"):b(0,"File not found")},aa=(e,t,n)=>{const r=document.createElement("input");return r.setAttribute("type","text"),r.setAttribute("name",`${t}_meta`),r.setAttribute("value",JSON.stringify(n)),r.setAttribute("hidden",""),r},la=(e,t,n)=>{const r=new FileReader;r.onload=e=>{const r=new Image;r.onload=()=>{const e=document.createElement("canvas"),o=e.getContext("2d");e.width=t,e.height=r.height/r.width*t,o?.drawImage(r,0,0,e.width,e.height);const s=e.toDataURL("image/jpeg",.8);n(s)},e.target&&e.target.result&&(r.src=e.target.result.toString())},r.readAsDataURL(e)},ca=({attachmentRef:e,file:t,name:n,meta:r,onError:o})=>{sn((()=>{(r=>{e.current?.querySelectorAll("input").forEach((e=>e.remove()));const s=ia(t,n,o);if(s&&e.current?.appendChild(s),r){const t=aa(0,n,r);e.current?.appendChild(t)}})(r)}),[e,t,n,r,o])},pa=e=>{const{t:n}=An(),{editText:r,file:o,hasImagePreview:s,iconName:i=Wi,id:a,imageObjectFit:l,label:c,meta:p,name:d,onDismiss:u,onEdit:m,onError:f,removeText:h,...y}=e,b=r??n("fileUploader.edit"),v=h??n("fileUploader.remove"),[x,T]=t.useState(""),{classProps:P}=Qi(),{styleProps:S,props:E}=en(y),C=o.type.includes("image"),N=t.useRef();return C&&la(o,500,(e=>T(e))),ca({attachmentRef:N,file:o,name:d,meta:p,onError:f}),gr.jsxs("li",{id:a,ref:N,...E,...S,className:g(P.attachment.root,S.className),children:[s&&x?gr.jsx(sa,{label:c,imagePreview:x,meta:p,imageObjectFit:l}):gr.jsx(Cr,{name:i,"aria-hidden":"true"}),gr.jsx("span",{className:P.attachment.name,children:gr.jsx("span",{className:pn("text-truncate"),children:c})}),m&&gr.jsx("span",{className:P.attachment.slot,children:gr.jsx(na,{onClick:e=>m&&m(e,o),children:b})}),gr.jsx(ra,{onClick:()=>{u&&u(a)},children:v})]})};pa.spiritComponent="FileUploaderAttachment";const da=()=>{const[e,n]=t.useState(new Map);return{addToQueue:(t,r,o)=>(n((e=>{const n={file:r};return null!=o&&(n.meta=o),new Map(e.set(t,n))})),e),clearQueue:()=>{n((e=>(e.clear(),new Map(e))))},fileQueue:e,findInQueue:t=>e.get(t)||null,onDismiss:t=>(n((e=>{const n=new Map(e);return n.delete(t),n})),e),updateQueue:(t,r,o)=>(n((e=>{const n=new Map(e),s={file:r};return null!=o&&(s.meta=o),n.set(t,s),n})),e)}},ua=e=>{const{attachmentComponent:n,maxFileSize:r,maxUploadedFiles:o,helperText:s,iconName:i,inputId:a,inputLabel:l,inputName:c,inputProps:p,isLabelHidden:d,isDisabled:u,isFluid:m,queueLimitBehavior:f,isMultiple:h,isRequired:g,labelText:y,linkText:b,listId:v,listProps:x,onInputError:T,onChange:P,errorMessages:S,validationState:E,validationText:C,...N}=e,{fileQueue:w,addToQueue:A,clearQueue:_,onDismiss:R,findInQueue:k,updateQueue:O}=da();return t.useEffect((()=>{P&&P(w)}),[w]),gr.jsxs(Zi,{fileQueue:w,onDismiss:R,addToQueue:A,clearQueue:_,findInQueue:k,updateQueue:O,errorMessages:S,isFluid:m,...N,children:[gr.jsx(ea,{maxFileSize:r,maxUploadedFiles:o,helperText:s,iconName:i,id:a,isLabelHidden:d,isDisabled:u,queueLimitBehavior:f,isMultiple:h,isRequired:g,label:l,labelText:y,linkText:b,name:c,onError:T,validationState:E,validationText:C,...p}),gr.jsx(ta,{id:v,inputName:c,attachmentComponent:n,...x})]})};ua.spiritComponent="UncontrolledFileUploader";const ma={backgroundColor:I.SECONDARY,elementType:"footer",paddingBottom:"space-1200",paddingTop:"space-1400"},fa=t.forwardRef(((e,t)=>{const n={...ma,...e},{elementType:r=ma.elementType,children:o,backgroundColor:s,...i}=n,a=r,{classProps:l}=(e=>{const{backgroundColor:t}=e,n=pn(`bg-${t}`),r=t?n:"";return{classProps:g({[r]:t})}})({backgroundColor:s}),{styleProps:c,props:p}=en(i,{paddingBottom:ce.paddingBottom,paddingTop:ce.paddingTop,textAlignment:pe.textAlignment}),d=Ot(a,{classProps:l,styleProps:c,otherProps:p});return gr.jsx(a,{...p,...d,ref:t,children:o})}));function ha(e){const{alignmentX:t,alignmentY:n,cols:r,spacing:o,spacingX:s,spacingY:i,...a}=e,l=pn("Grid"),c={...Qn(o,"grid",J.X),...Qn(o,"grid",J.Y),...Qn(s,"grid",J.X),...Qn(i,"grid",J.Y)};return{classProps:g(l,{[tn(l,t,"alignmentX")]:t,[tn(l,n,"alignmentY")]:n,[function(e,t,n){return"object"==typeof t&&null!==t?Object.keys(t).map((r=>{const o="mobile"===r?"":`--${r}`,s=t[r];return`${e}${o}--${n}-${s}`})).join(" "):`${e}--${n}-${t}`}(l,r,"cols")]:r}),props:a,styleProps:c}}fa.spiritComponent="Footer",fa.displayName="Footer";const ga={alignmentX:R.STRETCH,alignmentY:O.STRETCH,elementType:"div"},ya=t.forwardRef(((e,t)=>{const n={...ga,...e},{elementType:r=ga.elementType,children:o,...s}=n,i=r,{classProps:a,props:l,styleProps:c}=ha(s),{styleProps:p,props:d}=en(l),u=Ot(i,{classProps:a,styleProps:p,otherProps:d,gridStyle:c});return gr.jsx(i,{...d,...u,ref:t,children:o})}));ya.spiritComponent="Grid",ya.displayName="Grid";const ba=(e,t,n)=>{e[t]=n};function va(e){const t=pn("GridItem"),n={},r={...e};return Object.keys(r).filter((e=>e.startsWith("column")||e.startsWith("row"))).forEach((e=>{const t=e.startsWith("column")?"column":"row",o=r[e];var s,i,a;o&&(s=n,i=`grid-item-${t}-${e.replace(t,"").toLowerCase()}`,"object"==typeof(a=o)&&null!==a?Object.keys(a).forEach((e=>{ba(s,`--${i}${"mobile"===e?"":`-${e}`}`,a[e]?.toString())})):ba(s,`--${i}`,a?.toString())),delete r[e]})),{classProps:t,props:r,styleProps:n}}const xa={elementType:"div"},Ta=t.forwardRef(((e,t)=>{const{elementType:n=xa.elementType,children:r,...o}=e,s=n,{classProps:i,styleProps:a,props:l}=va(o),{styleProps:c,props:p}=en(l),d=Ot(s,{classProps:i,styleProps:c,otherProps:p,gridItemStyle:a});return gr.jsx(s,{...p,...d,ref:t,children:r})}));Ta.spiritComponent="GridItem",Ta.displayName="GridItem";const Pa="primary",Sa="primary",Ea="Close",Ca="Menu",Na=({actionsColor:e=Sa,color:t=Pa,hasActionsAtEnd:n,isCurrentLink:r,isSimple:o}={actionsColor:Sa,color:Pa,hasActionsAtEnd:!1,isCurrentLink:!1,isSimple:!1})=>{const s=pn("Header"),i=`${s}--simple`,a=`${s}Nav`,l=`${s}NavItem`,c=`${s}Link`,p=`${c}--current`,d=`${s}DesktopActions`,u=`${d}--end`,m=`${s}MobileActions`,f=`${s}Dialog`,h=`${f}__panel`,y=`${f}__content`,b=`${s}DialogActions`,v=`${b}--${e}`,x=`${s}DialogCloseButton`,T=`${s}DialogLink`,P=`${T}--current`,S=`${s}DialogNav`,E=`${s}DialogNavItem`,C=`${s}DialogText`;return{classProps:{root:g(s,`${s}--${t}`,{[i]:o}),headerButton:c,headerDesktopActions:g(d,{[u]:n}),headerDialog:{root:f,panel:h,content:y},headerDialogActions:g(b,v),headerDialogButton:T,headerDialogCloseButton:x,headerDialogLink:g(T,{[P]:r}),headerDialogNav:S,headerDialogNavItem:E,headerDialogText:C,headerLink:g(c,{[p]:r}),headerMobileActions:m,headerNav:a,headerNavItem:l}}},wa=e=>{const{children:t,color:n=Pa,isSimple:r,...o}=e,{classProps:s}=Na({color:n,isSimple:r}),{styleProps:i,props:a}=en(o);return hn({method:"custom",trigger:!0,componentName:"Header",customText:"The component will be removed in the next major version. Component is replaced by the current implementation of UNSTABLE_Header.\n Please see the composition of the UNSTABLE_Header, Drawer and Navigation components."}),gr.jsx("header",{...a,className:g(s.root,i.className),style:i.style,children:t})};wa.spiritComponent="Header";const Aa=e=>{const{classProps:t}=Na(),{styleProps:n,props:r}=en(e);return gr.jsx("button",{...r,type:"button",className:g(t.headerButton,n.className),style:n.style})};Aa.spiritComponent="HeaderButton";const _a={isAtEnd:!1},Ra=e=>{const t={..._a,...e},{isAtEnd:n,...r}=t,{classProps:o}=Na({hasActionsAtEnd:n}),{styleProps:s,props:i}=en(r);return gr.jsx("nav",{...i,className:g(o.headerDesktopActions,s.className),style:s.style})};Ra.spiritComponent="HeaderDesktopActions";const ka=t.createContext({id:"",isOpen:!1,onClose:()=>null}),Oa=ka.Provider,$a=ka.Consumer,ja=()=>t.useContext(ka),Da=e=>{const{children:t,id:n,isOpen:r,onClose:o,...s}=e,{classProps:i}=Na(),{styleProps:a,props:l}=en(s),c={id:n,isOpen:r,onClose:o};return Dn(r),gr.jsx(Oa,{value:c,children:gr.jsx(Js,{...l,id:n,isOpen:r,onClose:o,className:g(i.headerDialog.root,a.className),style:a.style,children:gr.jsx("div",{className:i.headerDialog.panel,children:gr.jsx("div",{className:i.headerDialog.content,children:t})})})})};Da.spiritComponent="HeaderDialog";const La=e=>{const{color:t=Sa,...n}=e,{classProps:r}=Na({actionsColor:t}),{styleProps:o,props:s}=en(n);return gr.jsx("nav",{...s,className:g(r.headerDialogActions,o.className),style:o.style})};La.spiritComponent="HeaderDialogActions";const Ia=e=>{const{classProps:t}=Na(),{styleProps:n,props:r}=en(e);return gr.jsx("button",{...r,type:"button",className:g(t.headerDialogButton,n.className),style:n.style})};Ia.spiritComponent="HeaderDialogButton";const Ma=e=>{const{label:t=Ea,onClick:n,...r}=e,{classProps:o}=Na(),{styleProps:s,props:i}=en(r),{id:a,isOpen:l,onClose:c}=ja();return gr.jsxs("button",{...i,type:"button","aria-expanded":l,"aria-controls":a,onClick:e=>{c(e),n&&n(e)},className:g(o.headerDialogCloseButton,s.className),style:s.style,children:[gr.jsx(Cr,{name:"close"}),gr.jsx(_s,{children:t})]})};Ma.spiritComponent="HeaderDialogCloseButton";const Fa=t.forwardRef(((e,t)=>{const{elementType:n="a",children:r,isCurrent:o,routerOptions:s,...i}=e,a=n,{classProps:l}=Na({isCurrentLink:o}),{styleProps:c,props:p}=en(i),d=Ot(a,{classProps:l.headerDialogLink,styleProps:c,otherProps:p}),u=Fn({...i,routerOptions:s});return gr.jsx(a,{...p,...d,onClick:u,ref:t,children:r})}));Fa.spiritComponent="HeaderDialogLink",Fa.displayName="HeaderDialogLink";const Ba=e=>{const{classProps:t}=Na(),{styleProps:n,props:r}=en(e);return gr.jsx("ul",{...r,className:g(t.headerDialogNav,n.className),style:n.style})};Ba.spiritComponent="HeaderDialogNav";const Ua=e=>{const{classProps:t}=Na(),{styleProps:n,props:r}=en(e);return gr.jsx("li",{...r,className:g(t.headerDialogNavItem,n.className),style:n.style})};Ua.spiritComponent="HeaderDialogNavItem";const Ha=e=>{const{classProps:t}=Na(),{styleProps:n,props:r}=en(e);return gr.jsx("span",{...r,className:g(t.headerDialogText,n.className),style:n.style})};Ha.spiritComponent="HeaderDialogText";const za=t.forwardRef(((e,t)=>{const{elementType:n="a",children:r,isCurrent:o,routerOptions:s,...i}=e,{href:a}=i,l=n,{classProps:c}=Na({isCurrentLink:o}),{styleProps:p,props:d}=en(i),u=Ot(l,{classProps:c.headerLink,styleProps:p,otherProps:d}),m=Fn({...i,routerOptions:s});return gr.jsx(l,{...d,...u,href:a,onClick:m,ref:t,children:r})}));za.spiritComponent="HeaderLink",za.displayName="HeaderLink";const Va=e=>{const{children:t,dialogId:n,menuToggleLabel:r=Ca,isOpen:o,onOpen:s,...i}=e,{classProps:a}=Na(),{styleProps:l,props:c}=en(i);return gr.jsxs("div",{...c,className:g(a.headerMobileActions,l.className),style:l.style,children:[t,gr.jsxs(is,{"aria-controls":n,"aria-expanded":o,color:"secondary",onClick:s,isSymmetrical:!0,children:[gr.jsx(Cr,{name:"hamburger"}),gr.jsx(_s,{children:r})]})]})};Va.spiritComponent="HeaderMobileActions";const Wa=e=>{const{classProps:t}=Na(),{styleProps:n,props:r}=en(e);return gr.jsx("ul",{...r,className:g(t.headerNav,n.className),style:n.style})};Wa.spiritComponent="HeaderNav";const Ga=e=>{const{classProps:t}=Na(),{styleProps:n,props:r}=en(e);return gr.jsx("li",{...r,className:g(t.headerNavItem,n.className),style:n.style})};function qa(e){const{emphasis:t,size:n,textColor:r,...o}=e,s=pn("typography-heading"),i=pn(r?`text-${r}`:"");return{classProps:g(`${s}-${n}-${t}`,{[i]:!!r}),props:o}}Ga.spiritComponent="HeaderNavItem";const Xa={emphasis:H.BOLD,size:W.MEDIUM},Ya=e=>{const t={...Xa,...e},{elementType:n,children:r,...o}=t,s=n,{classProps:i,props:a}=qa({...o}),{styleProps:l,props:c}=en(a,{isTextBalanced:de.isTextBalanced,textAlignment:pe.textAlignment,textHyphens:pe.textHyphens,textWordBreak:pe.textWordBreak}),p=Ot(s,{classProps:i,styleProps:l,otherProps:c});return gr.jsx(s,{...c,...p,children:r})};Ya.spiritComponent="Heading",Ya.displayName="Heading";const Ka={elementType:"span"},Qa=t.forwardRef(((e,t)=>{const n={...Ka,...e},{elementType:r=Ka.elementType,children:o,on:s,from:i,...a}=n,l=r,c={...a,hideOn:s||a.hideOn,hideFrom:i||a.hideFrom},{styleProps:p,props:d}=en(c),u=Ot(l,{styleProps:p});return gr.jsx(l,{...d,...u,ref:t,children:o})}));Qa.spiritComponent="Hidden",Qa.displayName="Hidden";const Za={ROUNDED:"rounded",SQUARE:"square",CIRCLE:"circle"},Ja={[W.XSMALL]:{padding:"space-500",iconSize:16},[W.SMALL]:{padding:"space-500",iconSize:20},[W.MEDIUM]:{padding:"space-600",iconSize:24},[W.LARGE]:{padding:"space-600",iconSize:28},[W.XLARGE]:{padding:"space-700",iconSize:28}},el={[Za.CIRCLE]:j.FULL,[Za.ROUNDED]:j[300],[Za.SQUARE]:j[0]},tl=(e,t,n)=>`${e}-${t}-${n}`,nl=(e,t=!0)=>{const n=t?U.SUBTLE:U.BASIC,r=n===U.BASIC?U.SUBTLE:U.BASIC,o=e??F.INFORMATIVE,s=(e=>Object.keys(N).includes(e)?x.EMOTION:x.ACCENT)(o);return{colors:{background:tl(s,o,n),border:tl(s,o,n),text:tl(s,o,r)}}},rl=e=>{const{shape:t=Za.ROUNDED,size:n=W.MEDIUM,...r}=e||{},o=el[t],s={padding:`calc(var(--${P}local-padding) - var(--${P}local-border-width, 0px)) !important`};let i;if(It(n)){const e={},t={};Object.entries(n).forEach((([n,r])=>{const o=Ja[r];e[n]=o.padding,t[n]=o.iconSize})),i={padding:e,iconSize:t}}else i=Ja[n];return{iconBoxStyles:s,props:r,shapesProps:o,sizeProps:i}},ol={shape:Za.ROUNDED,color:F.INFORMATIVE,elementType:"div",hasBorder:!0,isSubtle:!0,size:W.MEDIUM},sl=t.forwardRef(((e,t)=>{const n={...ol,...e},{elementType:r,shape:o,color:s,iconName:i,isSubtle:a,hasBorder:l,size:c,...p}=n,d=r,{colors:u}=nl(s,a),{iconBoxStyles:m,props:f,shapesProps:h,sizeProps:{padding:y,iconSize:b}}=rl({size:c,shape:o,...p}),{styleProps:v,props:x}=en(f);return gr.jsx(Ho,{...x,backgroundColor:u.background,elementType:d,borderColor:l?u.border:void 0,borderRadius:h,borderWidth:l?L[100]:void 0,padding:y,textColor:u.text,UNSAFE_className:g(v.className,"d-inline-flex"),UNSAFE_style:{...v.style,...m},ref:t,children:gr.jsx(Cr,{"aria-hidden":"true",boxSize:b,name:i})})}));function il(e){const{isDisabled:t,isSelected:n,selectionDecorator:r,...o}=e,s=pn("Item"),i=`${s}--disabled`,a=`${s}--selected`,l=`${s}__icon`,c=n&&(r===ve||r===xe);return{classProps:{helperText:`${s}__helperText`,icon:{root:l,start:`${l}--start`,end:`${l}--end`},label:`${s}__label`,root:g(s,{[i]:t,[a]:c})},props:o}}sl.spiritComponent="IconBox",sl.displayName="IconBox";const al={elementType:"button",selectionDecorator:Te},ll=e=>{const t={...al,...e},{elementType:n,helperText:r,iconName:o,isDisabled:s,isSelected:i,label:a,selectionDecorator:l,...c}=t,p=n,{classProps:d,props:u}=il({isSelected:i,isDisabled:s,selectionDecorator:l,...c}),{styleProps:m,props:f}=en(u),h=Ot(p,{classProps:d.root,styleProps:m,otherProps:f}),y=i&&(l===Te||l===xe);return gr.jsxs(p,{...f,...h,disabled:!!s&&"button"===p,children:[o&&gr.jsx("span",{className:g(d.icon.root,d.icon.start),children:gr.jsx(Cr,{name:o})}),gr.jsx("span",{className:d.label,children:a}),gr.jsx(js,{UNSAFE_className:d.helperText,elementType:"span",helperText:r}),y&&gr.jsx("span",{className:g(d.icon.root,d.icon.end),children:gr.jsx(Cr,{name:"check-plain"})})]})};ll.spiritComponent="Item",ll.displayName="Item";const cl=(e,t,n,r)=>{const o={},s=`--${r}`;return"object"==typeof e&&100===t&&n>0&&Object.keys(e).forEach((e=>{const t="mobile"===e?"":`-${e}`;o[`${s}-items-count`]=`${n}`,o[`${s}-rows${t}`]=`calc(var(${s}-item-rows) * var(${s}-items-count) / var(${s}-columns${t}))`})),o};function pl(e){const{cols:t,itemsCount:n,itemRows:r,rows:o,spacing:s,spacingX:i,spacingY:a,...l}=e,c=pn("Matrix"),p=`${P}matrix`,d={...gn(t,`${p}-columns`),...gn(o,`${p}-rows`),...gn(r,`${p}-item-rows`),...cl(t,o,n,p),...Qn(s,p,J.X),...Qn(s,p,J.Y),...Qn(i,p,J.X),...Qn(a,p,J.Y)};return{classProps:g(c),props:l,styleProps:d}}const dl={cols:3,elementType:"div",itemRows:100,rows:100,spacingX:"space-700",spacingY:"space-0"},ul=e=>{const n={...dl,...e},{elementType:r,children:o,...s}=n,i=r,a=t.Children.count(o),{classProps:l,props:c,styleProps:p}=pl({...s,itemsCount:a}),{styleProps:d,props:u}=en(c),m=Ot(i,{classProps:l,styleProps:d,otherProps:u,matrixStyleProps:p});return gr.jsx(i,{...u,...m,children:o})};ul.spiritComponent="Matrix",ul.displayName="Matrix";const ml=t.createContext({id:"",isOpen:!1,onClose:()=>null}),fl=ml.Provider,hl=ml.Consumer,gl=()=>t.useContext(ml);function yl({footerAlignment:e=_.RIGHT,isDockedOnMobile:t=!1,isExpandedOnMobile:n=!1,isOpen:r=!1,isScrollable:o=!1,modalAlignment:s=k.CENTER}={}){const i=pn("Modal"),a={top:`${i}--top`,center:`${i}--center`,bottom:`${i}--bottom`},l=`${i}Dialog`,c=`${l}--dockOnMobile`,p=`${l}--expandOnMobile`,d=`${l}--scrollable`,u=`${i}Header`,m=`${u}__title`,f=`${i}Body`,h=`${i}Footer`,y=`${h}__description`,b=`${h}__actions`,x={left:`${h}--left`,center:`${h}--center`,right:`${h}--right`};return{classProps:{root:g(i,{[a[s]]:s,[v]:r}),dialog:g(l,{[c]:t,[p]:n,[d]:o}),title:m,header:u,body:f,footer:{root:g(h,{[x[e]]:e}),description:y,actions:b}}}}const bl=e=>{const{children:t,alignmentY:n=k.CENTER,isOpen:r,onClose:o,id:s,...i}=e,{classProps:a}=yl({isOpen:r,modalAlignment:n}),{styleProps:l,props:c}=en(i),p={id:s,isOpen:r,onClose:o};return Dn(r),gr.jsx(fl,{value:p,children:gr.jsx(Js,{...c,...l,id:s,isOpen:r,onClose:o,className:g(a.root,l.className),"aria-labelledby":`${s}__title`,children:t})})};bl.spiritComponent="Modal";const vl=({children:e,...t})=>{const{classProps:n}=yl(),{styleProps:r,props:o}=en(t);return gr.jsx("div",{...o,...r,className:g(n.body,r.className),children:e})};vl.spiritComponent="ModalBody";const xl=({label:e,onClose:t,id:n,isOpen:r,...o})=>{const{t:s}=An(),i=e??s("common.close");return gr.jsxs(is,{...o,isSymmetrical:!0,color:"tertiary",onClick:t,"aria-expanded":r,"aria-controls":n,children:[gr.jsx(Cr,{name:"close"}),gr.jsx(_s,{children:i})]})};xl.spiritComponent="ModalCloseButton";const Tl=(e,t)=>{if(!t)return{};if("object"==typeof t)return Object.keys(t).reduce(((n,r)=>{const o=`--${e}${"mobile"===r?"":`-${r}`}`;return{...n,[o]:t[r]?.toString()}}),{});const n=`--${e}`;return{[n]:t?.toString()}},Pl=t.forwardRef(((e,t)=>{const{elementType:n="article",children:r,isDockedOnMobile:o,isExpandedOnMobile:s,isScrollable:i,...a}=e,l=n,{classProps:c}=yl({isDockedOnMobile:o,isExpandedOnMobile:s,isScrollable:i}),{modalDialogStyleProps:p,props:d}=(e=>{const{height:t,maxHeight:n,...r}=e;return{modalDialogStyleProps:{...Tl("modal-dialog-height",t),...Tl("modal-dialog-max-height",n)},props:r}})(a),{styleProps:u,props:m}=en(d),f=Ot(l,{classProps:c.dialog,modalDialogStyleProps:p,styleProps:u,otherProps:m});return gr.jsx(l,{...m,...f,ref:t,children:r})}));Pl.spiritComponent="ModalDialog",Pl.displayName="ModalDialog";const Sl=e=>{const{children:t,alignmentX:n=_.RIGHT,description:r,...o}=e,{classProps:s}=yl({footerAlignment:n}),{styleProps:i,props:a}=en(o);return gr.jsxs("footer",{...a,...i,className:g(s.footer.root,i.className),children:[r&&gr.jsx("div",{className:s.footer.description,children:r}),gr.jsx("div",{className:s.footer.actions,children:t})]})};Sl.spiritComponent="ModalFooter";const El={hasCloseButton:!0},Cl=e=>{const t={...El,...e},{children:n,closeLabel:r,hasCloseButton:o,...s}=t,{t:i}=An(),a=r??i("common.close"),{classProps:l}=yl(),{styleProps:c,props:p}=en(s),{id:d,isOpen:u,onClose:m}=gl();return gr.jsxs("header",{...p,...c,className:g(l.header,c.className),children:[n&&gr.jsx("h2",{id:`${d}__title`,className:l.title,children:n}),o&&gr.jsx(xl,{id:d,isOpen:u,label:a,onClose:m})]})};Cl.spiritComponent="ModalHeader";const Nl=({isDisabled:e=!1,isSelected:t=!1,isSquare:n=!1,alignmentY:r=O.CENTER,direction:o=Q.HORIZONTAL,variant:s=K.BOX,...i})=>{const a=pn("Navigation"),l=`${a}Action`,c=`${a}Avatar`,p=`${a}Item`,d=`${a}--${o}`,u=`${l}--disabled`,m=`${l}--selected`,f=`${l}--${s}`,h=`${c}--square`,y=g(p,{[tn(p,r,"alignmentY")]:r});return{classProps:{root:g(a,d),action:g(l,f,{[u]:e,[m]:t}),avatar:g(c,{[h]:n}),item:y},props:i}},wl={direction:Q.HORIZONTAL},Al=e=>{const t={...wl,...e},{children:n,...r}=t,{classProps:o,props:s}=Nl(r),{styleProps:i,props:a}=en(s);return gr.jsx("nav",{...a,className:g(o.root,i.className),style:i.style,children:gr.jsx("ul",{children:n})})};Al.spiritComponent="Navigation";const _l=e=>{const{isDisabled:t,href:n,target:r,rel:o}=e;return{navigationActionProps:{href:t?void 0:n,target:t?void 0:r,rel:t?void 0:o}}},Rl={elementType:"a",variant:K.BOX},kl=t.forwardRef(((e,t)=>{const n={...Rl,...e},{elementType:r=Rl.elementType,children:o,...s}=n,i=n.isDisabled?"span":r,{navigationActionProps:a}=_l(n),{classProps:l,props:c}=Nl(s),{styleProps:p,props:d}=en(c),u=Ot(i,{classProps:l.action,styleProps:p,otherProps:d});return gr.jsx(i,{...d,...a,...u,ref:t,children:o})}));kl.spiritComponent="NavigationAction",kl.displayName="NavigationAction";const Ol={elementType:"a",isSquare:!1,avatarSize:V.SMALL},$l=t.forwardRef(((e,t)=>{const n={...Ol,...e},{elementType:r=Ol.elementType,avatarContent:o,avatarSize:s=Ol.avatarSize,isSquare:i,children:a,...l}=n,{classProps:c,props:p}=Nl({isSquare:i,...l}),{styleProps:d,props:u}=en(p),m=Ot(r,{classProps:c.avatar,styleProps:d,otherProps:u});return gr.jsxs(r,{...u,...m,ref:t,children:[gr.jsx(Fo,{size:s,isSquare:i,children:o}),a]})}));$l.spiritComponent="NavigationAvatar",$l.displayName="NavigationAvatar";const jl={alignmentY:O.CENTER},Dl=e=>{const t={...jl,...e},{children:n,...r}=t,{classProps:o,props:s}=Nl(r),{styleProps:i,props:a}=en(s);return gr.jsx("li",{...a,className:g(o.item,i.className),style:i.style,children:n})};Dl.spiritComponent="NavigationItem";const Ll=({children:e})=>{const[n,r]=t.useState(!1);return t.useEffect((()=>{r(!0)}),[]),n?e:null};Ll.spiritComponent="NoSsr";const Il=e=>{const t=pn("Pagination"),n=`${t}__link`,r=`${n}--current`;return{classProps:{root:t,item:`${t}__item`,link:g(n,{[r]:e?.isCurrent})}}},Ml=e=>{const{children:t,listProps:n={},...r}=e,{classProps:o}=Il(),{styleProps:s,props:i}=en(r),{styleProps:a,props:l}=en(n);return gr.jsx("nav",{...i,...s,children:gr.jsx("ul",{...a,...l,className:g(o.root,a.className),children:t})})};Ml.spiritComponent="Pagination";const Fl=t.forwardRef(((e,t)=>{const{t:n}=An(),{direction:r,accessibilityLabel:o,...s}=e,i=o??n("previous"===r?"pagination.previous":"pagination.next");return gr.jsxs(ps,{color:"secondary",isSymmetrical:!0,...s,ref:t,children:[gr.jsx(Cr,{name:{previous:"chevron-left",next:"chevron-right"}[r]}),gr.jsx(_s,{children:i})]})}));Fl.spiritComponent="PaginationButtonLink",Fl.displayName="PaginationButtonLink";const Bl=e=>{const{children:t,...n}=e,{classProps:r}=Il(),{styleProps:o,props:s}=en(n);return gr.jsx("li",{...s,...o,className:g(r.item,o.className),children:t})};Bl.spiritComponent="PaginationItem";const Ul=t.forwardRef(((e,t)=>{const{t:n}=An(),{elementType:r="a",accessibilityLabel:o,isCurrent:s,pageNumber:i,routerOptions:a,...l}=e,c=o||`${n("pagination.goToPage")} ${i}`,p=r,{classProps:d}=Il({isCurrent:s}),{styleProps:u,props:m}=en(l),f=Ot(p,{classProps:d.link,styleProps:u,otherProps:m}),h=Fn({...l,routerOptions:a});return gr.jsxs(p,{...s&&{"aria-current":"page"},...m,...f,onClick:h,ref:t,children:[gr.jsx(_s,{children:c}),gr.jsx("span",{"aria-hidden":"true",children:i})]})}));Ul.spiritComponent="PaginationLink",Ul.displayName="PaginationLink";const Hl=t.forwardRef((({accessibilityLabel:e,...t},n)=>{const{t:r}=An(),o=e??r("pagination.next");return gr.jsx(Fl,{direction:"next",accessibilityLabel:o,...t,ref:n})}));Hl.spiritComponent="PaginationLinkNext",Hl.displayName="PaginationLinkNext";const zl=t.forwardRef((({accessibilityLabel:e,...t},n)=>{const{t:r}=An(),o=e??r("pagination.previous");return gr.jsx(Fl,{direction:"previous",accessibilityLabel:o,...t,ref:n})}));zl.spiritComponent="PaginationLinkPrevious",zl.displayName="PaginationLinkPrevious";const Vl=({totalPages:e,onChange:n,defaultPage:r,visiblePages:o})=>{const[s,i]=t.useState(r<=0||r>e?1:r??1),[a,l]=t.useState([o]);t.useMemo((()=>{const t=o>e?e:o,n=e-s<t?e-(t-1):s;l(Array.from(Array(t),((e,t)=>t+n)))}),[o,s,e]);const c=t.useCallback((e=>{i(e),n&&n(e)}),[n]);return t.useMemo((()=>{l((()=>{const t=Math.floor(o/2);let n=Math.max(1,s-t);const r=Math.min(n+o-1,e);if(e-o<n-1){const t=e-o+1;n=t<1?1:t}return Array.from({length:r-n+1},((e,t)=>n+t))})())}),[]),{totalPages:e,currentPage:s,pages:a,handlePageChange:c}},Wl=e=>{const{t:t}=An(),{accessibilityLabel:n,accessibilityLabelPrevious:r,accessibilityLabelNext:o,defaultPage:s=1,onChange:i,totalPages:a=0,visiblePages:l=5,...c}=e,p=n??t("pagination.goToPage"),d=r??t("pagination.previous"),u=o??t("pagination.next"),{currentPage:m,pages:f,handlePageChange:h}=Vl({defaultPage:s,onChange:i,totalPages:a,visiblePages:l});return gr.jsxs(Ml,{...c,children:[1!==m&&gr.jsx(zl,{accessibilityLabel:d,onClick:e=>{e.preventDefault(),h(m-1)}}),f?.map((e=>gr.jsx(Bl,{children:gr.jsx(Ul,{accessibilityLabel:`${p} ${e}`,href:"#",isCurrent:m===e,pageNumber:e,onClick:t=>{t.preventDefault(),h(e)}})},e))),m!==a&&gr.jsx(Hl,{accessibilityLabel:u,onClick:e=>{e.preventDefault(),h(m+1)}})]})};Wl.spiritComponent="UncontrolledPagination";const Gl=e=>{const{hasSafeArea:t,isFluid:n,size:r,...o}=e,s=pn("PartnerLogo"),i=`${s}--fluid`,a=`${s}--safeArea`,l=Mt(s,r);return{classProps:g(s,{[i]:n,[a]:t},l),props:o}},ql={hasSafeArea:!0,isFluid:!1,size:V.MEDIUM},Xl=e=>{const t={...ql,...e},{children:n,...r}=t,{classProps:o,props:s}=Gl(r),{styleProps:i,props:a}=en(s);return gr.jsx("div",{...a,className:g(o,i.className),style:i.style,children:n})};Xl.spiritComponent="PartnerLogo";const Yl={SELECTED:"selected",NEUTRAL:"neutral"};function Kl(e){const{color:t,...n}=e,r=pn("Pill"),o=`${r}--${t}`;return{classProps:g(r,{[o]:t}),props:n}}const Ql={color:Yl.SELECTED,elementType:"span"},Zl=e=>{const t={...Ql,...e},{elementType:n,children:r,...o}=t,s=n,{classProps:i,props:a}=Kl(o),{styleProps:l,props:c}=en(a),p=Ot(s,{classProps:i,styleProps:l,otherProps:c});return gr.jsx(s,{...c,...p,children:r})};Zl.spiritComponent="Pill",Zl.displayName="Pill";const Jl=e=>{const{hasComparableFeatures:t,isHighlighted:n,action:r,badge:o,title:s,subtitle:i,note:a,price:l,rows:c,...p}=e,d=pn("PricingPlan"),u=`${d}--comparableFeatures`,m=`${d}__layout`,f=`${d}--highlighted`,h=pn("PricingPlanHeader"),y=`${h}__badge`,b=`${h}__title`,v=`${h}__subtitle`,x=`${h}__price`,T=`${h}__action`,S=`${h}__note`,E=`${h}__content`,C=pn("PricingPlanBody"),N=`${C}__featureList`,w=`${C}__featureItem`,A=`${C}__featureTitle`,_=`${C}__featureTitleText`,R=`${C}__featureDescription`,k=pn("PricingPlanFooter"),O={};return 100!==c&&(O[`--${P}pricing-plan-rows`]=c?.toString()),{classProps:{root:g(d,{[u]:t,[f]:n}),layout:m,header:{root:h,badge:o?y:void 0,content:E,title:s?b:void 0,subtitle:i?v:void 0,price:l?x:void 0,action:r?T:void 0,note:a?S:void 0},body:{root:C,featureList:N,featureItem:w,featureTitle:A,featureTitleText:_,featureDescription:R},footer:k},props:p,styleProps:O}},ec={elementType:"article",hasComparableFeatures:!1,isHighlighted:!1,rows:100},tc=e=>{const t={...ec,...e},{elementType:n,children:r,...o}=t,s=n,{classProps:i,props:a,styleProps:l}=Jl(o),{styleProps:c,props:p}=en(a),d=Ot(s,{classProps:i.root,pricingPlanStyleProps:l,styleProps:c});return gr.jsx(s,{...p,...d,children:gr.jsx("div",{className:g(i.layout),children:r})})};tc.spiritComponent="PricingPlan",tc.displayName="PricingPlan";const nc={action:void 0,badge:void 0,elementType:"header",note:void 0,price:void 0,subtitle:void 0,title:void 0},rc=e=>{const t={...nc,...e},{elementType:n,...r}=t,o=n,{classProps:s,props:i}=Jl(r),{badge:a,title:l,subtitle:c,price:p,action:d,note:u}=t,{styleProps:m,props:f}=en(i),h=Ot(o,{classProps:s.header.root,styleProps:m});return gr.jsxs(o,{...f,...h,children:[a&&gr.jsx("div",{className:s.header.badge,children:a}),gr.jsxs("div",{className:s.header.content,children:[l&&gr.jsx("h3",{className:s.header.title,children:l}),c&&gr.jsx("div",{className:g(s.header.subtitle),children:c}),p&&gr.jsx("div",{className:s.header.price,children:p}),d&&gr.jsx("div",{className:s.header.action,children:d}),u&&gr.jsx("div",{className:s.header.note,children:u})]})]})};rc.spiritComponent="PricingPlanHeader";const oc=new Set(["none","auto","initial","unset",""]),sc=/([+-]?(?:\d+\.?\d*|\.\d+))/;function ic(){if("undefined"==typeof window||"undefined"==typeof document||!document.documentElement)return 16;const e=Number.parseFloat(window.getComputedStyle(document.documentElement).fontSize);return Number.isFinite(e)&&e>0?e:16}function ac(e){const t=e?.trim();if(!t||oc.has(t))return;const n=new RegExp(`^${sc.source}\\s*px$`,"i").exec(t);if(n){const e=Number.parseFloat(n[1]);return Number.isFinite(e)?e:void 0}const r=new RegExp(`^${sc.source}\\s*rem$`,"i").exec(t);if(r){const e=function(e,t=ic()){return e*t}(Number.parseFloat(r[1]));return Number.isFinite(e)?e:void 0}}const lc=t.createContext({anchorRef:()=>{},arrowRef:{current:null},getReferenceProps:()=>({id:"",ref:()=>{}}),getFloatingProps:()=>({id:"",ref:()=>{}}),id:"",isDismissible:!1,isOpen:!1,middlewareData:{},onToggle:()=>{},placement:"bottom",sizeMaxWidth:void 0,tooltipMaxWidth:void 0,tooltipRef:()=>{},triggerRef:()=>{},x:0,y:0,position:"absolute"}),cc=lc.Provider;lc.Consumer;const pc=()=>t.useContext(lc);function dc(){return"undefined"!=typeof window}function uc(e){return hc(e)?(e.nodeName||"").toLowerCase():"#document"}function mc(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function fc(e){var t;return null==(t=(hc(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function hc(e){return!!dc()&&(e instanceof Node||e instanceof mc(e).Node)}function gc(e){return!!dc()&&(e instanceof Element||e instanceof mc(e).Element)}function yc(e){return!!dc()&&(e instanceof HTMLElement||e instanceof mc(e).HTMLElement)}function bc(e){return!(!dc()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof mc(e).ShadowRoot)}function vc(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Cc(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function xc(e){return["table","td","th"].includes(uc(e))}function Tc(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function Pc(e){const t=Sc(),n=gc(e)?Cc(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Sc(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ec(e){return["html","body","#document"].includes(uc(e))}function Cc(e){return mc(e).getComputedStyle(e)}function Nc(e){return gc(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function wc(e){if("html"===uc(e))return e;const t=e.assignedSlot||e.parentNode||bc(e)&&e.host||fc(e);return bc(t)?t.host:t}function Ac(e){const t=wc(e);return Ec(t)?e.ownerDocument?e.ownerDocument.body:e.body:yc(t)&&vc(t)?t:Ac(t)}function _c(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Ac(e),s=o===(null==(r=e.ownerDocument)?void 0:r.body),i=mc(o);if(s){const e=Rc(i);return t.concat(i,i.visualViewport||[],vc(o)?o:[],e&&n?_c(e):[])}return t.concat(o,_c(o,[],n))}function Rc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function kc(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function Oc(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&bc(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function $c(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function jc(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function Dc(e){return!jc().includes("jsdom/")&&(!Lc()&&0===e.width&&0===e.height||Lc()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function Lc(){const e=/android/i;return e.test($c())||e.test(jc())}function Ic(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function Mc(e){return(null==e?void 0:e.ownerDocument)||document}function Fc(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function Bc(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Uc(e){return yc(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}const Hc=Math.min,zc=Math.max,Vc=Math.round,Wc=Math.floor,Gc=e=>({x:e,y:e}),qc={left:"right",right:"left",bottom:"top",top:"bottom"},Xc={start:"end",end:"start"};function Yc(e,t,n){return zc(e,Hc(t,n))}function Kc(e,t){return"function"==typeof e?e(t):e}function Qc(e){return e.split("-")[0]}function Zc(e){return e.split("-")[1]}function Jc(e){return"x"===e?"y":"x"}function ep(e){return"y"===e?"height":"width"}function tp(e){return["top","bottom"].includes(Qc(e))?"y":"x"}function np(e){return Jc(tp(e))}function rp(e){return e.replace(/start|end/g,(e=>Xc[e]))}function op(e){return e.replace(/left|right|bottom|top/g,(e=>qc[e]))}function sp(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function ip(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ap(e,t,n){let{reference:r,floating:o}=e;const s=tp(t),i=np(t),a=ep(i),l=Qc(t),c="y"===s,p=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,u=r[a]/2-o[a]/2;let m;switch(l){case"top":m={x:p,y:r.y-o.height};break;case"bottom":m={x:p,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:d};break;case"left":m={x:r.x-o.width,y:d};break;default:m={x:r.x,y:r.y}}switch(Zc(t)){case"start":m[i]-=u*(n&&c?-1:1);break;case"end":m[i]+=u*(n&&c?-1:1)}return m}async function lp(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:d="floating",altBoundary:u=!1,padding:m=0}=Kc(t,e),f=sp(m),h=a[u?"floating"===d?"reference":"floating":d],g=ip(await s.getClippingRect({element:null==(n=await(null==s.isElement?void 0:s.isElement(h)))||n?h:h.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:p,strategy:l})),y="floating"===d?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,b=await(null==s.getOffsetParent?void 0:s.getOffsetParent(a.floating)),v=await(null==s.isElement?void 0:s.isElement(b))&&await(null==s.getScale?void 0:s.getScale(b))||{x:1,y:1},x=ip(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:b,strategy:l}):y);return{top:(g.top-x.top+f.top)/v.y,bottom:(x.bottom-g.bottom+f.bottom)/v.y,left:(g.left-x.left+f.left)/v.x,right:(x.right-g.right+f.right)/v.x}}function cp(e){const t=Hc(...e.map((e=>e.left))),n=Hc(...e.map((e=>e.top)));return{x:t,y:n,width:zc(...e.map((e=>e.right)))-t,height:zc(...e.map((e=>e.bottom)))-n}}function pp(e){const t=Cc(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=yc(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=Vc(n)!==s||Vc(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function dp(e){return gc(e)?e:e.contextElement}function up(e){const t=dp(e);if(!yc(t))return Gc(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=pp(t);let i=(s?Vc(n.width):n.width)/r,a=(s?Vc(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}const mp=Gc(0);function fp(e){const t=mc(e);return Sc()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:mp}function hp(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),s=dp(e);let i=Gc(1);t&&(r?gc(r)&&(i=up(r)):i=up(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==mc(e))&&t}(s,n,r)?fp(s):Gc(0);let l=(o.left+a.x)/i.x,c=(o.top+a.y)/i.y,p=o.width/i.x,d=o.height/i.y;if(s){const e=mc(s),t=r&&gc(r)?mc(r):r;let n=e,o=Rc(n);for(;o&&r&&t!==n;){const e=up(o),t=o.getBoundingClientRect(),r=Cc(o),s=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,p*=e.x,d*=e.y,l+=s,c+=i,n=mc(o),o=Rc(n)}}return ip({width:p,height:d,x:l,y:c})}function gp(e,t){const n=Nc(e).scrollLeft;return t?t.left+n:hp(fc(e)).left+n}function yp(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:gp(e,r)),y:r.top+t.scrollTop}}function bp(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=mc(e),r=fc(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const e=Sc();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a,y:l}}(e,n);else if("document"===t)r=function(e){const t=fc(e),n=Nc(e),r=e.ownerDocument.body,o=zc(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=zc(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+gp(e);const a=-n.scrollTop;return"rtl"===Cc(r).direction&&(i+=zc(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}(fc(e));else if(gc(t))r=function(e,t){const n=hp(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=yc(e)?up(e):Gc(1);return{width:e.clientWidth*s.x,height:e.clientHeight*s.y,x:o*s.x,y:r*s.y}}(t,n);else{const n=fp(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return ip(r)}function vp(e,t){const n=wc(e);return!(n===t||!gc(n)||Ec(n))&&("fixed"===Cc(n).position||vp(n,t))}function xp(e,t,n){const r=yc(t),o=fc(t),s="fixed"===n,i=hp(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=Gc(0);if(r||!r&&!s)if(("body"!==uc(t)||vc(o))&&(a=Nc(t)),r){const e=hp(t,!0,s,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=gp(o));const c=!o||r||s?Gc(0):yp(o,a);return{x:i.left+a.scrollLeft-l.x-c.x,y:i.top+a.scrollTop-l.y-c.y,width:i.width,height:i.height}}function Tp(e){return"static"===Cc(e).position}function Pp(e,t){if(!yc(e)||"fixed"===Cc(e).position)return null;if(t)return t(e);let n=e.offsetParent;return fc(e)===n&&(n=n.ownerDocument.body),n}function Sp(e,t){const n=mc(e);if(Tc(e))return n;if(!yc(e)){let t=wc(e);for(;t&&!Ec(t);){if(gc(t)&&!Tp(t))return t;t=wc(t)}return n}let r=Pp(e,t);for(;r&&xc(r)&&Tp(r);)r=Pp(r,t);return r&&Ec(r)&&Tp(r)&&!Pc(r)?n:r||function(e){let t=wc(e);for(;yc(t)&&!Ec(t);){if(Pc(t))return t;if(Tc(t))return null;t=wc(t)}return null}(e)||n}const Ep={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s="fixed"===o,i=fc(r),a=!!t&&Tc(t.floating);if(r===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},c=Gc(1);const p=Gc(0),d=yc(r);if((d||!d&&!s)&&(("body"!==uc(r)||vc(i))&&(l=Nc(r)),yc(r))){const e=hp(r);c=up(r),p.x=e.x+r.clientLeft,p.y=e.y+r.clientTop}const u=!i||d||s?Gc(0):yp(i,l,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+p.x+u.x,y:n.y*c.y-l.scrollTop*c.y+p.y+u.y}},getDocumentElement:fc,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[..."clippingAncestors"===n?Tc(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=_c(e,[],!1).filter((e=>gc(e)&&"body"!==uc(e))),o=null;const s="fixed"===Cc(e).position;let i=s?wc(e):e;for(;gc(i)&&!Ec(i);){const t=Cc(i),n=Pc(i);n||"fixed"!==t.position||(o=null),(s?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||vc(i)&&!n&&vp(e,i))?r=r.filter((e=>e!==i)):o=t,i=wc(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],i=s[0],a=s.reduce(((e,n)=>{const r=bp(t,n,o);return e.top=zc(r.top,e.top),e.right=Hc(r.right,e.right),e.bottom=Hc(r.bottom,e.bottom),e.left=zc(r.left,e.left),e}),bp(t,i,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Sp,getElementRects:async function(e){const t=this.getOffsetParent||Sp,n=this.getDimensions,r=await n(e.floating);return{reference:xp(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=pp(e);return{width:t,height:n}},getScale:up,isElement:gc,isRTL:function(e){return"rtl"===Cc(e).direction}};function Cp(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Np(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=dp(e),p=o||s?[...c?_c(c):[],..._c(t)]:[];p.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)}));const d=c&&a?function(e,t){let n,r=null;const o=fc(e);function s(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function i(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),s();const c=e.getBoundingClientRect(),{left:p,top:d,width:u,height:m}=c;if(a||t(),!u||!m)return;const f={rootMargin:-Wc(d)+"px "+-Wc(o.clientWidth-(p+u))+"px "+-Wc(o.clientHeight-(d+m))+"px "+-Wc(p)+"px",threshold:zc(0,Hc(1,l))||1};let h=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!h)return i();r?i(!1,r):n=setTimeout((()=>{i(!1,1e-7)}),1e3)}1!==r||Cp(c,e.getBoundingClientRect())||i(),h=!1}try{r=new IntersectionObserver(g,{...f,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,f)}r.observe(e)}(!0),s}(c,n):null;let u,m=-1,f=null;i&&(f=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),n()})),c&&!l&&f.observe(c),f.observe(t));let h=l?hp(e):null;return l&&function t(){const r=hp(e);h&&!Cp(h,r)&&n();h=r,u=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach((e=>{o&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(u)}}const wp=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,s=await(null==r.isRTL?void 0:r.isRTL(o.floating)),i=Qc(n),a=Zc(n),l="y"===tp(n),c=["left","top"].includes(i)?-1:1,p=s&&l?-1:1,d=Kc(t,e);let{mainAxis:u,crossAxis:m,alignmentAxis:f}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof f&&(m="end"===a?-1*f:f),l?{x:m*p,y:u*c}:{x:u*c,y:m*p}}(t,e);return i===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},Ap=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Kc(e,t),c={x:n,y:r},p=await lp(t,l),d=tp(Qc(o)),u=Jc(d);let m=c[u],f=c[d];if(s){const e="y"===u?"bottom":"right";m=Yc(m+p["y"===u?"top":"left"],m,m-p[e])}if(i){const e="y"===d?"bottom":"right";f=Yc(f+p["y"===d?"top":"left"],f,f-p[e])}const h=a.fn({...t,[u]:m,[d]:f});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[u]:s,[d]:i}}}}}},_p=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:p=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:h=!0,...g}=Kc(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const y=Qc(o),b=tp(a),v=Qc(a)===a,x=await(null==l.isRTL?void 0:l.isRTL(c.floating)),T=u||(v||!h?[op(a)]:function(e){const t=op(e);return[rp(e),t,rp(t)]}(a)),P="none"!==f;!u&&P&&T.push(...function(e,t,n,r){const o=Zc(e);let s=function(e,t,n){const r=["left","right"],o=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?s:i;default:return[]}}(Qc(e),"start"===n,r);return o&&(s=s.map((e=>e+"-"+o)),t&&(s=s.concat(s.map(rp)))),s}(a,h,f,x));const S=[a,...T],E=await lp(t,g),C=[];let N=(null==(r=s.flip)?void 0:r.overflows)||[];if(p&&C.push(E[y]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=Zc(e),o=np(e),s=ep(o);let i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=op(i)),[i,op(i)]}(o,i,x);C.push(E[e[0]],E[e[1]])}if(N=[...N,{placement:o,overflows:C}],!C.every((e=>e<=0))){var w,A;const e=((null==(w=s.flip)?void 0:w.index)||0)+1,t=S[e];if(t)return{data:{index:e,overflows:N},reset:{placement:t}};let n=null==(A=N.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:A.placement;if(!n)switch(m){case"bestFit":{var _;const e=null==(_=N.filter((e=>{if(P){const t=tp(e.placement);return t===b||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:_[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},Rp=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...c}=Kc(e,t),p=await lp(t,c),d=Qc(o),u=Zc(o),m="y"===tp(o),{width:f,height:h}=s.floating;let g,y;"top"===d||"bottom"===d?(g=d,y=u===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=d,g="end"===u?"top":"bottom");const b=h-p.top-p.bottom,v=f-p.left-p.right,x=Hc(h-p[g],b),T=Hc(f-p[y],v),P=!t.middlewareData.shift;let S=x,E=T;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(E=v),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(S=b),P&&!u){const e=zc(p.left,0),t=zc(p.right,0),n=zc(p.top,0),r=zc(p.bottom,0);m?E=f-2*(0!==e||0!==t?e+t:zc(p.left,p.right)):S=h-2*(0!==n||0!==r?n+r:zc(p.top,p.bottom))}await l({...t,availableWidth:E,availableHeight:S});const C=await i.getDimensions(a.floating);return f!==C.width||h!==C.height?{reset:{rects:!0}}:{}}}},kp=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:p=0}=Kc(e,t)||{};if(null==c)return{};const d=sp(p),u={x:n,y:r},m=np(o),f=ep(m),h=await i.getDimensions(c),g="y"===m,y=g?"top":"left",b=g?"bottom":"right",v=g?"clientHeight":"clientWidth",x=s.reference[f]+s.reference[m]-u[m]-s.floating[f],T=u[m]-s.reference[m],P=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let S=P?P[v]:0;S&&await(null==i.isElement?void 0:i.isElement(P))||(S=a.floating[v]||s.floating[f]);const E=x/2-T/2,C=S/2-h[f]/2-1,N=Hc(d[y],C),w=Hc(d[b],C),A=N,_=S-h[f]-w,R=S/2-h[f]/2+E,k=Yc(A,R,_),O=!l.arrow&&null!=Zc(o)&&R!==k&&s.reference[f]/2-(R<A?N:w)-h[f]/2<0,$=O?R<A?R-A:R-_:0;return{[m]:u[m]+$,data:{[m]:k,centerOffset:R-k-$,...O&&{alignmentOffset:$}},reset:O}}}),Op=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:o,platform:s,strategy:i}=t,{padding:a=2,x:l,y:c}=Kc(e,t),p=Array.from(await(null==s.getClientRects?void 0:s.getClientRects(r.reference))||[]),d=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let r=null;for(let e=0;e<t.length;e++){const o=t[e];!r||o.y-r.y>r.height/2?n.push([o]):n[n.length-1].push(o),r=o}return n.map((e=>ip(cp(e))))}(p),u=ip(cp(p)),m=sp(a);const f=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=l&&null!=c)return d.find((e=>l>e.left-m.left&&l<e.right+m.right&&c>e.top-m.top&&c<e.bottom+m.bottom))||u;if(d.length>=2){if("y"===tp(n)){const e=d[0],t=d[d.length-1],r="top"===Qc(n),o=e.top,s=t.bottom,i=r?e.left:t.left,a=r?e.right:t.right;return{top:o,bottom:s,left:i,right:a,width:a-i,height:s-o,x:i,y:o}}const e="left"===Qc(n),t=zc(...d.map((e=>e.right))),r=Hc(...d.map((e=>e.left))),o=d.filter((n=>e?n.left===r:n.right===t)),s=o[0].top,i=o[o.length-1].bottom;return{top:s,bottom:i,left:r,right:t,width:t-r,height:i-s,x:r,y:s}}return u}},floating:r.floating,strategy:i});return o.reference.x!==f.reference.x||o.reference.y!==f.reference.y||o.reference.width!==f.reference.width||o.reference.height!==f.reference.height?{reset:{rects:f}}:{}}}},$p=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=Kc(e,t),p={x:n,y:r},d=tp(o),u=Jc(d);let m=p[u],f=p[d];const h=Kc(a,t),g="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===u?"height":"width",t=s.reference[u]-s.floating[e]+g.mainAxis,n=s.reference[u]+s.reference[e]-g.mainAxis;m<t?m=t:m>n&&(m=n)}if(c){var y,b;const e="y"===u?"width":"height",t=["top","left"].includes(Qc(o)),n=s.reference[d]-s.floating[e]+(t&&(null==(y=i.offset)?void 0:y[d])||0)+(t?0:g.crossAxis),r=s.reference[d]+s.reference[e]+(t?0:(null==(b=i.offset)?void 0:b[d])||0)-(t?g.crossAxis:0);f<n?f=n:f>r&&(f=r)}return{[u]:m,[d]:f}}}},jp=(e,t,n)=>{const r=new Map,o={platform:Ep,...n},s={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:d}=ap(c,r,l),u=r,m={},f=0;for(let n=0;n<a.length;n++){const{name:s,fn:h}=a[n],{x:g,y:y,data:b,reset:v}=await h({x:p,y:d,initialPlacement:r,placement:u,strategy:o,middlewareData:m,rects:c,platform:i,elements:{reference:e,floating:t}});p=null!=g?g:p,d=null!=y?y:d,m={...m,[s]:{...m[s],...b}},v&&f<=50&&(f++,"object"==typeof v&&(v.placement&&(u=v.placement),v.rects&&(c=!0===v.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:p,y:d}=ap(c,u,l))),n=-1)}return{x:p,y:d,placement:u,strategy:o,middlewareData:m}})(e,t,{...o,platform:s})};var Dp="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function Lp(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!Lp(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!Lp(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function Ip(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Mp(e,t){const n=Ip(e);return Math.round(t*n)/n}function Fp(e){const t=o.useRef(e);return Dp((()=>{t.current=e})),t}const Bp=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?kp({element:n.current,padding:r}).fn(t):{}:n?kp({element:n,padding:r}).fn(t):{};var o}}),Up=(e,t)=>({...Ap(e),options:[e,t]}),Hp=(e,t)=>({...$p(e),options:[e,t]}),zp=(e,t)=>({..._p(e),options:[e,t]}),Vp=(e,t)=>({...Rp(e),options:[e,t]}),Wp=(e,t)=>({...Op(e),options:[e,t]}),Gp=(e,t)=>({...Bp(e),options:[e,t]}),qp={...o},Xp=qp.useInsertionEffect||(e=>e());function Yp(e){const t=o.useRef((()=>{if("production"!==process.env.NODE_ENV)throw new Error("Cannot call an event handler while rendering.")}));return Xp((()=>{t.current=e})),o.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}var Kp="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;let Qp=!1,Zp=0;const Jp=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Zp++;const ed=qp.useId||function(){const[e,t]=o.useState((()=>Qp?Jp():void 0));return Kp((()=>{null==e&&t(Jp())}),[]),o.useEffect((()=>{Qp=!0}),[]),e};let td;"production"!==process.env.NODE_ENV&&(td=new Set);const nd=o.createContext(null),rd=o.createContext(null),od=()=>{var e;return(null==(e=o.useContext(nd))?void 0:e.id)||null},sd=()=>o.useContext(rd);function id(e){return"data-floating-ui-"+e}function ad(e){-1!==e.current&&(clearTimeout(e.current),e.current=-1)}function ld(e){const n=t.useRef(e);return Kp((()=>{n.current=e})),n}const cd=id("safe-polygon");function pd(e,t,n){return n&&!Ic(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function dd(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}const ud="data-floating-ui-focusable";function md(e){return yc(e.target)&&"BUTTON"===e.target.tagName}function fd(e){return Uc(e)}const hd={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},gd={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},yd=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function bd(e){const{open:t=!1,onOpenChange:n,elements:r}=e,s=ed(),i=o.useRef({}),[a]=o.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}())),l=null!=od();if("production"!==process.env.NODE_ENV){const e=r.reference;e&&!gc(e)&&function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");var s;null!=(e=td)&&e.has(o)||(null==(s=td)||s.add(o),console.error(o))}("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[c,p]=o.useState(r.reference),d=Yp(((e,t,r)=>{i.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)})),u=o.useMemo((()=>({setPositionReference:p})),[]),m=o.useMemo((()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference})),[c,r.reference,r.floating]);return o.useMemo((()=>({dataRef:i,open:t,onOpenChange:d,elements:m,events:a,floatingId:s,refs:u})),[t,d,m,a,s,u])}function vd(e){void 0===e&&(e={});const{nodeId:t}=e,n=bd({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[a,l]=o.useState(null),[c,p]=o.useState(null),d=(null==i?void 0:i.domReference)||a,u=o.useRef(null),m=sd();Kp((()=>{d&&(u.current=d)}),[d]);const f=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:l}={},transform:c=!0,whileElementsMounted:p,open:d}=e,[u,m]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=o.useState(r);Lp(f,r)||h(r);const[g,y]=o.useState(null),[b,v]=o.useState(null),x=o.useCallback((e=>{e!==E.current&&(E.current=e,y(e))}),[]),T=o.useCallback((e=>{e!==C.current&&(C.current=e,v(e))}),[]),P=a||g,S=l||b,E=o.useRef(null),C=o.useRef(null),N=o.useRef(u),w=null!=p,A=Fp(p),_=Fp(i),R=Fp(d),k=o.useCallback((()=>{if(!E.current||!C.current)return;const e={placement:t,strategy:n,middleware:f};_.current&&(e.platform=_.current),jp(E.current,C.current,e).then((e=>{const t={...e,isPositioned:!1!==R.current};O.current&&!Lp(N.current,t)&&(N.current=t,s.flushSync((()=>{m(t)})))}))}),[f,t,n,_,R]);Dp((()=>{!1===d&&N.current.isPositioned&&(N.current.isPositioned=!1,m((e=>({...e,isPositioned:!1}))))}),[d]);const O=o.useRef(!1);Dp((()=>(O.current=!0,()=>{O.current=!1})),[]),Dp((()=>{if(P&&(E.current=P),S&&(C.current=S),P&&S){if(A.current)return A.current(P,S,k);k()}}),[P,S,k,A,w]);const $=o.useMemo((()=>({reference:E,floating:C,setReference:x,setFloating:T})),[x,T]),j=o.useMemo((()=>({reference:P,floating:S})),[P,S]),D=o.useMemo((()=>{const e={position:n,left:0,top:0};if(!j.floating)return e;const t=Mp(j.floating,u.x),r=Mp(j.floating,u.y);return c?{...e,transform:"translate("+t+"px, "+r+"px)",...Ip(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,c,j.floating,u.x,u.y]);return o.useMemo((()=>({...u,update:k,refs:$,elements:j,floatingStyles:D})),[u,k,$,j,D])}({...e,elements:{...i,...c&&{reference:c}}}),h=o.useCallback((e=>{const t=gc(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;p(t),f.refs.setReference(t)}),[f.refs]),g=o.useCallback((e=>{(gc(e)||null===e)&&(u.current=e,l(e)),(gc(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!gc(e))&&f.refs.setReference(e)}),[f.refs]),y=o.useMemo((()=>({...f.refs,setReference:g,setPositionReference:h,domReference:u})),[f.refs,g,h]),b=o.useMemo((()=>({...f.elements,domReference:d})),[f.elements,d]),v=o.useMemo((()=>({...f,...r,refs:y,elements:b,nodeId:t})),[f,y,b,t,r]);return Kp((()=>{r.dataRef.current.floatingContext=v;const e=null==m?void 0:m.nodesRef.current.find((e=>e.id===t));e&&(e.context=v)})),o.useMemo((()=>({...f,context:v,refs:y,elements:b})),[f,y,b,v])}function xd(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,events:s,dataRef:i,elements:a}=e,{enabled:l=!0,visibleOnly:c=!0}=t,p=o.useRef(!1),d=o.useRef(-1),u=o.useRef(!0);o.useEffect((()=>{if(!l)return;const e=mc(a.domReference);function t(){!n&&yc(a.domReference)&&a.domReference===kc(Mc(a.domReference))&&(p.current=!0)}function r(){u.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}}),[a.domReference,n,l]),o.useEffect((()=>{if(l)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(p.current=!0)}}),[s,l]),o.useEffect((()=>()=>{ad(d)}),[]);const m=o.useMemo((()=>({onPointerDown(e){Dc(e.nativeEvent)||(u.current=!1)},onMouseLeave(){p.current=!1},onFocus(e){if(p.current)return;const t=Bc(e.nativeEvent);if(c&&gc(t))try{if(/apple/i.test(navigator.vendor)&&$c().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints)throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!u.current&&!Uc(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){p.current=!1;const t=e.relatedTarget,n=e.nativeEvent,o=gc(t)&&t.hasAttribute(id("focus-guard"))&&"outside"===t.getAttribute("data-type");d.current=window.setTimeout((()=>{var e;const s=kc(a.domReference?a.domReference.ownerDocument:document);(t||s!==a.domReference)&&(Oc(null==(e=i.current.floatingContext)?void 0:e.refs.floating.current,s)||Oc(a.domReference,s)||o||r(!1,n,"focus"))}))}})),[i,a.domReference,r,c]);return o.useMemo((()=>l?{reference:m}:{}),[l,m])}const Td="active",Pd="selected";function Sd(e,t,n){const r=new Map,o="item"===n;let s=e;if(o&&e){const{[Td]:t,[Pd]:n,...r}=e;s=r}return{..."floating"===n&&{tabIndex:-1,[ud]:""},...s,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,s]=t;var i;o&&[Td,Pd].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof s&&(null==(i=r.get(n))||i.push(s),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),s=0;s<t;s++)o[s]=arguments[s];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=s)})),e):e),{})}}const Ed=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function Cd(e,t){const[n,r]=e;let o=!1;const s=t.length;for(let e=0,i=s-1;e<s;i=e++){const[s,a]=t[e]||[0,0],[l,c]=t[i]||[0,0];a>=r!=c>=r&&n<=(l-s)*(r-a)/(c-a)+s&&(o=!o)}return o}function Nd(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,s=!1,i=null,a=null,l=performance.now();const c=e=>{let{x:n,y:c,placement:p,elements:d,onClose:u,nodeId:m,tree:f}=e;return function(e){function h(){clearTimeout(o),u()}if(clearTimeout(o),!d.domReference||!d.floating||null==p||null==n||null==c)return;const{clientX:g,clientY:y}=e,b=[g,y],v=Bc(e),x="mouseleave"===e.type,T=Oc(d.floating,v),P=Oc(d.domReference,v),S=d.domReference.getBoundingClientRect(),E=d.floating.getBoundingClientRect(),C=p.split("-")[0],N=n>E.right-E.width/2,w=c>E.bottom-E.height/2,A=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(b,S),_=E.width>S.width,R=E.height>S.height,k=(_?S:E).left,O=(_?S:E).right,$=(R?S:E).top,j=(R?S:E).bottom;if(T&&(s=!0,!x))return;if(P&&(s=!1),P&&!x)return void(s=!0);if(x&&gc(e.relatedTarget)&&Oc(d.floating,e.relatedTarget))return;if(f&&dd(f.nodesRef.current,m).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===C&&c>=S.bottom-1||"bottom"===C&&c<=S.top+1||"left"===C&&n>=S.right-1||"right"===C&&n<=S.left+1)return h();let D=[];switch(C){case"top":D=[[k,S.top+1],[k,E.bottom-1],[O,E.bottom-1],[O,S.top+1]];break;case"bottom":D=[[k,E.top+1],[k,S.bottom-1],[O,S.bottom-1],[O,E.top+1]];break;case"left":D=[[E.right-1,j],[E.right-1,$],[S.left+1,$],[S.left+1,j]];break;case"right":D=[[S.right-1,j],[S.right-1,$],[E.left+1,$],[E.left+1,j]]}if(!Cd([g,y],D)){if(s&&!A)return h();if(!x&&r){const t=function(e,t){const n=performance.now(),r=n-l;if(null===i||null===a||0===r)return i=e,a=t,l=n,null;const o=e-i,s=t-a,c=Math.sqrt(o*o+s*s);return i=e,a=t,l=n,c/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return h()}Cd([g,y],function(e){let[n,r]=e;switch(C){case"top":return[[_?n+t/2:N?n+4*t:n-4*t,r+t+1],[_?n-t/2:N?n+4*t:n-4*t,r+t+1],...[[E.left,N||_?E.bottom-t:E.top],[E.right,N?_?E.bottom-t:E.top:E.bottom-t]]];case"bottom":return[[_?n+t/2:N?n+4*t:n-4*t,r-t],[_?n-t/2:N?n+4*t:n-4*t,r-t],...[[E.left,N||_?E.top+t:E.bottom],[E.right,N?_?E.top+t:E.bottom:E.top+t]]];case"left":{const e=[n+t+1,R?r+t/2:w?r+4*t:r-4*t],o=[n+t+1,R?r-t/2:w?r+4*t:r-4*t];return[...[[w||R?E.right-t:E.left,E.top],[w?R?E.right-t:E.left:E.right-t,E.bottom]],e,o]}case"right":return[[n-t,R?r+t/2:w?r+4*t:r-4*t],[n-t,R?r-t/2:w?r+4*t:r-4*t],...[[w||R?E.left+t:E.right,E.top],[w?R?E.left+t:E.right:E.left+t,E.bottom]]]}}([n,c]))?!s&&r&&(o=window.setTimeout(h,40)):h()}}};return c.__options={blockPointerEvents:n},c}const wd=e=>{const{arrowRef:n,cornerOffset:r=0,flipCrossAxis:s,flipFallbackAxisSideDirection:i="none",flipFallbackPlacements:a,flipProp:l,isDismissible:c,isOpen:p=!1,offset:d=0,onToggle:u,isFocusableOnHover:m,shiftProp:f,sizeProp:h,positionStrategy:g="absolute",tooltipArrowWidth:y=0,tooltipPlacement:b,trigger:v}=e,[x,T]=t.useState(void 0),[P,S]=t.useState(!1),E=r+y,C=v?.includes(Ne.HOVER),N=v?.includes(Ne.CLICK),w=v?.includes(Ne.FOCUS),{x:A,y:_,floatingStyles:R,refs:k,context:O,placement:$,middlewareData:j}=vd({open:p,onOpenChange:(e,t,n)=>{if(C){if(n===Ne.CLICK&&S((e=>!e)),p&&P&&n===Ne.HOVER)return;if(p&&P&&(n===Ne.CLICK||n===Ne.OUTSIDE_PRESS||n===Ne.ESCAPE_KEY))return S(!1),void u(!1)}u(e)},placement:b,whileElementsMounted:Np,middleware:[(L=d,{...wp(L),options:[L,I]}),Wp(),l&&zp({crossAxis:s,fallbackPlacements:a?(D=a,Array.isArray(D)?D:[D]):void 0,fallbackAxisSideDirection:i}),f&&Up({limiter:Hp({offset:()=>({mainAxis:E})})}),h&&Vp({apply({availableWidth:e}){T(e)}}),Gp({element:n.current,padding:r})],strategy:g});var D,L,I;const M=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:s,elements:{domReference:i}}=e,{enabled:a=!0,event:l="click",toggle:c=!0,ignoreMouse:p=!1,keyboardHandlers:d=!0,stickIfOpen:u=!0}=t,m=o.useRef(),f=o.useRef(!1),h=o.useMemo((()=>({onPointerDown(e){m.current=e.pointerType},onMouseDown(e){const t=m.current;0===e.button&&"click"!==l&&(Ic(t,!0)&&p||(!n||!c||s.current.openEvent&&u&&"mousedown"!==s.current.openEvent.type?(e.preventDefault(),r(!0,e.nativeEvent,"click")):r(!1,e.nativeEvent,"click")))},onClick(e){const t=m.current;"mousedown"===l&&m.current?m.current=void 0:Ic(t,!0)&&p||(!n||!c||s.current.openEvent&&u&&"click"!==s.current.openEvent.type?r(!0,e.nativeEvent,"click"):r(!1,e.nativeEvent,"click"))},onKeyDown(e){m.current=void 0,e.defaultPrevented||!d||md(e)||(" "!==e.key||fd(i)||(e.preventDefault(),f.current=!0),"Enter"===e.key&&r(!n||!c,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!d||md(e)||fd(i)||" "===e.key&&f.current&&(f.current=!1,r(!n||!c,e.nativeEvent,"click"))}})),[s,i,l,p,d,r,n,u,c]);return o.useMemo((()=>a?{reference:h}:{}),[a,h])}(O,{enabled:N}),F=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:s,events:i,elements:a}=e,{enabled:l=!0,delay:c=0,handleClose:p=null,mouseOnly:d=!1,restMs:u=0,move:m=!0}=t,f=sd(),h=od(),g=ld(p),y=ld(c),b=ld(n),v=o.useRef(),x=o.useRef(-1),T=o.useRef(),P=o.useRef(-1),S=o.useRef(!0),E=o.useRef(!1),C=o.useRef((()=>{})),N=o.useRef(!1),w=o.useCallback((()=>{var e;const t=null==(e=s.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[s]);o.useEffect((()=>{if(l)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{open:t}=e;t||(ad(x),ad(P),S.current=!0,N.current=!1)}}),[l,i]),o.useEffect((()=>{if(!l)return;if(!g.current)return;if(!n)return;function e(e){w()&&r(!1,e,"hover")}const t=Mc(a.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[a.floating,n,r,l,g,w]);const A=o.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const o=pd(y.current,"close",v.current);o&&!T.current?(ad(x),x.current=window.setTimeout((()=>r(!1,e,n)),o)):t&&(ad(x),r(!1,e,n))}),[y,r]),_=Yp((()=>{C.current(),T.current=void 0})),R=Yp((()=>{if(E.current){const e=Mc(a.floating).body;e.style.pointerEvents="",e.removeAttribute(cd),E.current=!1}})),k=Yp((()=>!!s.current.openEvent&&["click","mousedown"].includes(s.current.openEvent.type)));o.useEffect((()=>{if(l&&gc(a.domReference)){var e;const r=a.domReference;return n&&r.addEventListener("mouseleave",i),null==(e=a.floating)||e.addEventListener("mouseleave",i),m&&r.addEventListener("mousemove",t,{once:!0}),r.addEventListener("mouseenter",t),r.addEventListener("mouseleave",o),()=>{var e;n&&r.removeEventListener("mouseleave",i),null==(e=a.floating)||e.removeEventListener("mouseleave",i),m&&r.removeEventListener("mousemove",t),r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",o)}}function t(e){if(ad(x),S.current=!1,d&&!Ic(v.current)||u>0&&!pd(y.current,"open"))return;const t=pd(y.current,"open",v.current);t?x.current=window.setTimeout((()=>{b.current||r(!0,e,"hover")}),t):n||r(!0,e,"hover")}function o(e){if(k())return;C.current();const t=Mc(a.floating);if(ad(P),N.current=!1,g.current&&s.current.floatingContext){n||ad(x),T.current=g.current({...s.current.floatingContext,tree:f,x:e.clientX,y:e.clientY,onClose(){R(),_(),k()||A(e,!0,"safe-polygon")}});const r=T.current;return t.addEventListener("mousemove",r),void(C.current=()=>{t.removeEventListener("mousemove",r)})}("touch"!==v.current||!Oc(a.floating,e.relatedTarget))&&A(e)}function i(e){k()||s.current.floatingContext&&(null==g.current||g.current({...s.current.floatingContext,tree:f,x:e.clientX,y:e.clientY,onClose(){R(),_(),k()||A(e)}})(e))}}),[a,l,e,d,u,m,A,_,R,r,n,b,f,y,g,s,k]),Kp((()=>{var e;if(l&&n&&null!=(e=g.current)&&e.__options.blockPointerEvents&&w()){E.current=!0;const e=a.floating;if(gc(a.domReference)&&e){var t;const n=Mc(a.floating).body;n.setAttribute(cd,"");const r=a.domReference,o=null==f||null==(t=f.nodesRef.current.find((e=>e.id===h)))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[l,n,h,a,f,g,w]),Kp((()=>{n||(v.current=void 0,N.current=!1,_(),R())}),[n,_,R]),o.useEffect((()=>()=>{_(),ad(x),ad(P),R()}),[l,a.domReference,_,R]);const O=o.useMemo((()=>{function e(e){v.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function o(){S.current||b.current||r(!0,t,"hover")}d&&!Ic(v.current)||n||0===u||N.current&&e.movementX**2+e.movementY**2<2||(ad(P),"touch"===v.current?o():(N.current=!0,P.current=window.setTimeout(o,u)))}}}),[d,r,n,b,u]),$=o.useMemo((()=>({onMouseEnter(){ad(x)},onMouseLeave(e){k()||A(e.nativeEvent,!1)}})),[A,k]);return o.useMemo((()=>l?{reference:O,floating:$}:{}),[l,O,$])}(O,{enabled:C,handleClose:(B=!!m,B?Nd({requireIntent:!1}):void 0)});var B;const U=xd(O,{enabled:w}),H=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,elements:s,dataRef:i}=e,{enabled:a=!0,escapeKey:l=!0,outsidePress:c=!0,outsidePressEvent:p="pointerdown",referencePress:d=!1,referencePressEvent:u="pointerdown",ancestorScroll:m=!1,bubbles:f,capture:h}=t,g=sd(),y=Yp("function"==typeof c?c:()=>!1),b="function"==typeof c?y:c,v=o.useRef(!1),x=o.useRef(!1),{escapeKey:T,outsidePress:P}=yd(f),{escapeKey:S,outsidePress:E}=yd(h),C=o.useRef(!1),N=Yp((e=>{var t;if(!n||!a||!l||"Escape"!==e.key)return;if(C.current)return;const o=null==(t=i.current.floatingContext)?void 0:t.nodeId,s=g?dd(g.nodesRef.current,o):[];if(!T&&(e.stopPropagation(),s.length>0)){let e=!0;if(s.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}r(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")})),w=Yp((e=>{var t;const n=()=>{var t;N(e),null==(t=Bc(e))||t.removeEventListener("keydown",n)};null==(t=Bc(e))||t.addEventListener("keydown",n)})),A=Yp((e=>{var t;const n=v.current;v.current=!1;const o=x.current;if(x.current=!1,"click"===p&&o)return;if(n)return;if("function"==typeof b&&!b(e))return;const a=Bc(e),l="["+id("inert")+"]",c=Mc(s.floating).querySelectorAll(l);let d=gc(a)?a:null;for(;d&&!Ec(d);){const e=wc(d);if(Ec(e)||!gc(e))break;d=e}if(c.length&&gc(a)&&!a.matches("html,body")&&!Oc(a,s.floating)&&Array.from(c).every((e=>!Oc(d,e))))return;if(yc(a)&&k){const t=Ec(a),n=Cc(a),r=/auto|scroll/,o=t||r.test(n.overflowX),s=t||r.test(n.overflowY),i=o&&a.clientWidth>0&&a.scrollWidth>a.clientWidth,l=s&&a.clientHeight>0&&a.scrollHeight>a.clientHeight,c="rtl"===n.direction,p=l&&(c?e.offsetX<=a.offsetWidth-a.clientWidth:e.offsetX>a.clientWidth),d=i&&e.offsetY>a.clientHeight;if(p||d)return}const u=null==(t=i.current.floatingContext)?void 0:t.nodeId,m=g&&dd(g.nodesRef.current,u).some((t=>{var n;return Fc(e,null==(n=t.context)?void 0:n.elements.floating)}));if(Fc(e,s.floating)||Fc(e,s.domReference)||m)return;const f=g?dd(g.nodesRef.current,u):[];if(f.length>0){let e=!0;if(f.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}r(!1,e,"outside-press")})),_=Yp((e=>{var t;const n=()=>{var t;A(e),null==(t=Bc(e))||t.removeEventListener(p,n)};null==(t=Bc(e))||t.addEventListener(p,n)}));o.useEffect((()=>{if(!n||!a)return;i.current.__escapeKeyBubbles=T,i.current.__outsidePressBubbles=P;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function o(){window.clearTimeout(e),C.current=!0}function c(){e=window.setTimeout((()=>{C.current=!1}),Sc()?5:0)}const d=Mc(s.floating);l&&(d.addEventListener("keydown",S?w:N,S),d.addEventListener("compositionstart",o),d.addEventListener("compositionend",c)),b&&d.addEventListener(p,E?_:A,E);let u=[];return m&&(gc(s.domReference)&&(u=_c(s.domReference)),gc(s.floating)&&(u=u.concat(_c(s.floating))),!gc(s.reference)&&s.reference&&s.reference.contextElement&&(u=u.concat(_c(s.reference.contextElement)))),u=u.filter((e=>{var t;return e!==(null==(t=d.defaultView)?void 0:t.visualViewport)})),u.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{l&&(d.removeEventListener("keydown",S?w:N,S),d.removeEventListener("compositionstart",o),d.removeEventListener("compositionend",c)),b&&d.removeEventListener(p,E?_:A,E),u.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[i,s,l,b,p,n,r,m,a,T,P,N,S,w,A,E,_]),o.useEffect((()=>{v.current=!1}),[b,p]);const R=o.useMemo((()=>({onKeyDown:N,...d&&{[hd[u]]:e=>{r(!1,e.nativeEvent,"reference-press")},..."click"!==u&&{onClick(e){r(!1,e.nativeEvent,"reference-press")}}}})),[N,r,d,u]),k=o.useMemo((()=>({onKeyDown:N,onMouseDown(){x.current=!0},onMouseUp(){x.current=!0},[gd[p]]:()=>{v.current=!0}})),[N,p]);return o.useMemo((()=>a?{reference:R,floating:k}:{}),[a,R,k])}(O,{outsidePress:!c}),z=function(e,t){var n;void 0===t&&(t={});const{open:r,floatingId:s}=e,{enabled:i=!0,role:a="dialog"}=t,l=null!=(n=Ed.get(a))?n:a,c=ed(),p=null!=od(),d=o.useMemo((()=>"tooltip"===l||"label"===a?{["aria-"+("label"===a?"labelledby":"describedby")]:r?s:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===l?"dialog":l,"aria-controls":r?s:void 0,..."listbox"===l&&{role:"combobox"},..."menu"===l&&{id:c},..."menu"===l&&p&&{role:"menuitem"},..."select"===a&&{"aria-autocomplete":"none"},..."combobox"===a&&{"aria-autocomplete":"list"}}),[l,s,p,r,c,a]),u=o.useMemo((()=>{const e={id:s,...l&&{role:l}};return"tooltip"===l||"label"===a?e:{...e,..."menu"===l&&{"aria-labelledby":c}}}),[l,s,c,a]),m=o.useCallback((e=>{let{active:t,selected:n}=e;const r={role:"option",...t&&{id:s+"-option"}};switch(a){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}),[s,a]);return o.useMemo((()=>i?{reference:d,floating:u,item:m}:{}),[i,d,u,m])}(O,{role:"tooltip"}),{getReferenceProps:V,getFloatingProps:W}=function(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),s=o.useCallback((t=>Sd(t,e,"reference")),t),i=o.useCallback((t=>Sd(t,e,"floating")),n),a=o.useCallback((t=>Sd(t,e,"item")),r);return o.useMemo((()=>({getReferenceProps:s,getFloatingProps:i,getItemProps:a})),[s,i,a])}([M,F,U,H,z]);return{context:O,getFloatingProps:W,getReferenceProps:e=>{const t=V(e);if(w){const e=t.onMouseDown;t.onMouseDown=t=>{e&&e(t);const n=t.currentTarget;if(n&&n!==document.activeElement){n instanceof HTMLElement&&(n.tabIndex>=0||n instanceof HTMLButtonElement||n instanceof HTMLAnchorElement||n instanceof HTMLInputElement||n instanceof HTMLSelectElement||n instanceof HTMLTextAreaElement)&&n.focus()}}}return t},maxWidth:x,middlewareData:j,placement:$,refs:k,x:A,y:_,position:R.position}},Ad=e=>{const{isDismissible:n,isOpen:r,...o}=e,s=pn("Tooltip"),i=`${s}Popover`,a=`${i}__arrow`,l=`${i}__close`,c=`${i}--dismissible`,p="is-hidden",d=t.useMemo((()=>!1===r),[r]);return{classProps:{rootClassName:s,popoverClassName:g(i,{[c]:n,[p]:d}),arrowClassName:a,closeButtonClassName:l},props:o}},_d=t.forwardRef(((e,n)=>{const{children:r,elementType:o="div",enableFlipping:s=!0,enableFlippingCrossAxis:i=!0,enableShifting:a=!0,enableSizing:l=!0,flipFallbackAxisSideDirection:c="none",flipFallbackPlacements:p=["bottom","top"],id:d,isDismissible:u=!1,isFocusableOnHover:m=!1,isOpen:f=!1,onToggle:h,placement:g,positionStrategy:y="absolute",trigger:b=["click","hover"],...v}=e,x=o,{classProps:T,props:P}=Ad({isDismissible:u,isOpen:f,...v}),{styleProps:S,props:E}=en(P),C=Ot(x,{classProps:T.rootClassName,styleProps:S}),N=t.useRef(null),w=t.useRef(n);let A,_,R,k;const O=w.current?.querySelector('[data-spirit-element="tooltip"]'),$=O?.querySelector('[data-spirit-element="tooltip-arrow"]');if(O){const e=window.getComputedStyle(O),t=$&&window.getComputedStyle($);if(A=ac(e.getPropertyValue("--tooltip-max-width").trim())??ac(e.maxWidth),_=ac(e.getPropertyValue("--tooltip-offset"))??0,R=t?ac(t.getPropertyValue("--tooltip-arrow-corner-offset"))??0:0,k=0,$ instanceof HTMLElement){const e=$.offsetWidth;k=e>0?e:ac(t?.width??"")??0}}const{getFloatingProps:j,getReferenceProps:D,maxWidth:L,middlewareData:I,placement:M,refs:F,x:B,y:U,position:H}=wd({arrowRef:N,cornerOffset:R,flipCrossAxis:i,flipFallbackAxisSideDirection:c,flipFallbackPlacements:p,flipProp:s,isDismissible:u,isFocusableOnHover:m,isOpen:f,offset:_,onToggle:h,shiftProp:a,sizeProp:l,positionStrategy:y,tooltipArrowWidth:k,tooltipPlacement:g,trigger:b});return gr.jsx(cc,{value:{anchorRef:F.setPositionReference,arrowRef:N,getFloatingProps:j,getReferenceProps:D,id:d,isDismissible:u,isOpen:f,middlewareData:I,onToggle:h,placement:M,sizeMaxWidth:L,tooltipMaxWidth:A,tooltipRef:F.setFloating,triggerRef:F.setReference,x:B,y:U,position:H},children:gr.jsx(x,{...E,ref:w,...C,children:r})})}));_d.spiritComponent="Tooltip",_d.displayName="Tooltip";const Rd=({label:e,onClick:t,...n})=>{const{t:r}=An(),o=e??r("common.close"),{classProps:s,props:i}=Ad(n),{styleProps:a}=en({...i});return gr.jsxs("button",{type:"button",className:g(s.closeButtonClassName,a.className),style:a.style,onClick:t,"aria-expanded":"true",children:[gr.jsx(Cr,{name:"close","aria-hidden":"true"}),gr.jsx(_s,{children:o})]})};Rd.spiritComponent="TooltipCloseButton";const kd=e=>{const{children:n,...r}=e,{arrowRef:o,getFloatingProps:s,isDismissible:i,isOpen:a,middlewareData:l,onToggle:c,placement:p,tooltipRef:d,x:u,y:m,position:f,sizeMaxWidth:h,tooltipMaxWidth:y}=pc(),{classProps:b,props:v}=Ad({isOpen:a,isDismissible:i,...r}),{styleProps:x,props:T}=en(v),P=t.useMemo((()=>i&&gr.jsx(Rd,{onClick:()=>c(!1),label:"close"})),[i,c]);return gr.jsxs("div",{ref:d,className:g(b.popoverClassName,x.className),...T,...s(),style:{position:f,top:Number.isFinite(m)?m:0,left:Number.isFinite(u)?u:0,...(()=>{if(a&&h&&y)return{maxWidth:y<h?y:h}})(),...x.style},"data-spirit-element":"tooltip","data-spirit-placement":p,children:[n,P,gr.jsx("span",{ref:o,className:b.arrowClassName,"data-spirit-element":"tooltip-arrow",style:{position:"absolute",...(()=>{if(p&&o.current){const{arrow:e}=l,t={top:"bottom",right:"left",bottom:"top",left:"right"}[p.split("-")[0]],n=o.current,r="top"===t||"bottom"===t?n.offsetHeight:(n.offsetHeight+n.offsetWidth)/2;return{left:e?.x,top:e?.y,[t]:r&&-Math.floor(r)}}})()}})]})};kd.spiritComponent="TooltipPopover";const Od={elementType:"button",children:null},$d=e=>{const t={...Od,...e},{elementType:n,children:r,...o}=t,s=n,{id:i,isOpen:a,triggerRef:l,getReferenceProps:c}=pc(),{styleProps:p,props:d}=en(o),u=Ot(s,{triggerStyleProps:p,transferProps:d});return gr.jsx(s,{...d,...u,id:i,ref:l,...c(),children:"function"==typeof r?r({isOpen:a}):r})};$d.spiritComponent="TooltipTrigger",$d.displayName="TooltipTrigger";const jd=(e=!1)=>{const[n,r]=t.useState(e);return{isOpen:n,onToggle:r}},Dd=e=>{const{children:t,isOpen:n,...r}=e,{isOpen:o,onToggle:s}=jd(n);return gr.jsx(_d,{...r,isOpen:o,onToggle:s,children:t})};Dd.spiritComponent="UncontrolledTooltip";const Ld=({feature:e,featureId:n,...r})=>{const{modalContent:o,title:s,tooltipContent:i}=e,{classProps:a}=Jl(r),[l,c]=er(!1),[p,d]=t.useState(!1);return o?gr.jsxs("div",{className:a.body.featureTitle,children:[gr.jsx(Cr,{name:"check-plain",boxSize:16}),gr.jsx("button",{type:"button",onClick:()=>d(!0),className:g(a.body.featureTitleText,"text-underlined-dotted"),children:s}),gr.jsx(bl,{id:`${n}-modal`,isOpen:p,onClose:()=>d(!1),children:gr.jsxs(Pl,{isScrollable:!0,children:[gr.jsx(Cl,{children:s}),gr.jsx(vl,{children:o})]})})]}):i?gr.jsxs(_d,{elementType:"div",id:`${n}-tooltip`,isDismissible:!0,isOpen:l,onToggle:c,placement:"top",trigger:["click"],UNSAFE_className:a.body.featureTitle,children:[gr.jsx(Cr,{name:"check-plain",boxSize:16}),gr.jsx($d,{elementType:"button",UNSAFE_className:g(a.body.featureTitleText,"text-underlined-dotted"),children:s}),gr.jsx(kd,{children:gr.jsx("div",{children:i})})]}):gr.jsxs("div",{className:a.body.featureTitle,children:[gr.jsx(Cr,{name:"check-plain",boxSize:16}),gr.jsx("div",{className:a.body.featureTitleText,id:`${n}-title`,children:s})]})};Ld.spiritComponent="PricingPlanFeatureTitle";const Id={description:void 0,elementType:"div",features:[]},Md=e=>{const t={...Id,...e},{description:n,elementType:r,features:o,id:s,...i}=t,a=r,{classProps:l,props:c}=Jl(i),{styleProps:p,props:d}=en(c),u=Ot(a,{classProps:l.body.root,styleProps:p});return gr.jsxs(a,{...d,...u,children:[n&&gr.jsx("div",{children:n}),gr.jsx("ul",{className:l.body.featureList,children:(o??[]).map(((e,t)=>{const n=`featureItem-${t}`,r=`${s}-feature-${t}`;return gr.jsxs("li",{className:l.body.featureItem,children:[gr.jsx(Ld,{feature:e,featureId:r}),gr.jsx("div",{className:l.body.featureDescription,children:e.description})]},n)}))})]})};Md.spiritComponent="PricingPlanBody";const Fd={elementType:"footer"},Bd=e=>{const t={...Fd,...e},{children:n,elementType:r,...o}=t,s=r,{classProps:i,props:a}=Jl(o),{styleProps:l,props:c}=en(a),p=Ot(s,{classProps:i.footer,styleProps:l});return gr.jsx(s,{...c,...p,children:n})};Bd.spiritComponent="PricingPlanFooter";const Ud=e=>{const{children:t,...n}=e,r=pn("ProductLogo"),{styleProps:o,props:s}=en(n);return gr.jsx("div",{...s,className:g(r,o.className),style:o.style,children:t})};function Hd(e){const{inputPosition:t=te.START,isItem:n,isLabelHidden:r,validationState:o,...s}=e,{isDisabled:i}=s,a=pn("Radio"),l=`${a}--disabled`,c=`${a}--item`,p=`${a}__input`,d=jn(a,t),u=`${a}__label`,m=`${a}__label--hidden`,f=`${a}__text`,h=`${a}__helperText`,y=`${a}--${o}`;return{classProps:{root:g(a,{[d]:d,[l]:i,[c]:n,[y]:o}),label:g(u,{[m]:r}),input:p,text:f,helperText:h},props:s}}Ud.spiritComponent="ProductLogo";const zd=t.forwardRef(((e,t)=>{const{classProps:n,props:r}=Hd(e),{"aria-describedby":o="",helperText:s,id:i,isChecked:a,isDisabled:l,label:c,onChange:p,value:d,...u}=r,{styleProps:m,props:f}=en(u),[h,y]=rn(o);return gr.jsxs("div",{style:m.style,className:g(n.root,m.className),children:[gr.jsx("input",{...f,...h,type:"radio",id:i,className:n.input,disabled:l,checked:a,onChange:p,value:d,ref:t}),gr.jsxs("div",{className:n.text,children:[gr.jsx(Ls,{UNSAFE_className:n.label,htmlFor:i,children:c}),gr.jsx(js,{UNSAFE_className:n.helperText,id:`${i}__helperText`,registerAria:y,helperText:s})]})]})}));zd.spiritComponent="Radio",zd.displayName="Radio";const Vd="Scroll right",Wd="Scroll left",Gd="Scroll down",qd="Scroll up",Xd=Q.VERTICAL,Yd="shadows",Kd=({viewportRef:e,direction:n})=>{const r=t.useRef(null);t.useEffect((()=>()=>{r.current&&clearTimeout(r.current)}),[]);return{handleScroll:t.useCallback((t=>{if(!e.current)return;const o=ee(n),s=o?re.LEFT:re.TOP,i=o?e.current.scrollLeft:e.current.scrollTop,a=o?e.current.scrollWidth-e.current.clientWidth:e.current.scrollHeight-e.current.clientHeight;e.current.scrollTo({[s]:i,behavior:"auto"}),r.current&&clearTimeout(r.current);const l=Math.max(0,Math.min(i+t,a));r.current=setTimeout((()=>{e.current&&e.current.scrollTo({[s]:l,behavior:"smooth"})}),10)}),[e,n])}},Qd=(e,t,n=300)=>{const r=(e=>e?{start:Wd,end:Vd}:{top:qd,bottom:Gd})(e),o={...r,...t};return{arrows:[{icon:e?"chevron-left":"chevron-up",label:e?o.start??r.start:o.top??r.top,step:-n},{icon:e?"chevron-right":"chevron-down",label:e?o.end??r.end:o.bottom??r.bottom,step:n}]}},Zd=({direction:e,isScrollbarDisabled:t,isScrolledAtEnd:n,isScrolledAtStart:r,overflowDecorators:o=Yd})=>{const s=pn("ScrollView"),i=`${s}--${e}`,a=`${s}--scrollbarDisabled`,l=`${s}__viewport`,c=`${s}__content`,p=`${s}__overflowDecorators`,d={shadows:`${p}--shadows`,borders:`${p}--borders`,both:g(`${p}--shadows`,`${p}--borders`)}[o],u="is-scrolled-at-start",m="is-scrolled-at-end",f=`${s}__arrows`;return{classProps:{root:g(s,i,{[a]:t,[m]:n,[u]:r}),viewport:l,content:c,overflowDecorators:g(p,d),arrows:f}}},Jd=e=>{const{ariaLabelArrows:t,direction:n,scrollStep:r,viewportRef:o,...s}=e,{classProps:i}=Zd({direction:n}),{styleProps:a,props:l}=en(s),c=Ot("button",{classProps:i.arrows,styleProps:a}),p=ee(n),{arrows:d}=Qd(p,t,r),{handleScroll:u}=Kd({viewportRef:o,direction:n});return gr.jsx("div",{...l,...c,children:d.map((({icon:e,label:t,step:n})=>gr.jsx(Qs,{"aria-label":t,onClick:()=>u(n),size:"small",isSymmetrical:!0,children:gr.jsx(Cr,{name:e})},e)))})};Jd.spiritComponent="ScrollViewArrows";const eu=({viewportReference:e,contentReference:n,direction:r})=>{const[o,s]=t.useState(!1),[i,a]=t.useState(!1),l=()=>{const t=ee(r),l=t?re.LEFT:re.TOP,c=t?re.RIGHT:re.BOTTOM,p=(()=>{if(!n.current||!e.current)return null;const t=n.current.getBoundingClientRect(),r=e.current.getBoundingClientRect();return{[re.BOTTOM]:t.bottom-r.bottom,[re.LEFT]:t.left-r.left,[re.RIGHT]:t.right-r.right,[re.TOP]:t.top-r.top}})();if(!p)return;const d=p[l]<=-1,u=p[c]>=1;d!==o&&s(d),u!==i&&a(u)},c=t.useCallback(Fe(l,50),[l]);return Hn({ref:e,onResize:c}),t.useEffect(l,[]),{isScrolledAtEnd:i,isScrolledAtStart:o,onScroll:Fe(l,50)}},tu=e=>{const{ariaLabelArrows:n,arrowsScrollStep:r=300,children:o,direction:s=Xd,hasArrows:i=!1,isScrollbarDisabled:a,overflowDecorators:l=Yd,...c}=e,p=t.useRef(null),d=t.useRef(null),{isScrolledAtEnd:u,isScrolledAtStart:m,onScroll:f}=eu({contentReference:p,direction:s,viewportReference:d}),{classProps:h}=Zd({direction:s,isScrollbarDisabled:a,isScrolledAtStart:m,isScrolledAtEnd:u,overflowDecorators:l}),{styleProps:y,props:b}=en(c);return gr.jsxs("div",{...b,...y,className:g(h.root,y.className),children:[gr.jsx("div",{className:h.viewport,onScroll:f,ref:d,tabIndex:0,children:gr.jsx("div",{className:h.content,ref:p,children:o})}),gr.jsx("div",{className:h.overflowDecorators,"aria-hidden":"true"}),i&&gr.jsx(Jd,{ariaLabelArrows:n,direction:s,scrollStep:r,viewportRef:d})]})};tu.spiritComponent="ScrollView";const nu={[W.XSMALL]:{paddingY:{mobile:"space-900",tablet:"space-1000"}},[W.SMALL]:{paddingY:{mobile:"space-1000",tablet:"space-1100"}},[W.MEDIUM]:{paddingY:{mobile:"space-1100",tablet:"space-1300"}},[W.LARGE]:{paddingY:{mobile:"space-1200",tablet:"space-1400"}},[W.XLARGE]:{paddingY:{mobile:"space-1400",tablet:"space-1600"}}},ru=(e={})=>{const{size:t}=e;return{modifiedProps:t?{...nu[t],...e}:e}},ou=e=>{const{backgroundColor:t}=e||{},n=pn(`bg-${t}`),r=t?n:"";return{classProps:g({[r]:t})}},su={elementType:"section",hasContainer:!0,size:void 0},iu=t.forwardRef(((e,t)=>{const n={...su,...e},{elementType:r=su.elementType,backgroundColor:o,children:s,containerProps:i,hasContainer:a,...l}=n,c=r,{classProps:p}=ou({backgroundColor:o}),{modifiedProps:d}=ru(l),{styleProps:u,props:m}=en(d,{paddingTop:ce.paddingTop,paddingBottom:ce.paddingBottom,paddingY:ce.paddingY,textAlignment:pe.textAlignment}),f=Ot(c,{classProps:p,styleProps:u});return gr.jsx(c,{...m,...f,ref:t,children:a?gr.jsx(qs,{...i,children:s}):s})}));iu.spiritComponent="Section",iu.displayName="Section";const au=t.createContext({isMultiselect:!1,name:"",selectedValue:[],setSelectedValue:()=>{},onSelectionChange:()=>{}}),lu=au.Provider,cu=e=>{const{isFluid:t,variant:n=Y.OUTLINE,...r}=e,o=pn("SegmentedControl"),s=`${o}--fluid`,i=`${o}Item`,a=`${i}__input`,l=`${i}__label`;return{classProps:{root:g(o,`${o}--${n}`,{[s]:t}),input:a,label:l},props:r}},pu={isFluid:!1,isMultiselect:!1,variant:Y.OUTLINE},du=e=>{const t={...pu,...e},{children:n,isMultiselect:r,label:o,name:s,onSelectionChange:i,selectedValue:a,setSelectedValue:l,...c}=t,{classProps:p,props:d}=cu(c),{styleProps:u,props:m}=en(d),f={isMultiselect:r,name:s,selectedValue:a,setSelectedValue:l,onSelectionChange:i};return gr.jsx(lu,{value:f,children:gr.jsxs("fieldset",{...m,...u,className:g(p.root,u.className),children:[gr.jsx(_s,{elementType:"legend",children:o}),n]})})};du.spiritComponent="SegmentedControl";const uu=t.forwardRef(((e,n)=>{const{isMultiselect:r,name:o,onSelectionChange:s,selectedValue:i,setSelectedValue:a}=t.useContext(au),{id:l,isDisabled:c,value:p,children:d,...u}=e,{classProps:m,props:f}=cu(u),{styleProps:h,props:y}=en(f),b=r?Array.isArray(i)&&i.includes(String(p)):i===String(p);return gr.jsxs(gr.Fragment,{children:[gr.jsx("input",{...y,...h,...c&&{disabled:!0},className:g(m.input,h.className),type:r?"checkbox":"radio",name:o,id:l,value:p,checked:b,onChange:()=>(e=>{if(c)return;let t;if(r){const n=Array.isArray(i)?i:[];t=n.includes(e)?n.filter((t=>t!==e)):[...n,e]}else t=e;a(t),s&&s(t)})(String(p))}),gr.jsx("label",{ref:n,htmlFor:l,...h,className:g(m.label,h.className),children:d})]})}));uu.spiritComponent="SegmentedControlItem",uu.displayName="SegmentedControlItem";const mu=({isDisabled:e,isFluid:t,isLabelHidden:n,isRequired:r,size:o,validationState:s})=>{const i=pn("Select"),a=`${i}--fluid`,l=`${i}--disabled`,c=`${i}--${o}`,p=`${i}--${s}`,d=`${i}__label`,u=`${d}--required`,m=`${d}--hidden`,f=`${i}__inputContainer`,h=`${i}__input`,y=`${i}__icon`,b=`${i}__validationText`,v=`${i}__helperText`;return{classProps:{root:g(i,{[l]:e,[a]:t,[c]:o,[p]:s}),label:g(d,{[u]:r,[m]:n}),container:f,input:h,icon:y,validationText:b,helperText:v}}},fu=t.forwardRef(((e,t)=>{const{"aria-describedby":n="",children:r,hasValidationIcon:o,helperText:s,id:i,isDisabled:a,isFluid:l,isLabelHidden:c,isRequired:p,label:d,size:u=V.MEDIUM,validationState:m,validationText:f,...h}=e,{classProps:y}=mu({isDisabled:a,isFluid:l,isLabelHidden:c,isRequired:p,size:u,validationState:m}),{styleProps:b,props:v}=en(h),[x,T]=rn(n),P=Fs({validationState:m,validationText:f});return gr.jsxs("div",{...b,className:g(y.root,b.className),children:[gr.jsx(Ls,{htmlFor:i,UNSAFE_className:y.label,children:d}),gr.jsxs("div",{className:y.container,children:[gr.jsx("select",{...v,...x,id:i,className:y.input,disabled:a,required:p,ref:t,children:r}),gr.jsx("div",{className:y.icon,children:gr.jsx(Cr,{name:"chevron-down",boxSize:u===V.SMALL?16:20})})]}),gr.jsx(js,{UNSAFE_className:y.helperText,id:`${i}__helperText`,registerAria:T,helperText:s}),m&&gr.jsx(Ms,{UNSAFE_className:y.validationText,...o&&{hasValidationStateIcon:m},id:`${i}__validationText`,validationText:f,registerAria:T,role:P})]})}));function hu(e){const{size:t,...n}=e||{},r=pn("Skeleton"),o=`${r}--${t}`,s=`${r}--text`,i=`${r}--heading`,a=`${r}__item`;return{classProps:{root:g(r,{[o]:t}),text:s,heading:i,item:a},props:n}}fu.spiritComponent="Select",fu.displayName="Select";const gu=()=>{const{classProps:e}=hu();return gr.jsx("div",{className:g(e.item),"aria-hidden":"true"})};gu.spiritComponent="SkeletonItem";const yu={size:W.MEDIUM,lines:1,elementType:"div"},bu=e=>{const t={...yu,...e},{elementType:n,lines:r,...o}=t,s=n,{classProps:i,props:a}=hu(o),{styleProps:l,props:c}=en(a),p=Ot(s,{classProps:i.root,classPropsText:i.text,styleProps:l,otherProps:c}),d=[...Array(r??1).keys()];return gr.jsx(s,{...c,...p,children:d.map((e=>gr.jsx(gu,{},`skeleton-item-${e.toString()}`)))})};bu.spiritComponent="SkeletonText",bu.displayName="SkeletonText";const vu={size:W.MEDIUM,lines:1,elementType:"div"},xu=e=>{const t={...vu,...e},{elementType:n,lines:r,...o}=t,s=n,{classProps:i,props:a}=hu(o),{styleProps:l,props:c}=en(a),p=Ot(s,{classProps:i.root,classPropsHeading:i.heading,styleProps:l,otherProps:c}),d=[...Array(r??1).keys()];return gr.jsx(s,{...c,...p,children:d.map((e=>gr.jsx(gu,{},`skeleton-item-${e.toString()}`)))})};xu.spiritComponent="SkeletonHeading",xu.displayName="SkeletonHeading";const Tu=(e,t)=>{if(!t)return{};const n=`--${e}`;return{[n]:`${t?.toString()}px`}},Pu=(e,t)=>{const n={},r=`--${P}radius-`;return"object"==typeof t&&null!==t?Object.keys(t).forEach((o=>{const s="mobile"===o?"":`-${o}`,i=t[o];n[`--${e}${s}`]=`var(${r}${i})`})):t&&(n[`--${e}`]=`var(${r}${t})`),n},Su={borderRadius:j[400],elementType:"div"},Eu=e=>{const t={...Su,...e},{elementType:n,...r}=t,o=n,{classProps:s,skeletonShapeStyleProps:i,props:a}=(e=>{const{height:t,width:n,borderRadius:r,...o}=e,s=pn("Skeleton"),i=g(s,`${s}--shape`),a=`${P}skeleton-shape`;return{classProps:i,skeletonShapeStyleProps:{...Tu(`${a}-width`,n),...Tu(`${a}-height`,t),...r?Pu(`${a}-radius`,r):{}},props:o}})(r),{styleProps:l,props:c}=en(a),p=Ot(o,{classProps:s,styleProps:l,skeletonShapeStyleProps:i,otherProps:c});return gr.jsx(o,{...c,...p})};function Cu(e){const{...t}=e;return{classProps:pn("SkipLink"),props:t}}Eu.spiritComponent="SkeletonShape",Eu.displayName="SkeletonShape";const Nu={elementType:"a"},wu=t.forwardRef(((e,t)=>{const n={...Nu,...e},{elementType:r=Nu.elementType,children:o,...s}=n,{classProps:i,props:a}=Cu(s),{styleProps:l,props:c}=en(a),p=Ot("a",{classProps:i,styleProps:l,otherProps:c});return gr.jsx(r,{...c,...p,href:s.href,ref:t,children:o})}));wu.spiritComponent="SkipLink",wu.displayName="SkipLink";function Au(e){const{isDisabled:t,isFluid:n,isLabelHidden:r,validationState:o,...s}=e,i=pn("Slider"),a=`${i}--disabled`,l=`${i}--fluid`,c=`${i}--${o}`,p=`${i}__label`,d=`${i}__label--hidden`,u=`${i}__input`,m=`${i}__helperText`,f=`${i}__validationText`;return{classProps:{root:g(i,{[a]:t,[l]:n,[c]:o}),label:g(p,{[d]:r}),input:u,helperText:m,validationText:f},props:s}}const _u={max:100,min:0,step:1},Ru=t.forwardRef(((e,t)=>{const n={..._u,...e},{"aria-describedby":r,hasValidationIcon:o,helperText:s,id:i,isDisabled:a,label:l,max:c,min:p,step:d,validationState:u,validationText:m,value:f,...h}=n,{classProps:y,props:b}=Au({...h,isDisabled:a,validationState:u}),{styleProps:v,props:x}=en(b),[T,P]=rn(r),S=Fs({validationState:u,validationText:m}),E="--slider-position",C=e=>`${Math.round(100*(e-p)/(c-p))}%`;return gr.jsxs("div",{...v,...x,className:g(y.root,v.className),children:[gr.jsx(Ls,{htmlFor:i,UNSAFE_className:y.label,children:l}),gr.jsx("input",{...T,className:y.input,id:i,onInput:e=>{const{target:t}=e,{value:n}=t;t.style.setProperty(E,C(Number(n)))},style:{[E]:`${C(f)}`},type:"range",min:p,max:c,step:d,value:f,disabled:a,ref:t}),gr.jsx(js,{UNSAFE_className:y.helperText,helperText:s,id:`${i}__helperText`,registerAria:P}),u&&gr.jsx(Ms,{UNSAFE_className:y.validationText,...o&&{hasValidationStateIcon:u},id:`${i}__validationText`,registerAria:P,validationText:m,role:S})]})}));function ku(){return{classProps:pn("SplitButton")}}Ru.spiritComponent="Slider",Ru.displayName="Slider";const Ou={color:M.PRIMARY,size:V.MEDIUM},$u=e=>{const t={...Ou,...e},{children:n,color:r,size:o,isDisabled:s,...i}=t,{classProps:a}=ku(),{styleProps:l,props:c}=en(i);return gr.jsx(es,{value:{color:r,size:o,isDisabled:s},children:gr.jsx("div",{...l,...c,className:g(a,l.className),children:n})})},ju={dropdownPlacement:"bottom-end",dropdownTriggerIconName:"chevron-down"},Du=({children:e,...t})=>{const{styleProps:n,props:r}=en(t);return gr.jsx("div",{...r,...n,children:e})};Du.spiritComponent="TabContent";const Lu=t.createContext({selectedId:"",selectTab:e=>{},onSelectionChange:(e,t)=>{}}),Iu=Lu.Provider,Mu=Lu.Consumer,Fu=()=>t.useContext(Lu);function Bu(e={selectedId:"",forTabPane:"",id:""}){const{spacing:t}=Fu(),{selectedId:n,forTabPane:r,id:o,...s}=e,i=pn("Tabs"),a=`${i}__item`,l=`${i}__link`,c=`${i}Pane`,p="is-selected",d=Qn(t,"tabs");return{classProps:{item:a,link:g(l,{[p]:!!r&&!!n&&n===r}),pane:g(c,{[p]:!!o&&!!n&&n===o}),root:i},props:s,styleProps:d}}const Uu=({children:e,forTabPane:t,onClick:n,...r})=>{const{selectTab:o,selectedId:s,onSelectionChange:i}=Fu(),{classProps:a}=Bu({forTabPane:t,selectedId:s}),{styleProps:l,props:c}=en(r);return gr.jsx("li",{className:a.item,role:"presentation",children:gr.jsx("button",{...c,...l,type:"button",className:g(a.link,l.className),role:"tab","aria-selected":s===t,id:`${t}-tab`,"aria-controls":t.toString(),onClick:e=>{o(t),n&&n(e),i&&i(s,t)},children:e})})};Uu.spiritComponent="TabItem";const Hu={itemProps:{}},zu=t.forwardRef(((e,t)=>{const n={...Hu,...e},{elementType:r="a",children:o,itemProps:s={},routerOptions:i,...a}=n,{href:l}=a,c=r,{classProps:p}=Bu(),{styleProps:d,props:u}=en(s),m=Ot(c,{classProps:p.link}),f=Fn({...a,routerOptions:i});return gr.jsx("li",{...d,...u,className:g(p.item,d.className),role:"presentation",children:gr.jsx(c,{...a,...m,href:l,onClick:f,ref:t,children:o})})}));zu.spiritComponent="TabLink",zu.displayName="TabLink";const Vu=({children:e,...t})=>{const{classProps:n,styleProps:r}=Bu(),{styleProps:o,props:s}=en(t),i={style:{...o.style,...r}};return gr.jsx("ul",{...s,...o,...i,className:g(n.root,o.className),role:"tablist",children:e})};Vu.spiritComponent="TabList";const Wu=({children:e,id:t,...n})=>{const{selectedId:r}=Fu(),{classProps:o}=Bu({id:t,selectedId:r}),{styleProps:s,props:i}=en(n);return r===t?gr.jsx("div",{...i,...s,id:t.toString(),className:g(o.pane,s.className),role:"tabpanel","aria-labelledby":`${t}-tab`,children:e}):null};Wu.spiritComponent="TabPane";const Gu=({children:e,selectedTab:t,toggle:n,onSelectionChange:r,spacing:o})=>gr.jsx(Iu,{value:{selectedId:t,selectTab:n,onSelectionChange:r,spacing:o},children:e});Gu.spiritComponent="Tabs";const qu=e=>{const[n,r]=t.useState(e);return{selectedId:n,selectTab:t.useCallback((e=>{r(e)}),[])}},Xu=({children:e,defaultSelectedTab:t,onSelectionChange:n,spacing:r})=>{const{selectedId:o,selectTab:s}=qu(t);return gr.jsx(Iu,{value:{selectedId:o,selectTab:s,onSelectionChange:n,spacing:r},children:e})};Xu.spiritComponent="UncontrolledTabs";const Yu={NEUTRAL:"neutral",SELECTED:"selected"},Ku=(e,t)=>{if(!e)return{};const n=Object.keys(N).includes(e)?`${x.EMOTION}-`:"",r=t?U.SUBTLE:U.BASIC,o=t?U.SUBTLE:U.BASIC,s=t?U.BASIC:U.SUBTLE;return{[`border-${n}${e}-${r}`]:!0,[`bg-${n}${e}-${o}`]:!0,[`text-${n}${e}-${s}`]:!0}};function Qu(e){const{color:t,isDisabled:n,isSubtle:r,size:o,...s}=e,i=pn("Tag"),a=`${i}--${t}`,l=`${i}--disabled`,c=`${i}--${o}`,p=`${i}--subtle`;return{classProps:g(i,{[a]:t,[l]:n,[c]:o,[p]:r,...!n&&Ku(t,r)}),props:s}}const Zu={color:Yu.NEUTRAL,elementType:"span",isSubtle:!1,size:W.MEDIUM},Ju=t.forwardRef(((e,t)=>{const n={...Zu,...e},{elementType:r=Zu.elementType,children:o,...s}=n,i=r,{classProps:a,props:l}=Qu(s),{styleProps:c,props:p}=en(l),d=Ot(i,{classProps:a,styleProps:c,otherProps:p});return gr.jsx(i,{...p,...d,ref:t,children:o})}));function em(e){const{emphasis:t,size:n,textColor:r,...o}=e,s=pn("typography-body"),i=pn(r?`text-${r}`:"");return{classProps:g(`${s}-${n}-${t}`,{[i]:!!r}),props:o}}Ju.spiritComponent="Tag",Ju.displayName="Tag";const tm={elementType:"p",emphasis:H.REGULAR,size:W.MEDIUM},nm=e=>{const t={...tm,...e},{elementType:n,children:r,...o}=t,s=n,{classProps:i,props:a}=em(o),{styleProps:l,props:c}=en(a,{isTextBalanced:pe.isTextBalanced,textAlignment:pe.textAlignment,textHyphens:pe.textHyphens,textWordBreak:pe.textWordBreak}),p=Ot(s,{classProps:i,styleProps:l,otherProps:c});return gr.jsx(s,{...c,...p,children:r})};nm.spiritComponent="Text",nm.displayName="Text";const rm=t.forwardRef(((e,t)=>{const{classProps:n,props:r}=function(e){const{isMultiline:t,id:n,...r}=e;return{classProps:{input:`${pn(t?"TextArea":"TextField")}__input`},props:{...r,isMultiline:t,id:n}}}(e),{id:o,isDisabled:s,isMultiline:i,isRequired:a,inputWidth:l,type:c,...p}=r,{props:d}=en(p),u=i?"textarea":"input",m=i?void 0:c;return gr.jsx(u,{...d,className:n.input,disabled:s,id:o,required:a,size:l,type:m,ref:t})}));rm.spiritComponent="TextFieldBaseInput",rm.displayName="TextFieldBaseInput";const om=e=>{const{t:t}=An(),{children:n,isPasswordShown:r,onToggleClick:o,isDisabled:s,size:i}=e,{classProps:a}=function(){const e=pn("TextField");return{classProps:{passwordToggle:`${e}__passwordToggle`,passwordToggleButton:`${e}__passwordToggle__button`,passwordToggleIcon:`${e}__passwordToggle__icon`}}}(),l=t(r?"textField.password.hide":"textField.password.show");return gr.jsxs("div",{className:a.passwordToggle,children:[n,gr.jsx("button",{className:a.passwordToggleButton,type:"button",role:"switch","aria-checked":!!r,"aria-label":l,onClick:()=>o(),disabled:s,children:gr.jsx("span",{className:a.passwordToggleIcon,children:gr.jsx(Cr,{name:"visibility-"+(r?"off":"on"),boxSize:i===V.SMALL?16:20})})})]})};om.spiritComponent="TextFieldBasePasswordToggle";function sm(e){const n=e.displayName||e.name||"Component",r=(n,r)=>{const{isPasswordShown:o,passwordToggle:s}=(()=>{const[e,n]=t.useState(!1);return{isPasswordShown:e,passwordToggle:()=>n(!e)}})(),{hasPasswordToggle:i,isDisabled:a,size:l,...c}=n;return i?gr.jsx(om,{isDisabled:a,isPasswordShown:o,onToggleClick:s,size:l,children:gr.jsx(e,{...c,type:o?"text":"password",isDisabled:a,ref:r})}):gr.jsx(e,{...c,isDisabled:a,ref:r})};return r.displayName=`withPasswordToggle(${n})`,r}sm.spiritComponent="withPasswordToggle";const im=t.forwardRef(sm(rm)),am=t.forwardRef(((e,t)=>{const{"aria-describedby":n="",counterProps:r,hasValidationIcon:o,helperText:s,id:i,label:a,size:l=V.MEDIUM,validationState:c,validationText:p,...d}=e,{classProps:u,props:m}=function(e){const{isFluid:t,isMultiline:n,isLabelHidden:r,size:o,validationState:s,...i}=e,{isDisabled:a,isRequired:l}=i,c=pn(n?"TextArea":"TextField"),p=`${c}--disabled`,d=`${c}--fluid`,u=`${c}--${o}`,m=`${c}--${s}`,f=`${c}__input`,h=`${c}__label`,y=`${c}__label--required`,b=`${c}__label--hidden`,v=`${c}__validationText`,x=`${c}__passwordToggle`,T=`${c}__passwordToggle__button`,P=`${c}__passwordToggle__icon`,S=`${c}__helperText`,E=`${c}__counter`;return{classProps:{root:g(c,{[p]:a,[d]:t,[m]:s,[u]:o}),label:g(h,{[y]:l,[b]:r}),input:f,helperText:S,validationText:v,passwordToggle:x,passwordToggleButton:T,passwordToggleIcon:P,counter:E},props:{...i,isMultiline:n}}}({id:i,size:l,validationState:c,...d}),{styleProps:f,props:h}=en(m),[y,b]=rn(n),v=Fs({validationState:c,validationText:p}),x=s||c&&p,T=gr.jsx(js,{UNSAFE_className:u.helperText,id:`${i}__helper-text`,registerAria:b,helperText:s}),P=c?gr.jsx(Ms,{UNSAFE_className:u.validationText,elementType:"span",...o&&{hasValidationStateIcon:c},id:`${i}__validation-text`,validationText:p,registerAria:b,role:v}):null,S=r?gr.jsx(Os,{...r,id:i,registerAria:b,UNSAFE_className:u.counter}):null;return gr.jsxs("div",{...f,className:g(u.root,f.className),children:[gr.jsx(Ls,{htmlFor:i,UNSAFE_className:u.label,children:a}),gr.jsx(im,{...h,...y,id:i,ref:t,size:l}),r?gr.jsxs(ko,{direction:"horizontal",isWrapping:!1,alignmentX:"space-between",alignmentY:"top",children:[x?gr.jsxs("div",{children:[P,T]}):null,S]}):gr.jsxs(gr.Fragment,{children:[T,P]})]})}));am.spiritComponent="TextFieldBase",am.displayName="TextFieldBase";const lm=t.forwardRef(((e,n)=>{const{onInput:r,isAutoResizing:o,autoResizingMaxHeight:s=400,counterThreshold:i,hasCounter:a,onChange:l,value:c,defaultValue:p,helperText:d,isDisabled:u,id:m,...f}=e,h=t.useRef(n),{adjustHeightOnAutoresize:g,onInput:y}=(({elementReference:e,maxHeight:n,onInput:r,isAutoResizing:o})=>{const s=e=>{const t=(parseFloat(getComputedStyle(e).getPropertyValue("border-top-width"))||0)+(parseFloat(getComputedStyle(e).getPropertyValue("border-bottom-width"))||0);e.style.height="auto",e.style.overflow="auto";const r=e.scrollHeight+t;e.style.height=`${r<n?r:n}px`,e.style.overflow=r<n?"hidden":"auto"},i=()=>{if(o){const t=e?.current;t&&s(t)}};return t.useEffect((()=>{i()}),[]),{adjustHeight:s,adjustHeightOnAutoresize:i,onInput:e=>{i(),r&&r(e)}}})({elementReference:h,onInput:r,isAutoResizing:o,maxHeight:s}),v=zt(c),x=zt(p),{counterProps:T,handleChange:P}=Rs({value:v,defaultValue:x,counterThreshold:i,hasCounter:a,onChange:l}),S=((e,t)=>!0===e||void 0!==t)(a,i),E=S?void 0===(C=f.maxLength)?1e4:C:void 0;var C;const N=S?P:l,w=t.useRef(!1);return t.useEffect((()=>{void 0!==i&&void 0!==f.maxLength&&f.maxLength<i&&!w.current&&(w.current=!0,b(0,"TextArea: `maxLength` should be greater than or equal to `counterThreshold` to keep visible counter and hard input limit aligned."))}),[i,f.maxLength]),gr.jsx(am,{id:m,isMultiline:!0,ref:h,onInput:y,onFocus:g,onChange:N,value:c,defaultValue:p,helperText:d,isDisabled:u,counterProps:T,...f,...void 0!==E&&{maxLength:E}})}));lm.spiritComponent="TextArea",lm.displayName="TextArea";const cm=t.forwardRef(((e,t)=>gr.jsx(am,{type:"text",...e,ref:t})));cm.spiritComponent="TextField",cm.displayName="TextField";const pm="dot",dm="number",um=V.SMALL;function mm(e){const{markerBackgroundColor:t,markerBorderColor:n,markerTextColor:r,markerVariant:o,markerSize:s=um,...i}=e||{},a=pn("Timeline"),l=`${a}Content`,c=`${a}Heading`,p=`${a}Marker`,d=`${a}Step`,u=o===pm||o===dm,m=pn(`bg-${t}`),f=pn(`border-${n}`),h=pn(`text-${r}`),y=t?m:"",b=n?f:"",v=r?h:"";return{classProps:{content:l,heading:c,marker:g(p,{[`${p}--${o}`]:!!o,[y]:u,[b]:u,[v]:!!r}),root:g(a,Mt(a,s)),step:d},props:i}}const fm={elementType:"ol",size:um},hm=e=>{const t={...fm,...e},{elementType:n,children:r,size:o,...s}=t,i=n,{classProps:a}=mm({markerSize:o}),{styleProps:l,props:c}=en(s),p=Ot(i,{classProps:a.root,styleProps:l,otherProps:c});return gr.jsx(i,{...c,...p,children:r})};hm.spiritComponent="Timeline",hm.displayName="Timeline";const gm=e=>{const{children:t,...n}=e,{classProps:r}=mm(),{styleProps:o,props:s}=en(n);return gr.jsx("div",{...s,className:g(r.content,o.className),style:o.style,children:t})};gm.spiritComponent="TimelineContent";const ym=e=>{const{children:t,...n}=e,{classProps:r}=mm(),{styleProps:o,props:s}=en(n);return gr.jsx("div",{...s,className:g(r.heading,o.className),style:o.style,children:t})};ym.spiritComponent="TimelineHeading";const bm={variant:"number"},vm=e=>{const t={...bm,...e},{backgroundColor:n,borderColor:r,children:o,textColor:s,variant:i,...a}=t,{classProps:l}=mm({markerBackgroundColor:n,markerBorderColor:r,markerTextColor:s,markerVariant:i}),{styleProps:c,props:p}=en(a);return gr.jsx("div",{...p,className:g(l.marker,c.className),style:c.style,"aria-hidden":"true",children:i!==pm&&o})};vm.spiritComponent="TimelineMarker";const xm={elementType:"li"},Tm=e=>{const t={...xm,...e},{elementType:n,children:r,...o}=t,s=n,{classProps:i}=mm(),{styleProps:a,props:l}=en(o),c=Ot(s,{classProps:i.step,styleProps:a,otherProps:l});return gr.jsx(s,{...l,...c,children:r})};Tm.spiritComponent="TimelineStep",Tm.displayName="TimelineStep";const Pm={alignmentX:_.CENTER,alignmentY:k.BOTTOM,isCollapsible:!0},Sm=e=>{const t={...Pm,...e},{children:n,alignmentX:r,alignmentY:o,...s}=t,{classProps:i,props:a}=function(e){const{alignmentX:t,alignmentY:n,isCollapsible:r,...o}=e,s=pn("Toast"),i=[...(a=[t,n],a.map((e=>"object"==typeof e&&null!==e?Object.keys(e).reduce(((t,n)=>[...t,`${s}${"mobile"===n?"":`--${n}`}--${e[n]}`]),[]):[`${s}--${e}`])))];var a;const l=`${s}__queue`;return{classProps:{root:g(s,r&&`${s}--collapsible`,...i),queue:l},props:o}}({...s,alignmentX:r,alignmentY:o}),{styleProps:l,props:c}=en(a);return gr.jsx("div",{...c,...l,className:g(i.root,l.className),role:"log",children:gr.jsx("div",{className:i.queue,children:n})})};Sm.spiritComponent="Toast";const Em={entering:"is-open is-transitioning",entered:"is-open",exiting:"is-hidden is-transitioning",exited:"is-hidden"},Cm="neutral",Nm=3e3,wm={NEUTRAL:"neutral"},Am=e=>{const{color:t,isDismissible:n,...r}=e,o=pn("ToastBar"),s=`${o}__box`,i=`${o}__close`,a=`${o}__container`,l=`${o}__content`,c=`${o}__link`,p=pn("link-underlined");return{classProps:{root:g(o,`${o}--${t||wm.NEUTRAL}`,n&&`${o}--dismissible`),box:s,close:i,container:a,content:l,link:g(c,p)},props:r}},_m=e=>{const{onClose:t,isOpen:n,id:r,closeLabel:o,isDismissible:s,...i}=e,{classProps:a,props:l}=Am({...i}),{styleProps:c,props:p}=en(l);return s&&t?gr.jsxs("button",{...p,...c,type:"button",className:g(a.close,c.className),onClick:t,"aria-expanded":n,"aria-controls":r,children:[gr.jsx(Cr,{name:"close"}),gr.jsx(_s,{children:o})]}):null};_m.spiritComponent="ToastCloseButton";const Rm=e=>{const{t:n}=An(),{id:r,children:o,closeLabel:s,color:i=Cm,hasIcon:a,iconName:l,isDismissible:c,isOpen:p=!0,onClose:d=()=>{},...u}=e,m=s??n("common.close"),f=t.useRef(null),h=function({color:e,iconName:t}){const n=$n(e,{danger:"danger",informative:"info",neutral:"info",success:"check-plain",warning:"warning"},Cm);return t||n}({color:i,iconName:l}),{classProps:y,props:b}=Am({...u,color:i,isDismissible:c}),{styleProps:v,props:x}=en(b);return gr.jsx(mo,{in:p,nodeRef:f,timeout:250,unmountOnExit:!0,children:e=>gr.jsx("div",{...v,...x,id:r,className:g(y.root,Em[e],v.className),ref:f,children:gr.jsxs("div",{className:y.box,children:[gr.jsxs("div",{className:y.container,children:[(a||l)&&gr.jsx(Cr,{name:h,boxSize:20}),gr.jsx("div",{className:y.content,children:o})]}),gr.jsx(_m,{id:r,isOpen:p,closeLabel:m,onClose:d,isDismissible:c})]})})})};Rm.spiritComponent="ToastBar";const km=e=>{const{children:t,...n}=e,{styleProps:r,props:o}=en(n);return gr.jsx("div",{...r,...o,className:g(pn("text-truncate-multiline"),r.className),children:t})};km.spiritComponent="ToastBarMessage";const Om={elementType:"a"},$m=t.forwardRef(((e,t)=>{const n={...Om,...e},{elementType:r=Om.elementType,children:o,...s}=n,i=r,{classProps:a,props:l}=Am({...s}),{styleProps:c,props:p}=en(l),d=Ot(i,{classProps:a.link,styleProps:c,otherProps:p});return gr.jsx(i,{...p,...d,ref:t,children:o})}));$m.spiritComponent="ToastBarLink",$m.displayName="ToastBarLink";const jm=t.createContext({clear:()=>{},hide:()=>{},queue:[],setQueue:()=>{},show:()=>{}}),Dm=(e,t)=>{const{type:n,payload:r}=t,{queue:o}=e;switch(n){case"show":return{queue:[...o,{autoCloseInterval:r.options?.autoCloseInterval||Nm,color:r.options?.color||void 0,enableAutoClose:r.options?.enableAutoClose||!0,hasIcon:r.options?.hasIcon||!1,iconName:r.options?.iconName,id:r.toastId,isDismissible:r.options?.isDismissible||!1,linkProps:r.options?.linkProps||{},isOpen:!0,content:{message:r.content.message,link:r.content.link||void 0}}]};case"hide":return{queue:o.filter((e=>e.id!==r.id))};case"clear":return{queue:[]};default:throw new Error}},Lm={queue:[]},Im=()=>{const e=t.useContext(jm);if(!e)throw new Error("useToast has to be used within <ToastProvider>");return e},Mm=e=>{const{t:n}=An(),{alignmentX:r,alignmentY:o,isCollapsible:s,closeLabel:i,...a}=e,l=i??n("common.close"),{hide:c,queue:p}=Im();return gr.jsx(Sm,{alignmentX:r,alignmentY:o,isCollapsible:s,children:p.map((e=>{const{color:n,iconName:r,id:o,isOpen:s,content:i,hasIcon:p,isDismissible:d,linkProps:u}=e;return t.createElement(Rm,{...a,key:o,id:o,closeLabel:l,color:n,hasIcon:p,iconName:r,isDismissible:d,onClose:()=>c(o),isOpen:s&&!!i},gr.jsx(km,{children:i.message}),i.link&&gr.jsx($m,{...u,children:i.link}))}))})};function Fm(e){const{hasIndicators:t=!1,inputPosition:n=te.END,isDisabled:r=!1,isFluid:o=!1,isLabelHidden:s=!1,isRequired:i=!1,validationState:a,...l}=e,c=pn("Toggle"),p=`${c}--fluid`,d=`${c}--disabled`,u=`${c}__text`,m=`${c}__label`,f=`${m}--hidden`,h=`${c}--${a}`,y=`${m}--required`,b=`${c}__input`,v=`${b}--indicators`,x=jn(c,n),T=`${c}__helperText`,P=`${c}__validationText`;return{classProps:{root:g(c,{[x]:x,[p]:o,[d]:r,[h]:a}),label:g(m,{[y]:i,[f]:s}),text:u,helperText:T,input:g(b,{[v]:t}),validationText:P},props:{...l,validationState:a,isDisabled:r,isRequired:i}}}Mm.spiritComponent="UncontrolledToast";const Bm=t.forwardRef(((e,n)=>{const{classProps:r,props:o}=Fm(e),{"aria-describedby":s="","aria-details":i,details:a,hasValidationIcon:l,id:c,isDisabled:p,isChecked:d=!1,isRequired:u,label:m,helperText:f,onChange:h=()=>{},validationState:y,validationText:b,...v}=o,{styleProps:x,props:T}=en(v),[P,S]=rn(s),[E,C]=on(i),[N,w]=t.useState(d),A=Fs({validationState:y,validationText:b});return gr.jsxs("div",{style:x.style,className:g(r.root,x.className),children:[gr.jsxs("div",{className:r.text,children:[gr.jsx(Ls,{UNSAFE_className:r.label,htmlFor:c,children:m}),a&&gr.jsx(Hs,{id:`${c}-details`,registerAriaDetails:C,children:a}),gr.jsx(js,{UNSAFE_className:r.helperText,id:`${c}__helperText`,registerAria:S,helperText:f}),y&&gr.jsx(Ms,{UNSAFE_className:r.validationText,...l&&{hasValidationStateIcon:y},id:`${c}__validationText`,validationText:b,registerAria:S,role:A})]}),gr.jsx("input",{...T,...P,...E,type:"checkbox",id:c,className:r.input,disabled:p,checked:N,required:u,onChange:e=>{w(e.target.checked),h(e)},ref:n})]})}));Bm.spiritComponent="Toggle",Bm.displayName="Toggle";const Um=(e,t)=>{const n=e.trim().split(/\s+/);return n.length<=t?e:`${n.slice(0,t).join(" ")}…`},Hm=(e,t)=>e.length<=t?e:`${e.slice(0,t)}…`,zm=e=>e,Vm=(e,n,r)=>t.useMemo((()=>{if("string"!=typeof e)return e;if(!r||r<=0)return e;switch(n){case we.WORDS:return Um(e,r);case we.CHARACTERS:return Hm(e,r);case we.LINES:default:return e}}),[e,n,r]),Wm=e=>{const{limit:t,mode:n=we.LINES,...r}=e,o=pn(n===we.LINES?"text-truncate-multiline":""),s={};return n===we.LINES&&void 0!==t&&(s["--text-truncate-lines"]=t),{classProps:o,props:r,styleProps:s,effectiveMode:n,effectiveLimit:t}},Gm={elementType:"span"},qm=e=>{const t={...Gm,...e},{children:n,elementType:r,...o}=t,s=r,{classProps:i,props:a,styleProps:l,effectiveMode:c,effectiveLimit:p}=Wm(o),d=Vm(n,c,c!==we.LINES?p:void 0),{styleProps:u,props:m}=en(a),f=Ot(s,{classProps:i,styleProps:u,truncateStyleProps:{style:{...u.style,...l}}});return gr.jsx(s,{...m,...f,children:d})};qm.spiritComponent="Truncate",qm.displayName="Truncate";const Xm="file",Ym="edit",Km={TOP:"--spirit-file-image-top",LEFT:"--spirit-file-image-left",WIDTH:"--spirit-file-image-width",HEIGHT:"--spirit-file-image-height"},Qm=["x","y","cropWidth","cropHeight","originalWidth","originalHeight"];function Zm(e,t){const n=(e=>null!=e&&Qm.every((t=>null!=e[t])))(e),r=n?(e=>{const{x:t,y:n,cropWidth:r,cropHeight:o,originalWidth:s,originalHeight:i}=e;let a;a=o>r?48/r:48/o;const l=Math.round(t*a),c=Math.round(n*a),p=Math.round(s*a),d=Math.round(i*a);return{[Km.TOP]:`-${c}px`,[Km.LEFT]:`-${l}px`,[Km.WIDTH]:`${p}px`,[Km.HEIGHT]:`${d}px`}})(e):void 0;return{hasCoordsInMeta:n,imageCropStyles:r,imageObjectFitStyles:t?{"--spirit-file-image-object-fit":t}:void 0}}const Jm=e=>{const t=pn("UNSTABLE_File"),{imageCropStyles:n,imageObjectFitStyles:r,hasCoordsInMeta:o}=Zm(e?.meta,e?.imageObjectFit);return{classProps:{root:g(t,{[`${t}--disabled`]:e?.isDisabled,[`has-${e?.validationState}`]:e?.validationState}),preview:`${t}__preview`,content:`${t}__content`,text:`${t}__text`,name:`${t}__name`,helperText:`${t}__helperText`,validationText:`${t}__validationText`,...o&&{imageCropStyles:n},...r&&{imageObjectFitStyles:r}}}},ef={elementType:"li",iconName:Xm},tf=e=>{const t={...ef,...e},{t:n}=An(),{editText:r,elementType:o,hasValidationIcon:s,helperText:i,iconName:a,id:l,isDisabled:c,label:p,onDismiss:d,onChange:u,previewSlot:m,removeText:f,validationState:h,validationText:y,...b}=t,v=r??n("attachment.edit"),x=f??n("attachment.remove"),{classProps:T}=Jm({isDisabled:c,validationState:h}),{styleProps:P,props:S}=en(b),E=Fs({validationState:h,validationText:y}),C={size:"large",isSymmetrical:!0,isDisabled:c},N={UNSAFE_className:"color-scheme-on-disabled"},w=u?gr.jsxs(Qs,{...C,onClick:u,...c&&N,children:[gr.jsx(_s,{children:v}),gr.jsx(Cr,{name:Ym,boxSize:16,"aria-hidden":"true"})]}):null,A=d?gr.jsxs(Qs,{...C,onClick:d,...c&&N,children:[gr.jsx(_s,{children:x}),gr.jsx(Cr,{name:"close",boxSize:16,"aria-hidden":"true"})]}):null,_=o;return gr.jsxs(_,{...S,...P,...null!=l&&""!==l?{id:l}:{},className:g(T.root,P.className),children:[m??gr.jsx("div",{className:T.preview,children:gr.jsx(Cr,{name:a,boxSize:20,"aria-hidden":"true"})}),gr.jsx("div",{className:T.content,children:gr.jsxs("div",{className:T.text,children:[gr.jsx("span",{className:T.name,children:gr.jsx("span",{className:pn("text-truncate"),children:p})}),i&&gr.jsx("div",{className:T.helperText,children:i}),h&&gr.jsx(Ms,{UNSAFE_className:T.validationText,elementType:"div",...s&&{hasValidationStateIcon:h},role:E,validationText:y})]})}),w&&A?gr.jsxs(ko,{alignmentX:{mobile:"stretch",tablet:"left"},alignmentY:"stretch",spacingX:"space-500",children:[w,A]}):gr.jsxs(gr.Fragment,{children:[w,A]})]})};tf.spiritComponent="UNSTABLE_File",tf.displayName="UNSTABLE_File";const nf={meta:void 0,imageObjectFit:ne.COVER},rf=e=>{const t={...nf,...e},{label:n,imagePreview:r,meta:o,imageObjectFit:s,...i}=t,{classProps:a}=Jm({meta:o,imageObjectFit:s}),l=a.imageCropStyles??{},c=a.imageObjectFitStyles??{},{styleProps:p,props:d}=en(i);return gr.jsx("span",{...d,...p,className:g(a.preview,p.className),children:gr.jsx("img",{src:r,width:48,height:48,alt:n,style:{...l,...c}})})};rf.spiritComponent="UNSTABLE_FileImagePreview",rf.displayName="UNSTABLE_FileImagePreview";const of=e=>{const{onFilesSelected:t}=e;return{onChange:e=>{if(!t)return;const{files:n}=e.target,r=n?Array.prototype.slice.call(n):[];r.length&&t(r),e.target.blur(),e.target.value=""},...yn({onDrop:e=>{if(!t)return;const n=Array.from(e.dataTransfer.items),r=Array.from(e.dataTransfer.files),o=[];e.dataTransfer.items?.length?n.forEach((e=>{if("file"===e.kind){const t=e.getAsFile();t&&o.push(t)}})):r.forEach((e=>o.push(e))),o.length&&t(o)}})}},sf=e=>{const t=pn("UNSTABLE_FileUpload"),n="has-drag-and-drop",r=`${t}Input`,o=`${r}--disabled`,s=`${r}__dropZone--disabled`,i=`${r}__dropZone--compact`,a=`${r}--${e?.validationState}`,l="is-dragging",c=`${r}__dragAndDropLabel`,p=`${r}__dropZone`,d=`${r}__dropZoneContent`,u=`${r}__dropZoneLabel`,m=`${r}__helperText`,f=`${r}__input`,h=`${r}__label`,y=`${r}__label--hidden`,b=`${r}__label--required`,v=`${r}__validationText`;return{classProps:{root:t,input:{root:g(r,{[n]:e?.isDragAndDropSupported,[o]:e?.isDisabled,[l]:e?.isDragging,[a]:e?.validationState}),label:g(h,{[b]:e?.isRequired,[y]:e?.isLabelHidden}),input:f,dropLabel:c,helper:m,validationText:v,dropZone:{root:g(p,{[s]:e?.isDisabled,[i]:e?.isCompact}),content:d,label:u}}}}},af=e=>{const[n,r]=t.useState(!1),{"aria-describedby":o="",accept:s,buttonText:i="Browse",children:a,dropZoneRef:l,hasValidationIcon:c,helperText:p,iconName:d="upload",id:u,inputRef:m,isCompact:f,isDisabled:h,isDragAndDropSupported:y,isLabelHidden:b,isMultiple:v,isRequired:x,label:T,labelText:P,linkText:S,name:E,onFilesSelected:C,rootId:N,validationState:w,validationText:A,..._}=e,R=void 0!==E,k=y??n,{isDragging:O,onChange:$,onDragEnter:j,onDragLeave:D,onDragOver:L,onDrop:I}=of({onFilesSelected:R?C:void 0}),{classProps:M}=sf({isCompact:f,isDisabled:h,isDragAndDropSupported:k,isDragging:O,isLabelHidden:b,isRequired:x,validationState:w}),{styleProps:F,props:B}=en(_),[U,H]=rn(o),z=Fs({validationState:w,validationText:A}),V=u;return t.useEffect((()=>{void 0===y&&r("draggable"in document.createElement("span"))}),[y]),gr.jsxs("div",{...B,...F,...null!=N&&""!==N?{id:N}:{},className:g(M.root,F.className),children:[R&&gr.jsxs("div",{onDragOver:!h&&k?L:void 0,onDragEnter:!h&&k?j:void 0,onDragLeave:!h&&k?D:void 0,onDrop:!h&&k?I:void 0,className:M.input.root,children:[gr.jsx(Ls,{htmlFor:V,UNSAFE_className:M.input.label,children:T}),gr.jsx("input",{...U,type:"file",accept:s,id:V,ref:m,name:E,className:M.input.input,onChange:$,multiple:v,disabled:h}),gr.jsxs("div",{ref:l,className:M.input.dropZone.root,children:[!f&&gr.jsx(Cr,{name:d,boxSize:28,"aria-hidden":"true"}),gr.jsxs("div",{className:M.input.dropZone.content,children:[gr.jsxs(Ls,{htmlFor:V,UNSAFE_className:M.input.dropZone.label,children:[S,P&&gr.jsxs(gr.Fragment,{children:[" ",gr.jsx("span",{className:M.input.dropLabel,children:P})]})]}),gr.jsx(js,{UNSAFE_className:M.input.helper,id:`${V}-helper`,registerAria:H,helperText:p})]}),gr.jsx(is,{"aria-hidden":"true",isDisabled:h,elementType:"div",type:null,children:i})]}),w&&gr.jsx(Ms,{UNSAFE_className:M.input.validationText,elementType:"div",...c&&{hasValidationStateIcon:w},id:`${V}-validation`,validationText:A,registerAria:H,role:z})]}),a]})};af.spiritComponent="UNSTABLE_FileUpload",af.displayName="UNSTABLE_FileUpload";const lf=e=>{const{hasBottomDivider:t=!1,...n}=e,r=pn("UNSTABLE_Header"),o=`${r}Logo`,s=`${r}--bottomDivider`;return{classProps:{root:g(r,{[s]:t}),logo:o},props:n}},cf=Object.freeze(Object.defineProperty({__proto__:null,useUnstableHeaderStyleProps:lf},Symbol.toStringTag,{value:"Module"})),pf=e=>{const{children:t,...n}=e,{classProps:r,props:o}=lf(n),{styleProps:s,props:i}=en(o);return gr.jsx("header",{...i,className:g(r.root,s.className),style:s.style,children:t})};pf.spiritComponent="UNSTABLE_Header";const df={elementType:"a"},uf=t.forwardRef(((e,t)=>{const n={...df,...e},{elementType:r=df.elementType,children:o,...s}=n,i=r,{classProps:a,props:l}=lf(s),{styleProps:c,props:p}=en(l),d=Ot(i,{classProps:a.logo,styleProps:c,otherProps:p});return gr.jsx(i,{...p,...d,href:s.href,ref:t,children:o})}));uf.spiritComponent="UNSTABLE_HeaderLogo",uf.displayName="UNSTABLE_HeaderLogo";const mf=V.MEDIUM,ff={[V.SMALL]:W.XSMALL,[V.MEDIUM]:W.SMALL,[V.LARGE]:W.MEDIUM},hf=t.createContext({size:V.MEDIUM}),gf=hf.Provider,yf={id:"",isDisabled:!1,onSelectionChange:()=>{},selectedKeys:[],selectionMode:oe},bf=t.createContext(yf),vf=bf.Provider,xf=()=>t.useContext(bf),Tf=e=>{const n=[],r=e=>{t.Children.forEach(e,(e=>{t.isValidElement(e)&&((e=>t.isValidElement(e)&&"UNSTABLE_PickerItem"===e.type?.spiritComponent)(e)?n.push({label:e.props.children,value:e.props.value}):e.props?.children&&r(e.props.children))}))};return r(e),n},Pf=e=>{const n=e=>null==e||"boolean"==typeof e?"":"string"==typeof e||"number"==typeof e?String(e):Array.isArray(e)?e.map(n).filter(Boolean).join(" "):t.isValidElement(e)?n(e.props.children):"";return(e=>e.replace(/\s+/g," ").trim())(n(e))},Sf=({children:e,tagKeyboardProps:n,isDisabled:r,label:o,onRemove:s,removeLabel:i,...a})=>{const{t:l}=An(),{size:c=V.MEDIUM,tagDescriptionId:p}=t.useContext(hf),d=i??Nn(l("picker.removeItemLabel"),{itemLabel:Pf(o)}),u=t.useMemo((()=>r||!n?{}:{onBlurCapture:n.onBlurCapture,onFocusCapture:n.onFocusCapture,onKeyDown:n.onKeyDown}),[r,n]);return gr.jsx(Ju,{...a,color:"selected",elementType:"div",size:ff[c],isDisabled:r,role:"row",tabIndex:r?-1:n?.tabIndex??0,"aria-label":Pf(o),...u,...p?{"aria-describedby":p}:{},children:gr.jsxs("div",{role:"gridcell","aria-colindex":1,className:"d-contents",children:[e??gr.jsx("span",{children:o}),gr.jsx(Qs,{"aria-label":d,isDisabled:r,isSymmetrical:!0,onClick:s,size:ff[c],...n&&{tabIndex:n.removeButtonTabIndex},children:gr.jsx(Cr,{name:"close"})})]})})};Sf.spiritComponent="UNSTABLE_PickerTag";const Ef=e=>t.useMemo((()=>{const t=`picker-${e}`;return{pickerId:t,labelId:`${t}-label`,popoverId:`${t}-popover`,selectionId:`${t}-selection`,tagDescriptionId:`${t}-tag-description`}}),[e]),Cf="input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href]",Nf=e=>Array.from(e.querySelectorAll(Cf)),wf=({isOpen:e,onClose:n,getLastPopoverFocusable:r})=>({onPopoverKeyDownCapture:t.useCallback((t=>{if("Tab"!==t.key||t.shiftKey||!e)return;const o=t.currentTarget;let s=r?.()??null;if(!s){const e=Nf(o);s=e.length>0?e[e.length-1]:null}const i=t.target instanceof Node?t.target:null,a=document.activeElement;!s||i!==s&&a!==s||(t.preventDefault(),n())}),[r,e,n])}),Af=({onRemoveAtIndex:e,selectionRef:n,tagCount:r,isPopoverOpen:o=!1,isDisabled:s=!1})=>{const[i,a]=t.useState(0),[l,c]=t.useState(null),p=t.useRef(null),d=t.useRef(null);sn((()=>{const e=p.current;if(null===e)return p.current=r,void(r>0&&a(r-1));if(0===r)return void(p.current=0);const t=r-1,n=r-e;n>0?(a(t),o||(d.current=t)):n<0&&a((e=>Math.min(e,t))),p.current=r}),[o,r]),sn((()=>{const e=d.current;null===e||0===r||o||(d.current=null,((e,t)=>{if(!e?.current)return;const n=e.current.querySelectorAll('[role="row"]');n.item(t)?.focus()})(n,e))}),[i,o,n,r]);const u=t.useCallback((t=>{const n=r-1;if(n>0){const e=t<n?t:t-1;a(e),o||(d.current=e)}c(null),e(t)}),[o,e,r]);return{getKeyboardGridRowProps:t.useCallback((e=>o||s?{tabIndex:-1,removeButtonTabIndex:-1,onFocusCapture:()=>{},onBlurCapture:()=>{},onKeyDown:()=>{}}:{tabIndex:e===i?0:-1,removeButtonTabIndex:l===e?0:-1,onFocusCapture:()=>{a(e),c(e)},onBlurCapture:e=>{e.currentTarget.contains(e.relatedTarget)||c(null)},onKeyDown:t=>{if(0===r)return;if("Delete"===t.key||"Backspace"===t.key)return t.preventDefault(),void u(e);let n=-1;switch(t.key){case"ArrowRight":case"ArrowDown":n=(e+1)%r;break;case"ArrowLeft":case"ArrowUp":n=(e-1+r)%r;break;case"Home":n=0;break;case"End":n=r-1}n>=0&&(t.preventDefault(),a(n),d.current=n)}}),[i,l,s,o,u,r]),removeTagAtIndex:u}},_f=e=>{const{isDisabled:t,isFluid:n,isLabelHidden:r,isRequired:o,size:s,validationState:i}=e,a=pn("UNSTABLE_Picker"),l=`${a}--disabled`,c=`${a}--fluid`,p=`${a}--${s}`,d=`${a}--${i}`,u=`${a}__label`,m=`${u}--hidden`,f=`${u}--required`,h=`${a}__inputContainer`,y=`${a}__selection`,b=`${a}__selectionEmpty`,v=`${a}__trigger`,x=`${a}__helperText`,T=`${a}__validationText`;return{classProps:{root:g(a,{[l]:t,[c]:n,[p]:s,[d]:i}),label:g(u,{[m]:r,[f]:o}),inputContainer:h,selection:y,selectionEmpty:b,trigger:v,helperText:x,validationText:T}}},Rf=t.forwardRef(((e,n)=>{const{t:r}=An(),{"aria-describedby":o="",addButtonLabel:s=r("picker.add"),children:i,closeButtonLabel:a=r("common.close"),emptySelectionLabel:l,helperText:c,id:p,isAggregated:d=!1,isDisabled:u=!1,isFluid:m=!1,isLabelHidden:f=!1,isOpen:h,isRequired:y=!1,label:b,onSelectionChange:v,onToggle:x,removeAllLabel:T=r("picker.removeAll"),renderTags:P,selectedKeys:S,selectionAriaLabel:E=r("picker.selectionAriaLabel"),selectionMode:C=oe,size:N=mf,tagDescriptionText:w=r("picker.tagDescriptionText"),hasValidationIcon:A,validationState:_,validationText:R,...k}=e,[O,$]=rn(o),j=Fs({validationState:_,validationText:R}),{classProps:D}=_f({isDisabled:u,isFluid:m,isLabelHidden:f,isRequired:y,size:N,validationState:_}),{styleProps:L,props:I}=en(k),{labelId:M,pickerId:F,popoverId:B,selectionId:U,tagDescriptionId:H}=Ef(p),z=t.useMemo((()=>Tf(i)),[i]),V=t.useMemo((()=>(e=>{const t={};for(const n of e)t[n.value]=n.label;return t})(z)),[z]),W=t.useMemo((()=>qn(S,C)),[S,C]),G=t.useMemo((()=>{return e=V,W.map((t=>({label:e[t]??t,value:t})));var e}),[W,V]),q=e=>Gn(C)?v([]):v(S.filter((t=>t!==e))),X=t.useRef(null),Y=t.useRef(null),K=t.useCallback((()=>{h&&(x(),Promise.resolve().then((()=>{Y.current?.focus()})))}),[h,x]),{onPopoverKeyDownCapture:Q}=wf({isOpen:h,onClose:K}),Z=((e,t)=>{const{isAggregated:n}=t;return 0===e?0:n?1:e})(G.length,{isAggregated:d}),{getKeyboardGridRowProps:J,removeTagAtIndex:ee}=Af({isDisabled:u,isPopoverOpen:h,onRemoveAtIndex:e=>{d?v([]):q(G[e].value)},selectionRef:X,tagCount:Z}),te=l?Nn(l,{label:b}):b,ne=((e,t)=>t.length>1?`${e} (${t.length})`:t[0]?.label??e)(b,G),re=G.length?P?P({getKeyboardGridRowProps:J,onRemove:q,removeTagAtIndex:ee}):d?gr.jsx(Sf,{tagKeyboardProps:J(0),isDisabled:u,label:ne,onRemove:()=>ee(0),removeLabel:T}):G.map(((e,t)=>gr.jsx(Sf,{tagKeyboardProps:J(t),isDisabled:u,label:e.label,onRemove:()=>ee(t)},e.value))):gr.jsx("span",{"aria-hidden":"true",className:D.selectionEmpty,children:te}),se=t.useMemo((()=>({id:F,isDisabled:u,onSelectionChange:v,selectedKeys:W,selectionMode:C})),[W,u,v,F,C]);return t.useImperativeHandle(n,(()=>({close:K,selectedKeys:S})),[K,S]),gr.jsx(gf,{value:{size:N,tagDescriptionId:H},children:gr.jsxs("div",{...L,className:g(D.root,L.className),...I,children:[gr.jsx(Ls,{id:M,UNSAFE_className:D.label,elementType:"span",children:b}),gr.jsxs(Si,{id:B,isOpen:h,onToggle:x,children:[gr.jsxs("div",{role:"group","aria-label":b,className:D.inputContainer,children:[gr.jsx("div",{ref:X,...O,id:U,role:G.length?"grid":"group","aria-label":Nn(E,{label:b}),"aria-live":"off","aria-atomic":!1,"aria-relevant":"additions",className:D.selection,children:re}),gr.jsxs("button",{ref:Y,type:"button",className:D.trigger,"aria-haspopup":"dialog","aria-expanded":h,"aria-controls":B,onClick:x,disabled:u,children:[gr.jsx(_s,{children:h?a:s}),gr.jsx(Cr,{name:"chevron-"+(h?"up":"down"),boxSize:20})]})]}),gr.jsx(Ni,{"aria-labelledby":M,role:"dialog","aria-modal":"true",onKeyDownCapture:Q,children:gr.jsx(vf,{value:se,children:i})})]}),gr.jsx(js,{UNSAFE_className:D.helperText,id:`${F}-helper-text`,registerAria:$,helperText:c}),_&&gr.jsx(Ms,{UNSAFE_className:D.validationText,id:`${F}-validation-text`,...A&&{hasValidationStateIcon:_},validationText:R,registerAria:$,role:j}),gr.jsx("span",{id:H,hidden:!0,children:w})]})})}));Rf.spiritComponent="UNSTABLE_Picker",Rf.displayName="UNSTABLE_Picker";const kf=({children:e,label:n,...r})=>{const o=xf(),s=t.useId(),i=o.id?`${o.id}-group-${s}`:s;return gr.jsx(Mi,{...r,id:i,isFluid:!0,isLabelHidden:!0,label:n,children:e})};kf.spiritComponent="UNSTABLE_PickerGroup";const Of=({children:e,value:t,...n})=>{const{id:r,isDisabled:o,onSelectionChange:s,selectedKeys:i,selectionMode:a}=xf(),l=Xn(i,t,a),c=Gn(a),p=c?zd:Vs,d=`${r}-${t}`;return gr.jsx(p,{...n,id:d,inputPosition:te.START,isChecked:l,isDisabled:o,isItem:!0,label:e,value:t,onChange:()=>{s(c?[t]:Yn(i,t,a))},...c?{name:r}:{}})};Of.spiritComponent="UNSTABLE_PickerItem";const $f=t.forwardRef(((e,n)=>{const{defaultIsOpen:r=!1,defaultSelectedKeys:o=[],onSelectionChange:s,selectionMode:i,...a}=e,l=t.useRef(null),[c,p]=er(r),{selectedKeys:d,setSelectedKeys:u}=Kn({defaultSelectedKeys:o,onSelectionChange:s,selectionMode:i});return t.useImperativeHandle(n,(()=>({close:()=>l.current?.close(),selectedKeys:d})),[d]),gr.jsx(Rf,{...a,ref:l,isOpen:c,onSelectionChange:u,onToggle:p,selectedKeys:d,selectionMode:i})}));$f.spiritComponent="UNSTABLE_UncontrolledPicker",$f.displayName="UNSTABLE_UncontrolledPicker";const jf=e=>{const{isStriped:t=!1,isBordered:n=!1,isCompact:r=!1,isHoverable:o=!1,isResponsive:s=!1,...i}=e,a=pn("UNSTABLE_Table"),l=`${a}--striped`,c=`${a}--bordered`,p=`${a}--compact`,d=`${a}--hoverable`,u=`${a}--responsive`;return{classProps:{root:g(a,{[l]:t,[c]:n,[p]:r,[d]:o,[u]:s})},props:i}},Df=Object.freeze(Object.defineProperty({__proto__:null,useUnstableTableStyleProps:jf},Symbol.toStringTag,{value:"Module"})),Lf=e=>{const{children:t,...n}=e,{classProps:r,props:o}=jf(n),{styleProps:s,props:i}=en(o);return gr.jsx("table",{...i,className:g(r.root,s.className),style:s.style,children:t})};Lf.spiritComponent="UNSTABLE_Table",e.Accordion=yr,e.AccordionContent=wo,e.AccordionContext=sr,e.AccordionHeader=wr,e.AccordionItem=Tr,e.AccordionItemContext=br,e.ActionGroup=$o,e.Alert=Lo,e.AlignmentX=_,e.AlignmentXExtended=R,e.AlignmentY=k,e.AlignmentYExtended=O,e.AttachmentActionButton=na,e.AttachmentDismissButton=ra,e.Avatar=Fo,e.BREAKPOINT_MOBILE=Ee,e.BackgroundColors=I,e.BackgroundGradients={PRIMARY:"primary",SECONDARY:"secondary"},e.BackgroundStyleProps=ie,e.BorderColors=$,e.BorderRadii=j,e.BorderRadiusStyleProps=ae,e.BorderStyles=D,e.BorderWidths=L,e.Box=Ho,e.Breadcrumbs=Ko,e.BreadcrumbsItem=Xo,e.Button=is,e.ButtonLink=ps,e.CLASS_NAME_OPEN=v,e.Card=ms,e.CardArtwork=hs,e.CardBody=ys,e.CardEyebrow=bs,e.CardFooter=xs,e.CardLink=Ps,e.CardLogo=Ss,e.CardMedia=Cs,e.CardSizes=be,e.CardTitle=ws,e.CharacterCounter=Os,e.Checkbox=Vs,e.ClassNamePrefixConsumer=ye,e.ClassNamePrefixProvider=ge,e.Collapse=So,e.ColorPrefixes=x,e.ComponentButtonColors=M,e.Container=qs,e.ContainerTokenSizes=X,e.ControlButton=Qs,e.DEBOUNCE_DELAY=50,e.DEFAULT_BASE_FONT_SIZE_PX=jt,e.DEFAULT_DECIMALS=fe,e.DEFAULT_ERROR_MESSAGE_MAX_FILE_SIZE=Ui,e.DEFAULT_ERROR_MESSAGE_QUEUE_DUPLICITY=Hi,e.DEFAULT_ERROR_MESSAGE_QUEUE_LIMIT=zi,e.DEFAULT_ERROR_MESSAGE_UNSUPPORTED_FILE=Vi,e.DEFAULT_FILE_ACTION_BUTTON_ICON_NAME=Ym,e.DEFAULT_FILE_ICON_NAME=Xm,e.DEFAULT_FILE_IMAGE_DIMENSION=48,e.DEFAULT_FILE_QUEUE_LIMIT=Bi,e.DEFAULT_FILE_SIZE_LIMIT=Fi,e.DEFAULT_ICON_NAME=Wi,e.DEFAULT_TOAST_AUTO_CLOSE_INTERVAL=Nm,e.DEFAULT_TOAST_COLOR=Cm,e.Dialog=Js,e.Direction=Q,e.DirectionAxis=J,e.DirectionExtended=Z,e.DisplayStyleProps=ue,e.Divider=ti,e.Drawer=li,e.DrawerCloseButton=pi,e.DrawerConsumer=si,e.DrawerPanel=di,e.DrawerProvider=oi,e.Dropdown=Si,e.DropdownContext=vi,e.DropdownFullWidthModes={OFF:"off",MOBILE_ONLY:"mobile-only",ALL:"all"},e.DropdownPopover=Ni,e.DropdownTrigger=Ci,e.EDGE_DETECTION_INACCURACY_PX=1,e.EmotionColors=F,e.Emphasis=H,e.EmptyState=Li,e.EmptyStateSection=Ii,e.FALLBACK_BASE_FONT_SIZE_PX=16,e.FieldGroup=Mi,e.FileImageCropCSS=Km,e.FileUploader=Zi,e.FileUploaderAttachment=pa,e.FileUploaderCropCSS=Gi,e.FileUploaderInput=ea,e.FileUploaderList=ta,e.FillVariants=Y,e.Flex=ko,e.Footer=fa,e.Grid=ya,e.GridItem=Ta,e.HEADER_ACTIONS_COLOR_DEFAULT=Sa,e.HEADER_COLOR_DEFAULT=Pa,e.HEADER_DIALOG_CLOSE_BUTTON_LABEL_DEFAULT=Ea,e.HEADER_MENU_TOGGLE_LABEL_DEFAULT=Ca,e.Header=wa,e.HeaderButton=Aa,e.HeaderDesktopActions=Ra,e.HeaderDialog=Da,e.HeaderDialogActions=La,e.HeaderDialogButton=Ia,e.HeaderDialogCloseButton=Ma,e.HeaderDialogConsumer=$a,e.HeaderDialogLink=Fa,e.HeaderDialogNav=Ba,e.HeaderDialogNavItem=Ua,e.HeaderDialogProvider=Oa,e.HeaderDialogText=Ha,e.HeaderLink=za,e.HeaderMobileActions=Va,e.HeaderNav=Wa,e.HeaderNavItem=Ga,e.Heading=Ya,e.HeadingStyleProps=de,e.HelperText=js,e.Hidden=Qa,e.I18nConsumer=Sn,e.I18nProvider=({children:e,locale:n="en",translations:r})=>{const o=t.useMemo((()=>{const e=Cn(r,n);return null==e||0===Object.keys(e).length?bn:Tn(bn,e)}),[n,r]);return t.createElement(Pn.Provider,{value:o},e)},e.ICON_BOX_SIZE=20,e.IMAGE_DIMENSION=54,e.IMAGE_PREVIEW_BASE64_MAX_WIDTH=500,e.ITEM_SELECTION_DECORATOR_BACKGROUND=ve,e.ITEM_SELECTION_DECORATOR_BOTH=xe,e.ITEM_SELECTION_DECORATOR_ICON=Te,e.Icon=Cr,e.IconBox=sl,e.IconsConsumer=kn,e.IconsProvider=Rn,e.InputDetails=Hs,e.InputPositions=te,e.Intensity=U,e.Item=ll,e.Label=Ls,e.Link=Wo,e.LinkColors={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},e.LinkColorsExtended={INHERIT:"inherit"},e.MAX_TO_FIXED_DIGITS=100,e.MULTIPLE_SELECTION_MODE=oe,e.Matrix=ul,e.Modal=bl,e.ModalBody=vl,e.ModalCloseButton=xl,e.ModalConsumer=hl,e.ModalDialog=Pl,e.ModalFooter=Sl,e.ModalHeader=Cl,e.ModalProvider=fl,e.Navigation=Al,e.NavigationAction=kl,e.NavigationAvatar=$l,e.NavigationItem=Dl,e.NoSsr=Ll,e.ObjectFit=ne,e.PICKER_POPOVER_FOCUSABLE_SELECTOR=Cf,e.PaddingStyleProps=ce,e.Pagination=Ml,e.PaginationButtonLink=Fl,e.PaginationItem=Bl,e.PaginationLink=Ul,e.PaginationLinkNext=Hl,e.PaginationLinkPrevious=zl,e.PartnerLogo=Xl,e.PickerPopoverContextProvider=vf,e.Pill=Zl,e.PillColorsExtended=Yl,e.Placements=z,e.Position=re,e.PricingPlan=tc,e.PricingPlanBody=Md,e.PricingPlanFooter=Bd,e.PricingPlanHeader=rc,e.ProductLogo=Ud,e.PropsConsumer=ts,e.PropsProvider=es,e.REM_UNIT="rem",e.Radio=zd,e.RouterConsumer=In,e.RouterProvider=e=>{const{navigate:n,children:r}=e,o=t.useMemo((()=>({navigate:n})),[n]);return t.createElement(Ln.Provider,{value:o},r)},e.SCROLL_CANCEL_DELAY=10,e.SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_END=Vd,e.SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START=Wd,e.SCROLL_VIEW_ARROWS_LABEL_VERTICAL_END=Gd,e.SCROLL_VIEW_ARROWS_LABEL_VERTICAL_START=qd,e.SCROLL_VIEW_DEFAULT_DIRECTION=Xd,e.SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR=Yd,e.SINGLE_SELECTION_MODE=se,e.STYLE_SPACING_AUTO=Se,e.ScrollView=tu,e.ScrollViewArrows=Jd,e.Section=iu,e.SegmentedControl=du,e.SegmentedControlItem=uu,e.Select=fu,e.ShapeVariants=K,e.Sizes=V,e.SizesExtended=W,e.SkeletonHeading=xu,e.SkeletonItem=gu,e.SkeletonShape=Eu,e.SkeletonText=bu,e.SkipLink=wu,e.Slider=Ru,e.SpacingStyleProp=le,e.Spinner=os,e.SpiritBreakpoints=Ce,e.SplitButton=$u,e.Stack=Oi,e.StackItem=ji,e.TOOLTIP_TRIGGER=Ne,e.TRANSITIONING_STYLES=Em,e.TRANSITION_DURATION=250,e.TabContent=Du,e.TabContext=Lu,e.TabItem=Uu,e.TabLink=zu,e.TabList=Vu,e.TabPane=Wu,e.Tabs=Gu,e.TabsConsumer=Mu,e.TabsProvider=Iu,e.Tag=Ju,e.TagColorsExtended=Yu,e.Text=nm,e.TextAlignments={LEFT:"left",CENTER:"center",RIGHT:"right"},e.TextArea=lm,e.TextColors=B,e.TextField=cm,e.TextFieldBase=am,e.TextHyphens={NONE:"none",AUTO:"auto",MANUAL:"manual"},e.TextStyleProps=pe,e.TextWordBreaks={NORMAL:"normal",ANYWHERE:"anywhere",LONG_WORDS:"long-words"},e.ThemeStyleProps=me,e.Timeline=hm,e.TimelineContent=gm,e.TimelineHeading=ym,e.TimelineMarker=vm,e.TimelineStep=Tm,e.Toast=Sm,e.ToastBar=Rm,e.ToastBarLink=$m,e.ToastBarMessage=km,e.ToastColorsExtended=wm,e.ToastContext=jm,e.ToastProvider=({children:e})=>{const[n,r]=t.useReducer(Dm,Lm),{queue:o}=n,s=t.useCallback((e=>{r({type:"hide",payload:{id:e}})}),[]),i=t.useCallback((()=>{r({type:"clear",payload:null})}),[]),a=t.useCallback(((e,t,n)=>{r({type:"show",payload:{content:e,toastId:t,options:n}}),n?.enableAutoClose&&Be((()=>s(t)),n?.autoCloseInterval||Nm)}),[s]),l=t.useCallback((e=>{r({type:"clear",payload:null}),e.forEach((e=>{const t=e.enableAutoClose??!0,n=e.autoCloseInterval||Nm;r({type:"show",payload:{content:{message:e.content.message,link:e.content.link??void 0},toastId:e.id,options:{autoCloseInterval:n,enableAutoClose:t,color:e.color,hasIcon:e.hasIcon||!1,iconName:e.iconName,isDismissible:e.isDismissible||!1,linkProps:e.linkProps||{}}}}),t&&Be((()=>s(e.id)),n)}))}),[s]),c=t.useMemo((()=>({clear:i,hide:s,queue:o,setQueue:l,show:a})),[s,a,i,o.length,l]);return gr.jsx(jm.Provider,{value:c,children:e})},e.Toggle=Bm,e.Tooltip=_d,e.TooltipCloseButton=Rd,e.TooltipPopover=kd,e.TooltipTrigger=$d,e.Truncate=qm,e.TruncateModes=we,e.UNDERLINED_OPTIONS=Pe,e.UNSTABLE_File=tf,e.UNSTABLE_FileImagePreview=rf,e.UNSTABLE_FileUpload=af,e.UNSTABLE_Header=pf,e.UNSTABLE_HeaderLogo=uf,e.UNSTABLE_Picker=Rf,e.UNSTABLE_PickerGroup=kf,e.UNSTABLE_PickerItem=Of,e.UNSTABLE_PickerTag=Sf,e.UNSTABLE_Table=Lf,e.UNSTABLE_UncontrolledPicker=$f,e.UncontrolledAccordion=Ao,e.UncontrolledCollapse=No,e.UncontrolledDropdown=Ai,e.UncontrolledFileUploader=ua,e.UncontrolledPagination=Wl,e.UncontrolledSplitButton=e=>{const{t:n}=An(),r={...ju,...e},{buttonIconName:o,buttonLabel:s,buttonOnClick:i,children:a,dropdownTriggerIconName:l,dropdownTriggerLabel:c,dropdownPlacement:p,id:d,isButtonLabelHidden:u,isDisabled:m,isDropdownTriggerLabelHidden:f,...h}=r,g=c??n("splitButton.dropdown"),[y,b]=t.useState(!1);return gr.jsxs($u,{...h,id:d,isDisabled:m,children:[gr.jsxs(is,{onClick:i,children:[o&&gr.jsx(Cr,{name:o,...!u&&{marginRight:"space-400"}}),u?gr.jsx(_s,{children:s}):s]}),gr.jsxs(Si,{id:`${d}-dropdown`,isOpen:y,onToggle:()=>b(!y),placement:p,children:[gr.jsxs(Ci,{elementType:is,children:[f?gr.jsx(_s,{children:g}):g,gr.jsx(Cr,{name:l,...!f&&{marginLeft:"space-400"}})]}),gr.jsx(Ni,{children:a})]})]})},e.UncontrolledTabs=Xu,e.UncontrolledToast=Mm,e.UncontrolledTooltip=Dd,e.ValidationStates={SUCCESS:"success",WARNING:"warning",DANGER:"danger"},e.ValidationText=Ms,e.VisuallyHidden=_s,e.applyClassNamePrefix=je,e.applyColor=De,e.applySize=Le,e.applyTheme=e=>t=>`${t}--${e}`,e.base64ToByteArray=e=>{const t=atob(e),n=new Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return new Uint8Array(n)},e.camelCaseToKebabCase=Bt,e.compose=Me,e.debounce=Fe,e.defaultTranslations=bn,e.delayedCallback=Be,e.fullWidthModeKeys=gi,e.generateColorsObject=Ie,e.generateResponsiveClassNames=Mt,e.generateResponsiveStylePropsClasses=qt,e.generateStaticStylePropsClasses=Gt,e.generateStylePropsClassNames=Xt,e.getAccentBackgroundColors=()=>Ie(E,"background","accent"),e.getAccentBorderColors=()=>Ie(E,"border","accent"),e.getAccentColorNames=()=>Object.keys(E),e.getAccentTextColors=()=>Ie(E,"content","accent"),e.getAttachmentInput=ia,e.getAttachmentMetaInput=aa,e.getEmotionBackgroundColors=()=>Ie(N,"background","emotion"),e.getEmotionBorderColors=()=>Ie(N,"border","emotion"),e.getEmotionColorNames=()=>Object.keys(N),e.getEmotionTextColors=()=>Ie(N,"content","emotion"),e.getNeutralBackgroundColors=()=>({NEUTRAL_BASIC:"neutral-basic",NEUTRAL_SUBTLE:"neutral-subtle"}),e.getNeutralTextColors=()=>({NEUTRAL_BASIC:"neutral-basic",NEUTRAL_SUBTLE:"neutral-subtle"}),e.getPickerPopoverFocusableElements=Nf,e.getSelectedKeys=qn,e.getTextColorNames=()=>Object.keys(w),e.getToggledSelectedKeys=Yn,e.handleLinkClick=Lt,e.htmlReactParser=kt,e.image2Base64Preview=la,e.isDirectionHorizontal=ee,e.isEmpty=$e,e.isEmptyArray=Re,e.isEmptyObject=ke,e.isEmptyString=_e,e.isEnumerable=Oe,e.isKeySelected=Xn,e.isNullish=Ae,e.isResponsive=It,e.isSSR=Ft,e.isSingleSelectionMode=Gn,e.kebabCaseToCamelCase=Ut,e.kebabCaseToCamelCaseValues=Ht,e.mergeStyleProps=Ot,e.mergeTranslations=Tn,e.normalizeStringValue=zt,e.pxToRem=Dt,e.replaceTranslationParams=Nn,e.resolveTranslationKey=wn,e.stringOrObjectKebabCaseToCamelCase=Vt,e.toPascalCase=Wt,e.truncateByCharacters=Hm,e.truncateByLines=zm,e.truncateByWords=Um,e.useAccordion=i,e.useAccordionAriaProps=p,e.useAccordionStyleProps=or,e.useAlertStyleProps=jo,e.useAlignmentClass=tn,e.useAriaDescribedBy=rn,e.useAriaDetails=on,e.useAriaIdRefs=nn,e.useAvatarStyleProps=Io,e.useBoxStyleProps=Bo,e.useBreadcrumbsStyleProps=Go,e.useButtonLinkProps=as,e.useButtonLinkStyleProps=ls,e.useButtonProps=Qo,e.useButtonStyleProps=Zo,e.useCancelEvent=cn,e.useCardStyleProps=ds,e.useCharacterCounterState=Rs,e.useCheckboxStyleProps=zs,e.useClassNamePrefix=pn,e.useClick=dn,e.useClickOutside=un,e.useCollapse=Eo,e.useCollapseAriaProps=bo,e.useCollapseStyleProps=vo,e.useContainerStyleProps=Ws,e.useContextProps=ns,e.useControlButtonProps=Xs,e.useControlButtonStyleProps=Ys,e.useControlledModeGuard=mn,e.useDebouncedValue=fn,e.useDefaultResponsiveRowsStyle=cl,e.useDeprecationMessage=hn,e.useDialog=Zs,e.useDimensionStyle=gn,e.useDividerStyleProps=ei,e.useDragAndDrop=yn,e.useDrawerContext=ii,e.useDrawerStyleProps=ai,e.useDropdown=wi,e.useDropdownAriaProps=yi,e.useDropdownStyleProps=Pi,e.useEmptyStateStyleProps=Di,e.useFileImageStyles=Zm,e.useFileQueue=da,e.useFileStyleProps=Jm,e.useFileUploadState=of,e.useFileUploadStyleProps=sf,e.useFileUploaderAttachment=ca,e.useFileUploaderInput=Ji,e.useFileUploaderStyleProps=Qi,e.useFlexStyleProps=_o,e.useGridStyleProps=ha,e.useHeaderDialogContext=ja,e.useHeaderStyleProps=Na,e.useHeadingStyleProps=qa,e.useI18n=An,e.useIcon=On,e.useIconBoxColors=nl,e.useIconBoxStyleProps=rl,e.useIconName=$n,e.useIconStyleProps=Sr,e.useInputDetailsStyleProps=Bs,e.useInputPositionClass=jn,e.useIsomorphicLayoutEffect=sn,e.useItemStyleProps=il,e.useLastActiveFocus=Dn,e.useLinkClick=Fn,e.useLinkStyleProps=zo,e.useMatrixStyleProps=pl,e.useModalContext=gl,e.useModalStyleProps=yl,e.useNavigationActionProps=_l,e.useNavigationStyleProps=Nl,e.useOpenItem=lr,e.usePaginationStyleProps=Il,e.usePartnerLogoStyleProps=Gl,e.usePickerId=Ef,e.usePickerPopoverContext=xf,e.usePickerPopoverTabOutToTrigger=wf,e.usePickerSelectionGridKeyboard=Af,e.usePickerStyleProps=_f,e.usePillStyleProps=Kl,e.usePricingPlanStyleProps=Jl,e.useRadioStyleProps=Hd,e.useResizeObserver=Hn,e.useRouter=Mn,e.useScrollCallback=Kd,e.useScrollControl=Wn,e.useScrollPosition=eu,e.useScrollViewArrows=Qd,e.useScrollViewStyleProps=Zd,e.useSectionSizeProps=ru,e.useSectionStyleProps=ou,e.useSegmentedControl=({defaultSelectedValue:e,isMultiselect:n})=>{let r;r=n?Array.isArray(e)?e:void 0!==e?[e]:[]:e??"";const[o,s]=t.useState(r);return{selectedValue:o,setSelectedValue:s}},e.useSegmentedControlStyleProps=cu,e.useSelectStyleProps=mu,e.useSelectionState=Kn,e.useSkeletonStyleProps=hu,e.useSkipLinkStyleProps=Cu,e.useSliderStyleProps=Au,e.useSpacingStyle=Qn,e.useSpinnerStyleProps=rs,e.useSplitButtonStyleProps=ku,e.useStyleProps=en,e.useSymmetry=Jn,e.useTab=qu,e.useTabContext=Fu,e.useTabsStyleProps=Bu,e.useTagStyleProps=Qu,e.useTextStyleProps=em,e.useTimelineStyleProps=mm,e.useToast=Im,e.useToggle=er,e.useToggleStyleProps=Fm,e.useTooltip=jd,e.useTooltipStyleProps=Ad,e.useTruncateStyleProps=Wm,e.useTruncatedText=Vm,e.useUnstableHeaderStyleProps=cf,e.useUnstableTableStyleProps=Df,e.useWrapClass=rr,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|
|
2
2
|
//# sourceMappingURL=web-react.umd.min.js.map
|