@smg-automotive/components 27.3.2-components-cleanup.2 → 27.3.2-fix-components-bundlesize.1

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 (159) hide show
  1. package/dist/cjs/index.js +135 -129
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/page-layout.js +24 -0
  4. package/dist/cjs/page-layout.js.map +1 -0
  5. package/dist/cjs/theme-provider/autoscout24.js +1 -0
  6. package/dist/cjs/theme-provider/autoscout24.js.map +1 -1
  7. package/dist/cjs/theme-provider/motoscout24.js +1 -0
  8. package/dist/cjs/theme-provider/motoscout24.js.map +1 -1
  9. package/dist/cjs/themeProvider.js +1 -0
  10. package/dist/cjs/themeProvider.js.map +1 -1
  11. package/dist/esm/components/accordion/AccordionButton.js +2 -1
  12. package/dist/esm/components/accordion/AccordionButton.js.map +1 -1
  13. package/dist/esm/components/accordion/AccordionItem.js +1 -0
  14. package/dist/esm/components/accordion/AccordionItem.js.map +1 -1
  15. package/dist/esm/components/adapter/Box/index.js +1 -1
  16. package/dist/esm/components/aspectRatio/index.js +1 -1
  17. package/dist/esm/components/aspectRatio/index.js.map +1 -1
  18. package/dist/esm/components/button/index.js +1 -0
  19. package/dist/esm/components/button/index.js.map +1 -1
  20. package/dist/esm/components/card/index.js.map +1 -1
  21. package/dist/esm/components/carousel/DotsPagination.js +2 -1
  22. package/dist/esm/components/carousel/DotsPagination.js.map +1 -1
  23. package/dist/esm/components/carousel/NumbersPagination.js +1 -1
  24. package/dist/esm/components/carousel/Slide.js +2 -1
  25. package/dist/esm/components/carousel/Slide.js.map +1 -1
  26. package/dist/esm/components/carousel/ThumbnailPagination.js +2 -1
  27. package/dist/esm/components/carousel/ThumbnailPagination.js.map +1 -1
  28. package/dist/esm/components/carousel/index.js +3 -1
  29. package/dist/esm/components/carousel/index.js.map +1 -1
  30. package/dist/esm/components/dialog/index.js +2 -1
  31. package/dist/esm/components/dialog/index.js.map +1 -1
  32. package/dist/esm/components/drawer/index.js +1 -0
  33. package/dist/esm/components/drawer/index.js.map +1 -1
  34. package/dist/esm/components/energyLabel/index.js +2 -1
  35. package/dist/esm/components/energyLabel/index.js.map +1 -1
  36. package/dist/esm/components/errorPage/content/EmailChangeVerification.js +1 -1
  37. package/dist/esm/components/filterPatterns/popover/Content.js +1 -0
  38. package/dist/esm/components/filterPatterns/popover/Content.js.map +1 -1
  39. package/dist/esm/components/filterPatterns/popover/Popover.js +3 -1
  40. package/dist/esm/components/filterPatterns/popover/Popover.js.map +1 -1
  41. package/dist/esm/components/focusedHeader/index.js +2 -1
  42. package/dist/esm/components/focusedHeader/index.js.map +1 -1
  43. package/dist/esm/components/formControlSection/index.js +2 -1
  44. package/dist/esm/components/formControlSection/index.js.map +1 -1
  45. package/dist/esm/components/fullHeight/index.js +1 -1
  46. package/dist/esm/components/galleryHeader/Content.js +3 -1
  47. package/dist/esm/components/galleryHeader/Content.js.map +1 -1
  48. package/dist/esm/components/grid/index.js +1 -1
  49. package/dist/esm/components/grid/index.js.map +1 -1
  50. package/dist/esm/components/input/SearchField.js +1 -0
  51. package/dist/esm/components/input/SearchField.js.map +1 -1
  52. package/dist/esm/components/input/index.js +1 -0
  53. package/dist/esm/components/input/index.js.map +1 -1
  54. package/dist/esm/components/layout/Page.js +1 -0
  55. package/dist/esm/components/layout/Page.js.map +1 -1
  56. package/dist/esm/components/layout/SingleColumnCentered.js +2 -1
  57. package/dist/esm/components/layout/SingleColumnCentered.js.map +1 -1
  58. package/dist/esm/components/layout/WithVehicleReference.js +1 -1
  59. package/dist/esm/components/list/SearchableList.js +1 -0
  60. package/dist/esm/components/list/SearchableList.js.map +1 -1
  61. package/dist/esm/components/list/index.js.map +1 -1
  62. package/dist/esm/components/missingImage/index.js +1 -1
  63. package/dist/esm/components/mobileOnlyAccordion/MobileOnlyAccordionButton.js +1 -1
  64. package/dist/esm/components/mobileOnlyAccordion/MobileOnlyAccordionPanel.js +1 -1
  65. package/dist/esm/components/navigation/footer/Companies.js +1 -1
  66. package/dist/esm/components/navigation/footer/Copyright.js +1 -1
  67. package/dist/esm/components/navigation/footer/LanguageNavigation.js +1 -1
  68. package/dist/esm/components/navigation/footer/index.js +2 -1
  69. package/dist/esm/components/navigation/footer/index.js.map +1 -1
  70. package/dist/esm/components/navigation/header/ComparisonItem.js +2 -1
  71. package/dist/esm/components/navigation/header/ComparisonItem.js.map +1 -1
  72. package/dist/esm/components/navigation/header/MobileMenuToggle.js +1 -1
  73. package/dist/esm/components/navigation/header/NavigationAvatar.js +2 -1
  74. package/dist/esm/components/navigation/header/NavigationAvatar.js.map +1 -1
  75. package/dist/esm/components/navigation/header/NavigationItem.js +2 -1
  76. package/dist/esm/components/navigation/header/NavigationItem.js.map +1 -1
  77. package/dist/esm/components/navigation/header/NavigationItems.js +2 -1
  78. package/dist/esm/components/navigation/header/NavigationItems.js.map +1 -1
  79. package/dist/esm/components/navigation/header/NavigationLanguageMenu.js +1 -1
  80. package/dist/esm/components/navigation/header/drawer/DrawerIndicator.js +1 -1
  81. package/dist/esm/components/navigation/header/drawer/DrawerNavigationLink.js +1 -1
  82. package/dist/esm/components/navigation/header/drawer/DrawerSections.js +2 -1
  83. package/dist/esm/components/navigation/header/drawer/DrawerSections.js.map +1 -1
  84. package/dist/esm/components/navigation/header/drawer/userInfo/SelectedTenantInfo.js +1 -1
  85. package/dist/esm/components/navigation/header/drawer/userInfo/TenantSelectionMenu.js +1 -1
  86. package/dist/esm/components/navigation/header/drawer/userInfo/index.js +2 -1
  87. package/dist/esm/components/navigation/header/drawer/userInfo/index.js.map +1 -1
  88. package/dist/esm/components/navigation/header/index.js +2 -1
  89. package/dist/esm/components/navigation/header/index.js.map +1 -1
  90. package/dist/esm/components/navigation/header/links/HeaderLink.js +1 -1
  91. package/dist/esm/components/navigation/header/links/NavigationLink.js +1 -1
  92. package/dist/esm/components/navigation/header/navigationTenantMenu/Loading.js +1 -1
  93. package/dist/esm/components/navigation/header/navigationTenantMenu/index.js +2 -1
  94. package/dist/esm/components/navigation/header/navigationTenantMenu/index.js.map +1 -1
  95. package/dist/esm/components/pagination/index.js +1 -0
  96. package/dist/esm/components/pagination/index.js.map +1 -1
  97. package/dist/esm/components/radio/RadioList.js +2 -1
  98. package/dist/esm/components/radio/RadioList.js.map +1 -1
  99. package/dist/esm/components/radio/RadioListItem.js +3 -1
  100. package/dist/esm/components/radio/RadioListItem.js.map +1 -1
  101. package/dist/esm/components/radio/index.js +1 -0
  102. package/dist/esm/components/radio/index.js.map +1 -1
  103. package/dist/esm/components/rangeFilterInput/InputGroup.js +1 -0
  104. package/dist/esm/components/rangeFilterInput/InputGroup.js.map +1 -1
  105. package/dist/esm/components/rangeFilterInput/index.js +1 -0
  106. package/dist/esm/components/rangeFilterInput/index.js.map +1 -1
  107. package/dist/esm/components/rangeFilterInputWithSlider/index.js +2 -1
  108. package/dist/esm/components/rangeFilterInputWithSlider/index.js.map +1 -1
  109. package/dist/esm/components/rangeSlider/Chart.js +2 -1
  110. package/dist/esm/components/rangeSlider/Chart.js.map +1 -1
  111. package/dist/esm/components/rangeSlider/RangeSliderWithChart.js +2 -1
  112. package/dist/esm/components/rangeSlider/RangeSliderWithChart.js.map +1 -1
  113. package/dist/esm/components/rangeSlider/RangeSliderWithScale.js +1 -0
  114. package/dist/esm/components/rangeSlider/RangeSliderWithScale.js.map +1 -1
  115. package/dist/esm/components/rangeSlider/index.js +1 -0
  116. package/dist/esm/components/rangeSlider/index.js.map +1 -1
  117. package/dist/esm/components/skeleton/index.js +1 -1
  118. package/dist/esm/components/skeleton/index.js.map +1 -1
  119. package/dist/esm/components/stack/index.js +2 -2
  120. package/dist/esm/components/stack/index.js.map +1 -1
  121. package/dist/esm/components/tab/Tab.js +1 -0
  122. package/dist/esm/components/tab/Tab.js.map +1 -1
  123. package/dist/esm/components/tab/TabList.js +3 -1
  124. package/dist/esm/components/tab/TabList.js.map +1 -1
  125. package/dist/esm/components/tab/TabPanel.js +1 -0
  126. package/dist/esm/components/tab/TabPanel.js.map +1 -1
  127. package/dist/esm/components/tab/TabPanels.js +3 -1
  128. package/dist/esm/components/tab/TabPanels.js.map +1 -1
  129. package/dist/esm/components/tab/index.js +1 -0
  130. package/dist/esm/components/tab/index.js.map +1 -1
  131. package/dist/esm/components/table/index.js.map +1 -1
  132. package/dist/esm/components/tenantSelection/Loading.js +1 -1
  133. package/dist/esm/components/tenantSelection/ModalLayout.js +1 -1
  134. package/dist/esm/components/tenantSelection/index.js +1 -0
  135. package/dist/esm/components/tenantSelection/index.js.map +1 -1
  136. package/dist/esm/components/text/marked/index.js +2 -1
  137. package/dist/esm/components/text/marked/index.js.map +1 -1
  138. package/dist/esm/components/themeProvider/AutoScout24ThemeProvider.js +1 -0
  139. package/dist/esm/components/themeProvider/AutoScout24ThemeProvider.js.map +1 -1
  140. package/dist/esm/components/themeProvider/MotoScout24ThemeProvider.js +1 -0
  141. package/dist/esm/components/themeProvider/MotoScout24ThemeProvider.js.map +1 -1
  142. package/dist/esm/components/themeProvider/index.js +1 -0
  143. package/dist/esm/components/themeProvider/index.js.map +1 -1
  144. package/dist/esm/components/tooltip/index.js +1 -0
  145. package/dist/esm/components/tooltip/index.js.map +1 -1
  146. package/dist/esm/components/vehicleReference/index.js +2 -1
  147. package/dist/esm/components/vehicleReference/index.js.map +1 -1
  148. package/dist/esm/index.js +9 -9
  149. package/dist/esm/utilities/i18nInit.js +1 -0
  150. package/dist/esm/utilities/i18nInit.js.map +1 -1
  151. package/dist/fonts/cjs/Hosted.js +1 -0
  152. package/dist/fonts/cjs/Hosted.js.map +1 -1
  153. package/dist/fonts/esm/Hosted.js +1 -0
  154. package/dist/fonts/esm/Hosted.js.map +1 -1
  155. package/dist/index.d.mts +68 -63
  156. package/dist/index.d.ts +68 -63
  157. package/dist/page-layout.d.mts +96 -0
  158. package/dist/page-layout.d.ts +96 -0
  159. package/package.json +38 -6
package/dist/cjs/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  var react = require('@chakra-ui/react');
@@ -6,9 +7,14 @@ var React = require('react');
6
7
  var useDebounce = require('use-debounce');
7
8
  var jsxRuntime = require('react/jsx-runtime');
8
9
  var Fuse = require('fuse.js');
10
+ var box = require('@chakra-ui/react/box');
9
11
  var i18nPkg = require('@smg-automotive/i18n-pkg');
10
12
  var client = require('@smg-automotive/i18n-pkg/client');
13
+ var stack = require('@chakra-ui/react/stack');
14
+ var skeleton = require('@chakra-ui/react/skeleton');
15
+ var aspectRatio = require('@chakra-ui/react/aspect-ratio');
11
16
  var useEmblaCarousel = require('embla-carousel-react');
17
+ var grid = require('@chakra-ui/react/grid');
12
18
  var auth$4 = require('@smg-automotive/auth');
13
19
 
14
20
  const convertRemEmToPx = (value) => {
@@ -456,23 +462,12 @@ const useDisclosure = (options = {}) => {
456
462
  };
457
463
  };
458
464
 
459
- const Accordion = (props) => {
460
- const recipe = react.useSlotRecipe({ key: 'accordion' });
461
- const [recipeProps, restProps] = recipe.splitVariantProps(props);
462
- const { children, ...rest } = restProps;
463
- return (jsxRuntime.jsx(react.Accordion.Root, { ...rest, children: React.Children.map(children, (child) => React.isValidElement(child)
464
- ? React.cloneElement(child, {
465
- variant: recipeProps.variant,
466
- })
467
- : child) }));
468
- };
469
-
470
465
  const AccordionButton = (props) => {
471
466
  const recipe = react.useSlotRecipe({ key: 'accordion' });
472
467
  const [recipeProps, restProps] = recipe.splitVariantProps(props);
473
468
  const styles = recipe({ ...recipeProps });
474
469
  const { children, leftIcon, ...rest } = restProps;
475
- return (jsxRuntime.jsxs(react.Accordion.ItemTrigger, { ...rest, css: styles.button, children: [leftIcon ? jsxRuntime.jsx(react.Box, { mr: "sm", children: leftIcon }) : null, jsxRuntime.jsx(react.Box, { as: "span", flex: "1", textAlign: "left", children: children }), jsxRuntime.jsx(react.Accordion.ItemIndicator, { css: styles.indicator })] }));
470
+ return (jsxRuntime.jsxs(react.Accordion.ItemTrigger, { ...rest, css: styles.button, children: [leftIcon ? jsxRuntime.jsx(box.Box, { mr: "sm", children: leftIcon }) : null, jsxRuntime.jsx(box.Box, { as: "span", flex: "1", textAlign: "left", children: children }), jsxRuntime.jsx(react.Accordion.ItemIndicator, { css: styles.indicator })] }));
476
471
  };
477
472
 
478
473
  const AccordionItem = (props) => {
@@ -495,6 +490,17 @@ const AccordionPanel = (props) => {
495
490
  return (jsxRuntime.jsx(react.Accordion.ItemContent, { css: styles.content, children: jsxRuntime.jsx(react.Accordion.ItemBody, { ...rest, css: { ...styles.body, ...(pb !== undefined && { pb }) }, children: children }) }));
496
491
  };
497
492
 
493
+ const Accordion = (props) => {
494
+ const recipe = react.useSlotRecipe({ key: 'accordion' });
495
+ const [recipeProps, restProps] = recipe.splitVariantProps(props);
496
+ const { children, ...rest } = restProps;
497
+ return (jsxRuntime.jsx(react.Accordion.Root, { ...rest, children: React.Children.map(children, (child) => React.isValidElement(child)
498
+ ? React.cloneElement(child, {
499
+ variant: recipeProps.variant,
500
+ })
501
+ : child) }));
502
+ };
503
+
498
504
  const Box = React.forwardRef(function BoxAdapter(props, ref) {
499
505
  const { as, textColor, spacing, color, sx, children,
500
506
  // Link-like props, e.g. NextLink
@@ -514,13 +520,13 @@ const Box = React.forwardRef(function BoxAdapter(props, ref) {
514
520
  typeof as !== 'string' &&
515
521
  (href !== undefined || prefetch !== undefined);
516
522
  if (!as) {
517
- return (jsxRuntime.jsx(react.Box, { ...boxProps, ref: ref, children: children }));
523
+ return (jsxRuntime.jsx(box.Box, { ...boxProps, ref: ref, children: children }));
518
524
  }
519
525
  const AsComp = as;
520
526
  if (isLinkLike) {
521
- return (jsxRuntime.jsx(react.Box, { ...boxProps, asChild: true, ref: ref, children: jsxRuntime.jsx(AsComp, { ...(href !== undefined ? { href } : {}), ...(prefetch !== undefined ? { prefetch } : {}), children: children }) }));
527
+ return (jsxRuntime.jsx(box.Box, { ...boxProps, asChild: true, ref: ref, children: jsxRuntime.jsx(AsComp, { ...(href !== undefined ? { href } : {}), ...(prefetch !== undefined ? { prefetch } : {}), children: children }) }));
522
528
  }
523
- return (jsxRuntime.jsx(react.Box, { ...boxProps, as: AsComp, ref: ref, children: children }));
529
+ return (jsxRuntime.jsx(box.Box, { ...boxProps, as: AsComp, ref: ref, children: children }));
524
530
  });
525
531
 
526
532
  const buttonRecipe = react.defineRecipe({
@@ -2931,7 +2937,7 @@ const BaseLayout = ({ header, footer, skyScraperAd, heroAd, maxContentWidth, chi
2931
2937
  const SingleColumnCenteredLayout = ({ children, maxContentWidth = 'md' }) => {
2932
2938
  const isSingleChild = !Array.isArray(children);
2933
2939
  const [stepper, content] = isSingleChild ? [null, children] : children;
2934
- return (jsxRuntime.jsx(react.Container, { width: "full", height: "full", background: "gray.100", children: jsxRuntime.jsxs(BaseLayout, { header: null, maxContentWidth: maxContentWidth, children: [!stepper ? null : jsxRuntime.jsx(react.Box, { marginBottom: "2xl", children: stepper }), jsxRuntime.jsx(react.Box, { children: content })] }) }));
2940
+ return (jsxRuntime.jsx(react.Container, { width: "full", height: "full", background: "gray.100", children: jsxRuntime.jsxs(BaseLayout, { header: null, maxContentWidth: maxContentWidth, children: [!stepper ? null : jsxRuntime.jsx(box.Box, { marginBottom: "2xl", children: stepper }), jsxRuntime.jsx(box.Box, { children: content })] }) }));
2935
2941
  };
2936
2942
 
2937
2943
  const InsertionLayout = (props) => {
@@ -2998,7 +3004,7 @@ const Dialog = ({ title, open, onOpenChange, primaryActionButton, secondaryActio
2998
3004
  overlayColor,
2999
3005
  });
3000
3006
  const styles = recipe(recipeProps);
3001
- return (jsxRuntime.jsx(react.Dialog.Root, { open: open, onOpenChange: onOpenChange, ...props, children: jsxRuntime.jsxs(react.Portal, { children: [jsxRuntime.jsx(react.Dialog.Backdrop, { css: styles.backdrop }), jsxRuntime.jsx(react.Dialog.Positioner, { css: styles.positioner, children: jsxRuntime.jsxs(react.Dialog.Content, { css: styles.content, children: [title && (jsxRuntime.jsx(react.Box, { borderBottom: "1px", borderColor: "gray.100", children: jsxRuntime.jsxs(react.Dialog.Header, { css: styles.header, children: [jsxRuntime.jsx(H3, { children: title }), jsxRuntime.jsx(react.Dialog.CloseTrigger, { asChild: true, css: styles.closeTrigger, children: jsxRuntime.jsx(DialogCloseButton, { fontSize: "base" }) })] }) })), jsxRuntime.jsx(react.Dialog.Body, { css: styles.body, p: disableBodyPadding ? '0' : undefined, children: children }), (primaryActionButton || secondaryActionButton) && (jsxRuntime.jsx(react.Box, { borderTop: "1px", borderColor: "gray.100", children: jsxRuntime.jsxs(react.Dialog.Footer, { display: "flex", justifyContent: bothActionButtons ? 'space-between' : 'flex-start', gap: bothActionButtons ? 'sm' : '0', css: styles.footer, children: [secondaryActionButton ? (jsxRuntime.jsx(Button$1, { variant: "secondary", onClick: secondaryActionButton.action, width: { base: 'full', sm: 'fit' }, children: secondaryActionButton.label })) : null, primaryActionButton ? (jsxRuntime.jsx(Button$1, { variant: "primary", onClick: primaryActionButton.action, width: { base: 'full', sm: 'fit' }, children: primaryActionButton.label })) : null] }) }))] }) })] }) }));
3007
+ return (jsxRuntime.jsx(react.Dialog.Root, { open: open, onOpenChange: onOpenChange, ...props, children: jsxRuntime.jsxs(react.Portal, { children: [jsxRuntime.jsx(react.Dialog.Backdrop, { css: styles.backdrop }), jsxRuntime.jsx(react.Dialog.Positioner, { css: styles.positioner, children: jsxRuntime.jsxs(react.Dialog.Content, { css: styles.content, children: [title && (jsxRuntime.jsx(box.Box, { borderBottom: "1px", borderColor: "gray.100", children: jsxRuntime.jsxs(react.Dialog.Header, { css: styles.header, children: [jsxRuntime.jsx(H3, { children: title }), jsxRuntime.jsx(react.Dialog.CloseTrigger, { asChild: true, css: styles.closeTrigger, children: jsxRuntime.jsx(DialogCloseButton, { fontSize: "base" }) })] }) })), jsxRuntime.jsx(react.Dialog.Body, { css: styles.body, p: disableBodyPadding ? '0' : undefined, children: children }), (primaryActionButton || secondaryActionButton) && (jsxRuntime.jsx(box.Box, { borderTop: "1px", borderColor: "gray.100", children: jsxRuntime.jsxs(react.Dialog.Footer, { display: "flex", justifyContent: bothActionButtons ? 'space-between' : 'flex-start', gap: bothActionButtons ? 'sm' : '0', css: styles.footer, children: [secondaryActionButton ? (jsxRuntime.jsx(Button$1, { variant: "secondary", onClick: secondaryActionButton.action, width: { base: 'full', sm: 'fit' }, children: secondaryActionButton.label })) : null, primaryActionButton ? (jsxRuntime.jsx(Button$1, { variant: "primary", onClick: primaryActionButton.action, width: { base: 'full', sm: 'fit' }, children: primaryActionButton.label })) : null] }) }))] }) })] }) }));
3002
3008
  };
3003
3009
 
3004
3010
  const ModalCloseButton = (props) => {
@@ -3950,7 +3956,7 @@ function withTranslationProvider(scopes) {
3950
3956
  };
3951
3957
  }
3952
3958
 
3953
- const Stack$1 = ({ children, ...rest }) => (jsxRuntime.jsx(react.Stack, { ...rest, children: children }));
3959
+ const Stack$1 = ({ children, ...rest }) => (jsxRuntime.jsx(stack.Stack, { ...rest, children: children }));
3954
3960
 
3955
3961
  const Text$1 = react.Text;
3956
3962
  Text$1.displayName = 'Text';
@@ -3988,7 +3994,7 @@ const Popover = ({ actionButton, Icon, isApplied, enforceHeight, label, numberOf
3988
3994
  const recipe = react.useSlotRecipe({ key: 'popoverFilter' });
3989
3995
  const styles = recipe();
3990
3996
  const maxHeight = showCallToActionButton ? '6xl' : '7xl';
3991
- return (jsxRuntime.jsx(react.Portal, { children: jsxRuntime.jsx(react.Box, { zIndex: zIndex, w: "full", h: "full", position: "relative", children: jsxRuntime.jsx(react.Popover.Positioner, { children: jsxRuntime.jsx(react.Popover.Content, { css: styles.content, minHeight: enforceHeight ? '7xl' : undefined, height: enforceHeight ? '7xl' : undefined, ref: popoverContentRef, children: jsxRuntime.jsxs(react.Box, { as: Stack$1, h: "full", paddingY: "2xl", children: [jsxRuntime.jsx(react.Popover.Header, { paddingX: "2xl", children: header && React.isValidElement(header) ? (header) : (jsxRuntime.jsx(FilterHeading, { Icon: Icon, isApplied: isApplied, label: label, numberOfAppliedFilters: numberOfAppliedFilters, onClose: onClose, language: language, onResetFilter: onResetFilter, contentRef: popoverContentRef })) }), jsxRuntime.jsx(react.Popover.Body, { css: styles.body, maxHeight: maxHeight, marginBottom: showCallToActionButton ? '2xl' : '0', height: enforceHeight ? maxHeight : 'auto', children: children }), showCallToActionButton ? (jsxRuntime.jsx(react.Popover.Footer, { paddingX: "2xl", children: jsxRuntime.jsx(FilterActionButton, { actionButton: actionButton, isApplied: isApplied, onClose: onClose }) })) : null] }) }) }) }) }));
3997
+ return (jsxRuntime.jsx(react.Portal, { children: jsxRuntime.jsx(box.Box, { zIndex: zIndex, w: "full", h: "full", position: "relative", children: jsxRuntime.jsx(react.Popover.Positioner, { children: jsxRuntime.jsx(react.Popover.Content, { css: styles.content, minHeight: enforceHeight ? '7xl' : undefined, height: enforceHeight ? '7xl' : undefined, ref: popoverContentRef, children: jsxRuntime.jsxs(box.Box, { as: Stack$1, h: "full", paddingY: "2xl", children: [jsxRuntime.jsx(react.Popover.Header, { paddingX: "2xl", children: header && React.isValidElement(header) ? (header) : (jsxRuntime.jsx(FilterHeading, { Icon: Icon, isApplied: isApplied, label: label, numberOfAppliedFilters: numberOfAppliedFilters, onClose: onClose, language: language, onResetFilter: onResetFilter, contentRef: popoverContentRef })) }), jsxRuntime.jsx(react.Popover.Body, { css: styles.body, maxHeight: maxHeight, marginBottom: showCallToActionButton ? '2xl' : '0', height: enforceHeight ? maxHeight : 'auto', children: children }), showCallToActionButton ? (jsxRuntime.jsx(react.Popover.Footer, { paddingX: "2xl", children: jsxRuntime.jsx(FilterActionButton, { actionButton: actionButton, isApplied: isApplied, onClose: onClose }) })) : null] }) }) }) }) }));
3992
3998
  };
3993
3999
 
3994
4000
  const PopoverFilterContent = ({ actionButton, displayValue, enforceHeight, Icon, initialPopoverState = 'closed', isApplied, label, appliedLabel, numberOfAppliedFilters, onPopoverClose, onPopoverOpen, onResetFilter, showCallToActionButton = true, header, children, triggerHeight = 'md', disabled, hasFlip = true, zIndex = 'popover', }) => {
@@ -4114,14 +4120,14 @@ const Chart = ({ facets, range }) => {
4114
4120
  return null;
4115
4121
  }
4116
4122
  const maxValue = Math.max(...facets.map(({ value }) => value));
4117
- return (jsxRuntime.jsx(Flex, { justify: "space-between", h: "full", "data-testid": "chart", children: facets.map(({ from }, index) => (jsxRuntime.jsx(react.Box, { h: "full", style: { marginInline: '1px', transition: 'transform 1s ease' }, flexGrow: 1, bg: index < range[0] || index > range[1] - 1 ? 'gray.200' : 'gray.500', transformOrigin: "bottom", transform: `scaleY(${maxValue > 0 ? facets[index].value / maxValue : 0})` }, from))) }));
4123
+ return (jsxRuntime.jsx(Flex, { justify: "space-between", h: "full", "data-testid": "chart", children: facets.map(({ from }, index) => (jsxRuntime.jsx(box.Box, { h: "full", style: { marginInline: '1px', transition: 'transform 1s ease' }, flexGrow: 1, bg: index < range[0] || index > range[1] - 1 ? 'gray.200' : 'gray.500', transformOrigin: "bottom", transform: `scaleY(${maxValue > 0 ? facets[index].value / maxValue : 0})` }, from))) }));
4118
4124
  };
4119
4125
 
4120
4126
  const RangeSliderWithChart = ({ facets, selection, onSliderChange, onSliderRelease, chartHeight = '3xl', }) => {
4121
4127
  // Create a copy before sorting to avoid mutating the `facets` prop.
4122
4128
  const sortedFacetsByFromKey = [...facets].sort((a, b) => a.from - b.from);
4123
4129
  const scale = sortedFacetsByFromKey.map(({ from }) => from);
4124
- return (jsxRuntime.jsx(RangeSliderWithScale, { onSliderChange: onSliderChange, onSliderRelease: onSliderRelease, selection: selection, scale: scale, renderChart: (range) => (jsxRuntime.jsx(react.Box, { position: "relative", top: "sm", h: chartHeight, children: jsxRuntime.jsx(Chart, { range: range, facets: sortedFacetsByFromKey }) })) }));
4130
+ return (jsxRuntime.jsx(RangeSliderWithScale, { onSliderChange: onSliderChange, onSliderRelease: onSliderRelease, selection: selection, scale: scale, renderChart: (range) => (jsxRuntime.jsx(box.Box, { position: "relative", top: "sm", h: chartHeight, children: jsxRuntime.jsx(Chart, { range: range, facets: sortedFacetsByFromKey }) })) }));
4125
4131
  };
4126
4132
 
4127
4133
  const InputLeftElement = ({ unit }) => {
@@ -4241,7 +4247,7 @@ function RangeFilterInputWithSlider$1({ rangeSliderScale, facets, unit, onChange
4241
4247
  }));
4242
4248
  onChange({ ...event, changeType: 'inputfield' });
4243
4249
  };
4244
- return (jsxRuntime.jsxs(Flex, { direction: "column", children: [jsxRuntime.jsx(react.Box, { order: { base: 1, sm: 0 }, mb: "sm", px: "md", py: { base: 'md', sm: '0' }, children: facets ? (jsxRuntime.jsx(RangeSliderWithChart, { onSliderChange: handleSliderChange, onSliderRelease: handleSliderRelease, selection: appliedValue(), facets: facets, chartHeight: chartHeight })) : (jsxRuntime.jsx(RangeSliderWithScale, { onSliderChange: handleSliderChange, onSliderRelease: handleSliderRelease, selection: appliedValue(), scale: rangeSliderScale })) }), jsxRuntime.jsx(RangeFilterInput, { from: { ...from, value: appliedValue().min }, to: { ...to, value: appliedValue().max }, handleChange: handleInputChange, onBlur: handleInputChange, unit: unit, ...rest })] }));
4250
+ return (jsxRuntime.jsxs(Flex, { direction: "column", children: [jsxRuntime.jsx(box.Box, { order: { base: 1, sm: 0 }, mb: "sm", px: "md", py: { base: 'md', sm: '0' }, children: facets ? (jsxRuntime.jsx(RangeSliderWithChart, { onSliderChange: handleSliderChange, onSliderRelease: handleSliderRelease, selection: appliedValue(), facets: facets, chartHeight: chartHeight })) : (jsxRuntime.jsx(RangeSliderWithScale, { onSliderChange: handleSliderChange, onSliderRelease: handleSliderRelease, selection: appliedValue(), scale: rangeSliderScale })) }), jsxRuntime.jsx(RangeFilterInput, { from: { ...from, value: appliedValue().min }, to: { ...to, value: appliedValue().max }, handleChange: handleInputChange, onBlur: handleInputChange, unit: unit, ...rest })] }));
4245
4251
  }
4246
4252
 
4247
4253
  function RangeFilterInputWithSlider(props) {
@@ -4309,7 +4315,7 @@ const SimpleGrid = (props) => {
4309
4315
  return (jsxRuntime.jsx(SimpleGrid$1, { ...rest, ...(spacing ? { gap: spacing } : {}), ...(spacingX ? { gapX: spacingX } : {}), ...(spacingY ? { gapY: spacingY } : {}) }));
4310
4316
  };
4311
4317
 
4312
- const Skeleton$1 = react.Skeleton;
4318
+ const Skeleton$1 = skeleton.Skeleton;
4313
4319
  Skeleton$1.displayName = 'Skeleton';
4314
4320
 
4315
4321
  const Skeleton = (props) => {
@@ -4442,7 +4448,7 @@ const ArticleTeaser = ({ maxImgW = '4xl', ...props }) => {
4442
4448
  return (jsxRuntime.jsx("article", { children: jsxRuntime.jsx("a", { href: url, target: "_blank", rel: "noopener noreferrer", children: jsxRuntime.jsxs(Stack$1, { direction: "column", gap: "lg", align: "center", children: [jsxRuntime.jsx(react.chakra.img, { maxWidth: maxImgW, src: imageUrl }), jsxRuntime.jsxs(Stack$1, { direction: "column", gap: "sm", width: "full", children: [jsxRuntime.jsx(react.chakra.h2, { css: styles.title, children: title }), jsxRuntime.jsx(react.chakra.span, { css: styles.text, children: text })] })] }) }) }));
4443
4449
  };
4444
4450
 
4445
- const AspectRatio = react.AspectRatio;
4451
+ const AspectRatio = aspectRatio.AspectRatio;
4446
4452
  AspectRatio.displayName = 'AspectRatio';
4447
4453
 
4448
4454
  const Avatar = ({ withNotification, color }) => {
@@ -4453,6 +4459,24 @@ const Avatar = ({ withNotification, color }) => {
4453
4459
 
4454
4460
  const Badge = ({ text, ...props }) => (jsxRuntime.jsx(react.Badge, { ...props, children: text }));
4455
4461
 
4462
+ const BreadcrumbsItem = ({ children }) => {
4463
+ return jsxRuntime.jsx(react.Breadcrumb.Item, { children: children });
4464
+ };
4465
+
4466
+ const BreadcrumbLink = ({ as, children, href, prefetch, replace, ...rest }) => {
4467
+ const recipe = react.useSlotRecipe({ key: 'breadcrumbs' });
4468
+ const styles = recipe();
4469
+ if (!href) {
4470
+ return children;
4471
+ }
4472
+ const isComponentAs = Boolean(as) && typeof as !== 'string';
4473
+ if (isComponentAs) {
4474
+ const AsComp = as;
4475
+ return (jsxRuntime.jsx(react.Breadcrumb.Link, { css: styles.link, asChild: true, ...rest, children: jsxRuntime.jsx(AsComp, { href: href, ...(prefetch !== undefined ? { prefetch } : {}), ...(replace ? { replace: true } : {}), children: children }) }));
4476
+ }
4477
+ return (jsxRuntime.jsx(react.Breadcrumb.Link, { css: styles.link, as: as, href: href, ...rest, children: children }));
4478
+ };
4479
+
4456
4480
  const BreadcrumbSeparator = () => {
4457
4481
  const recipe = react.useSlotRecipe({ key: 'breadcrumbs' });
4458
4482
  const styles = recipe();
@@ -4474,24 +4498,6 @@ const Breadcrumbs = ({ children, ...props }) => {
4474
4498
  }) }) }));
4475
4499
  };
4476
4500
 
4477
- const BreadcrumbsItem = ({ children }) => {
4478
- return jsxRuntime.jsx(react.Breadcrumb.Item, { children: children });
4479
- };
4480
-
4481
- const BreadcrumbLink = ({ as, children, href, prefetch, replace, ...rest }) => {
4482
- const recipe = react.useSlotRecipe({ key: 'breadcrumbs' });
4483
- const styles = recipe();
4484
- if (!href) {
4485
- return children;
4486
- }
4487
- const isComponentAs = Boolean(as) && typeof as !== 'string';
4488
- if (isComponentAs) {
4489
- const AsComp = as;
4490
- return (jsxRuntime.jsx(react.Breadcrumb.Link, { css: styles.link, asChild: true, ...rest, children: jsxRuntime.jsx(AsComp, { href: href, ...(prefetch !== undefined ? { prefetch } : {}), ...(replace ? { replace: true } : {}), children: children }) }));
4491
- }
4492
- return (jsxRuntime.jsx(react.Breadcrumb.Link, { css: styles.link, as: as, href: href, ...rest, children: children }));
4493
- };
4494
-
4495
4501
  const { Root, Header, Body, Footer: Footer$1 } = react.Card;
4496
4502
  Root.displayName = 'Card.Root';
4497
4503
  Header.displayName = 'Card.Header';
@@ -4550,7 +4556,7 @@ const ThumbnailPagination = ({ currentSlideIndex, thumbnails, mainCarousel, pagi
4550
4556
  paginationCarousel.on('scroll', evalPaginationButtonVisibility);
4551
4557
  paginationCarousel.on('slidesInView', evalPaginationButtonVisibility);
4552
4558
  }, [paginationCarousel, evalPaginationButtonVisibility]);
4553
- return (jsxRuntime.jsxs(react.Box, { ref: paginationCarouselRef, css: styles.pagination, "aria-label": "Pagination", children: [jsxRuntime.jsx(Flex, { alignItems: "center", height: "full", id: "thumbnail-wrapper", children: thumbnails.map((slide, index) => (jsxRuntime.jsx(Thumbnail, { onClick: () => onThumbnailClick(index), isCurrent: index === currentSlideIndex, thumbnailIndex: index, totalThumbnails: thumbnails.length, children: paginationCarouselRef ? (slide) : (jsxRuntime.jsx(react.Box, { h: "full", w: "full", backgroundColor: "gray.50" })) }, `slide-${index}`))) }), paginationButtonVisibility.previous ? (jsxRuntime.jsx(ThumbnailNavigationButton, { onClick: scrollPrev, direction: "previous" })) : null, paginationButtonVisibility.next ? (jsxRuntime.jsx(ThumbnailNavigationButton, { onClick: scrollNext, direction: "next" })) : null] }));
4559
+ return (jsxRuntime.jsxs(box.Box, { ref: paginationCarouselRef, css: styles.pagination, "aria-label": "Pagination", children: [jsxRuntime.jsx(Flex, { alignItems: "center", height: "full", id: "thumbnail-wrapper", children: thumbnails.map((slide, index) => (jsxRuntime.jsx(Thumbnail, { onClick: () => onThumbnailClick(index), isCurrent: index === currentSlideIndex, thumbnailIndex: index, totalThumbnails: thumbnails.length, children: paginationCarouselRef ? (slide) : (jsxRuntime.jsx(box.Box, { h: "full", w: "full", backgroundColor: "gray.50" })) }, `slide-${index}`))) }), paginationButtonVisibility.previous ? (jsxRuntime.jsx(ThumbnailNavigationButton, { onClick: scrollPrev, direction: "previous" })) : null, paginationButtonVisibility.next ? (jsxRuntime.jsx(ThumbnailNavigationButton, { onClick: scrollNext, direction: "next" })) : null] }));
4554
4560
  };
4555
4561
 
4556
4562
  const Slide = ({ onClick, slideIndex, totalSlides, isCurrent, children, fullScreen, slidesPerView, }) => {
@@ -4570,7 +4576,7 @@ const Slide = ({ onClick, slideIndex, totalSlides, isCurrent, children, fullScre
4570
4576
  });
4571
4577
  return result;
4572
4578
  })();
4573
- return (jsxRuntime.jsx(react.Box, { css: {
4579
+ return (jsxRuntime.jsx(box.Box, { css: {
4574
4580
  ...styles.slide,
4575
4581
  ...(basisVarResponsive
4576
4582
  ? { '--carousel-slide-basis': basisVarResponsive }
@@ -4591,7 +4597,7 @@ const NumbersPagination = ({ currentSlideIndex, numberOfSlides, mainCarousel, })
4591
4597
  }
4592
4598
  }, [mainCarousel]);
4593
4599
  const pagination = Array.from({ length: numberOfSlides }, (_, i) => i);
4594
- return (jsxRuntime.jsx(react.Box, { "aria-label": "Numbers Pagination", children: jsxRuntime.jsx(Flex, { flexDirection: "row", alignItems: "center", justifyContent: "center", children: pagination.map((index) => (jsxRuntime.jsx(NumbersPaginationButton, { isCurrent: index === currentSlideIndex, currentPageNumber: index + 1, totalNumbers: numberOfSlides, onClick: () => onClick(index) }, `slide-${index}`))) }) }));
4600
+ return (jsxRuntime.jsx(box.Box, { "aria-label": "Numbers Pagination", children: jsxRuntime.jsx(Flex, { flexDirection: "row", alignItems: "center", justifyContent: "center", children: pagination.map((index) => (jsxRuntime.jsx(NumbersPaginationButton, { isCurrent: index === currentSlideIndex, currentPageNumber: index + 1, totalNumbers: numberOfSlides, onClick: () => onClick(index) }, `slide-${index}`))) }) }));
4595
4601
  };
4596
4602
 
4597
4603
  const NavigationButton = ({ direction, onClick, fullScreen, }) => {
@@ -4618,7 +4624,7 @@ const DotsPagination = ({ currentSlideIndex, numberOfSlides, }) => {
4618
4624
  const pagination = Array.from({ length: numberOfSlides }, (_, i) => i);
4619
4625
  const recipe = react.useSlotRecipe({ key: 'carousel' });
4620
4626
  const styles = recipe();
4621
- return (jsxRuntime.jsx(react.Box, { "aria-label": "Dots Pagination", css: styles.dotsPaginationContainer, children: jsxRuntime.jsx(Flex, { flexDirection: "row", alignItems: "center", justifyContent: "center", children: pagination.map((index) => (jsxRuntime.jsx(DotsPaginationIndicator, { isCurrent: index === currentSlideIndex }, `slide-${index}`))) }) }));
4627
+ return (jsxRuntime.jsx(box.Box, { "aria-label": "Dots Pagination", css: styles.dotsPaginationContainer, children: jsxRuntime.jsx(Flex, { flexDirection: "row", alignItems: "center", justifyContent: "center", children: pagination.map((index) => (jsxRuntime.jsx(DotsPaginationIndicator, { isCurrent: index === currentSlideIndex }, `slide-${index}`))) }) }));
4622
4628
  };
4623
4629
 
4624
4630
  exports.PaginationType = void 0;
@@ -4734,9 +4740,9 @@ const Carousel = (props) => {
4734
4740
  const carouselHeightCssVarValue = hasThumbnailPagination
4735
4741
  ? carouselHeightByPaginationTypeMap[exports.PaginationType.Thumbnail]
4736
4742
  : carouselHeightByPaginationTypeMap[paginationType];
4737
- return (jsxRuntime.jsxs(react.Box, { css: styles.container, children: [prerenderFallbackSlide ? (jsxRuntime.jsx(Slide, { slideIndex: startIndex, onClick: () => onClick(startIndex), totalSlides: numberOfSlides, isCurrent: startIndex === selectedIndex, fullScreen: !!fullScreen, slidesPerView: slidesPerView, children: props.fullScreen
4743
+ return (jsxRuntime.jsxs(box.Box, { css: styles.container, children: [prerenderFallbackSlide ? (jsxRuntime.jsx(Slide, { slideIndex: startIndex, onClick: () => onClick(startIndex), totalSlides: numberOfSlides, isCurrent: startIndex === selectedIndex, fullScreen: !!fullScreen, slidesPerView: slidesPerView, children: props.fullScreen
4738
4744
  ? props.children[startIndex]?.slide
4739
- : props.children[startIndex] })) : (jsxRuntime.jsxs(react.Box, { ref: mainCarouselRef, "aria-label": "Carousel", "aria-roledescription": "Carousel", role: "group", className: "group", height: 'var(--carousel-height)', css: {
4745
+ : props.children[startIndex] })) : (jsxRuntime.jsxs(box.Box, { ref: mainCarouselRef, "aria-label": "Carousel", "aria-roledescription": "Carousel", role: "group", className: "group", height: 'var(--carousel-height)', css: {
4740
4746
  ...styles.carousel,
4741
4747
  '--carousel-height': carouselHeightCssVarValue,
4742
4748
  }, children: [jsxRuntime.jsx(Flex, { css: styles.slideContainer, marginLeft: slidesPerView === 1 ? '0' : { base: '-md', md: '-2xl' }, children: props.children.map((slide, index) => (jsxRuntime.jsx(Slide, { slideIndex: index, onClick: () => onClick(index), totalSlides: numberOfSlides, isCurrent: index === selectedIndex, fullScreen: !!fullScreen, slidesPerView: slidesPerView, children: isFullScreenSlide(slide) ? slide.slide : slide }, `slide-${index}`))) }), canScrollPrevious ? (jsxRuntime.jsx(NavigationButton, { onClick: scrollPrev, direction: "previous", fullScreen: !!fullScreen })) : null, canScrollNext ? (jsxRuntime.jsx(NavigationButton, { onClick: scrollNext, direction: "next", fullScreen: !!fullScreen })) : null, paginationType === exports.PaginationType.Dot ? (jsxRuntime.jsx(DotsPagination, { currentSlideIndex: selectedIndex, numberOfSlides: props.children.length })) : null] })), hasThumbnailPagination ? (jsxRuntime.jsx(ThumbnailPagination, { currentSlideIndex: selectedIndex, thumbnails: props.children.map((slide) => slide.thumbnail), mainCarousel: mainCarousel, paginationCarousel: paginationCarousel, paginationCarouselRef: paginationCarouselRef })) : null, paginationType === exports.PaginationType.Number ? (jsxRuntime.jsx(NumbersPagination, { mainCarousel: mainCarousel, currentSlideIndex: selectedIndex, numberOfSlides: props.children.length })) : null] }));
@@ -4744,9 +4750,9 @@ const Carousel = (props) => {
4744
4750
 
4745
4751
  const Center = ({ children, padding }) => (jsxRuntime.jsx(react.Center, { padding: padding, children: children }));
4746
4752
 
4747
- const Grid = react.Grid;
4753
+ const Grid = grid.Grid;
4748
4754
  Grid.displayName = 'Grid';
4749
- const GridItem = react.GridItem;
4755
+ const GridItem = grid.GridItem;
4750
4756
  GridItem.displayName = 'GridItem';
4751
4757
 
4752
4758
  const HighlightedText = ({ text, highlightIndices = [], ...textProps }) => {
@@ -4897,8 +4903,9 @@ const DiscreteSlider = ({ marks, applyIndentation = true, onValueChanged, value,
4897
4903
  }, children: label }, index))) })] }) }));
4898
4904
  };
4899
4905
 
4900
- const DrawerOverlay = (props) => {
4901
- return jsxRuntime.jsx(react.Drawer.Backdrop, { ...props });
4906
+ const DrawerBody = (props) => {
4907
+ const { children, ...drawerBodyProps } = props;
4908
+ return jsxRuntime.jsx(react.Drawer.Body, { ...drawerBodyProps, children: children });
4902
4909
  };
4903
4910
 
4904
4911
  const DrawerContent = (props) => {
@@ -4906,9 +4913,8 @@ const DrawerContent = (props) => {
4906
4913
  return (jsxRuntime.jsx(react.Drawer.Positioner, { children: jsxRuntime.jsxs(react.Drawer.Content, { ...drawerContentProps, children: [withCloseButton ? (jsxRuntime.jsx(react.Drawer.CloseTrigger, { asChild: true, fontSize: "base", children: jsxRuntime.jsx(CloseIcon, {}) })) : null, children] }) }));
4907
4914
  };
4908
4915
 
4909
- const DrawerBody = (props) => {
4910
- const { children, ...drawerBodyProps } = props;
4911
- return jsxRuntime.jsx(react.Drawer.Body, { ...drawerBodyProps, children: children });
4916
+ const DrawerOverlay = (props) => {
4917
+ return jsxRuntime.jsx(react.Drawer.Backdrop, { ...props });
4912
4918
  };
4913
4919
 
4914
4920
  const Drawer = (props) => {
@@ -4921,7 +4927,7 @@ const EnergyLabel = (props) => {
4921
4927
  const recipe = react.useSlotRecipe({ key: 'energyLabel' });
4922
4928
  const [recipeProps] = recipe.splitVariantProps(props);
4923
4929
  const styles = recipe(recipeProps);
4924
- return (jsxRuntime.jsxs(Flex, { css: styles.root, children: [jsxRuntime.jsx(react.Box, { css: styles.triangle }), jsxRuntime.jsx(Flex, { css: styles.textWrapper, children: jsxRuntime.jsx(Text$1, { css: styles.text, children: efficiency.toString() }) })] }));
4930
+ return (jsxRuntime.jsxs(Flex, { css: styles.root, children: [jsxRuntime.jsx(box.Box, { css: styles.triangle }), jsxRuntime.jsx(Flex, { css: styles.textWrapper, children: jsxRuntime.jsx(Text$1, { css: styles.text, children: efficiency.toString() }) })] }));
4925
4931
  };
4926
4932
 
4927
4933
  const getStaticImageSource = (image) => {
@@ -4974,7 +4980,7 @@ const BackToHomepagePrimary = (props) => {
4974
4980
  };
4975
4981
 
4976
4982
  const EmailChangeVerificationErrorContent = () => {
4977
- return (jsxRuntime.jsxs(react.Box, { width: "full", children: [jsxRuntime.jsx("p", { children: jsxRuntime.jsx(Trans, { i18nKey: "errorPage.EMAIL_CHANGE_VERIFICATION_ERROR.content.email", children: jsxRuntime.jsx("strong", {}) }) }), jsxRuntime.jsx("p", { children: jsxRuntime.jsx(Trans, { i18nKey: "errorPage.EMAIL_CHANGE_VERIFICATION_ERROR.content.workingHours", children: jsxRuntime.jsx("strong", {}) }) }), jsxRuntime.jsx("p", { children: jsxRuntime.jsx(Trans, { i18nKey: "errorPage.EMAIL_CHANGE_VERIFICATION_ERROR.content.phone", children: jsxRuntime.jsx("strong", {}) }) })] }));
4983
+ return (jsxRuntime.jsxs(box.Box, { width: "full", children: [jsxRuntime.jsx("p", { children: jsxRuntime.jsx(Trans, { i18nKey: "errorPage.EMAIL_CHANGE_VERIFICATION_ERROR.content.email", children: jsxRuntime.jsx("strong", {}) }) }), jsxRuntime.jsx("p", { children: jsxRuntime.jsx(Trans, { i18nKey: "errorPage.EMAIL_CHANGE_VERIFICATION_ERROR.content.workingHours", children: jsxRuntime.jsx("strong", {}) }) }), jsxRuntime.jsx("p", { children: jsxRuntime.jsx(Trans, { i18nKey: "errorPage.EMAIL_CHANGE_VERIFICATION_ERROR.content.phone", children: jsxRuntime.jsx("strong", {}) }) })] }));
4978
4984
  };
4979
4985
 
4980
4986
  const Nonce = () => {
@@ -5508,27 +5514,27 @@ var img$3 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBo
5508
5514
 
5509
5515
  const FocusedHeader = ({ brand }) => {
5510
5516
  const logo = brand === Brand.AutoScout24 ? img$3 : img$4;
5511
- return (jsxRuntime.jsx(react.Box, { width: "full", borderBottomColor: "gray.200", borderBottomWidth: "1px", zIndex: "header", position: "relative", backgroundColor: "white", children: jsxRuntime.jsx(react.Box, { maxWidth: "container.2xl", height: menuHeightConfig, alignItems: "center", margin: "auto", display: "flex", justifyContent: "space-between", px: { base: 'sm', xs: 'lg', sm: '2xl' }, children: jsxRuntime.jsx(react.Image, { width: { sm: '124px', base: '101px' }, height: { sm: '30px', base: 'sm' }, src: logo, alt: "Platform logo" }) }) }));
5517
+ return (jsxRuntime.jsx(box.Box, { width: "full", borderBottomColor: "gray.200", borderBottomWidth: "1px", zIndex: "header", position: "relative", backgroundColor: "white", children: jsxRuntime.jsx(box.Box, { maxWidth: "container.2xl", height: menuHeightConfig, alignItems: "center", margin: "auto", display: "flex", justifyContent: "space-between", px: { base: 'sm', xs: 'lg', sm: '2xl' }, children: jsxRuntime.jsx(react.Image, { width: { sm: '124px', base: '101px' }, height: { sm: '30px', base: 'sm' }, src: logo, alt: "Platform logo" }) }) }));
5512
5518
  };
5513
5519
 
5514
5520
  const FormControlSection = ({ children, errorMessage, id, label, hint, tooltip, }) => {
5515
5521
  const isInvalid = !!errorMessage;
5516
- return (jsxRuntime.jsxs(react.Field.Root, { id: id, invalid: isInvalid, children: [jsxRuntime.jsx(react.Box, { border: "1px", borderRadius: "sm", borderColor: isInvalid ? 'red.500' : 'gray.400', padding: "2xl", children: jsxRuntime.jsxs(Flex, { flexDirection: "column", children: [jsxRuntime.jsxs(react.Box, { mb: "lg", children: [jsxRuntime.jsxs(Flex, { alignItems: "center", children: [label ? (jsxRuntime.jsx(Text$1, { color: "gray.900", textStyle: "heading4", children: label })) : null, tooltip ? (jsxRuntime.jsx(Tooltip, { label: tooltip, children: jsxRuntime.jsx(InformationIcon, { ml: "md" }) })) : null] }), hint ? (jsxRuntime.jsx(Text$1, { color: "gray.900", textStyle: "body", children: hint })) : null] }), children] }) }), jsxRuntime.jsx(react.Field.ErrorText, { children: errorMessage })] }));
5522
+ return (jsxRuntime.jsxs(react.Field.Root, { id: id, invalid: isInvalid, children: [jsxRuntime.jsx(box.Box, { border: "1px", borderRadius: "sm", borderColor: isInvalid ? 'red.500' : 'gray.400', padding: "2xl", children: jsxRuntime.jsxs(Flex, { flexDirection: "column", children: [jsxRuntime.jsxs(box.Box, { mb: "lg", children: [jsxRuntime.jsxs(Flex, { alignItems: "center", children: [label ? (jsxRuntime.jsx(Text$1, { color: "gray.900", textStyle: "heading4", children: label })) : null, tooltip ? (jsxRuntime.jsx(Tooltip, { label: tooltip, children: jsxRuntime.jsx(InformationIcon, { ml: "md" }) })) : null] }), hint ? (jsxRuntime.jsx(Text$1, { color: "gray.900", textStyle: "body", children: hint })) : null] }), children] }) }), jsxRuntime.jsx(react.Field.ErrorText, { children: errorMessage })] }));
5517
5523
  };
5518
5524
 
5519
- const FullHeight = ({ children }) => (jsxRuntime.jsx(react.Box, { minHeight: "screen-height", height: "screen-height", children: children }));
5525
+ const FullHeight = ({ children }) => (jsxRuntime.jsx(box.Box, { minHeight: "screen-height", height: "screen-height", children: children }));
5520
5526
 
5521
5527
  const GalleryHeaderContent = ({ currentSlide, slidesCount, onClose, children }) => {
5522
5528
  const { t } = useI18n();
5523
5529
  const recipe = react.useSlotRecipe({ key: 'galleryHeader' });
5524
5530
  const styles = recipe();
5525
- return (jsxRuntime.jsx(react.Box, { css: styles.container, children: jsxRuntime.jsx(react.Box, { css: styles.grid, children: jsxRuntime.jsxs(SimpleGrid$1, { columns: {
5531
+ return (jsxRuntime.jsx(box.Box, { css: styles.container, children: jsxRuntime.jsx(box.Box, { css: styles.grid, children: jsxRuntime.jsxs(SimpleGrid$1, { columns: {
5526
5532
  base: 2,
5527
5533
  md: 3,
5528
- }, alignItems: "center", children: [jsxRuntime.jsx(react.Box, { hideBelow: "md", children: children }), jsxRuntime.jsx(react.Box, { css: styles.countContainer, children: jsxRuntime.jsx(react.Box, { children: t('galleryHeader.imageCount', {
5534
+ }, alignItems: "center", children: [jsxRuntime.jsx(box.Box, { hideBelow: "md", children: children }), jsxRuntime.jsx(box.Box, { css: styles.countContainer, children: jsxRuntime.jsx(box.Box, { children: t('galleryHeader.imageCount', {
5529
5535
  x: currentSlide,
5530
5536
  of: slidesCount,
5531
- }) }) }), jsxRuntime.jsx(react.Box, { css: styles.closeContainer, children: jsxRuntime.jsx(Link$2, { "aria-label": "Close gallery", onClick: () => onClose(), children: jsxRuntime.jsx(CloseIcon, { color: "white" }) }) })] }) }) }));
5537
+ }) }) }), jsxRuntime.jsx(box.Box, { css: styles.closeContainer, children: jsxRuntime.jsx(Link$2, { "aria-label": "Close gallery", onClick: () => onClose(), children: jsxRuntime.jsx(CloseIcon, { color: "white" }) }) })] }) }) }));
5532
5538
  };
5533
5539
 
5534
5540
  const GalleryHeader = withTranslationProvider(['galleryHeader'])(GalleryHeaderContent);
@@ -5574,7 +5580,7 @@ const TwoColumnsLayout = (props) => {
5574
5580
  };
5575
5581
 
5576
5582
  const MissingImage = (props) => {
5577
- return (jsxRuntime.jsx(react.Box, { backgroundColor: "gray.50", ...props, display: "flex", alignItems: "center", justifyContent: "center", children: jsxRuntime.jsx(MissingImageIcon, { "data-testid": "missing-image", boxSize: "lg", color: "gray.300" }) }));
5583
+ return (jsxRuntime.jsx(box.Box, { backgroundColor: "gray.50", ...props, display: "flex", alignItems: "center", justifyContent: "center", children: jsxRuntime.jsx(MissingImageIcon, { "data-testid": "missing-image", boxSize: "lg", color: "gray.300" }) }));
5578
5584
  };
5579
5585
 
5580
5586
  const VehicleReference = ({ templateColumns = { base: 'auto 1fr', md: '1fr' }, ...props }) => {
@@ -5582,13 +5588,13 @@ const VehicleReference = ({ templateColumns = { base: 'auto 1fr', md: '1fr' }, .
5582
5588
  const [recipeProps, componentProps] = recipe.splitVariantProps(props);
5583
5589
  const styles = recipe(recipeProps);
5584
5590
  const { image, vehicleTitle, price, sellerName, sellerAddress, callToAction, } = componentProps;
5585
- return (jsxRuntime.jsxs(react.Box, { as: "article", children: [jsxRuntime.jsxs(Grid, { templateColumns: templateColumns, gap: "md", children: [jsxRuntime.jsx(AspectRatio, { minW: "2xl", ratio: 4 / 3, borderRadius: "sm", overflow: "hidden", children: image ? image : jsxRuntime.jsx(MissingImage, {}) }), jsxRuntime.jsxs(Stack$1, { gap: { base: 'xs', md: 'md' }, justify: { base: 'center', md: 'space-between' }, children: [jsxRuntime.jsx(react.chakra.p, { css: styles.carTitle, children: vehicleTitle }), jsxRuntime.jsx(react.chakra.span, { css: styles.price, children: price }), jsxRuntime.jsxs(react.Box, { children: [jsxRuntime.jsx(react.chakra.p, { css: styles.dealerName, children: sellerName }), jsxRuntime.jsx(react.chakra.p, { css: styles.dealerAddress, children: sellerAddress })] })] })] }), callToAction ? (jsxRuntime.jsx(react.Box, { marginTop: { base: 'lg', md: 'sm' }, children: callToAction })) : null] }));
5591
+ return (jsxRuntime.jsxs(box.Box, { as: "article", children: [jsxRuntime.jsxs(Grid, { templateColumns: templateColumns, gap: "md", children: [jsxRuntime.jsx(AspectRatio, { minW: "2xl", ratio: 4 / 3, borderRadius: "sm", overflow: "hidden", children: image ? image : jsxRuntime.jsx(MissingImage, {}) }), jsxRuntime.jsxs(Stack$1, { gap: { base: 'xs', md: 'md' }, justify: { base: 'center', md: 'space-between' }, children: [jsxRuntime.jsx(react.chakra.p, { css: styles.carTitle, children: vehicleTitle }), jsxRuntime.jsx(react.chakra.span, { css: styles.price, children: price }), jsxRuntime.jsxs(box.Box, { children: [jsxRuntime.jsx(react.chakra.p, { css: styles.dealerName, children: sellerName }), jsxRuntime.jsx(react.chakra.p, { css: styles.dealerAddress, children: sellerAddress })] })] })] }), callToAction ? (jsxRuntime.jsx(box.Box, { marginTop: { base: 'lg', md: 'sm' }, children: callToAction })) : null] }));
5586
5592
  };
5587
5593
 
5588
5594
  const LayoutWithVehicleReference = ({ title, backLink, vehicle, header, children, leftColumnSize = 8, rightColumnSize = 4, maxContentWidth = 'lg', }) => {
5589
5595
  const contentMargin = { marginRight: { md: '2xl' } };
5590
- return (jsxRuntime.jsx(TwoColumnsLayout, { header: header, backLink: backLink, title: title ? jsxRuntime.jsx(react.Box, { css: contentMargin, children: title }) : null, left: {
5591
- content: jsxRuntime.jsx(react.Box, { css: contentMargin, children: children }),
5596
+ return (jsxRuntime.jsx(TwoColumnsLayout, { header: header, backLink: backLink, title: title ? jsxRuntime.jsx(box.Box, { css: contentMargin, children: title }) : null, left: {
5597
+ content: jsxRuntime.jsx(box.Box, { css: contentMargin, children: children }),
5592
5598
  columns: leftColumnSize,
5593
5599
  }, right: {
5594
5600
  content: jsxRuntime.jsx(VehicleReference, { ...vehicle }),
@@ -5611,16 +5617,16 @@ const AppLayoutContent = React.forwardRef((props, ref) => {
5611
5617
  });
5612
5618
  AppLayoutContent.displayName = 'AppLayoutContent';
5613
5619
 
5614
- const AppLayoutHeader = React.forwardRef((props, ref) => {
5615
- return jsxRuntime.jsx(GridItem, { as: "div", area: "header", ref: ref, ...props });
5616
- });
5617
- AppLayoutHeader.displayName = 'AppLayoutHeader';
5618
-
5619
5620
  const AppLayoutFooter = React.forwardRef((props, ref) => {
5620
5621
  return jsxRuntime.jsx(GridItem, { as: "div", area: "footer", ref: ref, ...props });
5621
5622
  });
5622
5623
  AppLayoutFooter.displayName = 'AppLayoutFooter';
5623
5624
 
5625
+ const AppLayoutHeader = React.forwardRef((props, ref) => {
5626
+ return jsxRuntime.jsx(GridItem, { as: "div", area: "header", ref: ref, ...props });
5627
+ });
5628
+ AppLayoutHeader.displayName = 'AppLayoutHeader';
5629
+
5624
5630
  const SearchableListItemLabel = ({ label, isSelected, showChevron = true, highlightIndices = [], isCheckbox = false, facet, }) => {
5625
5631
  return (jsxRuntime.jsxs(Flex, { width: "full", justifyContent: "space-between", whiteSpace: "pre-wrap", fontWeight: isSelected && !isCheckbox ? 'bold' : undefined, color: "gray.900", cursor: "pointer", children: [jsxRuntime.jsxs(Flex, { children: [isSelected && !isCheckbox ? (jsxRuntime.jsx(CheckmarkIcon, { w: "xs", mr: "xs", color: "gray.900" })) : null, jsxRuntime.jsx(HighlightedText, { text: label, highlightIndices: highlightIndices, textAlign: "left" })] }), jsxRuntime.jsxs(Flex, { as: "span", children: [facet ? (jsxRuntime.jsx(Text$1, { as: "span", color: "gray.400", mr: showChevron ? 'lg' : undefined, ml: "sm", minW: "lg", textAlign: "right", fontWeight: "regular", children: facet })) : null, showChevron ? (jsxRuntime.jsx(ChevronRightSmallIcon, { color: "gray.500", w: "sm", h: "sm" })) : null] })] }));
5626
5632
  };
@@ -5766,7 +5772,7 @@ const chunkArray = ({ array, chunkSize, }) => {
5766
5772
 
5767
5773
  const MobileOnlyAccordionPanel = (props) => {
5768
5774
  const { children, ...rest } = props;
5769
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(react.Box, { hideBelow: "md", textStyle: "body-small", paddingX: "lg", ...rest, children: children }), jsxRuntime.jsx(react.Box, { hideFrom: "md", children: jsxRuntime.jsx(AccordionPanel, { ...rest, children: children }) })] }));
5775
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(box.Box, { hideBelow: "md", textStyle: "body-small", paddingX: "lg", ...rest, children: children }), jsxRuntime.jsx(box.Box, { hideFrom: "md", children: jsxRuntime.jsx(AccordionPanel, { ...rest, children: children }) })] }));
5770
5776
  };
5771
5777
 
5772
5778
  const MobileOnlyAccordionItem = (props) => {
@@ -5776,7 +5782,7 @@ const MobileOnlyAccordionItem = (props) => {
5776
5782
 
5777
5783
  const MobileOnlyAccordionButton = (props) => {
5778
5784
  const { children, ...rest } = props;
5779
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(react.Box, { hideBelow: "md", textStyle: "heading5", paddingX: "lg", paddingBottom: "md", children: children }), jsxRuntime.jsx(react.Box, { hideFrom: "md", children: jsxRuntime.jsx(AccordionButton, { ...rest, children: children }) })] }));
5785
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(box.Box, { hideBelow: "md", textStyle: "heading5", paddingX: "lg", paddingBottom: "md", children: children }), jsxRuntime.jsx(box.Box, { hideFrom: "md", children: jsxRuntime.jsx(AccordionButton, { ...rest, children: children }) })] }));
5780
5786
  };
5781
5787
 
5782
5788
  const FooterSections = ({ config }) => {
@@ -5812,12 +5818,12 @@ const FooterSectionGrid = ({ config }) => {
5812
5818
  };
5813
5819
 
5814
5820
  const FooterLanguageNavigation = () => {
5815
- return (jsxRuntime.jsx(Center, { children: jsxRuntime.jsxs(Stack$1, { marginTop: "md", gap: "2xl", direction: "row", separator: jsxRuntime.jsx(react.StackSeparator, { borderColor: "gray.700" }), children: [jsxRuntime.jsx(Link$2, { href: "/de", color: "white", children: jsxRuntime.jsx(Text$1, { textStyle: "body-small", children: "Deutsch" }) }), jsxRuntime.jsx(Link$2, { href: "/fr", color: "white", children: jsxRuntime.jsx(Text$1, { textStyle: "body-small", children: "Fran\u00E7ais" }) }), jsxRuntime.jsx(Link$2, { href: "/it", color: "white", children: jsxRuntime.jsx(Text$1, { textStyle: "body-small", children: "Italiano" }) }), jsxRuntime.jsx(Link$2, { href: "/en", color: "white", children: jsxRuntime.jsx(Text$1, { textStyle: "body-small", children: "English" }) })] }) }));
5821
+ return (jsxRuntime.jsx(Center, { children: jsxRuntime.jsxs(Stack$1, { marginTop: "md", gap: "2xl", direction: "row", separator: jsxRuntime.jsx(stack.StackSeparator, { borderColor: "gray.700" }), children: [jsxRuntime.jsx(Link$2, { href: "/de", color: "white", children: jsxRuntime.jsx(Text$1, { textStyle: "body-small", children: "Deutsch" }) }), jsxRuntime.jsx(Link$2, { href: "/fr", color: "white", children: jsxRuntime.jsx(Text$1, { textStyle: "body-small", children: "Fran\u00E7ais" }) }), jsxRuntime.jsx(Link$2, { href: "/it", color: "white", children: jsxRuntime.jsx(Text$1, { textStyle: "body-small", children: "Italiano" }) }), jsxRuntime.jsx(Link$2, { href: "/en", color: "white", children: jsxRuntime.jsx(Text$1, { textStyle: "body-small", children: "English" }) })] }) }));
5816
5822
  };
5817
5823
 
5818
5824
  const FooterCopyright = ({ brand }) => {
5819
5825
  const { t } = useI18n();
5820
- return (jsxRuntime.jsx(react.Box, { textStyle: "body-small", textAlign: "center", opacity: "80", children: t(`footer.copyright.${brand}`, { year: new Date().getFullYear() }) }));
5826
+ return (jsxRuntime.jsx(box.Box, { textStyle: "body-small", textAlign: "center", opacity: "80", children: t(`footer.copyright.${brand}`, { year: new Date().getFullYear() }) }));
5821
5827
  };
5822
5828
 
5823
5829
  class FooterConfig extends BaseConfig {
@@ -6521,7 +6527,7 @@ const footerConfig = () => ({
6521
6527
  });
6522
6528
 
6523
6529
  const FooterCompanies = ({ config }) => {
6524
- return (jsxRuntime.jsx(react.Box, { gap: { base: 'md', md: '2xl' }, marginBottom: "md", marginTop: "2xl", as: Stack$1, flexDirection: "row", justifyContent: "center", flexWrap: "wrap", children: config.companies.map((companyLink, index) => {
6530
+ return (jsxRuntime.jsx(box.Box, { gap: { base: 'md', md: '2xl' }, marginBottom: "md", marginTop: "2xl", as: Stack$1, flexDirection: "row", justifyContent: "center", flexWrap: "wrap", children: config.companies.map((companyLink, index) => {
6525
6531
  return (jsxRuntime.jsx(FooterLink, { linkInstance: companyLink, bold: true }, `company-${index}`));
6526
6532
  }) }));
6527
6533
  };
@@ -6537,7 +6543,7 @@ const Footer = ({ brand, language, environment, useAbsoluteUrls, project, }) =>
6537
6543
  });
6538
6544
  return footerConfigInstance.getMappedConfig();
6539
6545
  }, [brand, environment, useAbsoluteUrls, project]);
6540
- return (jsxRuntime.jsx(TranslationProvider, { language: language, scopes: ['footer'], children: jsxRuntime.jsx("footer", { children: jsxRuntime.jsxs(react.Box, { width: "full", background: "gray.900", color: "white", paddingTop: { md: 'md' }, paddingBottom: { base: 'lg', md: '2xl' }, children: [jsxRuntime.jsx(Center, { children: jsxRuntime.jsxs(react.Container, { width: "full", maxWidth: "container.2xl", paddingX: { md: 'xs' }, children: [jsxRuntime.jsx(FooterSectionGrid, { config: config }), jsxRuntime.jsx(FooterLanguageNavigation, {}), jsxRuntime.jsx(SocialMedia, { config: config })] }) }), jsxRuntime.jsx(Separator, { orientation: "horizontal", borderColor: "gray.700" }), jsxRuntime.jsx(Center, { children: jsxRuntime.jsxs(react.Container, { width: "full", maxWidth: "container.xl", paddingX: "lg", children: [jsxRuntime.jsx(FooterCompanies, { config: config }), jsxRuntime.jsx(FooterCopyright, { brand: brand })] }) })] }) }) }));
6546
+ return (jsxRuntime.jsx(TranslationProvider, { language: language, scopes: ['footer'], children: jsxRuntime.jsx("footer", { children: jsxRuntime.jsxs(box.Box, { width: "full", background: "gray.900", color: "white", paddingTop: { md: 'md' }, paddingBottom: { base: 'lg', md: '2xl' }, children: [jsxRuntime.jsx(Center, { children: jsxRuntime.jsxs(react.Container, { width: "full", maxWidth: "container.2xl", paddingX: { md: 'xs' }, children: [jsxRuntime.jsx(FooterSectionGrid, { config: config }), jsxRuntime.jsx(FooterLanguageNavigation, {}), jsxRuntime.jsx(SocialMedia, { config: config })] }) }), jsxRuntime.jsx(Separator, { orientation: "horizontal", borderColor: "gray.700" }), jsxRuntime.jsx(Center, { children: jsxRuntime.jsxs(react.Container, { width: "full", maxWidth: "container.xl", paddingX: "lg", children: [jsxRuntime.jsx(FooterCompanies, { config: config }), jsxRuntime.jsx(FooterCopyright, { brand: brand })] }) })] }) }) }));
6541
6547
  };
6542
6548
 
6543
6549
  const createTenantLabel = (managedSeller) => {
@@ -6567,7 +6573,7 @@ const TenantSelectionSelectList = ({ managedSellers, selectedTenantId, onTenantS
6567
6573
 
6568
6574
  const Spinner = ({ size }) => (jsxRuntime.jsx(react.Spinner, { size: size }));
6569
6575
 
6570
- const NavigationTenantMenuLoading = () => (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(react.Box, { position: "absolute", top: "0", bottom: "0", left: "0", right: "0", bg: "gray.900", css: { opacity: 0.7 } }), jsxRuntime.jsx(react.Box, { position: "absolute", css: { top: '50%', left: '50%', transform: 'translate(-50%, -50%)' }, children: jsxRuntime.jsx(Spinner, {}) })] }));
6576
+ const NavigationTenantMenuLoading = () => (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(box.Box, { position: "absolute", top: "0", bottom: "0", left: "0", right: "0", bg: "gray.900", css: { opacity: 0.7 } }), jsxRuntime.jsx(box.Box, { position: "absolute", css: { top: '50%', left: '50%', transform: 'translate(-50%, -50%)' }, children: jsxRuntime.jsx(Spinner, {}) })] }));
6571
6577
 
6572
6578
  const NavigationTenantMenuContent = ({ user, selectTenant, onClose, title, selectedTenantId, }) => {
6573
6579
  const [isLoading, setIsLoading] = React.useState(false);
@@ -6594,10 +6600,10 @@ const NavigationTenantMenu = ({ user, selectTenant }) => {
6594
6600
  return null;
6595
6601
  const selectedTenantInfo = `${selectedTenant.billingName || ''} ${selectedTenant.billingCity || ''}`.trim() ||
6596
6602
  selectedTenant.id.toString();
6597
- return (jsxRuntime.jsx(react.Box, { hideBelow: "sm", display: "flex", alignItems: "center", children: jsxRuntime.jsxs(react.Popover.Root, { positioning: { placement: 'bottom-end' }, onOpenChange: (e) => {
6603
+ return (jsxRuntime.jsx(box.Box, { hideBelow: "sm", display: "flex", alignItems: "center", children: jsxRuntime.jsxs(react.Popover.Root, { positioning: { placement: 'bottom-end' }, onOpenChange: (e) => {
6598
6604
  if (!e.open)
6599
6605
  onClose();
6600
- }, open: open, lazyMount: true, unmountOnExit: true, children: [jsxRuntime.jsx(react.Popover.Trigger, { asChild: true, children: jsxRuntime.jsxs(react.Button, { p: "0", color: open ? 'blue.700' : 'gray.900', _hover: { color: 'blue.700' }, onClick: onToggle, display: "inline-flex", flexDirection: "row", alignItems: "center", gap: "xs", cursor: "pointer", css: { background: 'transparent' }, children: [jsxRuntime.jsx(GarageIcon, {}), jsxRuntime.jsx(react.Box, { hideBelow: "md", children: jsxRuntime.jsx(Text$1, { fontWeight: "bold", lineClamp: 1, maxW: "2xl", textAlign: "left", title: selectedTenantInfo, children: selectedTenantInfo }) }), jsxRuntime.jsx(ChevronDownSmallIcon, { transition: "transform", transitionDuration: "fast", transform: open ? 'rotate(180deg)' : 'rotate(0deg)' })] }) }), jsxRuntime.jsx(react.Portal, { children: jsxRuntime.jsx(react.Box, { zIndex: "popover", w: "full", h: "full", position: "relative", children: jsxRuntime.jsx(react.Popover.Positioner, { children: jsxRuntime.jsx(react.Popover.Content, { bg: "white", boxShadow: "sm", color: "gray.900", width: {
6606
+ }, open: open, lazyMount: true, unmountOnExit: true, children: [jsxRuntime.jsx(react.Popover.Trigger, { asChild: true, children: jsxRuntime.jsxs(react.Button, { p: "0", color: open ? 'blue.700' : 'gray.900', _hover: { color: 'blue.700' }, onClick: onToggle, display: "inline-flex", flexDirection: "row", alignItems: "center", gap: "xs", cursor: "pointer", css: { background: 'transparent' }, children: [jsxRuntime.jsx(GarageIcon, {}), jsxRuntime.jsx(box.Box, { hideBelow: "md", children: jsxRuntime.jsx(Text$1, { fontWeight: "bold", lineClamp: 1, maxW: "2xl", textAlign: "left", title: selectedTenantInfo, children: selectedTenantInfo }) }), jsxRuntime.jsx(ChevronDownSmallIcon, { transition: "transform", transitionDuration: "fast", transform: open ? 'rotate(180deg)' : 'rotate(0deg)' })] }) }), jsxRuntime.jsx(react.Portal, { children: jsxRuntime.jsx(box.Box, { zIndex: "popover", w: "full", h: "full", position: "relative", children: jsxRuntime.jsx(react.Popover.Positioner, { children: jsxRuntime.jsx(react.Popover.Content, { bg: "white", boxShadow: "sm", color: "gray.900", width: {
6601
6607
  base: 'full',
6602
6608
  md: '6xl',
6603
6609
  }, css: {
@@ -6613,7 +6619,7 @@ const replaceLanguage = ({ activeLanguage, newLanguage, }) => {
6613
6619
  };
6614
6620
 
6615
6621
  const NavigationLanguageMenu = ({ activeLanguage, }) => {
6616
- return (jsxRuntime.jsx(react.Box, { hideBelow: "sm", children: jsxRuntime.jsx(Menu, { title: activeLanguage.toUpperCase(), fontWeightTitle: "bold", menuColor: "gray.900", offset: {
6622
+ return (jsxRuntime.jsx(box.Box, { hideBelow: "sm", children: jsxRuntime.jsx(Menu, { title: activeLanguage.toUpperCase(), fontWeightTitle: "bold", menuColor: "gray.900", offset: {
6617
6623
  mainAxis: 8,
6618
6624
  crossAxis: 0,
6619
6625
  }, iconSpacing: "xs", placement: "bottom-end", items: [
@@ -6641,14 +6647,14 @@ const NavigationLanguageMenu = ({ activeLanguage, }) => {
6641
6647
  };
6642
6648
 
6643
6649
  const DrawerIndicator = ({ isOpen }) => {
6644
- return (jsxRuntime.jsx(react.Box, { hideBelow: "xs", display: "inline-flex", children: jsxRuntime.jsx(ChevronDownSmallIcon, { transition: "transform", transitionDuration: "fast", color: isOpen ? 'blue.700' : 'currentColor', transform: isOpen ? 'rotate(180deg)' : 'rotate(0deg)' }) }));
6650
+ return (jsxRuntime.jsx(box.Box, { hideBelow: "xs", display: "inline-flex", children: jsxRuntime.jsx(ChevronDownSmallIcon, { transition: "transform", transitionDuration: "fast", color: isOpen ? 'blue.700' : 'currentColor', transform: isOpen ? 'rotate(180deg)' : 'rotate(0deg)' }) }));
6645
6651
  };
6646
6652
 
6647
6653
  const NavigationItem = ({ translationKey, drawerHandler, isOpen }) => {
6648
6654
  const { t } = useI18n();
6649
6655
  const recipe = react.useSlotRecipe({ key: 'link' });
6650
6656
  const styles = recipe({ variant: 'navigationLink' });
6651
- return (jsxRuntime.jsxs(react.Box, { onClick: drawerHandler, css: {
6657
+ return (jsxRuntime.jsxs(box.Box, { onClick: drawerHandler, css: {
6652
6658
  ...styles.root,
6653
6659
  }, fontWeight: "bold", color: isOpen ? 'blue.700' : 'gray.900', _hover: { color: 'blue.700' }, position: "relative", cursor: "pointer", display: "flex", alignItems: "center", children: [t(translationKey), " ", jsxRuntime.jsx(DrawerIndicator, { isOpen: isOpen })] }));
6654
6660
  };
@@ -6657,11 +6663,11 @@ const NavigationLink = ({ link, title, translationKey, translationParameters = {
6657
6663
  const { t, language } = useI18n();
6658
6664
  const linkColor = color || 'gray.900';
6659
6665
  const hoverStyle = variant === 'navigationLink' ? { color: 'blue.700' } : undefined;
6660
- return (jsxRuntime.jsxs(Link$2, { href: link && link[language], variant: variant, fontWeight: fontWeight, css: { color: linkColor }, _hover: hoverStyle, onClick: onClick, display: "flex", alignItems: "center", gap: "md", children: [leftIcon, (translationKey || title) && (jsxRuntime.jsxs(react.Box, { hideBelow: hideTextBelow, children: [translationKey ? t(translationKey, translationParameters) : title, isNew ? jsxRuntime.jsx(Badge, { variant: "navigationLinkBadge", text: "New" }) : null] })), rightIcon] }));
6666
+ return (jsxRuntime.jsxs(Link$2, { href: link && link[language], variant: variant, fontWeight: fontWeight, css: { color: linkColor }, _hover: hoverStyle, onClick: onClick, display: "flex", alignItems: "center", gap: "md", children: [leftIcon, (translationKey || title) && (jsxRuntime.jsxs(box.Box, { hideBelow: hideTextBelow, children: [translationKey ? t(translationKey, translationParameters) : title, isNew ? jsxRuntime.jsx(Badge, { variant: "navigationLinkBadge", text: "New" }) : null] })), rightIcon] }));
6661
6667
  };
6662
6668
 
6663
6669
  const HeaderLink = ({ link }) => {
6664
- return (jsxRuntime.jsx(react.Box, { hideBelow: link.showUnderMoreLinkBelow, children: jsxRuntime.jsx(NavigationLink, { ...link, fontWeight: "bold" }) }));
6670
+ return (jsxRuntime.jsx(box.Box, { hideBelow: link.showUnderMoreLinkBelow, children: jsxRuntime.jsx(NavigationLink, { ...link, fontWeight: "bold" }) }));
6665
6671
  };
6666
6672
 
6667
6673
  const autoScoutVehiclesLinkConfig = {
@@ -7722,7 +7728,7 @@ const getComparisonUrl = (comparisonItemIds) => {
7722
7728
  };
7723
7729
  const ComparisonItem = ({ link, count }) => {
7724
7730
  const { t, language } = useI18n();
7725
- return (jsxRuntime.jsxs(react.chakra.a, { position: "relative", display: "block", href: link.link?.[language], onClick: link.onClick, "aria-label": t(link.translationKey ?? '', link.translationParameters), mr: "lg", children: [jsxRuntime.jsx(CompareIcon, { color: "gray.900" }), jsxRuntime.jsx(react.Box, { position: "absolute", css: { top: '-10px', right: '-15px' }, children: count > 0 ? jsxRuntime.jsx(Count, { count: count }) : null })] }));
7731
+ return (jsxRuntime.jsxs(react.chakra.a, { position: "relative", display: "block", href: link.link?.[language], onClick: link.onClick, "aria-label": t(link.translationKey ?? '', link.translationParameters), mr: "lg", children: [jsxRuntime.jsx(CompareIcon, { color: "gray.900" }), jsxRuntime.jsx(box.Box, { position: "absolute", css: { top: '-10px', right: '-15px' }, children: count > 0 ? jsxRuntime.jsx(Count, { count: count }) : null })] }));
7726
7732
  };
7727
7733
 
7728
7734
  const comparisonLinkConfig = ({ comparisonItemIds, }) => {
@@ -8156,7 +8162,7 @@ const NavigationItems = ({ platform, headerLinks, drawer, isOpen, createDrawerHa
8156
8162
  return (jsxRuntime.jsxs(Stack$1, { direction: "row", gap: { base: 'lg', sm: '2xl' }, align: "center", children: [jsxRuntime.jsx(Link$2, { href: `/${language}`, children: jsxRuntime.jsx(react.Image, { css: {
8157
8163
  width: { sm: '124px', base: '101px' },
8158
8164
  height: { sm: '30px', base: 'var(--spacing-sm)' },
8159
- }, src: logo, alt: "Platform logo", htmlWidth: 300, htmlHeight: 71 }) }), jsxRuntime.jsx(react.Box, { hideBelow: "sm", children: jsxRuntime.jsx(NavigationItem, { translationKey: "header.search", drawerHandler: searchDrawerHandler, isOpen: isOpen && drawer?.current === DrawerNode.Search }) }), headerLinks.map((link, index) => (jsxRuntime.jsx(HeaderLink, { link: link }, `link-${index}`))), jsxRuntime.jsx(react.Box, { display: { base: 'none', sm: 'block', lg: 'none' }, children: jsxRuntime.jsx(NavigationItem, { translationKey: "header.more", drawerHandler: moreDrawerHandler, isOpen: isOpen && drawer?.current === DrawerNode.More }) })] }));
8165
+ }, src: logo, alt: "Platform logo", htmlWidth: 300, htmlHeight: 71 }) }), jsxRuntime.jsx(box.Box, { hideBelow: "sm", children: jsxRuntime.jsx(NavigationItem, { translationKey: "header.search", drawerHandler: searchDrawerHandler, isOpen: isOpen && drawer?.current === DrawerNode.Search }) }), headerLinks.map((link, index) => (jsxRuntime.jsx(HeaderLink, { link: link }, `link-${index}`))), jsxRuntime.jsx(box.Box, { display: { base: 'none', sm: 'block', lg: 'none' }, children: jsxRuntime.jsx(NavigationItem, { translationKey: "header.more", drawerHandler: moreDrawerHandler, isOpen: isOpen && drawer?.current === DrawerNode.More }) })] }));
8160
8166
  };
8161
8167
 
8162
8168
  const NavigationAvatar = ({ user, isOpen, drawer, hasNotification, createDrawerHandler, onLogin, }) => {
@@ -8165,20 +8171,20 @@ const NavigationAvatar = ({ user, isOpen, drawer, hasNotification, createDrawerH
8165
8171
  const styles = recipe({ variant: 'navigationLink' });
8166
8172
  const { t } = useI18n();
8167
8173
  if (user) {
8168
- return (jsxRuntime.jsx(react.Box, { hideBelow: "sm", children: jsxRuntime.jsxs(react.Box, { display: "flex", flexDirection: "row", gap: "xs", cursor: "pointer", _hover: { color: 'blue.700' }, color: isDrawerOpened ? 'blue.700' : 'gray.900', onClick: createDrawerHandler({
8174
+ return (jsxRuntime.jsx(box.Box, { hideBelow: "sm", children: jsxRuntime.jsxs(box.Box, { display: "flex", flexDirection: "row", gap: "xs", cursor: "pointer", _hover: { color: 'blue.700' }, color: isDrawerOpened ? 'blue.700' : 'gray.900', onClick: createDrawerHandler({
8169
8175
  nodeName: DrawerNode.User,
8170
- }), alignItems: "center", children: [jsxRuntime.jsx(Avatar, { withNotification: hasNotification }), jsxRuntime.jsx(react.Box, { hideBelow: "md", children: jsxRuntime.jsx(Text$1, { fontWeight: "bold", lineClamp: 1, maxW: "2xl", title: user.email, children: user.email }) }), jsxRuntime.jsx(DrawerIndicator, { isOpen: isDrawerOpened })] }) }));
8176
+ }), alignItems: "center", children: [jsxRuntime.jsx(Avatar, { withNotification: hasNotification }), jsxRuntime.jsx(box.Box, { hideBelow: "md", children: jsxRuntime.jsx(Text$1, { fontWeight: "bold", lineClamp: 1, maxW: "2xl", title: user.email, children: user.email }) }), jsxRuntime.jsx(DrawerIndicator, { isOpen: isDrawerOpened })] }) }));
8171
8177
  }
8172
- return (jsxRuntime.jsx(react.Box, { hideBelow: "sm", children: jsxRuntime.jsxs(react.Box, { display: "flex", flexDirection: "row", onClick: onLogin, css: {
8178
+ return (jsxRuntime.jsx(box.Box, { hideBelow: "sm", children: jsxRuntime.jsxs(box.Box, { display: "flex", flexDirection: "row", onClick: onLogin, css: {
8173
8179
  ...styles.root,
8174
- }, fontWeight: "bold", position: "relative", cursor: "pointer", alignItems: "center", gap: "sm", color: "gray.900", children: [jsxRuntime.jsx(react.Box, { as: Avatar, css: { marginLeft: 'xxs' } }), jsxRuntime.jsx(react.Box, { hideBelow: "md", marginRight: "xs", children: t('header.login') })] }) }));
8180
+ }, fontWeight: "bold", position: "relative", cursor: "pointer", alignItems: "center", gap: "sm", color: "gray.900", children: [jsxRuntime.jsx(box.Box, { as: Avatar, css: { marginLeft: 'xxs' } }), jsxRuntime.jsx(box.Box, { hideBelow: "md", marginRight: "xs", children: t('header.login') })] }) }));
8175
8181
  };
8176
8182
 
8177
8183
  const MobileHeaderMenuToggle = ({ isOpen, createDrawerHandler, }) => {
8178
8184
  const mobileDrawerHandler = createDrawerHandler({
8179
8185
  nodeName: DrawerNode.Combined,
8180
8186
  });
8181
- return (jsxRuntime.jsx(react.Box, { hideFrom: "sm", as: "button", onClick: mobileDrawerHandler, color: isOpen ? 'blue.700' : 'gray.900', children: isOpen ? jsxRuntime.jsx(CloseIcon, {}) : jsxRuntime.jsx(HamburgerMenuIcon, {}) }));
8187
+ return (jsxRuntime.jsx(box.Box, { hideFrom: "sm", as: "button", onClick: mobileDrawerHandler, color: isOpen ? 'blue.700' : 'gray.900', children: isOpen ? jsxRuntime.jsx(CloseIcon, {}) : jsxRuntime.jsx(HamburgerMenuIcon, {}) }));
8182
8188
  };
8183
8189
 
8184
8190
  const drawerHandlerFactory = ({ nodeName, drawerNodeItems, isOpen, onOpen, onClose, drawer, setDrawer, }) => {
@@ -8232,11 +8238,11 @@ const SelectedTenantInfo = ({ selectedTenant }) => (jsxRuntime.jsxs(Stack$1, { d
8232
8238
  }, gap: {
8233
8239
  base: '0',
8234
8240
  sm: 'sm',
8235
- }, children: [jsxRuntime.jsx(react.Box, { as: "span", textStyle: "body", fontWeight: "bold", children: selectedTenant.billingName || selectedTenant.id }), jsxRuntime.jsxs(react.Box, { as: "span", textStyle: "body", children: [selectedTenant.billingZipCode, " ", selectedTenant.billingCity] })] })] }));
8241
+ }, children: [jsxRuntime.jsx(box.Box, { as: "span", textStyle: "body", fontWeight: "bold", children: selectedTenant.billingName || selectedTenant.id }), jsxRuntime.jsxs(box.Box, { as: "span", textStyle: "body", children: [selectedTenant.billingZipCode, " ", selectedTenant.billingCity] })] })] }));
8236
8242
 
8237
8243
  const TenantSelectionMenu = ({ user, selectedTenant, selectTenant, }) => {
8238
8244
  const [expandedItems, setExpandedItems] = React.useState([]);
8239
- return (jsxRuntime.jsx(MobileOnlyAccordion, { multiple: true, collapsible: true, value: expandedItems, onValueChange: (details) => setExpandedItems(details.value), children: jsxRuntime.jsxs(MobileOnlyAccordionItem, { value: "tenant-selection", style: { borderTop: 'none', borderBottom: '1px solid #CFCFCF' }, children: [jsxRuntime.jsx(MobileOnlyAccordionButton, { "data-testid": "tenant-selection-accordion-toggle", children: jsxRuntime.jsx(SelectedTenantInfo, { selectedTenant: selectedTenant }) }), jsxRuntime.jsx(react.Box, { as: MobileOnlyAccordionPanel, position: "relative", "data-testid": "tenant-selection-accordion-panel", children: jsxRuntime.jsx(NavigationTenantMenuContent, { user: user, onClose: () => setExpandedItems([]), selectedTenantId: selectedTenant.id, selectTenant: selectTenant }) })] }) }));
8245
+ return (jsxRuntime.jsx(MobileOnlyAccordion, { multiple: true, collapsible: true, value: expandedItems, onValueChange: (details) => setExpandedItems(details.value), children: jsxRuntime.jsxs(MobileOnlyAccordionItem, { value: "tenant-selection", style: { borderTop: 'none', borderBottom: '1px solid #CFCFCF' }, children: [jsxRuntime.jsx(MobileOnlyAccordionButton, { "data-testid": "tenant-selection-accordion-toggle", children: jsxRuntime.jsx(SelectedTenantInfo, { selectedTenant: selectedTenant }) }), jsxRuntime.jsx(box.Box, { as: MobileOnlyAccordionPanel, position: "relative", "data-testid": "tenant-selection-accordion-panel", children: jsxRuntime.jsx(NavigationTenantMenuContent, { user: user, onClose: () => setExpandedItems([]), selectedTenantId: selectedTenant.id, selectTenant: selectTenant }) })] }) }));
8240
8246
  };
8241
8247
 
8242
8248
  const DrawerUserInfo = ({ user, selectTenant, showTenantSelection, }) => {
@@ -8252,9 +8258,9 @@ const DrawerUserInfo = ({ user, selectTenant, showTenantSelection, }) => {
8252
8258
  }, gap: {
8253
8259
  base: '0',
8254
8260
  md: 'sm',
8255
- }, children: [jsxRuntime.jsx(react.Box, { as: "span", fontWeight: "bold", css: {
8261
+ }, children: [jsxRuntime.jsx(box.Box, { as: "span", fontWeight: "bold", css: {
8256
8262
  maxWidth: 'calc(100vw - 2 * var(--chakra-space-lg) - var(--chakra-space-sm) - var(--chakra-sizes-sm))',
8257
- }, children: user.email }), user.userType === auth$4.Auth0UserType.Professional ? (jsxRuntime.jsxs(react.Box, { as: "span", children: ["(", user.sellerId, ")"] })) : null] })] }), selectedTenant && showTenantSelection ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(react.Box, { hideBelow: "md", children: jsxRuntime.jsx(SelectedTenantInfo, { selectedTenant: selectedTenant }) }), jsxRuntime.jsx(react.Box, { hideFrom: "sm", marginX: "-lg", marginBottom: "-lg", children: jsxRuntime.jsx(TenantSelectionMenu, { user: user, selectedTenant: selectedTenant, selectTenant: selectTenant }) })] })) : null] }), jsxRuntime.jsx(react.Separator, { css: {
8263
+ }, children: user.email }), user.userType === auth$4.Auth0UserType.Professional ? (jsxRuntime.jsxs(box.Box, { as: "span", children: ["(", user.sellerId, ")"] })) : null] })] }), selectedTenant && showTenantSelection ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(box.Box, { hideBelow: "md", children: jsxRuntime.jsx(SelectedTenantInfo, { selectedTenant: selectedTenant }) }), jsxRuntime.jsx(box.Box, { hideFrom: "sm", marginX: "-lg", marginBottom: "-lg", children: jsxRuntime.jsx(TenantSelectionMenu, { user: user, selectedTenant: selectedTenant, selectTenant: selectTenant }) })] })) : null] }), jsxRuntime.jsx(react.Separator, { css: {
8258
8264
  borderBottomWidth: selectedTenant
8259
8265
  ? { base: 0, md: '1px' }
8260
8266
  : { base: '1px', md: '1px' },
@@ -8267,11 +8273,11 @@ const DrawerNavigationLink = ({ item }) => {
8267
8273
  const hideProps = item.showUnderMoreLinkBelow
8268
8274
  ? { hideFrom: item.showUnderMoreLinkBelow }
8269
8275
  : {};
8270
- return (jsxRuntime.jsx(react.Box, { ...hideProps, children: jsxRuntime.jsx(List$1.Item, { paddingBottom: { base: 'lg', md: 'md' }, children: jsxRuntime.jsx(NavigationLink, { ...item, variant: "subNavigationLink", color: item.color }) }) }));
8276
+ return (jsxRuntime.jsx(box.Box, { ...hideProps, children: jsxRuntime.jsx(List$1.Item, { paddingBottom: { base: 'lg', md: 'md' }, children: jsxRuntime.jsx(NavigationLink, { ...item, variant: "subNavigationLink", color: item.color }) }) }));
8271
8277
  };
8272
8278
 
8273
8279
  const NonCollapsibleSection = ({ node, }) => {
8274
- return (jsxRuntime.jsx(react.Box, { py: { base: '2xl', md: '0' }, px: "2xl", children: jsxRuntime.jsx(List$1.Root, { children: node.items.map((item, index) => {
8280
+ return (jsxRuntime.jsx(box.Box, { py: { base: '2xl', md: '0' }, px: "2xl", children: jsxRuntime.jsx(List$1.Root, { children: node.items.map((item, index) => {
8275
8281
  return jsxRuntime.jsx(DrawerNavigationLink, { item: item }, index);
8276
8282
  }) }) }));
8277
8283
  };
@@ -8280,7 +8286,7 @@ const CollapsibleSection = ({ node, }) => {
8280
8286
  if (!node.translationKey && !node.title) {
8281
8287
  return null;
8282
8288
  }
8283
- return (jsxRuntime.jsx(react.GridItem, { children: jsxRuntime.jsx(MobileOnlyAccordion, { multiple: true, collapsible: true, children: jsxRuntime.jsxs(MobileOnlyAccordionItem, { value: "section", border: "none", children: [jsxRuntime.jsx(MobileOnlyAccordionButton, { children: jsxRuntime.jsx(react.Box, { flex: "1", textAlign: "left", fontSize: "base", children: node.translationKey ? t(node.translationKey) : node.title }) }), jsxRuntime.jsx(MobileOnlyAccordionPanel, { pb: "0", children: jsxRuntime.jsx(react.Box, { paddingTop: { base: 'lg', md: '0' }, children: jsxRuntime.jsx(List$1.Root, { children: node.items.map((item, index) => (jsxRuntime.jsx(DrawerNavigationLink, { item: item }, index))) }) }) })] }) }) }));
8289
+ return (jsxRuntime.jsx(react.GridItem, { children: jsxRuntime.jsx(MobileOnlyAccordion, { multiple: true, collapsible: true, children: jsxRuntime.jsxs(MobileOnlyAccordionItem, { value: "section", border: "none", children: [jsxRuntime.jsx(MobileOnlyAccordionButton, { children: jsxRuntime.jsx(box.Box, { flex: "1", textAlign: "left", fontSize: "base", children: node.translationKey ? t(node.translationKey) : node.title }) }), jsxRuntime.jsx(MobileOnlyAccordionPanel, { pb: "0", children: jsxRuntime.jsx(box.Box, { paddingTop: { base: 'lg', md: '0' }, children: jsxRuntime.jsx(List$1.Root, { children: node.items.map((item, index) => (jsxRuntime.jsx(DrawerNavigationLink, { item: item }, index))) }) }) })] }) }) }));
8284
8290
  };
8285
8291
 
8286
8292
  const DrawerMenu = ({ node }) => {
@@ -8391,9 +8397,9 @@ const Navigation = ({ brand, comparisonItemIds, environment, hasNotification, la
8391
8397
  onClose();
8392
8398
  }
8393
8399
  }, [user?.userId, onClose]);
8394
- return (jsxRuntime.jsxs(TranslationProvider, { language: language, scopes: ['header', 'auth.tenantSelection'], children: [jsxRuntime.jsx(react.Box, { width: "full", borderBottom: "1px", borderBottomColor: "gray.200", zIndex: "header", backgroundColor: "white", ...(isOpen
8400
+ return (jsxRuntime.jsxs(TranslationProvider, { language: language, scopes: ['header', 'auth.tenantSelection'], children: [jsxRuntime.jsx(box.Box, { width: "full", borderBottom: "1px", borderBottomColor: "gray.200", zIndex: "header", backgroundColor: "white", ...(isOpen
8395
8401
  ? { position: 'fixed', top: '0' }
8396
- : { position: 'relative' }), children: jsxRuntime.jsxs(react.Box, { maxWidth: "container.2xl", css: { height: config.menuHeight }, alignItems: "center", margin: "auto", display: "flex", justifyContent: "space-between", px: { base: 'sm', xs: 'lg', sm: '2xl' }, children: [jsxRuntime.jsx(NavigationItems, { platform: brand, headerLinks: config.headerItems, drawer: drawer, isOpen: isOpen, createDrawerHandler: createDrawerHandler, language: language }), jsxRuntime.jsxs(Stack$1, { direction: "row", gap: "2xl", align: "center", children: [config.iconItems.favorites?.isVisible ? (jsxRuntime.jsx(FavoritesItem, { link: config.iconItems.favorites })) : null, config.iconItems.comparison ? (jsxRuntime.jsx(ComparisonItem, { link: config.iconItems.comparison, count: comparisonItemIds?.length ?? 0 })) : null, jsxRuntime.jsx(NavigationAvatar, { user: user, createDrawerHandler: createDrawerHandler, isOpen: isOpen, drawer: drawer, hasNotification: hasNotification, onLogin: onLogin }), showTenantSelection ? (jsxRuntime.jsx(NavigationTenantMenu, { user: user, selectTenant: selectTenant })) : null, jsxRuntime.jsx(NavigationLanguageMenu, { activeLanguage: language }), jsxRuntime.jsx(MobileHeaderMenuToggle, { isOpen: isOpen, createDrawerHandler: createDrawerHandler })] })] }) }), jsxRuntime.jsx(NavigationDrawer, { user: user, showTenantSelection: showTenantSelection, drawer: drawer, isOpen: isOpen, onClose: onClose, menuHeight: config.menuHeight, onLogin: onLogin, onLogout: onLogout, selectTenant: selectTenant })] }));
8402
+ : { position: 'relative' }), children: jsxRuntime.jsxs(box.Box, { maxWidth: "container.2xl", css: { height: config.menuHeight }, alignItems: "center", margin: "auto", display: "flex", justifyContent: "space-between", px: { base: 'sm', xs: 'lg', sm: '2xl' }, children: [jsxRuntime.jsx(NavigationItems, { platform: brand, headerLinks: config.headerItems, drawer: drawer, isOpen: isOpen, createDrawerHandler: createDrawerHandler, language: language }), jsxRuntime.jsxs(Stack$1, { direction: "row", gap: "2xl", align: "center", children: [config.iconItems.favorites?.isVisible ? (jsxRuntime.jsx(FavoritesItem, { link: config.iconItems.favorites })) : null, config.iconItems.comparison ? (jsxRuntime.jsx(ComparisonItem, { link: config.iconItems.comparison, count: comparisonItemIds?.length ?? 0 })) : null, jsxRuntime.jsx(NavigationAvatar, { user: user, createDrawerHandler: createDrawerHandler, isOpen: isOpen, drawer: drawer, hasNotification: hasNotification, onLogin: onLogin }), showTenantSelection ? (jsxRuntime.jsx(NavigationTenantMenu, { user: user, selectTenant: selectTenant })) : null, jsxRuntime.jsx(NavigationLanguageMenu, { activeLanguage: language }), jsxRuntime.jsx(MobileHeaderMenuToggle, { isOpen: isOpen, createDrawerHandler: createDrawerHandler })] })] }) }), jsxRuntime.jsx(NavigationDrawer, { user: user, showTenantSelection: showTenantSelection, drawer: drawer, isOpen: isOpen, onClose: onClose, menuHeight: config.menuHeight, onLogin: onLogin, onLogout: onLogout, selectTenant: selectTenant })] }));
8397
8403
  };
8398
8404
 
8399
8405
  const Pagination = ({ totalPages, currentPage = 0, onChange, marginBottom, marginTop, }) => {
@@ -8412,26 +8418,6 @@ const Progress = ({ current, max, label }) => {
8412
8418
  return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(react.Progress.Root, { value: validCurrent, max: validMax, "aria-label": label(validCurrent, max), children: jsxRuntime.jsx(react.Progress.Track, { children: jsxRuntime.jsx(react.Progress.Range, {}) }) }), jsxRuntime.jsxs(Stack$1, { direction: "row", gap: "xs", align: "center", marginTop: "sm", children: [isComplete && jsxRuntime.jsx(CheckmarkCircleIcon, { color: "green.400" }), jsxRuntime.jsx(Text$1, { textStyle: "body", children: label(validCurrent, max) })] })] }));
8413
8419
  };
8414
8420
 
8415
- const Radio = React.forwardRef((props, ref) => {
8416
- const recipe = react.useSlotRecipe({ key: 'radio' });
8417
- const [recipeProps, restProps] = recipe.splitVariantProps(props);
8418
- const styles = recipe(recipeProps);
8419
- const { value, name, onChange, items, orientation = 'horizontal', children, ...rootDomProps } = restProps;
8420
- const renderedItems = items.map((item) => (jsxRuntime.jsxs(react.RadioGroup.Item, { value: item.value, disabled: item.disabled, invalid: item.invalid, css: styles.item, children: [jsxRuntime.jsx(react.RadioGroup.ItemControl, { css: styles.control, children: jsxRuntime.jsx(react.RadioGroup.ItemIndicator, { css: styles.indicator }) }), jsxRuntime.jsx(react.RadioGroup.ItemText, { css: styles.label, children: item.label }), jsxRuntime.jsx(react.RadioGroup.ItemHiddenInput, { ref: ref })] }, item.value)));
8421
- const defaultWrapped = (jsxRuntime.jsx(react.Stack, { direction: orientation === 'horizontal' ? 'row' : 'column', gap: orientation === 'horizontal' ? '2xl' : 'xxs', children: renderedItems }));
8422
- const content = children ? children(renderedItems) : defaultWrapped;
8423
- return (jsxRuntime.jsx(react.RadioGroup.Root, { name: name, value: value, onValueChange: (details) => {
8424
- if (!onChange)
8425
- return;
8426
- const target = {
8427
- value: details.value,
8428
- name,
8429
- checked: details.value === value,
8430
- };
8431
- onChange({ target });
8432
- }, css: styles.root, ...rootDomProps, children: content }));
8433
- });
8434
-
8435
8421
  const RadioListItem = React.forwardRef(({ children, value, ...rest }, ref) => {
8436
8422
  const recipe = react.useRecipe({ key: 'radioListItem' });
8437
8423
  const styles = recipe();
@@ -8448,7 +8434,7 @@ const RadioListItem = React.forwardRef(({ children, value, ...rest }, ref) => {
8448
8434
  event.stopPropagation();
8449
8435
  }
8450
8436
  };
8451
- return (jsxRuntime.jsx(react.RadioGroup.Item, { value: value, asChild: true, ...rest, children: jsxRuntime.jsxs(react.Box, { as: "label", css: styles, children: [jsxRuntime.jsx(react.RadioGroup.ItemHiddenInput, { ref: ref }), jsxRuntime.jsx(react.Box, { onPointerDownCapture: stopIfInteractiveTarget, onClickCapture: stopIfInteractiveTarget, children: children })] }) }));
8437
+ return (jsxRuntime.jsx(react.RadioGroup.Item, { value: value, asChild: true, ...rest, children: jsxRuntime.jsxs(box.Box, { as: "label", css: styles, children: [jsxRuntime.jsx(react.RadioGroup.ItemHiddenInput, { ref: ref }), jsxRuntime.jsx(box.Box, { onPointerDownCapture: stopIfInteractiveTarget, onClickCapture: stopIfInteractiveTarget, children: children })] }) }));
8452
8438
  });
8453
8439
  RadioListItem.displayName = 'RadioListItem';
8454
8440
 
@@ -8458,7 +8444,7 @@ const RadioList = ({ name, defaultValue, options, onChange, }) => {
8458
8444
  onChange?.(details.value);
8459
8445
  }
8460
8446
  };
8461
- return (jsxRuntime.jsx(react.RadioGroup.Root, { name: name, defaultValue: defaultValue, onValueChange: handleValueChange, children: jsxRuntime.jsx(react.VStack, { gap: "0", align: "stretch", separator: jsxRuntime.jsx(react.StackSeparator, { borderColor: "gray.100" }), children: options.map((option, idx) => {
8447
+ return (jsxRuntime.jsx(react.RadioGroup.Root, { name: name, defaultValue: defaultValue, onValueChange: handleValueChange, children: jsxRuntime.jsx(react.VStack, { gap: "0", align: "stretch", separator: jsxRuntime.jsx(stack.StackSeparator, { borderColor: "gray.100" }), children: options.map((option, idx) => {
8462
8448
  // Chakra v3 RadioGroup expects item values to be strings.
8463
8449
  // Since React `option.key` may be a number, we explicitly convert it to `String(key)`.
8464
8450
  const value = option.key != null ? option.key.toString() : idx.toString();
@@ -8466,6 +8452,26 @@ const RadioList = ({ name, defaultValue, options, onChange, }) => {
8466
8452
  }) }) }));
8467
8453
  };
8468
8454
 
8455
+ const Radio = React.forwardRef((props, ref) => {
8456
+ const recipe = react.useSlotRecipe({ key: 'radio' });
8457
+ const [recipeProps, restProps] = recipe.splitVariantProps(props);
8458
+ const styles = recipe(recipeProps);
8459
+ const { value, name, onChange, items, orientation = 'horizontal', children, ...rootDomProps } = restProps;
8460
+ const renderedItems = items.map((item) => (jsxRuntime.jsxs(react.RadioGroup.Item, { value: item.value, disabled: item.disabled, invalid: item.invalid, css: styles.item, children: [jsxRuntime.jsx(react.RadioGroup.ItemControl, { css: styles.control, children: jsxRuntime.jsx(react.RadioGroup.ItemIndicator, { css: styles.indicator }) }), jsxRuntime.jsx(react.RadioGroup.ItemText, { css: styles.label, children: item.label }), jsxRuntime.jsx(react.RadioGroup.ItemHiddenInput, { ref: ref })] }, item.value)));
8461
+ const defaultWrapped = (jsxRuntime.jsx(react.Stack, { direction: orientation === 'horizontal' ? 'row' : 'column', gap: orientation === 'horizontal' ? '2xl' : 'xxs', children: renderedItems }));
8462
+ const content = children ? children(renderedItems) : defaultWrapped;
8463
+ return (jsxRuntime.jsx(react.RadioGroup.Root, { name: name, value: value, onValueChange: (details) => {
8464
+ if (!onChange)
8465
+ return;
8466
+ const target = {
8467
+ value: details.value,
8468
+ name,
8469
+ checked: details.value === value,
8470
+ };
8471
+ onChange({ target });
8472
+ }, css: styles.root, ...rootDomProps, children: content }));
8473
+ });
8474
+
8469
8475
  const Rating = ({ rating, ...props }) => {
8470
8476
  const percent = `calc((${rating.toString()} - 0.16) / 5 * 100%)`;
8471
8477
  const recipe = react.useRecipe({ key: 'rating' });
@@ -8498,7 +8504,7 @@ const Section = ({ maxImgW = '2xl', ...props }) => {
8498
8504
  const TabList = ({ variant, children, ...rest }) => {
8499
8505
  const recipe = react.useSlotRecipe({ key: 'tabs' });
8500
8506
  const styles = recipe({ variant });
8501
- return (jsxRuntime.jsx(react.Box, { overflowX: "auto", children: jsxRuntime.jsx(react.Tabs.List, { ...rest, css: styles.list, children: React.Children.map(children, (child) => React.isValidElement(child)
8507
+ return (jsxRuntime.jsx(box.Box, { overflowX: "auto", children: jsxRuntime.jsx(react.Tabs.List, { ...rest, css: styles.list, children: React.Children.map(children, (child) => React.isValidElement(child)
8502
8508
  ? React.cloneElement(child, { variant })
8503
8509
  : child) }) }));
8504
8510
  };
@@ -8512,13 +8518,13 @@ const TabPanel = ({ variant, children, ...rest }) => {
8512
8518
  const TabPanels = ({ variant, children, }) => {
8513
8519
  const recipe = react.useSlotRecipe({ key: 'tabs' });
8514
8520
  const styles = recipe({ variant });
8515
- return (jsxRuntime.jsx(react.Box, { css: styles.contentGroup, children: React.Children.map(children, (child) => React.isValidElement(child)
8521
+ return (jsxRuntime.jsx(box.Box, { css: styles.contentGroup, children: React.Children.map(children, (child) => React.isValidElement(child)
8516
8522
  ? React.cloneElement(child, { variant })
8517
8523
  : child) }));
8518
8524
  };
8519
8525
 
8520
8526
  const TenantSelectionModalLayout = ({ children }) => {
8521
- return (jsxRuntime.jsx(react.Box, { height: { base: 'full', sm: 'auth0-height' }, maxH: "screen-height", overflowX: "hidden", overflowY: "auto", paddingX: "2xl", paddingY: { base: '3xl', sm: '2xl' }, color: "gray.900", children: jsxRuntime.jsx(Flex, { direction: "column", alignItems: "center", gridGap: "md", minHeight: "full", children: children }) }));
8527
+ return (jsxRuntime.jsx(box.Box, { height: { base: 'full', sm: 'auth0-height' }, maxH: "screen-height", overflowX: "hidden", overflowY: "auto", paddingX: "2xl", paddingY: { base: '3xl', sm: '2xl' }, color: "gray.900", children: jsxRuntime.jsx(Flex, { direction: "column", alignItems: "center", gridGap: "md", minHeight: "full", children: children }) }));
8522
8528
  };
8523
8529
 
8524
8530
  const TenantSelectionSelect = ({ tenantSelection, setTenantSelection, user, }) => {
@@ -8559,7 +8565,7 @@ const TenantSelectionOverview = ({ tenantSelection, setTenantSelection, user, se
8559
8565
  };
8560
8566
 
8561
8567
  const TenantSelectionLoadingState = () => {
8562
- return (jsxRuntime.jsx(TenantSelectionModalLayout, { children: jsxRuntime.jsx(react.Box, { margin: "auto", children: jsxRuntime.jsx(Spinner, {}) }) }));
8568
+ return (jsxRuntime.jsx(TenantSelectionModalLayout, { children: jsxRuntime.jsx(box.Box, { margin: "auto", children: jsxRuntime.jsx(Spinner, {}) }) }));
8563
8569
  };
8564
8570
 
8565
8571
  const TenantSelectionContainer = ({ language, children }) => (jsxRuntime.jsx(TranslationProvider, { language: language, scopes: ['auth.tenantSelection'], children: jsxRuntime.jsx(Dialog, { open: true, onOpenChange: () => { }, motionPreset: "none", size: "auth0", overlayColor: "gray", disableBodyPadding: true, children: children }) }));
@@ -8610,7 +8616,7 @@ const MarkedText = ({ children, ...props }) => {
8610
8616
  const [recipeProps, boxProps] = recipe.splitVariantProps(props);
8611
8617
  const styles = recipe(recipeProps);
8612
8618
  const { variant, highlightColor } = props;
8613
- return (jsxRuntime.jsxs(react.Box, { css: styles.container, ...boxProps, children: [jsxRuntime.jsx(MarkedTextMark, { variant: variant, highlightColor: highlightColor }), jsxRuntime.jsx(react.Box, { css: styles.text, children: children })] }));
8619
+ return (jsxRuntime.jsxs(box.Box, { css: styles.container, ...boxProps, children: [jsxRuntime.jsx(MarkedTextMark, { variant: variant, highlightColor: highlightColor }), jsxRuntime.jsx(box.Box, { css: styles.text, children: children })] }));
8614
8620
  };
8615
8621
 
8616
8622
  const Textarea = React.forwardRef(({ ...props }, ref) => {