@arc-ui/components 12.0.0-beta.19 → 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.
Files changed (233) hide show
  1. package/lib/Alert/Alert.cjs +1 -1
  2. package/lib/Alert/Alert.mjs +1 -1
  3. package/lib/Alert/styles.css +1 -1
  4. package/lib/Align/styles.css +1 -1
  5. package/lib/AppButton/styles.css +1 -1
  6. package/lib/Avatar/Avatar.cjs +2 -1
  7. package/lib/Avatar/Avatar.mjs +2 -1
  8. package/lib/Avatar/styles.css +1 -1
  9. package/lib/AvatarGroup/AvatarGroup.cjs +2 -1
  10. package/lib/AvatarGroup/AvatarGroup.mjs +2 -1
  11. package/lib/AvatarGroup/styles.css +1 -1
  12. package/lib/Badge/styles.css +1 -1
  13. package/lib/Banner/Banner.cjs +2 -3
  14. package/lib/Banner/Banner.mjs +2 -3
  15. package/lib/Box/styles.css +1 -1
  16. package/lib/BrandLogo/styles.css +1 -1
  17. package/lib/Breadcrumbs/Breadcrumbs.cjs +2 -1
  18. package/lib/Breadcrumbs/Breadcrumbs.mjs +2 -1
  19. package/lib/Breadcrumbs/styles.css +1 -1
  20. package/lib/Button/Button.cjs +2 -2
  21. package/lib/Button/Button.mjs +2 -2
  22. package/lib/Button/styles.css +1 -1
  23. package/lib/ButtonGroup/ButtonGroup.cjs +3 -3
  24. package/lib/ButtonGroup/ButtonGroup.mjs +3 -3
  25. package/lib/ButtonGroup/styles.css +1 -1
  26. package/lib/ButtonV2/ButtonV2.cjs +2 -2
  27. package/lib/ButtonV2/ButtonV2.mjs +2 -2
  28. package/lib/ButtonV2/styles.css +1 -1
  29. package/lib/Calendar/Calendar.cjs +3 -3
  30. package/lib/Calendar/Calendar.mjs +3 -3
  31. package/lib/Calendar/styles.css +1 -1
  32. package/lib/CardFooter/CardFooter.cjs +2 -2
  33. package/lib/CardFooter/CardFooter.mjs +2 -2
  34. package/lib/CardFooter/styles.css +1 -1
  35. package/lib/CardHeading/styles.css +1 -1
  36. package/lib/Carousel/Carousel.cjs +1 -1
  37. package/lib/Carousel/Carousel.mjs +1 -1
  38. package/lib/Carousel/styles.css +1 -1
  39. package/lib/Checkbox/styles.css +1 -1
  40. package/lib/Columns/styles.css +1 -1
  41. package/lib/ComboBox/ComboBox.cjs +2 -2
  42. package/lib/ComboBox/ComboBox.mjs +2 -2
  43. package/lib/ComboBox/styles.css +1 -1
  44. package/lib/ContentSwitcher/ContentSwitcher.cjs +1 -1
  45. package/lib/ContentSwitcher/ContentSwitcher.mjs +1 -1
  46. package/lib/ContentSwitcher/styles.css +1 -1
  47. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +1 -1
  48. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +1 -1
  49. package/lib/ContentSwitcherDropdown/styles.css +1 -1
  50. package/lib/DatePicker/DatePicker.cjs +196 -17
  51. package/lib/DatePicker/DatePicker.mjs +200 -17
  52. package/lib/DatePicker/styles.css +1 -1
  53. package/lib/Disclosure/styles.css +1 -1
  54. package/lib/DisclosureMini/styles.css +1 -1
  55. package/lib/Download/styles.css +1 -1
  56. package/lib/Drawer/Drawer.cjs +46 -323
  57. package/lib/Drawer/Drawer.mjs +44 -306
  58. package/lib/Drawer/styles.css +1 -1
  59. package/lib/Elevation/styles.css +1 -1
  60. package/lib/Filter/styles.css +1 -1
  61. package/lib/FormControl/styles.css +1 -1
  62. package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +1 -1
  63. package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +1 -1
  64. package/lib/GhostedHeroBanner/styles.css +1 -1
  65. package/lib/GradientPageBackground/GradientPageBackground.cjs +257 -0
  66. package/lib/GradientPageBackground/GradientPageBackground.mjs +237 -0
  67. package/lib/GradientPageBackground/styles.css +1 -0
  68. package/lib/Grid/styles.css +1 -1
  69. package/lib/Group/styles.css +1 -1
  70. package/lib/Heading/styles.css +1 -1
  71. package/lib/HeroBanner/HeroBanner.cjs +2 -3
  72. package/lib/HeroBanner/HeroBanner.mjs +2 -3
  73. package/lib/HeroBanner/styles.css +1 -1
  74. package/lib/HeroButton/HeroButton.cjs +2 -2
  75. package/lib/HeroButton/HeroButton.mjs +2 -2
  76. package/lib/HeroButton/styles.css +1 -1
  77. package/lib/Hidden/styles.css +1 -1
  78. package/lib/HorizontalCard/HorizontalCard.cjs +3 -2
  79. package/lib/HorizontalCard/HorizontalCard.mjs +3 -2
  80. package/lib/HorizontalCard/styles.css +1 -1
  81. package/lib/Icon/Icon.cjs +1 -1
  82. package/lib/Icon/Icon.mjs +1 -1
  83. package/lib/Icon/styles.css +1 -1
  84. package/lib/Image/styles.css +1 -1
  85. package/lib/ImpactCard/ImpactCard.cjs +7 -4
  86. package/lib/ImpactCard/ImpactCard.mjs +7 -4
  87. package/lib/ImpactCard/styles.css +1 -1
  88. package/lib/InformationCard/InformationCard.cjs +7 -5
  89. package/lib/InformationCard/InformationCard.mjs +7 -5
  90. package/lib/InformationCard/styles.css +1 -1
  91. package/lib/Link/Link.cjs +1 -1
  92. package/lib/Link/Link.mjs +1 -1
  93. package/lib/Link/styles.css +1 -1
  94. package/lib/Markup/styles.css +1 -1
  95. package/lib/MediaCard/MediaCard.cjs +3 -5
  96. package/lib/MediaCard/MediaCard.mjs +3 -5
  97. package/lib/MediaCard/styles.css +1 -1
  98. package/lib/Menu/Menu.cjs +33 -32
  99. package/lib/Menu/Menu.mjs +17 -16
  100. package/lib/Menu/styles.css +1 -1
  101. package/lib/Modal/Modal.cjs +2 -2
  102. package/lib/Modal/Modal.mjs +2 -2
  103. package/lib/Modal/styles.css +1 -1
  104. package/lib/Pagination/styles.css +1 -1
  105. package/lib/PaginationSimple/PaginationSimple.cjs +1 -1
  106. package/lib/PaginationSimple/PaginationSimple.mjs +1 -1
  107. package/lib/PaginationSimple/styles.css +1 -1
  108. package/lib/Popover/styles.css +1 -1
  109. package/lib/Poster/styles.css +1 -1
  110. package/lib/ProgressBar/styles.css +1 -1
  111. package/lib/ProgressStepper/ProgressStepper.cjs +10 -72
  112. package/lib/ProgressStepper/ProgressStepper.mjs +8 -74
  113. package/lib/ProgressStepper/styles.css +1 -1
  114. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +20 -0
  115. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +14 -0
  116. package/lib/ProgressStepperOverflow/styles.css +1 -0
  117. package/lib/RadioCardGroup/RadioCardGroup.cjs +2 -2
  118. package/lib/RadioCardGroup/RadioCardGroup.mjs +3 -3
  119. package/lib/RadioCardGroup/styles.css +1 -1
  120. package/lib/RadioGroup/styles.css +1 -1
  121. package/lib/Rule/styles.css +1 -1
  122. package/lib/ScrollToTop/ScrollToTop.cjs +5 -2
  123. package/lib/ScrollToTop/ScrollToTop.mjs +5 -2
  124. package/lib/ScrollToTop/styles.css +1 -1
  125. package/lib/Section/styles.css +1 -1
  126. package/lib/Select/styles.css +1 -1
  127. package/lib/SiteFooter/SiteFooter.cjs +10 -7
  128. package/lib/SiteFooter/SiteFooter.mjs +10 -7
  129. package/lib/SiteFooter/styles.css +1 -1
  130. package/lib/SiteFooterV2/SiteFooterV2.cjs +19 -22
  131. package/lib/SiteFooterV2/SiteFooterV2.mjs +19 -22
  132. package/lib/SiteFooterV2/styles.css +1 -1
  133. package/lib/SiteHeaderV2/SiteHeaderV2.cjs +4 -4
  134. package/lib/SiteHeaderV2/SiteHeaderV2.mjs +5 -5
  135. package/lib/SiteHeaderV2/styles.css +1 -1
  136. package/lib/Skeleton/styles.css +1 -1
  137. package/lib/SkipLink/styles.css +1 -1
  138. package/lib/Spinner/styles.css +1 -1
  139. package/lib/Surface/styles.css +1 -1
  140. package/lib/Switch/styles.css +1 -1
  141. package/lib/TabbedBanner/TabbedBanner.cjs +9 -6
  142. package/lib/TabbedBanner/TabbedBanner.mjs +9 -6
  143. package/lib/TabbedBanner/styles.css +1 -1
  144. package/lib/Tabs/Tabs.cjs +1 -1
  145. package/lib/Tabs/Tabs.mjs +1 -1
  146. package/lib/Tabs/styles.css +1 -1
  147. package/lib/Tag/Tag.cjs +1 -1
  148. package/lib/Tag/Tag.mjs +1 -1
  149. package/lib/Tag/styles.css +1 -1
  150. package/lib/TemplateBanner/TemplateBanner.cjs +2 -3
  151. package/lib/TemplateBanner/TemplateBanner.mjs +2 -3
  152. package/lib/TemplateBanner/styles.css +1 -1
  153. package/lib/Text/styles.css +1 -1
  154. package/lib/TextArea/TextArea.cjs +16 -14
  155. package/lib/TextArea/TextArea.mjs +16 -14
  156. package/lib/TextArea/styles.css +1 -1
  157. package/lib/TextInput/styles.css +1 -1
  158. package/lib/Theme/Theme.cjs +1 -1
  159. package/lib/Theme/Theme.mjs +1 -1
  160. package/lib/Theme/styles.css +1 -1
  161. package/lib/ThemeIcon/styles.css +1 -1
  162. package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +5 -8
  163. package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +5 -8
  164. package/lib/ThumbnailSignpost/styles.css +1 -1
  165. package/lib/Toast/styles.css +1 -1
  166. package/lib/Tooltip/Tooltip.cjs +1 -1
  167. package/lib/Tooltip/Tooltip.mjs +1 -1
  168. package/lib/Tooltip/styles.css +1 -1
  169. package/lib/Truncate/styles.css +1 -1
  170. package/lib/TypographyCard/TypographyCard.cjs +7 -4
  171. package/lib/TypographyCard/TypographyCard.mjs +7 -4
  172. package/lib/TypographyCard/styles.css +1 -1
  173. package/lib/UniversalHeader/styles.css +1 -1
  174. package/lib/VerticalSpace/styles.css +1 -1
  175. package/lib/VideoPlayer/VideoPlayer.cjs +1 -1
  176. package/lib/VideoPlayer/VideoPlayer.mjs +1 -1
  177. package/lib/VideoPlayer/styles.css +1 -1
  178. package/lib/Visible/Visible.cjs +6 -14
  179. package/lib/Visible/Visible.mjs +4 -16
  180. package/lib/Visible/styles.css +1 -1
  181. package/lib/VisuallyHidden/styles.css +1 -1
  182. package/lib/_shared/cjs/{Avatar-CxbjOB_b.cjs → Avatar-CrUioj_6.cjs} +4 -1
  183. package/lib/_shared/cjs/{Button-CKTa6bQL.cjs → Button-uD9mR8w-.cjs} +1 -1
  184. package/lib/_shared/cjs/{ButtonV2-CRNNZ_nd.cjs → ButtonV2-Bta5SVVY.cjs} +2 -2
  185. package/lib/_shared/cjs/{Calendar-BwjsVOaO.cjs → Calendar-D4ZSaHHU.cjs} +2 -2
  186. package/lib/_shared/cjs/{CardFooter-DwE-u0Om.cjs → CardFooter-ChphRFHe.cjs} +1 -1
  187. package/lib/_shared/cjs/{ComboBox-CY_JTHWB.cjs → ComboBox-BGUhlqx1.cjs} +1 -1
  188. package/lib/_shared/cjs/{ContentSwitcherDropdown-CAWaAMZN.cjs → ContentSwitcherDropdown-U5ZTbJTe.cjs} +1 -1
  189. package/lib/_shared/cjs/{ContentSwitcherList-I7jCZn8C.cjs → ContentSwitcherList-nlxMHXs-.cjs} +3 -2
  190. package/lib/_shared/cjs/{DatePicker-PiPFgOL6.cjs → DatePicker-DS6fAvxD.cjs} +45 -27
  191. package/lib/_shared/cjs/{HeroButton-CiIygZ16.cjs → HeroButton-CrzkTUwP.cjs} +1 -1
  192. package/lib/_shared/cjs/{Icon-KMACQ1i3.cjs → Icon-CzhyKqMd.cjs} +1 -1
  193. package/lib/_shared/cjs/{MediaCard-4SvlAL3w.cjs → MediaCard-BEZFbiYO.cjs} +5 -9
  194. package/lib/_shared/cjs/{MenuSubContent-B7-PVHJ6.cjs → MenuItemMultiLevelContent-vLr6hSBm.cjs} +7 -7
  195. package/lib/_shared/cjs/ProgressStepper-BL9Y5c4X.cjs +77 -0
  196. package/lib/_shared/cjs/ProgressStepperOverflow-v-TyS5Sp.cjs +142 -0
  197. package/lib/_shared/cjs/{RadioCardGroupInput-BmntgyWB.cjs → RadioCardGroupInput-CeUM3yPS.cjs} +1 -1
  198. package/lib/_shared/cjs/{SiteHeaderV2NavItemWithSubNav-CX1WAHv8.cjs → SiteHeaderV2NavItemWithSubNav-fQPk0gZU.cjs} +3 -3
  199. package/lib/_shared/cjs/{TemplateBanner-Dn_6CJqe.cjs → TemplateBanner-CGtTUy81.cjs} +13 -6
  200. package/lib/_shared/cjs/Visible-Dx__9oZG.cjs +18 -0
  201. package/lib/_shared/cjs/{index.es-i8i9xWYf.cjs → index.es-DBEGtWPg.cjs} +1 -1
  202. package/lib/_shared/esm/{Avatar-B8aoUhmE.mjs → Avatar-Fb1E5MA9.mjs} +4 -1
  203. package/lib/_shared/esm/{Button-9L4AksQP.mjs → Button-BxuM3_gz.mjs} +1 -1
  204. package/lib/_shared/esm/{ButtonV2-2U4PvnpS.mjs → ButtonV2-DwYBAojW.mjs} +2 -2
  205. package/lib/_shared/esm/{Calendar-Di_PdK9o.mjs → Calendar-CjqPM7ta.mjs} +2 -2
  206. package/lib/_shared/esm/{CardFooter-CgDDDI7Z.mjs → CardFooter-fsAY4cc6.mjs} +1 -1
  207. package/lib/_shared/esm/{ComboBox-Cga1icqB.mjs → ComboBox-CRlJjeev.mjs} +1 -1
  208. package/lib/_shared/esm/{ContentSwitcherDropdown-dktkyAjY.mjs → ContentSwitcherDropdown-BCkuAfwC.mjs} +1 -1
  209. package/lib/_shared/esm/{ContentSwitcherList-OnZoE86O.mjs → ContentSwitcherList-DKPD9GfN.mjs} +3 -2
  210. package/lib/_shared/esm/{DatePicker-DyPo-u9K.mjs → DatePicker-3sYJ3wGn.mjs} +43 -28
  211. package/lib/_shared/esm/{HeroButton-HYskwyvn.mjs → HeroButton-jdjjV_Gf.mjs} +1 -1
  212. package/lib/_shared/esm/{Icon-MZfaoOo9.mjs → Icon-CcPOJcQm.mjs} +1 -1
  213. package/lib/_shared/esm/{MediaCard-tYOu7gv8.mjs → MediaCard-DqMaNWsE.mjs} +5 -9
  214. package/lib/_shared/esm/{MenuSubContent-DCfTtJpf.mjs → MenuItemMultiLevelContent-JTOHqpzg.mjs} +7 -7
  215. package/lib/_shared/esm/ProgressStepper-CLBtBNy2.mjs +74 -0
  216. package/lib/_shared/esm/ProgressStepperOverflow-B9ba8ljs.mjs +140 -0
  217. package/lib/_shared/esm/{RadioCardGroupInput-Cy1r7M8l.mjs → RadioCardGroupInput-D7W28geB.mjs} +1 -1
  218. package/lib/_shared/esm/{SiteHeaderV2NavItemWithSubNav-B9hz5IKd.mjs → SiteHeaderV2NavItemWithSubNav-BMoBdUxK.mjs} +3 -3
  219. package/lib/_shared/esm/{TemplateBanner-CS95cxio.mjs → TemplateBanner-Up6cR-3_.mjs} +14 -7
  220. package/lib/_shared/esm/Visible-C-jVXUWp.mjs +16 -0
  221. package/lib/_shared/esm/{index.es-DZ9WSYOo.mjs → index.es-DCvYtQfu.mjs} +2 -2
  222. package/lib/index.cjs +1117 -806
  223. package/lib/index.cjs.map +1 -1
  224. package/lib/index.d.cts +177 -50
  225. package/lib/index.d.mts +177 -50
  226. package/lib/index.js.map +1 -1
  227. package/lib/index.mjs +1107 -801
  228. package/lib/index.mjs.map +1 -1
  229. package/lib/styles.css +8 -22
  230. package/package.json +8 -8
  231. package/lib/GradientBackground/GradientBackground.cjs +0 -19
  232. package/lib/GradientBackground/GradientBackground.mjs +0 -17
  233. package/lib/GradientBackground/styles.css +0 -1
package/lib/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import * as React from 'react';
3
- import React__default, { createContext, useContext, useState, useId as useId$1, useMemo, useEffect, useRef, forwardRef, isValidElement, cloneElement, useCallback, useReducer, useLayoutEffect, createElement, Children, Fragment as Fragment$1, Suspense } from 'react';
3
+ import React__default, { createContext, useContext, useState, useId as useId$1, useRef, useEffect, forwardRef, isValidElement, cloneElement, useMemo, useCallback, useReducer, useLayoutEffect, createElement, Children, Fragment as Fragment$1, Suspense, useImperativeHandle } from 'react';
4
4
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
5
5
  import * as ReactDOM from 'react-dom';
6
6
  import ReactDOM__default, { flushSync, createPortal } from 'react-dom';
@@ -403,10 +403,10 @@ var Icon$1 = function (_a) {
403
403
  var colors$1 = [
404
404
  "auto",
405
405
  "brand",
406
+ "brand-alt",
406
407
  "statusRed",
407
408
  "statusAmber",
408
409
  "statusGreen",
409
- "gradient",
410
410
  ];
411
411
 
412
412
  var ThemeIcon = function (_a) {
@@ -622,7 +622,9 @@ var Avatar = function (_a) {
622
622
  var wrapperAttrs = __assign({ className: classNames("arc-Avatar", "arc-Avatar--".concat(size), {
623
623
  "arc-Avatar--img": Boolean(img),
624
624
  }) }, filterAttrs(props));
625
- return (React__default.createElement(ConditionalWrapper, { condition: Boolean(href), wrapper: function (children) { return (React__default.createElement("a", __assign({ href: href, "aria-label": ariaLabel, onClick: onClick, title: title }, wrapperAttrs), children)); }, fallback: function (children) { return React__default.createElement("div", __assign({}, wrapperAttrs), children); } },
625
+ return (React__default.createElement(ConditionalWrapper, { condition: Boolean(href), wrapper: function (children) { return (React__default.createElement("a", __assign({ href: href, "aria-label": ariaLabel, onClick: onClick, title: title }, wrapperAttrs), children)); }, fallback: function (children) { return (React__default.createElement(React__default.Fragment, null,
626
+ React__default.createElement("div", __assign({}, wrapperAttrs), children),
627
+ ariaLabel && React__default.createElement(VisuallyHidden$2, null, ariaLabel))); } },
626
628
  React__default.createElement(AvatarContent, { size: size, img: img, initials: initials })));
627
629
  };
628
630
 
@@ -650,152 +652,6 @@ var Badge = function (_a) {
650
652
  return (React__default.createElement("div", __assign({ className: classNames("arc-Badge", suffixModifier("arc-Badge--state", state)) }, (ariaLabel && { "aria-label": ariaLabel }), (ariaRole && { role: ariaRole }), filterAttrs(props)), children));
651
653
  };
652
654
 
653
- /**
654
- * Do not edit directly
655
- * Generated on Tue, 10 Jun 2025 09:53:42 GMT
656
- */
657
- var ArcSizeBreakpointsXs = "320px";
658
- var ArcSizeBreakpointsS = "636px";
659
- var ArcSizeBreakpointsM = "768px";
660
- var ArcSizeBreakpointsL = "1024px";
661
- var ArcSizeBreakpointsXl = "1280px";
662
- var ArcSizeBreakpointsXxl = "1440px";
663
-
664
- /**
665
- * Optionally define ariaDescribedBy if errorMessage or helper exist.
666
- */
667
- var useAriaDescribedby = function (_a) {
668
- 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;
669
- if (!id) {
670
- return {
671
- ariaDescribedby: undefined,
672
- idHelper: undefined,
673
- idError: undefined,
674
- idDisclosure: undefined,
675
- };
676
- }
677
- var ariaDescribedbyArr = [];
678
- if (errorMessage) {
679
- ariaDescribedbyArr.push(idError);
680
- }
681
- if (helper) {
682
- ariaDescribedbyArr.push(idHelper);
683
- }
684
- if (disclosureText) {
685
- ariaDescribedbyArr.push(idDisclosure);
686
- }
687
- var ariaDescribedby = ariaDescribedbyArr.length > 0 ? ariaDescribedbyArr.join(" ") : undefined;
688
- return { ariaDescribedby: ariaDescribedby, idError: idError, idHelper: idHelper, idDisclosure: idDisclosure };
689
- };
690
-
691
- /**
692
- * Infer the correct inputMode, pattern and type if specifying a `number` type.
693
- */
694
- var useNumericInput = function (props) {
695
- var type = props.type === "number" ? "text" : props.type;
696
- var inputMode = props.inputMode;
697
- if (!props.inputMode) {
698
- if (props.type === "email") {
699
- inputMode = "email";
700
- }
701
- else if (props.type === "number") {
702
- inputMode = "numeric";
703
- }
704
- else if (props.type === "tel") {
705
- inputMode = "tel";
706
- }
707
- else if (props.type === "url") {
708
- inputMode = "url";
709
- }
710
- }
711
- var pattern = props.pattern;
712
- if (!props.pattern && props.type === "number") {
713
- pattern = "[0-9]*";
714
- }
715
- return { inputMode: inputMode, pattern: pattern, type: type };
716
- };
717
-
718
- var usePagination = function (pageCount, selectedPage) {
719
- var formatValues = function (range) {
720
- return range.map(function (value) { return value.toString(); });
721
- };
722
- return useMemo(function () {
723
- if (pageCount > 7 && selectedPage < 5) {
724
- // show 1 - 5 the right dots are visible.
725
- return formatValues(__spreadArray(__spreadArray([], Array.from({ length: 5 }, function (_value, index) { return index + 1; }), true), [
726
- "...",
727
- pageCount,
728
- ], false));
729
- }
730
- if (pageCount > 7 && selectedPage >= pageCount - 3) {
731
- // show numbers to the end but the left dots are visible
732
- return formatValues(__spreadArray([
733
- 1,
734
- "..."
735
- ], Array.from({ length: 5 }, function (_value, index) { return pageCount - index; }).reverse(), true));
736
- }
737
- if (pageCount > 7 && selectedPage >= 5 && selectedPage < pageCount - 3) {
738
- // show selected page with one number either side and both the left and the right dots are visible.
739
- return formatValues([
740
- 1,
741
- "...",
742
- selectedPage - 1,
743
- selectedPage,
744
- selectedPage + 1,
745
- "...",
746
- pageCount,
747
- ]);
748
- }
749
- // show all pages from pageCount
750
- return formatValues(Array.from({ length: pageCount }, function (_value, index) { return index + 1; }));
751
- }, [pageCount, selectedPage]);
752
- };
753
-
754
- var useThemeElement = function () {
755
- var _a = useState(undefined), themeElement = _a[0], setElement = _a[1];
756
- var setThemeElement = function (el) {
757
- el &&
758
- setElement(el.closest(".arc-ds-sys-theme") || undefined);
759
- };
760
- return [themeElement, setThemeElement];
761
- };
762
-
763
- /**
764
- * @typedef MediaQueryOutputs
765
- * @param {boolean} matches - does the document match the media query?
766
- */
767
- /**
768
- * Handle with care!
769
- *
770
- * If you need to change something in the browser based on @media query, you
771
- * probably don’t need this hook. Use CSS media queries instead.
772
- *
773
- * Sometimes UI requirements are not achievable with CSS media queries alone. In
774
- * these rare cases, use this hook to make media query matches available
775
- * to React JavaScript code.
776
- *
777
- * @param {string} mediaQuery - the media query to parse
778
- * @returns {MediaQueryOutputs}
779
- */
780
- var useMediaQuery = function (mediaQuery) {
781
- var mediaQueryList = typeof window !== "undefined" ? window.matchMedia(mediaQuery) : undefined;
782
- var _a = useState(false), matches = _a[0], setMatches = _a[1];
783
- useEffect(function () {
784
- setMatches(typeof window !== "undefined"
785
- ? window.matchMedia(mediaQuery).matches
786
- : false);
787
- }, [mediaQuery]);
788
- useEffect(function () {
789
- var onMatchMedia = function (event) { return setMatches(event.matches); };
790
- // Using deprecated addListener methods here for IE & Safari 13 support
791
- if (mediaQueryList) {
792
- mediaQueryList.addListener(onMatchMedia);
793
- }
794
- return function () { return mediaQueryList && mediaQueryList.removeListener(onMatchMedia); };
795
- }, [mediaQueryList]);
796
- return matches;
797
- };
798
-
799
655
  /**
800
656
  * Use `VerticalSpace` to create vertical space between components.
801
657
  */
@@ -871,9 +727,28 @@ var BannerImage = function (_a) {
871
727
  sources.map(function (source) { return React__default.createElement("source", __assign({ key: source.srcSet }, source)); })));
872
728
  };
873
729
 
730
+ var Visible = function (_a) {
731
+ 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"]);
732
+ return (React__default.createElement("div", __assign({ className: classNames("arc-Visible", {
733
+ "arc-Visible--xs": xs,
734
+ "arc-Visible--s": s,
735
+ "arc-Visible--m": m,
736
+ "arc-Visible--l": l,
737
+ "arc-Visible--xl": xl,
738
+ }) }, filterAttrs(props)), children));
739
+ };
740
+
741
+ var BannerRow = function (_a) {
742
+ var isReversed = _a.isReversed, children = _a.children;
743
+ return (React__default.createElement(React__default.Fragment, null,
744
+ React__default.createElement(Visible, { xs: true, s: true },
745
+ React__default.createElement(GridRow, { "data-testid": "arc-TemplateBanner-gridRow-mobile" }, children)),
746
+ React__default.createElement(Visible, { m: true, l: true, xl: true },
747
+ React__default.createElement(GridRow, { "data-testid": "arc-TemplateBanner-gridRow-desktop", direction: isReversed ? "row-reverse" : "row" }, children))));
748
+ };
749
+
874
750
  var TemplateBanner = function (_a) {
875
751
  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"]);
876
- var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
877
752
  var backgrounds = {
878
753
  dark: "dark-brand-02",
879
754
  light: "light-white",
@@ -886,7 +761,6 @@ var TemplateBanner = function (_a) {
886
761
  };
887
762
  var isContained = type === "contained";
888
763
  var borderWidth = isContained && !isElevated ? "thin" : undefined;
889
- var direction = isReversed && isMinWidthArcBreakpointM ? "row-reverse" : "row";
890
764
  var columnWithImgWidths = {
891
765
  "1/0": 12,
892
766
  "2/3": 8,
@@ -897,7 +771,7 @@ var TemplateBanner = function (_a) {
897
771
  }) }, filterAttrs(props)),
898
772
  React__default.createElement(Box, { isBorderRadius: true, "data-testid": "arc-TemplateBanner-box", borderWidth: borderWidth, surface: backgrounds[type], isSurfaceTransparent: !isContained },
899
773
  React__default.createElement(Grid, { isGutterless: true, isFluid: true },
900
- React__default.createElement(GridRow, { "data-testid": "arc-TemplateBanner-gridRow", direction: direction },
774
+ React__default.createElement(BannerRow, { "data-testid": "arc-TemplateBanner-gridRow", isReversed: isReversed },
901
775
  React__default.createElement(GridCol, { "data-testid": "arc-TemplateBanner-contentCol", align: {
902
776
  m: alignment === "start" ? "start" : "center",
903
777
  xs: !img || contentRatio === "1/0" ? "center" : "start",
@@ -906,7 +780,7 @@ var TemplateBanner = function (_a) {
906
780
  "arc-TemplateBanner-content--additionalTopMargin": additionalTopMargin && alignment === "start",
907
781
  }) },
908
782
  label && (React__default.createElement(React__default.Fragment, null,
909
- React__default.createElement(Heading, { size: "xxs" }, label.toUpperCase()),
783
+ React__default.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
910
784
  React__default.createElement(VerticalSpace, { size: "8" }))),
911
785
  React__default.createElement(Heading, { level: headingLevel, size: headingSize }, heading),
912
786
  text && (React__default.createElement(React__default.Fragment, null,
@@ -1657,6 +1531,7 @@ var Breadcrumbs = function (_a) {
1657
1531
  window.addEventListener("resize", handleResize);
1658
1532
  return function () {
1659
1533
  window.removeEventListener("resize", handleResize);
1534
+ handleResize.cancel();
1660
1535
  };
1661
1536
  }, []);
1662
1537
  var items = React__default.Children.toArray(children);
@@ -1779,7 +1654,7 @@ var ButtonV2 = forwardRef(function (_a, ref) {
1779
1654
  case "compact":
1780
1655
  case "secondary":
1781
1656
  case "tertiary":
1782
- return surface === "light" ? "gradient" : "auto";
1657
+ return "brand-alt";
1783
1658
  default:
1784
1659
  return "auto";
1785
1660
  }
@@ -2006,77 +1881,223 @@ function startOfMonth(dirtyDate) {
2006
1881
  return date;
2007
1882
  }
2008
1883
 
2009
- var containsDate = function (dates, compareDate) {
2010
- return dates.map(function (date) { return date.getTime(); }).includes(compareDate.getTime());
2011
- };
2012
-
2013
1884
  /**
2014
- * @name getMonth
2015
- * @category Month Helpers
2016
- * @summary Get the month of the given date.
2017
- *
2018
- * @description
2019
- * Get the month of the given date.
2020
- *
2021
- * @param {Date|Number} date - the given date
2022
- * @returns {Number} the month
2023
- * @throws {TypeError} 1 argument required
2024
- *
2025
- * @example
2026
- * // Which month is 29 February 2012?
2027
- * const result = getMonth(new Date(2012, 1, 29))
2028
- * //=> 1
1885
+ * Do not edit directly
1886
+ * Generated on Mon, 21 Jul 2025 12:02:37 GMT
2029
1887
  */
2030
- function getMonth(dirtyDate) {
2031
- requiredArgs(1, arguments);
2032
- var date = toDate(dirtyDate);
2033
- var month = date.getMonth();
2034
- return month;
2035
- }
1888
+ var ArcSizeBreakpointsXs = "320px";
1889
+ var ArcSizeBreakpointsS = "636px";
1890
+ var ArcSizeBreakpointsM = "768px";
1891
+ var ArcSizeBreakpointsL = "1024px";
1892
+ var ArcSizeBreakpointsXl = "1280px";
1893
+ var ArcSizeBreakpointsXxl = "1440px";
2036
1894
 
2037
1895
  /**
2038
- * @name getYear
2039
- * @category Year Helpers
2040
- * @summary Get the year of the given date.
2041
- *
2042
- * @description
2043
- * Get the year of the given date.
2044
- *
2045
- * @param {Date|Number} date - the given date
2046
- * @returns {Number} the year
2047
- * @throws {TypeError} 1 argument required
2048
- *
2049
- * @example
2050
- * // Which year is 2 July 2014?
2051
- * const result = getYear(new Date(2014, 6, 2))
2052
- * //=> 2014
1896
+ * Optionally define ariaDescribedBy if errorMessage or helper exist.
2053
1897
  */
2054
- function getYear(dirtyDate) {
2055
- requiredArgs(1, arguments);
2056
- return toDate(dirtyDate).getFullYear();
2057
- }
1898
+ var useAriaDescribedby = function (_a) {
1899
+ 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;
1900
+ if (!id) {
1901
+ return {
1902
+ ariaDescribedby: undefined,
1903
+ idHelper: undefined,
1904
+ idError: undefined,
1905
+ idDisclosure: undefined,
1906
+ };
1907
+ }
1908
+ var ariaDescribedbyArr = [];
1909
+ if (errorMessage) {
1910
+ ariaDescribedbyArr.push(idError);
1911
+ }
1912
+ if (helper) {
1913
+ ariaDescribedbyArr.push(idHelper);
1914
+ }
1915
+ if (disclosureText) {
1916
+ ariaDescribedbyArr.push(idDisclosure);
1917
+ }
1918
+ var ariaDescribedby = ariaDescribedbyArr.length > 0 ? ariaDescribedbyArr.join(" ") : undefined;
1919
+ return { ariaDescribedby: ariaDescribedby, idError: idError, idHelper: idHelper, idDisclosure: idDisclosure };
1920
+ };
2058
1921
 
2059
1922
  /**
2060
- * @name getDaysInMonth
2061
- * @category Month Helpers
2062
- * @summary Get the number of days in a month of the given date.
2063
- *
2064
- * @description
2065
- * Get the number of days in a month of the given date.
2066
- *
2067
- * @param {Date|Number} date - the given date
2068
- * @returns {Number} the number of days in a month
2069
- * @throws {TypeError} 1 argument required
2070
- *
2071
- * @example
2072
- * // How many days are in February 2000?
2073
- * const result = getDaysInMonth(new Date(2000, 1))
2074
- * //=> 29
1923
+ * Infer the correct inputMode, pattern and type if specifying a `number` type.
2075
1924
  */
2076
- function getDaysInMonth(dirtyDate) {
2077
- requiredArgs(1, arguments);
2078
- var date = toDate(dirtyDate);
2079
- var year = date.getFullYear();
1925
+ var useNumericInput = function (props) {
1926
+ var type = props.type === "number" ? "text" : props.type;
1927
+ var inputMode = props.inputMode;
1928
+ if (!props.inputMode) {
1929
+ if (props.type === "email") {
1930
+ inputMode = "email";
1931
+ }
1932
+ else if (props.type === "number") {
1933
+ inputMode = "numeric";
1934
+ }
1935
+ else if (props.type === "tel") {
1936
+ inputMode = "tel";
1937
+ }
1938
+ else if (props.type === "url") {
1939
+ inputMode = "url";
1940
+ }
1941
+ }
1942
+ var pattern = props.pattern;
1943
+ if (!props.pattern && props.type === "number") {
1944
+ pattern = "[0-9]*";
1945
+ }
1946
+ return { inputMode: inputMode, pattern: pattern, type: type };
1947
+ };
1948
+
1949
+ var usePagination = function (pageCount, selectedPage) {
1950
+ var formatValues = function (range) {
1951
+ return range.map(function (value) { return value.toString(); });
1952
+ };
1953
+ return useMemo(function () {
1954
+ if (pageCount > 7 && selectedPage < 5) {
1955
+ // show 1 - 5 the right dots are visible.
1956
+ return formatValues(__spreadArray(__spreadArray([], Array.from({ length: 5 }, function (_value, index) { return index + 1; }), true), [
1957
+ "...",
1958
+ pageCount,
1959
+ ], false));
1960
+ }
1961
+ if (pageCount > 7 && selectedPage >= pageCount - 3) {
1962
+ // show numbers to the end but the left dots are visible
1963
+ return formatValues(__spreadArray([
1964
+ 1,
1965
+ "..."
1966
+ ], Array.from({ length: 5 }, function (_value, index) { return pageCount - index; }).reverse(), true));
1967
+ }
1968
+ if (pageCount > 7 && selectedPage >= 5 && selectedPage < pageCount - 3) {
1969
+ // show selected page with one number either side and both the left and the right dots are visible.
1970
+ return formatValues([
1971
+ 1,
1972
+ "...",
1973
+ selectedPage - 1,
1974
+ selectedPage,
1975
+ selectedPage + 1,
1976
+ "...",
1977
+ pageCount,
1978
+ ]);
1979
+ }
1980
+ // show all pages from pageCount
1981
+ return formatValues(Array.from({ length: pageCount }, function (_value, index) { return index + 1; }));
1982
+ }, [pageCount, selectedPage]);
1983
+ };
1984
+
1985
+ var useThemeElement = function () {
1986
+ var _a = useState(undefined), themeElement = _a[0], setElement = _a[1];
1987
+ var setThemeElement = function (el) {
1988
+ el &&
1989
+ setElement(el.closest(".arc-ds-sys-theme") || undefined);
1990
+ };
1991
+ return [themeElement, setThemeElement];
1992
+ };
1993
+
1994
+ /**
1995
+ * @typedef MediaQueryOutputs
1996
+ * @param {boolean} matches - does the document match the media query?
1997
+ */
1998
+ /**
1999
+ * Handle with care!
2000
+ *
2001
+ * If you need to change something in the browser based on @media query, you
2002
+ * probably don’t need this hook. Use CSS media queries instead.
2003
+ *
2004
+ * Sometimes UI requirements are not achievable with CSS media queries alone. In
2005
+ * these rare cases, use this hook to make media query matches available
2006
+ * to React JavaScript code.
2007
+ *
2008
+ * @param {string} mediaQuery - the media query to parse
2009
+ * @returns {MediaQueryOutputs}
2010
+ */
2011
+ var useMediaQuery = function (mediaQuery) {
2012
+ var mediaQueryList = typeof window !== "undefined" ? window.matchMedia(mediaQuery) : undefined;
2013
+ var _a = useState(false), matches = _a[0], setMatches = _a[1];
2014
+ useEffect(function () {
2015
+ setMatches(typeof window !== "undefined"
2016
+ ? window.matchMedia(mediaQuery).matches
2017
+ : false);
2018
+ }, [mediaQuery]);
2019
+ useEffect(function () {
2020
+ var onMatchMedia = function (event) { return setMatches(event.matches); };
2021
+ // Using deprecated addListener methods here for IE & Safari 13 support
2022
+ if (mediaQueryList) {
2023
+ mediaQueryList.addListener(onMatchMedia);
2024
+ }
2025
+ return function () { return mediaQueryList && mediaQueryList.removeListener(onMatchMedia); };
2026
+ }, [mediaQueryList]);
2027
+ return matches;
2028
+ };
2029
+
2030
+ var containsDate = function (dates, compareDate) {
2031
+ return dates.map(function (date) { return date.getTime(); }).includes(compareDate.getTime());
2032
+ };
2033
+
2034
+ /**
2035
+ * @name getMonth
2036
+ * @category Month Helpers
2037
+ * @summary Get the month of the given date.
2038
+ *
2039
+ * @description
2040
+ * Get the month of the given date.
2041
+ *
2042
+ * @param {Date|Number} date - the given date
2043
+ * @returns {Number} the month
2044
+ * @throws {TypeError} 1 argument required
2045
+ *
2046
+ * @example
2047
+ * // Which month is 29 February 2012?
2048
+ * const result = getMonth(new Date(2012, 1, 29))
2049
+ * //=> 1
2050
+ */
2051
+ function getMonth(dirtyDate) {
2052
+ requiredArgs(1, arguments);
2053
+ var date = toDate(dirtyDate);
2054
+ var month = date.getMonth();
2055
+ return month;
2056
+ }
2057
+
2058
+ /**
2059
+ * @name getYear
2060
+ * @category Year Helpers
2061
+ * @summary Get the year of the given date.
2062
+ *
2063
+ * @description
2064
+ * Get the year of the given date.
2065
+ *
2066
+ * @param {Date|Number} date - the given date
2067
+ * @returns {Number} the year
2068
+ * @throws {TypeError} 1 argument required
2069
+ *
2070
+ * @example
2071
+ * // Which year is 2 July 2014?
2072
+ * const result = getYear(new Date(2014, 6, 2))
2073
+ * //=> 2014
2074
+ */
2075
+ function getYear(dirtyDate) {
2076
+ requiredArgs(1, arguments);
2077
+ return toDate(dirtyDate).getFullYear();
2078
+ }
2079
+
2080
+ /**
2081
+ * @name getDaysInMonth
2082
+ * @category Month Helpers
2083
+ * @summary Get the number of days in a month of the given date.
2084
+ *
2085
+ * @description
2086
+ * Get the number of days in a month of the given date.
2087
+ *
2088
+ * @param {Date|Number} date - the given date
2089
+ * @returns {Number} the number of days in a month
2090
+ * @throws {TypeError} 1 argument required
2091
+ *
2092
+ * @example
2093
+ * // How many days are in February 2000?
2094
+ * const result = getDaysInMonth(new Date(2000, 1))
2095
+ * //=> 29
2096
+ */
2097
+ function getDaysInMonth(dirtyDate) {
2098
+ requiredArgs(1, arguments);
2099
+ var date = toDate(dirtyDate);
2100
+ var year = date.getFullYear();
2080
2101
  var monthIndex = date.getMonth();
2081
2102
  var lastDayOfMonth = new Date(0);
2082
2103
  lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);
@@ -7643,18 +7664,18 @@ function useEmblaCarousel(options = {}, plugins = []) {
7643
7664
  useEmblaCarousel.globalOptions = undefined;
7644
7665
 
7645
7666
  var XS_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXs, ")");
7646
- var S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
7647
- var M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
7648
- var L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
7649
- var XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
7667
+ var S_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
7668
+ var M_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
7669
+ var L_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
7670
+ var XL_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
7650
7671
 
7651
7672
  var getOptions = function (itemsToScroll, loop, responsive) {
7652
7673
  var breakpoints = [
7653
7674
  [XS_BREAKPOINT, "xs"],
7654
- [S_BREAKPOINT, "s"],
7655
- [M_BREAKPOINT, "m"],
7656
- [L_BREAKPOINT, "l"],
7657
- [XL_BREAKPOINT, "xl"],
7675
+ [S_BREAKPOINT$1, "s"],
7676
+ [M_BREAKPOINT$1, "m"],
7677
+ [L_BREAKPOINT$1, "l"],
7678
+ [XL_BREAKPOINT$1, "xl"],
7658
7679
  ];
7659
7680
  var breakpointOptions = breakpoints.reduce(function (acc, _a) {
7660
7681
  var _b;
@@ -7725,10 +7746,10 @@ var Carousel = function (_a) {
7725
7746
  var _k = useState(true), prevButtonEnabled = _k[0], setPrevButtonEnabled = _k[1];
7726
7747
  var _l = useState(true), nextButtonEnabled = _l[0], setNextButtonEnabled = _l[1];
7727
7748
  var isMinWidthArcBreakpointXs = useMediaQuery(XS_BREAKPOINT);
7728
- var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT);
7729
- var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT);
7730
- var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT);
7731
- var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT);
7749
+ var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT$1);
7750
+ var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT$1);
7751
+ var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT$1);
7752
+ var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT$1);
7732
7753
  var slideWidth = getSlideWidth({
7733
7754
  screenSizes: {
7734
7755
  xl: isMinWidthArcBreakpointXl,
@@ -13708,7 +13729,7 @@ var ContentSwitcherTab = forwardRef(function (_a, ref) {
13708
13729
 
13709
13730
  var ContentSwitcherContent = function (_a) {
13710
13731
  var children = _a.children, value = _a.value;
13711
- return (React__default.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: "arc-ContentSwitcherContent", value: value },
13732
+ return (React__default.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: "arc-ContentSwitcherContent", value: value, tabIndex: -1 },
13712
13733
  React__default.createElement("div", { className: "arc-ContentSwitcherContent-wrapper" }, children)));
13713
13734
  };
13714
13735
 
@@ -13759,11 +13780,12 @@ var ContentSwitcherList = function (_a) {
13759
13780
  list.removeEventListener("scroll", checkOverflow);
13760
13781
  }
13761
13782
  window.removeEventListener("resize", updateLayout);
13783
+ handleResize.cancel();
13762
13784
  };
13763
13785
  }, [children, checkOverflow, handleResize]);
13764
13786
  return (React__default.createElement("span", { className: classNames("arc-ContentSwitcherList-wrapper", {
13765
13787
  "arc-ContentSwitcherList-wrapper--isInset": isInset,
13766
- }) },
13788
+ }), tabIndex: -1 },
13767
13789
  React__default.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5, __assign({ className: classNames("arc-ContentSwitcherList", {
13768
13790
  "arc-ContentSwitcherList--contained": type === "contained",
13769
13791
  "arc-ContentSwitcherList--isJustified": isJustified,
@@ -15068,7 +15090,7 @@ var ContentSwitcherDropdown = function (_a) {
15068
15090
  return null;
15069
15091
  }
15070
15092
  var isActive = child.props.value === selectValue;
15071
- return (React__default.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: 0, hidden: !isActive }, filterAttrs(child.props)), child));
15093
+ return (React__default.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));
15072
15094
  })));
15073
15095
  };
15074
15096
  var ContentSwitcherDropdownContent = function (_a) {
@@ -15274,6 +15296,50 @@ var convertRangeStringToDates = function (value) {
15274
15296
  : []), true);
15275
15297
  };
15276
15298
 
15299
+ var convertRangeStringToDateTuple = function (value) {
15300
+ if (value === void 0) { value = ""; }
15301
+ var _a = parseRangeString(value), start = _a.start, end = _a.end;
15302
+ var startDate = isDateValid(start.date)
15303
+ ? new Date("".concat(start.year, "-").concat(start.month, "-").concat(start.day))
15304
+ : undefined;
15305
+ var endDate = isDateValid(end.date)
15306
+ ? new Date("".concat(end.year, "-").concat(end.month, "-").concat(end.day))
15307
+ : undefined;
15308
+ return [startDate, endDate];
15309
+ };
15310
+
15311
+ function validateRangeOnBlur(_a) {
15312
+ var value = _a.value, minDate = _a.minDate, maxDate = _a.maxDate, disabledDates = _a.disabledDates, previousValidValue = _a.previousValidValue, dispatchChangeEvent = _a.dispatchChangeEvent, blurEvent = _a.blurEvent;
15313
+ if (!isRangeValid(value))
15314
+ return;
15315
+ var _b = convertRangeStringToDates(value), start = _b[0], end = _b[1];
15316
+ var isStartBeforeMin = minDate && isBefore(start, minDate);
15317
+ var isEndAfterMax = maxDate && isAfter(end, maxDate);
15318
+ var isStartDisabled = isDisabledDate(disabledDates, start);
15319
+ var isEndDisabled = isDisabledDate(disabledDates, end);
15320
+ if (isStartBeforeMin && isEndAfterMax) {
15321
+ return dispatchChangeEvent(blurEvent, "".concat(formatDate(minDate), " - ").concat(formatDate(maxDate)));
15322
+ }
15323
+ if (isStartBeforeMin) {
15324
+ return dispatchChangeEvent(blurEvent, "".concat(formatDate(minDate), " - ").concat(formatDate(end)));
15325
+ }
15326
+ if (isEndAfterMax) {
15327
+ return dispatchChangeEvent(blurEvent, "".concat(formatDate(start), " - ").concat(formatDate(maxDate)));
15328
+ }
15329
+ if (isStartDisabled || isEndDisabled) {
15330
+ var _c = previousValidValue
15331
+ ? convertRangeStringToDates(previousValidValue)
15332
+ : [], prevStart = _c[0], prevEnd = _c[1];
15333
+ return dispatchChangeEvent(blurEvent, prevStart && prevEnd
15334
+ ? "".concat(formatDate(prevStart), " - ").concat(formatDate(prevEnd))
15335
+ : "");
15336
+ }
15337
+ if (isAfter(start, end)) {
15338
+ var _d = [start, end].sort(compareAsc), orderedStart = _d[0], orderedEnd = _d[1];
15339
+ return dispatchChangeEvent(blurEvent, "".concat(formatDate(orderedStart), " - ").concat(formatDate(orderedEnd)));
15340
+ }
15341
+ }
15342
+
15277
15343
  /**
15278
15344
  * Use `DatePicker` to clearly present available dates and allow users to choose a way to enter information.
15279
15345
  */
@@ -15352,32 +15418,15 @@ var DatePicker = forwardRef(function (_a, ref) {
15352
15418
  }
15353
15419
  };
15354
15420
  var handleRangeSelectionBlur = function (e) {
15355
- if (isRangeValid(value) && selectionType === "range") {
15356
- var _a = convertRangeStringToDates(value), start = _a[0], end = _a[1];
15357
- var isStartDateBeforeMinDate = minDate && isBefore(start, minDate);
15358
- var isEndDateAfterMaxDate = maxDate && isAfter(end, maxDate);
15359
- var isStartDateDisabled = isDisabledDate(disabledDates, start);
15360
- var isEndDateDisabled = isDisabledDate(disabledDates, end);
15361
- if (isStartDateBeforeMinDate && isEndDateAfterMaxDate) {
15362
- return dispatchChangeEvent(e, "".concat(formatDate(minDate), " - ").concat(formatDate(maxDate)));
15363
- }
15364
- if (isStartDateBeforeMinDate) {
15365
- return dispatchChangeEvent(e, "".concat(formatDate(minDate), " - ").concat(formatDate(end)));
15366
- }
15367
- if (isEndDateAfterMaxDate) {
15368
- return dispatchChangeEvent(e, "".concat(formatDate(start), " - ").concat(formatDate(maxDate)));
15369
- }
15370
- if (isStartDateDisabled || isEndDateDisabled) {
15371
- var _b = previousValidValue.current
15372
- ? convertRangeStringToDates(previousValidValue.current)
15373
- : [], start_1 = _b[0], end_1 = _b[1];
15374
- return dispatchChangeEvent(e, start_1 && end_1 ? "".concat(formatDate(start_1), " - ").concat(formatDate(end_1)) : "");
15375
- }
15376
- if (isAfter(start, end)) {
15377
- var _c = [start, end].sort(compareAsc), orderedStart = _c[0], orderedEnd = _c[1];
15378
- return dispatchChangeEvent(e, "".concat(formatDate(orderedStart), " - ").concat(formatDate(orderedEnd)));
15379
- }
15380
- }
15421
+ validateRangeOnBlur({
15422
+ value: value,
15423
+ minDate: minDate,
15424
+ maxDate: maxDate,
15425
+ disabledDates: disabledDates,
15426
+ previousValidValue: previousValidValue.current,
15427
+ dispatchChangeEvent: dispatchChangeEvent,
15428
+ blurEvent: e,
15429
+ });
15381
15430
  };
15382
15431
  var handleBlur = function (e) {
15383
15432
  onBlur && onBlur(e);
@@ -15442,6 +15491,174 @@ var DatePicker = forwardRef(function (_a, ref) {
15442
15491
  React__default.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 }))))));
15443
15492
  });
15444
15493
 
15494
+ var lowerCaseDateFormat = DATE_FORMAT.toLowerCase();
15495
+ var DatePickerRange = function (_a) {
15496
+ var _b, _c;
15497
+ 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;
15498
+ // startInput States
15499
+ var _e = useState("Choose start date"), startAriaLabel = _e[0], setStartAriaLabel = _e[1];
15500
+ var startButtonRef = useRef(null);
15501
+ var startInputRef = useRef(null);
15502
+ var _f = useState((_b = inputStart.value) !== null && _b !== void 0 ? _b : ""), startValue = _f[0], setStartValue = _f[1];
15503
+ // endInput States
15504
+ var _g = useState("Choose end date"), endAriaLabel = _g[0], setEndAriaLabel = _g[1];
15505
+ var _h = useState((_c = inputEnd.value) !== null && _c !== void 0 ? _c : ""), endValue = _h[0], setEndValue = _h[1];
15506
+ var endButtonRef = useRef(null);
15507
+ var endInputRef = useRef(null);
15508
+ var previousValidValue = useRef("");
15509
+ var _j = useThemeElement(), themeElement = _j[0], setThemeElement = _j[1];
15510
+ var _k = useState(false), showCalendar = _k[0], setShowCalendar = _k[1];
15511
+ var _l = useState(null), activeInput = _l[0], setActiveInput = _l[1];
15512
+ var getIsRequired = function (input) { var _a; return (_a = input.isRequired) !== null && _a !== void 0 ? _a : true; };
15513
+ var getLabel = function (input, type) { var _a; return (_a = input.label) !== null && _a !== void 0 ? _a : "Select a ".concat(type, " date"); };
15514
+ // sync external props with internal value (not typing)
15515
+ useEffect(function () {
15516
+ if (inputStart.value !== undefined && inputStart.value !== startValue) {
15517
+ setStartValue(inputStart.value);
15518
+ }
15519
+ if (inputEnd.value !== undefined && inputEnd.value !== endValue) {
15520
+ setEndValue(inputEnd.value);
15521
+ }
15522
+ }, [inputStart.value, inputEnd.value]);
15523
+ var handleIconClick = function (_a) {
15524
+ var ref = _a.ref, isDisabled = _a.isDisabled, isReadOnly = _a.isReadOnly, input = _a.input;
15525
+ if (ref &&
15526
+ !ref.contains(document.activeElement) &&
15527
+ !isDisabled &&
15528
+ !isReadOnly) {
15529
+ setActiveInput(input);
15530
+ setShowCalendar(true);
15531
+ }
15532
+ };
15533
+ var handleRangeSelect = function (rangeSelection) {
15534
+ var start = rangeSelection.start, end = rangeSelection.end, isSelectionComplete = rangeSelection.isSelectionComplete;
15535
+ var formattedStart = format(start, "dd/MM/yyyy");
15536
+ var formattedEnd = end ? format(end, "dd/MM/yyyy") : "";
15537
+ onRangeSelect === null || onRangeSelect === void 0 ? void 0 : onRangeSelect(__assign(__assign({}, rangeSelection), { formattedStart: formattedStart, formattedEnd: formattedEnd }));
15538
+ if (isSelectionComplete) {
15539
+ var fullRange = "".concat(formattedStart, " - ").concat(formattedEnd);
15540
+ previousValidValue.current = fullRange;
15541
+ setShowCalendar(false);
15542
+ }
15543
+ };
15544
+ var handleCalendarClose = function () {
15545
+ var _a, _b, _c;
15546
+ if (((_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.tagName) === "BODY") {
15547
+ (_b = startButtonRef.current) === null || _b === void 0 ? void 0 : _b.focus();
15548
+ (_c = endButtonRef.current) === null || _c === void 0 ? void 0 : _c.focus();
15549
+ }
15550
+ };
15551
+ var handleIconFocus = function (_a) {
15552
+ var input = _a.input;
15553
+ if (isRangeValid("".concat(startValue, " - ").concat(endValue))) {
15554
+ var _b = convertRangeStringToDates("".concat(startValue, " - ").concat(endValue)), start = _b[0], end = _b[1];
15555
+ var label = "Change dates, currently selected dates are ".concat(format(start, "EEEE do MMMM, yyyy"), " to ").concat(format(end, "EEEE do MMMM, yyyy"));
15556
+ input === "start" ? setStartAriaLabel(label) : setEndAriaLabel(label);
15557
+ return;
15558
+ }
15559
+ };
15560
+ var handleChange = function (e, input) {
15561
+ if (input === "start") {
15562
+ inputStart.onChange && inputStart.onChange(e);
15563
+ setStartValue(e.target.value);
15564
+ setActiveInput("start");
15565
+ }
15566
+ if (input === "end") {
15567
+ inputEnd.onChange && inputEnd.onChange(e);
15568
+ setEndValue(e.target.value);
15569
+ setActiveInput("end");
15570
+ }
15571
+ };
15572
+ var handleBlur = function (e, input) {
15573
+ var value = "".concat(startValue, " - ").concat(endValue);
15574
+ if (input === "start") {
15575
+ inputStart.onBlur && inputStart.onBlur(e);
15576
+ }
15577
+ if (input === "end") {
15578
+ inputEnd.onBlur && inputEnd.onBlur(e);
15579
+ }
15580
+ validateRangeOnBlur({
15581
+ value: value,
15582
+ minDate: minDate,
15583
+ maxDate: maxDate,
15584
+ disabledDates: disabledDates,
15585
+ previousValidValue: previousValidValue.current,
15586
+ dispatchChangeEvent: function (e, corrected) {
15587
+ var _a, _b;
15588
+ var _c = convertRangeStringToDates(corrected), start = _c[0], end = _c[1];
15589
+ (_a = inputStart.onChange) === null || _a === void 0 ? void 0 : _a.call(inputStart, __assign(__assign({}, e), { target: __assign(__assign({}, e.target), { value: formatDate(start) }) }));
15590
+ (_b = inputEnd.onChange) === null || _b === void 0 ? void 0 : _b.call(inputEnd, __assign(__assign({}, e), { target: __assign(__assign({}, e.target), { value: formatDate(end) }) }));
15591
+ previousValidValue.current = corrected;
15592
+ },
15593
+ blurEvent: e,
15594
+ });
15595
+ };
15596
+ var handleCalendarOpenChange = function (isOpen) {
15597
+ if (document.activeElement)
15598
+ setShowCalendar(isOpen);
15599
+ };
15600
+ var handleAutoFocus = function (e) {
15601
+ e.preventDefault();
15602
+ };
15603
+ var setStartInputRef = function (el) {
15604
+ startInputRef.current = el;
15605
+ };
15606
+ var setEndInputRef = function (el) {
15607
+ endInputRef.current = el;
15608
+ };
15609
+ var onCancelClick = function () {
15610
+ setShowCalendar(false);
15611
+ };
15612
+ var getCalendarRange = function () {
15613
+ var _a = convertRangeStringToDateTuple("".concat(startValue, " - ").concat(endValue)), start = _a[0], end = _a[1];
15614
+ // when inital or one date is set - allow user to pick start / end independently
15615
+ if (start && end) {
15616
+ if (activeInput === "start") {
15617
+ return end ? [end] : [];
15618
+ }
15619
+ if (activeInput === "end") {
15620
+ return start ? [start] : [];
15621
+ }
15622
+ }
15623
+ // removes all non date obj
15624
+ return [start, end].filter(function (d) { return d instanceof Date; });
15625
+ };
15626
+ return (React__default.createElement("div", { className: "arc-DatePickerRange", ref: setThemeElement },
15627
+ React__default.createElement(TextInputWithPlaceHolder, __assign({ ref: setStartInputRef, type: "text", iconButton: {
15628
+ onClick: function () {
15629
+ return handleIconClick({
15630
+ ref: startInputRef.current,
15631
+ isDisabled: inputStart.isDisabled,
15632
+ isReadOnly: inputStart.isReadOnly,
15633
+ input: "start",
15634
+ });
15635
+ },
15636
+ onFocus: function () { return handleIconFocus({ input: "start" }); },
15637
+ icon: "datePickerCalendar",
15638
+ label: startAriaLabel,
15639
+ ref: startButtonRef,
15640
+ }, 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))),
15641
+ React__default.createElement(TextInputWithPlaceHolder, __assign({ ref: setEndInputRef, type: "text", iconButton: {
15642
+ onClick: function () {
15643
+ return handleIconClick({
15644
+ ref: endInputRef.current,
15645
+ isDisabled: inputEnd.isDisabled,
15646
+ isReadOnly: inputEnd.isReadOnly,
15647
+ input: "end",
15648
+ });
15649
+ },
15650
+ onFocus: function () { return handleIconFocus({ input: "end" }); },
15651
+ icon: "datePickerCalendar",
15652
+ label: endAriaLabel,
15653
+ ref: endButtonRef,
15654
+ }, 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))),
15655
+ React__default.createElement(Root2$3, { open: showCalendar, onOpenChange: handleCalendarOpenChange },
15656
+ React__default.createElement(Anchor2$1, null),
15657
+ React__default.createElement(Portal$5, { container: themeElement },
15658
+ React__default.createElement(Content2$4, { align: "end", "aria-modal": "true", "aria-label": "Choose Date", className: "arc-DatePicker-modal", onOpenAutoFocus: handleAutoFocus, onCloseAutoFocus: handleCalendarClose },
15659
+ React__default.createElement(Calendar, { autoFocusOnMount: true, type: type, onCancelClick: onCancelClick, selectionType: "range", selectedRange: getCalendarRange(), disabledDates: disabledDates, minDate: minDate, maxDate: maxDate, onRangeSelect: handleRangeSelect }))))));
15660
+ };
15661
+
15445
15662
  /**
15446
15663
  * Use `Disclosure` to show and hide sections of content.
15447
15664
  */
@@ -15493,273 +15710,6 @@ var Download = function (_a) {
15493
15710
  React__default.createElement(Text, { tone: "supporting" }, description))))));
15494
15711
  };
15495
15712
 
15496
- const LEFT = "Left";
15497
- const RIGHT = "Right";
15498
- const UP = "Up";
15499
- const DOWN = "Down";
15500
-
15501
- /* global document */
15502
- const defaultProps = {
15503
- delta: 10,
15504
- preventScrollOnSwipe: false,
15505
- rotationAngle: 0,
15506
- trackMouse: false,
15507
- trackTouch: true,
15508
- swipeDuration: Infinity,
15509
- touchEventOptions: { passive: true },
15510
- };
15511
- const initialState = {
15512
- first: true,
15513
- initial: [0, 0],
15514
- start: 0,
15515
- swiping: false,
15516
- xy: [0, 0],
15517
- };
15518
- const mouseMove = "mousemove";
15519
- const mouseUp = "mouseup";
15520
- const touchEnd = "touchend";
15521
- const touchMove = "touchmove";
15522
- const touchStart = "touchstart";
15523
- function getDirection(absX, absY, deltaX, deltaY) {
15524
- if (absX > absY) {
15525
- if (deltaX > 0) {
15526
- return RIGHT;
15527
- }
15528
- return LEFT;
15529
- }
15530
- else if (deltaY > 0) {
15531
- return DOWN;
15532
- }
15533
- return UP;
15534
- }
15535
- function rotateXYByAngle(pos, angle) {
15536
- if (angle === 0)
15537
- return pos;
15538
- const angleInRadians = (Math.PI / 180) * angle;
15539
- const x = pos[0] * Math.cos(angleInRadians) + pos[1] * Math.sin(angleInRadians);
15540
- const y = pos[1] * Math.cos(angleInRadians) - pos[0] * Math.sin(angleInRadians);
15541
- return [x, y];
15542
- }
15543
- function getHandlers(set, handlerProps) {
15544
- const onStart = (event) => {
15545
- const isTouch = "touches" in event;
15546
- // if more than a single touch don't track, for now...
15547
- if (isTouch && event.touches.length > 1)
15548
- return;
15549
- set((state, props) => {
15550
- // setup mouse listeners on document to track swipe since swipe can leave container
15551
- if (props.trackMouse && !isTouch) {
15552
- document.addEventListener(mouseMove, onMove);
15553
- document.addEventListener(mouseUp, onUp);
15554
- }
15555
- const { clientX, clientY } = isTouch ? event.touches[0] : event;
15556
- const xy = rotateXYByAngle([clientX, clientY], props.rotationAngle);
15557
- props.onTouchStartOrOnMouseDown &&
15558
- props.onTouchStartOrOnMouseDown({ event });
15559
- return Object.assign(Object.assign(Object.assign({}, state), initialState), { initial: xy.slice(), xy, start: event.timeStamp || 0 });
15560
- });
15561
- };
15562
- const onMove = (event) => {
15563
- set((state, props) => {
15564
- const isTouch = "touches" in event;
15565
- // Discount a swipe if additional touches are present after
15566
- // a swipe has started.
15567
- if (isTouch && event.touches.length > 1) {
15568
- return state;
15569
- }
15570
- // if swipe has exceeded duration stop tracking
15571
- if (event.timeStamp - state.start > props.swipeDuration) {
15572
- return state.swiping ? Object.assign(Object.assign({}, state), { swiping: false }) : state;
15573
- }
15574
- const { clientX, clientY } = isTouch ? event.touches[0] : event;
15575
- const [x, y] = rotateXYByAngle([clientX, clientY], props.rotationAngle);
15576
- const deltaX = x - state.xy[0];
15577
- const deltaY = y - state.xy[1];
15578
- const absX = Math.abs(deltaX);
15579
- const absY = Math.abs(deltaY);
15580
- const time = (event.timeStamp || 0) - state.start;
15581
- const velocity = Math.sqrt(absX * absX + absY * absY) / (time || 1);
15582
- const vxvy = [deltaX / (time || 1), deltaY / (time || 1)];
15583
- const dir = getDirection(absX, absY, deltaX, deltaY);
15584
- // if swipe is under delta and we have not started to track a swipe: skip update
15585
- const delta = typeof props.delta === "number"
15586
- ? props.delta
15587
- : props.delta[dir.toLowerCase()] ||
15588
- defaultProps.delta;
15589
- if (absX < delta && absY < delta && !state.swiping)
15590
- return state;
15591
- const eventData = {
15592
- absX,
15593
- absY,
15594
- deltaX,
15595
- deltaY,
15596
- dir,
15597
- event,
15598
- first: state.first,
15599
- initial: state.initial,
15600
- velocity,
15601
- vxvy,
15602
- };
15603
- // call onSwipeStart if present and is first swipe event
15604
- eventData.first && props.onSwipeStart && props.onSwipeStart(eventData);
15605
- // call onSwiping if present
15606
- props.onSwiping && props.onSwiping(eventData);
15607
- // track if a swipe is cancelable (handler for swiping or swiped(dir) exists)
15608
- // so we can call preventDefault if needed
15609
- let cancelablePageSwipe = false;
15610
- if (props.onSwiping ||
15611
- props.onSwiped ||
15612
- props[`onSwiped${dir}`]) {
15613
- cancelablePageSwipe = true;
15614
- }
15615
- if (cancelablePageSwipe &&
15616
- props.preventScrollOnSwipe &&
15617
- props.trackTouch &&
15618
- event.cancelable) {
15619
- event.preventDefault();
15620
- }
15621
- return Object.assign(Object.assign({}, state), {
15622
- // first is now always false
15623
- first: false, eventData, swiping: true });
15624
- });
15625
- };
15626
- const onEnd = (event) => {
15627
- set((state, props) => {
15628
- let eventData;
15629
- if (state.swiping && state.eventData) {
15630
- // if swipe is less than duration fire swiped callbacks
15631
- if (event.timeStamp - state.start < props.swipeDuration) {
15632
- eventData = Object.assign(Object.assign({}, state.eventData), { event });
15633
- props.onSwiped && props.onSwiped(eventData);
15634
- const onSwipedDir = props[`onSwiped${eventData.dir}`];
15635
- onSwipedDir && onSwipedDir(eventData);
15636
- }
15637
- }
15638
- else {
15639
- props.onTap && props.onTap({ event });
15640
- }
15641
- props.onTouchEndOrOnMouseUp && props.onTouchEndOrOnMouseUp({ event });
15642
- return Object.assign(Object.assign(Object.assign({}, state), initialState), { eventData });
15643
- });
15644
- };
15645
- const cleanUpMouse = () => {
15646
- // safe to just call removeEventListener
15647
- document.removeEventListener(mouseMove, onMove);
15648
- document.removeEventListener(mouseUp, onUp);
15649
- };
15650
- const onUp = (e) => {
15651
- cleanUpMouse();
15652
- onEnd(e);
15653
- };
15654
- /**
15655
- * The value of passive on touchMove depends on `preventScrollOnSwipe`:
15656
- * - true => { passive: false }
15657
- * - false => { passive: true } // Default
15658
- *
15659
- * NOTE: When preventScrollOnSwipe is true, we attempt to call preventDefault to prevent scroll.
15660
- *
15661
- * props.touchEventOptions can also be set for all touch event listeners,
15662
- * but for `touchmove` specifically when `preventScrollOnSwipe` it will
15663
- * supersede and force passive to false.
15664
- *
15665
- */
15666
- const attachTouch = (el, props) => {
15667
- let cleanup = () => { };
15668
- if (el && el.addEventListener) {
15669
- const baseOptions = Object.assign(Object.assign({}, defaultProps.touchEventOptions), props.touchEventOptions);
15670
- // attach touch event listeners and handlers
15671
- const tls = [
15672
- [touchStart, onStart, baseOptions],
15673
- // preventScrollOnSwipe option supersedes touchEventOptions.passive
15674
- [
15675
- touchMove,
15676
- onMove,
15677
- Object.assign(Object.assign({}, baseOptions), (props.preventScrollOnSwipe ? { passive: false } : {})),
15678
- ],
15679
- [touchEnd, onEnd, baseOptions],
15680
- ];
15681
- tls.forEach(([e, h, o]) => el.addEventListener(e, h, o));
15682
- // return properly scoped cleanup method for removing listeners, options not required
15683
- cleanup = () => tls.forEach(([e, h]) => el.removeEventListener(e, h));
15684
- }
15685
- return cleanup;
15686
- };
15687
- const onRef = (el) => {
15688
- // "inline" ref functions are called twice on render, once with null then again with DOM element
15689
- // ignore null here
15690
- if (el === null)
15691
- return;
15692
- set((state, props) => {
15693
- // if the same DOM el as previous just return state
15694
- if (state.el === el)
15695
- return state;
15696
- const addState = {};
15697
- // if new DOM el clean up old DOM and reset cleanUpTouch
15698
- if (state.el && state.el !== el && state.cleanUpTouch) {
15699
- state.cleanUpTouch();
15700
- addState.cleanUpTouch = void 0;
15701
- }
15702
- // only attach if we want to track touch
15703
- if (props.trackTouch && el) {
15704
- addState.cleanUpTouch = attachTouch(el, props);
15705
- }
15706
- // store event attached DOM el for comparison, clean up, and re-attachment
15707
- return Object.assign(Object.assign(Object.assign({}, state), { el }), addState);
15708
- });
15709
- };
15710
- // set ref callback to attach touch event listeners
15711
- const output = {
15712
- ref: onRef,
15713
- };
15714
- // if track mouse attach mouse down listener
15715
- if (handlerProps.trackMouse) {
15716
- output.onMouseDown = onStart;
15717
- }
15718
- return [output, attachTouch];
15719
- }
15720
- function updateTransientState(state, props, previousProps, attachTouch) {
15721
- // if trackTouch is off or there is no el, then remove handlers if necessary and exit
15722
- if (!props.trackTouch || !state.el) {
15723
- if (state.cleanUpTouch) {
15724
- state.cleanUpTouch();
15725
- }
15726
- return Object.assign(Object.assign({}, state), { cleanUpTouch: undefined });
15727
- }
15728
- // trackTouch is on, so if there are no handlers attached, attach them and exit
15729
- if (!state.cleanUpTouch) {
15730
- return Object.assign(Object.assign({}, state), { cleanUpTouch: attachTouch(state.el, props) });
15731
- }
15732
- // trackTouch is on and handlers are already attached, so if preventScrollOnSwipe changes value,
15733
- // remove and reattach handlers (this is required to update the passive option when attaching
15734
- // the handlers)
15735
- if (props.preventScrollOnSwipe !== previousProps.preventScrollOnSwipe ||
15736
- props.touchEventOptions.passive !== previousProps.touchEventOptions.passive) {
15737
- state.cleanUpTouch();
15738
- return Object.assign(Object.assign({}, state), { cleanUpTouch: attachTouch(state.el, props) });
15739
- }
15740
- return state;
15741
- }
15742
- function useSwipeable(options) {
15743
- const { trackMouse } = options;
15744
- const transientState = React.useRef(Object.assign({}, initialState));
15745
- const transientProps = React.useRef(Object.assign({}, defaultProps));
15746
- // track previous rendered props
15747
- const previousProps = React.useRef(Object.assign({}, transientProps.current));
15748
- previousProps.current = Object.assign({}, transientProps.current);
15749
- // update current render props & defaults
15750
- transientProps.current = Object.assign(Object.assign({}, defaultProps), options);
15751
- // Force defaults for config properties
15752
- let defaultKey;
15753
- for (defaultKey in defaultProps) {
15754
- if (transientProps.current[defaultKey] === void 0) {
15755
- transientProps.current[defaultKey] = defaultProps[defaultKey];
15756
- }
15757
- }
15758
- const [handlers, attachTouch] = React.useMemo(() => getHandlers((stateSetter) => (transientState.current = stateSetter(transientState.current, transientProps.current)), { trackMouse }), [trackMouse]);
15759
- transientState.current = updateTransientState(transientState.current, transientProps.current, previousProps.current, attachTouch);
15760
- return handlers;
15761
- }
15762
-
15763
15713
  var DIALOG_NAME = "Dialog";
15764
15714
  var [createDialogContext, createDialogScope] = createContextScope$1(DIALOG_NAME);
15765
15715
  var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
@@ -16060,27 +16010,10 @@ var Title = DialogTitle;
16060
16010
  var Description = DialogDescription;
16061
16011
 
16062
16012
  var Drawer = function (_a) {
16063
- var isOpen = _a.isOpen, title = _a.title, children = _a.children, onRequestClose = _a.onRequestClose, footer = _a.footer, _b = _a.position, position = _b === void 0 ? "right" : _b, _c = _a.isOverlayVisible, isOverlayVisible = _c === void 0 ? true : _c, _d = _a.shouldReturnFocus, shouldReturnFocus = _d === void 0 ? true : _d, _e = _a.size, size = _e === void 0 ? "s" : _e, props = __rest(_a, ["isOpen", "title", "children", "onRequestClose", "footer", "position", "isOverlayVisible", "shouldReturnFocus", "size"]);
16013
+ 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"]);
16064
16014
  var _f = useThemeElement(), themeElement = _f[0], setThemeElement = _f[1];
16065
16015
  var triggerRef = useRef(null);
16066
16016
  var _g = useState(null), exitTranslateValue = _g[0], setExitTranslateValue = _g[1];
16067
- var handlers = useSwipeable({
16068
- onSwiped: function (_a) {
16069
- var dir = _a.dir;
16070
- if (position === "left" && dir === "Left") {
16071
- setExitTranslateValue([-100, 0]);
16072
- }
16073
- if (position === "right" && dir === "Right") {
16074
- setExitTranslateValue([100, 0]);
16075
- }
16076
- if (position === "top" && dir === "Up") {
16077
- setExitTranslateValue([0, -100]);
16078
- }
16079
- if (position === "bottom" && dir === "Down") {
16080
- setExitTranslateValue([0, 100]);
16081
- }
16082
- },
16083
- });
16084
16017
  var setTriggerElement = function () {
16085
16018
  return shouldReturnFocus &&
16086
16019
  (triggerRef.current = document.activeElement);
@@ -16102,30 +16035,69 @@ var Drawer = function (_a) {
16102
16035
  },
16103
16036
  }
16104
16037
  : {};
16038
+ var sizingProperties = __assign(__assign({}, (position !== "bottom" && { width: width })), (position === "bottom" && { height: height }));
16105
16039
  return (React__default.createElement("div", { ref: setThemeElement },
16106
16040
  React__default.createElement(Root$3, { open: isOpen },
16107
16041
  React__default.createElement(Portal$3, { container: themeElement },
16108
16042
  React__default.createElement(Overlay, { style: exitTransitionStyle.overlay, className: classNames("arc-Drawer-overlay", {
16109
- "arc-Drawer-overlay--visible": isOverlayVisible,
16043
+ "arc-Drawer-overlay--visible": !noOverlay,
16110
16044
  }) },
16111
16045
  React__default.createElement(Content$1, __assign({ onTransitionEnd: function () {
16112
16046
  setExitTranslateValue(null);
16113
16047
  onRequestClose();
16114
- }, className: classNames("arc-Drawer-slider", "arc-Drawer-slider--".concat(size), "arc-Drawer-slider--".concat(position)), style: exitTransitionStyle.slider, onOpenAutoFocus: setTriggerElement, onCloseAutoFocus: focusTriggerElement, onEscapeKeyDown: onRequestClose, onInteractOutside: onRequestClose, "aria-modal": "true" }, handlers, filterAttrs(props)),
16115
- React__default.createElement("div", { className: "arc-Drawer-content" },
16116
- React__default.createElement("div", { className: "arc-Drawer-section" }, children)),
16117
- React__default.createElement("div", { className: "arc-Drawer-footer" },
16118
- React__default.createElement(VerticalSpace, { size: "32" }),
16119
- footer),
16120
- React__default.createElement("div", { className: "arc-Drawer-header" },
16121
- React__default.createElement("div", { className: "arc-Drawer-closeButtonContainer" },
16122
- React__default.createElement("button", { "aria-label": "close", onClick: onRequestClose, className: "arc-Drawer-closeButton" },
16123
- React__default.createElement(ThemeIcon, { size: 48, icon: "drawerClose" }))),
16124
- React__default.createElement("div", { className: "arc-Drawer-headerContent" },
16125
- React__default.createElement("div", { className: "arc-Drawer-titleContainer" },
16126
- React__default.createElement(Title, { asChild: true },
16127
- React__default.createElement(Heading, { level: "1", size: "l" }, title)))),
16128
- React__default.createElement(VerticalSpace, { size: "32" }))))))));
16048
+ }, 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)),
16049
+ children,
16050
+ React__default.createElement("div", { className: "arc-Drawer-closeButtonContainer" },
16051
+ React__default.createElement("button", { "aria-label": "close", onClick: onRequestClose, className: "arc-Drawer-closeButton" },
16052
+ React__default.createElement(ThemeIcon, { size: 32, icon: "drawerClose" })))))))));
16053
+ };
16054
+
16055
+ /**
16056
+ * Use `Rule` to display a horizontal or vertical rule.
16057
+ */
16058
+ var Rule = function (_a, props) {
16059
+ var _b;
16060
+ var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
16061
+ var surface = useContext(Context$3).surface;
16062
+ return (React__default.createElement("hr", __assign({ className: classNames((_b = {
16063
+ "arc-Rule": true
16064
+ },
16065
+ _b["arc-Rule--".concat(orientation)] = true,
16066
+ _b["arc-Rule--onDarkSurface"] = surface === "dark",
16067
+ _b)) }, filterAttrs(props))));
16068
+ };
16069
+
16070
+ var DrawerHeader = function (_a) {
16071
+ var title = _a.title, _b = _a.isFixed, isFixed = _b === void 0 ? false : _b, props = __rest(_a, ["title", "isFixed"]);
16072
+ return (React__default.createElement(React__default.Fragment, null,
16073
+ React__default.createElement("div", __assign({ className: classNames("arc-DrawerHeader", {
16074
+ "arc-DrawerHeader--isFixed": isFixed,
16075
+ }) }, filterAttrs(props)),
16076
+ React__default.createElement("div", { className: "arc-DrawerHeader-content" },
16077
+ React__default.createElement("div", { className: "arc-DrawerHeader-titleContainer" },
16078
+ React__default.createElement(Title, { asChild: true },
16079
+ React__default.createElement("h1", { className: "arc-DrawerHeader-title" }, title)))),
16080
+ isFixed && (React__default.createElement("div", { className: "arc-DrawerHeader-divider" },
16081
+ React__default.createElement(Rule, null))))));
16082
+ };
16083
+
16084
+ var DrawerFooter = function (_a) {
16085
+ var isFixed = _a.isFixed, children = _a.children;
16086
+ return (React__default.createElement(React__default.Fragment, null,
16087
+ React__default.createElement("div", { className: classNames("arc-DrawerFooter", {
16088
+ "arc-DrawerFooter--isFixed": isFixed,
16089
+ }) },
16090
+ isFixed && (React__default.createElement("div", { className: "arc-DrawerFooter-divider" },
16091
+ React__default.createElement(Rule, null))),
16092
+ children)));
16093
+ };
16094
+
16095
+ var DrawerContent = function (_a) {
16096
+ var isFullBleed = _a.isFullBleed, children = _a.children;
16097
+ return (React__default.createElement("div", { className: classNames("arc-DrawerContent", {
16098
+ "arc-DrawerContent--isFullBleed": isFullBleed,
16099
+ }) },
16100
+ React__default.createElement("div", { className: "arc-Drawer-section" }, children)));
16129
16101
  };
16130
16102
 
16131
16103
  /**
@@ -16239,7 +16211,7 @@ var GhostedHeroBanner = function (_a) {
16239
16211
  return (React__default.createElement("div", __assign({ className: "arc-GhostedHeroBanner" }, filterAttrs(props)),
16240
16212
  React__default.createElement("div", { className: "arc-GhostedHeroBanner-content" },
16241
16213
  label && (React__default.createElement(React__default.Fragment, null,
16242
- React__default.createElement(Heading, { size: "xxs" }, label.toUpperCase()),
16214
+ React__default.createElement(Heading, { fontStyle: "overline" }, label),
16243
16215
  React__default.createElement(VerticalSpace, { size: "8" }))),
16244
16216
  React__default.createElement(Heading, { level: headingLevel, size: "xl" }, heading),
16245
16217
  text && (React__default.createElement(React__default.Fragment, null,
@@ -16251,14 +16223,361 @@ var GhostedHeroBanner = function (_a) {
16251
16223
  React__default.createElement("div", { className: "arc-GhostedHeroBanner-image " }, img && React__default.createElement(BannerImage, __assign({ ariaHidden: true }, img)))));
16252
16224
  };
16253
16225
 
16254
- var GradientBackground = function (_a) {
16255
- var _b;
16256
- var _c = _a.type, type = _c === void 0 ? "lightOne" : _c, children = _a.children, scrim = _a.scrim, props = __rest(_a, ["type", "children", "scrim"]);
16257
- return (React__default.createElement("div", __assign({ className: classNames("arc-GradientBackground", "arc-GradientBackground--".concat(type), (_b = {},
16258
- _b["arc-GradientBackground-scrim--".concat(scrim)] = scrim,
16259
- _b)) }, filterAttrs(props)),
16260
- React__default.createElement("div", { className: "arc-GradientBackground-content" },
16261
- React__default.createElement(Surface, { isTransparent: true, background: type === "lightOne" ? "light-white" : "dark-black" }, children))));
16226
+ var shorterCssColorNames;
16227
+ var hasRequiredShorterCssColorNames;
16228
+
16229
+ function requireShorterCssColorNames () {
16230
+ if (hasRequiredShorterCssColorNames) return shorterCssColorNames;
16231
+ hasRequiredShorterCssColorNames = 1;
16232
+ shorterCssColorNames = {
16233
+ aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
16234
+ azure: /#f0ffff(ff)?(?!\w)/gi,
16235
+ beige: /#f5f5dc(ff)?(?!\w)/gi,
16236
+ bisque: /#ffe4c4(ff)?(?!\w)/gi,
16237
+ black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
16238
+ blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
16239
+ brown: /#a52a2a(ff)?(?!\w)/gi,
16240
+ coral: /#ff7f50(ff)?(?!\w)/gi,
16241
+ cornsilk: /#fff8dc(ff)?(?!\w)/gi,
16242
+ crimson: /#dc143c(ff)?(?!\w)/gi,
16243
+ cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
16244
+ darkblue: /#00008b(ff)?(?!\w)/gi,
16245
+ darkcyan: /#008b8b(ff)?(?!\w)/gi,
16246
+ darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
16247
+ darkred: /#8b0000(ff)?(?!\w)/gi,
16248
+ deeppink: /#ff1493(ff)?(?!\w)/gi,
16249
+ dimgrey: /#696969(ff)?(?!\w)/gi,
16250
+ gold: /#ffd700(ff)?(?!\w)/gi,
16251
+ green: /#008000(ff)?(?!\w)/gi,
16252
+ grey: /#808080(ff)?(?!\w)/gi,
16253
+ honeydew: /#f0fff0(ff)?(?!\w)/gi,
16254
+ hotpink: /#ff69b4(ff)?(?!\w)/gi,
16255
+ indigo: /#4b0082(ff)?(?!\w)/gi,
16256
+ ivory: /#fffff0(ff)?(?!\w)/gi,
16257
+ khaki: /#f0e68c(ff)?(?!\w)/gi,
16258
+ lavender: /#e6e6fa(ff)?(?!\w)/gi,
16259
+ lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
16260
+ linen: /#faf0e6(ff)?(?!\w)/gi,
16261
+ maroon: /#800000(ff)?(?!\w)/gi,
16262
+ moccasin: /#ffe4b5(ff)?(?!\w)/gi,
16263
+ navy: /#000080(ff)?(?!\w)/gi,
16264
+ oldlace: /#fdf5e6(ff)?(?!\w)/gi,
16265
+ olive: /#808000(ff)?(?!\w)/gi,
16266
+ orange: /#ffa500(ff)?(?!\w)/gi,
16267
+ orchid: /#da70d6(ff)?(?!\w)/gi,
16268
+ peru: /#cd853f(ff)?(?!\w)/gi,
16269
+ pink: /#ffc0cb(ff)?(?!\w)/gi,
16270
+ plum: /#dda0dd(ff)?(?!\w)/gi,
16271
+ purple: /#800080(ff)?(?!\w)/gi,
16272
+ red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
16273
+ salmon: /#fa8072(ff)?(?!\w)/gi,
16274
+ seagreen: /#2e8b57(ff)?(?!\w)/gi,
16275
+ seashell: /#fff5ee(ff)?(?!\w)/gi,
16276
+ sienna: /#a0522d(ff)?(?!\w)/gi,
16277
+ silver: /#c0c0c0(ff)?(?!\w)/gi,
16278
+ skyblue: /#87ceeb(ff)?(?!\w)/gi,
16279
+ snow: /#fffafa(ff)?(?!\w)/gi,
16280
+ tan: /#d2b48c(ff)?(?!\w)/gi,
16281
+ teal: /#008080(ff)?(?!\w)/gi,
16282
+ thistle: /#d8bfd8(ff)?(?!\w)/gi,
16283
+ tomato: /#ff6347(ff)?(?!\w)/gi,
16284
+ violet: /#ee82ee(ff)?(?!\w)/gi,
16285
+ wheat: /#f5deb3(ff)?(?!\w)/gi,
16286
+ white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
16287
+ };
16288
+ return shorterCssColorNames;
16289
+ }
16290
+
16291
+ var miniSvgDataUri;
16292
+ var hasRequiredMiniSvgDataUri;
16293
+
16294
+ function requireMiniSvgDataUri () {
16295
+ if (hasRequiredMiniSvgDataUri) return miniSvgDataUri;
16296
+ hasRequiredMiniSvgDataUri = 1;
16297
+ var shorterNames = requireShorterCssColorNames();
16298
+ var REGEX = {
16299
+ whitespace: /\s+/g,
16300
+ urlHexPairs: /%[\dA-F]{2}/g,
16301
+ quotes: /"/g,
16302
+ };
16303
+
16304
+ function collapseWhitespace(str) {
16305
+ return str.trim().replace(REGEX.whitespace, ' ');
16306
+ }
16307
+
16308
+ function dataURIPayload(string) {
16309
+ return encodeURIComponent(string)
16310
+ .replace(REGEX.urlHexPairs, specialHexEncode);
16311
+ }
16312
+
16313
+ // `#` gets converted to `%23`, so quite a few CSS named colors are shorter than
16314
+ // their equivalent URL-encoded hex codes.
16315
+ function colorCodeToShorterNames(string) {
16316
+ Object.keys(shorterNames).forEach(function(key) {
16317
+ if (shorterNames[key].test(string)) {
16318
+ string = string.replace(shorterNames[key], key);
16319
+ }
16320
+ });
16321
+
16322
+ return string;
16323
+ }
16324
+
16325
+ function specialHexEncode(match) {
16326
+ switch (match) { // Browsers tolerate these characters, and they're frequent
16327
+ case '%20': return ' ';
16328
+ case '%3D': return '=';
16329
+ case '%3A': return ':';
16330
+ case '%2F': return '/';
16331
+ default: return match.toLowerCase(); // compresses better
16332
+ }
16333
+ }
16334
+
16335
+ function svgToTinyDataUri(svgString) {
16336
+ if (typeof svgString !== 'string') {
16337
+ throw new TypeError('Expected a string, but received ' + typeof svgString);
16338
+ }
16339
+ // Strip the Byte-Order Mark if the SVG has one
16340
+ if (svgString.charCodeAt(0) === 0xfeff) { svgString = svgString.slice(1); }
16341
+
16342
+ var body = colorCodeToShorterNames(collapseWhitespace(svgString))
16343
+ .replace(REGEX.quotes, "'");
16344
+ return 'data:image/svg+xml,' + dataURIPayload(body);
16345
+ }
16346
+
16347
+ svgToTinyDataUri.toSrcset = function toSrcset(svgString) {
16348
+ return svgToTinyDataUri(svgString).replace(/ /g, '%20');
16349
+ };
16350
+
16351
+ miniSvgDataUri = svgToTinyDataUri;
16352
+ return miniSvgDataUri;
16353
+ }
16354
+
16355
+ var miniSvgDataUriExports = requireMiniSvgDataUri();
16356
+ var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
16357
+
16358
+ var S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
16359
+ var M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
16360
+ var L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
16361
+ var XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
16362
+
16363
+ 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>";
16364
+
16365
+ 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>";
16366
+
16367
+ 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>";
16368
+
16369
+ 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>";
16370
+
16371
+ 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>";
16372
+
16373
+ 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>";
16374
+
16375
+ 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>";
16376
+
16377
+ 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>";
16378
+
16379
+ 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>";
16380
+
16381
+ // commented out s+ props as the svgs don't exist yet
16382
+ var BackgroundGradients = {
16383
+ HomepageDark1: {
16384
+ xs: HomepageDark1,
16385
+ // s: HomepageDark1,
16386
+ // m: HomepageDark1,
16387
+ // l: HomepageDark1,
16388
+ // xl: HomepageDark1,
16389
+ // xxl: HomepageDark1,
16390
+ },
16391
+ HomepageDark2: {
16392
+ xs: HomepageDark2,
16393
+ // s: HomepageDark2,
16394
+ // m: HomepageDark2,
16395
+ // l: HomepageDark2,
16396
+ // xl: HomepageDark2,
16397
+ // xxl: HomepageDark2,
16398
+ },
16399
+ ProductpageDark1: {
16400
+ xs: ProductpageDark1,
16401
+ // s: ProductpageDark1,
16402
+ // m: ProductpageDark1,
16403
+ // l: ProductpageDark1,
16404
+ // xl: ProductpageDark1,
16405
+ // xxl: ProductpageDark1,
16406
+ },
16407
+ ProductpageDark2: {
16408
+ xs: ProductpageDark2,
16409
+ // s: ProductpageDark2,
16410
+ // m: ProductpageDark2,
16411
+ // l: ProductpageDark2,
16412
+ // xl: ProductpageDark2,
16413
+ // xxl: ProductpageDark2,
16414
+ },
16415
+ HomepageLight1: {
16416
+ xs: HomepageLight1,
16417
+ // s: HomepageLight1,
16418
+ // m: HomepageLight1,
16419
+ // l: HomepageLight1,
16420
+ // xl: HomepageLight1,
16421
+ // xxl: HomepageLight1,
16422
+ },
16423
+ HomepageLight2: {
16424
+ xs: HomepageLight2,
16425
+ // s: HomepageLight2,
16426
+ // m: HomepageLight2,
16427
+ // l: HomepageLight2,
16428
+ // xl: HomepageLight2,
16429
+ // xxl: HomepageLight2,
16430
+ },
16431
+ ProductpageLight1: {
16432
+ xs: ProductpageLight1,
16433
+ // s: ProductpageLight1,
16434
+ // m: ProductpageLight1,
16435
+ // l: ProductpageLight1,
16436
+ // xl: ProductpageLight1,
16437
+ // xxl: ProductpageLight1,
16438
+ },
16439
+ ProductpageLight2: {
16440
+ xs: ProductpageLight2,
16441
+ // s: ProductpageLight2,
16442
+ // m: ProductpageLight2,
16443
+ // l: ProductpageLight2,
16444
+ // xl: ProductpageLight2,
16445
+ // xxl: ProductpageLight2,
16446
+ },
16447
+ FooterLight: {
16448
+ xs: FooterLight,
16449
+ // s: FooterLight,
16450
+ // m: FooterLight,
16451
+ // l: FooterLight,
16452
+ // xl: FooterLight,
16453
+ // xxl: FooterLight,
16454
+ },
16455
+ };
16456
+
16457
+ var ScrimFade = function (props) {
16458
+ var _a;
16459
+ var totalHeight = (_a = props === null || props === void 0 ? void 0 : props.scrimfadeheight) !== null && _a !== void 0 ? _a : 1000;
16460
+ if (!props.scrimfadeheight && props.scrimfadesize) {
16461
+ if (props.scrimfadesize === "l") {
16462
+ totalHeight = 1408;
16463
+ }
16464
+ else if (props.scrimfadesize === "m") {
16465
+ totalHeight = 1024;
16466
+ }
16467
+ else if (props.scrimfadesize === "s") {
16468
+ totalHeight = 640;
16469
+ }
16470
+ }
16471
+ var fadeHeight = totalHeight - 128;
16472
+ return (React.createElement("svg", __assign({ width: "1024", height: totalHeight, viewBox: "0 0 1024 ".concat(totalHeight), fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
16473
+ React.createElement("rect", { y: "128", width: "1024", height: fadeHeight, fill: "url(#paint0_linear_6538_9883)" }),
16474
+ React.createElement("g", { opacity: "0.7" },
16475
+ React.createElement("rect", { width: "1024", height: totalHeight, fill: "url(#paint1_linear_6538_9883)", style: { mixBlendMode: "soft-light" } })),
16476
+ React.createElement("defs", null,
16477
+ React.createElement("linearGradient", { id: "paint0_linear_6538_9883", x1: "512", y1: "128", x2: "512", y2: totalHeight, gradientUnits: "userSpaceOnUse" },
16478
+ React.createElement("stop", { stopColor: "white", stopOpacity: "0" }),
16479
+ React.createElement("stop", { offset: "0.0806874", stopColor: "white", stopOpacity: "0.01" }),
16480
+ React.createElement("stop", { offset: "0.155366", stopColor: "white", stopOpacity: "0.0217837" }),
16481
+ React.createElement("stop", { offset: "0.22496", stopColor: "white", stopOpacity: "0.04832" }),
16482
+ React.createElement("stop", { offset: "0.290394", stopColor: "white", stopOpacity: "0.0846696" }),
16483
+ React.createElement("stop", { offset: "0.352593", stopColor: "white", stopOpacity: "0.13037" }),
16484
+ React.createElement("stop", { offset: "0.41248", stopColor: "white", stopOpacity: "0.18496" }),
16485
+ React.createElement("stop", { offset: "0.470981", stopColor: "white", stopOpacity: "0.247976" }),
16486
+ React.createElement("stop", { offset: "0.529019", stopColor: "white", stopOpacity: "0.318957" }),
16487
+ React.createElement("stop", { offset: "0.58752", stopColor: "white", stopOpacity: "0.39744" }),
16488
+ React.createElement("stop", { offset: "0.647407", stopColor: "white", stopOpacity: "0.482963" }),
16489
+ React.createElement("stop", { offset: "0.709606", stopColor: "white", stopOpacity: "0.575064" }),
16490
+ React.createElement("stop", { offset: "0.77504", stopColor: "white", stopOpacity: "0.67328" }),
16491
+ React.createElement("stop", { offset: "0.844634", stopColor: "white", stopOpacity: "0.77715" }),
16492
+ React.createElement("stop", { offset: "0.919313", stopColor: "white", stopOpacity: "0.88621" }),
16493
+ React.createElement("stop", { offset: "1", stopColor: "white" })),
16494
+ React.createElement("linearGradient", { id: "paint1_linear_6538_9883", x1: "512", y1: "0", x2: "512", y2: totalHeight, gradientUnits: "userSpaceOnUse" },
16495
+ React.createElement("stop", { stopColor: "white", stopOpacity: "0" }),
16496
+ React.createElement("stop", { offset: "1", stopColor: "white" })))));
16497
+ };
16498
+
16499
+ var GradientPageBackground = function (_a) {
16500
+ var _b, _c;
16501
+ 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"]);
16502
+ var _f = useState(), scrimFadeHeight = _f[0], setScrimFadeHeight = _f[1];
16503
+ var _g = useState(), extendBackground = _g[0], setExtendBackground = _g[1];
16504
+ var _h = useState(BackgroundGradients.HomepageDark1.xs), backgroundGradient = _h[0], setBackgroundGradient = _h[1];
16505
+ var _j = useState(), customGradient = _j[0], setCustomGradient = _j[1];
16506
+ var _k = useState("xs"), breakpoint = _k[0], setBreakpoint = _k[1];
16507
+ var gradientUri = svgToMiniDataURI(backgroundGradient !== null && backgroundGradient !== void 0 ? backgroundGradient : "");
16508
+ var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT);
16509
+ var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT);
16510
+ var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT);
16511
+ var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT);
16512
+ // Update current breakpoint value for props
16513
+ useEffect(function () {
16514
+ var _a;
16515
+ var breakpoints = [
16516
+ ["xl", isMinWidthArcBreakpointXl],
16517
+ ["l", isMinWidthArcBreakpointL],
16518
+ ["m", isMinWidthArcBreakpointM],
16519
+ ["s", isMinWidthArcBreakpointS],
16520
+ ["xs", true],
16521
+ ];
16522
+ var matched = breakpoints.find(function (_a) {
16523
+ var match = _a[1];
16524
+ return match;
16525
+ });
16526
+ setBreakpoint((_a = matched === null || matched === void 0 ? void 0 : matched[0]) !== null && _a !== void 0 ? _a : "xs");
16527
+ }, [
16528
+ isMinWidthArcBreakpointXl,
16529
+ isMinWidthArcBreakpointL,
16530
+ isMinWidthArcBreakpointM,
16531
+ isMinWidthArcBreakpointS,
16532
+ ]);
16533
+ // Function to inherit the last provided value when no value is provided
16534
+ var inheritFallbackKey = function (obj, key) {
16535
+ var keysInOrder = ["xs", "s", "m", "l", "xl", "xxl"];
16536
+ var index = keysInOrder.indexOf(key);
16537
+ if (index === -1)
16538
+ return;
16539
+ for (var i = index; i >= 0; i--) {
16540
+ var fallbackKey = keysInOrder[i];
16541
+ if (obj[fallbackKey] !== undefined) {
16542
+ return obj[fallbackKey];
16543
+ }
16544
+ }
16545
+ return undefined;
16546
+ };
16547
+ // Update props when breakpoint changes
16548
+ useEffect(function () {
16549
+ var _a;
16550
+ if (!breakpoint)
16551
+ return;
16552
+ setScrimFadeHeight(inheritFallbackKey(scrimFadeHeights !== null && scrimFadeHeights !== void 0 ? scrimFadeHeights : {}, breakpoint));
16553
+ setExtendBackground(inheritFallbackKey(extendBackgrounds !== null && extendBackgrounds !== void 0 ? extendBackgrounds : {}, breakpoint));
16554
+ setBackgroundGradient(inheritFallbackKey((_a = BackgroundGradients === null || BackgroundGradients === void 0 ? void 0 : BackgroundGradients[type]) !== null && _a !== void 0 ? _a : {}, breakpoint));
16555
+ setCustomGradient(inheritFallbackKey(customGradients !== null && customGradients !== void 0 ? customGradients : {}, breakpoint));
16556
+ }, [breakpoint, type]); // type only for storybook
16557
+ return (React__default.createElement("div", __assign({ className: classNames("arc-GradientPageBackground", (_b = {},
16558
+ _b["arc-GradientPageBackground--".concat(scrimFadePosition)] = scrimFadePosition,
16559
+ _b)), style: extendBackground && scrimFadePosition == "bottom"
16560
+ ? {
16561
+ paddingBottom: "".concat(extendBackground, "px"),
16562
+ marginBottom: "-".concat(extendBackground, "px"),
16563
+ }
16564
+ : {
16565
+ paddingTop: "".concat(extendBackground, "px"),
16566
+ marginTop: "-".concat(extendBackground, "px"),
16567
+ } }, filterAttrs(props)),
16568
+ React__default.createElement("div", { className: "arc-GradientPageBackground-svgWrapper" },
16569
+ React__default.createElement("img", { src: customGradient || gradientUri, alt: "", className: "arc-GradientPageBackground-svgbg" })),
16570
+ React__default.createElement("div", { className: "arc-GradientPageBackground-content" },
16571
+ React__default.createElement(Surface, { isTransparent: true, background: customGradient
16572
+ ? (customGradient === null || customGradient === void 0 ? void 0 : customGradient.includes("Light"))
16573
+ ? "light-white"
16574
+ : "dark-black"
16575
+ : type.includes("Light")
16576
+ ? "light-white"
16577
+ : "dark-black" }, children)),
16578
+ scrimFadeSize && (React__default.createElement(ScrimFade, { className: classNames("arc-GradientPageBackground-scrimFade", (_c = {},
16579
+ _c["arc-GradientPageBackground-scrimFade--".concat(scrimFadePosition)] = scrimFadePosition,
16580
+ _c)), scrimfadeheight: scrimFadeHeight ? scrimFadeHeight : null, scrimfadesize: scrimFadeSize, preserveAspectRatio: "none" }))));
16262
16581
  };
16263
16582
 
16264
16583
  /**
@@ -16454,7 +16773,9 @@ var ImpactCard = function (_a) {
16454
16773
  React__default.createElement("div", { className: "arc-ImpactCard-backgroundImageContainer" },
16455
16774
  React__default.createElement(Image, __assign({ fit: "cover", alt: "" }, img))),
16456
16775
  React__default.createElement("div", { className: "arc-ImpactCard-contentContainer" },
16457
- label && (React__default.createElement("div", { className: "arc-ImpactCard-label" }, label.toUpperCase())),
16776
+ label && (React__default.createElement("div", { className: "arc-ImpactCard-label" },
16777
+ React__default.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
16778
+ React__default.createElement(VerticalSpace, { size: "16" }))),
16458
16779
  React__default.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) })),
16459
16780
  React__default.createElement(CardFooter, { buttonIcon: buttonIcon, showButton: true, isDarkPathway: isDarkPathway, isHovered: showHoverState })));
16460
16781
  };
@@ -16507,6 +16828,7 @@ var InformationCard = function (_a) {
16507
16828
  window.addEventListener("resize", checkMinHeight);
16508
16829
  return function () {
16509
16830
  window.removeEventListener("resize", checkMinHeight);
16831
+ checkMinHeight.cancel();
16510
16832
  };
16511
16833
  }, [minHeights, ArcBreakpoints]);
16512
16834
  return (React__default.createElement("div", __assign({ style: { minHeight: minHeight ? minHeight : minimumHeight }, className: classNames("arc-InformationCard", {
@@ -16523,7 +16845,8 @@ var InformationCard = function (_a) {
16523
16845
  React__default.createElement(Icon$1, { testId: "information-card-icon", icon: icon })))),
16524
16846
  React__default.createElement("div", { className: "arc-InformationCard-contentContainer" },
16525
16847
  label && (React__default.createElement(React__default.Fragment, null,
16526
- React__default.createElement("div", { className: "arc-InformationCard-label" }, label.toUpperCase()))),
16848
+ React__default.createElement("div", { className: "arc-InformationCard-label" },
16849
+ React__default.createElement(Heading, { level: "3", fontStyle: "overline" }, label)))),
16527
16850
  React__default.createElement(CardHeading, { heading: heading, headingLevel: headingLevel, href: cardUrl, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) }),
16528
16851
  text && React__default.createElement(Text, null, text)),
16529
16852
  (button || badges || footerLogo) && (React__default.createElement("div", { className: "arc-InformationCard-footer" },
@@ -16615,8 +16938,6 @@ var MediaCard = function (_a) {
16615
16938
  var surface = useContext(Context$3).surface;
16616
16939
  var _e = useState(false), isClient = _e[0], setIsClient = _e[1];
16617
16940
  var _f = useState(false), showHoverState = _f[0], setShowHoverState = _f[1];
16618
- var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsS, ")"));
16619
- var headingSpacing = isMinWidthArcBreakpointS ? "16" : "8";
16620
16941
  var handleShowHoverState = function (show) { return function () { return setShowHoverState(show); }; };
16621
16942
  useEffect(function () {
16622
16943
  setIsClient(true);
@@ -16632,12 +16953,12 @@ var MediaCard = function (_a) {
16632
16953
  media.type === "video" && isClient && (React__default.createElement(Suspense, { fallback: null },
16633
16954
  React__default.createElement(VideoPlayer$1, __assign({ isSupportingTextHidden: true }, media)))),
16634
16955
  React__default.createElement("div", { className: "arc-MediaCard-content" },
16635
- label && (React__default.createElement(React__default.Fragment, null,
16636
- React__default.createElement(Heading, { size: "xxs" }, label.toUpperCase()),
16637
- React__default.createElement(VerticalSpace, { size: headingSpacing }))),
16956
+ label && (React__default.createElement("div", { className: "arc-MediaCard-label" },
16957
+ React__default.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
16958
+ React__default.createElement(VerticalSpace, { size: "16" }))),
16638
16959
  React__default.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) }),
16639
16960
  React__default.createElement("div", { className: "arc-MediaCard-textContainer" }, text && (React__default.createElement(React__default.Fragment, null,
16640
- React__default.createElement(VerticalSpace, { size: headingSpacing }),
16961
+ React__default.createElement(VerticalSpace, { size: "16" }),
16641
16962
  React__default.createElement(Text, null, text),
16642
16963
  (url || metaText) && React__default.createElement(VerticalSpace, { size: "24" })))),
16643
16964
  React__default.createElement(CardFooter, { buttonIcon: buttonIcon, metaText: metaText, showButton: Boolean(url) && media.type !== "video", isHovered: showHoverState })))));
@@ -17294,7 +17615,7 @@ var MenuItemImpl = React.forwardRef(
17294
17615
  }
17295
17616
  );
17296
17617
  var CHECKBOX_ITEM_NAME$1 = "MenuCheckboxItem";
17297
- var MenuCheckboxItem$1 = React.forwardRef(
17618
+ var MenuCheckboxItem = React.forwardRef(
17298
17619
  (props, forwardedRef) => {
17299
17620
  const { checked = false, onCheckedChange, ...checkboxItemProps } = props;
17300
17621
  return /* @__PURE__ */ jsx(ItemIndicatorProvider, { scope: props.__scopeMenu, checked, children: /* @__PURE__ */ jsx(
@@ -17314,23 +17635,23 @@ var MenuCheckboxItem$1 = React.forwardRef(
17314
17635
  ) });
17315
17636
  }
17316
17637
  );
17317
- MenuCheckboxItem$1.displayName = CHECKBOX_ITEM_NAME$1;
17638
+ MenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME$1;
17318
17639
  var RADIO_GROUP_NAME$1 = "MenuRadioGroup";
17319
17640
  var [RadioGroupProvider, useRadioGroupContext] = createMenuContext(
17320
17641
  RADIO_GROUP_NAME$1,
17321
17642
  { value: void 0, onValueChange: () => {
17322
17643
  } }
17323
17644
  );
17324
- var MenuRadioGroup$1 = React.forwardRef(
17645
+ var MenuRadioGroup = React.forwardRef(
17325
17646
  (props, forwardedRef) => {
17326
17647
  const { value, onValueChange, ...groupProps } = props;
17327
17648
  const handleValueChange = useCallbackRef$1(onValueChange);
17328
17649
  return /* @__PURE__ */ jsx(RadioGroupProvider, { scope: props.__scopeMenu, value, onValueChange: handleValueChange, children: /* @__PURE__ */ jsx(MenuGroup$1, { ...groupProps, ref: forwardedRef }) });
17329
17650
  }
17330
17651
  );
17331
- MenuRadioGroup$1.displayName = RADIO_GROUP_NAME$1;
17652
+ MenuRadioGroup.displayName = RADIO_GROUP_NAME$1;
17332
17653
  var RADIO_ITEM_NAME$1 = "MenuRadioItem";
17333
- var MenuRadioItem$1 = React.forwardRef(
17654
+ var MenuRadioItem = React.forwardRef(
17334
17655
  (props, forwardedRef) => {
17335
17656
  const { value, ...radioItemProps } = props;
17336
17657
  const context = useRadioGroupContext(RADIO_ITEM_NAME$1, props.__scopeMenu);
@@ -17352,7 +17673,7 @@ var MenuRadioItem$1 = React.forwardRef(
17352
17673
  ) });
17353
17674
  }
17354
17675
  );
17355
- MenuRadioItem$1.displayName = RADIO_ITEM_NAME$1;
17676
+ MenuRadioItem.displayName = RADIO_ITEM_NAME$1;
17356
17677
  var ITEM_INDICATOR_NAME = "MenuItemIndicator";
17357
17678
  var [ItemIndicatorProvider, useItemIndicatorContext] = createMenuContext(
17358
17679
  ITEM_INDICATOR_NAME,
@@ -17406,7 +17727,7 @@ var MenuArrow = React.forwardRef(
17406
17727
  MenuArrow.displayName = ARROW_NAME$3;
17407
17728
  var SUB_NAME = "MenuSub";
17408
17729
  var [MenuSubProvider, useMenuSubContext] = createMenuContext(SUB_NAME);
17409
- var MenuSub$1 = (props) => {
17730
+ var MenuSub = (props) => {
17410
17731
  const { __scopeMenu, children, open = false, onOpenChange } = props;
17411
17732
  const parentMenuContext = useMenuContext(SUB_NAME, __scopeMenu);
17412
17733
  const popperScope = usePopperScope$1(__scopeMenu);
@@ -17439,9 +17760,9 @@ var MenuSub$1 = (props) => {
17439
17760
  }
17440
17761
  ) });
17441
17762
  };
17442
- MenuSub$1.displayName = SUB_NAME;
17763
+ MenuSub.displayName = SUB_NAME;
17443
17764
  var SUB_TRIGGER_NAME$1 = "MenuSubTrigger";
17444
- var MenuSubTrigger$1 = React.forwardRef(
17765
+ var MenuSubTrigger = React.forwardRef(
17445
17766
  (props, forwardedRef) => {
17446
17767
  const context = useMenuContext(SUB_TRIGGER_NAME$1, props.__scopeMenu);
17447
17768
  const rootContext = useMenuRootContext(SUB_TRIGGER_NAME$1, props.__scopeMenu);
@@ -17540,9 +17861,9 @@ var MenuSubTrigger$1 = React.forwardRef(
17540
17861
  ) });
17541
17862
  }
17542
17863
  );
17543
- MenuSubTrigger$1.displayName = SUB_TRIGGER_NAME$1;
17864
+ MenuSubTrigger.displayName = SUB_TRIGGER_NAME$1;
17544
17865
  var SUB_CONTENT_NAME$1 = "MenuSubContent";
17545
- var MenuSubContent$1 = React.forwardRef(
17866
+ var MenuSubContent = React.forwardRef(
17546
17867
  (props, forwardedRef) => {
17547
17868
  const portalContext = usePortalContext$1(CONTENT_NAME$3, props.__scopeMenu);
17548
17869
  const { forceMount = portalContext.forceMount, ...subContentProps } = props;
@@ -17588,7 +17909,7 @@ var MenuSubContent$1 = React.forwardRef(
17588
17909
  ) }) }) });
17589
17910
  }
17590
17911
  );
17591
- MenuSubContent$1.displayName = SUB_CONTENT_NAME$1;
17912
+ MenuSubContent.displayName = SUB_CONTENT_NAME$1;
17592
17913
  function getOpenState(open) {
17593
17914
  return open ? "open" : "closed";
17594
17915
  }
@@ -17649,15 +17970,15 @@ var Content2$2 = MenuContent$1;
17649
17970
  var Group = MenuGroup$1;
17650
17971
  var Label = MenuLabel$1;
17651
17972
  var Item2$1 = MenuItem$1;
17652
- var CheckboxItem = MenuCheckboxItem$1;
17653
- var RadioGroup$1 = MenuRadioGroup$1;
17654
- var RadioItem = MenuRadioItem$1;
17973
+ var CheckboxItem = MenuCheckboxItem;
17974
+ var RadioGroup$1 = MenuRadioGroup;
17975
+ var RadioItem = MenuRadioItem;
17655
17976
  var ItemIndicator = MenuItemIndicator;
17656
17977
  var Separator = MenuSeparator$1;
17657
17978
  var Arrow2$1 = MenuArrow;
17658
- var Sub = MenuSub$1;
17659
- var SubTrigger = MenuSubTrigger$1;
17660
- var SubContent = MenuSubContent$1;
17979
+ var Sub = MenuSub;
17980
+ var SubTrigger = MenuSubTrigger;
17981
+ var SubContent = MenuSubContent;
17661
17982
 
17662
17983
  var DROPDOWN_MENU_NAME = "DropdownMenu";
17663
17984
  var [createDropdownMenuContext, createDropdownMenuScope] = createContextScope$1(
@@ -17934,17 +18255,17 @@ var MenuItemContentTemplate = function (_a) {
17934
18255
  React__default.createElement(Icon$1, { icon: trailingIcon, size: 24 }))))) : null));
17935
18256
  };
17936
18257
 
17937
- var MenuCheckboxItem = function (_a) {
18258
+ var MenuItemCheckbox = function (_a) {
17938
18259
  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"]);
17939
- return (React__default.createElement(CheckboxItem2, __assign({ className: "arc-MenuItem arc-MenuCheckboxItem", checked: checked, onCheckedChange: onCheckedChange, disabled: isDisabled, onSelect: function (event) {
18260
+ return (React__default.createElement(CheckboxItem2, __assign({ className: "arc-MenuItem arc-MenuItemCheckbox", checked: checked, onCheckedChange: onCheckedChange, disabled: isDisabled, onSelect: function (event) {
17940
18261
  if (shouldKeepOpen) {
17941
18262
  event.preventDefault();
17942
18263
  onCheckedChange === null || onCheckedChange === void 0 ? void 0 : onCheckedChange(!checked);
17943
18264
  }
17944
18265
  onSelect === null || onSelect === void 0 ? void 0 : onSelect(event);
17945
18266
  }, id: id }, filterAttrs(props)),
17946
- React__default.createElement("div", { className: classNames("arc-MenuCheckboxItem-box", {
17947
- "arc-MenuCheckboxItem-box--checked": checked,
18267
+ React__default.createElement("div", { className: classNames("arc-MenuItemCheckbox-box", {
18268
+ "arc-MenuItemCheckbox-box--checked": checked,
17948
18269
  }) }, checked && (React__default.createElement("svg", { style: { width: 14, height: 11 }, viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
17949
18270
  React__default.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" })))),
17950
18271
  React__default.createElement(MenuItemContentTemplate, null, children)));
@@ -17958,21 +18279,6 @@ var MenuContent = React__default.forwardRef(function (_a, ref) {
17958
18279
  return (React__default.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));
17959
18280
  });
17960
18281
 
17961
- /**
17962
- * Use `Rule` to display a horizontal or vertical rule.
17963
- */
17964
- var Rule = function (_a, props) {
17965
- var _b;
17966
- var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
17967
- var surface = useContext(Context$3).surface;
17968
- return (React__default.createElement("hr", __assign({ className: classNames((_b = {
17969
- "arc-Rule": true
17970
- },
17971
- _b["arc-Rule--".concat(orientation)] = true,
17972
- _b["arc-Rule--onDarkSurface"] = surface === "dark",
17973
- _b)) }, filterAttrs(props))));
17974
- };
17975
-
17976
18282
  /**
17977
18283
  * Displays footer content at the bottom of the menu.
17978
18284
  */
@@ -18046,9 +18352,9 @@ var MenuPortal = function (_a) {
18046
18352
  /**
18047
18353
  * Groups menu items allowing single selection from multiple options.
18048
18354
  */
18049
- var MenuRadioGroup = function (_a) {
18355
+ var MenuGroupSingleSelect = function (_a) {
18050
18356
  var children = _a.children, value = _a.value, onValueChange = _a.onValueChange, props = __rest(_a, ["children", "value", "onValueChange"]);
18051
- return (React__default.createElement(RadioGroup2, __assign({ className: "arc-MenuRadioGroup", value: value, onValueChange: onValueChange }, filterAttrs(props)), children));
18357
+ return (React__default.createElement(RadioGroup2, __assign({ className: "arc-MenuGroupSingleSelect", value: value, onValueChange: onValueChange }, filterAttrs(props)), children));
18052
18358
  };
18053
18359
 
18054
18360
  /**
@@ -18110,9 +18416,9 @@ const BtIconTickAlt2Px =
18110
18416
  /**
18111
18417
  * A selectable menu item used within a radio group.
18112
18418
  */
18113
- var MenuRadioItem = function (_a) {
18419
+ var MenuItemSingleSelect = function (_a) {
18114
18420
  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"]);
18115
- return (React__default.createElement(RadioItem2, __assign({ className: "arc-MenuItem arc-MenuRadioItem", value: value, disabled: disabled, onSelect: function (event) {
18421
+ return (React__default.createElement(RadioItem2, __assign({ className: "arc-MenuItem arc-MenuItemSingleSelect", value: value, disabled: disabled, onSelect: function (event) {
18116
18422
  if (shouldKeepOpen) {
18117
18423
  event.preventDefault();
18118
18424
  }
@@ -18154,9 +18460,9 @@ var MenuSeparator = function (props) {
18154
18460
  };
18155
18461
 
18156
18462
  /**
18157
- * Container for submenu content within a dropdown menu.
18463
+ * Container for multi-level menu content within a dropdown menu.
18158
18464
  */
18159
- var MenuSub = function (_a) {
18465
+ var MenuItemMultiLevel = function (_a) {
18160
18466
  var children = _a.children, props = __rest(_a, ["children"]);
18161
18467
  return React__default.createElement(Sub2, __assign({}, filterAttrs(props)),
18162
18468
  " ",
@@ -18164,17 +18470,17 @@ var MenuSub = function (_a) {
18164
18470
  };
18165
18471
 
18166
18472
  /**
18167
- * The submenu content that pops out when a menu item with children is hovered or clicked.
18473
+ * The multi-level menu content that pops out when a menu item with children is hovered or clicked.
18168
18474
  */
18169
- var MenuSubContent = React__default.forwardRef(function (_a, ref) {
18475
+ var MenuItemMultiLevelContent = React__default.forwardRef(function (_a, ref) {
18170
18476
  var children = _a.children, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, alignOffset = _a.alignOffset, props = __rest(_a, ["children", "width", "minWidth", "maxWidth", "alignOffset"]);
18171
- return (React__default.createElement(SubContent2, __assign({ ref: ref, style: { width: width, minWidth: minWidth, maxWidth: maxWidth }, className: "arc-MenuContent arc-MenuSubContent", sideOffset: 24, collisionPadding: 12, avoidCollisions: true, alignOffset: alignOffset }, filterAttrs(props)), children));
18477
+ return (React__default.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));
18172
18478
  });
18173
18479
 
18174
18480
  /**
18175
- * Trigger element that opens a submenu when selected.
18481
+ * Trigger element that opens a multi-level menu when selected.
18176
18482
  */
18177
- var MenuSubTrigger = function (_a) {
18483
+ var MenuItemMultiLevelTrigger = function (_a) {
18178
18484
  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"]);
18179
18485
  return (React__default.createElement(SubTrigger2, __assign({ className: "arc-MenuItem arc-MenuItem--trigger", disabled: isDisabled, "aria-label": ariaLabel }, filterAttrs(props)),
18180
18486
  React__default.createElement("div", { className: "arc-MenuItem-content" },
@@ -18439,138 +18745,6 @@ var ProgressBar = function (_a) {
18439
18745
  React__default.createElement(ThemeIcon, { icon: PROGRESS_BAR_ICON_MAP[action.icon], size: 24 }))))))))));
18440
18746
  };
18441
18747
 
18442
- var shorterCssColorNames;
18443
- var hasRequiredShorterCssColorNames;
18444
-
18445
- function requireShorterCssColorNames () {
18446
- if (hasRequiredShorterCssColorNames) return shorterCssColorNames;
18447
- hasRequiredShorterCssColorNames = 1;
18448
- shorterCssColorNames = {
18449
- aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
18450
- azure: /#f0ffff(ff)?(?!\w)/gi,
18451
- beige: /#f5f5dc(ff)?(?!\w)/gi,
18452
- bisque: /#ffe4c4(ff)?(?!\w)/gi,
18453
- black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
18454
- blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
18455
- brown: /#a52a2a(ff)?(?!\w)/gi,
18456
- coral: /#ff7f50(ff)?(?!\w)/gi,
18457
- cornsilk: /#fff8dc(ff)?(?!\w)/gi,
18458
- crimson: /#dc143c(ff)?(?!\w)/gi,
18459
- cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
18460
- darkblue: /#00008b(ff)?(?!\w)/gi,
18461
- darkcyan: /#008b8b(ff)?(?!\w)/gi,
18462
- darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
18463
- darkred: /#8b0000(ff)?(?!\w)/gi,
18464
- deeppink: /#ff1493(ff)?(?!\w)/gi,
18465
- dimgrey: /#696969(ff)?(?!\w)/gi,
18466
- gold: /#ffd700(ff)?(?!\w)/gi,
18467
- green: /#008000(ff)?(?!\w)/gi,
18468
- grey: /#808080(ff)?(?!\w)/gi,
18469
- honeydew: /#f0fff0(ff)?(?!\w)/gi,
18470
- hotpink: /#ff69b4(ff)?(?!\w)/gi,
18471
- indigo: /#4b0082(ff)?(?!\w)/gi,
18472
- ivory: /#fffff0(ff)?(?!\w)/gi,
18473
- khaki: /#f0e68c(ff)?(?!\w)/gi,
18474
- lavender: /#e6e6fa(ff)?(?!\w)/gi,
18475
- lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
18476
- linen: /#faf0e6(ff)?(?!\w)/gi,
18477
- maroon: /#800000(ff)?(?!\w)/gi,
18478
- moccasin: /#ffe4b5(ff)?(?!\w)/gi,
18479
- navy: /#000080(ff)?(?!\w)/gi,
18480
- oldlace: /#fdf5e6(ff)?(?!\w)/gi,
18481
- olive: /#808000(ff)?(?!\w)/gi,
18482
- orange: /#ffa500(ff)?(?!\w)/gi,
18483
- orchid: /#da70d6(ff)?(?!\w)/gi,
18484
- peru: /#cd853f(ff)?(?!\w)/gi,
18485
- pink: /#ffc0cb(ff)?(?!\w)/gi,
18486
- plum: /#dda0dd(ff)?(?!\w)/gi,
18487
- purple: /#800080(ff)?(?!\w)/gi,
18488
- red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
18489
- salmon: /#fa8072(ff)?(?!\w)/gi,
18490
- seagreen: /#2e8b57(ff)?(?!\w)/gi,
18491
- seashell: /#fff5ee(ff)?(?!\w)/gi,
18492
- sienna: /#a0522d(ff)?(?!\w)/gi,
18493
- silver: /#c0c0c0(ff)?(?!\w)/gi,
18494
- skyblue: /#87ceeb(ff)?(?!\w)/gi,
18495
- snow: /#fffafa(ff)?(?!\w)/gi,
18496
- tan: /#d2b48c(ff)?(?!\w)/gi,
18497
- teal: /#008080(ff)?(?!\w)/gi,
18498
- thistle: /#d8bfd8(ff)?(?!\w)/gi,
18499
- tomato: /#ff6347(ff)?(?!\w)/gi,
18500
- violet: /#ee82ee(ff)?(?!\w)/gi,
18501
- wheat: /#f5deb3(ff)?(?!\w)/gi,
18502
- white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
18503
- };
18504
- return shorterCssColorNames;
18505
- }
18506
-
18507
- var miniSvgDataUri;
18508
- var hasRequiredMiniSvgDataUri;
18509
-
18510
- function requireMiniSvgDataUri () {
18511
- if (hasRequiredMiniSvgDataUri) return miniSvgDataUri;
18512
- hasRequiredMiniSvgDataUri = 1;
18513
- var shorterNames = requireShorterCssColorNames();
18514
- var REGEX = {
18515
- whitespace: /\s+/g,
18516
- urlHexPairs: /%[\dA-F]{2}/g,
18517
- quotes: /"/g,
18518
- };
18519
-
18520
- function collapseWhitespace(str) {
18521
- return str.trim().replace(REGEX.whitespace, ' ');
18522
- }
18523
-
18524
- function dataURIPayload(string) {
18525
- return encodeURIComponent(string)
18526
- .replace(REGEX.urlHexPairs, specialHexEncode);
18527
- }
18528
-
18529
- // `#` gets converted to `%23`, so quite a few CSS named colors are shorter than
18530
- // their equivalent URL-encoded hex codes.
18531
- function colorCodeToShorterNames(string) {
18532
- Object.keys(shorterNames).forEach(function(key) {
18533
- if (shorterNames[key].test(string)) {
18534
- string = string.replace(shorterNames[key], key);
18535
- }
18536
- });
18537
-
18538
- return string;
18539
- }
18540
-
18541
- function specialHexEncode(match) {
18542
- switch (match) { // Browsers tolerate these characters, and they're frequent
18543
- case '%20': return ' ';
18544
- case '%3D': return '=';
18545
- case '%3A': return ':';
18546
- case '%2F': return '/';
18547
- default: return match.toLowerCase(); // compresses better
18548
- }
18549
- }
18550
-
18551
- function svgToTinyDataUri(svgString) {
18552
- if (typeof svgString !== 'string') {
18553
- throw new TypeError('Expected a string, but received ' + typeof svgString);
18554
- }
18555
- // Strip the Byte-Order Mark if the SVG has one
18556
- if (svgString.charCodeAt(0) === 0xfeff) { svgString = svgString.slice(1); }
18557
-
18558
- var body = colorCodeToShorterNames(collapseWhitespace(svgString))
18559
- .replace(REGEX.quotes, "'");
18560
- return 'data:image/svg+xml,' + dataURIPayload(body);
18561
- }
18562
-
18563
- svgToTinyDataUri.toSrcset = function toSrcset(svgString) {
18564
- return svgToTinyDataUri(svgString).replace(/ /g, '%20');
18565
- };
18566
-
18567
- miniSvgDataUri = svgToTinyDataUri;
18568
- return miniSvgDataUri;
18569
- }
18570
-
18571
- var miniSvgDataUriExports = requireMiniSvgDataUri();
18572
- var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
18573
-
18574
18748
  // src/capitalise-first-letter/capitalise-first-letter.ts
18575
18749
  var capitaliseFirstLetter = (word) => {
18576
18750
  return word.charAt(0).toUpperCase() + word.slice(1);
@@ -18629,18 +18803,152 @@ var ProgressStepperItem = function (_a) {
18629
18803
 
18630
18804
  /** Use `ProgressStepper` to provide an overview of a series of steps in a digital journey. */
18631
18805
  var ProgressStepper = function (_a) {
18632
- 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"]);
18806
+ 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"]);
18633
18807
  var items = React__default.Children.toArray(children);
18634
18808
  var getStepStatus = function (item) {
18635
18809
  var _a;
18636
18810
  return (_a = item === null || item === void 0 ? void 0 : item.props) === null || _a === void 0 ? void 0 : _a.status;
18637
18811
  };
18638
- return (React__default.createElement("div", __assign({ className: classNames("arc-ProgressStepper", {
18812
+ return (React__default.createElement("div", __assign({ ref: ref, className: classNames("arc-ProgressStepper", {
18639
18813
  "arc-ProgressStepper--vertical": direction === "vertical",
18640
18814
  }) }, filterAttrs(props)), items.map(function (item, index) { return (React__default.createElement(React__default.Fragment, { key: "StepperItem-".concat(index) },
18641
18815
  React__default.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))))); })));
18642
18816
  };
18643
18817
 
18818
+ /** Use `ProgressStepperOverflow` to wrap `ProgressStepperItem`s and allow overflow behaviour. */
18819
+ var ProgressStepperOverflow = forwardRef(function (_a, stepperRef) {
18820
+ 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"]);
18821
+ var _c = useState(onLoadStep ? onLoadStep : 0), activeIndex = _c[0], setActiveIndex = _c[1];
18822
+ var _d = useState(0), closestScrolledIndex = _d[0], setClosestScrolledIndex = _d[1];
18823
+ var _e = useState(true), lastStepVisible = _e[0], setLastStepVisible = _e[1];
18824
+ var containerRef = useRef(null);
18825
+ useImperativeHandle(stepperRef, function () { return ({
18826
+ handleStepScroll: handleStepScroll,
18827
+ scrollToStep: scrollToStep,
18828
+ handleViewScroll: handleViewScroll,
18829
+ isLastChildVisible: isLastChildVisible,
18830
+ }); });
18831
+ // Add Horizontal Scroll Event Listener
18832
+ useEffect(function () {
18833
+ var _a, _b;
18834
+ var checkClosest = debounce(function () {
18835
+ var closestIndex = findClosestIndex();
18836
+ setClosestScrolledIndex(closestIndex);
18837
+ }, 100);
18838
+ var checkLastChild = debounce(function () {
18839
+ var lastVisible = isLastChildVisible();
18840
+ if (lastVisible) {
18841
+ setLastStepVisible(true);
18842
+ }
18843
+ else
18844
+ setLastStepVisible(false);
18845
+ }, 100);
18846
+ (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener("scroll", checkLastChild);
18847
+ (_b = containerRef.current) === null || _b === void 0 ? void 0 : _b.addEventListener("scroll", checkClosest);
18848
+ return function () {
18849
+ var _a;
18850
+ (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", checkClosest);
18851
+ checkLastChild.cancel();
18852
+ };
18853
+ }, []);
18854
+ // Scroll to activeIndex
18855
+ useEffect(function () {
18856
+ scrollTo();
18857
+ }, [activeIndex]);
18858
+ // Exposing changes in activeIndex outside of component
18859
+ useEffect(function () {
18860
+ onIndexChange === null || onIndexChange === void 0 ? void 0 : onIndexChange(closestScrolledIndex);
18861
+ isLastChildVisible();
18862
+ }, [closestScrolledIndex, onIndexChange, lastStepVisible]);
18863
+ // helper functions - start
18864
+ var getProgressStepper = function () { var _a; return (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.firstChild; };
18865
+ var getStepChildren = function () {
18866
+ var _a;
18867
+ return Array.from(((_a = getProgressStepper()) === null || _a === void 0 ? void 0 : _a.children) || []);
18868
+ };
18869
+ var getLeftRects = function (children) {
18870
+ var container = getProgressStepper();
18871
+ if (!container)
18872
+ return [];
18873
+ var parentRect = container.getBoundingClientRect();
18874
+ return children.map(function (child) {
18875
+ var childRect = child.getBoundingClientRect();
18876
+ return {
18877
+ left: childRect.left - parentRect.left,
18878
+ };
18879
+ });
18880
+ };
18881
+ var indexOfClosest = function (values) {
18882
+ return values.indexOf(Math.min.apply(Math, values));
18883
+ };
18884
+ // helper functions - end
18885
+ var isLastChildVisible = function () {
18886
+ var _a;
18887
+ var steps = getStepChildren();
18888
+ var lastStep = steps[steps.length - 1];
18889
+ var rect = lastStep.getBoundingClientRect();
18890
+ var containerRect = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
18891
+ return rect.right <= containerRect.right;
18892
+ };
18893
+ // Used for onScroll function of scrolling without buttons
18894
+ var findClosestIndex = function () {
18895
+ var _a, _b;
18896
+ var children = getStepChildren();
18897
+ var scrolledAmount = (_b = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.scrollLeft) !== null && _b !== void 0 ? _b : 0;
18898
+ // compare the scrolled amount to the intial left edge distance for each step
18899
+ var getScrollDistances = function (children, scrolledAmount) {
18900
+ return getLeftRects(children).map(function (rect) {
18901
+ return Math.abs(scrolledAmount - rect.left);
18902
+ });
18903
+ };
18904
+ var closestIndex = indexOfClosest(getScrollDistances(children, scrolledAmount));
18905
+ return closestIndex;
18906
+ };
18907
+ // Scroll active step to the far left of the page
18908
+ var scrollTo = function () {
18909
+ var _a, _b;
18910
+ var activeStep = (_a = getProgressStepper()) === null || _a === void 0 ? void 0 : _a.children[activeIndex];
18911
+ if (activeStep) {
18912
+ (_b = containerRef.current) === null || _b === void 0 ? void 0 : _b.scrollTo({
18913
+ left: activeStep.offsetLeft - offsetLeft,
18914
+ behavior: "smooth",
18915
+ });
18916
+ }
18917
+ };
18918
+ var handleStepScroll = function (increment) {
18919
+ // Account for any manual scrolling set closest index to active index
18920
+ setActiveIndex(closestScrolledIndex);
18921
+ var newIndex = closestScrolledIndex + increment;
18922
+ setActiveIndex(newIndex);
18923
+ // If clicking backwards to include half visible step
18924
+ if (closestScrolledIndex + increment === activeIndex) {
18925
+ scrollTo();
18926
+ }
18927
+ if (closestScrolledIndex + increment < 0) {
18928
+ setActiveIndex(0);
18929
+ scrollTo();
18930
+ }
18931
+ };
18932
+ // Used to scroll by Parent width
18933
+ var handleViewScroll = function (direction) {
18934
+ var _a;
18935
+ var clientWidth = ((_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.clientWidth) || 0;
18936
+ var stepper = containerRef.current;
18937
+ if (!stepper)
18938
+ return;
18939
+ stepper.scrollBy({
18940
+ left: direction ? clientWidth : -clientWidth,
18941
+ behavior: "smooth",
18942
+ });
18943
+ };
18944
+ // Used to set a specific step to jump to on a button click
18945
+ var scrollToStep = function (step) {
18946
+ setActiveIndex(step);
18947
+ };
18948
+ return (React__default.createElement("div", __assign({ ref: containerRef, className: "arc-ProgressStepperOverflow", style: { paddingLeft: offsetLeft } }, filterAttrs(props)),
18949
+ React__default.createElement(ProgressStepper, { size: size, invertLabelPosition: invertLabelPosition, isFluid: false }, children)));
18950
+ });
18951
+
18644
18952
  var RadioContext$1 = createContext({});
18645
18953
  var Provider$3 = RadioContext$1.Provider;
18646
18954
  var useRadioContext$1 = function () {
@@ -18776,7 +19084,10 @@ var ScrollToTop = function (_a) {
18776
19084
  setHasScrolled(window.scrollY > 0);
18777
19085
  }, 100);
18778
19086
  window.addEventListener("scroll", handleScroll);
18779
- return function () { return window.removeEventListener("scroll", handleScroll); };
19087
+ return function () {
19088
+ window.removeEventListener("scroll", handleScroll);
19089
+ handleScroll.cancel();
19090
+ };
18780
19091
  });
18781
19092
  var onClick = function () {
18782
19093
  window.scrollTo({
@@ -18888,16 +19199,20 @@ var SiteFooter = function (_a) {
18888
19199
  React__default.createElement("span", { className: "arc-SiteFooter-copyrightSymbol" }, "\u00A9"), " ".concat(currentYear || new Date().getFullYear())),
18889
19200
  React__default.createElement(BrandLogo, { label: logoLabel }))))))));
18890
19201
  };
18891
- var SiteFooterItemGroup = function (_a) {
18892
- var children = _a.children, title = _a.title;
18893
- var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
18894
- return (React__default.createElement("details", { className: "arc-SiteFooter-disclosure", open: isMinWidthArcBreakpointM },
18895
- React__default.createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
19202
+ var SiteFooterItemDisclosure = function (_a) {
19203
+ var title = _a.title, children = _a.children, open = _a.open, tabIndex = _a.tabIndex;
19204
+ return (React__default.createElement("details", { className: "arc-SiteFooter-disclosure", open: open },
19205
+ React__default.createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: tabIndex },
18896
19206
  React__default.createElement("span", { className: "arc-SiteFooter-icon" },
18897
19207
  React__default.createElement(ThemeIcon, { icon: "siteFooterExpand" })),
18898
19208
  React__default.createElement("h2", { className: "arc-SiteFooter-title" }, title)),
18899
19209
  React__default.createElement("ul", { className: "arc-SiteFooter-mainItems" }, children)));
18900
19210
  };
19211
+ var SiteFooterItemGroup = function (props) { return (React__default.createElement(React__default.Fragment, null,
19212
+ React__default.createElement(Visible, { "data-testid": "mobile-disclosure", xs: true, s: true },
19213
+ React__default.createElement(SiteFooterItemDisclosure, __assign({}, props, { tabIndex: 0 }))),
19214
+ React__default.createElement(Visible, { "data-testid": "desktop-disclosure", m: true, l: true, xl: true },
19215
+ React__default.createElement(SiteFooterItemDisclosure, __assign({}, props, { open: true, tabIndex: -1 }))))); };
18901
19216
  var SiteFooterItem = function (_a) {
18902
19217
  var children = _a.children, href = _a.href, onClick = _a.onClick, props = __rest(_a, ["children", "href", "onClick"]);
18903
19218
  return (React__default.createElement("li", __assign({ className: "arc-SiteFooter-item" }, filterAttrs(props)),
@@ -18920,35 +19235,33 @@ var SiteFooterV2 = function (_a) {
18920
19235
  React__default.createElement("h2", { className: "arc-SiteFooterV2-slogan" }, slogan),
18921
19236
  React__default.createElement(VerticalSpace, { size: "32" }))),
18922
19237
  React__default.createElement("div", { className: "arc-SiteFooterV2-main-utility" }, children)),
18923
- React__default.createElement(VerticalSpace, { size: "24" }),
18924
- " "));
19238
+ React__default.createElement(VerticalSpace, { size: "24" })));
18925
19239
  };
18926
19240
 
18927
- /**
18928
- * Do not edit directly
18929
- * Generated on Tue, 10 Jun 2025 09:53:42 GMT
18930
- */
18931
- var SemSizeBreakpointsM = "768px"; // Medium (MD) - 768px to 991px: This is commonly used for larger tablets and smaller desktop screens.
18932
-
18933
19241
  var SiteFooterV2Main = function (_a) {
18934
19242
  var children = _a.children, _b = _a.columns, columns = _b === void 0 ? 4 : _b, props = __rest(_a, ["children", "columns"]);
18935
- var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsL, ")"));
18936
- return (React__default.createElement("nav", __assign({ className: "arc-SiteFooterV2-main ".concat(isMinWidthArcBreakpointL &&
18937
- columns === 3 &&
18938
- "arc-SiteFooterV2-main-3Columns"), "aria-label": "Footer navigation links" }, filterAttrs(props)), children));
18939
- };
18940
- var SiteFooterV2ItemGroup = function (_a) {
18941
- var children = _a.children, title = _a.title, _b = _a.hideDisclosure, hideDisclosure = _b === void 0 ? false : _b, props = __rest(_a, ["children", "title", "hideDisclosure"]);
18942
- var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(SemSizeBreakpointsM, ")"));
18943
- return (React__default.createElement("details", __assign({ open: isMinWidthArcBreakpointM, className: classNames("arc-SiteFooterV2-disclosure", {
18944
- "arc-SiteFooterV2-disclosure--hidden": !isMinWidthArcBreakpointM && hideDisclosure,
18945
- }), "aria-label": title }, filterAttrs(props)),
18946
- React__default.createElement("summary", { className: "arc-SiteFooterV2-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
19243
+ return (React__default.createElement("nav", __assign({ className: classNames("arc-SiteFooterV2-main", {
19244
+ "arc-SiteFooterV2-main-3Columns": columns === 3,
19245
+ }), "aria-label": "Footer navigation links" }, filterAttrs(props)), children));
19246
+ };
19247
+ var SiteFooterV2ItemDisclosure = function (_a) {
19248
+ var children = _a.children, title = _a.title, open = _a.open, tabIndex = _a.tabIndex, props = __rest(_a, ["children", "title", "open", "tabIndex"]);
19249
+ return (React__default.createElement("details", __assign({ open: open, className: "arc-SiteFooterV2-disclosure", "aria-label": title }, filterAttrs(props)),
19250
+ React__default.createElement("summary", { className: "arc-SiteFooterV2-summary", tabIndex: tabIndex },
18947
19251
  React__default.createElement("span", { className: "arc-SiteFooterV2-icon" },
18948
19252
  React__default.createElement(ThemeIcon, { icon: "siteFooterExpand" })),
18949
19253
  React__default.createElement("h2", { className: "arc-SiteFooterV2-itemGroupTitle" }, title)),
18950
19254
  React__default.createElement("ul", { className: "arc-SiteFooterV2-itemGroup" }, children)));
18951
19255
  };
19256
+ var SiteFooterV2ItemGroup = function (_a) {
19257
+ var hideDisclosure = _a.hideDisclosure, props = __rest(_a, ["hideDisclosure"]);
19258
+ return (React__default.createElement("div", null,
19259
+ React__default.createElement(Visible, { "data-testid": "mobile-disclosure", xs: !hideDisclosure, s: !hideDisclosure },
19260
+ React__default.createElement(SiteFooterV2ItemDisclosure, __assign({}, props, { tabIndex: 0 }))),
19261
+ React__default.createElement(Visible, { "data-testid": "desktop-disclosure", m: true, l: true, xl: true },
19262
+ React__default.createElement(SiteFooterV2ItemDisclosure, __assign({}, props, { open: true, tabIndex: -1 })),
19263
+ React__default.createElement(VerticalSpace, { size: "12" }))));
19264
+ };
18952
19265
  var SiteFooterV2Item = function (_a) {
18953
19266
  var children = _a.children, href = _a.href, onClick = _a.onClick, props = __rest(_a, ["children", "href", "onClick"]);
18954
19267
  return (React__default.createElement("li", __assign({ className: "arc-SiteFooterV2-item" }, filterAttrs(props)),
@@ -19811,7 +20124,10 @@ var TabbedBanner = function (_a) {
19811
20124
  useEffect(function () {
19812
20125
  handleResize();
19813
20126
  window.addEventListener("resize", handleResize);
19814
- return function () { return window.removeEventListener("resize", handleResize); };
20127
+ return function () {
20128
+ window.removeEventListener("resize", handleResize);
20129
+ handleResize.cancel();
20130
+ };
19815
20131
  }, [isBelowArcSizeBreakpointsM]);
19816
20132
  return (React__default.createElement("div", { className: "arc-TabbedBanner" }, !isBelowArcSizeBreakpointsM ? (React__default.createElement("div", null,
19817
20133
  React__default.createElement(ContentSwitcher, { value: selectedTab, onValueChange: function (value) { return setSelectedTab(value); } },
@@ -19993,7 +20309,7 @@ var TextArea = forwardRef(function (_a, ref) {
19993
20309
  var package_default = {
19994
20310
  name: "@arc-ui/helpers",
19995
20311
  private: true,
19996
- version: "12.0.0-beta.19",
20312
+ version: "12.0.0-beta.20",
19997
20313
  type: "module",
19998
20314
  homepage: "https://ui.digital-ent-int.bt.com",
19999
20315
  author: "BT Enterprise Digital UI Team <ui-digital-ent-int@bt.com>",
@@ -20058,12 +20374,11 @@ var themes = ["bt-enterprise", "bt-business", "ee"];
20058
20374
 
20059
20375
  var ThumbnailSignpost = function (_a) {
20060
20376
  var text = _a.text, title = _a.title, img = _a.img, button = _a.button, props = __rest(_a, ["text", "title", "img", "button"]);
20061
- var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsS, ")"));
20062
20377
  return (React__default.createElement("div", __assign({ className: "arc-ThumbnailSignpost" }, filterAttrs(props)),
20063
20378
  (img === null || img === void 0 ? void 0 : img.src) && (React__default.createElement("div", { className: "arc-ThumbnailSignpost-image" },
20064
20379
  React__default.createElement(Image, __assign({}, img)))),
20065
20380
  React__default.createElement("div", { className: "arc-ThumbnailSignpost-content" },
20066
- React__default.createElement(Heading, { size: isMinWidthArcBreakpointS ? "s" : "xs" }, title),
20381
+ React__default.createElement("span", { className: "arc-ThumbnailSignpost-heading" }, title),
20067
20382
  React__default.createElement(VerticalSpace, { size: "8" }),
20068
20383
  text,
20069
20384
  React__default.createElement(ButtonV2, __assign({ buttonStyle: "compact", icon: BtIconArrowRight }, button)))));
@@ -22407,7 +22722,9 @@ var TypographyCard = function (_a) {
22407
22722
  "arc-TypographyCard--onDarkSurface": surface === "dark",
22408
22723
  }) }, filterAttrs(props)),
22409
22724
  React__default.createElement("div", { className: "arc-TypographyCard-contentContainer" },
22410
- label && (React__default.createElement("div", { className: "arc-TypographyCard-label" }, label.toUpperCase())),
22725
+ label && (React__default.createElement("div", { className: "arc-TypographyCard-label" },
22726
+ React__default.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
22727
+ React__default.createElement(VerticalSpace, { size: "16" }))),
22411
22728
  React__default.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) })),
22412
22729
  React__default.createElement(CardFooter, { showButton: true, isDarkPathway: isDarkPathway, buttonIcon: buttonIcon, metaText: metaText, isHovered: showHoverState })));
22413
22730
  };
@@ -25618,17 +25935,6 @@ var index = /*#__PURE__*/Object.freeze({
25618
25935
  VideoPlayer: VideoPlayer
25619
25936
  });
25620
25937
 
25621
- var Visible = function (_a) {
25622
- 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"]);
25623
- return (React__default.createElement("div", __assign({ className: classNames("arc-Visible", {
25624
- "arc-Visible--xs": xs,
25625
- "arc-Visible--s": s,
25626
- "arc-Visible--m": m,
25627
- "arc-Visible--l": l,
25628
- "arc-Visible--xl": xl,
25629
- }) }, filterAttrs(props)), children));
25630
- };
25631
-
25632
25938
  var Preview_1;
25633
25939
  var hasRequiredPreview;
25634
25940
 
@@ -25783,5 +26089,5 @@ var Preview$1 = /*#__PURE__*/_mergeNamespaces({
25783
26089
  default: Preview
25784
26090
  }, [PreviewExports]);
25785
26091
 
25786
- export { Alert, Align, AppButton, Avatar, AvatarGroup, Badge, Banner, Box, BrandLogo, colors as BrandLogoColors, Breadcrumbs, BreadcrumbsItem, BreadcrumbsLink, Button, ButtonGroup, ButtonV2, Calendar, Carousel, Checkbox, Columns, ColumnsCol, ComboBox, ContentSwitcher, ContentSwitcherContent, ContentSwitcherDropdown, ContentSwitcherDropdownContent, ContentSwitcherList, ContentSwitcherTab, DATE_FORMAT, DatePicker, Disclosure, DisclosureMini, Download, Drawer, Elevation, Filter, FilterControl, FilterControls, FilterItem, FilterItems, FormControl, Context$2 as FormControlContext, GhostedHeroBanner, GradientBackground, Grid, GridCol, GridRow, Group$1 as Group, GroupItem, Heading, HeroBanner, HeroButton, Hidden, HorizontalCard, Icon$1 as Icon, colors$1 as IconColors, Image, fitOptions as ImageFitOptions, overlayOptions as ImageOverlayOptions, ImageSource, ImpactCard, InformationCard, Link, Markup, MediaCard, Menu, MenuCheckboxItem, MenuContent, MenuFooter, MenuGroup, MenuHeader, MenuItem, MenuItemContentTemplate, MenuLabel, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuScrollable, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger, Modal, Pagination, PaginationSimple, Popover, Poster, PosterImage, PosterVideo, ProgressBar, ProgressStepper, ProgressStepperItem, RadioCardGroup, RadioCardGroupInput, RadioGroup, RadioGroupButton, RadioGroupInput, Rule, ScrollToTop, Section, Select, SiteFooter, SiteFooterItem, SiteFooterItemGroup, SiteFooterV2, SiteFooterV2Item, SiteFooterV2ItemGroup, SiteFooterV2Main, SiteFooterV2Utility, SiteHeaderV2, SiteHeaderV2Column, SiteHeaderV2Item, SiteHeaderV2ItemGroup, SiteHeaderV2NavItem, SiteHeaderV2NavItemWithSubNav, SiteHeaderV2NodeItem, SiteHeaderV2SubNavItem, SiteHeaderV2VerticalDivider, Skeleton, SkipLink, SkipLinkItem, Spinner, Surface, Context$3 as SurfaceContext, Switch, TabbedBanner, Tabs, TabsContent, TabsItem, TabsList, Tag, TemplateBanner, Text, TextArea, TextInput, Theme, ThemeIcon, ThumbnailSignpost, Toast, ToastNotification, Tooltip, Truncate, TypographyCard, UniversalHeader, UniversalHeaderItem, VerticalSpace, VideoPlayer, Visible, VisuallyHidden$2 as VisuallyHidden, backgrounds, backgroundsBT, isDateValid, isRangeValid, loadingOptions, parseDateString, parseRangeString, themes, useMediaQuery };
26092
+ export { Alert, Align, AppButton, Avatar, AvatarGroup, Badge, Banner, Box, BrandLogo, colors as BrandLogoColors, Breadcrumbs, BreadcrumbsItem, BreadcrumbsLink, Button, ButtonGroup, ButtonV2, Calendar, Carousel, Checkbox, Columns, ColumnsCol, ComboBox, ContentSwitcher, ContentSwitcherContent, ContentSwitcherDropdown, ContentSwitcherDropdownContent, ContentSwitcherList, ContentSwitcherTab, DATE_FORMAT, DatePicker, DatePickerRange, Disclosure, DisclosureMini, Download, Drawer, DrawerContent, DrawerFooter, DrawerHeader, Elevation, Filter, FilterControl, FilterControls, FilterItem, FilterItems, FormControl, Context$2 as FormControlContext, GhostedHeroBanner, GradientPageBackground, Grid, GridCol, GridRow, Group$1 as Group, GroupItem, Heading, HeroBanner, HeroButton, Hidden, HorizontalCard, Icon$1 as Icon, colors$1 as IconColors, Image, fitOptions as ImageFitOptions, overlayOptions as ImageOverlayOptions, ImageSource, ImpactCard, InformationCard, Link, Markup, MediaCard, Menu, MenuContent, MenuFooter, MenuGroup, MenuGroupSingleSelect, MenuHeader, MenuItem, MenuItemCheckbox, MenuItemContentTemplate, MenuItemMultiLevel, MenuItemMultiLevelContent, MenuItemMultiLevelTrigger, MenuItemSingleSelect, MenuLabel, MenuPortal, MenuScrollable, MenuSeparator, MenuTrigger, Modal, Pagination, PaginationSimple, Popover, Poster, PosterImage, PosterVideo, ProgressBar, ProgressStepper, ProgressStepperItem, ProgressStepperOverflow, RadioCardGroup, RadioCardGroupInput, RadioGroup, RadioGroupButton, RadioGroupInput, Rule, ScrollToTop, Section, Select, SiteFooter, SiteFooterItem, SiteFooterItemGroup, SiteFooterV2, SiteFooterV2Item, SiteFooterV2ItemGroup, SiteFooterV2Main, SiteFooterV2Utility, SiteHeaderV2, SiteHeaderV2Column, SiteHeaderV2Item, SiteHeaderV2ItemGroup, SiteHeaderV2NavItem, SiteHeaderV2NavItemWithSubNav, SiteHeaderV2NodeItem, SiteHeaderV2SubNavItem, SiteHeaderV2VerticalDivider, Skeleton, SkipLink, SkipLinkItem, Spinner, Surface, Context$3 as SurfaceContext, Switch, TabbedBanner, Tabs, TabsContent, TabsItem, TabsList, Tag, TemplateBanner, Text, TextArea, TextInput, Theme, ThemeIcon, ThumbnailSignpost, Toast, ToastNotification, Tooltip, Truncate, TypographyCard, UniversalHeader, UniversalHeaderItem, VerticalSpace, VideoPlayer, Visible, VisuallyHidden$2 as VisuallyHidden, backgrounds, backgroundsBT, isDateValid, isRangeValid, loadingOptions, parseDateString, parseRangeString, themes, useMediaQuery };
25787
26093
  //# sourceMappingURL=index.mjs.map