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qQ,eACJX,EAAa,CAAEW,OAAM3E,UAAQ,CACjC,cACEG,EACI,GAAGA,wBAAiCH,SACpCL,IAGNvQ,MAAAC,cAACuV,EAAiB,CAAClD,OAAQiD,EAAMhD,MAAOe,QAMjD7F,GAAwBvB,GACvBlM,MAAAC,cAACwV,EAAAA,EAAY,CACXvJ,OAAQA,EACRpJ,KAAK,WACL4S,OAAQ7S,IAAA,IAAC,QAAE8S,GAAS9S,EAAA,OAClB7C,MAAAC,cAAC4E,EAAAA,EAAI,CAACC,QAAQ,WAAW3E,UAAU,eAChCwV,EACI,IAIT,C","sources":["webpack://react-app/./components/Shared/src/components/atoms/LoadingSpinner/LoadingSpinner.tsx","webpack://react-app/./assets/logo.svg","webpack://react-app/./components/organisms/Header/CountrySelector.tsx","webpack://react-app/./components/organisms/Header/HeaderLikeIcon.tsx","webpack://react-app/./components/organisms/Header/SubNavigation.tsx","webpack://react-app/./components/organisms/Header/MainNavigation.tsx","webpack://react-app/./components/organisms/Header/Navigation.tsx","webpack://react-app/./components/organisms/Header/SearchDropdown.tsx","webpack://react-app/./components/organisms/Header/Header.tsx","webpack://react-app/./components/Shared/src/components/molecules/Accordion/Accordion.tsx","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/components/atoms/AccordionItem/AccordionItem.tsx","webpack://react-app/./components/Shared/src/components/atoms/ConditionalWrapper/ConditionalWrapper.tsx","webpack://react-app/./components/Shared/src/components/atoms/Search/HighlightedResult.tsx","webpack://react-app/./components/Shared/src/components/atoms/Search/Search.tsx"],"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","var _defs, _path, _path2;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgLogo = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n \"data-name\": \"Layer 2\",\n viewBox: \"0 0 311.8 90.6\"\n}, props), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"style\", null, \".logo_svg__cls-2{stroke-width:0;fill:#fff}\"))), /*#__PURE__*/React.createElement(\"g\", {\n \"data-name\": \"Layer 1\"\n}, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 12.6h311.8v78H0z\",\n style: {\n fill: \"#f0ab00\",\n strokeWidth: 0\n }\n}), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 0h311.8v12.6H0z\",\n style: {\n strokeWidth: 0,\n fill: \"#d52b1e\"\n }\n}), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M42.8 79.9c-16.5 0-29.9-10-29.9-20 0-12.8 13.4-21.4 29.9-21.4s29.9 8.6 29.9 21.4c0 10-13.4 20-29.9 20\",\n className: \"logo_svg__cls-2\"\n})), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M80.5 69c3.9.7 9 1 11.7-2.3 2.6-3 2.1-7.3 2.3-11.2.1-10.1-.1-20.3-.4-30.4h13.2c-.4 10.6-.5 20.6-.4 31.2 0 5.6.3 11.4-3.4 15.6-4.5 5.3-11.3 6.5-18.3 6.5l-1.5-.1zm205.7 6.4C280 65.9 273 56.8 266 47.6c-.1 9.2.1 18.6.4 27.7h-11.8c.6-16.6.5-33.6 0-50.3h10.6c6.2 9.5 13.3 18.7 20.2 27.8.1-9.3 0-18.7-.4-27.8h11.8c-.1 5.5-.3 11.2-.3 16.6-.1 11.2 0 22.6.3 33.7zm-97.5 0c-.5-13.5-.5-27.3-.2-40.9 4.2 0 8.7.2 12.8.4v-9.8H163v9.8c4.1-.3 8.6-.5 12.8-.4.3 13.6.2 27.4-.2 40.9zm37.4 1.5c-3.1 0-6.2-.3-9-1.2-4.6-1.4-8.6-5-10.2-9.4-1.8-4.2-1.2-9.4-1.3-14 .1-9-.1-18.1-.4-27.1h12.9c-.3 10.1-.4 20.6-.3 30.6.1 3.7.1 7.5 2.7 10.1 1.4 1.5 3.5 2.1 5.6 2.1s4.2-.6 5.6-2.1c2.6-2.6 2.6-6.4 2.7-10.1.1-10 0-20.5-.3-30.6H247c-.3 9-.4 18.1-.4 27.1-.1 4.5.4 9.8-1.3 14-1.7 4.5-5.7 8-10.2 9.4-2.7.8-5.8 1.2-9 1.2m-62.8-34.6c-1.7-6.1-5.9-12.1-11.9-15.4-3.7-2.1-8.3-3.2-12.9-3.2s-9.3 1-12.9 3.2c-6 3.3-10.2 9.2-11.9 15.4-1.8 7.7-1.2 16.6 3.1 23 3 4.8 7.6 8.4 12.8 10.1 2.9 1 5.9 1.4 8.9 1.4s6-.5 8.9-1.4c5.2-1.7 9.8-5.4 12.8-10.1 4.3-6.4 4.9-15.3 3.1-23m-12.1 11.2c-.3 4.1-1.4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4.5-2 6.6z\",\n style: {\n strokeWidth: 0,\n fill: \"#031e45\"\n }\n}), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M43.7 25.4c-1 0-1.8.8-1.8 1.8s.8 1.8 1.8 1.8 1.8-.8 1.8-1.8-.8-1.8-1.8-1.8m0 2.4c-.3 0-.6-.3-.6-.6s.3-.6.6-.6.6.3.6.6-.3.6-.6.6\",\n className: \"logo_svg__cls-2\"\n}))));\nexport default SvgLogo;","import AccordionItem from '@atoms/AccordionItem/AccordionItem';\nimport Icon from '@atoms/Icon/Icon';\nimport Text from '@atoms/Text/Text';\nimport { ICountry, ICountrySelector, IRegion } from '@models/ICountrySelector';\nimport Accordion from '@molecules/Accordion/Accordion';\nimport { useEffect, useState } from 'react';\n\nconst CountrySelector = ({\n activeCountry,\n languageSelectorLabel,\n countrySelectorLabel,\n countrySelectorPlaceholder,\n languageSelector,\n}: ICountrySelector) => {\n const [searchInput, setSearchInput] = useState('');\n const [activeRegions, setActiveRegions] = useState([]);\n const [filteredRegions, setFilteredRegions] = useState([]);\n const [allCountries, setAllCountries] = useState([]);\n\n const handleSubmit = (e: { preventDefault: () => void }) => {\n e.preventDefault();\n const updatedFilteredRegions = activeRegions.map(({ name, countries }) => ({\n show: true,\n name,\n countries: countries.filter(({ name }) =>\n name.toLowerCase().includes(searchInput.toLowerCase()),\n ),\n }));\n setFilteredRegions(updatedFilteredRegions);\n };\n\n // Filter regions and countries to remove items where 'show' is false\n useEffect(() => {\n const filteredRegions: IRegion[] = languageSelector.regions.reduce(\n (acc: IRegion[], { name, countries, show }: IRegion) => {\n if (show) {\n const filteredCountries = countries.filter(\n ({ show }: ICountry) => show,\n );\n if (filteredCountries.length > 0) {\n acc.push({ name, countries: filteredCountries, show });\n }\n }\n return acc;\n },\n [],\n );\n\n setActiveRegions(filteredRegions);\n setFilteredRegions(filteredRegions);\n setAllCountries(filteredRegions);\n }, [languageSelector]);\n\n useEffect(() => {\n const filteredRegions: IRegion[] = activeRegions.reduce(\n (acc: IRegion[], { name, countries }: IRegion) => {\n const filteredRegions = countries.filter(({ name }: ICountry) =>\n name.toLowerCase().includes(searchInput.toLowerCase()),\n );\n\n if (filteredRegions.length > 0) {\n acc.push({ name, countries: filteredRegions, show: true });\n }\n\n return acc;\n },\n [],\n );\n\n const hasFilteredRegions = filteredRegions.some(\n ({ countries }) => countries.length > 0,\n );\n\n if (hasFilteredRegions) {\n setFilteredRegions(filteredRegions);\n } else {\n setFilteredRegions(allCountries);\n }\n }, [searchInput, activeRegions, allCountries]);\n\n if (!languageSelector) return null;\n\n const handleClickTracking = (\n activeCountry?: ICountry,\n languageName?: string,\n countryName?: string,\n ) => {\n const getActiveLanguage = activeCountry?.languages.find(\n (language) => language.isActive,\n );\n\n window.dataLayer.push({\n event: 'trackingEvent_navigation_country_selector_clicks',\n event_name_variable: 'navigation_country_selector_clicks',\n trackingEvent_navigation_country_selector_clicks: {\n previous_country: activeCountry?.name,\n previous_language: getActiveLanguage?.name,\n country_selected: countryName,\n language_selected: languageName,\n },\n });\n };\n\n return (\n
\n {activeCountry && activeCountry.languages.length > 1 && (\n
\n \n {languageSelectorLabel}\n \n
\n {activeCountry.languages.map(({ name, url }) => (\n \n handleClickTracking(activeCountry, name, activeCountry.name)\n }\n >\n \n {name}\n \n \n ))}\n
\n
\n )}\n \n {countrySelectorLabel}\n \n
\n
\n
\n \n
\n setSearchInput(e.target.value)}\n placeholder={countrySelectorPlaceholder}\n className=\"tw-w-full tw-grow tw-bg-transparent tw-outline-none\"\n />\n \n
\n
\n
\n
\n
\n \n {filteredRegions.map(({ name, countries }) => (\n 0 && searchInput !== '') ||\n countries.some(\n ({ name: countryName }) =>\n countryName === activeCountry?.name,\n )\n }\n >\n
    \n {countries.map(({ name, image, languages }) => (\n \n
    \n \n \n {name}\n \n
    \n
    \n {languages.map(({ name: languageName, url }) => (\n \n handleClickTracking(\n activeCountry,\n languageName,\n name,\n )\n }\n >\n \n {languageName}\n \n \n ))}\n
    \n \n ))}\n
\n \n ))}\n
\n
\n
\n );\n};\n\nexport default CountrySelector;\n","import Icon from '@atoms/Icon/Icon';\nimport { useWishlistStore } from '@state/WishlistStore';\nimport { motion } from 'motion/react';\nimport { useEffect, useMemo } from 'react';\ninterface Props {\n readonly link: string;\n}\n\nconst HeaderLikeIcon = ({ link }: Props) => {\n const { wishlists, fetchWishlists } = useWishlistStore();\n\n useEffect(() => {\n fetchWishlists();\n }, [fetchWishlists]);\n\n // Get total amount of likes to replicate existing functionality\n const likedItemCount = useMemo(() => {\n return wishlists.reduce(\n (count, wishlist) => count + wishlist.likes.length,\n 0,\n );\n }, [wishlists]);\n\n return (\n \n
\n \n {!!likedItemCount && (\n \n {likedItemCount >= 9 ? '9+' : likedItemCount}\n \n )}\n
\n
\n );\n};\n\nexport default HeaderLikeIcon;\n","import Icon from '@atoms/Icon/Icon';\nimport Text from '@atoms/Text/Text';\nimport { INavigationItem } from '@models/INavigationItem';\nimport { AnimatePresence, motion } from 'motion/react';\nimport { MouseEventHandler } from 'react';\n\ninterface Props {\n readonly items?: INavigationItem[];\n readonly onClickCallback?: MouseEventHandler;\n readonly parent: string | null;\n readonly showAnimations?: boolean;\n}\n\nconst SubNavigation = ({\n items = [],\n parent,\n onClickCallback,\n showAnimations,\n}: Props) => {\n const fadeInRight = showAnimations\n ? {\n exit: { opacity: 0, x: -20 },\n animate: {\n opacity: 1,\n x: 0,\n transition: {\n ease: 'easeInOut',\n duration: 0.3,\n },\n },\n }\n : {\n exit: {},\n animate: {},\n };\n\n return (\n \n
\n \n \n {parent && (\n \n {parent}\n \n )}\n \n
\n
    \n \n {items &&\n items.map(({ link }) => (\n \n {\n window.dataLayer.push({\n event: 'trackingEvent_megamenu_clicks',\n event_name_variable: 'megamenu_clicks',\n trackingEvent_megamenu_clicks: {\n megamenu_clicktext: link.text,\n subcategory: parent,\n category: null,\n },\n });\n }}\n >\n \n {link.text}\n \n \n \n ))}\n \n
\n \n );\n};\n\nexport default SubNavigation;\n","import Icon from '@atoms/Icon/Icon';\nimport Text from '@atoms/Text/Text';\nimport { INavigationItem } from '@models/INavigationItem';\nimport classNames from 'classnames';\nimport SubNavigation from './SubNavigation';\ninterface Props {\n readonly callback?: (text: string, children?: INavigationItem[]) => void;\n readonly activeNavItem: string | null;\n readonly isMobile?: boolean;\n readonly items: INavigationItem[];\n readonly type?: 'primary' | 'secondary';\n}\n\nconst MainNavigation = ({\n activeNavItem,\n callback,\n isMobile,\n items = [],\n type = 'primary',\n}: Props) => {\n return (\n
    \n {items.map(({ link: { text, url, target }, children }) => {\n const hasSubNav = !!children?.length;\n\n const content = (\n <>\n \n {text}\n \n {hasSubNav && (\n \n )}\n \n );\n\n const classes = `tw-w-full tw-flex tw-justify-between tw-items-center tw-p-xxs tw-px-[18px]\n tw-border-b tw-border-grey-20 tw-rounded hover:tw-bg-grey-20 md:tw-px-xxs md:tw-border-none`;\n\n const controls = {\n 'aria-owns': `nav-submenu-${text}`,\n 'aria-controls': `nav-submenu-${text}`,\n onMouseEnter: () => {\n callback?.(text, children);\n },\n onTouchStart: () => {\n callback?.(text, children);\n },\n onFocus: () => {\n callback?.(text, children);\n },\n };\n\n // Render links as buttons on mobile to access sub nav\n if (hasSubNav && isMobile) {\n return (\n
  • \n \n
  • \n );\n }\n\n return (\n
  • \n {\n window.dataLayer.push({\n event: 'trackingEvent_megamenu_clicks',\n event_name_variable: 'megamenu_clicks',\n trackingEvent_megamenu_clicks: {\n megamenu_clicktext: text,\n subcategory: null,\n category: null,\n },\n });\n }}\n >\n {content}\n \n {activeNavItem === text && (\n
    \n {\n callback?.(text, children);\n }}\n />\n
    \n )}\n
  • \n );\n })}\n
\n );\n};\n\nexport default MainNavigation;\n","import ConditionalWrapper from '@atoms/ConditionalWrapper/ConditionalWrapper';\nimport Icon from '@atoms/Icon/Icon';\nimport Image from '@atoms/Image/Image';\nimport Text from '@atoms/Text/Text';\nimport { IImage } from '@models/IImage';\nimport { INavigation } from '@models/INavigation';\nimport { INavigationItem } from '@models/INavigationItem';\nimport { slideTransition } from '@utility/config/animations';\nimport useMediaQuery from '@utility/hooks/useMediaQuery';\nimport classNames from 'classnames';\nimport { AnimatePresence, motion } from 'motion/react';\nimport { ForwardedRef, MouseEventHandler, forwardRef, useState } from 'react';\nimport MainNavigation from './MainNavigation';\nimport SubNavigation from './SubNavigation';\ninterface Props extends INavigation {\n readonly countrySelectCallback?: MouseEventHandler;\n readonly showAnimations: boolean;\n}\n\nconst Navigation = forwardRef(\n (\n {\n activeCountry,\n countrySelectCallback,\n featuredContent,\n navigation,\n quickLinks,\n showAnimations,\n subNav,\n }: Props,\n ref,\n ) => {\n const [activeSubNav, setActiveSubNav] = useState(\n null,\n );\n const [activeNavItem, setActiveNavItem] = useState(null);\n const isMobile = useMediaQuery(752);\n\n const handleNavSelection = (text: string, children?: INavigationItem[]) => {\n text ? setActiveNavItem(text) : setActiveNavItem(null);\n children?.length ? setActiveSubNav(children) : setActiveSubNav(null);\n };\n\n const slideDown = {\n animate: {\n y: 0,\n },\n exit: {\n y: '-100%',\n },\n };\n\n const slideLeft = {\n animate: {\n x: 0,\n },\n exit: {\n x: '-100%',\n },\n };\n\n const slideRight = {\n animate: {\n x: 0,\n },\n exit: {\n x: '100%',\n },\n };\n\n const noAnimation = {\n animate: {},\n exit: {},\n };\n\n return (\n }\n variants={showAnimations ? slideDown : noAnimation}\n initial=\"exit\"\n animate=\"animate\"\n exit=\"exit\"\n transition={slideTransition}\n key=\"navigation\"\n role=\"navigation\"\n className=\"tw-absolute tw-top-[56px] tw-z-40 tw-h-[calc(100vh-56px)] tw-max-h-screen tw-w-full tw-overflow-y-scroll tw-bg-white md:tw-top-[64px] md:tw-h-[calc(100vh-64px)] md:tw-max-h-[695px] md:tw-px-[38px] md:tw-py-xl dark:tw-bg-grey-10\"\n >\n \n
\n {/* Main Nav/ First Column */}\n (\n \n {!activeNavItem && !activeSubNav && (\n \n {children}\n \n )}\n \n )}\n >\n
\n {/* Primary Links */}\n \n {/* Secondary Links */}\n \n
\n {/* Mobile Country Selector */}\n
\n \n {activeCountry && activeCountry.image ? (\n \n ) : (\n \n )}\n \n
\n \n\n {/* Mobile Sub Nav */}\n\n \n {isMobile && activeNavItem && activeSubNav && (\n \n {\n setActiveNavItem(null);\n setActiveSubNav(null);\n }}\n />\n \n )}\n \n\n {/* For grid spacing and borders */}\n
\n\n {/* Featured Content/Third Column Desktop */}\n
\n {\n window.dataLayer.push({\n event: 'trackingEvent_megamenu_clicks',\n event_name_variable: 'megamenu_clicks',\n trackingEvent_megamenu_clicks: {\n megamenu_clicktext: featuredContent.title,\n subcategory: null,\n category: null,\n },\n });\n }}\n >\n \n \n {featuredContent.title}\n \n \n {featuredContent.text}\n \n \n
\n
\n\n {/* Bottom Section */}\n {!!quickLinks.length && (\n (\n \n {!activeNavItem && !activeSubNav && (\n \n {children}\n \n )}\n \n )}\n >\n
\n
\n {quickLinks.map(({ text, url, target }) => (\n {\n window.dataLayer.push({\n event: 'trackingEvent_megamenu_clicks',\n event_name_variable: 'megamenu_clicks',\n trackingEvent_megamenu_clicks: {\n megamenu_clicktext: text,\n subcategory: null,\n category: null,\n },\n });\n }}\n >\n \n {text}\n \n {target === '_blank' && (\n \n )}\n \n ))}\n
\n
\n \n )}\n
\n \n );\n },\n);\nNavigation.displayName = 'Navigation';\n\nexport default Navigation;\n","import Icon from '@atoms/Icon/Icon';\nimport Search from '@atoms/Search/Search';\nimport Text from '@atoms/Text/Text';\nimport { ILink } from '@models/ILink';\nimport { slideTransition } from '@utility/config/animations';\nimport { motion } from 'motion/react';\nimport { ForwardedRef, MouseEventHandler, forwardRef } from 'react';\nimport { SubmitHandler, useForm } from 'react-hook-form';\n\ninterface Props {\n readonly autoCompleteEndpoint: string;\n readonly mostSearchedTerms: ILink[];\n readonly mostSearchedTermsLabel?: string;\n readonly onCloseCallback?: MouseEventHandler;\n readonly quickLinks: ILink[];\n readonly quickLinksLabel?: string;\n readonly searchUrl: string;\n readonly searchPlaceholderLabel: string;\n readonly showAnimations: boolean;\n}\n\nconst SearchDropdown = forwardRef(\n (\n {\n autoCompleteEndpoint,\n onCloseCallback,\n mostSearchedTerms,\n mostSearchedTermsLabel,\n showAnimations,\n searchUrl,\n searchPlaceholderLabel,\n quickLinks,\n quickLinksLabel,\n }: Props,\n ref,\n ) => {\n const {\n register,\n handleSubmit,\n formState: { errors, isSubmitSuccessful },\n watch,\n setValue,\n } = useForm({\n defaultValues: {},\n });\n\n const slideDown = showAnimations\n ? {\n animate: {\n y: 0,\n },\n exit: {\n y: '-100%',\n },\n }\n : {\n animate: {},\n exit: {},\n };\n\n // Submit handler\n const onSubmit: SubmitHandler<{\n [x: string]: string | (string | null)[] | null;\n }> = async (data, e) => {\n e?.preventDefault();\n\n window.dataLayer.push({\n event: 'trackingEvent_search_results',\n event_name_variable: 'search_results',\n trackingEvent_search_results: {\n search_type: 'navigation',\n search_term: data.freetext,\n },\n });\n\n const generateSearchUrl = (searchTerm: string) => {\n const searchTermEncoded = encodeURI(searchTerm);\n return `${searchUrl}?freeText=${searchTermEncoded}`;\n };\n\n window.location.href = generateSearchUrl(data?.freetext as string);\n };\n\n return (\n }\n variants={slideDown}\n initial=\"exit\"\n animate=\"animate\"\n exit=\"exit\"\n transition={slideTransition}\n key=\"searchOverlay\"\n className=\"tw-absolute tw-top-[56px] tw-z-40 tw-h-[calc(100vh-56px)] tw-w-full tw-overflow-y-scroll tw-bg-white tw-p-xs tw-pb-[36px] md:tw-top-[64px] md:tw-h-[600px] md:tw-py-[36px] xl:tw-h-[400px] xl:tw-py-[36px] dark:tw-bg-grey-10\"\n >\n
\n \n \n \n
\n
\n \n \n
\n
\n {!!mostSearchedTerms?.length && (\n
\n {mostSearchedTermsLabel && (\n \n {mostSearchedTermsLabel}\n \n )}\n \n
\n )}\n {!!quickLinks?.length && (\n
\n {quickLinksLabel && (\n \n {quickLinksLabel}\n \n )}\n
    \n {quickLinks.map(({ text, url, target }) => (\n
  • \n \n \n {text}\n \n {target === '_blank' && (\n \n )}\n \n
  • \n ))}\n
\n
\n )}\n
\n
\n \n );\n },\n);\nSearchDropdown.displayName = 'SearchDropdown';\n\nexport default SearchDropdown;\n","import Logo from '@assets/logo.svg';\nimport Backdrop from '@atoms/Backdrop/Backdrop';\nimport Drawer from '@atoms/Drawer/Drawer';\nimport Icon from '@atoms/Icon/Icon';\nimport Text from '@atoms/Text/Text';\nimport { ICountry } from '@models/ICountrySelector';\nimport { IHeader } from '@models/IHeader';\nimport classNames from 'classnames';\nimport FocusTrap from 'focus-trap-react';\nimport { AnimatePresence, useReducedMotion } from 'motion/react';\nimport { useCallback, useEffect, useState } from 'react';\nimport { usePreventScroll } from 'react-aria';\nimport CountrySelector from './CountrySelector';\nimport HeaderLikeIcon from './HeaderLikeIcon';\nimport Navigation from './Navigation';\nimport SearchDropdown from './SearchDropdown';\n\ninterface Props extends IHeader {\n readonly animation: boolean;\n}\n\nconst Header = ({\n animation = true,\n autoCompleteEndpoint,\n countrySelectorLabel,\n countrySelectorPlaceholder,\n featuredContent,\n headerScript,\n homepageLink,\n isRtl,\n languageSelector,\n languageSelectorLabel,\n logoAlt,\n menuTitleLabel,\n mostSearchedTerms,\n mostSearchedTermsLabel,\n navigation,\n quickLinks,\n quickLinksLabel,\n searchPlaceholderLabel,\n searchUrl,\n sharedListPageLink,\n subNav,\n}: Props) => {\n const [showMenu, setShowMenu] = useState(false);\n const [showSearch, setShowSearch] = useState(false);\n const [showCountrySelector, setShowCountrySelector] = useState(false);\n const [showBackdrop, setShowBackdrop] = useState(false);\n const shouldReduceMotion = useReducedMotion();\n const [activeCountry, setActiveCountry] = useState();\n const showAnimations = animation && !shouldReduceMotion;\n const dialogOpen = showMenu || showSearch;\n\n usePreventScroll({ isDisabled: !dialogOpen });\n\n const toggleMenu = () => {\n setShowMenu(!showMenu);\n if (!showMenu) {\n window.dataLayer.push({\n event: 'trackingEvent_megamenu_open',\n event_name_variable: 'megamenu_open',\n });\n }\n setShowSearch(false);\n setShowCountrySelector(false);\n };\n\n const toggleSearch = () => {\n setShowSearch(!showSearch);\n setShowCountrySelector(false);\n setShowMenu(false);\n };\n\n const toggleCountrySelector = useCallback(() => {\n setShowCountrySelector(!showCountrySelector);\n if (!showCountrySelector) {\n window.dataLayer.push({\n event: 'trackingEvent_navigation_country_selector_open ',\n event_name_variable: 'navigation_country_selector_open ',\n });\n }\n setShowSearch(false);\n setShowMenu(false);\n }, [showCountrySelector]);\n\n const handleClose = useCallback(() => {\n setShowCountrySelector(false);\n setShowSearch(false);\n setShowMenu(false);\n }, []);\n\n useEffect(() => {\n // Find the first active country\n const foundCountry = languageSelector.regions\n .flatMap((region) => region.countries)\n .find((country) =>\n country.languages.some((language) => language.isActive),\n );\n\n // If active country is found, set the name in state\n if (foundCountry) {\n setActiveCountry(foundCountry);\n }\n }, [languageSelector]);\n\n useEffect(() => {\n setShowBackdrop(dialogOpen);\n }, [dialogOpen]);\n\n useEffect(() => {\n if (headerScript) {\n const script = document.createElement('script');\n script.setAttribute('type', 'text/javascript');\n const scriptText = document.createTextNode(headerScript);\n script.appendChild(scriptText);\n document.head.appendChild(script);\n }\n }, [headerScript]);\n\n return (\n <>\n \n
\n
\n
\n \n \n \n {menuTitleLabel}\n \n \n
\n
\n \n \n \n
\n
\n
\n \n {activeCountry?.image ? (\n \n ) : (\n \n )}\n \n \n \n \n \n
\n
\n
\n
\n \n \n {showMenu && (\n \n \n \n )}\n {showSearch && (\n \n {\n setShowSearch(false);\n }}\n />\n \n )}\n \n \n \n \n \n {showBackdrop && }\n \n \n );\n};\n\nexport default Header;\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","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 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","import { PropsWithChildren, ReactNode } from 'react';\n\ninterface Props {\n readonly condition: boolean;\n readonly wrapper: (child: ReactNode) => ReactNode;\n}\nconst ConditionalWrapper = ({\n condition,\n wrapper,\n children,\n}: PropsWithChildren) => (condition ? wrapper(children) : children);\n\nexport default ConditionalWrapper;\n","interface IHighlightedResult {\n readonly result: string;\n readonly match: string;\n}\n\nconst HighlightedResult = ({ result, match }: IHighlightedResult) => {\n const matchIndex = result.toLowerCase().indexOf(match.toLowerCase());\n\n const startString = result.substring(0, matchIndex);\n const matchString = result.substring(matchIndex, matchIndex + match.length);\n const endString = result.substring(matchIndex + match.length, result.length);\n\n return (\n <>\n {startString && {startString}}\n {matchString}\n {endString && {endString}}\n \n );\n};\n\nexport default HighlightedResult;\n","import Icon from '@atoms/Icon/Icon';\nimport LoadingSpinner from '@atoms/LoadingSpinner/LoadingSpinner';\nimport Text from '@atoms/Text/Text';\nimport { ErrorMessage } from '@hookform/error-message';\nimport { ISearch } from '@models/ISearch';\nimport SizeEnum from '@models/enums/SizeEnum';\nimport classNames from 'classnames';\nimport { useCombobox } from 'downshift';\nimport { debounce } from 'lodash';\nimport { useEffect, useRef, useState } from 'react';\nimport { useAsyncList } from 'react-stately';\nimport HighlightedResult from './HighlightedResult';\n\nconst Search = ({\n autoCompleteEndpoint,\n autoFocus = false,\n backgroundColor = 'tw-bg-white dark:tw-bg-grey-10',\n dataTestId,\n errors,\n initialValue,\n label,\n large = false,\n list,\n name = '',\n predictiveCharacterLength = 3,\n register,\n requiredErrorMessage,\n searchClasses,\n setValue,\n darkMode = false,\n onAutoCompleteSelect,\n clearSearch,\n ...rest\n}: ISearch) => {\n const [inputValue, setInputValue] = useState('');\n\n const suggestions = useAsyncList({\n async load({ signal, filterText }) {\n if (list) {\n return {\n items: list,\n };\n } else if (filterText && filterText.length >= predictiveCharacterLength) {\n const res = await fetch(`${autoCompleteEndpoint}=${filterText}`, {\n signal,\n });\n\n const json = await res.json();\n\n return {\n items: json,\n };\n }\n\n return {\n items: [],\n };\n },\n });\n\n const { items, isLoading } = suggestions;\n\n const debouncedValueChange = useRef(\n debounce(async ({ inputValue }) => {\n suggestions.setFilterText(inputValue ?? '');\n setValue?.(name ?? '', inputValue ?? '', { shouldValidate: true });\n setInputValue(inputValue ?? '');\n }, 500)\n ).current;\n\n const {\n isOpen,\n getLabelProps,\n getMenuProps,\n getToggleButtonProps,\n getInputProps,\n highlightedIndex,\n getItemProps,\n selectedItem,\n reset,\n } = useCombobox({\n onInputValueChange: debouncedValueChange,\n initialInputValue: initialValue ?? '',\n items,\n });\n\n useEffect(() => {\n selectedItem && onAutoCompleteSelect?.(selectedItem);\n }, [selectedItem]);\n\n const showDropdown =\n isOpen && inputValue.length >= predictiveCharacterLength && !!items.length;\n\n const hasErrors = errors && name in errors;\n\n useEffect(() => {\n if (clearSearch && clearSearch > 0) reset();\n }, [clearSearch]);\n\n return (\n
\n \n \n
\n {\n // Workaround to allow form submission when nothing in dropdown is selected\n if (\n e.key !== 'Enter' ||\n highlightedIndex > -1 ||\n !onAutoCompleteSelect\n ) {\n getInputProps()?.onKeyDown?.(e);\n }\n }}\n data-testid={dataTestId}\n />\n {/* tw-hidden input - the input above cannot accept both register() and getInputProps(),\n so we have another input registered and we set its value on line 48 when the shown one changes\n this ensures correct form integration with react-hook-form */}\n \n \n \n \n
\n
\n \n {isLoading ? (\n
\n \n
\n ) : (\n showDropdown &&\n items.map((item, index) => {\n return (\n \n \n \n );\n })\n )}\n \n {requiredErrorMessage && errors && (\n (\n \n {message}\n \n )}\n />\n )}\n \n );\n};\n\nexport default Search;\n"],"names":["_ref","size","SizeEnum","Small","loadingLabel","theme","ThemeEnum","Light","sizeClasses","classNames","Medium","Large","borderClasses","segmentClasses","React","createElement","role","className","_defs","_path","_path2","_extends","Object","assign","bind","n","e","arguments","length","t","r","hasOwnProperty","call","apply","props","xmlns","viewBox","d","style","fill","strokeWidth","activeCountry","languageSelectorLabel","countrySelectorLabel","countrySelectorPlaceholder","languageSelector","searchInput","setSearchInput","useState","activeRegions","setActiveRegions","filteredRegions","setFilteredRegions","allCountries","setAllCountries","useEffect","regions","reduce","acc","_ref4","name","countries","show","filteredCountries","filter","_ref5","push","_ref6","_ref7","toLowerCase","includes","hasFilteredRegions","some","_ref8","handleClickTracking","languageName","countryName","getActiveLanguage","languages","find","language","isActive","window","dataLayer","event","event_name_variable","trackingEvent_navigation_country_selector_clicks","previous_country","previous_language","country_selected","language_selected","Text","variant","map","_ref9","url","key","href","onClick","onSubmit","preventDefault","updatedFilteredRegions","_ref2","_ref3","htmlFor","type","id","value","onChange","target","placeholder","Icon","Accordion","_ref10","AccordionItem","title","isOpen","_ref11","_ref12","image","src","alt","_ref13","link","wishlists","fetchWishlists","useWishlistStore","likedItemCount","useMemo","count","wishlist","likes","motion","span","animate","y","items","parent","onClickCallback","showAnimations","fadeInRight","exit","opacity","x","transition","ease","duration","AnimatePresence","li","text","variants","initial","trackingEvent_megamenu_clicks","megamenu_clicktext","subcategory","category","activeNavItem","callback","isMobile","children","hasSubNav","content","Fragment","classes","controls","onMouseEnter","onTouchStart","onFocus","SubNavigation","Navigation","forwardRef","ref","countrySelectCallback","featuredContent","navigation","quickLinks","subNav","activeSubNav","setActiveSubNav","setActiveNavItem","useMediaQuery","handleNavSelection","slideLeft","noAnimation","nav","slideTransition","ConditionalWrapper","condition","wrapper","div","MainNavigation","linkUrl","Image","imageUrl","altText","alternativeText","displayName","SearchDropdown","autoCompleteEndpoint","onCloseCallback","mostSearchedTerms","mostSearchedTermsLabel","searchUrl","searchPlaceholderLabel","quickLinksLabel","register","handleSubmit","formState","errors","isSubmitSuccessful","watch","setValue","useForm","defaultValues","slideDown","async","data","trackingEvent_search_results","search_type","search_term","freetext","location","searchTerm","searchTermEncoded","encodeURI","generateSearchUrl","Search","pathname","autoFocus","label","large","requiredErrorMessage","searchClasses","animation","headerScript","homepageLink","isRtl","logoAlt","menuTitleLabel","sharedListPageLink","showMenu","setShowMenu","showSearch","setShowSearch","showCountrySelector","setShowCountrySelector","showBackdrop","setShowBackdrop","shouldReduceMotion","useReducedMotion","setActiveCountry","dialogOpen","usePreventScroll","isDisabled","toggleCountrySelector","useCallback","handleClose","foundCountry","flatMap","region","country","script","document","setAttribute","scriptText","createTextNode","appendChild","head","toggleMenu","Logo","HeaderLikeIcon","toggleSearch","FocusTrap","focusTrapOptions","initialFocus","preventScroll","allowOutsideClick","undefined","Drawer","setIsOpen","CountrySelector","Backdrop","index","buttonClasses","animateChildren","dataTestId","padding","isAccordionOpen","setIsAccordionOpen","baseButtonClasses","variantClasses","primary","buttonHeaderTextStyle","buttonContentTextStyle","textContentClasses","secondary","tableItem","noStyle","contentExpander","headline","buttonHeaderElement","baseTextClasses","handleClick","rotate","mode","height","delay","as","result","match","matchIndex","indexOf","startString","substring","matchString","endString","backgroundColor","initialValue","list","predictiveCharacterLength","darkMode","onAutoCompleteSelect","clearSearch","rest","inputValue","setInputValue","suggestions","useAsyncList","load","signal","filterText","res","fetch","json","isLoading","debouncedValueChange","useRef","debounce","setFilterText","shouldValidate","current","getLabelProps","getMenuProps","getToggleButtonProps","getInputProps","highlightedIndex","getItemProps","selectedItem","reset","useCombobox","onInputValueChange","initialInputValue","showDropdown","hasErrors","onKeyDown","required","LoadingSpinner","item","HighlightedResult","ErrorMessage","render","message"],"sourceRoot":""}