@arc-ui/components 12.0.0-beta.18 → 12.0.0-beta.20
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/lib/Alert/Alert.cjs +1 -1
- package/lib/Alert/Alert.mjs +1 -1
- package/lib/Alert/styles.css +1 -1
- package/lib/Align/styles.css +1 -1
- package/lib/AppButton/styles.css +1 -1
- package/lib/Avatar/Avatar.cjs +2 -1
- package/lib/Avatar/Avatar.mjs +2 -1
- package/lib/Avatar/styles.css +1 -1
- package/lib/AvatarGroup/AvatarGroup.cjs +2 -1
- package/lib/AvatarGroup/AvatarGroup.mjs +2 -1
- package/lib/AvatarGroup/styles.css +1 -1
- package/lib/Badge/styles.css +1 -1
- package/lib/Banner/Banner.cjs +2 -3
- package/lib/Banner/Banner.mjs +2 -3
- package/lib/Box/styles.css +1 -1
- package/lib/BrandLogo/styles.css +1 -1
- package/lib/Breadcrumbs/Breadcrumbs.cjs +2 -1
- package/lib/Breadcrumbs/Breadcrumbs.mjs +2 -1
- package/lib/Breadcrumbs/styles.css +1 -1
- package/lib/Button/Button.cjs +2 -2
- package/lib/Button/Button.mjs +2 -2
- package/lib/Button/styles.css +1 -1
- package/lib/ButtonGroup/ButtonGroup.cjs +3 -3
- package/lib/ButtonGroup/ButtonGroup.mjs +3 -3
- package/lib/ButtonGroup/styles.css +1 -1
- package/lib/ButtonV2/ButtonV2.cjs +2 -2
- package/lib/ButtonV2/ButtonV2.mjs +2 -2
- package/lib/ButtonV2/styles.css +1 -1
- package/lib/Calendar/Calendar.cjs +3 -3
- package/lib/Calendar/Calendar.mjs +3 -3
- package/lib/Calendar/styles.css +1 -1
- package/lib/CardFooter/CardFooter.cjs +2 -2
- package/lib/CardFooter/CardFooter.mjs +2 -2
- package/lib/CardFooter/styles.css +1 -1
- package/lib/CardHeading/styles.css +1 -1
- package/lib/Carousel/Carousel.cjs +1 -1
- package/lib/Carousel/Carousel.mjs +1 -1
- package/lib/Carousel/styles.css +1 -1
- package/lib/Checkbox/Checkbox.cjs +2 -2
- package/lib/Checkbox/Checkbox.mjs +2 -2
- package/lib/Checkbox/styles.css +1 -1
- package/lib/Columns/styles.css +1 -1
- package/lib/ComboBox/ComboBox.cjs +3 -3
- package/lib/ComboBox/ComboBox.mjs +3 -3
- package/lib/ComboBox/styles.css +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.cjs +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.mjs +1 -1
- package/lib/ContentSwitcher/styles.css +1 -1
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +1 -1
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +1 -1
- package/lib/ContentSwitcherDropdown/styles.css +1 -1
- package/lib/DatePicker/DatePicker.cjs +196 -17
- package/lib/DatePicker/DatePicker.mjs +200 -17
- package/lib/DatePicker/styles.css +1 -1
- package/lib/Disclosure/styles.css +1 -1
- package/lib/DisclosureMini/styles.css +1 -1
- package/lib/Download/styles.css +1 -1
- package/lib/Drawer/Drawer.cjs +46 -323
- package/lib/Drawer/Drawer.mjs +44 -306
- package/lib/Drawer/styles.css +1 -1
- package/lib/Elevation/styles.css +1 -1
- package/lib/Filter/styles.css +1 -1
- package/lib/FormControl/FormControl.cjs +1 -1
- package/lib/FormControl/FormControl.mjs +1 -1
- package/lib/FormControl/styles.css +1 -1
- package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +1 -1
- package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +1 -1
- package/lib/GhostedHeroBanner/styles.css +1 -1
- package/lib/GradientPageBackground/GradientPageBackground.cjs +257 -0
- package/lib/GradientPageBackground/GradientPageBackground.mjs +237 -0
- package/lib/GradientPageBackground/styles.css +1 -0
- package/lib/Grid/styles.css +1 -1
- package/lib/Group/styles.css +1 -1
- package/lib/Heading/styles.css +1 -1
- package/lib/HeroBanner/HeroBanner.cjs +2 -3
- package/lib/HeroBanner/HeroBanner.mjs +2 -3
- package/lib/HeroBanner/styles.css +1 -1
- package/lib/HeroButton/HeroButton.cjs +2 -2
- package/lib/HeroButton/HeroButton.mjs +2 -2
- package/lib/HeroButton/styles.css +1 -1
- package/lib/Hidden/styles.css +1 -1
- package/lib/HorizontalCard/HorizontalCard.cjs +3 -2
- package/lib/HorizontalCard/HorizontalCard.mjs +3 -2
- package/lib/HorizontalCard/styles.css +1 -1
- package/lib/Icon/Icon.cjs +1 -1
- package/lib/Icon/Icon.mjs +1 -1
- package/lib/Icon/styles.css +1 -1
- package/lib/Image/styles.css +1 -1
- package/lib/ImpactCard/ImpactCard.cjs +7 -4
- package/lib/ImpactCard/ImpactCard.mjs +7 -4
- package/lib/ImpactCard/styles.css +1 -1
- package/lib/InformationCard/InformationCard.cjs +7 -5
- package/lib/InformationCard/InformationCard.mjs +7 -5
- package/lib/InformationCard/styles.css +1 -1
- package/lib/Link/Link.cjs +1 -1
- package/lib/Link/Link.mjs +1 -1
- package/lib/Link/styles.css +1 -1
- package/lib/Markup/styles.css +1 -1
- package/lib/MediaCard/MediaCard.cjs +3 -5
- package/lib/MediaCard/MediaCard.mjs +3 -5
- package/lib/MediaCard/styles.css +1 -1
- package/lib/Menu/Menu.cjs +35 -48
- package/lib/Menu/Menu.mjs +21 -34
- package/lib/Menu/styles.css +1 -1
- package/lib/Modal/Modal.cjs +2 -2
- package/lib/Modal/Modal.mjs +2 -2
- package/lib/Modal/styles.css +1 -1
- package/lib/Pagination/styles.css +1 -1
- package/lib/PaginationSimple/PaginationSimple.cjs +1 -1
- package/lib/PaginationSimple/PaginationSimple.mjs +1 -1
- package/lib/PaginationSimple/styles.css +1 -1
- package/lib/Popover/styles.css +1 -1
- package/lib/Poster/styles.css +1 -1
- package/lib/ProgressBar/styles.css +1 -1
- package/lib/ProgressStepper/ProgressStepper.cjs +10 -72
- package/lib/ProgressStepper/ProgressStepper.mjs +8 -74
- package/lib/ProgressStepper/styles.css +1 -1
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +20 -0
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +14 -0
- package/lib/ProgressStepperOverflow/styles.css +1 -0
- package/lib/RadioCardGroup/RadioCardGroup.cjs +3 -3
- package/lib/RadioCardGroup/RadioCardGroup.mjs +4 -4
- package/lib/RadioCardGroup/styles.css +1 -1
- package/lib/RadioGroup/RadioGroup.cjs +4 -5
- package/lib/RadioGroup/RadioGroup.mjs +5 -6
- package/lib/RadioGroup/styles.css +1 -1
- package/lib/Rule/styles.css +1 -1
- package/lib/ScrollToTop/ScrollToTop.cjs +5 -2
- package/lib/ScrollToTop/ScrollToTop.mjs +5 -2
- package/lib/ScrollToTop/styles.css +1 -1
- package/lib/Section/styles.css +1 -1
- package/lib/Select/Select.cjs +11 -15
- package/lib/Select/Select.mjs +12 -16
- package/lib/Select/styles.css +1 -1
- package/lib/SiteFooter/SiteFooter.cjs +10 -7
- package/lib/SiteFooter/SiteFooter.mjs +10 -7
- package/lib/SiteFooter/styles.css +1 -1
- package/lib/SiteFooterV2/SiteFooterV2.cjs +19 -22
- package/lib/SiteFooterV2/SiteFooterV2.mjs +19 -22
- package/lib/SiteFooterV2/styles.css +1 -1
- package/lib/SiteHeaderV2/SiteHeaderV2.cjs +4 -4
- package/lib/SiteHeaderV2/SiteHeaderV2.mjs +5 -5
- package/lib/SiteHeaderV2/styles.css +1 -1
- package/lib/Skeleton/styles.css +1 -1
- package/lib/SkipLink/styles.css +1 -1
- package/lib/Spinner/styles.css +1 -1
- package/lib/Surface/styles.css +1 -1
- package/lib/Switch/Switch.cjs +17 -14
- package/lib/Switch/Switch.mjs +17 -14
- package/lib/Switch/styles.css +1 -1
- package/lib/TabbedBanner/TabbedBanner.cjs +9 -6
- package/lib/TabbedBanner/TabbedBanner.mjs +9 -6
- package/lib/TabbedBanner/styles.css +1 -1
- package/lib/Tabs/Tabs.cjs +1 -1
- package/lib/Tabs/Tabs.mjs +1 -1
- package/lib/Tabs/styles.css +1 -1
- package/lib/Tag/Tag.cjs +1 -1
- package/lib/Tag/Tag.mjs +1 -1
- package/lib/Tag/styles.css +1 -1
- package/lib/TemplateBanner/TemplateBanner.cjs +2 -3
- package/lib/TemplateBanner/TemplateBanner.mjs +2 -3
- package/lib/TemplateBanner/styles.css +1 -1
- package/lib/Text/styles.css +1 -1
- package/lib/TextArea/TextArea.cjs +19 -17
- package/lib/TextArea/TextArea.mjs +19 -17
- package/lib/TextArea/styles.css +1 -1
- package/lib/TextInput/TextInput.cjs +2 -2
- package/lib/TextInput/TextInput.mjs +2 -2
- package/lib/TextInput/styles.css +1 -1
- package/lib/Theme/Theme.cjs +1 -1
- package/lib/Theme/Theme.mjs +1 -1
- package/lib/Theme/styles.css +1 -1
- package/lib/ThemeIcon/styles.css +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +5 -8
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +5 -8
- package/lib/ThumbnailSignpost/styles.css +1 -1
- package/lib/Toast/styles.css +1 -1
- package/lib/Tooltip/Tooltip.cjs +1 -1
- package/lib/Tooltip/Tooltip.mjs +1 -1
- package/lib/Tooltip/styles.css +1 -1
- package/lib/Truncate/styles.css +1 -1
- package/lib/TypographyCard/TypographyCard.cjs +7 -4
- package/lib/TypographyCard/TypographyCard.mjs +7 -4
- package/lib/TypographyCard/styles.css +1 -1
- package/lib/UniversalHeader/styles.css +1 -1
- package/lib/VerticalSpace/styles.css +1 -1
- package/lib/VideoPlayer/VideoPlayer.cjs +1 -1
- package/lib/VideoPlayer/VideoPlayer.mjs +1 -1
- package/lib/VideoPlayer/styles.css +1 -1
- package/lib/Visible/Visible.cjs +6 -14
- package/lib/Visible/Visible.mjs +4 -16
- package/lib/Visible/styles.css +1 -1
- package/lib/VisuallyHidden/styles.css +1 -1
- package/lib/_shared/cjs/{Avatar-CxbjOB_b.cjs → Avatar-CrUioj_6.cjs} +4 -1
- package/lib/_shared/cjs/{Button-CKTa6bQL.cjs → Button-uD9mR8w-.cjs} +1 -1
- package/lib/_shared/cjs/{ButtonV2-CRNNZ_nd.cjs → ButtonV2-Bta5SVVY.cjs} +2 -2
- package/lib/_shared/cjs/{Calendar-C5C0evEy.cjs → Calendar-D4ZSaHHU.cjs} +3 -3
- package/lib/_shared/cjs/{CardFooter-DwE-u0Om.cjs → CardFooter-ChphRFHe.cjs} +1 -1
- package/lib/_shared/cjs/{Checkbox-D2UQsmiB.cjs → Checkbox-DfZMjO1Y.cjs} +1 -1
- package/lib/_shared/cjs/{ComboBox-BIMxZhJp.cjs → ComboBox-BGUhlqx1.cjs} +2 -2
- package/lib/_shared/cjs/{ContentSwitcherDropdown-CAWaAMZN.cjs → ContentSwitcherDropdown-U5ZTbJTe.cjs} +1 -1
- package/lib/_shared/cjs/{ContentSwitcherList-I7jCZn8C.cjs → ContentSwitcherList-nlxMHXs-.cjs} +3 -2
- package/lib/_shared/cjs/{DatePicker-BgU6iidG.cjs → DatePicker-DS6fAvxD.cjs} +48 -30
- package/lib/_shared/cjs/{FormControl-D3-JbAVb.cjs → FormControl-BPnKQrCm.cjs} +19 -13
- package/lib/_shared/cjs/{HeroButton-CiIygZ16.cjs → HeroButton-CrzkTUwP.cjs} +1 -1
- package/lib/_shared/cjs/{Icon-KMACQ1i3.cjs → Icon-CzhyKqMd.cjs} +1 -1
- package/lib/_shared/cjs/{MediaCard-kcqfmeue.cjs → MediaCard-BEZFbiYO.cjs} +5 -9
- package/lib/_shared/cjs/{MenuSubContent-Bs2_ebS3.cjs → MenuItemMultiLevelContent-vLr6hSBm.cjs} +7 -9
- package/lib/_shared/cjs/ProgressStepper-BL9Y5c4X.cjs +77 -0
- package/lib/_shared/cjs/ProgressStepperOverflow-v-TyS5Sp.cjs +142 -0
- package/lib/_shared/cjs/{RadioCardGroupInput-BmntgyWB.cjs → RadioCardGroupInput-CeUM3yPS.cjs} +1 -1
- package/lib/_shared/cjs/{RadioGroupInput-D3trTxB5.cjs → RadioGroupInput-w2qkfsnG.cjs} +2 -2
- package/lib/_shared/cjs/{SiteHeaderV2NavItemWithSubNav-DgoCW2W3.cjs → SiteHeaderV2NavItemWithSubNav-fQPk0gZU.cjs} +3 -3
- package/lib/_shared/cjs/{TemplateBanner-BMi77IGK.cjs → TemplateBanner-CGtTUy81.cjs} +13 -6
- package/lib/_shared/cjs/{TextInput-DT4hi02U.cjs → TextInput-ByySubi5.cjs} +7 -7
- package/lib/_shared/cjs/Visible-Dx__9oZG.cjs +18 -0
- package/lib/_shared/cjs/{index.es-sqSQUWYg.cjs → index.es-DBEGtWPg.cjs} +1 -1
- package/lib/_shared/esm/{Avatar-B8aoUhmE.mjs → Avatar-Fb1E5MA9.mjs} +4 -1
- package/lib/_shared/esm/{Button-9L4AksQP.mjs → Button-BxuM3_gz.mjs} +1 -1
- package/lib/_shared/esm/{ButtonV2-2U4PvnpS.mjs → ButtonV2-DwYBAojW.mjs} +2 -2
- package/lib/_shared/esm/{Calendar-L6u3D8xb.mjs → Calendar-CjqPM7ta.mjs} +3 -3
- package/lib/_shared/esm/{CardFooter-CgDDDI7Z.mjs → CardFooter-fsAY4cc6.mjs} +1 -1
- package/lib/_shared/esm/{Checkbox-NxnK40uZ.mjs → Checkbox-CwOHzlQF.mjs} +1 -1
- package/lib/_shared/esm/{ComboBox-DUTrEu0N.mjs → ComboBox-CRlJjeev.mjs} +2 -2
- package/lib/_shared/esm/{ContentSwitcherDropdown-dktkyAjY.mjs → ContentSwitcherDropdown-BCkuAfwC.mjs} +1 -1
- package/lib/_shared/esm/{ContentSwitcherList-OnZoE86O.mjs → ContentSwitcherList-DKPD9GfN.mjs} +3 -2
- package/lib/_shared/esm/{DatePicker-CccSfg17.mjs → DatePicker-3sYJ3wGn.mjs} +46 -31
- package/lib/_shared/esm/{FormControl-B9fp1ilz.mjs → FormControl-CWyrVi1u.mjs} +19 -13
- package/lib/_shared/esm/{HeroButton-HYskwyvn.mjs → HeroButton-jdjjV_Gf.mjs} +1 -1
- package/lib/_shared/esm/{Icon-MZfaoOo9.mjs → Icon-CcPOJcQm.mjs} +1 -1
- package/lib/_shared/esm/{MediaCard-CjTDOvmx.mjs → MediaCard-DqMaNWsE.mjs} +5 -9
- package/lib/_shared/esm/{MenuSubContent-Cv9mSn58.mjs → MenuItemMultiLevelContent-JTOHqpzg.mjs} +7 -8
- package/lib/_shared/esm/ProgressStepper-CLBtBNy2.mjs +74 -0
- package/lib/_shared/esm/ProgressStepperOverflow-B9ba8ljs.mjs +140 -0
- package/lib/_shared/esm/{RadioCardGroupInput-Cy1r7M8l.mjs → RadioCardGroupInput-D7W28geB.mjs} +1 -1
- package/lib/_shared/esm/{RadioGroupInput-DiRS2jwQ.mjs → RadioGroupInput-zAWSV29m.mjs} +2 -2
- package/lib/_shared/esm/{SiteHeaderV2NavItemWithSubNav-BLqiSeEC.mjs → SiteHeaderV2NavItemWithSubNav-BMoBdUxK.mjs} +3 -3
- package/lib/_shared/esm/{TemplateBanner-zc4VmeeW.mjs → TemplateBanner-Up6cR-3_.mjs} +14 -7
- package/lib/_shared/esm/{TextInput-Vp_cBbpQ.mjs → TextInput-Dk7qNGoh.mjs} +7 -7
- package/lib/_shared/esm/Visible-C-jVXUWp.mjs +16 -0
- package/lib/_shared/esm/{index.es-C3WGtwrW.mjs → index.es-DCvYtQfu.mjs} +2 -2
- package/lib/index.cjs +1177 -877
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +193 -63
- package/lib/index.d.mts +193 -63
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1167 -872
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +8 -22
- package/package.json +8 -8
- package/lib/GradientBackground/GradientBackground.cjs +0 -19
- package/lib/GradientBackground/GradientBackground.mjs +0 -17
- package/lib/GradientBackground/styles.css +0 -1
package/lib/index.cjs
CHANGED
|
@@ -423,10 +423,10 @@ var Icon$1 = function (_a) {
|
|
|
423
423
|
var colors$1 = [
|
|
424
424
|
"auto",
|
|
425
425
|
"brand",
|
|
426
|
+
"brand-alt",
|
|
426
427
|
"statusRed",
|
|
427
428
|
"statusAmber",
|
|
428
429
|
"statusGreen",
|
|
429
|
-
"gradient",
|
|
430
430
|
];
|
|
431
431
|
|
|
432
432
|
var ThemeIcon = function (_a) {
|
|
@@ -642,7 +642,9 @@ var Avatar = function (_a) {
|
|
|
642
642
|
var wrapperAttrs = __assign({ className: classNames("arc-Avatar", "arc-Avatar--".concat(size), {
|
|
643
643
|
"arc-Avatar--img": Boolean(img),
|
|
644
644
|
}) }, filterAttrs(props));
|
|
645
|
-
return (React.createElement(ConditionalWrapper, { condition: Boolean(href), wrapper: function (children) { return (React.createElement("a", __assign({ href: href, "aria-label": ariaLabel, onClick: onClick, title: title }, wrapperAttrs), children)); }, fallback: function (children) { return React.createElement(
|
|
645
|
+
return (React.createElement(ConditionalWrapper, { condition: Boolean(href), wrapper: function (children) { return (React.createElement("a", __assign({ href: href, "aria-label": ariaLabel, onClick: onClick, title: title }, wrapperAttrs), children)); }, fallback: function (children) { return (React.createElement(React.Fragment, null,
|
|
646
|
+
React.createElement("div", __assign({}, wrapperAttrs), children),
|
|
647
|
+
ariaLabel && React.createElement(VisuallyHidden$2, null, ariaLabel))); } },
|
|
646
648
|
React.createElement(AvatarContent, { size: size, img: img, initials: initials })));
|
|
647
649
|
};
|
|
648
650
|
|
|
@@ -670,152 +672,6 @@ var Badge = function (_a) {
|
|
|
670
672
|
return (React.createElement("div", __assign({ className: classNames("arc-Badge", suffixModifier("arc-Badge--state", state)) }, (ariaLabel && { "aria-label": ariaLabel }), (ariaRole && { role: ariaRole }), filterAttrs(props)), children));
|
|
671
673
|
};
|
|
672
674
|
|
|
673
|
-
/**
|
|
674
|
-
* Do not edit directly
|
|
675
|
-
* Generated on Mon, 19 May 2025 14:54:16 GMT
|
|
676
|
-
*/
|
|
677
|
-
var ArcSizeBreakpointsXs = "320px";
|
|
678
|
-
var ArcSizeBreakpointsS = "636px";
|
|
679
|
-
var ArcSizeBreakpointsM = "768px";
|
|
680
|
-
var ArcSizeBreakpointsL = "1024px";
|
|
681
|
-
var ArcSizeBreakpointsXl = "1280px";
|
|
682
|
-
var ArcSizeBreakpointsXxl = "1440px";
|
|
683
|
-
|
|
684
|
-
/**
|
|
685
|
-
* Optionally define ariaDescribedBy if errorMessage or helper exist.
|
|
686
|
-
*/
|
|
687
|
-
var useAriaDescribedby = function (_a) {
|
|
688
|
-
var id = _a.id, _b = _a.idError, idError = _b === void 0 ? "".concat(id, "-error") : _b, _c = _a.idHelper, idHelper = _c === void 0 ? "".concat(id, "-helper") : _c, _d = _a.idDisclosure, idDisclosure = _d === void 0 ? "".concat(id, "-disclosure") : _d, errorMessage = _a.errorMessage, helper = _a.helper, disclosureText = _a.disclosureText;
|
|
689
|
-
if (!id) {
|
|
690
|
-
return {
|
|
691
|
-
ariaDescribedby: undefined,
|
|
692
|
-
idHelper: undefined,
|
|
693
|
-
idError: undefined,
|
|
694
|
-
idDisclosure: undefined,
|
|
695
|
-
};
|
|
696
|
-
}
|
|
697
|
-
var ariaDescribedbyArr = [];
|
|
698
|
-
if (errorMessage) {
|
|
699
|
-
ariaDescribedbyArr.push(idError);
|
|
700
|
-
}
|
|
701
|
-
if (helper) {
|
|
702
|
-
ariaDescribedbyArr.push(idHelper);
|
|
703
|
-
}
|
|
704
|
-
if (disclosureText) {
|
|
705
|
-
ariaDescribedbyArr.push(idDisclosure);
|
|
706
|
-
}
|
|
707
|
-
var ariaDescribedby = ariaDescribedbyArr.length > 0 ? ariaDescribedbyArr.join(" ") : undefined;
|
|
708
|
-
return { ariaDescribedby: ariaDescribedby, idError: idError, idHelper: idHelper, idDisclosure: idDisclosure };
|
|
709
|
-
};
|
|
710
|
-
|
|
711
|
-
/**
|
|
712
|
-
* Infer the correct inputMode, pattern and type if specifying a `number` type.
|
|
713
|
-
*/
|
|
714
|
-
var useNumericInput = function (props) {
|
|
715
|
-
var type = props.type === "number" ? "text" : props.type;
|
|
716
|
-
var inputMode = props.inputMode;
|
|
717
|
-
if (!props.inputMode) {
|
|
718
|
-
if (props.type === "email") {
|
|
719
|
-
inputMode = "email";
|
|
720
|
-
}
|
|
721
|
-
else if (props.type === "number") {
|
|
722
|
-
inputMode = "numeric";
|
|
723
|
-
}
|
|
724
|
-
else if (props.type === "tel") {
|
|
725
|
-
inputMode = "tel";
|
|
726
|
-
}
|
|
727
|
-
else if (props.type === "url") {
|
|
728
|
-
inputMode = "url";
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
var pattern = props.pattern;
|
|
732
|
-
if (!props.pattern && props.type === "number") {
|
|
733
|
-
pattern = "[0-9]*";
|
|
734
|
-
}
|
|
735
|
-
return { inputMode: inputMode, pattern: pattern, type: type };
|
|
736
|
-
};
|
|
737
|
-
|
|
738
|
-
var usePagination = function (pageCount, selectedPage) {
|
|
739
|
-
var formatValues = function (range) {
|
|
740
|
-
return range.map(function (value) { return value.toString(); });
|
|
741
|
-
};
|
|
742
|
-
return React.useMemo(function () {
|
|
743
|
-
if (pageCount > 7 && selectedPage < 5) {
|
|
744
|
-
// show 1 - 5 the right dots are visible.
|
|
745
|
-
return formatValues(__spreadArray(__spreadArray([], Array.from({ length: 5 }, function (_value, index) { return index + 1; }), true), [
|
|
746
|
-
"...",
|
|
747
|
-
pageCount,
|
|
748
|
-
], false));
|
|
749
|
-
}
|
|
750
|
-
if (pageCount > 7 && selectedPage >= pageCount - 3) {
|
|
751
|
-
// show numbers to the end but the left dots are visible
|
|
752
|
-
return formatValues(__spreadArray([
|
|
753
|
-
1,
|
|
754
|
-
"..."
|
|
755
|
-
], Array.from({ length: 5 }, function (_value, index) { return pageCount - index; }).reverse(), true));
|
|
756
|
-
}
|
|
757
|
-
if (pageCount > 7 && selectedPage >= 5 && selectedPage < pageCount - 3) {
|
|
758
|
-
// show selected page with one number either side and both the left and the right dots are visible.
|
|
759
|
-
return formatValues([
|
|
760
|
-
1,
|
|
761
|
-
"...",
|
|
762
|
-
selectedPage - 1,
|
|
763
|
-
selectedPage,
|
|
764
|
-
selectedPage + 1,
|
|
765
|
-
"...",
|
|
766
|
-
pageCount,
|
|
767
|
-
]);
|
|
768
|
-
}
|
|
769
|
-
// show all pages from pageCount
|
|
770
|
-
return formatValues(Array.from({ length: pageCount }, function (_value, index) { return index + 1; }));
|
|
771
|
-
}, [pageCount, selectedPage]);
|
|
772
|
-
};
|
|
773
|
-
|
|
774
|
-
var useThemeElement = function () {
|
|
775
|
-
var _a = React.useState(undefined), themeElement = _a[0], setElement = _a[1];
|
|
776
|
-
var setThemeElement = function (el) {
|
|
777
|
-
el &&
|
|
778
|
-
setElement(el.closest(".arc-ds-sys-theme") || undefined);
|
|
779
|
-
};
|
|
780
|
-
return [themeElement, setThemeElement];
|
|
781
|
-
};
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
* @typedef MediaQueryOutputs
|
|
785
|
-
* @param {boolean} matches - does the document match the media query?
|
|
786
|
-
*/
|
|
787
|
-
/**
|
|
788
|
-
* Handle with care!
|
|
789
|
-
*
|
|
790
|
-
* If you need to change something in the browser based on @media query, you
|
|
791
|
-
* probably don’t need this hook. Use CSS media queries instead.
|
|
792
|
-
*
|
|
793
|
-
* Sometimes UI requirements are not achievable with CSS media queries alone. In
|
|
794
|
-
* these rare cases, use this hook to make media query matches available
|
|
795
|
-
* to React JavaScript code.
|
|
796
|
-
*
|
|
797
|
-
* @param {string} mediaQuery - the media query to parse
|
|
798
|
-
* @returns {MediaQueryOutputs}
|
|
799
|
-
*/
|
|
800
|
-
var useMediaQuery = function (mediaQuery) {
|
|
801
|
-
var mediaQueryList = typeof window !== "undefined" ? window.matchMedia(mediaQuery) : undefined;
|
|
802
|
-
var _a = React.useState(false), matches = _a[0], setMatches = _a[1];
|
|
803
|
-
React.useEffect(function () {
|
|
804
|
-
setMatches(typeof window !== "undefined"
|
|
805
|
-
? window.matchMedia(mediaQuery).matches
|
|
806
|
-
: false);
|
|
807
|
-
}, [mediaQuery]);
|
|
808
|
-
React.useEffect(function () {
|
|
809
|
-
var onMatchMedia = function (event) { return setMatches(event.matches); };
|
|
810
|
-
// Using deprecated addListener methods here for IE & Safari 13 support
|
|
811
|
-
if (mediaQueryList) {
|
|
812
|
-
mediaQueryList.addListener(onMatchMedia);
|
|
813
|
-
}
|
|
814
|
-
return function () { return mediaQueryList && mediaQueryList.removeListener(onMatchMedia); };
|
|
815
|
-
}, [mediaQueryList]);
|
|
816
|
-
return matches;
|
|
817
|
-
};
|
|
818
|
-
|
|
819
675
|
/**
|
|
820
676
|
* Use `VerticalSpace` to create vertical space between components.
|
|
821
677
|
*/
|
|
@@ -891,9 +747,28 @@ var BannerImage = function (_a) {
|
|
|
891
747
|
sources.map(function (source) { return React.createElement("source", __assign({ key: source.srcSet }, source)); })));
|
|
892
748
|
};
|
|
893
749
|
|
|
750
|
+
var Visible = function (_a) {
|
|
751
|
+
var children = _a.children, xs = _a.xs, s = _a.s, m = _a.m, l = _a.l, xl = _a.xl, props = __rest(_a, ["children", "xs", "s", "m", "l", "xl"]);
|
|
752
|
+
return (React.createElement("div", __assign({ className: classNames("arc-Visible", {
|
|
753
|
+
"arc-Visible--xs": xs,
|
|
754
|
+
"arc-Visible--s": s,
|
|
755
|
+
"arc-Visible--m": m,
|
|
756
|
+
"arc-Visible--l": l,
|
|
757
|
+
"arc-Visible--xl": xl,
|
|
758
|
+
}) }, filterAttrs(props)), children));
|
|
759
|
+
};
|
|
760
|
+
|
|
761
|
+
var BannerRow = function (_a) {
|
|
762
|
+
var isReversed = _a.isReversed, children = _a.children;
|
|
763
|
+
return (React.createElement(React.Fragment, null,
|
|
764
|
+
React.createElement(Visible, { xs: true, s: true },
|
|
765
|
+
React.createElement(GridRow, { "data-testid": "arc-TemplateBanner-gridRow-mobile" }, children)),
|
|
766
|
+
React.createElement(Visible, { m: true, l: true, xl: true },
|
|
767
|
+
React.createElement(GridRow, { "data-testid": "arc-TemplateBanner-gridRow-desktop", direction: isReversed ? "row-reverse" : "row" }, children))));
|
|
768
|
+
};
|
|
769
|
+
|
|
894
770
|
var TemplateBanner = function (_a) {
|
|
895
771
|
var heading = _a.heading, label = _a.label, text = _a.text, img = _a.img, _b = _a.contentRatio, contentRatio = _b === void 0 ? "1/1" : _b, children = _a.children, _c = _a.alignment, alignment = _c === void 0 ? "center" : _c, additionalTopMargin = _a.additionalTopMargin, _d = _a.minHeight, minHeight = _d === void 0 ? 454 : _d, _e = _a.headingSize, headingSize = _e === void 0 ? "xl" : _e, _f = _a.isReversed, isReversed = _f === void 0 ? false : _f, _g = _a.isElevated, isElevated = _g === void 0 ? false : _g, _h = _a.headingLevel, headingLevel = _h === void 0 ? "2" : _h, _j = _a.type, type = _j === void 0 ? "light" : _j, props = __rest(_a, ["heading", "label", "text", "img", "contentRatio", "children", "alignment", "additionalTopMargin", "minHeight", "headingSize", "isReversed", "isElevated", "headingLevel", "type"]);
|
|
896
|
-
var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
|
|
897
772
|
var backgrounds = {
|
|
898
773
|
dark: "dark-brand-02",
|
|
899
774
|
light: "light-white",
|
|
@@ -906,7 +781,6 @@ var TemplateBanner = function (_a) {
|
|
|
906
781
|
};
|
|
907
782
|
var isContained = type === "contained";
|
|
908
783
|
var borderWidth = isContained && !isElevated ? "thin" : undefined;
|
|
909
|
-
var direction = isReversed && isMinWidthArcBreakpointM ? "row-reverse" : "row";
|
|
910
784
|
var columnWithImgWidths = {
|
|
911
785
|
"1/0": 12,
|
|
912
786
|
"2/3": 8,
|
|
@@ -917,7 +791,7 @@ var TemplateBanner = function (_a) {
|
|
|
917
791
|
}) }, filterAttrs(props)),
|
|
918
792
|
React.createElement(Box, { isBorderRadius: true, "data-testid": "arc-TemplateBanner-box", borderWidth: borderWidth, surface: backgrounds[type], isSurfaceTransparent: !isContained },
|
|
919
793
|
React.createElement(Grid, { isGutterless: true, isFluid: true },
|
|
920
|
-
React.createElement(
|
|
794
|
+
React.createElement(BannerRow, { "data-testid": "arc-TemplateBanner-gridRow", isReversed: isReversed },
|
|
921
795
|
React.createElement(GridCol, { "data-testid": "arc-TemplateBanner-contentCol", align: {
|
|
922
796
|
m: alignment === "start" ? "start" : "center",
|
|
923
797
|
xs: !img || contentRatio === "1/0" ? "center" : "start",
|
|
@@ -926,7 +800,7 @@ var TemplateBanner = function (_a) {
|
|
|
926
800
|
"arc-TemplateBanner-content--additionalTopMargin": additionalTopMargin && alignment === "start",
|
|
927
801
|
}) },
|
|
928
802
|
label && (React.createElement(React.Fragment, null,
|
|
929
|
-
React.createElement(Heading, {
|
|
803
|
+
React.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
|
|
930
804
|
React.createElement(VerticalSpace, { size: "8" }))),
|
|
931
805
|
React.createElement(Heading, { level: headingLevel, size: headingSize }, heading),
|
|
932
806
|
text && (React.createElement(React.Fragment, null,
|
|
@@ -1677,6 +1551,7 @@ var Breadcrumbs = function (_a) {
|
|
|
1677
1551
|
window.addEventListener("resize", handleResize);
|
|
1678
1552
|
return function () {
|
|
1679
1553
|
window.removeEventListener("resize", handleResize);
|
|
1554
|
+
handleResize.cancel();
|
|
1680
1555
|
};
|
|
1681
1556
|
}, []);
|
|
1682
1557
|
var items = React.Children.toArray(children);
|
|
@@ -1799,7 +1674,7 @@ var ButtonV2 = React.forwardRef(function (_a, ref) {
|
|
|
1799
1674
|
case "compact":
|
|
1800
1675
|
case "secondary":
|
|
1801
1676
|
case "tertiary":
|
|
1802
|
-
return
|
|
1677
|
+
return "brand-alt";
|
|
1803
1678
|
default:
|
|
1804
1679
|
return "auto";
|
|
1805
1680
|
}
|
|
@@ -2026,77 +1901,223 @@ function startOfMonth(dirtyDate) {
|
|
|
2026
1901
|
return date;
|
|
2027
1902
|
}
|
|
2028
1903
|
|
|
2029
|
-
var containsDate = function (dates, compareDate) {
|
|
2030
|
-
return dates.map(function (date) { return date.getTime(); }).includes(compareDate.getTime());
|
|
2031
|
-
};
|
|
2032
|
-
|
|
2033
1904
|
/**
|
|
2034
|
-
*
|
|
2035
|
-
*
|
|
2036
|
-
* @summary Get the month of the given date.
|
|
2037
|
-
*
|
|
2038
|
-
* @description
|
|
2039
|
-
* Get the month of the given date.
|
|
2040
|
-
*
|
|
2041
|
-
* @param {Date|Number} date - the given date
|
|
2042
|
-
* @returns {Number} the month
|
|
2043
|
-
* @throws {TypeError} 1 argument required
|
|
2044
|
-
*
|
|
2045
|
-
* @example
|
|
2046
|
-
* // Which month is 29 February 2012?
|
|
2047
|
-
* const result = getMonth(new Date(2012, 1, 29))
|
|
2048
|
-
* //=> 1
|
|
1905
|
+
* Do not edit directly
|
|
1906
|
+
* Generated on Mon, 21 Jul 2025 12:02:37 GMT
|
|
2049
1907
|
*/
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
1908
|
+
var ArcSizeBreakpointsXs = "320px";
|
|
1909
|
+
var ArcSizeBreakpointsS = "636px";
|
|
1910
|
+
var ArcSizeBreakpointsM = "768px";
|
|
1911
|
+
var ArcSizeBreakpointsL = "1024px";
|
|
1912
|
+
var ArcSizeBreakpointsXl = "1280px";
|
|
1913
|
+
var ArcSizeBreakpointsXxl = "1440px";
|
|
2056
1914
|
|
|
2057
1915
|
/**
|
|
2058
|
-
*
|
|
2059
|
-
* @category Year Helpers
|
|
2060
|
-
* @summary Get the year of the given date.
|
|
2061
|
-
*
|
|
2062
|
-
* @description
|
|
2063
|
-
* Get the year of the given date.
|
|
2064
|
-
*
|
|
2065
|
-
* @param {Date|Number} date - the given date
|
|
2066
|
-
* @returns {Number} the year
|
|
2067
|
-
* @throws {TypeError} 1 argument required
|
|
2068
|
-
*
|
|
2069
|
-
* @example
|
|
2070
|
-
* // Which year is 2 July 2014?
|
|
2071
|
-
* const result = getYear(new Date(2014, 6, 2))
|
|
2072
|
-
* //=> 2014
|
|
1916
|
+
* Optionally define ariaDescribedBy if errorMessage or helper exist.
|
|
2073
1917
|
*/
|
|
2074
|
-
function
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
1918
|
+
var useAriaDescribedby = function (_a) {
|
|
1919
|
+
var id = _a.id, _b = _a.idError, idError = _b === void 0 ? "".concat(id, "-error") : _b, _c = _a.idHelper, idHelper = _c === void 0 ? "".concat(id, "-helper") : _c, _d = _a.idDisclosure, idDisclosure = _d === void 0 ? "".concat(id, "-disclosure") : _d, errorMessage = _a.errorMessage, helper = _a.helper, disclosureText = _a.disclosureText;
|
|
1920
|
+
if (!id) {
|
|
1921
|
+
return {
|
|
1922
|
+
ariaDescribedby: undefined,
|
|
1923
|
+
idHelper: undefined,
|
|
1924
|
+
idError: undefined,
|
|
1925
|
+
idDisclosure: undefined,
|
|
1926
|
+
};
|
|
1927
|
+
}
|
|
1928
|
+
var ariaDescribedbyArr = [];
|
|
1929
|
+
if (errorMessage) {
|
|
1930
|
+
ariaDescribedbyArr.push(idError);
|
|
1931
|
+
}
|
|
1932
|
+
if (helper) {
|
|
1933
|
+
ariaDescribedbyArr.push(idHelper);
|
|
1934
|
+
}
|
|
1935
|
+
if (disclosureText) {
|
|
1936
|
+
ariaDescribedbyArr.push(idDisclosure);
|
|
1937
|
+
}
|
|
1938
|
+
var ariaDescribedby = ariaDescribedbyArr.length > 0 ? ariaDescribedbyArr.join(" ") : undefined;
|
|
1939
|
+
return { ariaDescribedby: ariaDescribedby, idError: idError, idHelper: idHelper, idDisclosure: idDisclosure };
|
|
1940
|
+
};
|
|
2078
1941
|
|
|
2079
1942
|
/**
|
|
2080
|
-
*
|
|
2081
|
-
* @category Month Helpers
|
|
2082
|
-
* @summary Get the number of days in a month of the given date.
|
|
2083
|
-
*
|
|
2084
|
-
* @description
|
|
2085
|
-
* Get the number of days in a month of the given date.
|
|
2086
|
-
*
|
|
2087
|
-
* @param {Date|Number} date - the given date
|
|
2088
|
-
* @returns {Number} the number of days in a month
|
|
2089
|
-
* @throws {TypeError} 1 argument required
|
|
2090
|
-
*
|
|
2091
|
-
* @example
|
|
2092
|
-
* // How many days are in February 2000?
|
|
2093
|
-
* const result = getDaysInMonth(new Date(2000, 1))
|
|
2094
|
-
* //=> 29
|
|
1943
|
+
* Infer the correct inputMode, pattern and type if specifying a `number` type.
|
|
2095
1944
|
*/
|
|
2096
|
-
function
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
1945
|
+
var useNumericInput = function (props) {
|
|
1946
|
+
var type = props.type === "number" ? "text" : props.type;
|
|
1947
|
+
var inputMode = props.inputMode;
|
|
1948
|
+
if (!props.inputMode) {
|
|
1949
|
+
if (props.type === "email") {
|
|
1950
|
+
inputMode = "email";
|
|
1951
|
+
}
|
|
1952
|
+
else if (props.type === "number") {
|
|
1953
|
+
inputMode = "numeric";
|
|
1954
|
+
}
|
|
1955
|
+
else if (props.type === "tel") {
|
|
1956
|
+
inputMode = "tel";
|
|
1957
|
+
}
|
|
1958
|
+
else if (props.type === "url") {
|
|
1959
|
+
inputMode = "url";
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
var pattern = props.pattern;
|
|
1963
|
+
if (!props.pattern && props.type === "number") {
|
|
1964
|
+
pattern = "[0-9]*";
|
|
1965
|
+
}
|
|
1966
|
+
return { inputMode: inputMode, pattern: pattern, type: type };
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1969
|
+
var usePagination = function (pageCount, selectedPage) {
|
|
1970
|
+
var formatValues = function (range) {
|
|
1971
|
+
return range.map(function (value) { return value.toString(); });
|
|
1972
|
+
};
|
|
1973
|
+
return React.useMemo(function () {
|
|
1974
|
+
if (pageCount > 7 && selectedPage < 5) {
|
|
1975
|
+
// show 1 - 5 the right dots are visible.
|
|
1976
|
+
return formatValues(__spreadArray(__spreadArray([], Array.from({ length: 5 }, function (_value, index) { return index + 1; }), true), [
|
|
1977
|
+
"...",
|
|
1978
|
+
pageCount,
|
|
1979
|
+
], false));
|
|
1980
|
+
}
|
|
1981
|
+
if (pageCount > 7 && selectedPage >= pageCount - 3) {
|
|
1982
|
+
// show numbers to the end but the left dots are visible
|
|
1983
|
+
return formatValues(__spreadArray([
|
|
1984
|
+
1,
|
|
1985
|
+
"..."
|
|
1986
|
+
], Array.from({ length: 5 }, function (_value, index) { return pageCount - index; }).reverse(), true));
|
|
1987
|
+
}
|
|
1988
|
+
if (pageCount > 7 && selectedPage >= 5 && selectedPage < pageCount - 3) {
|
|
1989
|
+
// show selected page with one number either side and both the left and the right dots are visible.
|
|
1990
|
+
return formatValues([
|
|
1991
|
+
1,
|
|
1992
|
+
"...",
|
|
1993
|
+
selectedPage - 1,
|
|
1994
|
+
selectedPage,
|
|
1995
|
+
selectedPage + 1,
|
|
1996
|
+
"...",
|
|
1997
|
+
pageCount,
|
|
1998
|
+
]);
|
|
1999
|
+
}
|
|
2000
|
+
// show all pages from pageCount
|
|
2001
|
+
return formatValues(Array.from({ length: pageCount }, function (_value, index) { return index + 1; }));
|
|
2002
|
+
}, [pageCount, selectedPage]);
|
|
2003
|
+
};
|
|
2004
|
+
|
|
2005
|
+
var useThemeElement = function () {
|
|
2006
|
+
var _a = React.useState(undefined), themeElement = _a[0], setElement = _a[1];
|
|
2007
|
+
var setThemeElement = function (el) {
|
|
2008
|
+
el &&
|
|
2009
|
+
setElement(el.closest(".arc-ds-sys-theme") || undefined);
|
|
2010
|
+
};
|
|
2011
|
+
return [themeElement, setThemeElement];
|
|
2012
|
+
};
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* @typedef MediaQueryOutputs
|
|
2016
|
+
* @param {boolean} matches - does the document match the media query?
|
|
2017
|
+
*/
|
|
2018
|
+
/**
|
|
2019
|
+
* Handle with care!
|
|
2020
|
+
*
|
|
2021
|
+
* If you need to change something in the browser based on @media query, you
|
|
2022
|
+
* probably don’t need this hook. Use CSS media queries instead.
|
|
2023
|
+
*
|
|
2024
|
+
* Sometimes UI requirements are not achievable with CSS media queries alone. In
|
|
2025
|
+
* these rare cases, use this hook to make media query matches available
|
|
2026
|
+
* to React JavaScript code.
|
|
2027
|
+
*
|
|
2028
|
+
* @param {string} mediaQuery - the media query to parse
|
|
2029
|
+
* @returns {MediaQueryOutputs}
|
|
2030
|
+
*/
|
|
2031
|
+
var useMediaQuery = function (mediaQuery) {
|
|
2032
|
+
var mediaQueryList = typeof window !== "undefined" ? window.matchMedia(mediaQuery) : undefined;
|
|
2033
|
+
var _a = React.useState(false), matches = _a[0], setMatches = _a[1];
|
|
2034
|
+
React.useEffect(function () {
|
|
2035
|
+
setMatches(typeof window !== "undefined"
|
|
2036
|
+
? window.matchMedia(mediaQuery).matches
|
|
2037
|
+
: false);
|
|
2038
|
+
}, [mediaQuery]);
|
|
2039
|
+
React.useEffect(function () {
|
|
2040
|
+
var onMatchMedia = function (event) { return setMatches(event.matches); };
|
|
2041
|
+
// Using deprecated addListener methods here for IE & Safari 13 support
|
|
2042
|
+
if (mediaQueryList) {
|
|
2043
|
+
mediaQueryList.addListener(onMatchMedia);
|
|
2044
|
+
}
|
|
2045
|
+
return function () { return mediaQueryList && mediaQueryList.removeListener(onMatchMedia); };
|
|
2046
|
+
}, [mediaQueryList]);
|
|
2047
|
+
return matches;
|
|
2048
|
+
};
|
|
2049
|
+
|
|
2050
|
+
var containsDate = function (dates, compareDate) {
|
|
2051
|
+
return dates.map(function (date) { return date.getTime(); }).includes(compareDate.getTime());
|
|
2052
|
+
};
|
|
2053
|
+
|
|
2054
|
+
/**
|
|
2055
|
+
* @name getMonth
|
|
2056
|
+
* @category Month Helpers
|
|
2057
|
+
* @summary Get the month of the given date.
|
|
2058
|
+
*
|
|
2059
|
+
* @description
|
|
2060
|
+
* Get the month of the given date.
|
|
2061
|
+
*
|
|
2062
|
+
* @param {Date|Number} date - the given date
|
|
2063
|
+
* @returns {Number} the month
|
|
2064
|
+
* @throws {TypeError} 1 argument required
|
|
2065
|
+
*
|
|
2066
|
+
* @example
|
|
2067
|
+
* // Which month is 29 February 2012?
|
|
2068
|
+
* const result = getMonth(new Date(2012, 1, 29))
|
|
2069
|
+
* //=> 1
|
|
2070
|
+
*/
|
|
2071
|
+
function getMonth(dirtyDate) {
|
|
2072
|
+
requiredArgs(1, arguments);
|
|
2073
|
+
var date = toDate(dirtyDate);
|
|
2074
|
+
var month = date.getMonth();
|
|
2075
|
+
return month;
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
/**
|
|
2079
|
+
* @name getYear
|
|
2080
|
+
* @category Year Helpers
|
|
2081
|
+
* @summary Get the year of the given date.
|
|
2082
|
+
*
|
|
2083
|
+
* @description
|
|
2084
|
+
* Get the year of the given date.
|
|
2085
|
+
*
|
|
2086
|
+
* @param {Date|Number} date - the given date
|
|
2087
|
+
* @returns {Number} the year
|
|
2088
|
+
* @throws {TypeError} 1 argument required
|
|
2089
|
+
*
|
|
2090
|
+
* @example
|
|
2091
|
+
* // Which year is 2 July 2014?
|
|
2092
|
+
* const result = getYear(new Date(2014, 6, 2))
|
|
2093
|
+
* //=> 2014
|
|
2094
|
+
*/
|
|
2095
|
+
function getYear(dirtyDate) {
|
|
2096
|
+
requiredArgs(1, arguments);
|
|
2097
|
+
return toDate(dirtyDate).getFullYear();
|
|
2098
|
+
}
|
|
2099
|
+
|
|
2100
|
+
/**
|
|
2101
|
+
* @name getDaysInMonth
|
|
2102
|
+
* @category Month Helpers
|
|
2103
|
+
* @summary Get the number of days in a month of the given date.
|
|
2104
|
+
*
|
|
2105
|
+
* @description
|
|
2106
|
+
* Get the number of days in a month of the given date.
|
|
2107
|
+
*
|
|
2108
|
+
* @param {Date|Number} date - the given date
|
|
2109
|
+
* @returns {Number} the number of days in a month
|
|
2110
|
+
* @throws {TypeError} 1 argument required
|
|
2111
|
+
*
|
|
2112
|
+
* @example
|
|
2113
|
+
* // How many days are in February 2000?
|
|
2114
|
+
* const result = getDaysInMonth(new Date(2000, 1))
|
|
2115
|
+
* //=> 29
|
|
2116
|
+
*/
|
|
2117
|
+
function getDaysInMonth(dirtyDate) {
|
|
2118
|
+
requiredArgs(1, arguments);
|
|
2119
|
+
var date = toDate(dirtyDate);
|
|
2120
|
+
var year = date.getFullYear();
|
|
2100
2121
|
var monthIndex = date.getMonth();
|
|
2101
2122
|
var lastDayOfMonth = new Date(0);
|
|
2102
2123
|
lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);
|
|
@@ -5166,7 +5187,7 @@ var CalendarDayNumber = React.forwardRef(function (_a, autoFocusRef) {
|
|
|
5166
5187
|
*/
|
|
5167
5188
|
|
|
5168
5189
|
const BtIconChevronDownMid =
|
|
5169
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'
|
|
5190
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='m16 18.09 5.704-5.696a1.347 1.347 0 0 1 2.296.949 1.34 1.34 0 0 1-.393.95L16.95 20.94a1.347 1.347 0 0 1-1.902 0l-6.656-6.648A1.342 1.342 0 0 1 9.345 12c.356 0 .699.142.951.393z'/%3e%3c/svg%3e";
|
|
5170
5191
|
|
|
5171
5192
|
var CalendarDateSelect = function (_a) {
|
|
5172
5193
|
var ariaLabel = _a.ariaLabel, onChange = _a.onChange, name = _a.name, value = _a.value, displayValue = _a.displayValue, options = _a.options;
|
|
@@ -7663,18 +7684,18 @@ function useEmblaCarousel(options = {}, plugins = []) {
|
|
|
7663
7684
|
useEmblaCarousel.globalOptions = undefined;
|
|
7664
7685
|
|
|
7665
7686
|
var XS_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXs, ")");
|
|
7666
|
-
var S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
7667
|
-
var M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
7668
|
-
var L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
7669
|
-
var XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
7687
|
+
var S_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
7688
|
+
var M_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
7689
|
+
var L_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
7690
|
+
var XL_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
7670
7691
|
|
|
7671
7692
|
var getOptions = function (itemsToScroll, loop, responsive) {
|
|
7672
7693
|
var breakpoints = [
|
|
7673
7694
|
[XS_BREAKPOINT, "xs"],
|
|
7674
|
-
[S_BREAKPOINT, "s"],
|
|
7675
|
-
[M_BREAKPOINT, "m"],
|
|
7676
|
-
[L_BREAKPOINT, "l"],
|
|
7677
|
-
[XL_BREAKPOINT, "xl"],
|
|
7695
|
+
[S_BREAKPOINT$1, "s"],
|
|
7696
|
+
[M_BREAKPOINT$1, "m"],
|
|
7697
|
+
[L_BREAKPOINT$1, "l"],
|
|
7698
|
+
[XL_BREAKPOINT$1, "xl"],
|
|
7678
7699
|
];
|
|
7679
7700
|
var breakpointOptions = breakpoints.reduce(function (acc, _a) {
|
|
7680
7701
|
var _b;
|
|
@@ -7745,10 +7766,10 @@ var Carousel = function (_a) {
|
|
|
7745
7766
|
var _k = React.useState(true), prevButtonEnabled = _k[0], setPrevButtonEnabled = _k[1];
|
|
7746
7767
|
var _l = React.useState(true), nextButtonEnabled = _l[0], setNextButtonEnabled = _l[1];
|
|
7747
7768
|
var isMinWidthArcBreakpointXs = useMediaQuery(XS_BREAKPOINT);
|
|
7748
|
-
var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT);
|
|
7749
|
-
var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT);
|
|
7750
|
-
var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT);
|
|
7751
|
-
var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT);
|
|
7769
|
+
var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT$1);
|
|
7770
|
+
var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT$1);
|
|
7771
|
+
var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT$1);
|
|
7772
|
+
var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT$1);
|
|
7752
7773
|
var slideWidth = getSlideWidth({
|
|
7753
7774
|
screenSizes: {
|
|
7754
7775
|
xl: isMinWidthArcBreakpointXl,
|
|
@@ -7867,14 +7888,15 @@ var Provider$4 = Context$2.Provider;
|
|
|
7867
7888
|
* Use `FormControl` to provide inputs with labels, helper text and error messages
|
|
7868
7889
|
*/
|
|
7869
7890
|
var FormControl = function (_a) {
|
|
7870
|
-
var
|
|
7891
|
+
var _b;
|
|
7892
|
+
var children = _a.children, _c = _a.elementType, ElementType = _c === void 0 ? "div" : _c, errorMessage = _a.errorMessage, helper = _a.helper, htmlFor = _a.htmlFor, supplementaryInfo = _a.supplementaryInfo, id = _a.id, label = _a.label, _d = _a.labelSize, labelSize = _d === void 0 ? "l" : _d, _e = _a.labelPosition, labelPosition = _e === void 0 ? "top" : _e, _f = _a.requirementStatus, requirementStatus = _f === void 0 ? "optional" : _f, _g = _a.helperUnderLabel, helperUnderLabel = _g === void 0 ? false : _g, isDisabled = _a.isDisabled, _h = _a.hideLabel, hideLabel = _h === void 0 ? false : _h, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props = __rest(_a, ["children", "elementType", "errorMessage", "helper", "htmlFor", "supplementaryInfo", "id", "label", "labelSize", "labelPosition", "requirementStatus", "helperUnderLabel", "isDisabled", "hideLabel", "disclosureTitle", "disclosureText", "onClickDisclosure"]);
|
|
7871
7893
|
var surface = React.useContext(Context$3).surface;
|
|
7872
|
-
var
|
|
7894
|
+
var _j = useAriaDescribedby({
|
|
7873
7895
|
disclosureText: disclosureText,
|
|
7874
7896
|
errorMessage: errorMessage,
|
|
7875
7897
|
helper: helper,
|
|
7876
7898
|
id: htmlFor || id, // `htmlFor` is preference to keep this deterministic with TextInput
|
|
7877
|
-
}), ariaDescribedby =
|
|
7899
|
+
}), ariaDescribedby = _j.ariaDescribedby, idError = _j.idError, idHelper = _j.idHelper, idDisclosure = _j.idDisclosure;
|
|
7878
7900
|
var LabelType = ElementType === "div" ? "label" : "legend";
|
|
7879
7901
|
var elementProps = {};
|
|
7880
7902
|
var labelProps = {};
|
|
@@ -7894,22 +7916,27 @@ var FormControl = function (_a) {
|
|
|
7894
7916
|
? Boolean(errorMessage || disclosureTitle || supplementaryInfo)
|
|
7895
7917
|
: Boolean(errorMessage || disclosureTitle || helper || supplementaryInfo);
|
|
7896
7918
|
return (React.createElement(Provider$4, { value: { requirementStatus: requirementStatus } },
|
|
7897
|
-
React.createElement(ElementType, __assign({ className: classNames({
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7919
|
+
React.createElement(ElementType, __assign({ className: classNames((_b = {
|
|
7920
|
+
"arc-FormControl": true,
|
|
7921
|
+
"arc-FormControl--isDisabled": isDisabled,
|
|
7922
|
+
"arc-FormControl--onDarkSurface": surface === "dark",
|
|
7923
|
+
"arc-FormControl--sideLabel": labelPosition === "left"
|
|
7924
|
+
},
|
|
7925
|
+
_b["arc-FormControl--".concat(labelSize)] = labelSize !== "l",
|
|
7926
|
+
_b)), id: id }, elementProps, filterAttrs(props)),
|
|
7904
7927
|
hideLabel === true ? (React.createElement(VisuallyHidden$2, null,
|
|
7905
7928
|
React.createElement(LabelType, __assign({ className: classNames("arc-FormControl-label", {
|
|
7906
7929
|
"arc-FormControl-label--withHelperUnderLabel": helperUnderLabel && helper,
|
|
7907
7930
|
}) }, labelProps),
|
|
7908
|
-
label,
|
|
7931
|
+
label && (React.createElement("span", { className: classNames("arc-FormControl-labelText", {
|
|
7932
|
+
"arc-FormControl-labelText--withOptional": requirementStatus === "optional",
|
|
7933
|
+
}) }, label)),
|
|
7909
7934
|
requirementStatus === "optional" && (React.createElement("span", { className: "arc-FormControl-labelOptional" }, "(optional)"))))) : (React.createElement(LabelType, __assign({ className: classNames("arc-FormControl-label", {
|
|
7910
7935
|
"arc-FormControl-label--withHelperUnderLabel": helperUnderLabel && helper,
|
|
7911
7936
|
}) }, labelProps),
|
|
7912
|
-
label,
|
|
7937
|
+
label && (React.createElement("span", { className: classNames("arc-FormControl-labelText", {
|
|
7938
|
+
"arc-FormControl-labelText--withOptional": requirementStatus === "optional",
|
|
7939
|
+
}) }, label)),
|
|
7913
7940
|
requirementStatus === "optional" && (React.createElement("span", { className: "arc-FormControl-labelOptional" }, "(optional)")))),
|
|
7914
7941
|
helperUnderLabel && helper && (React.createElement("div", { className: "arc-FormControl-helper arc-FormControl-helper--underLabel", id: idHelper }, helper)),
|
|
7915
7942
|
children,
|
|
@@ -7922,7 +7949,7 @@ var FormControl = function (_a) {
|
|
|
7922
7949
|
React.createElement("span", { className: "arc-FormControl-error--icon" },
|
|
7923
7950
|
React.createElement(ThemeIcon, { icon: "formControlAlert" })),
|
|
7924
7951
|
errorMessage)) : (!helperUnderLabel &&
|
|
7925
|
-
(disclosureTitle ? (React.createElement(DisclosureMini, { onClick: onClickDisclosure, summary: disclosureTitle, size: labelSize, id: idDisclosure }, disclosureText)) : (helper && (React.createElement("div", { className: "arc-FormControl-helper", id: idHelper }, helper))))))),
|
|
7952
|
+
(disclosureTitle ? (React.createElement(DisclosureMini, { onClick: onClickDisclosure, summary: disclosureTitle, size: labelSize === "m" ? "l" : labelSize, id: idDisclosure }, disclosureText)) : (helper && (React.createElement("div", { className: "arc-FormControl-helper", id: idHelper }, helper))))))),
|
|
7926
7953
|
supplementaryInfo && (React.createElement("div", { className: "arc-FormControl-supplementaryInfo" }, supplementaryInfo))))));
|
|
7927
7954
|
};
|
|
7928
7955
|
|
|
@@ -13722,7 +13749,7 @@ var ContentSwitcherTab = React.forwardRef(function (_a, ref) {
|
|
|
13722
13749
|
|
|
13723
13750
|
var ContentSwitcherContent = function (_a) {
|
|
13724
13751
|
var children = _a.children, value = _a.value;
|
|
13725
|
-
return (React.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: "arc-ContentSwitcherContent", value: value },
|
|
13752
|
+
return (React.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: "arc-ContentSwitcherContent", value: value, tabIndex: -1 },
|
|
13726
13753
|
React.createElement("div", { className: "arc-ContentSwitcherContent-wrapper" }, children)));
|
|
13727
13754
|
};
|
|
13728
13755
|
|
|
@@ -13773,11 +13800,12 @@ var ContentSwitcherList = function (_a) {
|
|
|
13773
13800
|
list.removeEventListener("scroll", checkOverflow);
|
|
13774
13801
|
}
|
|
13775
13802
|
window.removeEventListener("resize", updateLayout);
|
|
13803
|
+
handleResize.cancel();
|
|
13776
13804
|
};
|
|
13777
13805
|
}, [children, checkOverflow, handleResize]);
|
|
13778
13806
|
return (React.createElement("span", { className: classNames("arc-ContentSwitcherList-wrapper", {
|
|
13779
13807
|
"arc-ContentSwitcherList-wrapper--isInset": isInset,
|
|
13780
|
-
}) },
|
|
13808
|
+
}), tabIndex: -1 },
|
|
13781
13809
|
React.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5, __assign({ className: classNames("arc-ContentSwitcherList", {
|
|
13782
13810
|
"arc-ContentSwitcherList--contained": type === "contained",
|
|
13783
13811
|
"arc-ContentSwitcherList--isJustified": isJustified,
|
|
@@ -15082,7 +15110,7 @@ var ContentSwitcherDropdown = function (_a) {
|
|
|
15082
15110
|
return null;
|
|
15083
15111
|
}
|
|
15084
15112
|
var isActive = child.props.value === selectValue;
|
|
15085
|
-
return (React.createElement("div", __assign({ role: "tabpanel", className: "arc-ContentSwitcherDropdown-content", id: "arc-content-switcher-dropdown-content-".concat(child.props.value), "aria-labelledby": "arc-content-switcher-dropdown-trigger-".concat(child.props.value), "data-state": isActive ? "active" : "inactive", tabIndex:
|
|
15113
|
+
return (React.createElement("div", __assign({ role: "tabpanel", className: "arc-ContentSwitcherDropdown-content", id: "arc-content-switcher-dropdown-content-".concat(child.props.value), "aria-labelledby": "arc-content-switcher-dropdown-trigger-".concat(child.props.value), "data-state": isActive ? "active" : "inactive", tabIndex: -1, hidden: !isActive }, filterAttrs(child.props)), child));
|
|
15086
15114
|
})));
|
|
15087
15115
|
};
|
|
15088
15116
|
var ContentSwitcherDropdownContent = function (_a) {
|
|
@@ -15137,9 +15165,9 @@ var DATE_FORMAT = "dd/MM/yyyy";
|
|
|
15137
15165
|
|
|
15138
15166
|
var TextInputComponent = React.forwardRef(function (_a, ref) {
|
|
15139
15167
|
var _b;
|
|
15140
|
-
var _c = _a.defaultValue, defaultValue = _c === void 0 ? "" : _c, errorMessage = _a.errorMessage, helper = _a.helper, hideLabel = _a.hideLabel, id = _a.id, inputMode = _a.inputMode, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, label = _a.label,
|
|
15168
|
+
var _c = _a.defaultValue, defaultValue = _c === void 0 ? "" : _c, errorMessage = _a.errorMessage, helper = _a.helper, hideLabel = _a.hideLabel, id = _a.id, inputMode = _a.inputMode, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, label = _a.label, maxLength = _a.maxLength, minLength = _a.minLength, name = _a.name, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, placeholder = _a.placeholder, onClickDisclosure = _a.onClickDisclosure, pattern = _a.pattern, _g = _a.type, type = _g === void 0 ? "text" : _g, _h = _a.showPassword, showPassword = _h === void 0 ? false : _h, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, _j = _a.size, size = _j === void 0 ? "m" : _j, iconButton = _a.iconButton, prefix = _a.prefix, suffix = _a.suffix, _k = _a.inputAlignment, inputAlignment = _k === void 0 ? "left" : _k, width = _a.width, autoComplete = _a.autoComplete, isLoading = _a.isLoading, props = __rest(_a, ["defaultValue", "errorMessage", "helper", "hideLabel", "id", "inputMode", "isDisabled", "isReadOnly", "isRequired", "label", "maxLength", "minLength", "name", "onBlur", "onFocus", "onChange", "placeholder", "onClickDisclosure", "pattern", "type", "showPassword", "value", "disclosureTitle", "disclosureText", "size", "iconButton", "prefix", "suffix", "inputAlignment", "width", "autoComplete", "isLoading"]);
|
|
15141
15169
|
var surface = React.useContext(Context$3).surface;
|
|
15142
|
-
var
|
|
15170
|
+
var _l = React.useState(false), showPasswordToggle = _l[0], setShowPasswordToggle = _l[1];
|
|
15143
15171
|
var inferredInputProps = useNumericInput({
|
|
15144
15172
|
inputMode: inputMode,
|
|
15145
15173
|
pattern: pattern,
|
|
@@ -15173,9 +15201,9 @@ var TextInputComponent = React.forwardRef(function (_a, ref) {
|
|
|
15173
15201
|
"arc-TextInput--withPrefix": prefix,
|
|
15174
15202
|
"arc-TextInput--withSuffix": suffix
|
|
15175
15203
|
},
|
|
15176
|
-
_b["arc-TextInput--size".concat(
|
|
15204
|
+
_b["arc-TextInput--size".concat(size && size.toUpperCase())] = size && size !== "m",
|
|
15177
15205
|
_b)) }, filterAttrs(props)),
|
|
15178
|
-
React.createElement(FormControl, { errorMessage: errorMessage, helper: helper, htmlFor: id, isDisabled: isDisabled, label: label, hideLabel: hideLabel, labelSize:
|
|
15206
|
+
React.createElement(FormControl, { errorMessage: errorMessage, helper: helper, htmlFor: id, isDisabled: isDisabled, label: label, hideLabel: hideLabel, labelSize: size, requirementStatus: isRequired ? "required" : "optional", disclosureTitle: disclosureTitle, disclosureText: disclosureText, onClickDisclosure: onClickDisclosure },
|
|
15179
15207
|
React.createElement("div", { className: "arc-TextInput-inputWrapper", style: { width: width, marginTop: hideLabel ? 0 : undefined } },
|
|
15180
15208
|
prefix && (React.createElement("span", { className: "arc-TextInput-prefix", "aria-hidden": true }, prefix)),
|
|
15181
15209
|
React.createElement("input", __assign({ placeholder: placeholder, "aria-describedby": ariaDescribedby, "aria-invalid": errorMessage ? "true" : "false", className: "arc-TextInput-input", defaultValue: typeof value !== "undefined" ? undefined : defaultValue, disabled: isDisabled || isLoading, id: id, maxLength: maxLength, minLength: minLength, name: name, onChange: onChange, onBlur: onBlur, onFocus: onFocus, readOnly: isReadOnly, ref: ref, required: isRequired, value: typeof value !== "undefined" ? value : undefined, autoComplete: autoComplete }, inferredInputProps)),
|
|
@@ -15184,7 +15212,7 @@ var TextInputComponent = React.forwardRef(function (_a, ref) {
|
|
|
15184
15212
|
e.preventDefault();
|
|
15185
15213
|
iconButton.onClick();
|
|
15186
15214
|
} },
|
|
15187
|
-
React.createElement(ThemeIcon, { icon: iconButton.icon, size: buttonIconSize[
|
|
15215
|
+
React.createElement(ThemeIcon, { icon: iconButton.icon, size: buttonIconSize[size] })))),
|
|
15188
15216
|
suffix && !showPassword ? (React.createElement("span", { className: "arc-TextInput-suffix", "aria-hidden": true }, suffix)) : null,
|
|
15189
15217
|
showPassword && (React.createElement("div", { className: "arc-TextInput-additionalControl" },
|
|
15190
15218
|
React.createElement("button", { className: "arc-TextInput-passwordToggle", onClick: function () { return setShowPasswordToggle(function (p) { return !p; }); }, type: "button" }, showPasswordToggle ? "Hide" : "Show"),
|
|
@@ -15194,7 +15222,7 @@ var TextInputComponent = React.forwardRef(function (_a, ref) {
|
|
|
15194
15222
|
? "Your password is shown"
|
|
15195
15223
|
: "Your password is hidden"))))),
|
|
15196
15224
|
isLoading && (React.createElement("span", { className: "arc-TextInput-spinner" },
|
|
15197
|
-
React.createElement(Spinner, { size: spinnerSize[
|
|
15225
|
+
React.createElement(Spinner, { size: spinnerSize[size] })))))));
|
|
15198
15226
|
});
|
|
15199
15227
|
/**
|
|
15200
15228
|
* Use `TextInput` to allow users to enter short form text.
|
|
@@ -15288,11 +15316,55 @@ var convertRangeStringToDates = function (value) {
|
|
|
15288
15316
|
: []), true);
|
|
15289
15317
|
};
|
|
15290
15318
|
|
|
15319
|
+
var convertRangeStringToDateTuple = function (value) {
|
|
15320
|
+
if (value === void 0) { value = ""; }
|
|
15321
|
+
var _a = parseRangeString(value), start = _a.start, end = _a.end;
|
|
15322
|
+
var startDate = isDateValid(start.date)
|
|
15323
|
+
? new Date("".concat(start.year, "-").concat(start.month, "-").concat(start.day))
|
|
15324
|
+
: undefined;
|
|
15325
|
+
var endDate = isDateValid(end.date)
|
|
15326
|
+
? new Date("".concat(end.year, "-").concat(end.month, "-").concat(end.day))
|
|
15327
|
+
: undefined;
|
|
15328
|
+
return [startDate, endDate];
|
|
15329
|
+
};
|
|
15330
|
+
|
|
15331
|
+
function validateRangeOnBlur(_a) {
|
|
15332
|
+
var value = _a.value, minDate = _a.minDate, maxDate = _a.maxDate, disabledDates = _a.disabledDates, previousValidValue = _a.previousValidValue, dispatchChangeEvent = _a.dispatchChangeEvent, blurEvent = _a.blurEvent;
|
|
15333
|
+
if (!isRangeValid(value))
|
|
15334
|
+
return;
|
|
15335
|
+
var _b = convertRangeStringToDates(value), start = _b[0], end = _b[1];
|
|
15336
|
+
var isStartBeforeMin = minDate && isBefore(start, minDate);
|
|
15337
|
+
var isEndAfterMax = maxDate && isAfter(end, maxDate);
|
|
15338
|
+
var isStartDisabled = isDisabledDate(disabledDates, start);
|
|
15339
|
+
var isEndDisabled = isDisabledDate(disabledDates, end);
|
|
15340
|
+
if (isStartBeforeMin && isEndAfterMax) {
|
|
15341
|
+
return dispatchChangeEvent(blurEvent, "".concat(formatDate(minDate), " - ").concat(formatDate(maxDate)));
|
|
15342
|
+
}
|
|
15343
|
+
if (isStartBeforeMin) {
|
|
15344
|
+
return dispatchChangeEvent(blurEvent, "".concat(formatDate(minDate), " - ").concat(formatDate(end)));
|
|
15345
|
+
}
|
|
15346
|
+
if (isEndAfterMax) {
|
|
15347
|
+
return dispatchChangeEvent(blurEvent, "".concat(formatDate(start), " - ").concat(formatDate(maxDate)));
|
|
15348
|
+
}
|
|
15349
|
+
if (isStartDisabled || isEndDisabled) {
|
|
15350
|
+
var _c = previousValidValue
|
|
15351
|
+
? convertRangeStringToDates(previousValidValue)
|
|
15352
|
+
: [], prevStart = _c[0], prevEnd = _c[1];
|
|
15353
|
+
return dispatchChangeEvent(blurEvent, prevStart && prevEnd
|
|
15354
|
+
? "".concat(formatDate(prevStart), " - ").concat(formatDate(prevEnd))
|
|
15355
|
+
: "");
|
|
15356
|
+
}
|
|
15357
|
+
if (isAfter(start, end)) {
|
|
15358
|
+
var _d = [start, end].sort(compareAsc), orderedStart = _d[0], orderedEnd = _d[1];
|
|
15359
|
+
return dispatchChangeEvent(blurEvent, "".concat(formatDate(orderedStart), " - ").concat(formatDate(orderedEnd)));
|
|
15360
|
+
}
|
|
15361
|
+
}
|
|
15362
|
+
|
|
15291
15363
|
/**
|
|
15292
15364
|
* Use `DatePicker` to clearly present available dates and allow users to choose a way to enter information.
|
|
15293
15365
|
*/
|
|
15294
15366
|
var DatePicker = React.forwardRef(function (_a, ref) {
|
|
15295
|
-
var errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, label = _a.label, isDisabled = _a.isDisabled, isReadOnly = _a.isReadOnly, isRequired = _a.isRequired,
|
|
15367
|
+
var errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, label = _a.label, isDisabled = _a.isDisabled, isReadOnly = _a.isReadOnly, isRequired = _a.isRequired, size = _a.size, _b = _a.value, value = _b === void 0 ? "" : _b, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, onDateSelect = _a.onDateSelect, onRangeSelect = _a.onRangeSelect, onClickDisclosure = _a.onClickDisclosure, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, type = _a.type, _c = _a.isFluid, isFluid = _c === void 0 ? false : _c, _d = _a.selectionType, selectionType = _d === void 0 ? "single" : _d, disabledDates = _a.disabledDates, minDate = _a.minDate, maxDate = _a.maxDate, props = __rest(_a, ["errorMessage", "helper", "id", "label", "isDisabled", "isReadOnly", "isRequired", "size", "value", "name", "onBlur", "onChange", "onDateSelect", "onRangeSelect", "onClickDisclosure", "disclosureTitle", "disclosureText", "type", "isFluid", "selectionType", "disabledDates", "minDate", "maxDate"]);
|
|
15296
15368
|
var _e = useThemeElement(), themeElement = _e[0], setThemeElement = _e[1];
|
|
15297
15369
|
var _f = React.useState("Choose date"), ariaLabel = _f[0], setAriaLabel = _f[1];
|
|
15298
15370
|
var _g = React.useState(false), showCalendar = _g[0], setShowCalendar = _g[1];
|
|
@@ -15366,32 +15438,15 @@ var DatePicker = React.forwardRef(function (_a, ref) {
|
|
|
15366
15438
|
}
|
|
15367
15439
|
};
|
|
15368
15440
|
var handleRangeSelectionBlur = function (e) {
|
|
15369
|
-
|
|
15370
|
-
|
|
15371
|
-
|
|
15372
|
-
|
|
15373
|
-
|
|
15374
|
-
|
|
15375
|
-
|
|
15376
|
-
|
|
15377
|
-
|
|
15378
|
-
if (isStartDateBeforeMinDate) {
|
|
15379
|
-
return dispatchChangeEvent(e, "".concat(formatDate(minDate), " - ").concat(formatDate(end)));
|
|
15380
|
-
}
|
|
15381
|
-
if (isEndDateAfterMaxDate) {
|
|
15382
|
-
return dispatchChangeEvent(e, "".concat(formatDate(start), " - ").concat(formatDate(maxDate)));
|
|
15383
|
-
}
|
|
15384
|
-
if (isStartDateDisabled || isEndDateDisabled) {
|
|
15385
|
-
var _b = previousValidValue.current
|
|
15386
|
-
? convertRangeStringToDates(previousValidValue.current)
|
|
15387
|
-
: [], start_1 = _b[0], end_1 = _b[1];
|
|
15388
|
-
return dispatchChangeEvent(e, start_1 && end_1 ? "".concat(formatDate(start_1), " - ").concat(formatDate(end_1)) : "");
|
|
15389
|
-
}
|
|
15390
|
-
if (isAfter(start, end)) {
|
|
15391
|
-
var _c = [start, end].sort(compareAsc), orderedStart = _c[0], orderedEnd = _c[1];
|
|
15392
|
-
return dispatchChangeEvent(e, "".concat(formatDate(orderedStart), " - ").concat(formatDate(orderedEnd)));
|
|
15393
|
-
}
|
|
15394
|
-
}
|
|
15441
|
+
validateRangeOnBlur({
|
|
15442
|
+
value: value,
|
|
15443
|
+
minDate: minDate,
|
|
15444
|
+
maxDate: maxDate,
|
|
15445
|
+
disabledDates: disabledDates,
|
|
15446
|
+
previousValidValue: previousValidValue.current,
|
|
15447
|
+
dispatchChangeEvent: dispatchChangeEvent,
|
|
15448
|
+
blurEvent: e,
|
|
15449
|
+
});
|
|
15395
15450
|
};
|
|
15396
15451
|
var handleBlur = function (e) {
|
|
15397
15452
|
onBlur && onBlur(e);
|
|
@@ -15448,7 +15503,7 @@ var DatePicker = React.forwardRef(function (_a, ref) {
|
|
|
15448
15503
|
icon: "datePickerCalendar",
|
|
15449
15504
|
label: ariaLabel,
|
|
15450
15505
|
ref: buttonRef,
|
|
15451
|
-
}, placeholder: placeHolder, errorMessage: errorMessage, helper: helper, id: id, isDisabled: isDisabled, isReadOnly: isReadOnly, isRequired: isRequired, label: label,
|
|
15506
|
+
}, placeholder: placeHolder, errorMessage: errorMessage, helper: helper, id: id, isDisabled: isDisabled, isReadOnly: isReadOnly, isRequired: isRequired, label: label, maxLength: selectionType === "range" ? 23 : 10, name: name, onBlur: handleBlur, onChange: handleChange, onClickDisclosure: onClickDisclosure, type: "text", value: value, disclosureTitle: disclosureTitle, disclosureText: disclosureText, size: size }, props, filterAttrs(props))),
|
|
15452
15507
|
React.createElement(Root2$3, __assign({ open: showCalendar, onOpenChange: handleCalendarOpenChange }, filterAttrs(props)),
|
|
15453
15508
|
React.createElement(Anchor2$1, null),
|
|
15454
15509
|
React.createElement(Portal$5, { container: themeElement },
|
|
@@ -15456,6 +15511,174 @@ var DatePicker = React.forwardRef(function (_a, ref) {
|
|
|
15456
15511
|
React.createElement(Calendar, { autoFocusOnMount: true, type: type, onCancelClick: onCancelClick, selectionType: selectionType, selectedDate: convertDateStringToDate(value), selectedRange: convertRangeStringToDates(value), disabledDates: disabledDates, minDate: minDate, maxDate: maxDate, onDateSelect: handleDateSelect, onRangeSelect: handleRangeSelect }))))));
|
|
15457
15512
|
});
|
|
15458
15513
|
|
|
15514
|
+
var lowerCaseDateFormat = DATE_FORMAT.toLowerCase();
|
|
15515
|
+
var DatePickerRange = function (_a) {
|
|
15516
|
+
var _b, _c;
|
|
15517
|
+
var inputStart = _a.inputStart, inputEnd = _a.inputEnd, _d = _a.type, type = _d === void 0 ? "month" : _d, minDate = _a.minDate, maxDate = _a.maxDate, disabledDates = _a.disabledDates, onRangeSelect = _a.onRangeSelect;
|
|
15518
|
+
// startInput States
|
|
15519
|
+
var _e = React.useState("Choose start date"), startAriaLabel = _e[0], setStartAriaLabel = _e[1];
|
|
15520
|
+
var startButtonRef = React.useRef(null);
|
|
15521
|
+
var startInputRef = React.useRef(null);
|
|
15522
|
+
var _f = React.useState((_b = inputStart.value) !== null && _b !== void 0 ? _b : ""), startValue = _f[0], setStartValue = _f[1];
|
|
15523
|
+
// endInput States
|
|
15524
|
+
var _g = React.useState("Choose end date"), endAriaLabel = _g[0], setEndAriaLabel = _g[1];
|
|
15525
|
+
var _h = React.useState((_c = inputEnd.value) !== null && _c !== void 0 ? _c : ""), endValue = _h[0], setEndValue = _h[1];
|
|
15526
|
+
var endButtonRef = React.useRef(null);
|
|
15527
|
+
var endInputRef = React.useRef(null);
|
|
15528
|
+
var previousValidValue = React.useRef("");
|
|
15529
|
+
var _j = useThemeElement(), themeElement = _j[0], setThemeElement = _j[1];
|
|
15530
|
+
var _k = React.useState(false), showCalendar = _k[0], setShowCalendar = _k[1];
|
|
15531
|
+
var _l = React.useState(null), activeInput = _l[0], setActiveInput = _l[1];
|
|
15532
|
+
var getIsRequired = function (input) { var _a; return (_a = input.isRequired) !== null && _a !== void 0 ? _a : true; };
|
|
15533
|
+
var getLabel = function (input, type) { var _a; return (_a = input.label) !== null && _a !== void 0 ? _a : "Select a ".concat(type, " date"); };
|
|
15534
|
+
// sync external props with internal value (not typing)
|
|
15535
|
+
React.useEffect(function () {
|
|
15536
|
+
if (inputStart.value !== undefined && inputStart.value !== startValue) {
|
|
15537
|
+
setStartValue(inputStart.value);
|
|
15538
|
+
}
|
|
15539
|
+
if (inputEnd.value !== undefined && inputEnd.value !== endValue) {
|
|
15540
|
+
setEndValue(inputEnd.value);
|
|
15541
|
+
}
|
|
15542
|
+
}, [inputStart.value, inputEnd.value]);
|
|
15543
|
+
var handleIconClick = function (_a) {
|
|
15544
|
+
var ref = _a.ref, isDisabled = _a.isDisabled, isReadOnly = _a.isReadOnly, input = _a.input;
|
|
15545
|
+
if (ref &&
|
|
15546
|
+
!ref.contains(document.activeElement) &&
|
|
15547
|
+
!isDisabled &&
|
|
15548
|
+
!isReadOnly) {
|
|
15549
|
+
setActiveInput(input);
|
|
15550
|
+
setShowCalendar(true);
|
|
15551
|
+
}
|
|
15552
|
+
};
|
|
15553
|
+
var handleRangeSelect = function (rangeSelection) {
|
|
15554
|
+
var start = rangeSelection.start, end = rangeSelection.end, isSelectionComplete = rangeSelection.isSelectionComplete;
|
|
15555
|
+
var formattedStart = format(start, "dd/MM/yyyy");
|
|
15556
|
+
var formattedEnd = end ? format(end, "dd/MM/yyyy") : "";
|
|
15557
|
+
onRangeSelect === null || onRangeSelect === void 0 ? void 0 : onRangeSelect(__assign(__assign({}, rangeSelection), { formattedStart: formattedStart, formattedEnd: formattedEnd }));
|
|
15558
|
+
if (isSelectionComplete) {
|
|
15559
|
+
var fullRange = "".concat(formattedStart, " - ").concat(formattedEnd);
|
|
15560
|
+
previousValidValue.current = fullRange;
|
|
15561
|
+
setShowCalendar(false);
|
|
15562
|
+
}
|
|
15563
|
+
};
|
|
15564
|
+
var handleCalendarClose = function () {
|
|
15565
|
+
var _a, _b, _c;
|
|
15566
|
+
if (((_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.tagName) === "BODY") {
|
|
15567
|
+
(_b = startButtonRef.current) === null || _b === void 0 ? void 0 : _b.focus();
|
|
15568
|
+
(_c = endButtonRef.current) === null || _c === void 0 ? void 0 : _c.focus();
|
|
15569
|
+
}
|
|
15570
|
+
};
|
|
15571
|
+
var handleIconFocus = function (_a) {
|
|
15572
|
+
var input = _a.input;
|
|
15573
|
+
if (isRangeValid("".concat(startValue, " - ").concat(endValue))) {
|
|
15574
|
+
var _b = convertRangeStringToDates("".concat(startValue, " - ").concat(endValue)), start = _b[0], end = _b[1];
|
|
15575
|
+
var label = "Change dates, currently selected dates are ".concat(format(start, "EEEE do MMMM, yyyy"), " to ").concat(format(end, "EEEE do MMMM, yyyy"));
|
|
15576
|
+
input === "start" ? setStartAriaLabel(label) : setEndAriaLabel(label);
|
|
15577
|
+
return;
|
|
15578
|
+
}
|
|
15579
|
+
};
|
|
15580
|
+
var handleChange = function (e, input) {
|
|
15581
|
+
if (input === "start") {
|
|
15582
|
+
inputStart.onChange && inputStart.onChange(e);
|
|
15583
|
+
setStartValue(e.target.value);
|
|
15584
|
+
setActiveInput("start");
|
|
15585
|
+
}
|
|
15586
|
+
if (input === "end") {
|
|
15587
|
+
inputEnd.onChange && inputEnd.onChange(e);
|
|
15588
|
+
setEndValue(e.target.value);
|
|
15589
|
+
setActiveInput("end");
|
|
15590
|
+
}
|
|
15591
|
+
};
|
|
15592
|
+
var handleBlur = function (e, input) {
|
|
15593
|
+
var value = "".concat(startValue, " - ").concat(endValue);
|
|
15594
|
+
if (input === "start") {
|
|
15595
|
+
inputStart.onBlur && inputStart.onBlur(e);
|
|
15596
|
+
}
|
|
15597
|
+
if (input === "end") {
|
|
15598
|
+
inputEnd.onBlur && inputEnd.onBlur(e);
|
|
15599
|
+
}
|
|
15600
|
+
validateRangeOnBlur({
|
|
15601
|
+
value: value,
|
|
15602
|
+
minDate: minDate,
|
|
15603
|
+
maxDate: maxDate,
|
|
15604
|
+
disabledDates: disabledDates,
|
|
15605
|
+
previousValidValue: previousValidValue.current,
|
|
15606
|
+
dispatchChangeEvent: function (e, corrected) {
|
|
15607
|
+
var _a, _b;
|
|
15608
|
+
var _c = convertRangeStringToDates(corrected), start = _c[0], end = _c[1];
|
|
15609
|
+
(_a = inputStart.onChange) === null || _a === void 0 ? void 0 : _a.call(inputStart, __assign(__assign({}, e), { target: __assign(__assign({}, e.target), { value: formatDate(start) }) }));
|
|
15610
|
+
(_b = inputEnd.onChange) === null || _b === void 0 ? void 0 : _b.call(inputEnd, __assign(__assign({}, e), { target: __assign(__assign({}, e.target), { value: formatDate(end) }) }));
|
|
15611
|
+
previousValidValue.current = corrected;
|
|
15612
|
+
},
|
|
15613
|
+
blurEvent: e,
|
|
15614
|
+
});
|
|
15615
|
+
};
|
|
15616
|
+
var handleCalendarOpenChange = function (isOpen) {
|
|
15617
|
+
if (document.activeElement)
|
|
15618
|
+
setShowCalendar(isOpen);
|
|
15619
|
+
};
|
|
15620
|
+
var handleAutoFocus = function (e) {
|
|
15621
|
+
e.preventDefault();
|
|
15622
|
+
};
|
|
15623
|
+
var setStartInputRef = function (el) {
|
|
15624
|
+
startInputRef.current = el;
|
|
15625
|
+
};
|
|
15626
|
+
var setEndInputRef = function (el) {
|
|
15627
|
+
endInputRef.current = el;
|
|
15628
|
+
};
|
|
15629
|
+
var onCancelClick = function () {
|
|
15630
|
+
setShowCalendar(false);
|
|
15631
|
+
};
|
|
15632
|
+
var getCalendarRange = function () {
|
|
15633
|
+
var _a = convertRangeStringToDateTuple("".concat(startValue, " - ").concat(endValue)), start = _a[0], end = _a[1];
|
|
15634
|
+
// when inital or one date is set - allow user to pick start / end independently
|
|
15635
|
+
if (start && end) {
|
|
15636
|
+
if (activeInput === "start") {
|
|
15637
|
+
return end ? [end] : [];
|
|
15638
|
+
}
|
|
15639
|
+
if (activeInput === "end") {
|
|
15640
|
+
return start ? [start] : [];
|
|
15641
|
+
}
|
|
15642
|
+
}
|
|
15643
|
+
// removes all non date obj
|
|
15644
|
+
return [start, end].filter(function (d) { return d instanceof Date; });
|
|
15645
|
+
};
|
|
15646
|
+
return (React.createElement("div", { className: "arc-DatePickerRange", ref: setThemeElement },
|
|
15647
|
+
React.createElement(TextInputWithPlaceHolder, __assign({ ref: setStartInputRef, type: "text", iconButton: {
|
|
15648
|
+
onClick: function () {
|
|
15649
|
+
return handleIconClick({
|
|
15650
|
+
ref: startInputRef.current,
|
|
15651
|
+
isDisabled: inputStart.isDisabled,
|
|
15652
|
+
isReadOnly: inputStart.isReadOnly,
|
|
15653
|
+
input: "start",
|
|
15654
|
+
});
|
|
15655
|
+
},
|
|
15656
|
+
onFocus: function () { return handleIconFocus({ input: "start" }); },
|
|
15657
|
+
icon: "datePickerCalendar",
|
|
15658
|
+
label: startAriaLabel,
|
|
15659
|
+
ref: startButtonRef,
|
|
15660
|
+
}, maxLength: 23, onBlur: function (e) { return handleBlur(e, "start"); }, errorMessage: inputStart.errorMessage, helper: inputStart.helper, id: inputStart.id, isDisabled: inputStart.isDisabled, isReadOnly: inputStart.isReadOnly, isRequired: getIsRequired(inputStart), label: getLabel(inputStart, "start"), hideLabel: inputStart.hideLabel, name: inputStart.name, onClickDisclosure: inputStart.onClickDisclosure, disclosureTitle: inputStart.disclosureTitle, disclosureText: inputStart.disclosureText, placeholder: lowerCaseDateFormat, value: startValue, onChange: function (e) { return handleChange(e, "start"); } }, filterAttrs(inputStart))),
|
|
15661
|
+
React.createElement(TextInputWithPlaceHolder, __assign({ ref: setEndInputRef, type: "text", iconButton: {
|
|
15662
|
+
onClick: function () {
|
|
15663
|
+
return handleIconClick({
|
|
15664
|
+
ref: endInputRef.current,
|
|
15665
|
+
isDisabled: inputEnd.isDisabled,
|
|
15666
|
+
isReadOnly: inputEnd.isReadOnly,
|
|
15667
|
+
input: "end",
|
|
15668
|
+
});
|
|
15669
|
+
},
|
|
15670
|
+
onFocus: function () { return handleIconFocus({ input: "end" }); },
|
|
15671
|
+
icon: "datePickerCalendar",
|
|
15672
|
+
label: endAriaLabel,
|
|
15673
|
+
ref: endButtonRef,
|
|
15674
|
+
}, maxLength: 23, onBlur: function (e) { return handleBlur(e, "end"); }, errorMessage: inputEnd.errorMessage, helper: inputEnd.helper, id: inputEnd.id, isDisabled: inputEnd.isDisabled, isReadOnly: inputEnd.isReadOnly, isRequired: getIsRequired(inputEnd), label: getLabel(inputEnd, "end"), hideLabel: inputStart.hideLabel, name: inputEnd.name, onClickDisclosure: inputEnd.onClickDisclosure, disclosureTitle: inputEnd.disclosureTitle, disclosureText: inputEnd.disclosureText, placeholder: lowerCaseDateFormat, value: endValue, onChange: function (e) { return handleChange(e, "end"); } }, filterAttrs(inputEnd))),
|
|
15675
|
+
React.createElement(Root2$3, { open: showCalendar, onOpenChange: handleCalendarOpenChange },
|
|
15676
|
+
React.createElement(Anchor2$1, null),
|
|
15677
|
+
React.createElement(Portal$5, { container: themeElement },
|
|
15678
|
+
React.createElement(Content2$4, { align: "end", "aria-modal": "true", "aria-label": "Choose Date", className: "arc-DatePicker-modal", onOpenAutoFocus: handleAutoFocus, onCloseAutoFocus: handleCalendarClose },
|
|
15679
|
+
React.createElement(Calendar, { autoFocusOnMount: true, type: type, onCancelClick: onCancelClick, selectionType: "range", selectedRange: getCalendarRange(), disabledDates: disabledDates, minDate: minDate, maxDate: maxDate, onRangeSelect: handleRangeSelect }))))));
|
|
15680
|
+
};
|
|
15681
|
+
|
|
15459
15682
|
/**
|
|
15460
15683
|
* Use `Disclosure` to show and hide sections of content.
|
|
15461
15684
|
*/
|
|
@@ -15507,273 +15730,6 @@ var Download = function (_a) {
|
|
|
15507
15730
|
React.createElement(Text, { tone: "supporting" }, description))))));
|
|
15508
15731
|
};
|
|
15509
15732
|
|
|
15510
|
-
const LEFT = "Left";
|
|
15511
|
-
const RIGHT = "Right";
|
|
15512
|
-
const UP = "Up";
|
|
15513
|
-
const DOWN = "Down";
|
|
15514
|
-
|
|
15515
|
-
/* global document */
|
|
15516
|
-
const defaultProps = {
|
|
15517
|
-
delta: 10,
|
|
15518
|
-
preventScrollOnSwipe: false,
|
|
15519
|
-
rotationAngle: 0,
|
|
15520
|
-
trackMouse: false,
|
|
15521
|
-
trackTouch: true,
|
|
15522
|
-
swipeDuration: Infinity,
|
|
15523
|
-
touchEventOptions: { passive: true },
|
|
15524
|
-
};
|
|
15525
|
-
const initialState = {
|
|
15526
|
-
first: true,
|
|
15527
|
-
initial: [0, 0],
|
|
15528
|
-
start: 0,
|
|
15529
|
-
swiping: false,
|
|
15530
|
-
xy: [0, 0],
|
|
15531
|
-
};
|
|
15532
|
-
const mouseMove = "mousemove";
|
|
15533
|
-
const mouseUp = "mouseup";
|
|
15534
|
-
const touchEnd = "touchend";
|
|
15535
|
-
const touchMove = "touchmove";
|
|
15536
|
-
const touchStart = "touchstart";
|
|
15537
|
-
function getDirection(absX, absY, deltaX, deltaY) {
|
|
15538
|
-
if (absX > absY) {
|
|
15539
|
-
if (deltaX > 0) {
|
|
15540
|
-
return RIGHT;
|
|
15541
|
-
}
|
|
15542
|
-
return LEFT;
|
|
15543
|
-
}
|
|
15544
|
-
else if (deltaY > 0) {
|
|
15545
|
-
return DOWN;
|
|
15546
|
-
}
|
|
15547
|
-
return UP;
|
|
15548
|
-
}
|
|
15549
|
-
function rotateXYByAngle(pos, angle) {
|
|
15550
|
-
if (angle === 0)
|
|
15551
|
-
return pos;
|
|
15552
|
-
const angleInRadians = (Math.PI / 180) * angle;
|
|
15553
|
-
const x = pos[0] * Math.cos(angleInRadians) + pos[1] * Math.sin(angleInRadians);
|
|
15554
|
-
const y = pos[1] * Math.cos(angleInRadians) - pos[0] * Math.sin(angleInRadians);
|
|
15555
|
-
return [x, y];
|
|
15556
|
-
}
|
|
15557
|
-
function getHandlers(set, handlerProps) {
|
|
15558
|
-
const onStart = (event) => {
|
|
15559
|
-
const isTouch = "touches" in event;
|
|
15560
|
-
// if more than a single touch don't track, for now...
|
|
15561
|
-
if (isTouch && event.touches.length > 1)
|
|
15562
|
-
return;
|
|
15563
|
-
set((state, props) => {
|
|
15564
|
-
// setup mouse listeners on document to track swipe since swipe can leave container
|
|
15565
|
-
if (props.trackMouse && !isTouch) {
|
|
15566
|
-
document.addEventListener(mouseMove, onMove);
|
|
15567
|
-
document.addEventListener(mouseUp, onUp);
|
|
15568
|
-
}
|
|
15569
|
-
const { clientX, clientY } = isTouch ? event.touches[0] : event;
|
|
15570
|
-
const xy = rotateXYByAngle([clientX, clientY], props.rotationAngle);
|
|
15571
|
-
props.onTouchStartOrOnMouseDown &&
|
|
15572
|
-
props.onTouchStartOrOnMouseDown({ event });
|
|
15573
|
-
return Object.assign(Object.assign(Object.assign({}, state), initialState), { initial: xy.slice(), xy, start: event.timeStamp || 0 });
|
|
15574
|
-
});
|
|
15575
|
-
};
|
|
15576
|
-
const onMove = (event) => {
|
|
15577
|
-
set((state, props) => {
|
|
15578
|
-
const isTouch = "touches" in event;
|
|
15579
|
-
// Discount a swipe if additional touches are present after
|
|
15580
|
-
// a swipe has started.
|
|
15581
|
-
if (isTouch && event.touches.length > 1) {
|
|
15582
|
-
return state;
|
|
15583
|
-
}
|
|
15584
|
-
// if swipe has exceeded duration stop tracking
|
|
15585
|
-
if (event.timeStamp - state.start > props.swipeDuration) {
|
|
15586
|
-
return state.swiping ? Object.assign(Object.assign({}, state), { swiping: false }) : state;
|
|
15587
|
-
}
|
|
15588
|
-
const { clientX, clientY } = isTouch ? event.touches[0] : event;
|
|
15589
|
-
const [x, y] = rotateXYByAngle([clientX, clientY], props.rotationAngle);
|
|
15590
|
-
const deltaX = x - state.xy[0];
|
|
15591
|
-
const deltaY = y - state.xy[1];
|
|
15592
|
-
const absX = Math.abs(deltaX);
|
|
15593
|
-
const absY = Math.abs(deltaY);
|
|
15594
|
-
const time = (event.timeStamp || 0) - state.start;
|
|
15595
|
-
const velocity = Math.sqrt(absX * absX + absY * absY) / (time || 1);
|
|
15596
|
-
const vxvy = [deltaX / (time || 1), deltaY / (time || 1)];
|
|
15597
|
-
const dir = getDirection(absX, absY, deltaX, deltaY);
|
|
15598
|
-
// if swipe is under delta and we have not started to track a swipe: skip update
|
|
15599
|
-
const delta = typeof props.delta === "number"
|
|
15600
|
-
? props.delta
|
|
15601
|
-
: props.delta[dir.toLowerCase()] ||
|
|
15602
|
-
defaultProps.delta;
|
|
15603
|
-
if (absX < delta && absY < delta && !state.swiping)
|
|
15604
|
-
return state;
|
|
15605
|
-
const eventData = {
|
|
15606
|
-
absX,
|
|
15607
|
-
absY,
|
|
15608
|
-
deltaX,
|
|
15609
|
-
deltaY,
|
|
15610
|
-
dir,
|
|
15611
|
-
event,
|
|
15612
|
-
first: state.first,
|
|
15613
|
-
initial: state.initial,
|
|
15614
|
-
velocity,
|
|
15615
|
-
vxvy,
|
|
15616
|
-
};
|
|
15617
|
-
// call onSwipeStart if present and is first swipe event
|
|
15618
|
-
eventData.first && props.onSwipeStart && props.onSwipeStart(eventData);
|
|
15619
|
-
// call onSwiping if present
|
|
15620
|
-
props.onSwiping && props.onSwiping(eventData);
|
|
15621
|
-
// track if a swipe is cancelable (handler for swiping or swiped(dir) exists)
|
|
15622
|
-
// so we can call preventDefault if needed
|
|
15623
|
-
let cancelablePageSwipe = false;
|
|
15624
|
-
if (props.onSwiping ||
|
|
15625
|
-
props.onSwiped ||
|
|
15626
|
-
props[`onSwiped${dir}`]) {
|
|
15627
|
-
cancelablePageSwipe = true;
|
|
15628
|
-
}
|
|
15629
|
-
if (cancelablePageSwipe &&
|
|
15630
|
-
props.preventScrollOnSwipe &&
|
|
15631
|
-
props.trackTouch &&
|
|
15632
|
-
event.cancelable) {
|
|
15633
|
-
event.preventDefault();
|
|
15634
|
-
}
|
|
15635
|
-
return Object.assign(Object.assign({}, state), {
|
|
15636
|
-
// first is now always false
|
|
15637
|
-
first: false, eventData, swiping: true });
|
|
15638
|
-
});
|
|
15639
|
-
};
|
|
15640
|
-
const onEnd = (event) => {
|
|
15641
|
-
set((state, props) => {
|
|
15642
|
-
let eventData;
|
|
15643
|
-
if (state.swiping && state.eventData) {
|
|
15644
|
-
// if swipe is less than duration fire swiped callbacks
|
|
15645
|
-
if (event.timeStamp - state.start < props.swipeDuration) {
|
|
15646
|
-
eventData = Object.assign(Object.assign({}, state.eventData), { event });
|
|
15647
|
-
props.onSwiped && props.onSwiped(eventData);
|
|
15648
|
-
const onSwipedDir = props[`onSwiped${eventData.dir}`];
|
|
15649
|
-
onSwipedDir && onSwipedDir(eventData);
|
|
15650
|
-
}
|
|
15651
|
-
}
|
|
15652
|
-
else {
|
|
15653
|
-
props.onTap && props.onTap({ event });
|
|
15654
|
-
}
|
|
15655
|
-
props.onTouchEndOrOnMouseUp && props.onTouchEndOrOnMouseUp({ event });
|
|
15656
|
-
return Object.assign(Object.assign(Object.assign({}, state), initialState), { eventData });
|
|
15657
|
-
});
|
|
15658
|
-
};
|
|
15659
|
-
const cleanUpMouse = () => {
|
|
15660
|
-
// safe to just call removeEventListener
|
|
15661
|
-
document.removeEventListener(mouseMove, onMove);
|
|
15662
|
-
document.removeEventListener(mouseUp, onUp);
|
|
15663
|
-
};
|
|
15664
|
-
const onUp = (e) => {
|
|
15665
|
-
cleanUpMouse();
|
|
15666
|
-
onEnd(e);
|
|
15667
|
-
};
|
|
15668
|
-
/**
|
|
15669
|
-
* The value of passive on touchMove depends on `preventScrollOnSwipe`:
|
|
15670
|
-
* - true => { passive: false }
|
|
15671
|
-
* - false => { passive: true } // Default
|
|
15672
|
-
*
|
|
15673
|
-
* NOTE: When preventScrollOnSwipe is true, we attempt to call preventDefault to prevent scroll.
|
|
15674
|
-
*
|
|
15675
|
-
* props.touchEventOptions can also be set for all touch event listeners,
|
|
15676
|
-
* but for `touchmove` specifically when `preventScrollOnSwipe` it will
|
|
15677
|
-
* supersede and force passive to false.
|
|
15678
|
-
*
|
|
15679
|
-
*/
|
|
15680
|
-
const attachTouch = (el, props) => {
|
|
15681
|
-
let cleanup = () => { };
|
|
15682
|
-
if (el && el.addEventListener) {
|
|
15683
|
-
const baseOptions = Object.assign(Object.assign({}, defaultProps.touchEventOptions), props.touchEventOptions);
|
|
15684
|
-
// attach touch event listeners and handlers
|
|
15685
|
-
const tls = [
|
|
15686
|
-
[touchStart, onStart, baseOptions],
|
|
15687
|
-
// preventScrollOnSwipe option supersedes touchEventOptions.passive
|
|
15688
|
-
[
|
|
15689
|
-
touchMove,
|
|
15690
|
-
onMove,
|
|
15691
|
-
Object.assign(Object.assign({}, baseOptions), (props.preventScrollOnSwipe ? { passive: false } : {})),
|
|
15692
|
-
],
|
|
15693
|
-
[touchEnd, onEnd, baseOptions],
|
|
15694
|
-
];
|
|
15695
|
-
tls.forEach(([e, h, o]) => el.addEventListener(e, h, o));
|
|
15696
|
-
// return properly scoped cleanup method for removing listeners, options not required
|
|
15697
|
-
cleanup = () => tls.forEach(([e, h]) => el.removeEventListener(e, h));
|
|
15698
|
-
}
|
|
15699
|
-
return cleanup;
|
|
15700
|
-
};
|
|
15701
|
-
const onRef = (el) => {
|
|
15702
|
-
// "inline" ref functions are called twice on render, once with null then again with DOM element
|
|
15703
|
-
// ignore null here
|
|
15704
|
-
if (el === null)
|
|
15705
|
-
return;
|
|
15706
|
-
set((state, props) => {
|
|
15707
|
-
// if the same DOM el as previous just return state
|
|
15708
|
-
if (state.el === el)
|
|
15709
|
-
return state;
|
|
15710
|
-
const addState = {};
|
|
15711
|
-
// if new DOM el clean up old DOM and reset cleanUpTouch
|
|
15712
|
-
if (state.el && state.el !== el && state.cleanUpTouch) {
|
|
15713
|
-
state.cleanUpTouch();
|
|
15714
|
-
addState.cleanUpTouch = void 0;
|
|
15715
|
-
}
|
|
15716
|
-
// only attach if we want to track touch
|
|
15717
|
-
if (props.trackTouch && el) {
|
|
15718
|
-
addState.cleanUpTouch = attachTouch(el, props);
|
|
15719
|
-
}
|
|
15720
|
-
// store event attached DOM el for comparison, clean up, and re-attachment
|
|
15721
|
-
return Object.assign(Object.assign(Object.assign({}, state), { el }), addState);
|
|
15722
|
-
});
|
|
15723
|
-
};
|
|
15724
|
-
// set ref callback to attach touch event listeners
|
|
15725
|
-
const output = {
|
|
15726
|
-
ref: onRef,
|
|
15727
|
-
};
|
|
15728
|
-
// if track mouse attach mouse down listener
|
|
15729
|
-
if (handlerProps.trackMouse) {
|
|
15730
|
-
output.onMouseDown = onStart;
|
|
15731
|
-
}
|
|
15732
|
-
return [output, attachTouch];
|
|
15733
|
-
}
|
|
15734
|
-
function updateTransientState(state, props, previousProps, attachTouch) {
|
|
15735
|
-
// if trackTouch is off or there is no el, then remove handlers if necessary and exit
|
|
15736
|
-
if (!props.trackTouch || !state.el) {
|
|
15737
|
-
if (state.cleanUpTouch) {
|
|
15738
|
-
state.cleanUpTouch();
|
|
15739
|
-
}
|
|
15740
|
-
return Object.assign(Object.assign({}, state), { cleanUpTouch: undefined });
|
|
15741
|
-
}
|
|
15742
|
-
// trackTouch is on, so if there are no handlers attached, attach them and exit
|
|
15743
|
-
if (!state.cleanUpTouch) {
|
|
15744
|
-
return Object.assign(Object.assign({}, state), { cleanUpTouch: attachTouch(state.el, props) });
|
|
15745
|
-
}
|
|
15746
|
-
// trackTouch is on and handlers are already attached, so if preventScrollOnSwipe changes value,
|
|
15747
|
-
// remove and reattach handlers (this is required to update the passive option when attaching
|
|
15748
|
-
// the handlers)
|
|
15749
|
-
if (props.preventScrollOnSwipe !== previousProps.preventScrollOnSwipe ||
|
|
15750
|
-
props.touchEventOptions.passive !== previousProps.touchEventOptions.passive) {
|
|
15751
|
-
state.cleanUpTouch();
|
|
15752
|
-
return Object.assign(Object.assign({}, state), { cleanUpTouch: attachTouch(state.el, props) });
|
|
15753
|
-
}
|
|
15754
|
-
return state;
|
|
15755
|
-
}
|
|
15756
|
-
function useSwipeable(options) {
|
|
15757
|
-
const { trackMouse } = options;
|
|
15758
|
-
const transientState = React__namespace.useRef(Object.assign({}, initialState));
|
|
15759
|
-
const transientProps = React__namespace.useRef(Object.assign({}, defaultProps));
|
|
15760
|
-
// track previous rendered props
|
|
15761
|
-
const previousProps = React__namespace.useRef(Object.assign({}, transientProps.current));
|
|
15762
|
-
previousProps.current = Object.assign({}, transientProps.current);
|
|
15763
|
-
// update current render props & defaults
|
|
15764
|
-
transientProps.current = Object.assign(Object.assign({}, defaultProps), options);
|
|
15765
|
-
// Force defaults for config properties
|
|
15766
|
-
let defaultKey;
|
|
15767
|
-
for (defaultKey in defaultProps) {
|
|
15768
|
-
if (transientProps.current[defaultKey] === void 0) {
|
|
15769
|
-
transientProps.current[defaultKey] = defaultProps[defaultKey];
|
|
15770
|
-
}
|
|
15771
|
-
}
|
|
15772
|
-
const [handlers, attachTouch] = React__namespace.useMemo(() => getHandlers((stateSetter) => (transientState.current = stateSetter(transientState.current, transientProps.current)), { trackMouse }), [trackMouse]);
|
|
15773
|
-
transientState.current = updateTransientState(transientState.current, transientProps.current, previousProps.current, attachTouch);
|
|
15774
|
-
return handlers;
|
|
15775
|
-
}
|
|
15776
|
-
|
|
15777
15733
|
var DIALOG_NAME = "Dialog";
|
|
15778
15734
|
var [createDialogContext, createDialogScope] = createContextScope$1(DIALOG_NAME);
|
|
15779
15735
|
var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
|
|
@@ -16074,27 +16030,10 @@ var Title = DialogTitle;
|
|
|
16074
16030
|
var Description = DialogDescription;
|
|
16075
16031
|
|
|
16076
16032
|
var Drawer = function (_a) {
|
|
16077
|
-
var isOpen = _a.isOpen,
|
|
16033
|
+
var isOpen = _a.isOpen, children = _a.children, onRequestClose = _a.onRequestClose, _b = _a.noOverlay, noOverlay = _b === void 0 ? false : _b, _c = _a.shouldReturnFocus, shouldReturnFocus = _c === void 0 ? true : _c, _d = _a.size, size = _d === void 0 ? "m" : _d, height = _a.height, width = _a.width, _e = _a.position, position = _e === void 0 ? "right" : _e, props = __rest(_a, ["isOpen", "children", "onRequestClose", "noOverlay", "shouldReturnFocus", "size", "height", "width", "position"]);
|
|
16078
16034
|
var _f = useThemeElement(), themeElement = _f[0], setThemeElement = _f[1];
|
|
16079
16035
|
var triggerRef = React.useRef(null);
|
|
16080
16036
|
var _g = React.useState(null), exitTranslateValue = _g[0], setExitTranslateValue = _g[1];
|
|
16081
|
-
var handlers = useSwipeable({
|
|
16082
|
-
onSwiped: function (_a) {
|
|
16083
|
-
var dir = _a.dir;
|
|
16084
|
-
if (position === "left" && dir === "Left") {
|
|
16085
|
-
setExitTranslateValue([-100, 0]);
|
|
16086
|
-
}
|
|
16087
|
-
if (position === "right" && dir === "Right") {
|
|
16088
|
-
setExitTranslateValue([100, 0]);
|
|
16089
|
-
}
|
|
16090
|
-
if (position === "top" && dir === "Up") {
|
|
16091
|
-
setExitTranslateValue([0, -100]);
|
|
16092
|
-
}
|
|
16093
|
-
if (position === "bottom" && dir === "Down") {
|
|
16094
|
-
setExitTranslateValue([0, 100]);
|
|
16095
|
-
}
|
|
16096
|
-
},
|
|
16097
|
-
});
|
|
16098
16037
|
var setTriggerElement = function () {
|
|
16099
16038
|
return shouldReturnFocus &&
|
|
16100
16039
|
(triggerRef.current = document.activeElement);
|
|
@@ -16116,30 +16055,69 @@ var Drawer = function (_a) {
|
|
|
16116
16055
|
},
|
|
16117
16056
|
}
|
|
16118
16057
|
: {};
|
|
16058
|
+
var sizingProperties = __assign(__assign({}, (position !== "bottom" && { width: width })), (position === "bottom" && { height: height }));
|
|
16119
16059
|
return (React.createElement("div", { ref: setThemeElement },
|
|
16120
16060
|
React.createElement(Root$3, { open: isOpen },
|
|
16121
16061
|
React.createElement(Portal$3, { container: themeElement },
|
|
16122
16062
|
React.createElement(Overlay, { style: exitTransitionStyle.overlay, className: classNames("arc-Drawer-overlay", {
|
|
16123
|
-
"arc-Drawer-overlay--visible":
|
|
16063
|
+
"arc-Drawer-overlay--visible": !noOverlay,
|
|
16124
16064
|
}) },
|
|
16125
16065
|
React.createElement(Content$1, __assign({ onTransitionEnd: function () {
|
|
16126
16066
|
setExitTranslateValue(null);
|
|
16127
16067
|
onRequestClose();
|
|
16128
|
-
}, className: classNames("arc-Drawer-slider", "arc-Drawer-slider--".concat(size), "arc-Drawer-slider--".concat(position)), style:
|
|
16129
|
-
|
|
16130
|
-
|
|
16131
|
-
|
|
16132
|
-
|
|
16133
|
-
|
|
16134
|
-
|
|
16135
|
-
|
|
16136
|
-
|
|
16137
|
-
|
|
16138
|
-
|
|
16139
|
-
|
|
16140
|
-
|
|
16141
|
-
|
|
16142
|
-
|
|
16068
|
+
}, className: classNames("arc-Drawer-slider", "arc-Drawer-slider--".concat(size), "arc-Drawer-slider--".concat(position)), style: (__assign({}, sizingProperties)), onOpenAutoFocus: setTriggerElement, onCloseAutoFocus: focusTriggerElement, onEscapeKeyDown: onRequestClose, onInteractOutside: onRequestClose, "aria-modal": "true" }, filterAttrs(props)),
|
|
16069
|
+
children,
|
|
16070
|
+
React.createElement("div", { className: "arc-Drawer-closeButtonContainer" },
|
|
16071
|
+
React.createElement("button", { "aria-label": "close", onClick: onRequestClose, className: "arc-Drawer-closeButton" },
|
|
16072
|
+
React.createElement(ThemeIcon, { size: 32, icon: "drawerClose" })))))))));
|
|
16073
|
+
};
|
|
16074
|
+
|
|
16075
|
+
/**
|
|
16076
|
+
* Use `Rule` to display a horizontal or vertical rule.
|
|
16077
|
+
*/
|
|
16078
|
+
var Rule = function (_a, props) {
|
|
16079
|
+
var _b;
|
|
16080
|
+
var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
|
|
16081
|
+
var surface = React.useContext(Context$3).surface;
|
|
16082
|
+
return (React.createElement("hr", __assign({ className: classNames((_b = {
|
|
16083
|
+
"arc-Rule": true
|
|
16084
|
+
},
|
|
16085
|
+
_b["arc-Rule--".concat(orientation)] = true,
|
|
16086
|
+
_b["arc-Rule--onDarkSurface"] = surface === "dark",
|
|
16087
|
+
_b)) }, filterAttrs(props))));
|
|
16088
|
+
};
|
|
16089
|
+
|
|
16090
|
+
var DrawerHeader = function (_a) {
|
|
16091
|
+
var title = _a.title, _b = _a.isFixed, isFixed = _b === void 0 ? false : _b, props = __rest(_a, ["title", "isFixed"]);
|
|
16092
|
+
return (React.createElement(React.Fragment, null,
|
|
16093
|
+
React.createElement("div", __assign({ className: classNames("arc-DrawerHeader", {
|
|
16094
|
+
"arc-DrawerHeader--isFixed": isFixed,
|
|
16095
|
+
}) }, filterAttrs(props)),
|
|
16096
|
+
React.createElement("div", { className: "arc-DrawerHeader-content" },
|
|
16097
|
+
React.createElement("div", { className: "arc-DrawerHeader-titleContainer" },
|
|
16098
|
+
React.createElement(Title, { asChild: true },
|
|
16099
|
+
React.createElement("h1", { className: "arc-DrawerHeader-title" }, title)))),
|
|
16100
|
+
isFixed && (React.createElement("div", { className: "arc-DrawerHeader-divider" },
|
|
16101
|
+
React.createElement(Rule, null))))));
|
|
16102
|
+
};
|
|
16103
|
+
|
|
16104
|
+
var DrawerFooter = function (_a) {
|
|
16105
|
+
var isFixed = _a.isFixed, children = _a.children;
|
|
16106
|
+
return (React.createElement(React.Fragment, null,
|
|
16107
|
+
React.createElement("div", { className: classNames("arc-DrawerFooter", {
|
|
16108
|
+
"arc-DrawerFooter--isFixed": isFixed,
|
|
16109
|
+
}) },
|
|
16110
|
+
isFixed && (React.createElement("div", { className: "arc-DrawerFooter-divider" },
|
|
16111
|
+
React.createElement(Rule, null))),
|
|
16112
|
+
children)));
|
|
16113
|
+
};
|
|
16114
|
+
|
|
16115
|
+
var DrawerContent = function (_a) {
|
|
16116
|
+
var isFullBleed = _a.isFullBleed, children = _a.children;
|
|
16117
|
+
return (React.createElement("div", { className: classNames("arc-DrawerContent", {
|
|
16118
|
+
"arc-DrawerContent--isFullBleed": isFullBleed,
|
|
16119
|
+
}) },
|
|
16120
|
+
React.createElement("div", { className: "arc-Drawer-section" }, children)));
|
|
16143
16121
|
};
|
|
16144
16122
|
|
|
16145
16123
|
/**
|
|
@@ -16253,7 +16231,7 @@ var GhostedHeroBanner = function (_a) {
|
|
|
16253
16231
|
return (React.createElement("div", __assign({ className: "arc-GhostedHeroBanner" }, filterAttrs(props)),
|
|
16254
16232
|
React.createElement("div", { className: "arc-GhostedHeroBanner-content" },
|
|
16255
16233
|
label && (React.createElement(React.Fragment, null,
|
|
16256
|
-
React.createElement(Heading, {
|
|
16234
|
+
React.createElement(Heading, { fontStyle: "overline" }, label),
|
|
16257
16235
|
React.createElement(VerticalSpace, { size: "8" }))),
|
|
16258
16236
|
React.createElement(Heading, { level: headingLevel, size: "xl" }, heading),
|
|
16259
16237
|
text && (React.createElement(React.Fragment, null,
|
|
@@ -16265,14 +16243,361 @@ var GhostedHeroBanner = function (_a) {
|
|
|
16265
16243
|
React.createElement("div", { className: "arc-GhostedHeroBanner-image " }, img && React.createElement(BannerImage, __assign({ ariaHidden: true }, img)))));
|
|
16266
16244
|
};
|
|
16267
16245
|
|
|
16268
|
-
var
|
|
16269
|
-
|
|
16270
|
-
|
|
16271
|
-
|
|
16272
|
-
|
|
16273
|
-
|
|
16274
|
-
|
|
16275
|
-
|
|
16246
|
+
var shorterCssColorNames;
|
|
16247
|
+
var hasRequiredShorterCssColorNames;
|
|
16248
|
+
|
|
16249
|
+
function requireShorterCssColorNames () {
|
|
16250
|
+
if (hasRequiredShorterCssColorNames) return shorterCssColorNames;
|
|
16251
|
+
hasRequiredShorterCssColorNames = 1;
|
|
16252
|
+
shorterCssColorNames = {
|
|
16253
|
+
aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
16254
|
+
azure: /#f0ffff(ff)?(?!\w)/gi,
|
|
16255
|
+
beige: /#f5f5dc(ff)?(?!\w)/gi,
|
|
16256
|
+
bisque: /#ffe4c4(ff)?(?!\w)/gi,
|
|
16257
|
+
black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
|
|
16258
|
+
blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
|
|
16259
|
+
brown: /#a52a2a(ff)?(?!\w)/gi,
|
|
16260
|
+
coral: /#ff7f50(ff)?(?!\w)/gi,
|
|
16261
|
+
cornsilk: /#fff8dc(ff)?(?!\w)/gi,
|
|
16262
|
+
crimson: /#dc143c(ff)?(?!\w)/gi,
|
|
16263
|
+
cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
16264
|
+
darkblue: /#00008b(ff)?(?!\w)/gi,
|
|
16265
|
+
darkcyan: /#008b8b(ff)?(?!\w)/gi,
|
|
16266
|
+
darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
|
|
16267
|
+
darkred: /#8b0000(ff)?(?!\w)/gi,
|
|
16268
|
+
deeppink: /#ff1493(ff)?(?!\w)/gi,
|
|
16269
|
+
dimgrey: /#696969(ff)?(?!\w)/gi,
|
|
16270
|
+
gold: /#ffd700(ff)?(?!\w)/gi,
|
|
16271
|
+
green: /#008000(ff)?(?!\w)/gi,
|
|
16272
|
+
grey: /#808080(ff)?(?!\w)/gi,
|
|
16273
|
+
honeydew: /#f0fff0(ff)?(?!\w)/gi,
|
|
16274
|
+
hotpink: /#ff69b4(ff)?(?!\w)/gi,
|
|
16275
|
+
indigo: /#4b0082(ff)?(?!\w)/gi,
|
|
16276
|
+
ivory: /#fffff0(ff)?(?!\w)/gi,
|
|
16277
|
+
khaki: /#f0e68c(ff)?(?!\w)/gi,
|
|
16278
|
+
lavender: /#e6e6fa(ff)?(?!\w)/gi,
|
|
16279
|
+
lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
|
|
16280
|
+
linen: /#faf0e6(ff)?(?!\w)/gi,
|
|
16281
|
+
maroon: /#800000(ff)?(?!\w)/gi,
|
|
16282
|
+
moccasin: /#ffe4b5(ff)?(?!\w)/gi,
|
|
16283
|
+
navy: /#000080(ff)?(?!\w)/gi,
|
|
16284
|
+
oldlace: /#fdf5e6(ff)?(?!\w)/gi,
|
|
16285
|
+
olive: /#808000(ff)?(?!\w)/gi,
|
|
16286
|
+
orange: /#ffa500(ff)?(?!\w)/gi,
|
|
16287
|
+
orchid: /#da70d6(ff)?(?!\w)/gi,
|
|
16288
|
+
peru: /#cd853f(ff)?(?!\w)/gi,
|
|
16289
|
+
pink: /#ffc0cb(ff)?(?!\w)/gi,
|
|
16290
|
+
plum: /#dda0dd(ff)?(?!\w)/gi,
|
|
16291
|
+
purple: /#800080(ff)?(?!\w)/gi,
|
|
16292
|
+
red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
|
|
16293
|
+
salmon: /#fa8072(ff)?(?!\w)/gi,
|
|
16294
|
+
seagreen: /#2e8b57(ff)?(?!\w)/gi,
|
|
16295
|
+
seashell: /#fff5ee(ff)?(?!\w)/gi,
|
|
16296
|
+
sienna: /#a0522d(ff)?(?!\w)/gi,
|
|
16297
|
+
silver: /#c0c0c0(ff)?(?!\w)/gi,
|
|
16298
|
+
skyblue: /#87ceeb(ff)?(?!\w)/gi,
|
|
16299
|
+
snow: /#fffafa(ff)?(?!\w)/gi,
|
|
16300
|
+
tan: /#d2b48c(ff)?(?!\w)/gi,
|
|
16301
|
+
teal: /#008080(ff)?(?!\w)/gi,
|
|
16302
|
+
thistle: /#d8bfd8(ff)?(?!\w)/gi,
|
|
16303
|
+
tomato: /#ff6347(ff)?(?!\w)/gi,
|
|
16304
|
+
violet: /#ee82ee(ff)?(?!\w)/gi,
|
|
16305
|
+
wheat: /#f5deb3(ff)?(?!\w)/gi,
|
|
16306
|
+
white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
|
|
16307
|
+
};
|
|
16308
|
+
return shorterCssColorNames;
|
|
16309
|
+
}
|
|
16310
|
+
|
|
16311
|
+
var miniSvgDataUri;
|
|
16312
|
+
var hasRequiredMiniSvgDataUri;
|
|
16313
|
+
|
|
16314
|
+
function requireMiniSvgDataUri () {
|
|
16315
|
+
if (hasRequiredMiniSvgDataUri) return miniSvgDataUri;
|
|
16316
|
+
hasRequiredMiniSvgDataUri = 1;
|
|
16317
|
+
var shorterNames = requireShorterCssColorNames();
|
|
16318
|
+
var REGEX = {
|
|
16319
|
+
whitespace: /\s+/g,
|
|
16320
|
+
urlHexPairs: /%[\dA-F]{2}/g,
|
|
16321
|
+
quotes: /"/g,
|
|
16322
|
+
};
|
|
16323
|
+
|
|
16324
|
+
function collapseWhitespace(str) {
|
|
16325
|
+
return str.trim().replace(REGEX.whitespace, ' ');
|
|
16326
|
+
}
|
|
16327
|
+
|
|
16328
|
+
function dataURIPayload(string) {
|
|
16329
|
+
return encodeURIComponent(string)
|
|
16330
|
+
.replace(REGEX.urlHexPairs, specialHexEncode);
|
|
16331
|
+
}
|
|
16332
|
+
|
|
16333
|
+
// `#` gets converted to `%23`, so quite a few CSS named colors are shorter than
|
|
16334
|
+
// their equivalent URL-encoded hex codes.
|
|
16335
|
+
function colorCodeToShorterNames(string) {
|
|
16336
|
+
Object.keys(shorterNames).forEach(function(key) {
|
|
16337
|
+
if (shorterNames[key].test(string)) {
|
|
16338
|
+
string = string.replace(shorterNames[key], key);
|
|
16339
|
+
}
|
|
16340
|
+
});
|
|
16341
|
+
|
|
16342
|
+
return string;
|
|
16343
|
+
}
|
|
16344
|
+
|
|
16345
|
+
function specialHexEncode(match) {
|
|
16346
|
+
switch (match) { // Browsers tolerate these characters, and they're frequent
|
|
16347
|
+
case '%20': return ' ';
|
|
16348
|
+
case '%3D': return '=';
|
|
16349
|
+
case '%3A': return ':';
|
|
16350
|
+
case '%2F': return '/';
|
|
16351
|
+
default: return match.toLowerCase(); // compresses better
|
|
16352
|
+
}
|
|
16353
|
+
}
|
|
16354
|
+
|
|
16355
|
+
function svgToTinyDataUri(svgString) {
|
|
16356
|
+
if (typeof svgString !== 'string') {
|
|
16357
|
+
throw new TypeError('Expected a string, but received ' + typeof svgString);
|
|
16358
|
+
}
|
|
16359
|
+
// Strip the Byte-Order Mark if the SVG has one
|
|
16360
|
+
if (svgString.charCodeAt(0) === 0xfeff) { svgString = svgString.slice(1); }
|
|
16361
|
+
|
|
16362
|
+
var body = colorCodeToShorterNames(collapseWhitespace(svgString))
|
|
16363
|
+
.replace(REGEX.quotes, "'");
|
|
16364
|
+
return 'data:image/svg+xml,' + dataURIPayload(body);
|
|
16365
|
+
}
|
|
16366
|
+
|
|
16367
|
+
svgToTinyDataUri.toSrcset = function toSrcset(svgString) {
|
|
16368
|
+
return svgToTinyDataUri(svgString).replace(/ /g, '%20');
|
|
16369
|
+
};
|
|
16370
|
+
|
|
16371
|
+
miniSvgDataUri = svgToTinyDataUri;
|
|
16372
|
+
return miniSvgDataUri;
|
|
16373
|
+
}
|
|
16374
|
+
|
|
16375
|
+
var miniSvgDataUriExports = requireMiniSvgDataUri();
|
|
16376
|
+
var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
|
|
16377
|
+
|
|
16378
|
+
var S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
16379
|
+
var M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
16380
|
+
var L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
16381
|
+
var XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
16382
|
+
|
|
16383
|
+
var HomepageDark1 = "\n <svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n >\n <g clipPath=\"url(#clip0_6783_736)\">\n <g clipPath=\"url(#clip1_6783_736)\">\n <path\n d=\"M-6.26531 52.9727L66.2344 94.4728V177.473L-6.26531 218.973L-78.7656 177.473V94.4728L-6.26531 52.9727Z\"\n fill=\"#8D248D\"\n />\n <path\n d=\"M-6.26531 797.973L66.2344 839.474V922.471L-6.26531 963.973L-78.7656 922.471V839.474L-6.26531 797.973Z\"\n fill=\"#9E1DBE\"\n />\n <path\n d=\"M710.235 51.9727L782.234 93.7228V177.223L710.235 218.973L638.234 177.223V93.7228L710.235 51.9727Z\"\n fill=\"#5E3690\"\n />\n <path\n d=\"M710.235 797.973L782.234 839.474V922.471L710.235 963.973L638.234 922.471V839.474L710.235 797.973Z\"\n fill=\"#A73BC6\"\n />\n <path\n d=\"M-6.26531 300.973L66.2344 342.723V426.223L-6.26531 467.973L-78.7656 426.223V342.723L-6.26531 300.973Z\"\n fill=\"#9F21A2\"\n />\n <path\n d=\"M-6.26531 1045.97L66.2344 1087.47V1170.47L-6.26531 1211.97L-78.7656 1170.47V1087.47L-6.26531 1045.97Z\"\n fill=\"#9723C0\"\n />\n <path\n d=\"M710.235 299.973L782.234 341.723V425.223L710.235 466.973L638.234 425.223V341.723L710.235 299.973Z\"\n fill=\"#803EBA\"\n />\n <path\n d=\"M709.235 1045.97L781.234 1087.47V1170.47L709.235 1211.97L637.234 1170.47V1087.47L709.235 1045.97Z\"\n fill=\"#B03EC0\"\n />\n <path\n d=\"M-6.26531 548.973L66.2344 590.723V674.223L-6.26531 715.973L-78.7656 674.223V590.723L-6.26531 548.973Z\"\n fill=\"#A61DB7\"\n />\n <path\n d=\"M710.235 547.973L782.234 589.723V673.223L710.235 714.973L638.234 673.223V589.723L710.235 547.973Z\"\n fill=\"#9C38CB\"\n />\n <path\n d=\"M66.2343 -71.0273L138.234 -29.2773V54.2228L66.2343 95.9727L-5.76562 54.2228V-29.2773L66.2343 -71.0273Z\"\n fill=\"#8D248D\"\n />\n <path\n d=\"M65.2343 672.973L137.234 714.723V798.22L65.2343 839.973L-6.76562 798.22V714.723L65.2343 672.973Z\"\n fill=\"#9D1EBA\"\n />\n <path\n d=\"M781.234 -72.0273L853.234 -30.2773V53.2228L781.234 94.9727L709.234 53.2228V-30.2773L781.234 -72.0273Z\"\n fill=\"#3B4C90\"\n />\n <path\n d=\"M781.234 672.973L853.234 714.723V798.22L781.234 839.973L709.234 798.22V714.723L781.234 672.973Z\"\n fill=\"#9644CE\"\n />\n <path\n d=\"M65.2343 176.973L137.234 218.473V301.473L65.2343 342.973L-6.76562 301.473V218.473L65.2343 176.973Z\"\n fill=\"#8E218F\"\n />\n <path\n d=\"M64.2343 921.973L136.234 963.719V1047.23L64.2343 1088.97L-7.76562 1047.23V963.719L64.2343 921.973Z\"\n fill=\"#9523C0\"\n />\n <path\n d=\"M781.234 175.973L853.234 217.473V300.473L781.234 341.973L709.234 300.473V217.473L781.234 175.973Z\"\n fill=\"#5848A3\"\n />\n <path\n d=\"M781.234 920.973L853.234 962.719V1046.23L781.234 1087.97L709.234 1046.23V962.719L781.234 920.973Z\"\n fill=\"#A547C4\"\n />\n <path\n d=\"M66.2343 424.973L138.234 466.473V549.473L66.2343 590.973L-5.76562 549.473V466.473L66.2343 424.973Z\"\n fill=\"#A21FAC\"\n />\n <path\n d=\"M66.2343 1168.97L138.234 1210.47V1293.47L66.2343 1334.97L-5.76562 1293.47V1210.47L66.2343 1168.97Z\"\n fill=\"#9723C0\"\n />\n <path\n d=\"M781.234 423.973L853.234 465.473V548.473L781.234 589.973L709.234 548.473V465.473L781.234 423.973Z\"\n fill=\"#844BCE\"\n />\n <path\n d=\"M781.234 1168.97L853.234 1210.47V1293.47L781.234 1334.97L709.234 1293.47V1210.47L781.234 1168.97Z\"\n fill=\"#B03EC0\"\n />\n <path\n d=\"M137.734 52.9727L209.234 94.7228V178.223L137.734 219.973L66.2344 178.223V94.7228L137.734 52.9727Z\"\n fill=\"#8D248D\"\n />\n <path\n d=\"M136.734 797.973L208.234 839.474V922.471L136.734 963.973L65.2344 922.471V839.474L136.734 797.973Z\"\n fill=\"#9E1DBE\"\n />\n <path\n d=\"M853.234 51.9727L925.234 93.7228V177.223L853.234 218.973L781.234 177.223V93.7228L853.234 51.9727Z\"\n fill=\"#3B4C90\"\n />\n <path\n d=\"M853.234 796.973L925.234 838.474V921.471L853.234 962.973L781.234 921.471V838.474L853.234 796.973Z\"\n fill=\"#934ECC\"\n />\n <path\n d=\"M136.734 300.973L208.234 342.723V426.223L136.734 467.973L65.2344 426.223V342.723L136.734 300.973Z\"\n fill=\"#9F21A2\"\n />\n <path\n d=\"M137.734 1045.97L209.234 1087.47V1170.47L137.734 1211.97L66.2344 1170.47V1087.47L137.734 1045.97Z\"\n fill=\"#9723C0\"\n />\n <path\n d=\"M853.234 299.973L925.234 341.723V425.223L853.234 466.973L781.234 425.223V341.723L853.234 299.973Z\"\n fill=\"#585BBC\"\n />\n <path\n d=\"M853.234 1044.97L925.234 1086.47V1169.47L853.234 1210.97L781.234 1169.47V1086.47L853.234 1044.97Z\"\n fill=\"#9F50C4\"\n />\n <path\n d=\"M137.734 548.973L209.234 590.723V674.223L137.734 715.973L66.2344 674.223V590.723L137.734 548.973Z\"\n fill=\"#A61DB7\"\n />\n <path\n d=\"M852.234 547.973L924.234 589.723V673.223L852.234 714.973L780.234 673.223V589.723L852.234 547.973Z\"\n fill=\"#7D54D4\"\n />\n <path\n d=\"M208.734 -71.0273L280.234 -29.2773V54.2228L208.734 95.9727L137.234 54.2228V-29.2773L208.734 -71.0273Z\"\n fill=\"#A4329B\"\n />\n <path\n d=\"M208.234 672.973L280.234 714.723V798.22L208.234 839.973L136.234 798.22V714.723L208.234 672.973Z\"\n fill=\"#A718BC\"\n />\n <path\n d=\"M923.734 -72.0273L995.234 -30.2773V53.2228L923.734 94.9727L852.234 53.2228V-30.2773L923.734 -72.0273Z\"\n fill=\"#2B548D\"\n />\n <path\n d=\"M923.734 671.973L995.234 713.723V797.22L923.734 838.973L852.234 797.22V713.723L923.734 671.973Z\"\n fill=\"#745FD7\"\n />\n <path\n d=\"M208.234 177.973L280.234 219.473V302.473L208.234 343.973L136.234 302.473V219.473L208.234 177.973Z\"\n fill=\"#A0279D\"\n />\n <path\n d=\"M208.234 920.973L280.234 962.719V1046.23L208.234 1087.97L136.234 1046.23V962.719L208.234 920.973Z\"\n fill=\"#A01BC0\"\n />\n <path\n d=\"M923.734 176.973L995.234 218.473V301.473L923.734 342.973L852.234 301.473V218.473L923.734 176.973Z\"\n fill=\"#375BA2\"\n />\n <path\n d=\"M923.734 919.973L995.234 961.719V1045.23L923.734 1086.97L852.234 1045.23V961.719L923.734 919.973Z\"\n fill=\"#8F54CE\"\n />\n <path\n d=\"M208.234 424.973L280.234 466.473V549.473L208.234 590.973L136.234 549.473V466.473L208.234 424.973Z\"\n fill=\"#AF1FB4\"\n />\n <path\n d=\"M209.234 1168.97L281.234 1210.47V1293.47L209.234 1334.97L137.234 1293.47V1210.47L209.234 1168.97Z\"\n fill=\"#9723C0\"\n />\n <path\n d=\"M923.734 423.973L995.234 465.473V548.473L923.734 589.973L852.234 548.473V465.473L923.734 423.973Z\"\n fill=\"#586DD4\"\n />\n <path\n d=\"M923.734 1168.97L995.234 1210.47V1293.47L923.734 1334.97L852.234 1293.47V1210.47L923.734 1168.97Z\"\n fill=\"#9F50C4\"\n />\n <path\n d=\"M279.734 52.9727L352.234 94.7228V178.223L279.734 219.973L207.234 178.223V94.7228L279.734 52.9727Z\"\n fill=\"#A4329B\"\n />\n <path\n d=\"M279.734 796.973L352.234 838.474V921.471L279.734 962.973L207.234 921.471V838.474L279.734 796.973Z\"\n fill=\"#AA13BE\"\n />\n <path\n d=\"M995.234 52.9727L1067.23 94.7228V178.223L995.234 219.973L923.234 178.223V94.7228L995.234 52.9727Z\"\n fill=\"#2B548D\"\n />\n <path\n d=\"M995.234 795.973L1067.23 837.474V920.471L995.234 961.973L923.234 920.471V837.474L995.234 795.973Z\"\n fill=\"#7162DA\"\n />\n <path\n d=\"M280.734 300.973L353.234 342.723V426.223L280.734 467.973L208.234 426.223V342.723L280.734 300.973Z\"\n fill=\"#B329AE\"\n />\n <path\n d=\"M280.734 1044.97L353.234 1086.47V1169.47L280.734 1210.97L208.234 1169.47V1086.47L280.734 1044.97Z\"\n fill=\"#A816C0\"\n />\n <path\n d=\"M995.234 299.973L1067.23 341.723V425.223L995.234 466.973L923.234 425.223V341.723L995.234 299.973Z\"\n fill=\"#366BB9\"\n />\n <path\n d=\"M995.234 1044.97L1067.23 1086.47V1169.47L995.234 1210.97L923.234 1169.47V1086.47L995.234 1044.97Z\"\n fill=\"#8A51D5\"\n />\n <path\n d=\"M279.734 548.973L352.234 590.723V674.223L279.734 715.973L207.234 674.223V590.723L279.734 548.973Z\"\n fill=\"#B217BB\"\n />\n <path\n d=\"M995.234 546.973L1067.23 588.723V672.223L995.234 713.973L923.234 672.223V588.723L995.234 546.973Z\"\n fill=\"#487BDD\"\n />\n <path\n d=\"M351.234 -71.0273L423.234 -29.2773V54.2228L351.234 95.9727L279.234 54.2228V-29.2773L351.234 -71.0273Z\"\n fill=\"#982994\"\n />\n <path\n d=\"M351.734 672.973L423.234 714.723V798.22L351.734 839.973L280.234 798.22V714.723L351.734 672.973Z\"\n fill=\"#B312BD\"\n />\n <path\n d=\"M1066.23 -72.0273L1138.23 -30.2773V53.2228L1066.23 94.9727L994.234 53.2228V-30.2773L1066.23 -72.0273Z\"\n fill=\"#2F558B\"\n />\n <path\n d=\"M1066.23 670.973L1138.23 712.723V796.22L1066.23 837.973L994.234 796.22V712.723L1066.23 670.973Z\"\n fill=\"#457EE2\"\n />\n <path\n d=\"M351.734 177.973L423.234 219.473V302.473L351.734 343.973L280.234 302.473V219.473L351.734 177.973Z\"\n fill=\"#AE2FA6\"\n />\n <path\n d=\"M351.734 920.973L423.234 962.719V1046.23L351.734 1087.97L280.234 1046.23V962.719L351.734 920.973Z\"\n fill=\"#B012C0\"\n />\n <path\n d=\"M1066.23 176.973L1138.23 218.473V301.473L1066.23 342.973L994.234 301.473V218.473L1066.23 176.973Z\"\n fill=\"#2C5C9A\"\n />\n <path\n d=\"M1067.23 919.973L1139.23 961.719V1045.23L1067.23 1086.97L995.234 1045.23V961.719L1067.23 919.973Z\"\n fill=\"#7858E0\"\n />\n <path\n d=\"M350.734 425.973L422.234 467.473V550.473L350.734 591.973L279.234 550.473V467.473L350.734 425.973Z\"\n fill=\"#BB1FBB\"\n />\n <path\n d=\"M351.734 1168.97L423.234 1210.47V1293.47L351.734 1334.97L280.234 1293.47V1210.47L351.734 1168.97Z\"\n fill=\"#A816C0\"\n />\n <path\n d=\"M1066.23 423.973L1138.23 465.473V548.473L1066.23 589.973L994.234 548.473V465.473L1066.23 423.973Z\"\n fill=\"#3280D1\"\n />\n <path\n d=\"M1066.23 1167.97L1138.23 1209.47V1292.47L1066.23 1333.97L994.234 1292.47V1209.47L1066.23 1167.97Z\"\n fill=\"#8A51D5\"\n />\n <path\n d=\"M423.234 52.9727L495.234 94.7228V178.223L423.234 219.973L351.234 178.223V94.7228L423.234 52.9727Z\"\n fill=\"#982994\"\n />\n <path\n d=\"M423.234 796.973L495.234 838.474V921.471L423.234 962.973L351.234 921.471V838.474L423.234 796.973Z\"\n fill=\"#B615BF\"\n />\n <path\n d=\"M1138.23 51.9727L1210.23 93.7228V177.223L1138.23 218.973L1066.23 177.223V93.7228L1138.23 51.9727Z\"\n fill=\"#2F558B\"\n />\n <path\n d=\"M1137.23 795.973L1209.23 837.474V920.471L1137.23 961.973L1065.23 920.471V837.474L1137.23 795.973Z\"\n fill=\"#586DE3\"\n />\n <path\n d=\"M423.234 300.973L495.234 342.723V426.223L423.234 467.973L351.234 426.223V342.723L423.234 300.973Z\"\n fill=\"#B223B1\"\n />\n <path\n d=\"M423.234 1044.97L495.234 1086.47V1169.47L423.234 1210.97L351.234 1169.47V1086.47L423.234 1044.97Z\"\n fill=\"#BA19C2\"\n />\n <path\n d=\"M1138.23 299.973L1210.23 341.723V425.223L1138.23 466.973L1066.23 425.223V341.723L1138.23 299.973Z\"\n fill=\"#2D6BB1\"\n />\n <path\n d=\"M1138.23 1043.97L1210.23 1085.47V1168.47L1138.23 1209.97L1066.23 1168.47V1085.47L1138.23 1043.97Z\"\n fill=\"#8452E3\"\n />\n <path\n d=\"M423.234 548.973L495.234 590.723V674.223L423.234 715.973L351.234 674.223V590.723L423.234 548.973Z\"\n fill=\"#B717BD\"\n />\n <path\n d=\"M1138.23 546.973L1210.23 588.723V672.223L1138.23 713.973L1066.23 672.223V588.723L1138.23 546.973Z\"\n fill=\"#2E8AE0\"\n />\n <path\n d=\"M494.734 -72.0273L567.234 -30.2773V53.2228L494.734 94.9727L422.234 53.2228V-30.2773L494.734 -72.0273Z\"\n fill=\"#822190\"\n />\n <path\n d=\"M494.734 672.973L567.234 714.723V798.22L494.734 839.973L422.234 798.22V714.723L494.734 672.973Z\"\n fill=\"#B61CBF\"\n />\n <path\n d=\"M1209.23 -72.0273L1281.23 -30.2773V53.2228L1209.23 94.9727L1137.23 53.2228V-30.2773L1209.23 -72.0273Z\"\n fill=\"#2F558B\"\n />\n <path\n d=\"M1209.23 671.973L1281.23 713.723V797.22L1209.23 838.973L1137.23 797.22V713.723L1209.23 671.973Z\"\n fill=\"#3C85E3\"\n />\n <path\n d=\"M494.734 176.973L567.234 218.473V301.473L494.734 342.973L422.234 301.473V218.473L494.734 176.973Z\"\n fill=\"#9F22A3\"\n />\n <path\n d=\"M494.734 920.973L567.234 962.719V1046.23L494.734 1087.97L422.234 1046.23V962.719L494.734 920.973Z\"\n fill=\"#BC22C1\"\n />\n <path\n d=\"M1209.23 175.973L1281.23 217.473V300.473L1209.23 341.973L1137.23 300.473V217.473L1209.23 175.973Z\"\n fill=\"#2E5B96\"\n />\n <path\n d=\"M1209.23 918.973L1281.23 960.719V1044.23L1209.23 1085.97L1137.23 1044.23V960.719L1209.23 918.973Z\"\n fill=\"#745CE6\"\n />\n <path\n d=\"M494.734 424.973L567.234 466.473V549.473L494.734 590.973L422.234 549.473V466.473L494.734 424.973Z\"\n fill=\"#B51EBD\"\n />\n <path\n d=\"M494.734 1168.97L567.234 1210.47V1293.47L494.734 1334.97L422.234 1293.47V1210.47L494.734 1168.97Z\"\n fill=\"#BA19C2\"\n />\n <path\n d=\"M1209.23 423.973L1281.23 465.473V548.473L1209.23 589.973L1137.23 548.473V465.473L1209.23 423.973Z\"\n fill=\"#2C82CE\"\n />\n <path\n d=\"M1209.23 1167.97L1281.23 1209.47V1292.47L1209.23 1333.97L1137.23 1292.47V1209.47L1209.23 1167.97Z\"\n fill=\"#8452E3\"\n />\n <path\n d=\"M567.234 52.9727L639.234 94.7228V178.223L567.234 219.973L495.234 178.223V94.7228L567.234 52.9727Z\"\n fill=\"#822190\"\n />\n <path\n d=\"M567.234 797.973L639.234 839.474V922.471L567.234 963.973L495.234 922.471V839.474L567.234 797.973Z\"\n fill=\"#B628C1\"\n />\n <path\n d=\"M1280.74 51.9727L1352.23 93.7228V177.223L1280.74 218.973L1209.23 177.223V93.7228L1280.74 51.9727Z\"\n fill=\"#2E5B96\"\n />\n <path\n d=\"M1280.74 795.973L1352.23 837.474V920.471L1280.74 961.973L1209.23 920.471V837.474L1280.74 795.973Z\"\n fill=\"#586DE3\"\n />\n <path\n d=\"M567.234 300.973L639.234 342.723V426.223L567.234 467.973L495.234 426.223V342.723L567.234 300.973Z\"\n fill=\"#A124B3\"\n />\n <path\n d=\"M566.234 1045.97L638.234 1087.47V1170.47L566.234 1211.97L494.234 1170.47V1087.47L566.234 1045.97Z\"\n fill=\"#BD2EC0\"\n />\n <path\n d=\"M1280.74 298.973L1352.23 340.723V424.223L1280.74 465.973L1209.23 424.223V340.723L1280.74 298.973Z\"\n fill=\"#2D6BB1\"\n />\n <path\n d=\"M1280.74 1043.97L1352.23 1085.47V1168.47L1280.74 1209.97L1209.23 1168.47V1085.47L1280.74 1043.97Z\"\n fill=\"#745CE6\"\n />\n <path\n d=\"M567.234 548.973L639.234 590.723V674.223L567.234 715.973L495.234 674.223V590.723L567.234 548.973Z\"\n fill=\"#AE24C2\"\n />\n <path\n d=\"M1280.74 546.973L1352.23 588.723V672.223L1280.74 713.973L1209.23 672.223V588.723L1280.74 546.973Z\"\n fill=\"#2E8AE0\"\n />\n <path\n d=\"M638.234 -72.0273L710.234 -30.2773V53.2228L638.234 94.9727L566.234 53.2228V-30.2773L638.234 -72.0273Z\"\n fill=\"#5E3690\"\n />\n <path\n d=\"M638.234 672.973L710.234 714.723V798.22L638.234 839.973L566.234 798.22V714.723L638.234 672.973Z\"\n fill=\"#AA2EC5\"\n />\n <path\n d=\"M638.234 176.973L710.234 218.473V301.473L638.234 342.973L566.234 301.473V218.473L638.234 176.973Z\"\n fill=\"#812CA2\"\n />\n <path\n d=\"M638.234 920.973L710.234 962.719V1046.23L638.234 1087.97L566.234 1046.23V962.719L638.234 920.973Z\"\n fill=\"#B535C1\"\n />\n <path\n d=\"M638.234 424.973L710.234 466.473V549.473L638.234 590.973L566.234 549.473V466.473L638.234 424.973Z\"\n fill=\"#A42FC5\"\n />\n <path\n d=\"M637.234 1169.97L709.234 1211.47V1294.47L637.234 1335.97L565.234 1294.47V1211.47L637.234 1169.97Z\"\n fill=\"#BD2EC0\"\n />\n </g>\n </g>\n <defs>\n <clipPath id=\"clip0_6783_736\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n <clipPath id=\"clip1_6783_736\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>";
|
|
16384
|
+
|
|
16385
|
+
var HomepageDark2 = "\n <svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n >\n <g clipPath=\"url(#clip0_6783_975)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#4C14B3\"\n />\n <path\n d=\"M183.223 -169.557L295.189 -104.831V24.6216L183.223 89.3477L71.2578 24.6216V-104.831L183.223 -169.557Z\"\n fill=\"#4C14B3\"\n />\n <path\n d=\"M-40.0346 -170L71.9309 -105.274V24.1783L-40.0346 88.9044L-152 24.1783V-105.274L-40.0346 -170Z\"\n fill=\"#4C14B3\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#5414B4\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#641DBA\"\n />\n <path\n d=\"M182.919 216.621L294.884 281.209V410.384L182.919 474.972L70.9531 410.384V281.209L182.919 216.621Z\"\n fill=\"#4B11B2\"\n />\n <path\n d=\"M-40.0814 216.621L71.884 281.209V410.384L-40.0814 474.972L-152.047 410.384V281.209L-40.0814 216.621Z\"\n fill=\"#4B11B2\"\n />\n <path\n d=\"M182.919 602.211L294.884 666.937V796.389L182.919 861.115L70.9531 796.389V666.937L182.919 602.211Z\"\n fill=\"#6A20BD\"\n />\n <path\n d=\"M-40.0814 602.211L71.884 666.937V796.389L-40.0814 861.115L-152.047 796.389V666.937L-40.0814 602.211Z\"\n fill=\"#6A20BD\"\n />\n <path\n d=\"M182.919 987.801L294.884 1052.53V1181.98L182.919 1246.71L70.9531 1181.98V1052.53L182.919 987.801Z\"\n fill=\"#5C19B6\"\n />\n <path\n d=\"M-40.0814 988.801L71.884 1053.53V1182.98L-40.0814 1247.71L-152.047 1182.98V1053.53L-40.0814 988.801Z\"\n fill=\"#5C19B6\"\n />\n <path\n d=\"M71.9186 1181.8L183.884 1246.53V1375.98L71.9186 1440.71L-40.0469 1375.98V1246.53L71.9186 1181.8Z\"\n fill=\"#5C19B6\"\n />\n <path\n d=\"M294.919 1181.8L406.884 1246.53V1375.98L294.919 1440.71L182.953 1375.98V1246.53L294.919 1181.8Z\"\n fill=\"#5C19B6\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#5215B4\"\n />\n <path\n d=\"M407.161 -170.557L519.126 -105.831V23.6216L407.161 88.3477L295.195 23.6216V-105.831L407.161 -170.557Z\"\n fill=\"#5215B4\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#5817B5\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#6F25C0\"\n />\n <path\n d=\"M406.848 216.621L518.814 281.209V410.384L406.848 474.972L294.883 410.384V281.209L406.848 216.621Z\"\n fill=\"#5813B4\"\n />\n <path\n d=\"M406.848 602.211L518.814 666.937V796.389L406.848 861.115L294.883 796.389V666.937L406.848 602.211Z\"\n fill=\"#7431C4\"\n />\n <path\n d=\"M406.848 987.801L518.814 1052.53V1181.98L406.848 1246.71L294.883 1181.98V1052.53L406.848 987.801Z\"\n fill=\"#621EBB\"\n />\n <path\n d=\"M518.848 1181.8L630.814 1246.53V1375.98L518.848 1440.71L406.883 1375.98V1246.53L518.848 1181.8Z\"\n fill=\"#621EBB\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#610DB1\"\n />\n <path\n d=\"M631.09 -170.557L743.056 -105.831V23.6216L631.09 88.3477L519.125 23.6216V-105.831L631.09 -170.557Z\"\n fill=\"#610DB1\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#6629BD\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#783CC8\"\n />\n <path\n d=\"M630.778 216.621L742.743 281.209V410.384L630.778 474.972L518.812 410.384V281.209L630.778 216.621Z\"\n fill=\"#6614B5\"\n />\n <path\n d=\"M630.778 602.211L742.743 666.937V796.389L630.778 861.115L518.812 796.389V666.937L630.778 602.211Z\"\n fill=\"#7651C9\"\n />\n <path\n d=\"M630.778 988.801L742.743 1053.53V1182.98L630.778 1247.71L518.812 1182.98V1053.53L630.778 988.801Z\"\n fill=\"#642DC3\"\n />\n <path\n d=\"M742.778 1181.8L854.743 1246.53V1375.98L742.778 1440.71L630.812 1375.98V1246.53L742.778 1181.8Z\"\n fill=\"#642DC3\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#690CB1\"\n />\n <path\n d=\"M855.02 -170.557L966.986 -105.831V23.6216L855.02 88.3477L743.055 23.6216V-105.831L855.02 -170.557Z\"\n fill=\"#690CB1\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#6E51C7\"\n />\n <path\n d=\"M743.02 796.176L854.986 860.764V989.939L743.02 1054.53L631.055 989.939V860.764L743.02 796.176Z\"\n fill=\"#704DC6\"\n />\n <path\n d=\"M854.708 216.621L966.673 281.209V410.384L854.708 474.972L742.742 410.384V281.209L854.708 216.621Z\"\n fill=\"#6A38C2\"\n />\n <path\n d=\"M854.708 602.211L966.673 666.937V796.389L854.708 861.115L742.742 796.389V666.937L854.708 602.211Z\"\n fill=\"#8380CC\"\n />\n <path\n d=\"M854.708 987.801L966.673 1052.53V1181.98L854.708 1246.71L742.742 1181.98V1052.53L854.708 987.801Z\"\n fill=\"#5C36C2\"\n />\n <path\n d=\"M965.708 1181.8L1077.67 1246.53V1375.98L965.708 1440.71L853.742 1375.98V1246.53L965.708 1181.8Z\"\n fill=\"#5C36C2\"\n />\n <path\n d=\"M1077.71 987.801L1189.67 1052.53V1181.98L1077.71 1246.71L965.742 1181.98V1052.53L1077.71 987.801Z\"\n fill=\"#6A60C5\"\n />\n <path\n d=\"M1188.71 1181.8L1300.67 1246.53V1375.98L1188.71 1440.71L1076.74 1375.98V1246.53L1188.71 1181.8Z\"\n fill=\"#6A60C5\"\n />\n <path\n d=\"M1300.71 989.801L1412.67 1054.53V1183.98L1300.71 1248.71L1188.74 1183.98V1054.53L1300.71 989.801Z\"\n fill=\"#6A60C5\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#593CC3\"\n />\n <path\n d=\"M1078.95 -170.557L1190.92 -105.831V23.6216L1078.95 88.3477L966.984 23.6216V-105.831L1078.95 -170.557Z\"\n fill=\"#593CC3\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#799AD6\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#7B6AC1\"\n />\n <path\n d=\"M1078.64 216.621L1190.6 281.209V410.384L1078.64 474.972L966.672 410.384V281.209L1078.64 216.621Z\"\n fill=\"#6C8CDE\"\n />\n <path\n d=\"M1301.64 216.621L1413.6 281.209V410.384L1301.64 474.972L1189.67 410.384V281.209L1301.64 216.621Z\"\n fill=\"#6C8CDE\"\n />\n <path\n d=\"M1078.64 602.211L1190.6 666.937V796.389L1078.64 861.115L966.672 796.389V666.937L1078.64 602.211Z\"\n fill=\"#AAB1C7\"\n />\n <path\n d=\"M1301.64 602.211L1413.6 666.937V796.389L1301.64 861.115L1189.67 796.389V666.937L1301.64 602.211Z\"\n fill=\"#AAB1C7\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#5F63D2\"\n />\n <path\n d=\"M1302.88 -170.557L1414.84 -105.831V23.6216L1302.88 88.3477L1190.91 23.6216V-105.831L1302.88 -170.557Z\"\n fill=\"#5F63D2\"\n />\n <path\n d=\"M1190.88 409.033L1302.84 473.759V603.211L1190.88 667.938L1078.91 603.211V473.759L1190.88 409.033Z\"\n fill=\"#9CBCDA\"\n />\n <path\n d=\"M1190.88 796.176L1302.84 860.764V989.939L1190.88 1054.53L1078.91 989.939V860.764L1190.88 796.176Z\"\n fill=\"#8675BD\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_975\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>";
|
|
16386
|
+
|
|
16387
|
+
var ProductpageDark1 = "<svg\n width=\"1280\"\n height=\"1280\"\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n>\n <g clipPath=\"url(#clip0_6783_1488)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#403FA4\"\n />\n <path\n d=\"M183.223 -170.557L295.189 -105.831V23.6217L183.223 88.3477L71.2578 23.6217V-105.831L183.223 -170.557Z\"\n fill=\"#403FA4\"\n />\n <path\n d=\"M-40.7768 -170.557L71.1887 -105.831V23.6217L-40.7768 88.3477L-152.742 23.6217V-105.831L-40.7768 -170.557Z\"\n fill=\"#403FA4\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#4047A2\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#3F4BA2\"\n />\n <path\n d=\"M182.919 216.621L294.884 281.209V410.384L182.919 474.972L70.9531 410.384V281.209L182.919 216.621Z\"\n fill=\"#4141A4\"\n />\n <path\n d=\"M-40.0814 216.621L71.884 281.209V410.384L-40.0814 474.972L-152.047 410.384V281.209L-40.0814 216.621Z\"\n fill=\"#4141A4\"\n />\n <path\n d=\"M182.919 602.211L294.884 666.937V796.389L182.919 861.115L70.9531 796.389V666.937L182.919 602.211Z\"\n fill=\"#3E49A1\"\n />\n <path\n d=\"M-39.0814 603.211L72.884 667.937V797.389L-39.0814 862.115L-151.047 797.389V667.937L-39.0814 603.211Z\"\n fill=\"#3E49A1\"\n />\n <path\n d=\"M182.919 987.801L294.884 1052.53V1181.98L182.919 1246.71L70.9531 1181.98V1052.53L182.919 987.801Z\"\n fill=\"#404CA3\"\n />\n <path\n d=\"M-40.0814 987.801L71.884 1052.53V1181.98L-40.0814 1246.71L-152.047 1181.98V1052.53L-40.0814 987.801Z\"\n fill=\"#404CA3\"\n />\n <path\n d=\"M71.9186 1181.8L183.884 1246.53V1375.98L71.9186 1440.71L-40.0469 1375.98V1246.53L71.9186 1181.8Z\"\n fill=\"#404CA3\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#403BA4\"\n />\n <path\n d=\"M407.161 -170.557L519.126 -105.831V23.6217L407.161 88.3477L295.195 23.6217V-105.831L407.161 -170.557Z\"\n fill=\"#403BA4\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#4247A2\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#404AA1\"\n />\n <path\n d=\"M406.848 216.621L518.814 281.209V410.384L406.848 474.972L294.883 410.384V281.209L406.848 216.621Z\"\n fill=\"#4741A4\"\n />\n <path\n d=\"M406.848 602.211L518.814 666.937V796.389L406.848 861.115L294.883 796.389V666.937L406.848 602.211Z\"\n fill=\"#4347A0\"\n />\n <path\n d=\"M406.848 987.801L518.814 1052.53V1181.98L406.848 1246.71L294.883 1181.98V1052.53L406.848 987.801Z\"\n fill=\"#42489E\"\n />\n <path\n d=\"M295.848 1180.8L407.814 1245.53V1374.98L295.848 1439.71L183.883 1374.98V1245.53L295.848 1180.8Z\"\n fill=\"#42489E\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#4A3DA4\"\n />\n <path\n d=\"M631.09 -170.557L743.056 -105.831V23.6217L631.09 88.3477L519.125 23.6217V-105.831L631.09 -170.557Z\"\n fill=\"#4A3DA4\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#4843A1\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#47469E\"\n />\n <path\n d=\"M630.778 216.621L742.743 281.209V410.384L630.778 474.972L518.812 410.384V281.209L630.778 216.621Z\"\n fill=\"#4E3CA2\"\n />\n <path\n d=\"M630.778 602.211L742.743 666.937V796.389L630.778 861.115L518.812 796.389V666.937L630.778 602.211Z\"\n fill=\"#4B429D\"\n />\n <path\n d=\"M630.778 987.801L742.743 1052.53V1181.98L630.778 1246.71L518.812 1181.98V1052.53L630.778 987.801Z\"\n fill=\"#4A459C\"\n />\n <path\n d=\"M630.778 987.801L742.743 1052.53V1181.98L630.778 1246.71L518.812 1181.98V1052.53L630.778 987.801Z\"\n fill=\"#4A459C\"\n />\n <path\n d=\"M519.778 1180.8L631.743 1245.53V1374.98L519.778 1439.71L407.812 1374.98V1245.53L519.778 1180.8Z\"\n fill=\"#4A459C\"\n />\n <path\n d=\"M742.778 1181.8L854.743 1246.53V1375.98L742.778 1440.71L630.812 1375.98V1246.53L742.778 1181.8Z\"\n fill=\"#4A459C\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#5338A4\"\n />\n <path\n d=\"M855.02 -170.557L966.986 -105.831V23.6217L855.02 88.3477L743.055 23.6217V-105.831L855.02 -170.557Z\"\n fill=\"#5338A4\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#513EA0\"\n />\n <path\n d=\"M743.02 795.176L854.986 859.764V988.939L743.02 1053.53L631.055 988.939V859.764L743.02 795.176Z\"\n fill=\"#4F429A\"\n />\n <path\n d=\"M854.708 216.621L966.673 281.209V410.384L854.708 474.972L742.742 410.384V281.209L854.708 216.621Z\"\n fill=\"#5537A2\"\n />\n <path\n d=\"M854.708 602.211L966.673 666.937V796.389L854.708 861.115L742.742 796.389V666.937L854.708 602.211Z\"\n fill=\"#543E9B\"\n />\n <path\n d=\"M854.708 987.801L966.673 1052.53V1181.98L854.708 1246.71L742.742 1181.98V1052.53L854.708 987.801Z\"\n fill=\"#524198\"\n />\n <path\n d=\"M965.708 1181.8L1077.67 1246.53V1375.98L965.708 1440.71L853.742 1375.98V1246.53L965.708 1181.8Z\"\n fill=\"#524198\"\n />\n <path\n d=\"M1077.71 987.801L1189.67 1052.53V1181.98L1077.71 1246.71L965.742 1181.98V1052.53L1077.71 987.801Z\"\n fill=\"#5A4096\"\n />\n <path\n d=\"M1300.71 988.801L1412.67 1053.53V1182.98L1300.71 1247.71L1188.74 1182.98V1053.53L1300.71 988.801Z\"\n fill=\"#5A4096\"\n />\n <path\n d=\"M1188.71 1181.8L1300.67 1246.53V1375.98L1188.71 1440.71L1076.74 1375.98V1246.53L1188.71 1181.8Z\"\n fill=\"#5A4096\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#5934A2\"\n />\n <path\n d=\"M1077.95 -169.557L1189.92 -104.831V24.6217L1077.95 89.3477L965.984 24.6217V-104.831L1077.95 -169.557Z\"\n fill=\"#5934A2\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#58399E\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#563F97\"\n />\n <path\n d=\"M1078.64 216.621L1190.6 281.209V410.384L1078.64 474.972L966.672 410.384V281.209L1078.64 216.621Z\"\n fill=\"#5A349F\"\n />\n <path\n d=\"M1301.64 216.621L1413.6 281.209V410.384L1301.64 474.972L1189.67 410.384V281.209L1301.64 216.621Z\"\n fill=\"#5A349F\"\n />\n <path\n d=\"M1078.64 602.211L1190.6 666.937V796.389L1078.64 861.115L966.672 796.389V666.937L1078.64 602.211Z\"\n fill=\"#5A3B98\"\n />\n <path\n d=\"M1301.64 602.211L1413.6 666.937V796.389L1301.64 861.115L1189.67 796.389V666.937L1301.64 602.211Z\"\n fill=\"#5A3B98\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#5F35A2\"\n />\n <path\n d=\"M1301.88 -170.557L1413.84 -105.831V23.6217L1301.88 88.3477L1189.91 23.6217V-105.831L1301.88 -170.557Z\"\n fill=\"#5F35A2\"\n />\n <path\n d=\"M1190.88 409.033L1302.84 473.759V603.211L1190.88 667.938L1078.91 603.211V473.759L1190.88 409.033Z\"\n fill=\"#5B389B\"\n />\n <path\n d=\"M1190.88 795.176L1302.84 859.764V988.939L1190.88 1053.53L1078.91 988.939V859.764L1190.88 795.176Z\"\n fill=\"#593C95\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_1488\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16388
|
+
|
|
16389
|
+
var ProductpageDark2 = "<svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n>\n <g clipPath=\"url(#clip0_6783_1727)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#611897\"\n />\n <path\n d=\"M182.223 -169.557L294.189 -104.831V24.6217L182.223 89.3477L70.2578 24.6217V-104.831L182.223 -169.557Z\"\n fill=\"#611897\"\n />\n <path\n d=\"M-40.7768 -170.557L71.1887 -105.831V23.6217L-40.7768 88.3477L-152.742 23.6217V-105.831L-40.7768 -170.557Z\"\n fill=\"#611897\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#6A11A4\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#6A11A4\"\n />\n <path\n d=\"M182.919 216.621L294.884 281.209V410.384L182.919 474.972L70.9531 410.384V281.209L182.919 216.621Z\"\n fill=\"#63109E\"\n />\n <path\n d=\"M-40.0814 216.621L71.884 281.209V410.384L-40.0814 474.972L-152.047 410.384V281.209L-40.0814 216.621Z\"\n fill=\"#63109E\"\n />\n <path\n d=\"M182.919 602.211L294.884 666.937V796.389L182.919 861.115L70.9531 796.389V666.937L182.919 602.211Z\"\n fill=\"#6910A3\"\n />\n <path\n d=\"M-40.0814 602.211L71.884 666.937V796.389L-40.0814 861.115L-152.047 796.389V666.937L-40.0814 602.211Z\"\n fill=\"#6910A3\"\n />\n <path\n d=\"M182.919 987.801L294.884 1052.53V1181.98L182.919 1246.71L70.9531 1181.98V1052.53L182.919 987.801Z\"\n fill=\"#6B15A4\"\n />\n <path\n d=\"M71.9186 1181.8L183.884 1246.53V1375.98L71.9186 1440.71L-40.0469 1375.98V1246.53L71.9186 1181.8Z\"\n fill=\"#6B15A4\"\n />\n <path\n d=\"M-40.0814 987.801L71.884 1052.53V1181.98L-40.0814 1246.71L-152.047 1181.98V1052.53L-40.0814 987.801Z\"\n fill=\"#6B15A4\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#5E119A\"\n />\n <path\n d=\"M406.161 -169.557L518.126 -104.831V24.6217L406.161 89.3477L294.195 24.6217V-104.831L406.161 -169.557Z\"\n fill=\"#5E119A\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#6811A5\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#6811A5\"\n />\n <path\n d=\"M406.848 216.621L518.814 281.209V410.384L406.848 474.972L294.883 410.384V281.209L406.848 216.621Z\"\n fill=\"#6412A5\"\n />\n <path\n d=\"M406.848 602.211L518.814 666.937V796.389L406.848 861.115L294.883 796.389V666.937L406.848 602.211Z\"\n fill=\"#6711A4\"\n />\n <path\n d=\"M406.848 987.801L518.814 1052.53V1181.98L406.848 1246.71L294.883 1181.98V1052.53L406.848 987.801Z\"\n fill=\"#6512A6\"\n />\n <path\n d=\"M518.848 1181.8L630.814 1246.53V1375.98L518.848 1440.71L406.883 1375.98V1246.53L518.848 1181.8Z\"\n fill=\"#6512A6\"\n />\n <path\n d=\"M295.848 1180.8L407.814 1245.53V1374.98L295.848 1439.71L183.883 1374.98V1245.53L295.848 1180.8Z\"\n fill=\"#6512A6\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#6112A7\"\n />\n <path\n d=\"M630.09 -169.557L742.056 -104.831V24.6217L630.09 89.3477L518.125 24.6217V-104.831L630.09 -169.557Z\"\n fill=\"#6112A7\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#6413A6\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#6412A6\"\n />\n <path\n d=\"M630.778 216.621L742.743 281.209V410.384L630.778 474.972L518.812 410.384V281.209L630.778 216.621Z\"\n fill=\"#6013A9\"\n />\n <path\n d=\"M630.778 602.211L742.743 666.937V796.389L630.778 861.115L518.812 796.389V666.937L630.778 602.211Z\"\n fill=\"#6114A7\"\n />\n <path\n d=\"M630.778 987.801L742.743 1052.53V1181.98L630.778 1246.71L518.812 1181.98V1052.53L630.778 987.801Z\"\n fill=\"#6015A8\"\n />\n <path\n d=\"M742.778 1181.8L854.743 1246.53V1375.98L742.778 1440.71L630.812 1375.98V1246.53L742.778 1181.8Z\"\n fill=\"#6015A8\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#5D17AA\"\n />\n <path\n d=\"M854.02 -169.557L965.986 -104.831V24.6217L854.02 89.3477L742.055 24.6217V-104.831L854.02 -169.557Z\"\n fill=\"#5D17AA\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#5E17A9\"\n />\n <path\n d=\"M743.02 795.176L854.986 859.764V988.939L743.02 1053.53L631.055 988.939V859.764L743.02 795.176Z\"\n fill=\"#5D17A8\"\n />\n <path\n d=\"M854.708 216.621L966.673 281.209V410.384L854.708 474.972L742.742 410.384V281.209L854.708 216.621Z\"\n fill=\"#5A19AB\"\n />\n <path\n d=\"M854.708 602.211L966.673 666.937V796.389L854.708 861.115L742.742 796.389V666.937L854.708 602.211Z\"\n fill=\"#5A1AA9\"\n />\n <path\n d=\"M854.708 987.801L966.673 1052.53V1181.98L854.708 1246.71L742.742 1181.98V1052.53L854.708 987.801Z\"\n fill=\"#571AA9\"\n />\n <path\n d=\"M966.708 1181.8L1078.67 1246.53V1375.98L966.708 1440.71L854.742 1375.98V1246.53L966.708 1181.8Z\"\n fill=\"#571AA9\"\n />\n <path\n d=\"M1077.71 987.801L1189.67 1052.53V1181.98L1077.71 1246.71L965.742 1181.98V1052.53L1077.71 987.801Z\"\n fill=\"#5423AC\"\n />\n <path\n d=\"M1300.71 988.801L1412.67 1053.53V1182.98L1300.71 1247.71L1188.74 1182.98V1053.53L1300.71 988.801Z\"\n fill=\"#5423AC\"\n />\n <path\n d=\"M1187.71 1181.8L1299.67 1246.53V1375.98L1187.71 1440.71L1075.74 1375.98V1246.53L1187.71 1181.8Z\"\n fill=\"#5423AC\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#581CAD\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#571DAB\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#561EAA\"\n />\n <path\n d=\"M1078.64 216.621L1190.6 281.209V410.384L1078.64 474.972L966.672 410.384V281.209L1078.64 216.621Z\"\n fill=\"#551DAB\"\n />\n <path\n d=\"M1301.64 216.621L1413.6 281.209V410.384L1301.64 474.972L1189.67 410.384V281.209L1301.64 216.621Z\"\n fill=\"#551DAB\"\n />\n <path\n d=\"M1078.64 602.211L1190.6 666.937V796.389L1078.64 861.115L966.672 796.389V666.937L1078.64 602.211Z\"\n fill=\"#5320AB\"\n />\n <path\n d=\"M1301.64 602.211L1413.6 666.937V796.389L1301.64 861.115L1189.67 796.389V666.937L1301.64 602.211Z\"\n fill=\"#5320AB\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#5B26AE\"\n />\n <path\n d=\"M1301.88 -170.557L1413.84 -105.831V23.6217L1301.88 88.3477L1189.91 23.6217V-105.831L1301.88 -170.557Z\"\n fill=\"#5B26AE\"\n />\n <path\n d=\"M1077.88 -169.557L1189.84 -104.831V24.6217L1077.88 89.3477L965.914 24.6217V-104.831L1077.88 -169.557Z\"\n fill=\"#5B26AE\"\n />\n <path\n d=\"M1190.88 409.033L1302.84 473.759V603.211L1190.88 667.938L1078.91 603.211V473.759L1190.88 409.033Z\"\n fill=\"#531FAA\"\n />\n <path\n d=\"M1190.88 795.176L1302.84 859.764V988.939L1190.88 1053.53L1078.91 988.939V859.764L1190.88 795.176Z\"\n fill=\"#5221AA\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_1727\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16390
|
+
|
|
16391
|
+
var HomepageLight1 = "<svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n>\n <g clipPath=\"url(#clip0_6783_462)\">\n <g clipPath=\"url(#clip1_6783_462)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#D6DCEF\"\n />\n <path\n d=\"M-40.7767 -170.557L71.1887 -105.831V23.6216L-40.7767 88.3477L-152.742 23.6216V-105.831L-40.7767 -170.557Z\"\n fill=\"#D6DCEF\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#DEDDF4\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#F4E9F2\"\n />\n <path\n d=\"M182.919 217.621L294.884 282.209V411.384L182.919 475.972L70.9531 411.384V282.209L182.919 217.621Z\"\n fill=\"#D7DCF3\"\n />\n <path\n d=\"M-41.0814 216.621L70.884 281.209V410.384L-41.0814 474.972L-153.047 410.384V281.209L-41.0814 216.621Z\"\n fill=\"#D7DCF3\"\n />\n <path\n d=\"M182.919 603.211L294.884 667.937V797.389L182.919 862.115L70.9531 797.389V667.937L182.919 603.211Z\"\n fill=\"#E9E2F5\"\n />\n <path\n d=\"M-41.0814 602.211L70.884 666.937V796.389L-41.0814 861.115L-153.047 796.389V666.937L-41.0814 602.211Z\"\n fill=\"#E9E2F5\"\n />\n <path\n d=\"M182.919 988.801L294.884 1053.53V1182.98L182.919 1247.71L70.9531 1182.98V1053.53L182.919 988.801Z\"\n fill=\"#F8EDF1\"\n />\n <path\n d=\"M-41.0814 988.801L70.884 1053.53V1182.98L-41.0814 1247.71L-153.047 1182.98V1053.53L-41.0814 988.801Z\"\n fill=\"#F8EDF1\"\n />\n <path\n d=\"M70.9186 1182.8L182.884 1247.53V1376.98L70.9186 1441.71L-41.0469 1376.98V1247.53L70.9186 1182.8Z\"\n fill=\"#F8EDF1\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#D5DCF2\"\n />\n <path\n d=\"M183.161 -170.557L295.126 -105.831V23.6216L183.161 88.3477L71.1953 23.6216V-105.831L183.161 -170.557Z\"\n fill=\"#D5DCF2\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#E0E0F5\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#F5EAF3\"\n />\n <path\n d=\"M406.848 217.621L518.814 282.209V411.384L406.848 475.972L294.883 411.384V282.209L406.848 217.621Z\"\n fill=\"#DDE1F4\"\n />\n <path\n d=\"M406.848 603.211L518.814 667.937V797.389L406.848 862.115L294.883 797.389V667.937L406.848 603.211Z\"\n fill=\"#EDE8F6\"\n />\n <path\n d=\"M406.848 988.801L518.814 1053.53V1182.98L406.848 1247.71L294.883 1182.98V1053.53L406.848 988.801Z\"\n fill=\"#FAF1F5\"\n />\n <path\n d=\"M294.848 1182.8L406.814 1247.53V1376.98L294.848 1441.71L182.883 1376.98V1247.53L294.848 1182.8Z\"\n fill=\"#FAF1F5\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#E0E3F5\"\n />\n <path\n d=\"M407.09 -170.557L519.056 -105.831V23.6216L407.09 88.3477L295.125 23.6216V-105.831L407.09 -170.557Z\"\n fill=\"#E0E3F5\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#EBEBF8\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#F9F2F7\"\n />\n <path\n d=\"M630.778 217.621L742.743 282.209V411.384L630.778 475.972L518.812 411.384V282.209L630.778 217.621Z\"\n fill=\"#EAEBF6\"\n />\n <path\n d=\"M630.778 603.211L742.743 667.937V797.389L630.778 862.115L518.812 797.389V667.937L630.778 603.211Z\"\n fill=\"#F8F4FA\"\n />\n <path\n d=\"M630.778 988.801L742.743 1053.53V1182.98L630.778 1247.71L518.812 1182.98V1053.53L630.778 988.801Z\"\n fill=\"#FDF8FA\"\n />\n <path\n d=\"M518.778 1181.8L630.743 1246.53V1375.98L518.778 1440.71L406.812 1375.98V1246.53L518.778 1181.8Z\"\n fill=\"#FDF8FA\"\n />\n <path\n d=\"M741.778 1184.8L853.743 1249.53V1378.98L741.778 1443.71L629.812 1378.98V1249.53L741.778 1184.8Z\"\n fill=\"#FDF8FA\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#EAE9F5\"\n />\n <path\n d=\"M631.02 -170.557L742.986 -105.831V23.6216L631.02 88.3477L519.055 23.6216V-105.831L631.02 -170.557Z\"\n fill=\"#EAE9F5\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#F6F5FB\"\n />\n <path\n d=\"M743.02 795.176L854.986 859.764V988.939L743.02 1053.53L631.055 988.939V859.764L743.02 795.176Z\"\n fill=\"#FDFAFC\"\n />\n <path\n d=\"M854.708 217.621L966.673 282.209V411.384L854.708 475.972L742.742 411.384V282.209L854.708 217.621Z\"\n fill=\"#F0EDF7\"\n />\n <path\n d=\"M854.708 603.211L966.673 667.937V797.389L854.708 862.115L742.742 797.389V667.937L854.708 603.211Z\"\n fill=\"#FBFAFC\"\n />\n <path\n d=\"M854.708 988.801L966.673 1053.53V1182.98L854.708 1247.71L742.742 1182.98V1053.53L854.708 988.801Z\"\n fill=\"#FDFBFC\"\n />\n <path\n d=\"M965.708 1183.8L1077.67 1248.53V1377.98L965.708 1442.71L853.742 1377.98V1248.53L965.708 1183.8Z\"\n fill=\"#FDFBFC\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#EAE4F3\"\n />\n <path\n d=\"M854.95 -170.557L966.915 -105.831V23.6216L854.95 88.3477L742.984 23.6216V-105.831L854.95 -170.557Z\"\n fill=\"#EAE4F3\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#F5F5FB\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#FCFCFD\"\n />\n <path\n d=\"M1078.64 217.621L1190.6 282.209V411.384L1078.64 475.972L966.672 411.384V282.209L1078.64 217.621Z\"\n fill=\"#EBE7F4\"\n />\n <path\n d=\"M1302.64 217.621L1414.6 282.209V411.384L1302.64 475.972L1190.67 411.384V282.209L1302.64 217.621Z\"\n fill=\"#EBE7F4\"\n />\n <path\n d=\"M1078.64 603.211L1190.6 667.937V797.389L1078.64 862.115L966.672 797.389V667.937L1078.64 603.211Z\"\n fill=\"#F8F9FD\"\n />\n <path\n d=\"M1302.64 603.211L1414.6 667.937V797.389L1302.64 862.115L1190.67 797.389V667.937L1302.64 603.211Z\"\n fill=\"#F8F9FD\"\n />\n <path\n d=\"M1078.64 988.801L1190.6 1053.53V1182.98L1078.64 1247.71L966.672 1182.98V1053.53L1078.64 988.801Z\"\n fill=\"#FBFCFC\"\n />\n <path\n d=\"M1190.64 1182.8L1302.6 1247.53V1376.98L1190.64 1441.71L1078.67 1376.98V1247.53L1190.64 1182.8Z\"\n fill=\"#FBFCFC\"\n />\n <path\n d=\"M1302.64 988.801L1414.6 1053.53V1182.98L1302.64 1247.71L1190.67 1182.98V1053.53L1302.64 988.801Z\"\n fill=\"#FBFCFC\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#E5DEEF\"\n />\n <path\n d=\"M1078.88 -170.557L1190.84 -105.831V23.6216L1078.88 88.3477L966.914 23.6216V-105.831L1078.88 -170.557Z\"\n fill=\"#E5DEEF\"\n />\n <path\n d=\"M1302.88 -170.557L1414.84 -105.831V23.6216L1302.88 88.3477L1190.91 23.6216V-105.831L1302.88 -170.557Z\"\n fill=\"#E5DEEF\"\n />\n <path\n d=\"M1190.88 409.033L1302.84 473.759V603.211L1190.88 667.938L1078.91 603.211V473.759L1190.88 409.033Z\"\n fill=\"#F2F2F8\"\n />\n <path\n d=\"M1190.88 795.176L1302.84 859.764V988.939L1190.88 1053.53L1078.91 988.939V859.764L1190.88 795.176Z\"\n fill=\"#F9FBFC\"\n />\n </g>\n </g>\n <defs>\n <clipPath id=\"clip0_6783_462\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n <clipPath id=\"clip1_6783_462\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16392
|
+
|
|
16393
|
+
var HomepageLight2 = "<svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n>\n <g clipPath=\"url(#clip0_6783_599)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#FDFEFF\"\n />\n <path\n d=\"M-40.7767 -170.557L71.1887 -105.831V23.6216L-40.7767 88.3477L-152.742 23.6216V-105.831L-40.7767 -170.557Z\"\n fill=\"#FDFEFF\"\n />\n <path\n d=\"M183.223 -170.557L295.189 -105.831V23.6216L183.223 88.3477L71.2578 23.6216V-105.831L183.223 -170.557Z\"\n fill=\"#FDFEFF\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#FEFFFF\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#D7F1F9\"\n />\n <path\n d=\"M182.919 217.621L294.884 282.209V411.384L182.919 475.972L70.9531 411.384V282.209L182.919 217.621Z\"\n fill=\"#FEFFFF\"\n />\n <path\n d=\"M-41.0814 217.621L70.884 282.209V411.384L-41.0814 475.972L-153.047 411.384V282.209L-41.0814 217.621Z\"\n fill=\"#FEFFFF\"\n />\n <path\n d=\"M182.919 603.211L294.884 667.937V797.389L182.919 862.115L70.9531 797.389V667.937L182.919 603.211Z\"\n fill=\"#F6FCFE\"\n />\n <path\n d=\"M-40.0814 603.211L71.884 667.937V797.389L-40.0814 862.115L-152.047 797.389V667.937L-40.0814 603.211Z\"\n fill=\"#F6FCFE\"\n />\n <path\n d=\"M182.919 988.801L294.884 1053.53V1182.98L182.919 1247.71L70.9531 1182.98V1053.53L182.919 988.801Z\"\n fill=\"#ACDBF1\"\n />\n <path\n d=\"M70.9186 1182.8L182.884 1247.53V1376.98L70.9186 1441.71L-41.0469 1376.98V1247.53L70.9186 1182.8Z\"\n fill=\"#ACDBF1\"\n />\n <path\n d=\"M-40.0814 988.801L71.884 1053.53V1182.98L-40.0814 1247.71L-152.047 1182.98V1053.53L-40.0814 988.801Z\"\n fill=\"#ACDBF1\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#FAFDFE\"\n />\n <path\n d=\"M407.161 -170.557L519.126 -105.831V23.6216L407.161 88.3477L295.195 23.6216V-105.831L407.161 -170.557Z\"\n fill=\"#FAFDFE\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#FEFFFF\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#E5F0FA\"\n />\n <path\n d=\"M406.848 217.621L518.814 282.209V411.384L406.848 475.972L294.883 411.384V282.209L406.848 217.621Z\"\n fill=\"#FBFDFE\"\n />\n <path\n d=\"M406.848 603.211L518.814 667.937V797.389L406.848 862.115L294.883 797.389V667.937L406.848 603.211Z\"\n fill=\"#FBFCFE\"\n />\n <path\n d=\"M406.848 988.801L518.814 1053.53V1182.98L406.848 1247.71L294.883 1182.98V1053.53L406.848 988.801Z\"\n fill=\"#DDE0F5\"\n />\n <path\n d=\"M294.848 1182.8L406.814 1247.53V1376.98L294.848 1441.71L182.883 1376.98V1247.53L294.848 1182.8Z\"\n fill=\"#DDE0F5\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#E7F4FA\"\n />\n <path\n d=\"M631.09 -170.557L743.056 -105.831V23.6216L631.09 88.3477L519.125 23.6216V-105.831L631.09 -170.557Z\"\n fill=\"#E7F4FA\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#FEFEFF\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#F6F6FC\"\n />\n <path\n d=\"M630.778 217.621L742.743 282.209V411.384L630.778 475.972L518.812 411.384V282.209L630.778 217.621Z\"\n fill=\"#F3F7FC\"\n />\n <path\n d=\"M630.778 603.211L742.743 667.937V797.389L630.778 862.115L518.812 797.389V667.937L630.778 603.211Z\"\n fill=\"#FEFEFF\"\n />\n <path\n d=\"M630.778 988.801L742.743 1053.53V1182.98L630.778 1247.71L518.812 1182.98V1053.53L630.778 988.801Z\"\n fill=\"#F8F6FC\"\n />\n <path\n d=\"M742.778 1182.8L854.743 1247.53V1376.98L742.778 1441.71L630.812 1376.98V1247.53L742.778 1182.8Z\"\n fill=\"#F8F6FC\"\n />\n <path\n d=\"M518.778 1182.8L630.743 1247.53V1376.98L518.778 1441.71L406.812 1376.98V1247.53L518.778 1182.8Z\"\n fill=\"#F8F6FC\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#D7E1EF\"\n />\n <path\n d=\"M855.02 -170.557L966.986 -105.831V23.6216L855.02 88.3477L743.055 23.6216V-105.831L855.02 -170.557Z\"\n fill=\"#D7E1EF\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#FCFCFE\"\n />\n <path\n d=\"M743.02 795.176L854.986 859.764V988.939L743.02 1053.53L631.055 988.939V859.764L743.02 795.176Z\"\n fill=\"#FEFDFE\"\n />\n <path\n d=\"M854.708 217.621L966.673 282.209V411.384L854.708 475.972L742.742 411.384V282.209L854.708 217.621Z\"\n fill=\"#EEEDF8\"\n />\n <path\n d=\"M854.708 603.211L966.673 667.937V797.389L854.708 862.115L742.742 797.389V667.937L854.708 603.211Z\"\n fill=\"#FEFDFE\"\n />\n <path\n d=\"M854.708 988.801L966.673 1053.53V1182.98L854.708 1247.71L742.742 1182.98V1053.53L854.708 988.801Z\"\n fill=\"#FEFEFF\"\n />\n <path\n d=\"M966.708 1182.8L1078.67 1247.53V1376.98L966.708 1441.71L854.742 1376.98V1247.53L966.708 1182.8Z\"\n fill=\"#FEFEFF\"\n />\n <path\n d=\"M1190.71 1182.8L1302.67 1247.53V1376.98L1190.71 1441.71L1078.74 1376.98V1247.53L1190.71 1182.8Z\"\n fill=\"#FEFEFF\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#D7D1EC\"\n />\n <path\n d=\"M1078.95 -170.557L1190.92 -105.831V23.6216L1078.95 88.3477L966.984 23.6216V-105.831L1078.95 -170.557Z\"\n fill=\"#D7D1EC\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#F5F3FB\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#FEFEFF\"\n />\n <path\n d=\"M1078.64 217.621L1190.6 282.209V411.384L1078.64 475.972L966.672 411.384V282.209L1078.64 217.621Z\"\n fill=\"#D2C7EC\"\n />\n <path\n d=\"M1301.64 216.621L1413.6 281.209V410.384L1301.64 474.972L1189.67 410.384V281.209L1301.64 216.621Z\"\n fill=\"#D2C7EC\"\n />\n <path\n d=\"M1078.64 603.211L1190.6 667.937V797.389L1078.64 862.115L966.672 797.389V667.937L1078.64 603.211Z\"\n fill=\"#F8F5FC\"\n />\n <path\n d=\"M1302.64 603.211L1414.6 667.937V797.389L1302.64 862.115L1190.67 797.389V667.937L1302.64 603.211Z\"\n fill=\"#F8F5FC\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#D1C6EA\"\n />\n <path\n d=\"M1302.88 -170.557L1414.84 -105.831V23.6216L1302.88 88.3477L1190.91 23.6216V-105.831L1302.88 -170.557Z\"\n fill=\"#D1C6EA\"\n />\n <path\n d=\"M1190.88 409.033L1302.84 473.759V603.211L1190.88 667.938L1078.91 603.211V473.759L1190.88 409.033Z\"\n fill=\"#E0D7F2\"\n />\n <path\n d=\"M1190.88 795.176L1302.84 859.764V988.939L1190.88 1053.53L1078.91 988.939V859.764L1190.88 795.176Z\"\n fill=\"#FDFCFE\"\n />\n <path\n d=\"M1078.97 989L1190.93 1053.73V1183.18L1078.97 1247.9L967 1183.18V1053.73L1078.97 989Z\"\n fill=\"#FCFBFE\"\n />\n <path\n d=\"M1302.97 989L1414.93 1053.73V1183.18L1302.97 1247.9L1191 1183.18V1053.73L1302.97 989Z\"\n fill=\"#FCFBFE\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_599\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16394
|
+
|
|
16395
|
+
var ProductpageLight1 = "<svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n>\n <g clipPath=\"url(#clip0_6783_1214)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#E2E9FA\"\n />\n <path\n d=\"M185.223 -169.557L297.189 -104.831V24.6217L185.223 89.3477L73.2578 24.6217V-104.831L185.223 -169.557Z\"\n fill=\"#E2E9FA\"\n />\n <path\n d=\"M0.223249 -193.557L112.189 -128.831V0.62165L0.223249 65.3477L-111.742 0.62165V-128.831L0.223249 -193.557Z\"\n fill=\"#E2E9FA\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#E2EDF9\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#E8EFF8\"\n />\n <path\n d=\"M182.919 216.621L294.884 281.209V410.384L182.919 474.972L70.9531 410.384V281.209L182.919 216.621Z\"\n fill=\"#E4EDFC\"\n />\n <path\n d=\"M-40.0814 217.621L71.884 282.209V411.384L-40.0814 475.972L-152.047 411.384V282.209L-40.0814 217.621Z\"\n fill=\"#E4EDFC\"\n />\n <path\n d=\"M182.919 603.211L294.884 667.937V797.389L182.919 862.115L70.9531 797.389V667.937L182.919 603.211Z\"\n fill=\"#E5EEFA\"\n />\n <path\n d=\"M-40.0814 602.211L71.884 666.937V796.389L-40.0814 861.115L-152.047 796.389V666.937L-40.0814 602.211Z\"\n fill=\"#E5EEFA\"\n />\n <path\n d=\"M182.919 988.801L294.884 1053.53V1182.98L182.919 1247.71L70.9531 1182.98V1053.53L182.919 988.801Z\"\n fill=\"#EBF2F8\"\n />\n <path\n d=\"M70.9186 1181.8L182.884 1246.53V1375.98L70.9186 1440.71L-41.0469 1375.98V1246.53L70.9186 1181.8Z\"\n fill=\"#EBF2F8\"\n />\n <path\n d=\"M-40.0814 987.801L71.884 1052.53V1181.98L-40.0814 1246.71L-152.047 1181.98V1052.53L-40.0814 987.801Z\"\n fill=\"#EBF2F8\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#E5E9FB\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#E3EBFA\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#E8EEF9\"\n />\n <path\n d=\"M406.848 217.621L518.814 282.209V411.384L406.848 475.972L294.883 411.384V282.209L406.848 217.621Z\"\n fill=\"#E8E9FB\"\n />\n <path\n d=\"M406.848 603.211L518.814 667.937V797.389L406.848 862.115L294.883 797.389V667.937L406.848 603.211Z\"\n fill=\"#E6EAF9\"\n />\n <path\n d=\"M406.848 988.801L518.814 1053.53V1182.98L406.848 1247.71L294.883 1182.98V1053.53L406.848 988.801Z\"\n fill=\"#ECEFF8\"\n />\n <path\n d=\"M518.848 1182.8L630.814 1247.53V1376.98L518.848 1441.71L406.883 1376.98V1247.53L518.848 1182.8Z\"\n fill=\"#ECEFF8\"\n />\n <path\n d=\"M294.848 1182.8L406.814 1247.53V1376.98L294.848 1441.71L182.883 1376.98V1247.53L294.848 1182.8Z\"\n fill=\"#ECEFF8\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#EEE6FA\"\n />\n <path\n d=\"M408.965 -169L520.931 -104.274V25.1783L408.965 89.9044L297 25.1783V-104.274L408.965 -169Z\"\n fill=\"#EEE6FA\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#E9E7F9\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#ECEDF9\"\n />\n <path\n d=\"M630.778 217.621L742.743 282.209V411.384L630.778 475.972L518.812 411.384V282.209L630.778 217.621Z\"\n fill=\"#EFE4FA\"\n />\n <path\n d=\"M630.778 602.211L742.743 666.937V796.389L630.778 861.115L518.812 796.389V666.937L630.778 602.211Z\"\n fill=\"#ECE8F8\"\n />\n <path\n d=\"M630.778 988.801L742.743 1053.53V1182.98L630.778 1247.71L518.812 1182.98V1053.53L630.778 988.801Z\"\n fill=\"#F0EEF9\"\n />\n <path\n d=\"M742.778 1181.8L854.743 1246.53V1375.98L742.778 1440.71L630.812 1375.98V1246.53L742.778 1181.8Z\"\n fill=\"#F0EEF9\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#F4E4FB\"\n />\n <path\n d=\"M855.02 -169.557L966.986 -104.831V24.6217L855.02 89.3477L743.055 24.6217V-104.831L855.02 -169.557Z\"\n fill=\"#F4E4FB\"\n />\n <path\n d=\"M632.02 -169.557L743.986 -104.831V24.6217L632.02 89.3477L520.055 24.6217V-104.831L632.02 -169.557Z\"\n fill=\"#F4E4FB\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#EFE3F8\"\n />\n <path\n d=\"M743.02 795.176L854.986 859.764V988.939L743.02 1053.53L631.055 988.939V859.764L743.02 795.176Z\"\n fill=\"#F0EBF8\"\n />\n <path\n d=\"M854.708 217.621L966.673 282.209V411.384L854.708 475.972L742.742 411.384V282.209L854.708 217.621Z\"\n fill=\"#F5E1FA\"\n />\n <path\n d=\"M854.708 602.211L966.673 666.937V796.389L854.708 861.115L742.742 796.389V666.937L854.708 602.211Z\"\n fill=\"#F2E6F7\"\n />\n <path\n d=\"M854.708 988.801L966.673 1053.53V1182.98L854.708 1247.71L742.742 1182.98V1053.53L854.708 988.801Z\"\n fill=\"#F4EEF8\"\n />\n <path\n d=\"M966.708 1181.8L1078.67 1246.53V1375.98L966.708 1440.71L854.742 1375.98V1246.53L966.708 1181.8Z\"\n fill=\"#F4EEF8\"\n />\n <path\n d=\"M1078.71 987.801L1190.67 1052.53V1181.98L1078.71 1246.71L966.742 1181.98V1052.53L1078.71 987.801Z\"\n fill=\"#F3EEF5\"\n />\n <path\n d=\"M1190.71 1181.8L1302.67 1246.53V1375.98L1190.71 1440.71L1078.74 1375.98V1246.53L1190.71 1181.8Z\"\n fill=\"#F3EEF5\"\n />\n <path\n d=\"M1301.71 987.801L1413.67 1052.53V1181.98L1301.71 1246.71L1189.74 1181.98V1052.53L1301.71 987.801Z\"\n fill=\"#F3EEF5\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#F8DFFA\"\n />\n <path\n d=\"M1078.95 -170.557L1190.92 -105.831V23.6217L1078.95 88.3477L966.984 23.6217V-105.831L1078.95 -170.557Z\"\n fill=\"#F8DFFA\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#F4E2F7\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#F4EBF7\"\n />\n <path\n d=\"M1078.64 217.621L1190.6 282.209V411.384L1078.64 475.972L966.672 411.384V282.209L1078.64 217.621Z\"\n fill=\"#F7E0F8\"\n />\n <path\n d=\"M1302.64 216.621L1414.6 281.209V410.384L1302.64 474.972L1190.67 410.384V281.209L1302.64 216.621Z\"\n fill=\"#F7E0F8\"\n />\n <path\n d=\"M1078.64 603.211L1190.6 667.937V797.389L1078.64 862.115L966.672 797.389V667.937L1078.64 603.211Z\"\n fill=\"#F5E7F6\"\n />\n <path\n d=\"M1301.64 602.211L1413.6 666.937V796.389L1301.64 861.115L1189.67 796.389V666.937L1301.64 602.211Z\"\n fill=\"#F5E7F6\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#F8DFF8\"\n />\n <path\n d=\"M1302.88 -170.557L1414.84 -105.831V23.6217L1302.88 88.3477L1190.91 23.6217V-105.831L1302.88 -170.557Z\"\n fill=\"#F8DFF8\"\n />\n <path\n d=\"M1189.88 410.033L1301.84 474.759V604.211L1189.88 668.938L1077.91 604.211V474.759L1189.88 410.033Z\"\n fill=\"#F5E3F6\"\n />\n <path\n d=\"M1190.88 795.176L1302.84 859.764V988.939L1190.88 1053.53L1078.91 988.939V859.764L1190.88 795.176Z\"\n fill=\"#F6ECF7\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_1214\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16396
|
+
|
|
16397
|
+
var ProductpageLight2 = "<svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n>\n <g clipPath=\"url(#clip0_6783_1351)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#F9EDF5\"\n />\n <path\n d=\"M183.223 -170.557L295.189 -105.831V23.6217L183.223 88.3477L71.2578 23.6217V-105.831L183.223 -170.557Z\"\n fill=\"#F9EDF5\"\n />\n <path\n d=\"M-40.7768 -170.557L71.1887 -105.831V23.6217L-40.7768 88.3477L-152.742 23.6217V-105.831L-40.7768 -170.557Z\"\n fill=\"#F9EDF5\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#FEEBF9\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#FEECFB\"\n />\n <path\n d=\"M182.919 217.621L294.884 282.209V411.384L182.919 475.972L70.9531 411.384V282.209L182.919 217.621Z\"\n fill=\"#FDEDF8\"\n />\n <path\n d=\"M-41.0814 216.621L70.884 281.209V410.384L-41.0814 474.972L-153.047 410.384V281.209L-41.0814 216.621Z\"\n fill=\"#FDEDF8\"\n />\n <path\n d=\"M182.919 603.211L294.884 667.937V797.389L182.919 862.115L70.9531 797.389V667.937L182.919 603.211Z\"\n fill=\"#FEEBFA\"\n />\n <path\n d=\"M-41.0814 602.211L70.884 666.937V796.389L-41.0814 861.115L-153.047 796.389V666.937L-41.0814 602.211Z\"\n fill=\"#FEEBFA\"\n />\n <path\n d=\"M182.919 988.801L294.884 1053.53V1182.98L182.919 1247.71L70.9531 1182.98V1053.53L182.919 988.801Z\"\n fill=\"#FCEBFA\"\n />\n <path\n d=\"M-40.0814 988.801L71.884 1053.53V1182.98L-40.0814 1247.71L-152.047 1182.98V1053.53L-40.0814 988.801Z\"\n fill=\"#FCEBFA\"\n />\n <path\n d=\"M70.9186 1182.8L182.884 1247.53V1376.98L70.9186 1441.71L-41.0469 1376.98V1247.53L70.9186 1182.8Z\"\n fill=\"#FCEBFA\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#FCEDF7\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#FEEBF8\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#FEEBFA\"\n />\n <path\n d=\"M406.848 217.621L518.814 282.209V411.384L406.848 475.972L294.883 411.384V282.209L406.848 217.621Z\"\n fill=\"#FCEBF6\"\n />\n <path\n d=\"M406.848 603.211L518.814 667.937V797.389L406.848 862.115L294.883 797.389V667.937L406.848 603.211Z\"\n fill=\"#FDEAF8\"\n />\n <path\n d=\"M406.848 988.801L518.814 1053.53V1182.98L406.848 1247.71L294.883 1182.98V1053.53L406.848 988.801Z\"\n fill=\"#FDEBFA\"\n />\n <path\n d=\"M294.848 1182.8L406.814 1247.53V1376.98L294.848 1441.71L182.883 1376.98V1247.53L294.848 1182.8Z\"\n fill=\"#FDEBFA\"\n />\n <path\n d=\"M518.848 1182.8L630.814 1247.53V1376.98L518.848 1441.71L406.883 1376.98V1247.53L518.848 1182.8Z\"\n fill=\"#FDEBFA\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#FCECF5\"\n />\n <path\n d=\"M407.09 -170.557L519.056 -105.831V23.6217L407.09 88.3477L295.125 23.6217V-105.831L407.09 -170.557Z\"\n fill=\"#FCECF5\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#FDE9F6\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#FDEAFA\"\n />\n <path\n d=\"M630.778 217.621L742.743 282.209V411.384L630.778 475.972L518.812 411.384V282.209L630.778 217.621Z\"\n fill=\"#FCEAF4\"\n />\n <path\n d=\"M630.778 603.211L742.743 667.937V797.389L630.778 862.115L518.812 797.389V667.937L630.778 603.211Z\"\n fill=\"#FCE9F7\"\n />\n <path\n d=\"M630.778 988.801L742.743 1053.53V1182.98L630.778 1247.71L518.812 1182.98V1053.53L630.778 988.801Z\"\n fill=\"#FCEAFA\"\n />\n <path\n d=\"M742.778 1182.8L854.743 1247.53V1376.98L742.778 1441.71L630.812 1376.98V1247.53L742.778 1182.8Z\"\n fill=\"#FCEAFA\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#FBEAF3\"\n />\n <path\n d=\"M855.02 -170.557L966.986 -105.831V23.6217L855.02 88.3477L743.055 23.6217V-105.831L855.02 -170.557Z\"\n fill=\"#FBEAF3\"\n />\n <path\n d=\"M631.02 -170.557L742.986 -105.831V23.6217L631.02 88.3477L519.055 23.6217V-105.831L631.02 -170.557Z\"\n fill=\"#FBEAF3\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#FBE9F4\"\n />\n <path\n d=\"M743.02 795.176L854.986 859.764V988.939L743.02 1053.53L631.055 988.939V859.764L743.02 795.176Z\"\n fill=\"#FCE9F8\"\n />\n <path\n d=\"M854.708 217.621L966.673 282.209V411.384L854.708 475.972L742.742 411.384V282.209L854.708 217.621Z\"\n fill=\"#FBE9F2\"\n />\n <path\n d=\"M854.708 603.211L966.673 667.937V797.389L854.708 862.115L742.742 797.389V667.937L854.708 603.211Z\"\n fill=\"#FBE8F5\"\n />\n <path\n d=\"M854.708 988.801L966.673 1053.53V1182.98L854.708 1247.71L742.742 1182.98V1053.53L854.708 988.801Z\"\n fill=\"#FBEAF8\"\n />\n <path\n d=\"M966.708 1182.8L1078.67 1247.53V1376.98L966.708 1441.71L854.742 1376.98V1247.53L966.708 1182.8Z\"\n fill=\"#FBEAF8\"\n />\n <path\n d=\"M1078.71 988.801L1190.67 1053.53V1182.98L1078.71 1247.71L966.742 1182.98V1053.53L1078.71 988.801Z\"\n fill=\"#FAEAF7\"\n />\n <path\n d=\"M1302.71 988.801L1414.67 1053.53V1182.98L1302.71 1247.71L1190.74 1182.98V1053.53L1302.71 988.801Z\"\n fill=\"#FAEAF7\"\n />\n <path\n d=\"M1190.71 1182.8L1302.67 1247.53V1376.98L1190.71 1441.71L1078.74 1376.98V1247.53L1190.71 1182.8Z\"\n fill=\"#FAEAF7\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#FBEAF2\"\n />\n <path\n d=\"M1078.95 -170.557L1190.92 -105.831V23.6217L1078.95 88.3477L966.984 23.6217V-105.831L1078.95 -170.557Z\"\n fill=\"#FBEAF2\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#FAE8F3\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#FBE9F6\"\n />\n <path\n d=\"M1078.64 217.621L1190.6 282.209V411.384L1078.64 475.972L966.672 411.384V282.209L1078.64 217.621Z\"\n fill=\"#F9E9F1\"\n />\n <path\n d=\"M1301.64 216.621L1413.6 281.209V410.384L1301.64 474.972L1189.67 410.384V281.209L1301.64 216.621Z\"\n fill=\"#F9E9F1\"\n />\n <path\n d=\"M1078.64 602.211L1190.6 666.937V796.389L1078.64 861.115L966.672 796.389V666.937L1078.64 602.211Z\"\n fill=\"#F9E8F4\"\n />\n <path\n d=\"M1301.64 603.211L1413.6 667.937V797.389L1301.64 862.115L1189.67 797.389V667.937L1301.64 603.211Z\"\n fill=\"#F9E8F4\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#F7EBF0\"\n />\n <path\n d=\"M1302.88 -170.557L1414.84 -105.831V23.6217L1302.88 88.3477L1190.91 23.6217V-105.831L1302.88 -170.557Z\"\n fill=\"#F7EBF0\"\n />\n <path\n d=\"M1190.88 409.033L1302.84 473.759V603.211L1190.88 667.938L1078.91 603.211V473.759L1190.88 409.033Z\"\n fill=\"#F8E7F0\"\n />\n <path\n d=\"M1190.88 795.176L1302.84 859.764V988.939L1190.88 1053.53L1078.91 988.939V859.764L1190.88 795.176Z\"\n fill=\"#F8E8F5\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_1351\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16398
|
+
|
|
16399
|
+
var FooterLight = "<svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n>\n <g clipPath=\"url(#clip0_6783_1966)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#F6F1F9\"\n />\n <path\n d=\"M183.223 -170.557L295.189 -105.831V23.6217L183.223 88.3477L71.2578 23.6217V-105.831L183.223 -170.557Z\"\n fill=\"#F6F1F9\"\n />\n <path\n d=\"M-40.7768 -170.557L71.1887 -105.831V23.6217L-40.7768 88.3477L-152.742 23.6217V-105.831L-40.7768 -170.557Z\"\n fill=\"#F6F1F9\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#F9F4FC\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#F8F1FD\"\n />\n <path\n d=\"M182.919 217.621L294.884 282.209V411.384L182.919 475.972L70.9531 411.384V282.209L182.919 217.621Z\"\n fill=\"#F9F4FC\"\n />\n <path\n d=\"M-40.0814 216.621L71.884 281.209V410.384L-40.0814 474.972L-152.047 410.384V281.209L-40.0814 216.621Z\"\n fill=\"#F9F4FC\"\n />\n <path\n d=\"M182.919 603.211L294.884 667.937V797.389L182.919 862.115L70.9531 797.389V667.937L182.919 603.211Z\"\n fill=\"#F9F2FC\"\n />\n <path\n d=\"M-40.0814 602.211L71.884 666.937V796.389L-40.0814 861.115L-152.047 796.389V666.937L-40.0814 602.211Z\"\n fill=\"#F9F2FC\"\n />\n <path\n d=\"M182.919 988.801L294.884 1053.53V1182.98L182.919 1247.71L70.9531 1182.98V1053.53L182.919 988.801Z\"\n fill=\"#F7EFFB\"\n />\n <path\n d=\"M-40.0814 987.801L71.884 1052.53V1181.98L-40.0814 1246.71L-152.047 1181.98V1052.53L-40.0814 987.801Z\"\n fill=\"#F7EFFB\"\n />\n <path\n d=\"M70.9186 1181.8L182.884 1246.53V1375.98L70.9186 1440.71L-41.0469 1375.98V1246.53L70.9186 1181.8Z\"\n fill=\"#F7EFFB\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#F7F2FA\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#F8F3FC\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#F8F0FB\"\n />\n <path\n d=\"M406.848 217.621L518.814 282.209V411.384L406.848 475.972L294.883 411.384V282.209L406.848 217.621Z\"\n fill=\"#F9F4FC\"\n />\n <path\n d=\"M406.848 603.211L518.814 667.937V797.389L406.848 862.115L294.883 797.389V667.937L406.848 603.211Z\"\n fill=\"#F7F1FB\"\n />\n <path\n d=\"M406.848 988.801L518.814 1053.53V1182.98L406.848 1247.71L294.883 1182.98V1053.53L406.848 988.801Z\"\n fill=\"#F7EEFB\"\n />\n <path\n d=\"M294.848 1181.8L406.814 1246.53V1375.98L294.848 1440.71L182.883 1375.98V1246.53L294.848 1181.8Z\"\n fill=\"#F7EEFB\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#F9F4FC\"\n />\n <path\n d=\"M631.09 -170.557L743.056 -105.831V23.6217L631.09 88.3477L519.125 23.6217V-105.831L631.09 -170.557Z\"\n fill=\"#F9F4FC\"\n />\n <path\n d=\"M407.09 -170.557L519.056 -105.831V23.6217L407.09 88.3477L295.125 23.6217V-105.831L407.09 -170.557Z\"\n fill=\"#F9F4FC\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#F8F3FC\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#F7EFFB\"\n />\n <path\n d=\"M630.778 217.621L742.743 282.209V411.384L630.778 475.972L518.812 411.384V282.209L630.778 217.621Z\"\n fill=\"#F8F4FD\"\n />\n <path\n d=\"M630.778 603.211L742.743 667.937V797.389L630.778 862.115L518.812 797.389V667.937L630.778 603.211Z\"\n fill=\"#F6F0FB\"\n />\n <path\n d=\"M630.778 988.801L742.743 1053.53V1182.98L630.778 1247.71L518.812 1182.98V1053.53L630.778 988.801Z\"\n fill=\"#F6EFFB\"\n />\n <path\n d=\"M518.778 1182.8L630.743 1247.53V1376.98L518.778 1441.71L406.812 1376.98V1247.53L518.778 1182.8Z\"\n fill=\"#F6EFFB\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#F8F6FD\"\n />\n <path\n d=\"M855.02 -170.557L966.986 -105.831V23.6217L855.02 88.3477L743.055 23.6217V-105.831L855.02 -170.557Z\"\n fill=\"#F8F6FD\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#F6F3FC\"\n />\n <path\n d=\"M743.02 795.176L854.986 859.764V988.939L743.02 1053.53L631.055 988.939V859.764L743.02 795.176Z\"\n fill=\"#F5EFFA\"\n />\n <path\n d=\"M854.708 217.621L966.673 282.209V411.384L854.708 475.972L742.742 411.384V282.209L854.708 217.621Z\"\n fill=\"#F7F5FD\"\n />\n <path\n d=\"M854.708 603.211L966.673 667.937V797.389L854.708 862.115L742.742 797.389V667.937L854.708 603.211Z\"\n fill=\"#F4F0FB\"\n />\n <path\n d=\"M854.708 988.801L966.673 1053.53V1182.98L854.708 1247.71L742.742 1182.98V1053.53L854.708 988.801Z\"\n fill=\"#F3EFFA\"\n />\n <path\n d=\"M742.708 1181.8L854.673 1246.53V1375.98L742.708 1440.71L630.742 1375.98V1246.53L742.708 1181.8Z\"\n fill=\"#F3EFFA\"\n />\n <path\n d=\"M966.708 1182.8L1078.67 1247.53V1376.98L966.708 1441.71L854.742 1376.98V1247.53L966.708 1182.8Z\"\n fill=\"#F3EFFA\"\n />\n <path\n d=\"M1078.71 988.801L1190.67 1053.53V1182.98L1078.71 1247.71L966.742 1182.98V1053.53L1078.71 988.801Z\"\n fill=\"#F0EEF9\"\n />\n <path\n d=\"M1301.71 987.801L1413.67 1052.53V1181.98L1301.71 1246.71L1189.74 1181.98V1052.53L1301.71 987.801Z\"\n fill=\"#F0EEF9\"\n />\n <path\n d=\"M1190.71 1181.8L1302.67 1246.53V1375.98L1190.71 1440.71L1078.74 1375.98V1246.53L1190.71 1181.8Z\"\n fill=\"#F0EEF9\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#F5F5FA\"\n />\n <path\n d=\"M1078.95 -169.557L1190.92 -104.831V24.6217L1078.95 89.3477L966.984 24.6217V-104.831L1078.95 -169.557Z\"\n fill=\"#F5F5FA\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#F4F3FC\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#F3EFFA\"\n />\n <path\n d=\"M1078.64 217.621L1190.6 282.209V411.384L1078.64 475.972L966.672 411.384V282.209L1078.64 217.621Z\"\n fill=\"#F5F5FC\"\n />\n <path\n d=\"M1302.64 216.621L1414.6 281.209V410.384L1302.64 474.972L1190.67 410.384V281.209L1302.64 216.621Z\"\n fill=\"#F5F5FC\"\n />\n <path\n d=\"M1078.64 603.211L1190.6 667.937V797.389L1078.64 862.115L966.672 797.389V667.937L1078.64 603.211Z\"\n fill=\"#F2F1FB\"\n />\n <path\n d=\"M1302.64 602.211L1414.6 666.937V796.389L1302.64 861.115L1190.67 796.389V666.937L1302.64 602.211Z\"\n fill=\"#F2F1FB\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#F2F4F9\"\n />\n <path\n d=\"M1301.88 -170.557L1413.84 -105.831V23.6217L1301.88 88.3477L1189.91 23.6217V-105.831L1301.88 -170.557Z\"\n fill=\"#F2F4F9\"\n />\n <path\n d=\"M1190.88 409.033L1302.84 473.759V603.211L1190.88 667.938L1078.91 603.211V473.759L1190.88 409.033Z\"\n fill=\"#F4F2FC\"\n />\n <path\n d=\"M1190.88 795.176L1302.84 859.764V988.939L1190.88 1053.53L1078.91 988.939V859.764L1190.88 795.176Z\"\n fill=\"#F2EFF9\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_1966\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16400
|
+
|
|
16401
|
+
// commented out s+ props as the svgs don't exist yet
|
|
16402
|
+
var BackgroundGradients = {
|
|
16403
|
+
HomepageDark1: {
|
|
16404
|
+
xs: HomepageDark1,
|
|
16405
|
+
// s: HomepageDark1,
|
|
16406
|
+
// m: HomepageDark1,
|
|
16407
|
+
// l: HomepageDark1,
|
|
16408
|
+
// xl: HomepageDark1,
|
|
16409
|
+
// xxl: HomepageDark1,
|
|
16410
|
+
},
|
|
16411
|
+
HomepageDark2: {
|
|
16412
|
+
xs: HomepageDark2,
|
|
16413
|
+
// s: HomepageDark2,
|
|
16414
|
+
// m: HomepageDark2,
|
|
16415
|
+
// l: HomepageDark2,
|
|
16416
|
+
// xl: HomepageDark2,
|
|
16417
|
+
// xxl: HomepageDark2,
|
|
16418
|
+
},
|
|
16419
|
+
ProductpageDark1: {
|
|
16420
|
+
xs: ProductpageDark1,
|
|
16421
|
+
// s: ProductpageDark1,
|
|
16422
|
+
// m: ProductpageDark1,
|
|
16423
|
+
// l: ProductpageDark1,
|
|
16424
|
+
// xl: ProductpageDark1,
|
|
16425
|
+
// xxl: ProductpageDark1,
|
|
16426
|
+
},
|
|
16427
|
+
ProductpageDark2: {
|
|
16428
|
+
xs: ProductpageDark2,
|
|
16429
|
+
// s: ProductpageDark2,
|
|
16430
|
+
// m: ProductpageDark2,
|
|
16431
|
+
// l: ProductpageDark2,
|
|
16432
|
+
// xl: ProductpageDark2,
|
|
16433
|
+
// xxl: ProductpageDark2,
|
|
16434
|
+
},
|
|
16435
|
+
HomepageLight1: {
|
|
16436
|
+
xs: HomepageLight1,
|
|
16437
|
+
// s: HomepageLight1,
|
|
16438
|
+
// m: HomepageLight1,
|
|
16439
|
+
// l: HomepageLight1,
|
|
16440
|
+
// xl: HomepageLight1,
|
|
16441
|
+
// xxl: HomepageLight1,
|
|
16442
|
+
},
|
|
16443
|
+
HomepageLight2: {
|
|
16444
|
+
xs: HomepageLight2,
|
|
16445
|
+
// s: HomepageLight2,
|
|
16446
|
+
// m: HomepageLight2,
|
|
16447
|
+
// l: HomepageLight2,
|
|
16448
|
+
// xl: HomepageLight2,
|
|
16449
|
+
// xxl: HomepageLight2,
|
|
16450
|
+
},
|
|
16451
|
+
ProductpageLight1: {
|
|
16452
|
+
xs: ProductpageLight1,
|
|
16453
|
+
// s: ProductpageLight1,
|
|
16454
|
+
// m: ProductpageLight1,
|
|
16455
|
+
// l: ProductpageLight1,
|
|
16456
|
+
// xl: ProductpageLight1,
|
|
16457
|
+
// xxl: ProductpageLight1,
|
|
16458
|
+
},
|
|
16459
|
+
ProductpageLight2: {
|
|
16460
|
+
xs: ProductpageLight2,
|
|
16461
|
+
// s: ProductpageLight2,
|
|
16462
|
+
// m: ProductpageLight2,
|
|
16463
|
+
// l: ProductpageLight2,
|
|
16464
|
+
// xl: ProductpageLight2,
|
|
16465
|
+
// xxl: ProductpageLight2,
|
|
16466
|
+
},
|
|
16467
|
+
FooterLight: {
|
|
16468
|
+
xs: FooterLight,
|
|
16469
|
+
// s: FooterLight,
|
|
16470
|
+
// m: FooterLight,
|
|
16471
|
+
// l: FooterLight,
|
|
16472
|
+
// xl: FooterLight,
|
|
16473
|
+
// xxl: FooterLight,
|
|
16474
|
+
},
|
|
16475
|
+
};
|
|
16476
|
+
|
|
16477
|
+
var ScrimFade = function (props) {
|
|
16478
|
+
var _a;
|
|
16479
|
+
var totalHeight = (_a = props === null || props === void 0 ? void 0 : props.scrimfadeheight) !== null && _a !== void 0 ? _a : 1000;
|
|
16480
|
+
if (!props.scrimfadeheight && props.scrimfadesize) {
|
|
16481
|
+
if (props.scrimfadesize === "l") {
|
|
16482
|
+
totalHeight = 1408;
|
|
16483
|
+
}
|
|
16484
|
+
else if (props.scrimfadesize === "m") {
|
|
16485
|
+
totalHeight = 1024;
|
|
16486
|
+
}
|
|
16487
|
+
else if (props.scrimfadesize === "s") {
|
|
16488
|
+
totalHeight = 640;
|
|
16489
|
+
}
|
|
16490
|
+
}
|
|
16491
|
+
var fadeHeight = totalHeight - 128;
|
|
16492
|
+
return (React__namespace.createElement("svg", __assign({ width: "1024", height: totalHeight, viewBox: "0 0 1024 ".concat(totalHeight), fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
16493
|
+
React__namespace.createElement("rect", { y: "128", width: "1024", height: fadeHeight, fill: "url(#paint0_linear_6538_9883)" }),
|
|
16494
|
+
React__namespace.createElement("g", { opacity: "0.7" },
|
|
16495
|
+
React__namespace.createElement("rect", { width: "1024", height: totalHeight, fill: "url(#paint1_linear_6538_9883)", style: { mixBlendMode: "soft-light" } })),
|
|
16496
|
+
React__namespace.createElement("defs", null,
|
|
16497
|
+
React__namespace.createElement("linearGradient", { id: "paint0_linear_6538_9883", x1: "512", y1: "128", x2: "512", y2: totalHeight, gradientUnits: "userSpaceOnUse" },
|
|
16498
|
+
React__namespace.createElement("stop", { stopColor: "white", stopOpacity: "0" }),
|
|
16499
|
+
React__namespace.createElement("stop", { offset: "0.0806874", stopColor: "white", stopOpacity: "0.01" }),
|
|
16500
|
+
React__namespace.createElement("stop", { offset: "0.155366", stopColor: "white", stopOpacity: "0.0217837" }),
|
|
16501
|
+
React__namespace.createElement("stop", { offset: "0.22496", stopColor: "white", stopOpacity: "0.04832" }),
|
|
16502
|
+
React__namespace.createElement("stop", { offset: "0.290394", stopColor: "white", stopOpacity: "0.0846696" }),
|
|
16503
|
+
React__namespace.createElement("stop", { offset: "0.352593", stopColor: "white", stopOpacity: "0.13037" }),
|
|
16504
|
+
React__namespace.createElement("stop", { offset: "0.41248", stopColor: "white", stopOpacity: "0.18496" }),
|
|
16505
|
+
React__namespace.createElement("stop", { offset: "0.470981", stopColor: "white", stopOpacity: "0.247976" }),
|
|
16506
|
+
React__namespace.createElement("stop", { offset: "0.529019", stopColor: "white", stopOpacity: "0.318957" }),
|
|
16507
|
+
React__namespace.createElement("stop", { offset: "0.58752", stopColor: "white", stopOpacity: "0.39744" }),
|
|
16508
|
+
React__namespace.createElement("stop", { offset: "0.647407", stopColor: "white", stopOpacity: "0.482963" }),
|
|
16509
|
+
React__namespace.createElement("stop", { offset: "0.709606", stopColor: "white", stopOpacity: "0.575064" }),
|
|
16510
|
+
React__namespace.createElement("stop", { offset: "0.77504", stopColor: "white", stopOpacity: "0.67328" }),
|
|
16511
|
+
React__namespace.createElement("stop", { offset: "0.844634", stopColor: "white", stopOpacity: "0.77715" }),
|
|
16512
|
+
React__namespace.createElement("stop", { offset: "0.919313", stopColor: "white", stopOpacity: "0.88621" }),
|
|
16513
|
+
React__namespace.createElement("stop", { offset: "1", stopColor: "white" })),
|
|
16514
|
+
React__namespace.createElement("linearGradient", { id: "paint1_linear_6538_9883", x1: "512", y1: "0", x2: "512", y2: totalHeight, gradientUnits: "userSpaceOnUse" },
|
|
16515
|
+
React__namespace.createElement("stop", { stopColor: "white", stopOpacity: "0" }),
|
|
16516
|
+
React__namespace.createElement("stop", { offset: "1", stopColor: "white" })))));
|
|
16517
|
+
};
|
|
16518
|
+
|
|
16519
|
+
var GradientPageBackground = function (_a) {
|
|
16520
|
+
var _b, _c;
|
|
16521
|
+
var _d = _a.type, type = _d === void 0 ? "HomepageDark1" : _d, children = _a.children, scrimFadeSize = _a.scrimFadeSize, scrimFadeHeights = _a.scrimFadeHeights, _e = _a.scrimFadePosition, scrimFadePosition = _e === void 0 ? "bottom" : _e, extendBackgrounds = _a.extendBackgrounds, customGradients = _a.customGradients, props = __rest(_a, ["type", "children", "scrimFadeSize", "scrimFadeHeights", "scrimFadePosition", "extendBackgrounds", "customGradients"]);
|
|
16522
|
+
var _f = React.useState(), scrimFadeHeight = _f[0], setScrimFadeHeight = _f[1];
|
|
16523
|
+
var _g = React.useState(), extendBackground = _g[0], setExtendBackground = _g[1];
|
|
16524
|
+
var _h = React.useState(BackgroundGradients.HomepageDark1.xs), backgroundGradient = _h[0], setBackgroundGradient = _h[1];
|
|
16525
|
+
var _j = React.useState(), customGradient = _j[0], setCustomGradient = _j[1];
|
|
16526
|
+
var _k = React.useState("xs"), breakpoint = _k[0], setBreakpoint = _k[1];
|
|
16527
|
+
var gradientUri = svgToMiniDataURI(backgroundGradient !== null && backgroundGradient !== void 0 ? backgroundGradient : "");
|
|
16528
|
+
var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT);
|
|
16529
|
+
var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT);
|
|
16530
|
+
var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT);
|
|
16531
|
+
var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT);
|
|
16532
|
+
// Update current breakpoint value for props
|
|
16533
|
+
React.useEffect(function () {
|
|
16534
|
+
var _a;
|
|
16535
|
+
var breakpoints = [
|
|
16536
|
+
["xl", isMinWidthArcBreakpointXl],
|
|
16537
|
+
["l", isMinWidthArcBreakpointL],
|
|
16538
|
+
["m", isMinWidthArcBreakpointM],
|
|
16539
|
+
["s", isMinWidthArcBreakpointS],
|
|
16540
|
+
["xs", true],
|
|
16541
|
+
];
|
|
16542
|
+
var matched = breakpoints.find(function (_a) {
|
|
16543
|
+
var match = _a[1];
|
|
16544
|
+
return match;
|
|
16545
|
+
});
|
|
16546
|
+
setBreakpoint((_a = matched === null || matched === void 0 ? void 0 : matched[0]) !== null && _a !== void 0 ? _a : "xs");
|
|
16547
|
+
}, [
|
|
16548
|
+
isMinWidthArcBreakpointXl,
|
|
16549
|
+
isMinWidthArcBreakpointL,
|
|
16550
|
+
isMinWidthArcBreakpointM,
|
|
16551
|
+
isMinWidthArcBreakpointS,
|
|
16552
|
+
]);
|
|
16553
|
+
// Function to inherit the last provided value when no value is provided
|
|
16554
|
+
var inheritFallbackKey = function (obj, key) {
|
|
16555
|
+
var keysInOrder = ["xs", "s", "m", "l", "xl", "xxl"];
|
|
16556
|
+
var index = keysInOrder.indexOf(key);
|
|
16557
|
+
if (index === -1)
|
|
16558
|
+
return;
|
|
16559
|
+
for (var i = index; i >= 0; i--) {
|
|
16560
|
+
var fallbackKey = keysInOrder[i];
|
|
16561
|
+
if (obj[fallbackKey] !== undefined) {
|
|
16562
|
+
return obj[fallbackKey];
|
|
16563
|
+
}
|
|
16564
|
+
}
|
|
16565
|
+
return undefined;
|
|
16566
|
+
};
|
|
16567
|
+
// Update props when breakpoint changes
|
|
16568
|
+
React.useEffect(function () {
|
|
16569
|
+
var _a;
|
|
16570
|
+
if (!breakpoint)
|
|
16571
|
+
return;
|
|
16572
|
+
setScrimFadeHeight(inheritFallbackKey(scrimFadeHeights !== null && scrimFadeHeights !== void 0 ? scrimFadeHeights : {}, breakpoint));
|
|
16573
|
+
setExtendBackground(inheritFallbackKey(extendBackgrounds !== null && extendBackgrounds !== void 0 ? extendBackgrounds : {}, breakpoint));
|
|
16574
|
+
setBackgroundGradient(inheritFallbackKey((_a = BackgroundGradients === null || BackgroundGradients === void 0 ? void 0 : BackgroundGradients[type]) !== null && _a !== void 0 ? _a : {}, breakpoint));
|
|
16575
|
+
setCustomGradient(inheritFallbackKey(customGradients !== null && customGradients !== void 0 ? customGradients : {}, breakpoint));
|
|
16576
|
+
}, [breakpoint, type]); // type only for storybook
|
|
16577
|
+
return (React.createElement("div", __assign({ className: classNames("arc-GradientPageBackground", (_b = {},
|
|
16578
|
+
_b["arc-GradientPageBackground--".concat(scrimFadePosition)] = scrimFadePosition,
|
|
16579
|
+
_b)), style: extendBackground && scrimFadePosition == "bottom"
|
|
16580
|
+
? {
|
|
16581
|
+
paddingBottom: "".concat(extendBackground, "px"),
|
|
16582
|
+
marginBottom: "-".concat(extendBackground, "px"),
|
|
16583
|
+
}
|
|
16584
|
+
: {
|
|
16585
|
+
paddingTop: "".concat(extendBackground, "px"),
|
|
16586
|
+
marginTop: "-".concat(extendBackground, "px"),
|
|
16587
|
+
} }, filterAttrs(props)),
|
|
16588
|
+
React.createElement("div", { className: "arc-GradientPageBackground-svgWrapper" },
|
|
16589
|
+
React.createElement("img", { src: customGradient || gradientUri, alt: "", className: "arc-GradientPageBackground-svgbg" })),
|
|
16590
|
+
React.createElement("div", { className: "arc-GradientPageBackground-content" },
|
|
16591
|
+
React.createElement(Surface, { isTransparent: true, background: customGradient
|
|
16592
|
+
? (customGradient === null || customGradient === void 0 ? void 0 : customGradient.includes("Light"))
|
|
16593
|
+
? "light-white"
|
|
16594
|
+
: "dark-black"
|
|
16595
|
+
: type.includes("Light")
|
|
16596
|
+
? "light-white"
|
|
16597
|
+
: "dark-black" }, children)),
|
|
16598
|
+
scrimFadeSize && (React.createElement(ScrimFade, { className: classNames("arc-GradientPageBackground-scrimFade", (_c = {},
|
|
16599
|
+
_c["arc-GradientPageBackground-scrimFade--".concat(scrimFadePosition)] = scrimFadePosition,
|
|
16600
|
+
_c)), scrimfadeheight: scrimFadeHeight ? scrimFadeHeight : null, scrimfadesize: scrimFadeSize, preserveAspectRatio: "none" }))));
|
|
16276
16601
|
};
|
|
16277
16602
|
|
|
16278
16603
|
/**
|
|
@@ -16468,7 +16793,9 @@ var ImpactCard = function (_a) {
|
|
|
16468
16793
|
React.createElement("div", { className: "arc-ImpactCard-backgroundImageContainer" },
|
|
16469
16794
|
React.createElement(Image, __assign({ fit: "cover", alt: "" }, img))),
|
|
16470
16795
|
React.createElement("div", { className: "arc-ImpactCard-contentContainer" },
|
|
16471
|
-
label && (React.createElement("div", { className: "arc-ImpactCard-label" },
|
|
16796
|
+
label && (React.createElement("div", { className: "arc-ImpactCard-label" },
|
|
16797
|
+
React.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
|
|
16798
|
+
React.createElement(VerticalSpace, { size: "16" }))),
|
|
16472
16799
|
React.createElement(CardHeading, { heading: heading, size: headingSize, headingLevel: headingLevel, linkData: linkData, href: url, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) })),
|
|
16473
16800
|
React.createElement(CardFooter, { buttonIcon: buttonIcon, showButton: true, isDarkPathway: isDarkPathway, isHovered: showHoverState })));
|
|
16474
16801
|
};
|
|
@@ -16521,6 +16848,7 @@ var InformationCard = function (_a) {
|
|
|
16521
16848
|
window.addEventListener("resize", checkMinHeight);
|
|
16522
16849
|
return function () {
|
|
16523
16850
|
window.removeEventListener("resize", checkMinHeight);
|
|
16851
|
+
checkMinHeight.cancel();
|
|
16524
16852
|
};
|
|
16525
16853
|
}, [minHeights, ArcBreakpoints]);
|
|
16526
16854
|
return (React.createElement("div", __assign({ style: { minHeight: minHeight ? minHeight : minimumHeight }, className: classNames("arc-InformationCard", {
|
|
@@ -16537,7 +16865,8 @@ var InformationCard = function (_a) {
|
|
|
16537
16865
|
React.createElement(Icon$1, { testId: "information-card-icon", icon: icon })))),
|
|
16538
16866
|
React.createElement("div", { className: "arc-InformationCard-contentContainer" },
|
|
16539
16867
|
label && (React.createElement(React.Fragment, null,
|
|
16540
|
-
React.createElement("div", { className: "arc-InformationCard-label" },
|
|
16868
|
+
React.createElement("div", { className: "arc-InformationCard-label" },
|
|
16869
|
+
React.createElement(Heading, { level: "3", fontStyle: "overline" }, label)))),
|
|
16541
16870
|
React.createElement(CardHeading, { heading: heading, headingLevel: headingLevel, href: cardUrl, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) }),
|
|
16542
16871
|
text && React.createElement(Text, null, text)),
|
|
16543
16872
|
(button || badges || footerLogo) && (React.createElement("div", { className: "arc-InformationCard-footer" },
|
|
@@ -16629,8 +16958,6 @@ var MediaCard = function (_a) {
|
|
|
16629
16958
|
var surface = React.useContext(Context$3).surface;
|
|
16630
16959
|
var _e = React.useState(false), isClient = _e[0], setIsClient = _e[1];
|
|
16631
16960
|
var _f = React.useState(false), showHoverState = _f[0], setShowHoverState = _f[1];
|
|
16632
|
-
var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsS, ")"));
|
|
16633
|
-
var headingSpacing = isMinWidthArcBreakpointS ? "16" : "8";
|
|
16634
16961
|
var handleShowHoverState = function (show) { return function () { return setShowHoverState(show); }; };
|
|
16635
16962
|
React.useEffect(function () {
|
|
16636
16963
|
setIsClient(true);
|
|
@@ -16646,12 +16973,12 @@ var MediaCard = function (_a) {
|
|
|
16646
16973
|
media.type === "video" && isClient && (React.createElement(React.Suspense, { fallback: null },
|
|
16647
16974
|
React.createElement(VideoPlayer$1, __assign({ isSupportingTextHidden: true }, media)))),
|
|
16648
16975
|
React.createElement("div", { className: "arc-MediaCard-content" },
|
|
16649
|
-
label && (React.createElement(
|
|
16650
|
-
React.createElement(Heading, {
|
|
16651
|
-
React.createElement(VerticalSpace, { size:
|
|
16976
|
+
label && (React.createElement("div", { className: "arc-MediaCard-label" },
|
|
16977
|
+
React.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
|
|
16978
|
+
React.createElement(VerticalSpace, { size: "16" }))),
|
|
16652
16979
|
React.createElement(CardHeading, { heading: heading, headingLevel: headingLevel, href: media.type !== "video" ? url : undefined, onClick: media.type !== "video" ? onClick : undefined, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) }),
|
|
16653
16980
|
React.createElement("div", { className: "arc-MediaCard-textContainer" }, text && (React.createElement(React.Fragment, null,
|
|
16654
|
-
React.createElement(VerticalSpace, { size:
|
|
16981
|
+
React.createElement(VerticalSpace, { size: "16" }),
|
|
16655
16982
|
React.createElement(Text, null, text),
|
|
16656
16983
|
(url || metaText) && React.createElement(VerticalSpace, { size: "24" })))),
|
|
16657
16984
|
React.createElement(CardFooter, { buttonIcon: buttonIcon, metaText: metaText, showButton: Boolean(url) && media.type !== "video", isHovered: showHoverState })))));
|
|
@@ -17308,7 +17635,7 @@ var MenuItemImpl = React__namespace.forwardRef(
|
|
|
17308
17635
|
}
|
|
17309
17636
|
);
|
|
17310
17637
|
var CHECKBOX_ITEM_NAME$1 = "MenuCheckboxItem";
|
|
17311
|
-
var MenuCheckboxItem
|
|
17638
|
+
var MenuCheckboxItem = React__namespace.forwardRef(
|
|
17312
17639
|
(props, forwardedRef) => {
|
|
17313
17640
|
const { checked = false, onCheckedChange, ...checkboxItemProps } = props;
|
|
17314
17641
|
return /* @__PURE__ */ jsxRuntime.jsx(ItemIndicatorProvider, { scope: props.__scopeMenu, checked, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -17328,23 +17655,23 @@ var MenuCheckboxItem$1 = React__namespace.forwardRef(
|
|
|
17328
17655
|
) });
|
|
17329
17656
|
}
|
|
17330
17657
|
);
|
|
17331
|
-
MenuCheckboxItem
|
|
17658
|
+
MenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME$1;
|
|
17332
17659
|
var RADIO_GROUP_NAME$1 = "MenuRadioGroup";
|
|
17333
17660
|
var [RadioGroupProvider, useRadioGroupContext] = createMenuContext(
|
|
17334
17661
|
RADIO_GROUP_NAME$1,
|
|
17335
17662
|
{ value: void 0, onValueChange: () => {
|
|
17336
17663
|
} }
|
|
17337
17664
|
);
|
|
17338
|
-
var MenuRadioGroup
|
|
17665
|
+
var MenuRadioGroup = React__namespace.forwardRef(
|
|
17339
17666
|
(props, forwardedRef) => {
|
|
17340
17667
|
const { value, onValueChange, ...groupProps } = props;
|
|
17341
17668
|
const handleValueChange = useCallbackRef$1(onValueChange);
|
|
17342
17669
|
return /* @__PURE__ */ jsxRuntime.jsx(RadioGroupProvider, { scope: props.__scopeMenu, value, onValueChange: handleValueChange, children: /* @__PURE__ */ jsxRuntime.jsx(MenuGroup$1, { ...groupProps, ref: forwardedRef }) });
|
|
17343
17670
|
}
|
|
17344
17671
|
);
|
|
17345
|
-
MenuRadioGroup
|
|
17672
|
+
MenuRadioGroup.displayName = RADIO_GROUP_NAME$1;
|
|
17346
17673
|
var RADIO_ITEM_NAME$1 = "MenuRadioItem";
|
|
17347
|
-
var MenuRadioItem
|
|
17674
|
+
var MenuRadioItem = React__namespace.forwardRef(
|
|
17348
17675
|
(props, forwardedRef) => {
|
|
17349
17676
|
const { value, ...radioItemProps } = props;
|
|
17350
17677
|
const context = useRadioGroupContext(RADIO_ITEM_NAME$1, props.__scopeMenu);
|
|
@@ -17366,7 +17693,7 @@ var MenuRadioItem$1 = React__namespace.forwardRef(
|
|
|
17366
17693
|
) });
|
|
17367
17694
|
}
|
|
17368
17695
|
);
|
|
17369
|
-
MenuRadioItem
|
|
17696
|
+
MenuRadioItem.displayName = RADIO_ITEM_NAME$1;
|
|
17370
17697
|
var ITEM_INDICATOR_NAME = "MenuItemIndicator";
|
|
17371
17698
|
var [ItemIndicatorProvider, useItemIndicatorContext] = createMenuContext(
|
|
17372
17699
|
ITEM_INDICATOR_NAME,
|
|
@@ -17420,7 +17747,7 @@ var MenuArrow = React__namespace.forwardRef(
|
|
|
17420
17747
|
MenuArrow.displayName = ARROW_NAME$3;
|
|
17421
17748
|
var SUB_NAME = "MenuSub";
|
|
17422
17749
|
var [MenuSubProvider, useMenuSubContext] = createMenuContext(SUB_NAME);
|
|
17423
|
-
var MenuSub
|
|
17750
|
+
var MenuSub = (props) => {
|
|
17424
17751
|
const { __scopeMenu, children, open = false, onOpenChange } = props;
|
|
17425
17752
|
const parentMenuContext = useMenuContext(SUB_NAME, __scopeMenu);
|
|
17426
17753
|
const popperScope = usePopperScope$1(__scopeMenu);
|
|
@@ -17453,9 +17780,9 @@ var MenuSub$1 = (props) => {
|
|
|
17453
17780
|
}
|
|
17454
17781
|
) });
|
|
17455
17782
|
};
|
|
17456
|
-
MenuSub
|
|
17783
|
+
MenuSub.displayName = SUB_NAME;
|
|
17457
17784
|
var SUB_TRIGGER_NAME$1 = "MenuSubTrigger";
|
|
17458
|
-
var MenuSubTrigger
|
|
17785
|
+
var MenuSubTrigger = React__namespace.forwardRef(
|
|
17459
17786
|
(props, forwardedRef) => {
|
|
17460
17787
|
const context = useMenuContext(SUB_TRIGGER_NAME$1, props.__scopeMenu);
|
|
17461
17788
|
const rootContext = useMenuRootContext(SUB_TRIGGER_NAME$1, props.__scopeMenu);
|
|
@@ -17554,9 +17881,9 @@ var MenuSubTrigger$1 = React__namespace.forwardRef(
|
|
|
17554
17881
|
) });
|
|
17555
17882
|
}
|
|
17556
17883
|
);
|
|
17557
|
-
MenuSubTrigger
|
|
17884
|
+
MenuSubTrigger.displayName = SUB_TRIGGER_NAME$1;
|
|
17558
17885
|
var SUB_CONTENT_NAME$1 = "MenuSubContent";
|
|
17559
|
-
var MenuSubContent
|
|
17886
|
+
var MenuSubContent = React__namespace.forwardRef(
|
|
17560
17887
|
(props, forwardedRef) => {
|
|
17561
17888
|
const portalContext = usePortalContext$1(CONTENT_NAME$3, props.__scopeMenu);
|
|
17562
17889
|
const { forceMount = portalContext.forceMount, ...subContentProps } = props;
|
|
@@ -17602,7 +17929,7 @@ var MenuSubContent$1 = React__namespace.forwardRef(
|
|
|
17602
17929
|
) }) }) });
|
|
17603
17930
|
}
|
|
17604
17931
|
);
|
|
17605
|
-
MenuSubContent
|
|
17932
|
+
MenuSubContent.displayName = SUB_CONTENT_NAME$1;
|
|
17606
17933
|
function getOpenState(open) {
|
|
17607
17934
|
return open ? "open" : "closed";
|
|
17608
17935
|
}
|
|
@@ -17663,15 +17990,15 @@ var Content2$2 = MenuContent$1;
|
|
|
17663
17990
|
var Group = MenuGroup$1;
|
|
17664
17991
|
var Label = MenuLabel$1;
|
|
17665
17992
|
var Item2$1 = MenuItem$1;
|
|
17666
|
-
var CheckboxItem = MenuCheckboxItem
|
|
17667
|
-
var RadioGroup$1 = MenuRadioGroup
|
|
17668
|
-
var RadioItem = MenuRadioItem
|
|
17993
|
+
var CheckboxItem = MenuCheckboxItem;
|
|
17994
|
+
var RadioGroup$1 = MenuRadioGroup;
|
|
17995
|
+
var RadioItem = MenuRadioItem;
|
|
17669
17996
|
var ItemIndicator = MenuItemIndicator;
|
|
17670
17997
|
var Separator = MenuSeparator$1;
|
|
17671
17998
|
var Arrow2$1 = MenuArrow;
|
|
17672
|
-
var Sub = MenuSub
|
|
17673
|
-
var SubTrigger = MenuSubTrigger
|
|
17674
|
-
var SubContent = MenuSubContent
|
|
17999
|
+
var Sub = MenuSub;
|
|
18000
|
+
var SubTrigger = MenuSubTrigger;
|
|
18001
|
+
var SubContent = MenuSubContent;
|
|
17675
18002
|
|
|
17676
18003
|
var DROPDOWN_MENU_NAME = "DropdownMenu";
|
|
17677
18004
|
var [createDropdownMenuContext, createDropdownMenuScope] = createContextScope$1(
|
|
@@ -17916,7 +18243,6 @@ var Trigger$1 = DropdownMenuTrigger;
|
|
|
17916
18243
|
var Portal2 = DropdownMenuPortal;
|
|
17917
18244
|
var Content2$1 = DropdownMenuContent;
|
|
17918
18245
|
var Group2 = DropdownMenuGroup;
|
|
17919
|
-
var Label2 = DropdownMenuLabel;
|
|
17920
18246
|
var Item2 = DropdownMenuItem;
|
|
17921
18247
|
var CheckboxItem2 = DropdownMenuCheckboxItem;
|
|
17922
18248
|
var RadioGroup2 = DropdownMenuRadioGroup;
|
|
@@ -17949,17 +18275,17 @@ var MenuItemContentTemplate = function (_a) {
|
|
|
17949
18275
|
React.createElement(Icon$1, { icon: trailingIcon, size: 24 }))))) : null));
|
|
17950
18276
|
};
|
|
17951
18277
|
|
|
17952
|
-
var
|
|
18278
|
+
var MenuItemCheckbox = function (_a) {
|
|
17953
18279
|
var children = _a.children, checked = _a.checked, onCheckedChange = _a.onCheckedChange, isDisabled = _a.isDisabled, onSelect = _a.onSelect, id = _a.id, _b = _a.shouldKeepOpen, shouldKeepOpen = _b === void 0 ? true : _b, props = __rest(_a, ["children", "checked", "onCheckedChange", "isDisabled", "onSelect", "id", "shouldKeepOpen"]);
|
|
17954
|
-
return (React.createElement(CheckboxItem2, __assign({ className: "arc-MenuItem arc-
|
|
18280
|
+
return (React.createElement(CheckboxItem2, __assign({ className: "arc-MenuItem arc-MenuItemCheckbox", checked: checked, onCheckedChange: onCheckedChange, disabled: isDisabled, onSelect: function (event) {
|
|
17955
18281
|
if (shouldKeepOpen) {
|
|
17956
18282
|
event.preventDefault();
|
|
17957
18283
|
onCheckedChange === null || onCheckedChange === void 0 ? void 0 : onCheckedChange(!checked);
|
|
17958
18284
|
}
|
|
17959
18285
|
onSelect === null || onSelect === void 0 ? void 0 : onSelect(event);
|
|
17960
18286
|
}, id: id }, filterAttrs(props)),
|
|
17961
|
-
React.createElement("div", { className: classNames("arc-
|
|
17962
|
-
"arc-
|
|
18287
|
+
React.createElement("div", { className: classNames("arc-MenuItemCheckbox-box", {
|
|
18288
|
+
"arc-MenuItemCheckbox-box--checked": checked,
|
|
17963
18289
|
}) }, checked && (React.createElement("svg", { style: { width: 14, height: 11 }, viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
17964
18290
|
React.createElement("path", { d: "M5.99459 14L0.350576 8.23277C0.126079 8.00285 0 7.69132 0 7.36653C0 7.04173 0.126079 6.7302 0.350576 6.50028C0.578979 6.27752 0.88258 6.15324 1.19832 6.15324C1.51405 6.15324 1.81765 6.27752 2.04606 6.50028L5.99459 10.535L15.9385 0.374054C16.0491 0.25703 16.1814 0.163688 16.3277 0.0994738C16.474 0.0352599 16.6313 0.00145997 16.7905 4.626e-05C16.9497 -0.00136745 17.1076 0.0296342 17.255 0.0912406C17.4023 0.152847 17.5362 0.243825 17.6488 0.358867C17.7614 0.473908 17.8504 0.610709 17.9107 0.761287C17.971 0.911865 18.0013 1.0732 18 1.23589C17.9986 1.39858 17.9655 1.55936 17.9026 1.70884C17.8398 1.85833 17.7485 1.99352 17.6339 2.10655L5.99459 14Z", fill: "currentColor" })))),
|
|
17965
18291
|
React.createElement(MenuItemContentTemplate, null, children)));
|
|
@@ -17973,21 +18299,6 @@ var MenuContent = React.forwardRef(function (_a, ref) {
|
|
|
17973
18299
|
return (React.createElement(Content2$1, __assign({ ref: ref, style: { width: width, minWidth: minWidth, maxWidth: maxWidth }, className: "arc-MenuContent", sideOffset: 12, loop: true, collisionPadding: 12, forceMount: true, align: align, alignOffset: alignOffset, side: side }, filterAttrs(props)), children));
|
|
17974
18300
|
});
|
|
17975
18301
|
|
|
17976
|
-
/**
|
|
17977
|
-
* Use `Rule` to display a horizontal or vertical rule.
|
|
17978
|
-
*/
|
|
17979
|
-
var Rule = function (_a, props) {
|
|
17980
|
-
var _b;
|
|
17981
|
-
var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
|
|
17982
|
-
var surface = React.useContext(Context$3).surface;
|
|
17983
|
-
return (React.createElement("hr", __assign({ className: classNames((_b = {
|
|
17984
|
-
"arc-Rule": true
|
|
17985
|
-
},
|
|
17986
|
-
_b["arc-Rule--".concat(orientation)] = true,
|
|
17987
|
-
_b["arc-Rule--onDarkSurface"] = surface === "dark",
|
|
17988
|
-
_b)) }, filterAttrs(props))));
|
|
17989
|
-
};
|
|
17990
|
-
|
|
17991
18302
|
/**
|
|
17992
18303
|
* Displays footer content at the bottom of the menu.
|
|
17993
18304
|
*/
|
|
@@ -17996,14 +18307,6 @@ var MenuFooter = function (_a) {
|
|
|
17996
18307
|
return (React.createElement("div", { className: "arc-MenuFooter", style: {
|
|
17997
18308
|
position: "relative",
|
|
17998
18309
|
} },
|
|
17999
|
-
React.createElement("div", { style: {
|
|
18000
|
-
height: "12px",
|
|
18001
|
-
background: "linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))",
|
|
18002
|
-
position: "absolute",
|
|
18003
|
-
width: "100%",
|
|
18004
|
-
zIndex: 3,
|
|
18005
|
-
top: -12,
|
|
18006
|
-
} }),
|
|
18007
18310
|
React.createElement("div", { className: "arc-MenuSeparator", style: { paddingTop: 0 } },
|
|
18008
18311
|
React.createElement(Rule, null)),
|
|
18009
18312
|
React.createElement(Item2, { className: "arc-MenuItem", "aria-label": ariaLabel, onClick: onClick, disabled: isDisabled },
|
|
@@ -18029,14 +18332,7 @@ var MenuHeader = function (_a) {
|
|
|
18029
18332
|
React.createElement("div", { className: "arc-MenuSeparator", style: {
|
|
18030
18333
|
paddingBottom: 0,
|
|
18031
18334
|
} },
|
|
18032
|
-
React.createElement(Rule, null)
|
|
18033
|
-
React.createElement("div", { style: {
|
|
18034
|
-
height: "12px",
|
|
18035
|
-
background: "linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))",
|
|
18036
|
-
position: "absolute",
|
|
18037
|
-
width: "100%",
|
|
18038
|
-
zIndex: 3,
|
|
18039
|
-
} }))));
|
|
18335
|
+
React.createElement(Rule, null))));
|
|
18040
18336
|
};
|
|
18041
18337
|
|
|
18042
18338
|
/**
|
|
@@ -18059,7 +18355,8 @@ var MenuItem = function (_a) {
|
|
|
18059
18355
|
*/
|
|
18060
18356
|
var MenuLabel = function (_a) {
|
|
18061
18357
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
18062
|
-
return (React.createElement(
|
|
18358
|
+
return (React.createElement(Item2, __assign({ asChild: true, className: "arc-MenuLabel", tabIndex: 0, role: "presentation" }, filterAttrs(props), { style: { pointerEvents: "none" } }),
|
|
18359
|
+
React.createElement("div", null, children)));
|
|
18063
18360
|
};
|
|
18064
18361
|
|
|
18065
18362
|
/**
|
|
@@ -18075,9 +18372,9 @@ var MenuPortal = function (_a) {
|
|
|
18075
18372
|
/**
|
|
18076
18373
|
* Groups menu items allowing single selection from multiple options.
|
|
18077
18374
|
*/
|
|
18078
|
-
var
|
|
18375
|
+
var MenuGroupSingleSelect = function (_a) {
|
|
18079
18376
|
var children = _a.children, value = _a.value, onValueChange = _a.onValueChange, props = __rest(_a, ["children", "value", "onValueChange"]);
|
|
18080
|
-
return (React.createElement(RadioGroup2, __assign({ className: "arc-
|
|
18377
|
+
return (React.createElement(RadioGroup2, __assign({ className: "arc-MenuGroupSingleSelect", value: value, onValueChange: onValueChange }, filterAttrs(props)), children));
|
|
18081
18378
|
};
|
|
18082
18379
|
|
|
18083
18380
|
/**
|
|
@@ -18139,9 +18436,9 @@ const BtIconTickAlt2Px =
|
|
|
18139
18436
|
/**
|
|
18140
18437
|
* A selectable menu item used within a radio group.
|
|
18141
18438
|
*/
|
|
18142
|
-
var
|
|
18439
|
+
var MenuItemSingleSelect = function (_a) {
|
|
18143
18440
|
var children = _a.children, value = _a.value, _b = _a.disabled, disabled = _b === void 0 ? false : _b, onSelect = _a.onSelect, leadingIcon = _a.leadingIcon, supportingText = _a.supportingText, _c = _a.shouldKeepOpen, shouldKeepOpen = _c === void 0 ? true : _c, props = __rest(_a, ["children", "value", "disabled", "onSelect", "leadingIcon", "supportingText", "shouldKeepOpen"]);
|
|
18144
|
-
return (React.createElement(RadioItem2, __assign({ className: "arc-MenuItem arc-
|
|
18441
|
+
return (React.createElement(RadioItem2, __assign({ className: "arc-MenuItem arc-MenuItemSingleSelect", value: value, disabled: disabled, onSelect: function (event) {
|
|
18145
18442
|
if (shouldKeepOpen) {
|
|
18146
18443
|
event.preventDefault();
|
|
18147
18444
|
}
|
|
@@ -18183,9 +18480,9 @@ var MenuSeparator = function (props) {
|
|
|
18183
18480
|
};
|
|
18184
18481
|
|
|
18185
18482
|
/**
|
|
18186
|
-
* Container for
|
|
18483
|
+
* Container for multi-level menu content within a dropdown menu.
|
|
18187
18484
|
*/
|
|
18188
|
-
var
|
|
18485
|
+
var MenuItemMultiLevel = function (_a) {
|
|
18189
18486
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
18190
18487
|
return React.createElement(Sub2, __assign({}, filterAttrs(props)),
|
|
18191
18488
|
" ",
|
|
@@ -18193,17 +18490,17 @@ var MenuSub = function (_a) {
|
|
|
18193
18490
|
};
|
|
18194
18491
|
|
|
18195
18492
|
/**
|
|
18196
|
-
* The
|
|
18493
|
+
* The multi-level menu content that pops out when a menu item with children is hovered or clicked.
|
|
18197
18494
|
*/
|
|
18198
|
-
var
|
|
18495
|
+
var MenuItemMultiLevelContent = React.forwardRef(function (_a, ref) {
|
|
18199
18496
|
var children = _a.children, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, alignOffset = _a.alignOffset, props = __rest(_a, ["children", "width", "minWidth", "maxWidth", "alignOffset"]);
|
|
18200
|
-
return (React.createElement(SubContent2, __assign({ ref: ref, style: { width: width, minWidth: minWidth, maxWidth: maxWidth }, className: "arc-MenuContent
|
|
18497
|
+
return (React.createElement(SubContent2, __assign({ ref: ref, style: { width: width, minWidth: minWidth, maxWidth: maxWidth }, className: "arc-MenuContent", sideOffset: 24, collisionPadding: 12, avoidCollisions: true, alignOffset: alignOffset }, filterAttrs(props)), children));
|
|
18201
18498
|
});
|
|
18202
18499
|
|
|
18203
18500
|
/**
|
|
18204
|
-
* Trigger element that opens a
|
|
18501
|
+
* Trigger element that opens a multi-level menu when selected.
|
|
18205
18502
|
*/
|
|
18206
|
-
var
|
|
18503
|
+
var MenuItemMultiLevelTrigger = function (_a) {
|
|
18207
18504
|
var children = _a.children, isDisabled = _a.isDisabled, leadingIcon = _a.leadingIcon, supportingText = _a.supportingText, keyCommands = _a.keyCommands, ariaLabel = _a.ariaLabel, props = __rest(_a, ["children", "isDisabled", "leadingIcon", "supportingText", "keyCommands", "ariaLabel"]);
|
|
18208
18505
|
return (React.createElement(SubTrigger2, __assign({ className: "arc-MenuItem arc-MenuItem--trigger", disabled: isDisabled, "aria-label": ariaLabel }, filterAttrs(props)),
|
|
18209
18506
|
React.createElement("div", { className: "arc-MenuItem-content" },
|
|
@@ -18223,7 +18520,7 @@ var MenuSubTrigger = function (_a) {
|
|
|
18223
18520
|
*/
|
|
18224
18521
|
var MenuTrigger = function (_a) {
|
|
18225
18522
|
var children = _a.children, asChild = _a.asChild, props = __rest(_a, ["children", "asChild"]);
|
|
18226
|
-
return (React.createElement(Trigger$1, __assign({ className: "
|
|
18523
|
+
return (React.createElement(Trigger$1, __assign({ className: "arc-MenuTrigger", asChild: asChild }, filterAttrs(props)), children));
|
|
18227
18524
|
};
|
|
18228
18525
|
|
|
18229
18526
|
/** Use `Modal` to display information that needs immediate action from a user. */
|
|
@@ -18468,138 +18765,6 @@ var ProgressBar = function (_a) {
|
|
|
18468
18765
|
React.createElement(ThemeIcon, { icon: PROGRESS_BAR_ICON_MAP[action.icon], size: 24 }))))))))));
|
|
18469
18766
|
};
|
|
18470
18767
|
|
|
18471
|
-
var shorterCssColorNames;
|
|
18472
|
-
var hasRequiredShorterCssColorNames;
|
|
18473
|
-
|
|
18474
|
-
function requireShorterCssColorNames () {
|
|
18475
|
-
if (hasRequiredShorterCssColorNames) return shorterCssColorNames;
|
|
18476
|
-
hasRequiredShorterCssColorNames = 1;
|
|
18477
|
-
shorterCssColorNames = {
|
|
18478
|
-
aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
18479
|
-
azure: /#f0ffff(ff)?(?!\w)/gi,
|
|
18480
|
-
beige: /#f5f5dc(ff)?(?!\w)/gi,
|
|
18481
|
-
bisque: /#ffe4c4(ff)?(?!\w)/gi,
|
|
18482
|
-
black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
|
|
18483
|
-
blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
|
|
18484
|
-
brown: /#a52a2a(ff)?(?!\w)/gi,
|
|
18485
|
-
coral: /#ff7f50(ff)?(?!\w)/gi,
|
|
18486
|
-
cornsilk: /#fff8dc(ff)?(?!\w)/gi,
|
|
18487
|
-
crimson: /#dc143c(ff)?(?!\w)/gi,
|
|
18488
|
-
cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
18489
|
-
darkblue: /#00008b(ff)?(?!\w)/gi,
|
|
18490
|
-
darkcyan: /#008b8b(ff)?(?!\w)/gi,
|
|
18491
|
-
darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
|
|
18492
|
-
darkred: /#8b0000(ff)?(?!\w)/gi,
|
|
18493
|
-
deeppink: /#ff1493(ff)?(?!\w)/gi,
|
|
18494
|
-
dimgrey: /#696969(ff)?(?!\w)/gi,
|
|
18495
|
-
gold: /#ffd700(ff)?(?!\w)/gi,
|
|
18496
|
-
green: /#008000(ff)?(?!\w)/gi,
|
|
18497
|
-
grey: /#808080(ff)?(?!\w)/gi,
|
|
18498
|
-
honeydew: /#f0fff0(ff)?(?!\w)/gi,
|
|
18499
|
-
hotpink: /#ff69b4(ff)?(?!\w)/gi,
|
|
18500
|
-
indigo: /#4b0082(ff)?(?!\w)/gi,
|
|
18501
|
-
ivory: /#fffff0(ff)?(?!\w)/gi,
|
|
18502
|
-
khaki: /#f0e68c(ff)?(?!\w)/gi,
|
|
18503
|
-
lavender: /#e6e6fa(ff)?(?!\w)/gi,
|
|
18504
|
-
lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
|
|
18505
|
-
linen: /#faf0e6(ff)?(?!\w)/gi,
|
|
18506
|
-
maroon: /#800000(ff)?(?!\w)/gi,
|
|
18507
|
-
moccasin: /#ffe4b5(ff)?(?!\w)/gi,
|
|
18508
|
-
navy: /#000080(ff)?(?!\w)/gi,
|
|
18509
|
-
oldlace: /#fdf5e6(ff)?(?!\w)/gi,
|
|
18510
|
-
olive: /#808000(ff)?(?!\w)/gi,
|
|
18511
|
-
orange: /#ffa500(ff)?(?!\w)/gi,
|
|
18512
|
-
orchid: /#da70d6(ff)?(?!\w)/gi,
|
|
18513
|
-
peru: /#cd853f(ff)?(?!\w)/gi,
|
|
18514
|
-
pink: /#ffc0cb(ff)?(?!\w)/gi,
|
|
18515
|
-
plum: /#dda0dd(ff)?(?!\w)/gi,
|
|
18516
|
-
purple: /#800080(ff)?(?!\w)/gi,
|
|
18517
|
-
red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
|
|
18518
|
-
salmon: /#fa8072(ff)?(?!\w)/gi,
|
|
18519
|
-
seagreen: /#2e8b57(ff)?(?!\w)/gi,
|
|
18520
|
-
seashell: /#fff5ee(ff)?(?!\w)/gi,
|
|
18521
|
-
sienna: /#a0522d(ff)?(?!\w)/gi,
|
|
18522
|
-
silver: /#c0c0c0(ff)?(?!\w)/gi,
|
|
18523
|
-
skyblue: /#87ceeb(ff)?(?!\w)/gi,
|
|
18524
|
-
snow: /#fffafa(ff)?(?!\w)/gi,
|
|
18525
|
-
tan: /#d2b48c(ff)?(?!\w)/gi,
|
|
18526
|
-
teal: /#008080(ff)?(?!\w)/gi,
|
|
18527
|
-
thistle: /#d8bfd8(ff)?(?!\w)/gi,
|
|
18528
|
-
tomato: /#ff6347(ff)?(?!\w)/gi,
|
|
18529
|
-
violet: /#ee82ee(ff)?(?!\w)/gi,
|
|
18530
|
-
wheat: /#f5deb3(ff)?(?!\w)/gi,
|
|
18531
|
-
white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
|
|
18532
|
-
};
|
|
18533
|
-
return shorterCssColorNames;
|
|
18534
|
-
}
|
|
18535
|
-
|
|
18536
|
-
var miniSvgDataUri;
|
|
18537
|
-
var hasRequiredMiniSvgDataUri;
|
|
18538
|
-
|
|
18539
|
-
function requireMiniSvgDataUri () {
|
|
18540
|
-
if (hasRequiredMiniSvgDataUri) return miniSvgDataUri;
|
|
18541
|
-
hasRequiredMiniSvgDataUri = 1;
|
|
18542
|
-
var shorterNames = requireShorterCssColorNames();
|
|
18543
|
-
var REGEX = {
|
|
18544
|
-
whitespace: /\s+/g,
|
|
18545
|
-
urlHexPairs: /%[\dA-F]{2}/g,
|
|
18546
|
-
quotes: /"/g,
|
|
18547
|
-
};
|
|
18548
|
-
|
|
18549
|
-
function collapseWhitespace(str) {
|
|
18550
|
-
return str.trim().replace(REGEX.whitespace, ' ');
|
|
18551
|
-
}
|
|
18552
|
-
|
|
18553
|
-
function dataURIPayload(string) {
|
|
18554
|
-
return encodeURIComponent(string)
|
|
18555
|
-
.replace(REGEX.urlHexPairs, specialHexEncode);
|
|
18556
|
-
}
|
|
18557
|
-
|
|
18558
|
-
// `#` gets converted to `%23`, so quite a few CSS named colors are shorter than
|
|
18559
|
-
// their equivalent URL-encoded hex codes.
|
|
18560
|
-
function colorCodeToShorterNames(string) {
|
|
18561
|
-
Object.keys(shorterNames).forEach(function(key) {
|
|
18562
|
-
if (shorterNames[key].test(string)) {
|
|
18563
|
-
string = string.replace(shorterNames[key], key);
|
|
18564
|
-
}
|
|
18565
|
-
});
|
|
18566
|
-
|
|
18567
|
-
return string;
|
|
18568
|
-
}
|
|
18569
|
-
|
|
18570
|
-
function specialHexEncode(match) {
|
|
18571
|
-
switch (match) { // Browsers tolerate these characters, and they're frequent
|
|
18572
|
-
case '%20': return ' ';
|
|
18573
|
-
case '%3D': return '=';
|
|
18574
|
-
case '%3A': return ':';
|
|
18575
|
-
case '%2F': return '/';
|
|
18576
|
-
default: return match.toLowerCase(); // compresses better
|
|
18577
|
-
}
|
|
18578
|
-
}
|
|
18579
|
-
|
|
18580
|
-
function svgToTinyDataUri(svgString) {
|
|
18581
|
-
if (typeof svgString !== 'string') {
|
|
18582
|
-
throw new TypeError('Expected a string, but received ' + typeof svgString);
|
|
18583
|
-
}
|
|
18584
|
-
// Strip the Byte-Order Mark if the SVG has one
|
|
18585
|
-
if (svgString.charCodeAt(0) === 0xfeff) { svgString = svgString.slice(1); }
|
|
18586
|
-
|
|
18587
|
-
var body = colorCodeToShorterNames(collapseWhitespace(svgString))
|
|
18588
|
-
.replace(REGEX.quotes, "'");
|
|
18589
|
-
return 'data:image/svg+xml,' + dataURIPayload(body);
|
|
18590
|
-
}
|
|
18591
|
-
|
|
18592
|
-
svgToTinyDataUri.toSrcset = function toSrcset(svgString) {
|
|
18593
|
-
return svgToTinyDataUri(svgString).replace(/ /g, '%20');
|
|
18594
|
-
};
|
|
18595
|
-
|
|
18596
|
-
miniSvgDataUri = svgToTinyDataUri;
|
|
18597
|
-
return miniSvgDataUri;
|
|
18598
|
-
}
|
|
18599
|
-
|
|
18600
|
-
var miniSvgDataUriExports = requireMiniSvgDataUri();
|
|
18601
|
-
var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
|
|
18602
|
-
|
|
18603
18768
|
// src/capitalise-first-letter/capitalise-first-letter.ts
|
|
18604
18769
|
var capitaliseFirstLetter = (word) => {
|
|
18605
18770
|
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
@@ -18658,18 +18823,152 @@ var ProgressStepperItem = function (_a) {
|
|
|
18658
18823
|
|
|
18659
18824
|
/** Use `ProgressStepper` to provide an overview of a series of steps in a digital journey. */
|
|
18660
18825
|
var ProgressStepper = function (_a) {
|
|
18661
|
-
var children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, invertLabelPosition = _a.invertLabelPosition, props = __rest(_a, ["children", "size", "isFluid", "direction", "isExpandable", "invertLabelPosition"]);
|
|
18826
|
+
var children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, invertLabelPosition = _a.invertLabelPosition, ref = _a.ref, props = __rest(_a, ["children", "size", "isFluid", "direction", "isExpandable", "invertLabelPosition", "ref"]);
|
|
18662
18827
|
var items = React.Children.toArray(children);
|
|
18663
18828
|
var getStepStatus = function (item) {
|
|
18664
18829
|
var _a;
|
|
18665
18830
|
return (_a = item === null || item === void 0 ? void 0 : item.props) === null || _a === void 0 ? void 0 : _a.status;
|
|
18666
18831
|
};
|
|
18667
|
-
return (React.createElement("div", __assign({ className: classNames("arc-ProgressStepper", {
|
|
18832
|
+
return (React.createElement("div", __assign({ ref: ref, className: classNames("arc-ProgressStepper", {
|
|
18668
18833
|
"arc-ProgressStepper--vertical": direction === "vertical",
|
|
18669
18834
|
}) }, filterAttrs(props)), items.map(function (item, index) { return (React.createElement(React.Fragment, { key: "StepperItem-".concat(index) },
|
|
18670
18835
|
React.createElement(ProgressStepperItem, __assign({ title: item.props.title, titleHref: item.props.titleHref, subTitle: item.props.subTitle, status: item.props.status, stepContent: item.props.stepContent, isStepContentHidden: item.props.isStepContentHidden, onClick: item.props.onClick, isFluid: isFluid, invertLabelPosition: invertLabelPosition, direction: direction, isExpandable: isExpandable, size: size, previousStep: getStepStatus(items[index - 1]) }, filterAttrs(item.props))))); })));
|
|
18671
18836
|
};
|
|
18672
18837
|
|
|
18838
|
+
/** Use `ProgressStepperOverflow` to wrap `ProgressStepperItem`s and allow overflow behaviour. */
|
|
18839
|
+
var ProgressStepperOverflow = React.forwardRef(function (_a, stepperRef) {
|
|
18840
|
+
var children = _a.children, onIndexChange = _a.onIndexChange, onLoadStep = _a.onLoadStep, size = _a.size, invertLabelPosition = _a.invertLabelPosition, _b = _a.offsetLeft, offsetLeft = _b === void 0 ? 24 : _b, props = __rest(_a, ["children", "onIndexChange", "onLoadStep", "size", "invertLabelPosition", "offsetLeft"]);
|
|
18841
|
+
var _c = React.useState(onLoadStep ? onLoadStep : 0), activeIndex = _c[0], setActiveIndex = _c[1];
|
|
18842
|
+
var _d = React.useState(0), closestScrolledIndex = _d[0], setClosestScrolledIndex = _d[1];
|
|
18843
|
+
var _e = React.useState(true), lastStepVisible = _e[0], setLastStepVisible = _e[1];
|
|
18844
|
+
var containerRef = React.useRef(null);
|
|
18845
|
+
React.useImperativeHandle(stepperRef, function () { return ({
|
|
18846
|
+
handleStepScroll: handleStepScroll,
|
|
18847
|
+
scrollToStep: scrollToStep,
|
|
18848
|
+
handleViewScroll: handleViewScroll,
|
|
18849
|
+
isLastChildVisible: isLastChildVisible,
|
|
18850
|
+
}); });
|
|
18851
|
+
// Add Horizontal Scroll Event Listener
|
|
18852
|
+
React.useEffect(function () {
|
|
18853
|
+
var _a, _b;
|
|
18854
|
+
var checkClosest = debounce(function () {
|
|
18855
|
+
var closestIndex = findClosestIndex();
|
|
18856
|
+
setClosestScrolledIndex(closestIndex);
|
|
18857
|
+
}, 100);
|
|
18858
|
+
var checkLastChild = debounce(function () {
|
|
18859
|
+
var lastVisible = isLastChildVisible();
|
|
18860
|
+
if (lastVisible) {
|
|
18861
|
+
setLastStepVisible(true);
|
|
18862
|
+
}
|
|
18863
|
+
else
|
|
18864
|
+
setLastStepVisible(false);
|
|
18865
|
+
}, 100);
|
|
18866
|
+
(_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener("scroll", checkLastChild);
|
|
18867
|
+
(_b = containerRef.current) === null || _b === void 0 ? void 0 : _b.addEventListener("scroll", checkClosest);
|
|
18868
|
+
return function () {
|
|
18869
|
+
var _a;
|
|
18870
|
+
(_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", checkClosest);
|
|
18871
|
+
checkLastChild.cancel();
|
|
18872
|
+
};
|
|
18873
|
+
}, []);
|
|
18874
|
+
// Scroll to activeIndex
|
|
18875
|
+
React.useEffect(function () {
|
|
18876
|
+
scrollTo();
|
|
18877
|
+
}, [activeIndex]);
|
|
18878
|
+
// Exposing changes in activeIndex outside of component
|
|
18879
|
+
React.useEffect(function () {
|
|
18880
|
+
onIndexChange === null || onIndexChange === void 0 ? void 0 : onIndexChange(closestScrolledIndex);
|
|
18881
|
+
isLastChildVisible();
|
|
18882
|
+
}, [closestScrolledIndex, onIndexChange, lastStepVisible]);
|
|
18883
|
+
// helper functions - start
|
|
18884
|
+
var getProgressStepper = function () { var _a; return (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.firstChild; };
|
|
18885
|
+
var getStepChildren = function () {
|
|
18886
|
+
var _a;
|
|
18887
|
+
return Array.from(((_a = getProgressStepper()) === null || _a === void 0 ? void 0 : _a.children) || []);
|
|
18888
|
+
};
|
|
18889
|
+
var getLeftRects = function (children) {
|
|
18890
|
+
var container = getProgressStepper();
|
|
18891
|
+
if (!container)
|
|
18892
|
+
return [];
|
|
18893
|
+
var parentRect = container.getBoundingClientRect();
|
|
18894
|
+
return children.map(function (child) {
|
|
18895
|
+
var childRect = child.getBoundingClientRect();
|
|
18896
|
+
return {
|
|
18897
|
+
left: childRect.left - parentRect.left,
|
|
18898
|
+
};
|
|
18899
|
+
});
|
|
18900
|
+
};
|
|
18901
|
+
var indexOfClosest = function (values) {
|
|
18902
|
+
return values.indexOf(Math.min.apply(Math, values));
|
|
18903
|
+
};
|
|
18904
|
+
// helper functions - end
|
|
18905
|
+
var isLastChildVisible = function () {
|
|
18906
|
+
var _a;
|
|
18907
|
+
var steps = getStepChildren();
|
|
18908
|
+
var lastStep = steps[steps.length - 1];
|
|
18909
|
+
var rect = lastStep.getBoundingClientRect();
|
|
18910
|
+
var containerRect = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
18911
|
+
return rect.right <= containerRect.right;
|
|
18912
|
+
};
|
|
18913
|
+
// Used for onScroll function of scrolling without buttons
|
|
18914
|
+
var findClosestIndex = function () {
|
|
18915
|
+
var _a, _b;
|
|
18916
|
+
var children = getStepChildren();
|
|
18917
|
+
var scrolledAmount = (_b = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.scrollLeft) !== null && _b !== void 0 ? _b : 0;
|
|
18918
|
+
// compare the scrolled amount to the intial left edge distance for each step
|
|
18919
|
+
var getScrollDistances = function (children, scrolledAmount) {
|
|
18920
|
+
return getLeftRects(children).map(function (rect) {
|
|
18921
|
+
return Math.abs(scrolledAmount - rect.left);
|
|
18922
|
+
});
|
|
18923
|
+
};
|
|
18924
|
+
var closestIndex = indexOfClosest(getScrollDistances(children, scrolledAmount));
|
|
18925
|
+
return closestIndex;
|
|
18926
|
+
};
|
|
18927
|
+
// Scroll active step to the far left of the page
|
|
18928
|
+
var scrollTo = function () {
|
|
18929
|
+
var _a, _b;
|
|
18930
|
+
var activeStep = (_a = getProgressStepper()) === null || _a === void 0 ? void 0 : _a.children[activeIndex];
|
|
18931
|
+
if (activeStep) {
|
|
18932
|
+
(_b = containerRef.current) === null || _b === void 0 ? void 0 : _b.scrollTo({
|
|
18933
|
+
left: activeStep.offsetLeft - offsetLeft,
|
|
18934
|
+
behavior: "smooth",
|
|
18935
|
+
});
|
|
18936
|
+
}
|
|
18937
|
+
};
|
|
18938
|
+
var handleStepScroll = function (increment) {
|
|
18939
|
+
// Account for any manual scrolling set closest index to active index
|
|
18940
|
+
setActiveIndex(closestScrolledIndex);
|
|
18941
|
+
var newIndex = closestScrolledIndex + increment;
|
|
18942
|
+
setActiveIndex(newIndex);
|
|
18943
|
+
// If clicking backwards to include half visible step
|
|
18944
|
+
if (closestScrolledIndex + increment === activeIndex) {
|
|
18945
|
+
scrollTo();
|
|
18946
|
+
}
|
|
18947
|
+
if (closestScrolledIndex + increment < 0) {
|
|
18948
|
+
setActiveIndex(0);
|
|
18949
|
+
scrollTo();
|
|
18950
|
+
}
|
|
18951
|
+
};
|
|
18952
|
+
// Used to scroll by Parent width
|
|
18953
|
+
var handleViewScroll = function (direction) {
|
|
18954
|
+
var _a;
|
|
18955
|
+
var clientWidth = ((_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.clientWidth) || 0;
|
|
18956
|
+
var stepper = containerRef.current;
|
|
18957
|
+
if (!stepper)
|
|
18958
|
+
return;
|
|
18959
|
+
stepper.scrollBy({
|
|
18960
|
+
left: direction ? clientWidth : -clientWidth,
|
|
18961
|
+
behavior: "smooth",
|
|
18962
|
+
});
|
|
18963
|
+
};
|
|
18964
|
+
// Used to set a specific step to jump to on a button click
|
|
18965
|
+
var scrollToStep = function (step) {
|
|
18966
|
+
setActiveIndex(step);
|
|
18967
|
+
};
|
|
18968
|
+
return (React.createElement("div", __assign({ ref: containerRef, className: "arc-ProgressStepperOverflow", style: { paddingLeft: offsetLeft } }, filterAttrs(props)),
|
|
18969
|
+
React.createElement(ProgressStepper, { size: size, invertLabelPosition: invertLabelPosition, isFluid: false }, children)));
|
|
18970
|
+
});
|
|
18971
|
+
|
|
18673
18972
|
var RadioContext$1 = React.createContext({});
|
|
18674
18973
|
var Provider$3 = RadioContext$1.Provider;
|
|
18675
18974
|
var useRadioContext$1 = function () {
|
|
@@ -18743,18 +19042,17 @@ var useRadioContext = function () {
|
|
|
18743
19042
|
* Use `RadioGroup` to wrap and control radio buttons and apply default values
|
|
18744
19043
|
*/
|
|
18745
19044
|
var RadioGroup = function (_a) {
|
|
18746
|
-
var children = _a.children, checkedValue = _a.checkedValue, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, id = _a.id, errorMessage = _a.errorMessage, _c = _a.isRequired, isRequired = _c === void 0 ? true : _c, helper = _a.helper, label = _a.label,
|
|
19045
|
+
var children = _a.children, checkedValue = _a.checkedValue, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, id = _a.id, errorMessage = _a.errorMessage, _c = _a.isRequired, isRequired = _c === void 0 ? true : _c, helper = _a.helper, label = _a.label, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _d = _a.size, size = _d === void 0 ? "l" : _d, props = __rest(_a, ["children", "checkedValue", "isDisabled", "id", "errorMessage", "isRequired", "helper", "label", "name", "onBlur", "onChange", "size"]);
|
|
18747
19046
|
return (React.createElement(Provider$2, { value: {
|
|
18748
19047
|
blurEvent: onBlur,
|
|
18749
19048
|
changeEvent: onChange,
|
|
18750
19049
|
groupDisabled: isDisabled,
|
|
18751
19050
|
checkedValue: checkedValue,
|
|
18752
|
-
labelSize: labelSize,
|
|
18753
19051
|
name: name,
|
|
18754
19052
|
size: size,
|
|
18755
19053
|
} },
|
|
18756
19054
|
React.createElement("div", __assign({ className: "arc-RadioGroup" }, filterAttrs(props)),
|
|
18757
|
-
React.createElement(FormControl, { elementType: "fieldset", label: label, labelSize:
|
|
19055
|
+
React.createElement(FormControl, { elementType: "fieldset", label: label, labelSize: size, helper: helper, id: id, requirementStatus: isRequired ? "required" : "optional", helperUnderLabel: true, errorMessage: isRequired && checkedValue === "" ? errorMessage : "" },
|
|
18758
19056
|
React.createElement("span", { className: "arc-RadioGroup-radioButtonContainer" }, children)))));
|
|
18759
19057
|
};
|
|
18760
19058
|
|
|
@@ -18787,11 +19085,11 @@ var RadioGroupButton = React.forwardRef(function (_a, ref) {
|
|
|
18787
19085
|
*/
|
|
18788
19086
|
var RadioGroupInput = React.forwardRef(function (_a, ref) {
|
|
18789
19087
|
var helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, _b = _a.radioButtonAlignment, radioButtonAlignment = _b === void 0 ? "center" : _b, value = _a.value, props = __rest(_a, ["helper", "id", "isDisabled", "label", "radioButtonAlignment", "value"]);
|
|
18790
|
-
var _c = useRadioContext(), blurEvent = _c.blurEvent, changeEvent = _c.changeEvent, groupDisabled = _c.groupDisabled, checkedValue = _c.checkedValue,
|
|
19088
|
+
var _c = useRadioContext(), blurEvent = _c.blurEvent, changeEvent = _c.changeEvent, groupDisabled = _c.groupDisabled, checkedValue = _c.checkedValue, name = _c.name, size = _c.size;
|
|
18791
19089
|
var isChecked = checkedValue === value ? true : false;
|
|
18792
19090
|
var checked = typeof changeEvent !== "function" ? undefined : isChecked;
|
|
18793
19091
|
var defaultChecked = typeof changeEvent !== "function" ? isChecked : undefined;
|
|
18794
|
-
return (React.createElement(RadioGroupButton, __assign({ withMargin: true, ref: ref, id: id, name: name, helper: helper, isDisabled: isDisabled || groupDisabled,
|
|
19092
|
+
return (React.createElement(RadioGroupButton, __assign({ withMargin: true, ref: ref, id: id, name: name, helper: helper, isDisabled: isDisabled || groupDisabled, size: size, radioButtonAlignment: radioButtonAlignment, label: label, defaultChecked: defaultChecked, checked: checked, changeEvent: changeEvent, blurEvent: blurEvent, value: value }, props)));
|
|
18795
19093
|
});
|
|
18796
19094
|
|
|
18797
19095
|
/**
|
|
@@ -18806,7 +19104,10 @@ var ScrollToTop = function (_a) {
|
|
|
18806
19104
|
setHasScrolled(window.scrollY > 0);
|
|
18807
19105
|
}, 100);
|
|
18808
19106
|
window.addEventListener("scroll", handleScroll);
|
|
18809
|
-
return function () {
|
|
19107
|
+
return function () {
|
|
19108
|
+
window.removeEventListener("scroll", handleScroll);
|
|
19109
|
+
handleScroll.cancel();
|
|
19110
|
+
};
|
|
18810
19111
|
});
|
|
18811
19112
|
var onClick = function () {
|
|
18812
19113
|
window.scrollTo({
|
|
@@ -18844,7 +19145,7 @@ var Section = function (_a) {
|
|
|
18844
19145
|
/** Use `Select` to choose from a dropdown list of options. */
|
|
18845
19146
|
var Select = function (_a) {
|
|
18846
19147
|
var _b;
|
|
18847
|
-
var isRequired = _a.isRequired, isDisabled = _a.isDisabled, placeholder = _a.placeholder, label = _a.label, value = _a.value, _c = _a.ariaLabel, ariaLabel = _c === void 0 ? label : _c, options = _a.options, onOpenChange = _a.onOpenChange, isDefaultOpen = _a.isDefaultOpen, defaultValue = _a.defaultValue, errorMessage = _a.errorMessage,
|
|
19148
|
+
var isRequired = _a.isRequired, isDisabled = _a.isDisabled, placeholder = _a.placeholder, label = _a.label, value = _a.value, _c = _a.ariaLabel, ariaLabel = _c === void 0 ? label : _c, options = _a.options, onOpenChange = _a.onOpenChange, isDefaultOpen = _a.isDefaultOpen, defaultValue = _a.defaultValue, errorMessage = _a.errorMessage, _d = _a.size, size = _d === void 0 ? "m" : _d, helper = _a.helper, hideLabel = _a.hideLabel, name = _a.name, width = _a.width, isFluid = _a.isFluid, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, open = _a.open, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props = __rest(_a, ["isRequired", "isDisabled", "placeholder", "label", "value", "ariaLabel", "options", "onOpenChange", "isDefaultOpen", "defaultValue", "errorMessage", "size", "helper", "hideLabel", "name", "width", "isFluid", "onBlur", "onFocus", "onChange", "open", "disclosureTitle", "disclosureText", "onClickDisclosure"]);
|
|
18848
19149
|
var id = React.useId();
|
|
18849
19150
|
var _e = useThemeElement(), themeElement = _e[0], setThemeElement = _e[1];
|
|
18850
19151
|
var surface = React.useContext(Context$3).surface;
|
|
@@ -18859,8 +19160,8 @@ var Select = function (_a) {
|
|
|
18859
19160
|
var _a;
|
|
18860
19161
|
return (_a = options.find(function (option) { return option.value === value; })) === null || _a === void 0 ? void 0 : _a.name;
|
|
18861
19162
|
};
|
|
18862
|
-
var getIconSize = function (
|
|
18863
|
-
switch (
|
|
19163
|
+
var getIconSize = function (size) {
|
|
19164
|
+
switch (size) {
|
|
18864
19165
|
case "s":
|
|
18865
19166
|
return 16;
|
|
18866
19167
|
case "l":
|
|
@@ -18869,7 +19170,7 @@ var Select = function (_a) {
|
|
|
18869
19170
|
return 20;
|
|
18870
19171
|
}
|
|
18871
19172
|
};
|
|
18872
|
-
return (React.createElement(FormControl, { errorMessage: errorMessage, helper: helper, htmlFor: id, label: label, hideLabel: hideLabel, labelSize:
|
|
19173
|
+
return (React.createElement(FormControl, { errorMessage: errorMessage, helper: helper, htmlFor: id, label: label, hideLabel: hideLabel, labelSize: size, requirementStatus: isRequired ? "required" : "optional", isDisabled: isDisabled, disclosureText: disclosureText, disclosureTitle: disclosureTitle, onClickDisclosure: onClickDisclosure },
|
|
18873
19174
|
React.createElement(Root2$2, { name: name, required: isRequired, disabled: isDisabled, defaultOpen: isDefaultOpen, value: selectValue, open: open, onOpenChange: onOpenChange, onValueChange: function (value) { return onValueChange(value); } },
|
|
18874
19175
|
React.createElement("div", { ref: setThemeElement, className: "arc-Select-wrapper" },
|
|
18875
19176
|
React.createElement(Trigger$2, __assign({ id: id, name: name, onBlur: onBlur, onFocus: onFocus, "aria-label": ariaLabel, style: { width: width, marginTop: hideLabel ? 0 : undefined }, className: classNames("arc-Select-trigger", (_b = {
|
|
@@ -18877,28 +19178,24 @@ var Select = function (_a) {
|
|
|
18877
19178
|
"arc-Select-trigger--onDarkSurface": surface === "dark",
|
|
18878
19179
|
"arc-Select-trigger--invalid": errorMessage
|
|
18879
19180
|
},
|
|
18880
|
-
_b["arc-Select-trigger--size".concat(
|
|
19181
|
+
_b["arc-Select-trigger--size".concat(size && size.toUpperCase())] = size && size !== "m",
|
|
18881
19182
|
_b)), "aria-describedby": id + (disclosureText ? "-disclosure" : "-helper") }, filterAttrs(props)),
|
|
18882
19183
|
React.createElement(Value, { className: "arc-Select-triggerText", placeholder: placeholder, "aria-label": getSelectedValueName(uncontrolledValue) }),
|
|
18883
19184
|
React.createElement(Icon, { className: "arc-Select-triggerIcon" },
|
|
18884
|
-
React.createElement(ThemeIcon, { size: getIconSize(
|
|
19185
|
+
React.createElement(ThemeIcon, { size: getIconSize(size), icon: "selectTrigger" }))),
|
|
18885
19186
|
React.createElement(Portal$4, { container: themeElement },
|
|
18886
19187
|
React.createElement(Content2$3, { sideOffset: 5, position: "popper", className: classNames("arc-Select-content", {
|
|
18887
19188
|
"arc-Select-content--onDarkSurface": surface === "dark",
|
|
18888
19189
|
}) },
|
|
18889
|
-
React.createElement(
|
|
18890
|
-
React.createElement(ThemeIcon, { size: 16, icon: "selectScrollUp" })),
|
|
18891
|
-
React.createElement(Viewport, null, options.map(function (_a, i) {
|
|
19190
|
+
React.createElement(Viewport, { className: "arc-Select-content--scrollable" }, options.map(function (_a, i) {
|
|
18892
19191
|
var name = _a.name, value = _a.value;
|
|
18893
19192
|
return (React.createElement(Item$1, { className: "arc-Select-item", key: "select-item-".concat(i), value: value },
|
|
18894
19193
|
React.createElement("div", { className: "arc-Select-itemTextWrapper" },
|
|
18895
19194
|
React.createElement(ItemText, { asChild: true },
|
|
18896
19195
|
React.createElement("span", { className: "arc-Select-itemText" }, name))),
|
|
18897
|
-
React.createElement(ItemIndicator$1,
|
|
18898
|
-
React.createElement(ThemeIcon, { size:
|
|
18899
|
-
}))
|
|
18900
|
-
React.createElement(ScrollDownButton, { className: "arc-Select-scrollButton" },
|
|
18901
|
-
React.createElement(ThemeIcon, { size: 16, icon: "selectScrollDown" }))))))));
|
|
19196
|
+
React.createElement(ItemIndicator$1, { className: "arc-Select-itemSelectIcon" },
|
|
19197
|
+
React.createElement(ThemeIcon, { size: 24, icon: "selectIndicator" }))));
|
|
19198
|
+
}))))))));
|
|
18902
19199
|
};
|
|
18903
19200
|
|
|
18904
19201
|
/**
|
|
@@ -18922,16 +19219,20 @@ var SiteFooter = function (_a) {
|
|
|
18922
19219
|
React.createElement("span", { className: "arc-SiteFooter-copyrightSymbol" }, "\u00A9"), " ".concat(currentYear || new Date().getFullYear())),
|
|
18923
19220
|
React.createElement(BrandLogo, { label: logoLabel }))))))));
|
|
18924
19221
|
};
|
|
18925
|
-
var
|
|
18926
|
-
var children = _a.children,
|
|
18927
|
-
|
|
18928
|
-
|
|
18929
|
-
React.createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
|
|
19222
|
+
var SiteFooterItemDisclosure = function (_a) {
|
|
19223
|
+
var title = _a.title, children = _a.children, open = _a.open, tabIndex = _a.tabIndex;
|
|
19224
|
+
return (React.createElement("details", { className: "arc-SiteFooter-disclosure", open: open },
|
|
19225
|
+
React.createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: tabIndex },
|
|
18930
19226
|
React.createElement("span", { className: "arc-SiteFooter-icon" },
|
|
18931
19227
|
React.createElement(ThemeIcon, { icon: "siteFooterExpand" })),
|
|
18932
19228
|
React.createElement("h2", { className: "arc-SiteFooter-title" }, title)),
|
|
18933
19229
|
React.createElement("ul", { className: "arc-SiteFooter-mainItems" }, children)));
|
|
18934
19230
|
};
|
|
19231
|
+
var SiteFooterItemGroup = function (props) { return (React.createElement(React.Fragment, null,
|
|
19232
|
+
React.createElement(Visible, { "data-testid": "mobile-disclosure", xs: true, s: true },
|
|
19233
|
+
React.createElement(SiteFooterItemDisclosure, __assign({}, props, { tabIndex: 0 }))),
|
|
19234
|
+
React.createElement(Visible, { "data-testid": "desktop-disclosure", m: true, l: true, xl: true },
|
|
19235
|
+
React.createElement(SiteFooterItemDisclosure, __assign({}, props, { open: true, tabIndex: -1 }))))); };
|
|
18935
19236
|
var SiteFooterItem = function (_a) {
|
|
18936
19237
|
var children = _a.children, href = _a.href, onClick = _a.onClick, props = __rest(_a, ["children", "href", "onClick"]);
|
|
18937
19238
|
return (React.createElement("li", __assign({ className: "arc-SiteFooter-item" }, filterAttrs(props)),
|
|
@@ -18954,35 +19255,33 @@ var SiteFooterV2 = function (_a) {
|
|
|
18954
19255
|
React.createElement("h2", { className: "arc-SiteFooterV2-slogan" }, slogan),
|
|
18955
19256
|
React.createElement(VerticalSpace, { size: "32" }))),
|
|
18956
19257
|
React.createElement("div", { className: "arc-SiteFooterV2-main-utility" }, children)),
|
|
18957
|
-
React.createElement(VerticalSpace, { size: "24" })
|
|
18958
|
-
" "));
|
|
19258
|
+
React.createElement(VerticalSpace, { size: "24" })));
|
|
18959
19259
|
};
|
|
18960
19260
|
|
|
18961
|
-
/**
|
|
18962
|
-
* Do not edit directly
|
|
18963
|
-
* Generated on Mon, 19 May 2025 14:54:16 GMT
|
|
18964
|
-
*/
|
|
18965
|
-
var SemSizeBreakpointsM = "768px"; // Medium (MD) - 768px to 991px: This is commonly used for larger tablets and smaller desktop screens.
|
|
18966
|
-
|
|
18967
19261
|
var SiteFooterV2Main = function (_a) {
|
|
18968
19262
|
var children = _a.children, _b = _a.columns, columns = _b === void 0 ? 4 : _b, props = __rest(_a, ["children", "columns"]);
|
|
18969
|
-
|
|
18970
|
-
|
|
18971
|
-
|
|
18972
|
-
|
|
18973
|
-
|
|
18974
|
-
var
|
|
18975
|
-
|
|
18976
|
-
|
|
18977
|
-
return (React.createElement("details", __assign({ open: isMinWidthArcBreakpointM, className: classNames("arc-SiteFooterV2-disclosure", {
|
|
18978
|
-
"arc-SiteFooterV2-disclosure--hidden": !isMinWidthArcBreakpointM && hideDisclosure,
|
|
18979
|
-
}), "aria-label": title }, filterAttrs(props)),
|
|
18980
|
-
React.createElement("summary", { className: "arc-SiteFooterV2-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
|
|
19263
|
+
return (React.createElement("nav", __assign({ className: classNames("arc-SiteFooterV2-main", {
|
|
19264
|
+
"arc-SiteFooterV2-main-3Columns": columns === 3,
|
|
19265
|
+
}), "aria-label": "Footer navigation links" }, filterAttrs(props)), children));
|
|
19266
|
+
};
|
|
19267
|
+
var SiteFooterV2ItemDisclosure = function (_a) {
|
|
19268
|
+
var children = _a.children, title = _a.title, open = _a.open, tabIndex = _a.tabIndex, props = __rest(_a, ["children", "title", "open", "tabIndex"]);
|
|
19269
|
+
return (React.createElement("details", __assign({ open: open, className: "arc-SiteFooterV2-disclosure", "aria-label": title }, filterAttrs(props)),
|
|
19270
|
+
React.createElement("summary", { className: "arc-SiteFooterV2-summary", tabIndex: tabIndex },
|
|
18981
19271
|
React.createElement("span", { className: "arc-SiteFooterV2-icon" },
|
|
18982
19272
|
React.createElement(ThemeIcon, { icon: "siteFooterExpand" })),
|
|
18983
19273
|
React.createElement("h2", { className: "arc-SiteFooterV2-itemGroupTitle" }, title)),
|
|
18984
19274
|
React.createElement("ul", { className: "arc-SiteFooterV2-itemGroup" }, children)));
|
|
18985
19275
|
};
|
|
19276
|
+
var SiteFooterV2ItemGroup = function (_a) {
|
|
19277
|
+
var hideDisclosure = _a.hideDisclosure, props = __rest(_a, ["hideDisclosure"]);
|
|
19278
|
+
return (React.createElement("div", null,
|
|
19279
|
+
React.createElement(Visible, { "data-testid": "mobile-disclosure", xs: !hideDisclosure, s: !hideDisclosure },
|
|
19280
|
+
React.createElement(SiteFooterV2ItemDisclosure, __assign({}, props, { tabIndex: 0 }))),
|
|
19281
|
+
React.createElement(Visible, { "data-testid": "desktop-disclosure", m: true, l: true, xl: true },
|
|
19282
|
+
React.createElement(SiteFooterV2ItemDisclosure, __assign({}, props, { open: true, tabIndex: -1 })),
|
|
19283
|
+
React.createElement(VerticalSpace, { size: "12" }))));
|
|
19284
|
+
};
|
|
18986
19285
|
var SiteFooterV2Item = function (_a) {
|
|
18987
19286
|
var children = _a.children, href = _a.href, onClick = _a.onClick, props = __rest(_a, ["children", "href", "onClick"]);
|
|
18988
19287
|
return (React.createElement("li", __assign({ className: "arc-SiteFooterV2-item" }, filterAttrs(props)),
|
|
@@ -19797,8 +20096,9 @@ const $6be4966fd9bbc698$export$6521433ed15a34db = $6be4966fd9bbc698$export$4d07b
|
|
|
19797
20096
|
|
|
19798
20097
|
/** Use `Switch` to allow users to immediately toggle between two states. */
|
|
19799
20098
|
var Switch = function (_a) {
|
|
19800
|
-
var
|
|
19801
|
-
var
|
|
20099
|
+
var _b;
|
|
20100
|
+
var defaultChecked = _a.defaultChecked, onCheckedChange = _a.onCheckedChange, label = _a.label, _c = _a.labelPosition, labelPosition = _c === void 0 ? "top" : _c, name = _a.name, onBlur = _a.onBlur, value = _a.value, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, errorMessage = _a.errorMessage, id = _a.id, _e = _a.size, size = _e === void 0 ? "m" : _e, onStatusText = _a.onStatusText, offStatusText = _a.offStatusText, _f = _a.hideLabel, hideLabel = _f === void 0 ? false : _f, ariaLabel = _a.ariaLabel, props = __rest(_a, ["defaultChecked", "onCheckedChange", "label", "labelPosition", "name", "onBlur", "value", "isDisabled", "errorMessage", "id", "size", "onStatusText", "offStatusText", "hideLabel", "ariaLabel"]);
|
|
20101
|
+
var _g = React.useState(defaultChecked), switchState = _g[0], setSwitchState = _g[1];
|
|
19802
20102
|
var surface = React.useContext(Context$3).surface;
|
|
19803
20103
|
if (!onStatusText) {
|
|
19804
20104
|
onStatusText = offStatusText;
|
|
@@ -19810,11 +20110,11 @@ var Switch = function (_a) {
|
|
|
19810
20110
|
setSwitchState(function (previous) { return !previous; });
|
|
19811
20111
|
onCheckedChange && onCheckedChange(checked);
|
|
19812
20112
|
};
|
|
19813
|
-
return (React.createElement(FormControl, { errorMessage: errorMessage, htmlFor: id, isDisabled: isDisabled, label: label, hideLabel: hideLabel, labelSize:
|
|
19814
|
-
!hideLabel && React.createElement(VerticalSpace, { size: "
|
|
20113
|
+
return (React.createElement(FormControl, { errorMessage: errorMessage, htmlFor: id, isDisabled: isDisabled, label: label, hideLabel: hideLabel, labelSize: size, labelPosition: labelPosition, requirementStatus: "not-applicable" },
|
|
20114
|
+
!hideLabel && React.createElement(VerticalSpace, { size: "12" }),
|
|
19815
20115
|
React.createElement("div", { className: "arc-Switch-container" },
|
|
19816
20116
|
React.createElement($6be4966fd9bbc698$export$be92b6f5f03c0fe9, __assign({ id: id, defaultChecked: defaultChecked, name: name, value: value, onBlur: onBlur, onCheckedChange: onCheckedHandler, checked: switchState, disabled: isDisabled, className: classNames("arc-Switch", {
|
|
19817
|
-
"arc-Switch--
|
|
20117
|
+
"arc-Switch--medium": size === "m",
|
|
19818
20118
|
"arc-Switch--isDisabled": isDisabled,
|
|
19819
20119
|
"arc-Switch--onDarkSurface": surface === "dark",
|
|
19820
20120
|
}), "aria-label": ariaLabel }, filterAttrs(props)),
|
|
@@ -19822,12 +20122,14 @@ var Switch = function (_a) {
|
|
|
19822
20122
|
React.createElement($6be4966fd9bbc698$export$6521433ed15a34db, { className: "arc-Switch-thumb" },
|
|
19823
20123
|
React.createElement("div", { className: "arc-Switch-thumbIcon" },
|
|
19824
20124
|
React.createElement("div", { className: "arc-Switch-icon", "data-testid": "arc-switch-thumb-icon" },
|
|
19825
|
-
React.createElement(ThemeIcon, { icon: "switchToggle", color: "brand", size:
|
|
19826
|
-
React.createElement("div", { className: classNames("arc-Switch-statusText", {
|
|
19827
|
-
|
|
19828
|
-
|
|
19829
|
-
|
|
19830
|
-
|
|
20125
|
+
React.createElement(ThemeIcon, { icon: "switchToggle", color: "brand", size: size === "m" ? 32 : 24 }))))),
|
|
20126
|
+
React.createElement("div", { className: classNames("arc-Switch-statusText", (_b = {
|
|
20127
|
+
"arc-Switch-statusText--isDisabled": isDisabled,
|
|
20128
|
+
"arc-Switch-statusText--onDarkSurface": surface === "dark"
|
|
20129
|
+
},
|
|
20130
|
+
_b["arc-Switch-statusText--".concat(size)] = size === "m",
|
|
20131
|
+
_b)) },
|
|
20132
|
+
React.createElement("p", { "aria-hidden": true }, switchState ? onStatusText : offStatusText))))));
|
|
19831
20133
|
};
|
|
19832
20134
|
|
|
19833
20135
|
var TabbedBanner = function (_a) {
|
|
@@ -19842,7 +20144,10 @@ var TabbedBanner = function (_a) {
|
|
|
19842
20144
|
React.useEffect(function () {
|
|
19843
20145
|
handleResize();
|
|
19844
20146
|
window.addEventListener("resize", handleResize);
|
|
19845
|
-
return function () {
|
|
20147
|
+
return function () {
|
|
20148
|
+
window.removeEventListener("resize", handleResize);
|
|
20149
|
+
handleResize.cancel();
|
|
20150
|
+
};
|
|
19846
20151
|
}, [isBelowArcSizeBreakpointsM]);
|
|
19847
20152
|
return (React.createElement("div", { className: "arc-TabbedBanner" }, !isBelowArcSizeBreakpointsM ? (React.createElement("div", null,
|
|
19848
20153
|
React.createElement(ContentSwitcher, { value: selectedTab, onValueChange: function (value) { return setSelectedTab(value); } },
|
|
@@ -20024,7 +20329,7 @@ var TextArea = React.forwardRef(function (_a, ref) {
|
|
|
20024
20329
|
var package_default = {
|
|
20025
20330
|
name: "@arc-ui/helpers",
|
|
20026
20331
|
private: true,
|
|
20027
|
-
version: "12.0.0-beta.
|
|
20332
|
+
version: "12.0.0-beta.20",
|
|
20028
20333
|
type: "module",
|
|
20029
20334
|
homepage: "https://ui.digital-ent-int.bt.com",
|
|
20030
20335
|
author: "BT Enterprise Digital UI Team <ui-digital-ent-int@bt.com>",
|
|
@@ -20089,12 +20394,11 @@ var themes = ["bt-enterprise", "bt-business", "ee"];
|
|
|
20089
20394
|
|
|
20090
20395
|
var ThumbnailSignpost = function (_a) {
|
|
20091
20396
|
var text = _a.text, title = _a.title, img = _a.img, button = _a.button, props = __rest(_a, ["text", "title", "img", "button"]);
|
|
20092
|
-
var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsS, ")"));
|
|
20093
20397
|
return (React.createElement("div", __assign({ className: "arc-ThumbnailSignpost" }, filterAttrs(props)),
|
|
20094
20398
|
(img === null || img === void 0 ? void 0 : img.src) && (React.createElement("div", { className: "arc-ThumbnailSignpost-image" },
|
|
20095
20399
|
React.createElement(Image, __assign({}, img)))),
|
|
20096
20400
|
React.createElement("div", { className: "arc-ThumbnailSignpost-content" },
|
|
20097
|
-
React.createElement(
|
|
20401
|
+
React.createElement("span", { className: "arc-ThumbnailSignpost-heading" }, title),
|
|
20098
20402
|
React.createElement(VerticalSpace, { size: "8" }),
|
|
20099
20403
|
text,
|
|
20100
20404
|
React.createElement(ButtonV2, __assign({ buttonStyle: "compact", icon: BtIconArrowRight }, button)))));
|
|
@@ -22438,7 +22742,9 @@ var TypographyCard = function (_a) {
|
|
|
22438
22742
|
"arc-TypographyCard--onDarkSurface": surface === "dark",
|
|
22439
22743
|
}) }, filterAttrs(props)),
|
|
22440
22744
|
React.createElement("div", { className: "arc-TypographyCard-contentContainer" },
|
|
22441
|
-
label && (React.createElement("div", { className: "arc-TypographyCard-label" },
|
|
22745
|
+
label && (React.createElement("div", { className: "arc-TypographyCard-label" },
|
|
22746
|
+
React.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
|
|
22747
|
+
React.createElement(VerticalSpace, { size: "16" }))),
|
|
22442
22748
|
React.createElement(CardHeading, { size: headingSize, linkData: linkData, heading: heading, headingLevel: headingLevel, href: url, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) })),
|
|
22443
22749
|
React.createElement(CardFooter, { showButton: true, isDarkPathway: isDarkPathway, buttonIcon: buttonIcon, metaText: metaText, isHovered: showHoverState })));
|
|
22444
22750
|
};
|
|
@@ -25649,17 +25955,6 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
25649
25955
|
VideoPlayer: VideoPlayer
|
|
25650
25956
|
});
|
|
25651
25957
|
|
|
25652
|
-
var Visible = function (_a) {
|
|
25653
|
-
var children = _a.children, xs = _a.xs, s = _a.s, m = _a.m, l = _a.l, xl = _a.xl, props = __rest(_a, ["children", "xs", "s", "m", "l", "xl"]);
|
|
25654
|
-
return (React.createElement("div", __assign({ className: classNames("arc-Visible", {
|
|
25655
|
-
"arc-Visible--xs": xs,
|
|
25656
|
-
"arc-Visible--s": s,
|
|
25657
|
-
"arc-Visible--m": m,
|
|
25658
|
-
"arc-Visible--l": l,
|
|
25659
|
-
"arc-Visible--xl": xl,
|
|
25660
|
-
}) }, filterAttrs(props)), children));
|
|
25661
|
-
};
|
|
25662
|
-
|
|
25663
25958
|
var Preview_1;
|
|
25664
25959
|
var hasRequiredPreview;
|
|
25665
25960
|
|
|
@@ -25844,10 +26139,14 @@ exports.ContentSwitcherList = ContentSwitcherList;
|
|
|
25844
26139
|
exports.ContentSwitcherTab = ContentSwitcherTab;
|
|
25845
26140
|
exports.DATE_FORMAT = DATE_FORMAT;
|
|
25846
26141
|
exports.DatePicker = DatePicker;
|
|
26142
|
+
exports.DatePickerRange = DatePickerRange;
|
|
25847
26143
|
exports.Disclosure = Disclosure;
|
|
25848
26144
|
exports.DisclosureMini = DisclosureMini;
|
|
25849
26145
|
exports.Download = Download;
|
|
25850
26146
|
exports.Drawer = Drawer;
|
|
26147
|
+
exports.DrawerContent = DrawerContent;
|
|
26148
|
+
exports.DrawerFooter = DrawerFooter;
|
|
26149
|
+
exports.DrawerHeader = DrawerHeader;
|
|
25851
26150
|
exports.Elevation = Elevation;
|
|
25852
26151
|
exports.Filter = Filter;
|
|
25853
26152
|
exports.FilterControl = FilterControl;
|
|
@@ -25857,7 +26156,7 @@ exports.FilterItems = FilterItems;
|
|
|
25857
26156
|
exports.FormControl = FormControl;
|
|
25858
26157
|
exports.FormControlContext = Context$2;
|
|
25859
26158
|
exports.GhostedHeroBanner = GhostedHeroBanner;
|
|
25860
|
-
exports.
|
|
26159
|
+
exports.GradientPageBackground = GradientPageBackground;
|
|
25861
26160
|
exports.Grid = Grid;
|
|
25862
26161
|
exports.GridCol = GridCol;
|
|
25863
26162
|
exports.GridRow = GridRow;
|
|
@@ -25880,22 +26179,22 @@ exports.Link = Link;
|
|
|
25880
26179
|
exports.Markup = Markup;
|
|
25881
26180
|
exports.MediaCard = MediaCard;
|
|
25882
26181
|
exports.Menu = Menu;
|
|
25883
|
-
exports.MenuCheckboxItem = MenuCheckboxItem;
|
|
25884
26182
|
exports.MenuContent = MenuContent;
|
|
25885
26183
|
exports.MenuFooter = MenuFooter;
|
|
25886
26184
|
exports.MenuGroup = MenuGroup;
|
|
26185
|
+
exports.MenuGroupSingleSelect = MenuGroupSingleSelect;
|
|
25887
26186
|
exports.MenuHeader = MenuHeader;
|
|
25888
26187
|
exports.MenuItem = MenuItem;
|
|
26188
|
+
exports.MenuItemCheckbox = MenuItemCheckbox;
|
|
25889
26189
|
exports.MenuItemContentTemplate = MenuItemContentTemplate;
|
|
26190
|
+
exports.MenuItemMultiLevel = MenuItemMultiLevel;
|
|
26191
|
+
exports.MenuItemMultiLevelContent = MenuItemMultiLevelContent;
|
|
26192
|
+
exports.MenuItemMultiLevelTrigger = MenuItemMultiLevelTrigger;
|
|
26193
|
+
exports.MenuItemSingleSelect = MenuItemSingleSelect;
|
|
25890
26194
|
exports.MenuLabel = MenuLabel;
|
|
25891
26195
|
exports.MenuPortal = MenuPortal;
|
|
25892
|
-
exports.MenuRadioGroup = MenuRadioGroup;
|
|
25893
|
-
exports.MenuRadioItem = MenuRadioItem;
|
|
25894
26196
|
exports.MenuScrollable = MenuScrollable;
|
|
25895
26197
|
exports.MenuSeparator = MenuSeparator;
|
|
25896
|
-
exports.MenuSub = MenuSub;
|
|
25897
|
-
exports.MenuSubContent = MenuSubContent;
|
|
25898
|
-
exports.MenuSubTrigger = MenuSubTrigger;
|
|
25899
26198
|
exports.MenuTrigger = MenuTrigger;
|
|
25900
26199
|
exports.Modal = Modal;
|
|
25901
26200
|
exports.Pagination = Pagination;
|
|
@@ -25907,6 +26206,7 @@ exports.PosterVideo = PosterVideo;
|
|
|
25907
26206
|
exports.ProgressBar = ProgressBar;
|
|
25908
26207
|
exports.ProgressStepper = ProgressStepper;
|
|
25909
26208
|
exports.ProgressStepperItem = ProgressStepperItem;
|
|
26209
|
+
exports.ProgressStepperOverflow = ProgressStepperOverflow;
|
|
25910
26210
|
exports.RadioCardGroup = RadioCardGroup;
|
|
25911
26211
|
exports.RadioCardGroupInput = RadioCardGroupInput;
|
|
25912
26212
|
exports.RadioGroup = RadioGroup;
|