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AIuI,EAAoBvI,GACxBC,GAAIsI,EAAoBtI,GACxBC,GAAIqI,EAAoBrI,GACxBC,IAAKoI,EAAoBpI,IAKrBqI,EAAgCC,OAAOC,OAAOjD,EAAAA,GAEvCkD,EAAoBC,IAC/B,MAAMC,EAAaL,EAAgBM,QAAQF,GAC3C,OAAOJ,EAAgBO,MAAM,EAAGF,EAAW,EAGhCG,EAAoBJ,IAC/B,MAAMK,EAAaT,EAAgBM,QAAQF,GAAc,EACzD,OAAOJ,EAAgBO,MAAME,EAAW,C,mDC9BrCxD,EAAc,SAAdA,GAAc,OAAdA,EAAc,WAAdA,EAAc,YAAdA,EAAc,WAAdA,EAAc,YAAdA,EAAc,UAAdA,CAAc,EAAdA,GAAc,IAQnB,S","sources":["webpack://react-app/./components/Shared/src/components/atoms/LoadingSpinner/LoadingSpinner.tsx","webpack://react-app/./components/Shared/src/utility/helpers/replaceValuesInLabel.ts","webpack://react-app/./components/Shared/src/components/molecules/ListingPlaceholder/ListingPlaceholder.tsx","webpack://react-app/./components/Shared/src/components/atoms/Button/Button.tsx","webpack://react-app/./components/Shared/src/components/molecules/Accordion/Accordion.tsx","webpack://react-app/./components/Shared/src/components/atoms/Text/Text.tsx","webpack://react-app/./components/Shared/src/components/atoms/Select/Select.tsx","webpack://react-app/./components/Shared/src/models/enums/SiteEnum.ts","webpack://react-app/./components/Shared/src/models/enums/VariantTypeEnum.ts","webpack://react-app/./components/Shared/tailwind.config.js","webpack://react-app/./components/Shared/src/models/enums/ThemeEnum.ts","webpack://react-app/./components/Shared/src/models/enums/SizeEnum.ts","webpack://react-app/./components/Shared/src/utility/hooks/useBreakpoint.ts","webpack://react-app/./components/Shared/src/components/atoms/AccordionItem/AccordionItem.tsx","webpack://react-app/./components/Shared/src/utility/format/parseNumberInString.ts","webpack://react-app/./components/Shared/src/utility/config/breakpoints.ts","webpack://react-app/./components/Shared/src/models/enums/BreakpointEnum.ts"],"sourcesContent":["import SizeEnum from '@models/enums/SizeEnum';\nimport ThemeEnum from '@models/enums/ThemeEnum';\nimport { ILoadingSpinner } from '@models/ILoadingSpinner';\nimport classNames from 'classnames';\n\nconst LoadingSpinner = ({\n size = SizeEnum.Small,\n loadingLabel = '...loading',\n theme = ThemeEnum.Light,\n}: ILoadingSpinner) => {\n const sizeClasses = classNames({\n 'tw-w-xs tw-h-xs': size === SizeEnum.Small,\n 'tw-w-sm tw-h-sm': size === SizeEnum.Medium,\n 'tw-h-16 tw-w-16': size === SizeEnum.Large,\n });\n\n const borderClasses = classNames({\n 'tw-border-2': size === SizeEnum.Small,\n 'tw-border-[3px]': size === SizeEnum.Medium,\n 'tw-border-4': size === SizeEnum.Large,\n });\n\n const segmentClasses = classNames({\n 'tw-border-b-2 tw-border-l-2': size === SizeEnum.Small,\n 'tw-border-b-[3px] tw-border-l-[3px]': size === SizeEnum.Medium,\n 'tw-border-b-4 tw-border-l-4': size === SizeEnum.Large,\n });\n\n return (\n \n \n \n \n \n {loadingLabel}\n \n );\n};\n\nexport default LoadingSpinner;\n","const replaceValuesInLabel = (\n label: string,\n replacementArray: Array\n) => {\n let newLabel = label;\n\n replacementArray.forEach((value, index) => {\n newLabel = newLabel.replace(`{${index}}`, value.toString());\n });\n\n return newLabel;\n};\n\nexport default replaceValuesInLabel;\n","import Icon from '@atoms/Icon/Icon';\nimport Text from '@atoms/Text/Text';\nimport { IconName } from '@models/IIcon';\n\nexport interface IListingPlaceholder {\n readonly dataTestId?: string;\n readonly iconName?: IconName;\n readonly title: string;\n readonly message: string;\n}\n\nconst ListingPlaceholder = ({\n dataTestId,\n iconName = 'no-result',\n title,\n message,\n}: IListingPlaceholder) => (\n \n \n \n {title}\n \n \n {message}\n \n \n);\n\nexport default ListingPlaceholder;\n","import Icon from '@atoms/Icon/Icon';\nimport { ButtonOrLinkProps } from '@models/IButton';\nimport SiteEnum from '@models/enums/SiteEnum';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport classNames from 'classnames';\nimport { forwardRef, type ForwardedRef } from 'react';\nimport { twMerge } from 'tailwind-merge';\n\nconst baseClasses = `tw-text-sm tw-flex tw-items-center tw-rounded tw-relative after:tw-content-[''] after:tw-box-content focus-visible:after:tw-rounded focus-visible:tw-outline-none tw-transition-colors focus-visible:after:tw-absolute focus-visible:after:tw-inset-[2px] focus-visible:after:tw-border-2 focus-visible:after:tw-block tw-px-4`;\n\nexport type ButtonVariant = VariantProps;\n\nexport const variants = cva(baseClasses, {\n variants: {\n variant: {\n yellow:\n 'tw-text-black hover:tw-bg-yellow-hover focus-visible:tw-bg-yellow focus-visible:tw-ring-yellow focus-visible:tw-ring-offset-grey-100 active:tw-bg-yellow-active disabled:tw-pointer-events-none disabled:tw-border-yellow-disabled disabled:tw-text-grey-60 disabled:tw-bg-yellow-disabled focus-visible:after:tw-border-black',\n grey30:\n 'focus-visible:tw-bg-grey-30 focus-visible:tw-ring-grey-30 focus-visible:tw-ring-offset-grey-100 disabled:tw-pointer-events-none disabled:tw-border-grey-30 disabled:tw-text-grey-30 focus-visible:after:tw-border-black',\n grey80:\n 'focus-visible:tw-bg-grey-80 focus-visible:tw-text-white focus-visible:tw-ring-grey-80 focus-visible:tw-ring-offset-white disabled:tw-pointer-events-none disabled:tw-border-grey-30 disabled:tw-text-grey-30 disabled:tw-text-grey-60 disabled:tw-bg-grey-30 dark:focus-visible:tw-bg-white dark:focus-visible:tw-text-grey-100 dark:focus-visible:tw-ring-white dark:focus-visible:tw-ring-offset-grey-100 dark:disabled:tw-border-grey-80 dark:disabled:tw-bg-grey-80 dark:disabled:tw-text-white focus-visible:after:tw-border-white dark:focus-visible:after:tw-border-black',\n white:\n 'focus-visible:tw-bg-white focus-visible:tw-text-grey-100 focus-visible:tw-ring-white focus-visible:tw-ring-offset-grey-100 disabled:tw-pointer-events-none disabled:tw-border-grey-80 disabled:tw-bg-grey-80 disabled:tw-text-white focus-visible:after:tw-border-black dark:tw-border dark:tw-border-grey-30',\n destructive:\n 'tw-bg-red tw-text-white hover:tw-bg-red-hover focus-visible:tw-ring-red focus-visible:tw-ring-offset-white active:tw-bg-red-active disabled:tw-pointer-events-none disabled:tw-bg-red-disabled disabled:tw-text-grey-60 focus-visible:after:tw-border-white',\n link: 'tw-text-black hover:tw-text-grey-70 tw-underline hover:tw-no-underline tw-underline-offset-2 active:tw-text-grey-80 dark:tw-text-white',\n },\n modifier: {\n fill: '',\n outline: 'tw-bg-transparent tw-border tw-border-current',\n },\n icon: {\n true: 'tw-rounded-full focus-visible:after:tw-rounded-full tw-py-4',\n false: 'tw-py-3.5',\n },\n },\n compoundVariants: [\n // Yellow Variants\n {\n variant: 'yellow',\n modifier: 'fill',\n className: 'tw-bg-yellow',\n },\n {\n variant: 'yellow',\n modifier: 'outline',\n className: 'tw-border-yellow',\n },\n // Grey30 Variants\n {\n variant: 'grey30',\n modifier: 'fill',\n className:\n 'tw-border-grey-30 tw-bg-grey-30 tw-text-black hover:tw-bg-grey-40 active:tw-bg-grey-50',\n },\n {\n variant: 'grey30',\n modifier: 'outline',\n className:\n 'tw-text-black tw-border-grey-30 hover:tw-bg-grey-40 active:tw-bg-grey-50',\n },\n // Grey80 Variants - becomes white variant by wrapping in an element with class 'dark'\n {\n variant: 'grey80',\n modifier: 'fill',\n className:\n 'tw-bg-grey-80 tw-text-white hover:tw-bg-grey-90 active:tw-bg-grey-100 dark:tw-bg-white dark:tw-text-grey-100 dark:hover:tw-bg-grey-10 dark:active:tw-bg-grey-20',\n },\n {\n variant: 'grey80',\n modifier: 'outline',\n className:\n 'tw-border-grey-80 tw-text-black hover:tw-bg-grey-90 hover:tw-text-white active:tw-bg-grey-100 dark:tw-text-white dark:hover:tw-bg-grey-10 dark:hover:tw-text-grey-100 dark:active:tw-bg-grey-20',\n },\n // White Variants\n {\n variant: 'white',\n modifier: 'fill',\n className:\n 'tw-bg-white tw-text-grey-100 hover:tw-bg-grey-10 active:tw-bg-grey-20',\n },\n {\n variant: 'white',\n modifier: 'outline',\n className:\n 'tw-bg-transparent tw-text-white hover:tw-bg-grey-10 hover:tw-text-grey-100 active:tw-bg-grey-20 hover:tw-border-grey-10 active:tw-border-grey-20',\n },\n ],\n defaultVariants: {\n variant: 'yellow',\n icon: false,\n },\n});\n\nconst Button = forwardRef<\n HTMLAnchorElement | HTMLButtonElement,\n ButtonOrLinkProps\n>(\n (\n {\n as = 'button',\n buttonClasses,\n dataTestId,\n disabled,\n iconClasses,\n iconName,\n iconSize,\n label,\n modifier = 'fill',\n site,\n variant,\n ...props\n },\n ref\n ) => {\n const siteStyles = {\n [SiteEnum.B2B]: 'yellow',\n [SiteEnum.Deco]: 'grey80',\n };\n\n const style =\n variant ??\n (site && (siteStyles[site] as keyof ButtonVariant['variant'])) ??\n undefined;\n\n const iconOnly = !!iconName && !label;\n\n const classes = twMerge(\n variants({ variant: style, modifier, icon: iconOnly }),\n buttonClasses\n );\n\n const Content = (\n \n {label && {label}}\n {iconName && (\n \n )}\n \n );\n\n if (as === 'link') {\n const anchorProps =\n props as React.AnchorHTMLAttributes;\n const { href } = anchorProps;\n\n return (\n }\n {...anchorProps}\n data-testid={dataTestId}\n >\n {Content}\n \n );\n } else {\n return (\n }\n {...(props as React.ButtonHTMLAttributes)}\n >\n {Content}\n \n );\n }\n }\n);\n\nButton.displayName = 'Button';\nexport default Button;\n","import AccordionItem from '@atoms/AccordionItem/AccordionItem';\nimport { VariantType } from '@models/IAccordion';\nimport classNames from 'classnames';\nimport { PropsWithChildren } from 'react';\n\ninterface Props {\n items?: Array<{\n title: string;\n text?: string;\n }>;\n variant?: VariantType;\n}\n\nconst Accordion = ({\n items,\n variant = 'primary',\n children,\n}: PropsWithChildren) => (\n
\n {children ??\n items?.map(({ title, text }, index) => (\n \n {children}\n \n ))}\n
\n);\n\nexport default Accordion;\n","import classNames from 'classnames';\n\nexport type TextVariant = keyof typeof variantClasses;\n\ninterface ExplicitProps {\n variant: TextVariant;\n className?: string;\n children?: string | string[] | TrustedHTML;\n}\n\n// This allows Text Component props to match the props of the element defined by 'as'\ntype PropsWithAs =\n Partial<\n ExplicitProps & {\n as: TElementType;\n }\n >;\n\ntype TextProps =\n PropsWithAs &\n Omit, keyof PropsWithAs>;\n\nconst __DEFAULT_ELEMENT__ = 'p';\n\nconst variantClasses = {\n 'hero-headline-large':\n 'tw-font-serif tw-text-4xl md:tw-text-7xl xl:tw-text-9xl',\n 'hero-headline': 'tw-font-serif tw-text-4xl md:tw-text-7xl xl:tw-text-8xl',\n headline: 'tw-font-serif tw-text-3xl xl:tw-text-5xl',\n 'sub-headline': 'tw-font-sans tw-text-2xl', // alt name - heading-24\n // New Design System Variants\n 'ds-sub-headline': 'tw-font-serif tw-text-4xl md:tw-text-5xl xl:tw-text-7xl',\n 'ds-headline-2': 'tw-text-3xl md:tw-text-4xl xl:tw-text-5xl tw-font-serif',\n 'ds-headline-3': 'tw-text-xl lg:tw-text-2xl tw-font-sans tw-font-light',\n 'ds-headline-4': 'tw-font-sans tw-text-lg lg:tw-text-xl',\n 'ds-quote': 'tw-font-serif tw-text-2xl lg:tw-text-3xl',\n 'ds-paragraph': 'tw-font-sans tw-text-sm lg:tw-text-base',\n body: 'tw-font-sans tw-text-base', // alt name - body-16\n 'body-small': 'tw-font-sans tw-text-sm', // alt name - body-14\n // secondary / non-responsive variants\n 'heading-56': 'tw-font-serif tw-text-8xl',\n 'heading-48': 'tw-font-serif tw-text-7xl',\n 'heading-40': 'tw-font-serif tw-text-6xl',\n 'heading-36': 'tw-font-serif tw-text-5xl',\n 'heading-32': 'tw-font-serif tw-text-4xl',\n 'heading-28': 'tw-font-serif tw-text-3xl',\n 'heading-24-light': 'tw-font-sans tw-text-2xl tw-font-light',\n 'heading-21': 'tw-font-sans tw-text-xl',\n 'heading-21-light': 'tw-font-sans tw-text-xl tw-font-light',\n 'body-18': 'tw-font-sans tw-text-lg',\n 'body-18-semibold': 'tw-font-sans tw-text-lg tw-font-semibold',\n 'body-16-semibold': 'tw-font-sans tw-font-semibold',\n 'body-14-semibold': 'tw-font-sans tw-text-sm tw-font-semibold',\n 'mono-14': 'tw-font-mono tw-text-sm',\n 'mono-12': 'tw-font-mono tw-text-xs',\n 'mono-14-semibold': 'tw-font-mono tw-text-sm tw-font-semibold',\n 'mono-12-semibold': 'tw-font-mono tw-text-xs tw-font-semibold',\n 'label-12': 'tw-font-sans tw-text-xs',\n 'label-12-semibold': 'tw-font-sans tw-text-xs tw-font-semibold',\n};\n\nconst defaultTags: Record<\n string,\n 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'code' | 'label'\n> = {\n 'hero-headline-large': 'h1',\n 'hero-headline': 'h1',\n headline: 'h2',\n 'sub-headline': 'h3',\n body: 'p',\n 'heading-56': 'h1',\n 'heading-48': 'h2',\n 'heading-40': 'h3',\n 'heading-36': 'h4',\n 'heading-32': 'h5',\n 'heading-28': 'h6',\n 'heading-24-light': 'h6',\n 'heading-21': 'h4',\n 'body-small': 'p',\n 'body-18': 'p',\n 'body-18-semibold': 'p',\n 'body-16-semibold': 'p',\n 'body-14-semibold': 'p',\n 'mono-14': 'code',\n 'mono-12': 'code',\n 'mono-14-semibold': 'code',\n 'mono-12-semibold': 'code',\n 'label-12': 'label',\n 'label-12-semibold': 'label',\n};\n\nfunction Text<\n TElementType extends React.ElementType = typeof __DEFAULT_ELEMENT__\n>({\n as,\n className,\n variant = 'body',\n children,\n ...props\n}: TextProps) {\n const combinedClassName = classNames(variantClasses[variant], className);\n const Tag = as ?? defaultTags[variant] ?? 'span';\n\n return (\n \n {children}\n \n );\n}\n\nexport default Text;\n","import Icon from '@atoms/Icon/Icon';\nimport Text from '@atoms/Text/Text';\nimport { ErrorMessage } from '@hookform/error-message';\nimport SizeEnum from '@models/enums/SizeEnum';\nimport VariantTypeEnum from '@models/enums/VariantTypeEnum';\nimport { IFilter } from '@models/IFilterGroup';\nimport IFormComponent from '@models/IFormComponent';\nimport classNames from 'classnames';\nimport { useSelect } from 'downshift';\nimport { motion } from 'motion/react';\nimport { ChangeEvent, InputHTMLAttributes } from 'react';\n\nexport interface ISelect\n extends InputHTMLAttributes,\n IFormComponent {\n readonly dataTestId?: string;\n readonly displayLabel: boolean;\n readonly options: IFilter[];\n readonly placeholder: string;\n readonly name: string;\n readonly selectedItem?: IFilter | null;\n readonly inputSize?: SizeEnum;\n readonly onSelectedItemChange?: (newSelectedItem: IFilter | null) => void;\n readonly variant?: Exclude;\n}\n\nconst itemToString = (item: IFilter | null) => (item ? item.label : '');\n\nconst Select = ({\n dataTestId,\n disabled,\n errors,\n label = '',\n name,\n onChange,\n options,\n placeholder,\n displayLabel,\n register,\n requiredErrorMessage,\n setValue,\n selectedItem: externalSelectedItem,\n onSelectedItemChange,\n inputSize = SizeEnum.Medium,\n variant,\n}: ISelect) => {\n const {\n isOpen,\n selectedItem,\n getToggleButtonProps,\n getLabelProps,\n getMenuProps,\n highlightedIndex,\n getItemProps,\n } = useSelect({\n items: options,\n itemToString,\n selectedItem: externalSelectedItem,\n onSelectedItemChange: ({ selectedItem }) => {\n setValue?.(name, String(selectedItem?.id ?? ''), {\n shouldValidate: true,\n });\n onChange?.({\n target: { value: String(selectedItem?.id ?? '') },\n } as ChangeEvent);\n\n if (selectedItem) onSelectedItemChange?.(selectedItem);\n },\n });\n\n return (\n \n
\n \n \n {label ?? placeholder}\n \n \n {selectedItem ? selectedItem.label : placeholder}\n \n \n \n
\n \n \n {isOpen &&\n options.map((item, index) => (\n \n {item.label}\n \n ))}\n \n {requiredErrorMessage && errors && (\n (\n \n {message}\n \n )}\n />\n )}\n \n );\n};\n\nexport default Select;\n","const enum SiteEnum {\n B2B = 'b2b',\n Deco = 'deco',\n}\n\nexport default SiteEnum;\n","const enum VariantTypeEnum {\n Primary = 'primary',\n Secondary = 'secondary',\n Cta = 'cta',\n Deco = 'deco',\n}\n\nexport default VariantTypeEnum;\n","/* eslint-env node */\n/* eslint-disable @typescript-eslint/no-var-requires */\n\n/** @type {import('tailwindcss').Config} */\n\nconst screens = {\n sm: '375px',\n md: '752px',\n lg: '1024px',\n xl: '1408px',\n xxl: '1600px',\n};\n\nmodule.exports = {\n darkMode: 'selector',\n prefix: 'tw-',\n content: [\n './.storybook/**/*.{js,jsx,mdx,ts,tsx}',\n './src/components/**/*.{js,jsx,mdx,ts,tsx}',\n ],\n theme: {\n screens,\n listStyleType: {\n none: 'none',\n disc: 'disc',\n decimal: 'decimal',\n square: 'square',\n },\n container: {\n screens,\n center: true,\n padding: {\n DEFAULT: '16px',\n sm: '16px',\n md: '32px',\n lg: '48px',\n xl: '48px',\n '2xl': '48px',\n },\n },\n fontFamily: {\n sans: '\"Noto Sans\", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"',\n serif:\n '\"Playfair Display\",ui-serif, Georgia, Cambria, \"Times New Roman\", Times, serif',\n mono: '\"Noto Sans Mono\", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace',\n icon: 'icomoon',\n },\n fontSize: {\n xs: ['0.75rem', '1rem'],\n sm: ['0.875rem', '1.25rem'],\n base: ['1rem', '1.5rem'],\n lg: ['1.125rem', '1.625rem'],\n xl: ['1.3125rem', '1.75rem'],\n '2xl': ['1.5rem', '2rem'],\n '3xl': ['1.75rem', '2.25rem'],\n '4xl': ['2rem', '2.5rem'],\n '5xl': ['2.25rem', '2.75rem'],\n '6xl': ['2.5rem', '3rem'],\n '7xl': ['3rem', '3.5rem'],\n '8xl': ['3.5rem', '4rem'],\n },\n lineHeight: {\n xs: '1rem',\n sm: '1.25rem',\n base: '1.5rem',\n lg: '1.625rem',\n xl: '1.75rem',\n '2xl': '2rem',\n '3xl': '2.25rem',\n '4xl': '2.5rem',\n '5xl': '2.75rem',\n '6xl': '3rem',\n '7xl': '3.5rem',\n '8xl': '4rem',\n },\n fontWeight: {\n light: '300',\n normal: '400',\n semibold: '600',\n },\n colors: {\n blue: {\n DEFAULT: '#031E45',\n },\n yellow: {\n DEFAULT: '#F0AB00',\n hover: '#F1B32D',\n active: '#EDBE46',\n disabled: '#FBE6B3',\n },\n red: {\n DEFAULT: '#D52B1E',\n hover: '#E11E0F',\n active: '#EC0E00',\n disabled: '#F2BFBC',\n },\n green: {\n DEFAULT: '#329E36',\n },\n grey: {\n 100: '#202020',\n 90: '#333333',\n 80: '#4D4D4D',\n 70: '#666666',\n 60: '#808080',\n 50: '#999999',\n 40: '#B3B3B3',\n 30: '#CCCCCC',\n 20: '#E6E6E6',\n 10: '#F7F7F7',\n },\n white: {\n DEFAULT: '#FFFFFF',\n },\n black: {\n DEFAULT: '#202020',\n },\n transparent: 'transparent',\n background: {\n amber: '#AF8A76', // light\n amberDark: '#806A62', // dark\n beige: '#E9D8B8', // light\n beigeDark: '#A98259', // light\n brownGray: '#79736D', // dark\n brownGrey: '#79736D', // dark\n coral: '#DBC4B7', // light\n coralDark: '#985F56', // dark\n darkGrey: '#E6E6E6', // light\n gBSGreen: '#276D00', // dark\n gBSHarpGreen: '#E5EFEA', // light\n gBSLightGreen: '#478326', // dark\n gBSPalmGreen: '#012317', // dark\n gBSSummerGreen: '#C4D0B0', // light\n graphite: '#70666C', //dark\n jotunBlue: '#031E45', // dark\n jotunYellow: '#F0AB00', // light\n lightBlue: '#E6E9F0', // light\n lightGreen: '#E6F0EB', // light\n lightgrey: '#F7F7F7', // light\n lightGrey: '#F7F7F7', // light\n oceanDark: '#19262C', // dark\n olive: '#C9D0C5', // light\n oliveDark: '#646556', // dark\n pearl: '#F3F4ED', // light\n sand: '#E7DFCD', // light\n sandDark: '#CEC1B1', // light\n slate: '#A5BCC3', // light\n slateDark: '#4E616C', // dark\n white: '#FFFFFF', // light\n },\n },\n extend: {\n fill: {\n current: 'currentColor',\n },\n stroke: {\n current: 'currentColor',\n },\n transitionTimingFunction: {\n 'in-out-quart': 'cubic-bezier(0.76, 0, 0.24, 1)',\n },\n borderRadius: {\n DEFAULT: '4px',\n md: '10px',\n },\n borderWidth: {\n 1: '1px',\n },\n spacing: {\n '4xs': '0.125rem', // 2px\n '3xs': '0.25rem', // 4px\n xxs: '0.5rem', // 8px\n xs: '1rem', // 16px\n sm: '1.5rem', // 24px\n md: '2rem', // 32px\n lg: '2.5rem', // 40px\n xl: '3rem', // 48px\n '2xl': '4rem', // 64px\n '3xl': '5rem', // 80px\n '4xl': '6rem', // 96px\n '5xl': '7.5rem', // 120px\n buttonY: '0.875rem', // 14px\n },\n zIndex: {\n max: '999',\n 100: '100',\n 90: '90',\n 80: '80',\n 70: '70',\n 60: '60',\n },\n },\n },\n future: { hoverOnlyWhenSupported: true },\n plugins: [require('@tailwindcss/container-queries')],\n};\n","const enum ThemeEnum {\n Light = 'light',\n Dark = 'dark',\n}\n\nexport default ThemeEnum;\n","const enum SizeEnum {\n Small = 'small',\n Medium = 'medium',\n Large = 'large',\n XLarge = 'x-large',\n}\n\nexport default SizeEnum;\n","import BreakpointEnum from '@models/enums/BreakpointEnum';\nimport Breakpoint from '@models/helpers/Breakpoint';\nimport breakpoints from '@utility/config/breakpoints';\nimport { useCallback, useEffect, useState } from 'react';\n\nconst getCurrentBreakpoint = (): Breakpoint => {\n const width = window.innerWidth;\n let device;\n\n if (width < breakpoints.md) {\n device = BreakpointEnum.Small;\n } else if (width < breakpoints.lg) {\n device = BreakpointEnum.Medium;\n } else if (width < breakpoints.xl) {\n device = BreakpointEnum.Large;\n } else if (width < breakpoints.xxl) {\n device = BreakpointEnum.XLarge;\n } else device = BreakpointEnum.Max;\n\n return device;\n};\n\nconst useBreakpoint = (): Breakpoint | undefined => {\n const [screen, setScreen] = useState();\n\n const resizeHandler = useCallback(() => {\n setScreen(getCurrentBreakpoint());\n }, []);\n\n useEffect(() => {\n window.addEventListener('resize', resizeHandler);\n setScreen(getCurrentBreakpoint());\n\n return () => {\n window.removeEventListener('resize', resizeHandler);\n };\n }, [resizeHandler]);\n\n return screen;\n};\n\nexport default useBreakpoint;\n","import Icon from '@atoms/Icon/Icon';\nimport Text from '@atoms/Text/Text';\nimport { IAccordionItem, IVariantClasses } from '@models/IAccordionItem';\nimport classNames from 'classnames';\nimport { AnimatePresence, motion } from 'motion/react';\nimport { PropsWithChildren, useEffect, useState } from 'react';\n\nconst AccordionItem = ({\n animateChildren = false,\n buttonClasses,\n callback,\n children,\n dataTestId,\n isOpen = false,\n padding,\n text,\n title,\n variant = 'primary',\n}: PropsWithChildren) => {\n const [isAccordionOpen, setIsAccordionOpen] = useState(false);\n\n useEffect(() => {\n setIsAccordionOpen(isOpen);\n }, [isOpen]);\n\n const baseAccordionButtonClasses =\n 'tw-w-full tw-flex tw-justify-between tw-items-center tw-text-left tw-gap-4';\n const baseButtonClasses =\n 'tw-border-grey-20 hover:tw-text-grey-70 tw-text-black';\n\n const variantClasses: IVariantClasses = {\n primary: {\n buttonClasses: classNames(baseButtonClasses, 'tw-py-3'),\n buttonHeaderTextStyle: 'heading-21-light',\n buttonContentTextStyle: 'body',\n textContentClasses: 'tw-pt-4 tw-pb-6 tw-bg-white',\n },\n secondary: {\n buttonClasses: classNames(baseButtonClasses, 'py-2', {\n 'tw-border-b': !isAccordionOpen,\n }),\n buttonHeaderTextStyle: 'body-14-semibold',\n buttonContentTextStyle: 'body-small',\n textContentClasses: 'tw-pt-4 tw-pb-6 tw-bg-white',\n },\n filter: {\n buttonClasses: classNames(\n baseButtonClasses,\n 'tw-p-4 tw-bg-grey-10 tw-border-b'\n ),\n buttonHeaderTextStyle: 'body',\n buttonContentTextStyle: 'body-small',\n textContentClasses: 'tw-border tw-border-t-0',\n },\n tableItem: {\n buttonClasses: classNames(baseButtonClasses, 'tw-py-xs', {\n 'tw-px-md': padding,\n }),\n buttonHeaderTextStyle: 'body-14-semibold',\n buttonContentTextStyle: 'body-small',\n textContentClasses: padding ? 'tw-px-md' : '',\n },\n noStyle: {\n buttonClasses: classNames(baseButtonClasses, 'tw-py-2.5'),\n buttonHeaderTextStyle: 'heading-21-light',\n buttonContentTextStyle: 'body',\n textContentClasses: '',\n },\n contentExpander: {\n buttonClasses: classNames(baseButtonClasses, 'tw-py-xs'),\n buttonHeaderTextStyle: 'headline',\n buttonContentTextStyle: 'body',\n textContentClasses:\n 'tw-pb-md tw-pt-md md:tw-pb-xl xl:tw-pb-md md:tw-pt-lg xl:tw-pt-xl [&>section]:tw-p-0',\n },\n headline: {\n buttonClasses: classNames(\n baseButtonClasses,\n 'tw-py-sm tw-text-grey-100 tw-border-t'\n ),\n buttonHeaderElement: (\n <>\n \n {title}\n \n \n {title}\n \n \n ),\n },\n };\n\n const baseTextClasses = classNames(\n 'tw-text-grey-100 tw-border-grey-20',\n variantClasses[variant]?.textContentClasses\n );\n\n const handleClick = () => {\n setIsAccordionOpen(!isAccordionOpen);\n callback?.();\n };\n\n return (\n \n \n {variantClasses[variant].buttonHeaderElement ?? (\n \n {title}\n \n )}\n\n \n \n \n \n\n \n {isAccordionOpen && (\n \n {children ? (\n \n {children}\n \n ) : (\n \n {text}\n \n )}\n \n )}\n \n \n );\n};\n\nexport default AccordionItem;\n","// Will parse a pixel string to a number e.g. '762px' => 762\n\nconst parseNumberInString = (pixelValue: string) => {\n const match = pixelValue.match(/\\d+/);\n\n if (match) {\n return parseInt(match[0], 10);\n }\n\n return 0;\n};\n\nexport default parseNumberInString;\n","import BreakpointEnum from '@models/enums/BreakpointEnum';\nimport Breakpoint from '@models/helpers/Breakpoint';\nimport parseNumberInString from '@utility/format/parseNumberInString';\nimport resolveConfig from 'tailwindcss/resolveConfig';\nimport tailwindConfig from '../../../tailwind.config';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst fullConfig = resolveConfig(tailwindConfig as any);\n\nconst { sm, md, lg, xl, xxl } = fullConfig.theme.screens;\n\nconst breakpoints = {\n sm: parseNumberInString(sm),\n md: parseNumberInString(md),\n lg: parseNumberInString(lg),\n xl: parseNumberInString(xl),\n xxl: parseNumberInString(xxl),\n};\n\nexport default breakpoints;\n\nconst breakpointArray: Breakpoint[] = Object.values(BreakpointEnum);\n\nexport const breakpointsBelow = (breakpoint: Breakpoint) => {\n const upperIndex = breakpointArray.indexOf(breakpoint);\n return breakpointArray.slice(0, upperIndex);\n};\n\nexport const breakpointsAbove = (breakpoint: Breakpoint) => {\n const lowerIndex = breakpointArray.indexOf(breakpoint) + 1;\n return breakpointArray.slice(lowerIndex);\n};\n","enum BreakpointEnum {\n Small = 'sm',\n Medium = 'md',\n Large = 'lg',\n XLarge = 'xl',\n Max = 'xxl',\n}\n\nexport default BreakpointEnum;\n"],"names":["_ref","size","SizeEnum","Small","loadingLabel","theme","ThemeEnum","Light","sizeClasses","classNames","Medium","Large","borderClasses","segmentClasses","React","createElement","role","className","replaceValuesInLabel","label","replacementArray","newLabel","forEach","value","index","replace","toString","dataTestId","iconName","title","message","Icon","name","Text","as","variant","variants","cva","yellow","grey30","grey80","white","destructive","link","modifier","fill","outline","icon","true","false","compoundVariants","defaultVariants","Button","forwardRef","ref","buttonClasses","disabled","iconClasses","iconSize","site","props","siteStyles","SiteEnum","B2B","Deco","style","undefined","iconOnly","classes","twMerge","Content","anchorProps","href","_extends","displayName","items","children","map","_ref2","text","AccordionItem","key","variantClasses","headline","body","defaultTags","combinedClassName","Tag","itemToString","item","errors","onChange","options","placeholder","displayLabel","register","requiredErrorMessage","setValue","selectedItem","externalSelectedItem","onSelectedItemChange","inputSize","isOpen","getToggleButtonProps","getLabelProps","getMenuProps","highlightedIndex","getItemProps","useSelect","String","id","shouldValidate","target","required","VariantTypeEnum","Primary","motion","div","animate","rotate","transition","duration","ErrorMessage","render","_ref3","screens","sm","md","lg","xl","xxl","module","exports","darkMode","prefix","content","listStyleType","none","disc","decimal","square","container","center","padding","DEFAULT","fontFamily","sans","serif","mono","fontSize","xs","base","lineHeight","fontWeight","light","normal","semibold","colors","blue","hover","active","red","green","grey","black","transparent","background","amber","amberDark","beige","beigeDark","brownGray","brownGrey","coral","coralDark","darkGrey","gBSGreen","gBSHarpGreen","gBSLightGreen","gBSPalmGreen","gBSSummerGreen","graphite","jotunBlue","jotunYellow","lightBlue","lightGreen","lightgrey","lightGrey","oceanDark","olive","oliveDark","pearl","sand","sandDark","slate","slateDark","extend","current","stroke","transitionTimingFunction","borderRadius","borderWidth","spacing","xxs","buttonY","zIndex","max","future","hoverOnlyWhenSupported","plugins","getCurrentBreakpoint","width","window","innerWidth","device","breakpoints","BreakpointEnum","XLarge","Max","useBreakpoint","screen","setScreen","useState","resizeHandler","useCallback","useEffect","addEventListener","removeEventListener","animateChildren","callback","isAccordionOpen","setIsAccordionOpen","baseButtonClasses","primary","buttonHeaderTextStyle","buttonContentTextStyle","textContentClasses","secondary","filter","tableItem","noStyle","contentExpander","buttonHeaderElement","Fragment","baseTextClasses","type","onClick","handleClick","AnimatePresence","mode","initial","height","exit","opacity","ease","delay","pixelValue","match","parseInt","fullConfig","resolveConfig","tailwindConfig","parseNumberInString","breakpointArray","Object","values","breakpointsBelow","breakpoint","upperIndex","indexOf","slice","breakpointsAbove","lowerIndex"],"sourceRoot":""}