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w8B,kBAAe,EAEFx8B,EAAQw8B,aAAe,CAC1CqnB,OAAQ,uCACRxmB,iBAAkB3B,GAAoB,8DAA8DA,IACpGgC,aAAchC,GAAoB,2DAA2DA,IAC7FuB,qBAAsBvB,GAAoB,0FAA0FA,mDAAkEA,IACtM8C,OAAQ,mBACR/B,kBAAmBE,GAAQ,sDAAsDA,I,mFCV/E48B,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOvkD,GAAI,25BA4CtC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wDAAwD,MAAQ,GAAG,SAAW,wUAAwU,eAAiB,CAAC,y4BAAy4B,WAAa,MAE51C,S","sources":["webpack://oritopareaapp/../../packages/top-area/dist/cjs/App.css?fe64","webpack://oritopareaapp/./src/BurgerPersonalMenuOutlet.tsx","webpack://oritopareaapp/./src/createSpaEntryfileUrl.ts","webpack://oritopareaapp/./src/getPersonalMenuScriptSrc.ts","webpack://oritopareaapp/./src/appRender.tsx","webpack://oritopareaapp/./src/logger.ts","webpack://oritopareaapp/./src/includePersonalMenuScript.ts","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/components/Geolocation/Geolocation.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/components/Geolocation/index.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/components/GeolocationDialog/GeolocationDialog.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/components/GeolocationDialog/constants.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/components/GeolocationDialog/index.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/components/GeolocationDialog/styles.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/components/index.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/constants-generated.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/constants/app.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/constants/defaultTranslations.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/constants/index.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/hooks/index.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/hooks/useTranslations.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/index.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/utils/getCountryCode.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/utils/getGeolocationData.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/utils/getHomeCountryUrl.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/utils/index.js","webpack://oritopareaapp/../../packages/geolocation-popup/dist/cjs/utils/localStorageUtils.js","webpack://oritopareaapp/../../packages/login/dist/cjs/components/LoginProvider/LoginProvider.js","webpack://oritopareaapp/../../packages/login/dist/cjs/components/LoginProvider/index.js","webpack://oritopareaapp/../../packages/login/dist/cjs/components/index.js","webpack://oritopareaapp/../../packages/login/dist/cjs/constants.js","webpack://oritopareaapp/../../packages/login/dist/cjs/contexts/index.js","webpack://oritopareaapp/../../packages/login/dist/cjs/contexts/loginContext.js","webpack://oritopareaapp/../../packages/login/dist/cjs/index.js","webpack://oritopareaapp/../../packages/login/dist/cjs/utils/goToPage.js","webpack://oritopareaapp/../../packages/login/dist/cjs/utils/index.js","webpack://oritopareaapp/../../packages/open-login/dist/cjs/event.js","webpack://oritopareaapp/../../packages/open-login/dist/cjs/index.js","webpack://oritopareaapp/../../packages/toggle-menu-flyout/dist/cjs/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/TopArea.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/api/getSearchPreviewData.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/api/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/api/useGetCatalogues.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/api/useGetNavigationType.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/api/usePersonalBeautyStoreData.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/AppPromoBanner/AppPromoBanner.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/AppPromoBanner/components/AppInfo.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/AppPromoBanner/components/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/AppPromoBanner/components/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/AppPromoBanner/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/AppPromoBanner/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/AppPromoBanner/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/AppPromoBanner/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BeautyAndTrends/BeautyAndTrends.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BeautyAndTrends/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BeautyAndTrends/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BeautyAndTrends/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BestOffers/BestOffers.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BestOffers/DesktopBestOffers.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BestOffers/MobileBestOffers.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BestOffers/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BestOffers/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BestOffers/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BestOffers/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenu.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenuContent/BurgerMenuContent.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenuContent/LazyBurgerMenuContent.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenuContent/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenuIcon/BurgerMenuIcon.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenuIcon/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenuIcon/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenuTab/BurgerMenuTab.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenuTab/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenuTab/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenuToggle/BurgerMenuToggle.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenuToggle/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/BurgerMenuToggle/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Catalogues/Catalogues.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Catalogues/CataloguesSkeleton.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Catalogues/CurrentCatalogue.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Catalogues/NextCatalogue.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Catalogues/constant.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Catalogues/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/CategoryContent/CategoryContent.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/CategoryContent/CategoryContentSkeleton.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/CategoryContent/DesktopSubLinksGenerator.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/CategoryContent/MobileSubLinksGenerator.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/CategoryContent/SubCategory.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/CategoryContent/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/CategoryContent/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/CategoryContent/utils.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Favorites/Favorites.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Favorites/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/FindYourProduct/FindYourProduct.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/FindYourProduct/FindYourProductSkeleton.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/FindYourProduct/constant.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/FindYourProduct/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/FindYourProduct/utils.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Links/BurgerMenuLink.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Links/LazyLinks.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Links/Links.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Links/TitleWithIcon.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Links/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/Links/utils.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/OurStory/OurStory.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/OurStory/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/PopularBrands/PopularBrands.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/PopularBrands/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/PopularBrands/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/PopularBrands/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/BurgerMenu/utils.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/FavoritesHeartIcon/FavoritesHeartIcon.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/FavoritesHeartIcon/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/FavoritesHeartIcon/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/FavoritesHeartIcon/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Join/JoinMenu.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Join/components/JoinIcon/JoinIcon.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Join/components/JoinIcon/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Join/components/JoinTileImage/JoinTileImage.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Join/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Join/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/LeftActionsSection/LeftActionsSection.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/LeftActionsSection/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/LeftActionsSection/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/NotificationBellIcon/NotificationBellIcon.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/NotificationBellIcon/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/NotificationBellIcon/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/NotificationBellIcon/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/OrderOnBehalf.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/components/ChangeConsultantForm/ChangeConsultantForm.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/components/ChangeConsultantForm/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/components/ChangeConsultantForm/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/components/ChangeConsultantForm/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/components/ChangeConsultantForm/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/components/OrderOnBehalfDialog/OrderOnBehalfDialog.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/components/OrderOnBehalfDialog/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/components/OrderOnBehalfDialog/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/components/OrderOnBehalfDialog/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/components/OrderOnBehalfDialog/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/components/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OrderOnBehalf/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/OriflameLogo.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/components/ChineseLogo/ChineseLogo.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/components/ChineseLogo/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/components/ChineseLogo/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/components/ChineseLogo/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/components/CommonLogo/CommonLogo.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/components/CommonLogo/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/components/CommonLogo/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/components/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/components/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/OriflameLogo/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/RightActionsSection/RightActionsSection.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/RightActionsSection/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/RightActionsSection/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchIcon/SearchIcon.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchIcon/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchIcon/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchIcon/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchInput/SearchInput.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchInput/components/SearchPreviewContainer/SearchPreviewContainer.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchInput/components/SearchPreviewContainer/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchInput/components/SearchPreviewContainer/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchInput/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchInput/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchInput/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchInput/utils.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/SearchPreview.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewHeader/SearchPreviewHeader.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewHeader/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewHeader/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewHeader/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewImage/SearchPreviewImage.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewImage/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewImage/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewImage/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewImage/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/SearchPreviewProduct.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/Prices/Prices.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/Prices/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/Prices/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/Prices/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/Prices/utils.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/ProductInfo/ProductInfo.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/ProductInfo/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/ProductInfo/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/ProductInfo/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/ProductInfoLabel/ProductInfoLabel.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/ProductInfoLabel/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/ProductInfoLabel/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/ProductInfoLabel/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/Shades/Shades.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/Shades/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/Shades/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/Shades/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/Shades/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/components/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewProduct/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewSuggestion/SearchPreviewSuggestion.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewSuggestion/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewSuggestion/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewSuggestion/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/SearchPreviewSuggestion/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/components/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/hooks/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/hooks/useAddToBasketAnalytics.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/hooks/useSendNavigationSignal.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreview/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreviewSkeleton/SearchPreviewSkeleton.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreviewSkeleton/components/SearchPreviewProductSkeleton/SearchPreviewProductSkeleton.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreviewSkeleton/components/SearchPreviewProductSkeleton/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreviewSkeleton/components/SearchPreviewProductSkeleton/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreviewSkeleton/components/SearchPreviewProductSkeleton/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreviewSkeleton/components/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreviewSkeleton/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreviewSkeleton/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/SearchPreviewSkeleton/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShadePicker/ShadePicker.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShadePicker/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/ShoppingBagIcon.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/components/ShoppingBagCounter/ShoppingBagCounter.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/components/ShoppingBagCounter/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/components/ShoppingBagCounter/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/components/ShoppingBagCounter/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/components/ShoppingBagCounter/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/components/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/hooks/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/hooks/useDeviceType.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/hooks/useShoppingBag.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/ShoppingBagIcon/utils.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Skeleton/Desktop/SkeletonCatalogueDesktop.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Skeleton/Desktop/SkeletonMainCategoryDesktop.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Skeleton/Desktop/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Skeleton/Mobile/SkeletonCatalogueMobile.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Skeleton/Mobile/SkeletonMainCategoryMobile.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Skeleton/Mobile/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Skeleton/Mobile/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/Skeleton/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopArea/TopArea.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopArea/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopArea/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopArea/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/TopAreaBanner.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/BannersCarousel/BannersCarousel.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/BannersCarousel/components/Banner/Banner.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/BannersCarousel/components/Banner/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/BannersCarousel/components/Banner/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/BannersCarousel/components/Banner/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/BannersCarousel/components/Banner/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/BannersCarousel/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/BannersCarousel/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/BannersCarousel/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/BannersCarousel/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/Contact/Contact.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/Contact/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/Contact/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/TopAreaBannerContent/TopAreaBannerContent.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/TopAreaBannerContent/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/TopAreaBannerDialog/TopAreaBannerDialog.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/TopAreaBannerDialog/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/TopAreaBannerDialog/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/TopAreaBannerDialog/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/TopAreaBannerSkeleton/TopAreaBannerSkeleton.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/TopAreaBannerSkeleton/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/TopAreaBannerSkeleton/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/components/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/utils/getContactByType.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/utils/getTopAreaBannerType.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBanner/utils/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBlock/TopAreaBlock.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBlock/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBlock/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/TopAreaBlock/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/UserSection/UserSection.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/UserSection/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/UserSection/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/UserSection/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/common/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/common/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/components/styles.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/constants-generated.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/constants/analytics.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/constants/app.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/constants/defaultTranslations.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/constants/defaultTranslationsWithNamespaces.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/constants/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/constants/parameters.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/constants/settings.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/constants/tenants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/containers/ApiProvider.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/containers/Context.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/appPromoContext/appPromoContext.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/appPromoContext/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/appPromoContext/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/appPromoContext/utils.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/configurationContext.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/consultantContext.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/headersContext.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/navigation/activeLinkContext.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/navigation/activeMenuContext.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/navigation/burgerMenuContext.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/navigation/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/navigation/labelsContext.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/navigation/searchInputContext.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/topAreaBannerContext/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/topAreaBannerContext/topAreaBannerContext.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/context/topAreaBannerContext/utils.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useCookieStoreInfo.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useCookieToUrl/constants.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useCookieToUrl/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useCookieToUrl/types.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useCookieToUrl/useCookieToUrl.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useCustomerInitials.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useGetSearchPreviewData.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useGetTopAreaBanners.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useHover.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useIsMarketCN.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useIsMobile.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useLoadAbTastyScript.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useLongPress.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useManagedHeight.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useMobileOs.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useSearchInputPlaceholder.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useShouldRenderNotificationMenu.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useToggleMenu.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useToggleMenuHandler.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/hooks/useTranslations.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/logger.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/AlwaysActiveLinks.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/AppConfig.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/BurgerMenuTabNames.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/Catalogue.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/Categories.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/FavoritesLink.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/OurStoryLinks.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/Product.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/ReferralType.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/SpecialLinks.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/SuggestionsAndResults.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/TranslationKey.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/VipOrdersTypes.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/graphql-types/net/graphql.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/graphql-types/net/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/graphql-types/net/operations.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/models/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/queries-net/beautyStoreQuery.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/queries-net/fragments/concept.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/queries-net/fragments/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/queries-net/fragments/labels.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/queries-net/fragments/searchPreviewProduct.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/queries-net/fragments/shade.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/queries-net/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/queries-net/searchPreview.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/addParamsToUrl.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/analytics.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/boldMatchedText.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/composeProviders.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/dispatchToggleMenu.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/formatValidity.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/getIconByLinkType.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/getMobileCssVariable.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/getProductUrl.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/getQuickBuyButtonOnClickHandler.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/getSearchTime.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/getSearchUrl.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/goToPage.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/index.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/mapCategoryColors.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/mapEnableQuickBuyButton.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/mapSearchPreviewProductToShadePicker.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/mapSearchPreviewQuery.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/mapTopAreaBanners.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/onEnterKey.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/openProductInfoDialog.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/openShadePicker.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/sanitizeKey.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/sendUserAction.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/stripSlashes.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/utils/vipOrderUrls.js","webpack://oritopareaapp/../../packages/top-area/dist/cjs/App.css"],"sourcesContent":["\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./App.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./App.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { Box, CircularProgress, styled } from '@ori-ui/mui';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst Root = styled(props => /*#__PURE__*/_jsx(\"div\", {\n ...props,\n // This instructs personal menu to render here\n \"data-personal-menu-outlet\": true\n}))({\n // Hide the placeholder loader when menu loads iin\n '& > div:not(:only-child):first-of-type': {\n display: 'none'\n },\n // This is so it fills the rest of burger menu\n height: '100%'\n});\nexport const BurgerPersonalMenuOutlet = () => /*#__PURE__*/_jsx(Root, {\n children: /*#__PURE__*/_jsxs(Box, {\n display: \"flex\",\n justifyContent: \"center\",\n children: [/*#__PURE__*/_jsx(CircularProgress, {}), process.env.NODE_ENV === 'development' ? /*#__PURE__*/_jsx(\"p\", {\n children: \"Development detected. Please make sure that you have included personal-menu-app CAP script in your index.html with script HTML tag\"\n }) : null]\n })\n});","// COPIED FROM @ori-appshell/config\n\nexport function getEnvironmentClientAppFileUrlPostfix(environment) {\n switch (environment) {\n case 'stg':\n case 'uat':\n case 'dev':\n return `.${environment}`;\n default:\n return '';\n }\n}\n\n/**\n * Builds URL pointing to the entry file of the specified SPA\n * @param spaName Name (codename) of the SPA\n * @param environment Code of environment for which should the SPA be loaded\n * @param baseUrl Base url of the blob storage with SPAs\n * @returns Complete url of the SPA entry file\n */\nexport function createSpaEntryfileUrl(spaName, environment, baseUrl) {\n const urlPrefix = baseUrl && !baseUrl.endsWith('/') ? `${baseUrl}/` : baseUrl ?? '';\n return `${urlPrefix}${spaName}/index${getEnvironmentClientAppFileUrlPostfix(environment)}.js`;\n}","import { getEnvironmentFromHost } from '@ori/environment';\nimport { createSpaEntryfileUrl, getEnvironmentClientAppFileUrlPostfix } from './createSpaEntryfileUrl';\nconst PERSONAL_MENU_BLOB_NAME = 'personal-menu';\nconst getClientAppScriptElement = (clientAppName, environment) => document.querySelector(`script[src$=\"${clientAppName}/index${getEnvironmentClientAppFileUrlPostfix(environment)}.js\"`);\n\n// TODO: remove this after online is released with its own personal menu loader\n/** Returns personal menu src, returns undefined if the script exists already */\nexport const getPersonalMenuScriptSrc = () => {\n const environment = getEnvironmentFromHost(window.location.host);\n const existingScript = getClientAppScriptElement(PERSONAL_MENU_BLOB_NAME, environment);\n\n // Skip for development, user should include the script tag themselves if not already present\n // 1. Start personal-menu-app webpack dev server on different port that top-area-app\n // 2. Create script tag in index.html and ensure that it is placed after the online-top-area-root element with id\n // 3. Add src argument to script tag that points to entrypoint of personal-menu-app: `http://localhost:/index.js`\n // 4. Add defer argument\n // 5. Now it should load\n if (process.env.NODE_ENV === 'development') {\n return undefined;\n }\n\n // Skip if it exists\n if (existingScript) {\n return undefined;\n }\n const topAreaScript = getClientAppScriptElement('online-top-area', environment);\n const clientAppFileBaseUrl = new URL(topAreaScript.src);\n return createSpaEntryfileUrl(PERSONAL_MENU_BLOB_NAME, environment, clientAppFileBaseUrl.origin);\n};","import { ThemeProvider } from '@ori-ui/mui';\nimport { UniversalTokenProvider, doDevelopmentLogin } from '@ori/auth';\nimport { parseClientAppConfig } from '@ori/client-app-config';\nimport { ServiceUrlsProvider } from '@ori/configuration-manager';\nimport { ClientCultureProvider } from '@ori/culture';\nimport { EnvironmentProvider, getEnvironmentFromHost } from '@ori/environment';\nimport { Geolocation } from '@ori/geolocation-popup';\nimport { TranslationsProvider } from '@ori/i18n';\nimport { ApplicationInsights, ErrorBoundary, getClientApplicationInsightsConfig } from '@ori/logger';\nimport { LoginProvider } from '@ori/login';\nimport { ApiClientProvider as StaticApiClientProvider } from '@ori/static-api-client-react';\nimport { TopArea, defaultTranslationsWithNamespaces } from '@ori/top-area';\nimport '@ori/top-area/src/App.css';\nimport { createRoot } from 'react-dom/client';\nimport { BurgerPersonalMenuOutlet } from './BurgerPersonalMenuOutlet';\nimport { EMOTION_CACHE_KEY } from './constants-generated';\nimport { includePersonalMenuScript } from './includePersonalMenuScript';\nimport { mainLogger } from './logger';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst localLogger = mainLogger.createChild('appRender');\n\n/**\n * React app renderer that is used when app is used as a standalone app\n */\nexport const render = async rootElement => {\n const {\n config = ''\n } = rootElement.dataset;\n const {\n customerId,\n identityUrl,\n ...clientAppConfig\n } = parseClientAppConfig(config, ['currentLanguage', 'globalApiUrl', 'graphqlUrl', 'graphqlNetUrl', 'mobileOfficeApiUrl', 'staticApiUrl', 'tenant']);\n const {\n currentLanguage,\n globalApiUrl,\n mobileOfficeApiUrl,\n staticApiUrl,\n tenant,\n graphqlUrl,\n graphqlNetUrl,\n useInternationalShareAndEarn = false\n } = clientAppConfig;\n if (process.env.NODE_ENV === 'production') {\n ApplicationInsights.initialize(getClientApplicationInsightsConfig());\n } else {\n // when using Requestly we do not want to load token\n // eslint-disable-next-line no-lonely-if -- thats okay\n if (process.env.REACT_APP_USE_REQUESTLY === '1') {\n localLogger.debug('USING REQUESTLY');\n } else {\n if (!identityUrl) {\n throw new Error('Missing Identity URL!');\n }\n\n // Get token for local development\n await doDevelopmentLogin({\n identityUrl,\n tenant\n });\n }\n }\n const environment = getEnvironmentFromHost(window.location.host);\n createRoot(rootElement).render(/*#__PURE__*/_jsx(ErrorBoundary, {\n logger: localLogger,\n children: /*#__PURE__*/_jsx(ServiceUrlsProvider, {\n serviceUrls: {\n globalApiUrl,\n graphQlUrl: graphqlUrl,\n identityUrl,\n mobileOfficeApiUrl,\n staticApiUrl,\n graphQlNetUrl: graphqlNetUrl\n },\n children: /*#__PURE__*/_jsx(EnvironmentProvider, {\n environment: environment,\n tenant: tenant,\n children: /*#__PURE__*/_jsx(UniversalTokenProvider, {\n customerId: customerId,\n initialToken: \"\",\n children: /*#__PURE__*/_jsx(ThemeProvider, {\n enableCacheProvider: true,\n cacheKey: EMOTION_CACHE_KEY,\n children: /*#__PURE__*/_jsx(StaticApiClientProvider, {\n baseUrl: staticApiUrl,\n language: currentLanguage,\n tenant: tenant,\n children: /*#__PURE__*/_jsxs(ClientCultureProvider, {\n tenant: tenant,\n children: [/*#__PURE__*/_jsx(LoginProvider, {\n children: /*#__PURE__*/_jsx(TranslationsProvider, {\n language: currentLanguage,\n defaultTranslationsWithNamespaces: defaultTranslationsWithNamespaces\n // eslint-disable-next-line no-console -- we need to log errors\n ,\n clientFetchConfiguration: {\n onError: console.error,\n tenant,\n baseUrl: staticApiUrl\n },\n children: /*#__PURE__*/_jsx(TopArea, {\n configuration: clientAppConfig,\n mobilePersonalMenuOutlet: /*#__PURE__*/_jsx(BurgerPersonalMenuOutlet, {})\n })\n })\n }), /*#__PURE__*/_jsx(Geolocation, {\n enabled: useInternationalShareAndEarn\n })]\n })\n })\n })\n })\n })\n })\n }));\n\n // Include personal menu entrypoint\n includePersonalMenuScript();\n};","import { Logger } from '@ori/logger';\nimport { PACKAGE_NAME, TEAM_NAME } from './constants-generated';\nexport const mainLogger = new Logger(PACKAGE_NAME, {\n teamName: TEAM_NAME\n});","import { getPersonalMenuScriptSrc } from './getPersonalMenuScriptSrc';\nexport const includePersonalMenuScript = () => {\n const personalMenuSrc = getPersonalMenuScriptSrc();\n // This is for the case where only does not include the script by its own\n if (personalMenuSrc) {\n const el = document.createElement('script');\n el.setAttribute('src', personalMenuSrc);\n document.head.append(el);\n }\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Geolocation = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _configurationManager = require(\"@ori/configuration-manager\");\nvar _environment = require(\"@ori/environment\");\nvar _fetching = require(\"@ori/fetching\");\nvar _i18n = require(\"@ori/i18n\");\nvar _presentationHooks = require(\"@ori/presentation-hooks\");\nvar _testidGenerator = require(\"@ori/testid-generator\");\nvar _react = require(\"react\");\nvar _constants = require(\"../../constants\");\nvar _constantsGenerated = require(\"../../constants-generated\");\nvar _utils = require(\"../../utils\");\nvar _GeolocationDialog = require(\"../GeolocationDialog\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n/**\n * Geolocation component that fetches data needed to decide visibility of geolocatin popup. If conditions are met a dialog with information about home and foreign country is displayed.\n */\nconst Geolocation = ({\n enabled,\n translations\n}) => {\n const {\n staticApiUrl\n } = (0, _configurationManager.useServiceUrls)(['staticApi']);\n const {\n environment,\n tenant\n } = (0, _environment.useEnvironment)();\n const {\n isAnonymousUser\n } = (0, _auth.useToken)();\n const {\n open,\n onClose,\n onOpen\n } = (0, _presentationHooks.useDisclose)();\n const {\n data: {\n foreignCountry,\n homeCountry,\n homeCountryUrl,\n visible\n } = {\n foreignCountry: '',\n homeCountry: '',\n homeCountryUrl: '',\n visible: false\n }\n } = (0, _fetching.useSWR)([enabled, environment, isAnonymousUser, staticApiUrl, tenant], async () => (0, _utils.getGeolocationData)({\n enabled,\n environment,\n isAnonymousUser,\n staticApiUrl,\n tenant\n }), {\n revalidateIfStale: false,\n revalidateOnFocus: false,\n revalidateOnReconnect: false\n });\n (0, _react.useEffect)(() => {\n if (visible) {\n onOpen();\n }\n }, [onOpen, visible]);\n\n // We need to fetch translations with home country tenant to get correct translations.\n const countryCode = (0, _utils.getCountryCode)() ?? 'uk';\n if (!open) {\n return null;\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_testidGenerator.TestIdProvider, {\n team: _testidGenerator.Team.Presentation,\n project: _constantsGenerated.LIBRARY_NAME,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_i18n.TranslationsProvider, {\n defaultTranslationsWithNamespaces: {\n [_constants.translationsNamespace]: _constants.defaultTranslations\n }\n // eslint-disable-next-line no-console -- we want to log errors\n ,\n\n clientFetchConfiguration: {\n onError: console.error,\n tenant: countryCode,\n baseUrl: staticApiUrl\n },\n language: navigator.language\n // istanbul ignore next -- We do not need to test fetching of translations when translations are undefined.\n ,\n\n translationsWithNamespaces: translations ? {\n [_constants.translationsNamespace]: translations\n } : undefined,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_i18n.TranslationsNamespaceProvider, {\n namespace: _constants.translationsNamespace,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeolocationDialog.GeolocationDialog, {\n foreignCountry: foreignCountry,\n homeCountry: homeCountry,\n homeCountryUrl: homeCountryUrl,\n open: open,\n onClose: onClose\n })\n })\n })\n });\n};\nexports.Geolocation = Geolocation;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Geolocation = require(\"./Geolocation\");\nObject.keys(_Geolocation).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Geolocation[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Geolocation[key];\n }\n });\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.GeolocationDialog = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _hooks = require(\"../../hooks\");\nvar _localStorageUtils = require(\"../../utils/localStorageUtils\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n/**\n * Dialog that includes information for user that he is accessing foreign country tenant.\n */\nconst GeolocationDialog = ({\n foreignCountry,\n homeCountry,\n homeCountryUrl,\n open,\n onClose\n}) => {\n const {\n translations,\n formatMessage\n } = (0, _hooks.useTranslations)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const onCloseAndHideUntilDate = (0, _react.useCallback)(() => {\n onClose();\n (0, _localStorageUtils.setHideGeolocationUntilDate)();\n }, [onClose]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Dialog, {\n \"data-testid\": getTestId(_constants.DIALOG),\n open: open,\n onClose: onCloseAndHideUntilDate,\n children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Content, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Inner, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Typography, {\n variant: \"h4\",\n component: \"h4\",\n children: formatMessage('dialogTitle', {\n foreignCountry,\n homeCountry\n })\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Typography, {\n children: translations.dialogMessage\n })]\n }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Inner, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Button, {\n \"data-testid\": getTestId(_constants.HOME_COUNTRY_BUTTON),\n variant: \"contained\",\n color: \"primary\",\n href: homeCountryUrl,\n onClick: onClose,\n children: formatMessage('homeCountryButton', {\n homeCountry\n })\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Button, {\n \"data-testid\": getTestId(_constants.FOREIGN_COUNTRY_BUTTON),\n variant: \"contained\",\n color: \"secondary\",\n onClick: onCloseAndHideUntilDate,\n children: formatMessage('foreignCountryButton', {\n foreignCountry\n })\n })]\n })]\n })\n });\n};\nexports.GeolocationDialog = GeolocationDialog;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.HOME_COUNTRY_BUTTON = exports.FOREIGN_COUNTRY_BUTTON = exports.DIALOG = void 0;\nconst HOME_COUNTRY_BUTTON = exports.HOME_COUNTRY_BUTTON = 'home-country-button';\nconst FOREIGN_COUNTRY_BUTTON = exports.FOREIGN_COUNTRY_BUTTON = 'foreign-country-button';\nconst DIALOG = exports.DIALOG = 'dialog';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _GeolocationDialog = require(\"./GeolocationDialog\");\nObject.keys(_GeolocationDialog).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _GeolocationDialog[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _GeolocationDialog[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Inner = exports.Dialog = exports.Content = void 0;\nvar _components = require(\"@ori-ui/components\");\nvar _mui = require(\"@ori-ui/mui\");\nconst Content = exports.Content = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(6),\n textAlign: 'center',\n [theme.breakpoints.up('sm')]: {\n maxWidth: 390\n },\n a: {\n '&:hover, &:focus, &:active': {\n color: theme.palette.common.white\n }\n }\n}));\nconst Dialog = exports.Dialog = (0, _mui.styled)(_components.Dialog)({\n // The Dialog must be above Terms & Conditions popup (The Kendo component #w-terms-and-conditions has its z-index set to 6005).\n // If this value won't be enough, get current z-index value of T&C Kendo popup during the page rendering,\n // increase it and set as the z-index value (something like this `window.getComputedStyle(document.querySelector('.k-window')).zIndex`).\n zIndex: 6050\n});\nconst Inner = exports.Inner = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(3)\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Geolocation = require(\"./Geolocation\");\nObject.keys(_Geolocation).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Geolocation[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Geolocation[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TEAM_NAME = exports.PACKAGE_NAME = exports.LIBRARY_NAME = exports.EMOTION_CACHE_KEY = void 0;\n/* istanbul ignore file */\n//\n// DO NOT EDIT!\n// This file was autogenerated by Eddie.\n// Changes may cause incorrect behavior and will be lost when the file is regenerated.\n//\n// Run `npx eddie update workspace` to regenerate.\n//\n\nconst LIBRARY_NAME = exports.LIBRARY_NAME = 'geolocation-popup';\nconst PACKAGE_NAME = exports.PACKAGE_NAME = '@ori/geolocation-popup';\nconst TEAM_NAME = exports.TEAM_NAME = 'Presentation';\nconst EMOTION_CACHE_KEY = exports.EMOTION_CACHE_KEY = `${LIBRARY_NAME}-emotion-cache-key`;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.GEOLOCATION_LOCAL_STORAGE_KEY = exports.COUNTRY_CODE_COOKIE_NAME = void 0;\nconst COUNTRY_CODE_COOKIE_NAME = exports.COUNTRY_CODE_COOKIE_NAME = 'country-code';\nconst GEOLOCATION_LOCAL_STORAGE_KEY = exports.GEOLOCATION_LOCAL_STORAGE_KEY = 'hideGeolocationUntil';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.translationsNamespace = exports.defaultTranslations = void 0;\n/* istanbul ignore file */\n\n/**\n * DO NOT EDIT!\n * This file was autogenerated by npm script `localizations-codegen`.\n * Changes may cause incorrect behavior and will be lost when the file is regenerated.\n *\n * Run `npx localizations-codegen` to regenerate.\n */\n\nconst defaultTranslations = exports.defaultTranslations = {\n dialogMessage: \"It appears that the link you're attempting to access originates from a different country than your current location. Please choose location.\",\n dialogTitle: 'Looks like you are trying to access Oriflame {foreignCountry} from {homeCountry}.',\n foreignCountryButton: 'Go to Oriflame {foreignCountry}',\n homeCountryButton: 'Continue to {homeCountry}'\n};\nconst translationsNamespace = exports.translationsNamespace = 'geolocation-popup';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _app = require(\"./app\");\nObject.keys(_app).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _app[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _app[key];\n }\n });\n});\nvar _defaultTranslations = require(\"./defaultTranslations\");\nObject.keys(_defaultTranslations).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _defaultTranslations[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _defaultTranslations[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _useTranslations = require(\"./useTranslations\");\nObject.keys(_useTranslations).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useTranslations[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useTranslations[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useTranslations = void 0;\nvar _i18n = require(\"@ori/i18n\");\n/* istanbul ignore file */\n\n/**\n * DO NOT EDIT!\n * This file was autogenerated by npm script `localizations-codegen`.\n * Changes may cause incorrect behavior and will be lost when the file is regenerated.\n *\n * Run `npx localizations-codegen` to regenerate.\n */\n\n/**\n * A hook for accessing translations within a specific namespace along with a formatting function.\n *\n * @returns The translations within the specified namespace and a formatting function.\n */\nconst useTranslations = () => (0, _i18n.useTranslationsFromNamespace)();\nexports.useTranslations = useTranslations;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _components = require(\"./components\");\nObject.keys(_components).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _components[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _components[key];\n }\n });\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getCountryCode = void 0;\nvar _jsCookie = _interopRequireDefault(require(\"js-cookie\"));\nvar _constants = require(\"../constants\");\n/**\n * Get country code from cookie and convert it to 'uk' if it is 'gb'.\n */\nconst getCountryCode = () => {\n const countryCode = _jsCookie.default.get(_constants.COUNTRY_CODE_COOKIE_NAME)?.toLocaleLowerCase();\n return countryCode === 'gb' ? 'uk' : countryCode;\n};\nexports.getCountryCode = getCountryCode;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getGeolocationData = void 0;\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _jsCookie = _interopRequireDefault(require(\"js-cookie\"));\nvar _lodash = _interopRequireDefault(require(\"lodash.capitalize\"));\nvar _getCountryCode = require(\"./getCountryCode\");\nvar _getHomeCountryUrl = require(\"./getHomeCountryUrl\");\nvar _localStorageUtils = require(\"./localStorageUtils\");\nconst formatCountryName = name => name.split(' ').map(_lodash.default).join(' ');\n/**\n * Fetches data needed to decide visibility of geolocation popup and data for homeCountry\n * (where user is according to countryCode) and foreignCountry (where user is NOT according to countryCode).\n * @param params - Parameters needed to fetch geolocation data.\n * @returns Promise with visibility and data for homeCountry and foreignCountry.\n */\nconst getGeolocationData = async ({\n enabled,\n isAnonymousUser,\n staticApiUrl,\n tenant,\n environment = 'live'\n}) => {\n const countryCode = (0, _getCountryCode.getCountryCode)();\n if (!enabled || !isAnonymousUser || !countryCode || !tenant || countryCode === tenant) {\n return {\n foreignCountry: '',\n homeCountry: '',\n homeCountryUrl: '',\n visible: false\n };\n }\n const store = _jsCookie.default.get(_presentationUtils.PbsCookieNames.PBS_CODE) ?? _jsCookie.default.get(_presentationUtils.PbsCookieNames.PBS_OWNER);\n const hiddenByUser = (0, _localStorageUtils.getHiddenByUser)();\n if (!store || hiddenByUser) {\n return {\n foreignCountry: '',\n homeCountry: '',\n homeCountryUrl: '',\n visible: false\n };\n }\n const {\n language\n } = navigator;\n const client = new _staticApiClientReact.ApiClient({\n baseUrl: staticApiUrl,\n language,\n tenant\n });\n const [{\n data: {\n name: homeCountry = ''\n }\n }, {\n data: {\n isForeignRegistrationAllowed: visible,\n name: foreignCountry = ''\n }\n }] = await Promise.all([\n // We need to fetch translations with home country tenant (countryCode) to get correct translations.\n (0, _staticApiClientReact.getTenantCountry)(client, countryCode, countryCode, {\n lang: language\n }), (0, _staticApiClientReact.getTenantCountry)(client, countryCode, tenant, {\n lang: language\n })]);\n return {\n foreignCountry: formatCountryName(foreignCountry),\n homeCountry: formatCountryName(homeCountry),\n homeCountryUrl: (0, _getHomeCountryUrl.getHomeCountryUrl)({\n environment,\n store\n }),\n visible\n };\n};\nexports.getGeolocationData = getGeolocationData;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.vipCustomerBenefitsPath = exports.ssoRegisterPath = exports.memberBenefitsPath = exports.getHomeCountryUrl = exports.comparisonPagePath = exports.businessOpportunityPath = void 0;\nvar _getCountryCode = require(\"./getCountryCode\");\nconst memberBenefitsPath = exports.memberBenefitsPath = '/member-benefits';\nconst vipCustomerBenefitsPath = exports.vipCustomerBenefitsPath = '/vip-customer-benefits';\nconst comparisonPagePath = exports.comparisonPagePath = '/comparison-page';\nconst businessOpportunityPath = exports.businessOpportunityPath = '/business-opportunity';\nconst oldRegistrationPaths = [memberBenefitsPath, vipCustomerBenefitsPath, comparisonPagePath, businessOpportunityPath];\nconst ssoRegisterPath = exports.ssoRegisterPath = '/ssoidentity/register';\n/**\n * Returns URL to the home country Oriflame.\n */\nconst getHomeCountryUrl = ({\n environment = 'live',\n store\n}) => {\n const countryCode = (0, _getCountryCode.getCountryCode)();\n const pathname = window.location.pathname\n // remove /[a-z]{2} from the pathname if it is on the first position\n .replace(/^\\/[a-z]{2}\\//, '/')\n // replace old registration paths with new registration path\n .replace(new RegExp(`^(${oldRegistrationPaths.join('|')})`), ssoRegisterPath);\n const homeCountryUrl = new URL(environment === 'live' ? `https://${countryCode}.oriflame.com${pathname}` : `https://${countryCode}-${environment}.oriflame.com${pathname}`);\n homeCountryUrl.search = window.location.search;\n homeCountryUrl.hash = window.location.hash;\n if (store) {\n // set store query param in URL\n homeCountryUrl.searchParams.set('store', store);\n }\n return homeCountryUrl.toString();\n};\nexports.getHomeCountryUrl = getHomeCountryUrl;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _getCountryCode = require(\"./getCountryCode\");\nObject.keys(_getCountryCode).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _getCountryCode[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _getCountryCode[key];\n }\n });\n});\nvar _getGeolocationData = require(\"./getGeolocationData\");\nObject.keys(_getGeolocationData).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _getGeolocationData[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _getGeolocationData[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.setHideGeolocationUntilDate = exports.getHiddenByUser = void 0;\nvar _constants = require(\"../constants\");\n/**\n * Checks localStorage for information if user closed geolocation popup before.\n * If he closed it in the last month, it will return true.\n */\nconst getHiddenByUser = () => {\n const hideGeolocationUntilFromLocalStorage = localStorage.getItem(_constants.GEOLOCATION_LOCAL_STORAGE_KEY);\n const hideGeolocationUntil = hideGeolocationUntilFromLocalStorage ? new Date(hideGeolocationUntilFromLocalStorage) : null;\n const dateNow = new Date();\n return hideGeolocationUntil != null && hideGeolocationUntil.toString() !== 'Invalid Date' && hideGeolocationUntil >= dateNow;\n};\n\n/**\n * Sets date to localStorage to hide geolocation popup for a month.\n */\nexports.getHiddenByUser = getHiddenByUser;\nconst setHideGeolocationUntilDate = () => {\n const dateNow = new Date();\n dateNow.setMonth(dateNow.getMonth() + 1);\n localStorage.setItem(_constants.GEOLOCATION_LOCAL_STORAGE_KEY, dateNow.toISOString());\n};\nexports.setHideGeolocationUntilDate = setHideGeolocationUntilDate;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LoginProvider = void 0;\nvar _openLogin = require(\"@ori-events/open-login\");\nvar _react = require(\"react\");\nvar _constants = require(\"../../constants\");\nvar _contexts = require(\"../../contexts\");\nvar _utils = require(\"../../utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst LoginProvider = ({\n children\n}) => {\n const doLogin = (0, _react.useCallback)(event => {\n // Ctrl or Cmd key is pressed, redirect to AD login\n if (Boolean(event?.ctrlKey) || event?.metaKey) {\n (0, _utils.goToPage)(_constants.SSO_IDENTITY_AD_LOGIN_PATH);\n return;\n }\n (0, _utils.goToPage)(_constants.SSO_IDENTITY_LOGIN_PATH);\n }, []);\n const onLogin = (0, _react.useCallback)(() => {\n doLogin();\n }, [doLogin]);\n (0, _react.useEffect)(() => {\n window.addEventListener(_openLogin.Name, onLogin);\n return () => {\n window.removeEventListener(_openLogin.Name, onLogin);\n };\n }, [onLogin]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_contexts.Provider, {\n value: (0, _react.useMemo)(() => ({\n doLogin\n }), [doLogin]),\n children: children\n });\n};\nexports.LoginProvider = LoginProvider;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _LoginProvider = require(\"./LoginProvider\");\nObject.keys(_LoginProvider).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _LoginProvider[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _LoginProvider[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _LoginProvider = require(\"./LoginProvider\");\nObject.keys(_LoginProvider).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _LoginProvider[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _LoginProvider[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SSO_IDENTITY_LOGIN_PATH = exports.SSO_IDENTITY_AD_LOGIN_PATH = void 0;\nconst SSO_IDENTITY_LOGIN_PATH = exports.SSO_IDENTITY_LOGIN_PATH = '/ssoidentity/Login';\nconst SSO_IDENTITY_AD_LOGIN_PATH = exports.SSO_IDENTITY_AD_LOGIN_PATH = `${SSO_IDENTITY_LOGIN_PATH}?ssoLoginType=ActiveDirectory`;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _loginContext = require(\"./loginContext\");\nObject.keys(_loginContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _loginContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _loginContext[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useLogin = exports.loginContext = exports.Provider = void 0;\nvar _react = require(\"react\");\nconst loginContext = exports.loginContext = /*#__PURE__*/(0, _react.createContext)(undefined);\nconst {\n Provider\n} = loginContext;\nexports.Provider = Provider;\nconst useLogin = () => {\n const context = (0, _react.useContext)(loginContext);\n if (context === undefined) {\n throw new Error('Value for `loginContext` must be set.');\n }\n return context;\n};\nexports.useLogin = useLogin;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _components = require(\"./components\");\nObject.keys(_components).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _components[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _components[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});\nvar _contexts = require(\"./contexts\");\nObject.keys(_contexts).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _contexts[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _contexts[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.goToPage = void 0;\n/* istanbul ignore file */\nconst goToPage = page => window.location.href = page;\nexports.goToPage = goToPage;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _goToPage = require(\"./goToPage\");\nObject.keys(_goToPage).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _goToPage[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _goToPage[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.OpenLogin = exports.Name = void 0;\nconst Name = exports.Name = 'open-login';\nconst OpenLogin = exports.OpenLogin = Name;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _event = require(\"./event\");\nObject.keys(_event).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _event[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _event[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ToggleFavorite = exports.Name = exports.MenuTypes = void 0;\nlet MenuTypes = exports.MenuTypes = /*#__PURE__*/function (MenuTypes) {\n MenuTypes[\"AboutMenu\"] = \"about-mega-menu\";\n MenuTypes[\"AccountSideMenu\"] = \"account-side-menu\";\n MenuTypes[\"BurgerMenu\"] = \"burger-menu\";\n MenuTypes[\"JoinMenu\"] = \"join-mega-menu\";\n MenuTypes[\"Minibag\"] = \"mini-bag\";\n MenuTypes[\"Notifications\"] = \"notifications\";\n MenuTypes[\"SearchInput\"] = \"search-input\";\n MenuTypes[\"SearchResults\"] = \"search-results\";\n MenuTypes[\"VipOrder\"] = \"vip-order\";\n return MenuTypes;\n}({});\nconst Name = exports.Name = 'toggle-menu-flyout';\nconst ToggleFavorite = exports.ToggleFavorite = Name;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TopArea = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _i18n = require(\"@ori/i18n\");\nvar _logger = require(\"@ori/logger\");\nvar _testidGenerator = require(\"@ori/testid-generator\");\nvar _components = require(\"./components\");\nvar _TopArea = require(\"./components/TopArea\");\nvar _constants = require(\"./constants\");\nvar _constantsGenerated = require(\"./constants-generated\");\nvar _Context = require(\"./containers/Context\");\nvar _context = require(\"./context\");\nvar _hooks = require(\"./hooks\");\nvar _logger2 = require(\"./logger\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n// istanbul ignore file -- all submodules are tested\n\nconst Content = ({\n mobilePersonalMenuOutlet,\n removeQueryParameter,\n setQueryParameter\n}) => {\n const {\n visible: isTopBannerVisible\n } = (0, _context.useTopAreaBanner)();\n (0, _hooks.useLoadAbTastyScript)();\n (0, _hooks.useManagedHeight)();\n (0, _hooks.useToggleMenuHandler)();\n (0, _components.useAddToBasketAnalytics)();\n (0, _hooks.useCookieToUrl)(setQueryParameter && removeQueryParameter ? {\n setQueryParameter,\n removeQueryParameter\n } : undefined);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.TopAreaBlock, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TopArea.TopArea, {\n isTopBannerVisible: isTopBannerVisible,\n mobilePersonalMenuOutlet: mobilePersonalMenuOutlet\n })\n });\n};\nconst TopArea = ({\n configuration,\n mobilePersonalMenuOutlet,\n removeQueryParameter,\n setQueryParameter\n}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_i18n.TranslationsNamespaceProvider, {\n namespace: _constants.translationsNamespace,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.AppConfigProvider, {\n value: configuration,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_testidGenerator.TestIdProvider, {\n team: _testidGenerator.Team.Presentation,\n project: _constantsGenerated.APP_NAME,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_logger.LoggerProvider, {\n logger: _logger2.mainLogger,\n children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Context.Context, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.AppPromoBanner, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(Content, {\n mobilePersonalMenuOutlet: mobilePersonalMenuOutlet,\n removeQueryParameter: removeQueryParameter,\n setQueryParameter: setQueryParameter\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.NoSsr, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.ShadePicker, {})\n })]\n })\n })\n })\n })\n});\nexports.TopArea = TopArea;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getSearchPreviewData = void 0;\nvar _fetching = require(\"@ori/fetching\");\nvar _queriesNet = require(\"../queries-net\");\n/* istanbul ignore file -- api file */\n\n/**\n * Fetch function that fetches search preview data\n */\nconst getSearchPreviewData = async ({\n graphQlNetUrl,\n query,\n limit,\n headers\n}) => {\n const data = await (0, _fetching.fetchGraphql)({\n query: _queriesNet.searchPreviewQuery,\n url: graphQlNetUrl,\n variables: {\n query,\n limit\n },\n headers,\n timeout: 10000\n });\n return data;\n};\nexports.getSearchPreviewData = getSearchPreviewData;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _getSearchPreviewData = require(\"./getSearchPreviewData\");\nObject.keys(_getSearchPreviewData).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _getSearchPreviewData[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _getSearchPreviewData[key];\n }\n });\n});\nvar _useGetCatalogues = require(\"./useGetCatalogues\");\nObject.keys(_useGetCatalogues).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useGetCatalogues[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useGetCatalogues[key];\n }\n });\n});\nvar _useGetNavigationType = require(\"./useGetNavigationType\");\nObject.keys(_useGetNavigationType).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useGetNavigationType[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useGetNavigationType[key];\n }\n });\n});\nvar _usePersonalBeautyStoreData = require(\"./usePersonalBeautyStoreData\");\nObject.keys(_usePersonalBeautyStoreData).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _usePersonalBeautyStoreData[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _usePersonalBeautyStoreData[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useGetCatalogues = void 0;\nvar _environment = require(\"@ori/environment\");\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _react = require(\"react\");\n// istanbul ignore file -- api\n\nconst useGetCatalogues = () => {\n const {\n tenant\n } = (0, _environment.useEnvironment)();\n const {\n data,\n error\n } = (0, _staticApiClientReact.useGetTenantCatalogues)(tenant, undefined, {\n swr: {\n revalidateIfStale: false,\n revalidateOnFocus: false,\n revalidateOnReconnect: false\n }\n });\n return (0, _react.useMemo)(() => ({\n catalogues: data?.collection ?? [],\n loading: data === undefined && error === undefined\n }), [data, error]);\n};\nexports.useGetCatalogues = useGetCatalogues;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useGetNavigationType = void 0;\nvar _environment = require(\"@ori/environment\");\nvar _i18n = require(\"@ori/i18n\");\nvar _logger = require(\"@ori/logger\");\nvar _presentationHttp = require(\"@ori/presentation-http\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _react = require(\"react\");\n// istanbul ignore file -- api\n\nconst useGetNavigationType = ({\n type,\n enabled = true\n}) => {\n const logger = (0, _logger.useLogger)('useBurgerMenuData');\n const {\n tenant\n } = (0, _environment.useEnvironment)();\n const {\n language\n } = (0, _i18n.useLanguage)();\n const {\n loading: loadingUserSegmentationData,\n customerTypeId,\n visitorSegment\n } = (0, _presentationHttp.useUserSegmentationData)();\n const requestParams = (0, _react.useMemo)(() => ({\n customerTypeId: customerTypeId ?? undefined,\n excludeChildren: false,\n lang: language,\n visitorSegment: visitorSegment ?? undefined\n }), [customerTypeId, language, visitorSegment]);\n const {\n data,\n error\n } = (0, _staticApiClientReact.useGetTenantApplicationsNavigationNavigation)(tenant, type, requestParams, {\n swr: {\n ...(0, _presentationUtils.getRetryErrorSwrOptions)(),\n enabled: !loadingUserSegmentationData && enabled,\n onError: localError => logger.error(new Error('Cannot fetch navigation items', {\n cause: localError\n }))\n }\n });\n const loading = loadingUserSegmentationData || data === undefined && error === undefined;\n return {\n data: data?.navigationCollection ?? [],\n error,\n loading\n };\n};\nexports.useGetNavigationType = useGetNavigationType;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.usePersonalBeautyStoreData = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _configurationManager = require(\"@ori/configuration-manager\");\nvar _fetching = require(\"@ori/fetching\");\nvar _logger = require(\"@ori/logger\");\nvar _presentationHttp = require(\"@ori/presentation-http\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _configurationContext = require(\"../context/configurationContext\");\nvar _useCookieStoreInfo = require(\"../hooks/useCookieStoreInfo\");\nvar _models = require(\"../models\");\nvar _queriesNet = require(\"../queries-net\");\n// istanbul ignore file -- api\n\nconst usePersonalBeautyStoreData = enabled => {\n const logger = (0, _logger.useLogger)('usePersonalBeautyStoreData');\n const {\n enableTopAreaBanner\n } = (0, _configurationContext.useAppConfig)();\n const {\n graphQlNetUrl\n } = (0, _configurationManager.useServiceUrls)(['graphQlNet']);\n const {\n isAnonymousUser,\n isUserVerified\n } = (0, _auth.useToken)();\n const {\n headers\n } = (0, _presentationHttp.useHeaders)();\n const {\n type,\n owner\n } = (0, _useCookieStoreInfo.useCookieStoreInfo)();\n const skip = !enabled || !isUserVerified || !isAnonymousUser || type !== _models.ReferralType.PBS || !enableTopAreaBanner || !owner;\n return (0, _fetching.useGraphqlQuery)({\n url: graphQlNetUrl,\n query: _queriesNet.beautyStoreQuery,\n headers,\n variables: {\n name: owner\n },\n skip,\n onError(error) {\n logger.error(error);\n },\n swrConfig: (0, _presentationUtils.getRetryErrorSwrOptions)()\n });\n};\nexports.usePersonalBeautyStoreData = usePersonalBeautyStoreData;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.AppPromoBanner = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _context = require(\"../../context\");\nvar _useTranslations = require(\"../../hooks/useTranslations\");\nvar _components = require(\"./components\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst AppPromoBanner = () => {\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const {\n appDescription,\n appIcon,\n appName,\n bannerLink,\n className,\n visible,\n onClose\n } = (0, _context.useAppPromo)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const onCloseButtonClick = (0, _react.useCallback)(event => {\n event.preventDefault();\n onClose?.();\n }, [onClose]);\n if (!visible) {\n return null;\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Inner, {\n className: className,\n \"data-testid\": getTestId(_constants.APP_PROMO_BANNER),\n href: bannerLink ?? '#',\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.CloseButton, {\n \"data-testid\": getTestId(_constants.APP_PROMO_BANNER_CLOSE),\n onClick: onCloseButtonClick,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Clear, {})\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.AppInfo, {\n appDescription: appDescription,\n appIcon: appIcon,\n appName: appName\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.OpenButton, {\n \"data-testid\": getTestId(_constants.APP_PROMO_BANNER_OPEN),\n variant: \"button\",\n children: translations.open\n })]\n })\n });\n};\nexports.AppPromoBanner = AppPromoBanner;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.AppInfo = void 0;\nvar _presentationComponents = require(\"@ori/presentation-components\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _constants = require(\"../constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst AppInfo = ({\n appDescription,\n appIcon,\n appName\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.AppInfoRoot, {\n children: [appIcon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.AppIcon, {\n \"data-testid\": getTestId(_constants.APP_PROMO_BANNER_ICON),\n src: appIcon,\n alt: appName ?? appIcon\n }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_presentationComponents.ImagePlaceholder, {\n height: 60,\n width: 60\n }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.AppNameAndDescription, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.AppName, {\n color: \"textPrimary\",\n fontWeight: \"bold\",\n children: appName\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.AppDescription, {\n variant: \"caption\",\n children: appDescription\n })]\n })]\n });\n};\nexports.AppInfo = AppInfo;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _AppInfo = require(\"./AppInfo\");\nObject.keys(_AppInfo).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _AppInfo[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _AppInfo[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.AppNameAndDescription = exports.AppName = exports.AppInfoRoot = exports.AppIcon = exports.AppDescription = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst AppInfoRoot = exports.AppInfoRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n gap: theme.spacing(2)\n}));\nconst AppIcon = exports.AppIcon = (0, _mui.styled)('img')({\n height: 60,\n width: 60\n});\nconst AppNameAndDescription = exports.AppNameAndDescription = (0, _mui.styled)('div')({\n alignItems: 'flex-start',\n alignSelf: 'center',\n display: 'flex',\n flexDirection: 'column',\n gap: 2\n});\nconst AppName = exports.AppName = (0, _mui.styled)(_mui.Typography)({\n display: '-webkit-box',\n fontSize: '1.3rem',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: 1\n});\nconst AppDescription = exports.AppDescription = (0, _mui.styled)(_mui.Typography)({\n display: '-webkit-box',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: 2\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.APP_PROMO_BANNER_OPEN = exports.APP_PROMO_BANNER_ICON = exports.APP_PROMO_BANNER_HEIGHT = exports.APP_PROMO_BANNER_CLOSE = exports.APP_PROMO_BANNER = void 0;\nconst APP_PROMO_BANNER = exports.APP_PROMO_BANNER = 'app-promo-banner';\nconst APP_PROMO_BANNER_CLOSE = exports.APP_PROMO_BANNER_CLOSE = 'app-promo-banner-close';\nconst APP_PROMO_BANNER_OPEN = exports.APP_PROMO_BANNER_OPEN = 'app-promo-banner-open';\nconst APP_PROMO_BANNER_ICON = exports.APP_PROMO_BANNER_ICON = 'app-promo-banner-icon';\nconst APP_PROMO_BANNER_HEIGHT = exports.APP_PROMO_BANNER_HEIGHT = 82;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _AppPromoBanner = require(\"./AppPromoBanner\");\nObject.keys(_AppPromoBanner).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _AppPromoBanner[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _AppPromoBanner[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = exports.OpenButton = exports.Inner = exports.CloseButton = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _constants = require(\"./constants\");\nconst Root = exports.Root = (0, _mui.styled)('div')({\n bottom: 0,\n left: 0,\n position: 'fixed',\n width: '100%',\n // Web messenger has z-index 100, so we need to set higher z-index for app promo banner.\n zIndex: 101\n});\nconst Inner = exports.Inner = (0, _mui.styled)('a', {\n shouldForwardProp: (0, _presentationUtils.shouldForwardProp)()\n})(({\n theme\n}) => ({\n alignItems: 'center',\n backgroundColor: theme.palette.common.white,\n borderRadius: theme.spacing(2),\n boxShadow: _mui.SHADOW_LEVEL3,\n color: theme.palette.text.primary,\n display: 'flex',\n gap: theme.spacing(2),\n height: _constants.APP_PROMO_BANNER_HEIGHT,\n margin: theme.spacing(2),\n paddingRight: theme.spacing(1),\n textDecoration: 'none',\n '&:hover, &:active': {\n boxShadow: _mui.SHADOW_LEVEL1,\n color: theme.palette.text.primary,\n transition: theme.transitions.create(['box-shadows'], {\n duration: theme.transitions.duration.short\n })\n }\n}));\nconst CloseButton = exports.CloseButton = (0, _mui.styled)('div')(({\n theme\n}) => ({\n alignItems: 'center',\n display: 'flex',\n height: '100%',\n justifyContent: 'center',\n padding: theme.spacing(2, 0),\n width: theme.spacing(7)\n}));\nconst OpenButton = exports.OpenButton = (0, _mui.styled)(_mui.Typography)(({\n theme\n}) => ({\n marginLeft: 'auto',\n padding: theme.spacing(3, 6)\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BeautyAndTrends = void 0;\nvar _presentationComponents = require(\"@ori/presentation-components\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _hooks = require(\"../../../hooks\");\nvar _useTranslations = require(\"../../../hooks/useTranslations\");\nvar _utils = require(\"../../../utils\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst BeautyAndTrends = ({\n content\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const isMobile = (0, _hooks.useIsMobile)();\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const analyticsData = (0, _react.useCallback)(url => () => {\n (0, _utils.logUserClick)(url);\n }, []);\n if (isMobile) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constants.BEAUTY_AND_TRENDS_MOBILE),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.MobileList, {\n children: content?.map(tile => tile.url && tile.title ? /*#__PURE__*/(0, _jsxRuntime.jsx)(\"li\", {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BeautyLink, {\n \"data-testid\": getTestId(_constants.BEAUTY_AND_TRENDS_MOBILE_LINK),\n href: tile.url,\n onClick: analyticsData(tile.url),\n children: tile.title\n })\n }, tile.id) : null)\n })\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constants.BEAUTY_AND_TRENDS),\n children: content?.map(item => /*#__PURE__*/(0, _jsxRuntime.jsx)(\"div\", {\n onClick: analyticsData(item.url),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_presentationComponents.CategoryBox, {\n size: _presentationComponents.CategoryBoxSize.MEDIUM,\n imageUrl: item.imageUrl,\n title: item.title,\n relativeUrl: item.url ?? '',\n buttonText: translations.view\n })\n }, item.id))\n });\n};\nexports.BeautyAndTrends = BeautyAndTrends;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BEAUTY_AND_TRENDS_MOBILE_LINK = exports.BEAUTY_AND_TRENDS_MOBILE = exports.BEAUTY_AND_TRENDS = void 0;\nconst BEAUTY_AND_TRENDS = exports.BEAUTY_AND_TRENDS = 'beauty-and-trends';\nconst BEAUTY_AND_TRENDS_MOBILE = exports.BEAUTY_AND_TRENDS_MOBILE = 'beauty-and-trends-mobile';\nconst BEAUTY_AND_TRENDS_MOBILE_LINK = exports.BEAUTY_AND_TRENDS_MOBILE_LINK = 'beauty-and-trends-mobile-link';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _BeautyAndTrends = require(\"./BeautyAndTrends\");\nObject.keys(_BeautyAndTrends).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _BeautyAndTrends[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _BeautyAndTrends[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = exports.MobileList = exports.BeautyLink = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst Root = exports.Root = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n justifyContent: 'start',\n flexWrap: 'wrap',\n margin: theme.spacing(0),\n a: {\n width: '160px',\n flex: '0 0 160px'\n },\n [theme.breakpoints.up('md')]: {\n maxWidth: 1110,\n gap: theme.spacing(6),\n margin: theme.spacing(6, 12)\n }\n}));\nconst BeautyLink = exports.BeautyLink = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n fontSize: '1.7rem',\n textDecoration: 'none',\n flex: 1,\n [theme.breakpoints.up('md')]: {\n color: theme.palette.text.primary,\n display: 'block',\n lineHeight: '2.1rem',\n textDecoration: 'none'\n },\n '&:hover, &:focus, &:active': {\n color: theme.palette.secondary.main,\n WebkitTapHighlightColor: 'transparent'\n }\n}));\nconst MobileList = exports.MobileList = (0, _mui.styled)('ul')(({\n theme\n}) => ({\n backgroundColor: theme.palette.common.white,\n listStyleType: 'none',\n li: {\n padding: theme.spacing(2, 3, 2, 10)\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BestOffers = void 0;\nvar _react = require(\"react\");\nvar _hooks = require(\"../../../hooks\");\nvar _DesktopBestOffers = require(\"./DesktopBestOffers\");\nvar _MobileBestOffers = require(\"./MobileBestOffers\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst BestOffers = ({\n content\n}) => {\n const isMobile = (0, _hooks.useIsMobile)();\n const areBestOffersValid = (0, _react.useMemo)(() => content?.some(item => item.children.length > 0), [content]);\n if (content?.length === 0 || !areBestOffersValid) {\n return null;\n }\n if (isMobile) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_MobileBestOffers.MobileBestOffers, {\n content: content\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_DesktopBestOffers.DesktopBestOffers, {\n content: content\n });\n};\nexports.BestOffers = BestOffers;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.DesktopBestOffers = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _utils = require(\"../../../utils\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst DesktopBestOffers = ({\n content\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const analyticsData = (0, _react.useCallback)(url => () => {\n (0, _utils.logUserClick)(url);\n }, []);\n const itemsList = (0, _react.useMemo)(() => content?.map(item => /*#__PURE__*/(0, _jsxRuntime.jsxs)(\"div\", {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.MainCategory, {\n \"data-testid\": getTestId(_constants.BEST_OFFERS_SUB_HEADLINE),\n variant: \"subtitle1\",\n href: item.url,\n onClick: analyticsData(item.url),\n children: item.title\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(\"ul\", {\n children: item.children.map(child => /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SubItem, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SubLink, {\n \"data-testid\": getTestId(_constants.BEST_OFFERS_SUB_LINK),\n href: child.url,\n onClick: analyticsData(child.url),\n children: child.title\n })\n }, child.id))\n })]\n }, item.id)), [analyticsData, content, getTestId]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constants.BEST_OFFERS_SUBMENU),\n children: itemsList\n });\n};\nexports.DesktopBestOffers = DesktopBestOffers;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.MobileBestOffers = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _SubCategory = require(\"../CategoryContent/SubCategory\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst MobileBestOffers = ({\n content\n}) => {\n const [activeSubCategory, setActiveSubCategory] = (0, _react.useState)('');\n const handleSubCategoryClick = (0, _react.useCallback)(subCategory => {\n if (subCategory === activeSubCategory) {\n setActiveSubCategory('');\n } else {\n setActiveSubCategory(subCategory);\n }\n }, [activeSubCategory]);\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const itemsList = (0, _react.useMemo)(() => content?.map(item => /*#__PURE__*/(0, _jsxRuntime.jsx)(_SubCategory.SubCategory, {\n boldText: true,\n isBestOffers: true,\n subCategory: item,\n displayArrowIcon: item.children.length > 0,\n activeSubCategory: activeSubCategory,\n handleSubCategoryClick: handleSubCategoryClick\n }, item.id)), [content, activeSubCategory, handleSubCategoryClick]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.MobileRoot, {\n \"data-testid\": getTestId(_constants.BEST_OFFERS_SUBMENU_MOBILE),\n children: itemsList\n });\n};\nexports.MobileBestOffers = MobileBestOffers;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BEST_OFFERS_SUB_LINK = exports.BEST_OFFERS_SUB_HEADLINE = exports.BEST_OFFERS_SUBMENU_MOBILE = exports.BEST_OFFERS_SUBMENU = void 0;\nconst BEST_OFFERS_SUBMENU = exports.BEST_OFFERS_SUBMENU = 'best-offers-sub-menu';\nconst BEST_OFFERS_SUB_HEADLINE = exports.BEST_OFFERS_SUB_HEADLINE = 'best-offers-sub-menu-headline';\nconst BEST_OFFERS_SUB_LINK = exports.BEST_OFFERS_SUB_LINK = 'best-offers-sub-menu-link';\nconst BEST_OFFERS_SUBMENU_MOBILE = exports.BEST_OFFERS_SUBMENU_MOBILE = 'best-offers-sub-menu-mobile';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _BestOffers = require(\"./BestOffers\");\nObject.keys(_BestOffers).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _BestOffers[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _BestOffers[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});\nvar _MobileBestOffers = require(\"./MobileBestOffers\");\nObject.keys(_MobileBestOffers).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _MobileBestOffers[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _MobileBestOffers[key];\n }\n });\n});\nvar _DesktopBestOffers = require(\"./DesktopBestOffers\");\nObject.keys(_DesktopBestOffers).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _DesktopBestOffers[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _DesktopBestOffers[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SubLink = exports.SubItem = exports.Root = exports.MobileRoot = exports.MainCategory = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst Root = exports.Root = (0, _mui.styled)('div')(({\n theme\n}) => ({\n gap: theme.spacing(0),\n display: 'flex',\n flexDirection: 'column',\n margin: theme.spacing(6, 12)\n}));\nconst MobileRoot = exports.MobileRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(0),\n '&:last-child': {\n marginBottom: 'unset'\n }\n}));\nconst MainCategory = exports.MainCategory = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n fontWeight: theme.typography.fontWeightBold,\n width: '100%',\n fontSize: '1.6rem',\n textDecoration: 'none'\n}));\nconst SubItem = exports.SubItem = (0, _mui.styled)('li')(({\n theme\n}) => ({\n fontWeight: theme.typography.fontWeightRegular,\n listStyleType: 'none',\n fontSize: '1.6rem',\n margin: theme.spacing(4),\n [theme.breakpoints.up('sm')]: {\n margin: theme.spacing(2, 0),\n '&:last-child': {\n marginBottom: theme.spacing(6)\n }\n }\n}));\nconst SubLink = exports.SubLink = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n textDecoration: 'none',\n color: theme.palette.text.primary,\n fontSize: '1.7rem',\n [theme.breakpoints.up('sm')]: {\n fontSize: '1.6rem'\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BurgerMenu = void 0;\nvar ToggleMenuFlyout = _interopRequireWildcard(require(\"@ori-events/toggle-menu-flyout\"));\nvar _icons = require(\"@ori-ui/icons\");\nvar _mui = require(\"@ori-ui/mui\");\nvar _auth = require(\"@ori/auth\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _navigation = require(\"../../context/navigation\");\nvar _hooks = require(\"../../hooks\");\nvar _useTranslations = require(\"../../hooks/useTranslations\");\nvar _models = require(\"../../models\");\nvar _BurgerMenuContent = require(\"./BurgerMenuContent\");\nvar _BurgerMenuTab = require(\"./BurgerMenuTab\");\nvar _LazyLinks = require(\"./Links/LazyLinks\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst BurgerMenu = ({\n mobilePersonalMenuOutlet\n}) => {\n const {\n BurgerMenu: BurgerMenuType,\n AccountSideMenu: AccountSideMenuType\n } = ToggleMenuFlyout.MenuTypes;\n const {\n activeMenu,\n toggleActiveMenu\n } = (0, _navigation.useActiveMenu)();\n const isMobile = (0, _hooks.useIsMobile)();\n const ownerState = {\n isMobile\n };\n const handleTabClick = (0, _react.useCallback)(tabName => {\n const menuType = tabName === _models.BurgerMenuTabNames.ProductsTab ? BurgerMenuType : AccountSideMenuType;\n toggleActiveMenu(menuType);\n }, [AccountSideMenuType, BurgerMenuType, toggleActiveMenu]);\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const customerInitials = (0, _hooks.useCustomerInitials)();\n const {\n isAnonymousUser\n } = (0, _auth.useToken)();\n const isLoggedIn = !isAnonymousUser;\n const isMenuActive = activeMenu === BurgerMenuType || isMobile && activeMenu === AccountSideMenuType;\n const activeTab = activeMenu === BurgerMenuType ? _models.BurgerMenuTabNames.ProductsTab : _models.BurgerMenuTabNames.AccountTab;\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const onClickOverlay = (0, _react.useCallback)(() => {\n toggleActiveMenu(BurgerMenuType);\n }, [BurgerMenuType, toggleActiveMenu]);\n const slots = (0, _react.useMemo)(() => ({\n backdrop: _mui.Backdrop\n }), []);\n if (isMobile) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.ModalRoot, {\n slots: slots,\n open: isMenuActive,\n onClose: onClickOverlay,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Slide, {\n in: isMenuActive,\n direction: \"right\",\n children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.BurgerMenuRoot, {\n ownerState: ownerState,\n \"data-testid\": getTestId(_constants.BURGER_MENU_ROOT),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.BurgerMenuContainer, {\n \"data-testid\": getTestId(_constants.BURGER_MENU_CONTAINER),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_BurgerMenuTab.BurgerMenuTab, {\n activeTab: activeTab,\n tabName: _models.BurgerMenuTabNames.ProductsTab,\n tabPrefix: _icons.BurgerMenu,\n onTabClick: handleTabClick,\n children: translations.menu\n }), isLoggedIn ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_BurgerMenuTab.BurgerMenuTab, {\n activeTab: activeTab,\n tabName: _models.BurgerMenuTabNames.AccountTab,\n tabPrefix: customerInitials ?? '',\n isLoggedIn: isLoggedIn,\n onTabClick: handleTabClick,\n children: translations.myAccount\n }) : null]\n }), activeTab === _models.BurgerMenuTabNames.ProductsTab && /*#__PURE__*/(0, _jsxRuntime.jsx)(_LazyLinks.LazyLinks, {}), activeTab === _models.BurgerMenuTabNames.AccountTab && !isAnonymousUser ? mobilePersonalMenuOutlet : null]\n })\n })\n });\n }\n if (!isMenuActive) {\n return null;\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuRoot, {\n as: \"div\",\n ownerState: {\n ...ownerState,\n isDesktop: true\n },\n \"data-testid\": getTestId(_constants.BURGER_MENU_ROOT),\n children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.BurgerMenuInner, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_LazyLinks.LazyLinks, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_BurgerMenuContent.LazyBurgerMenuContent, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Backdrop, {\n open: true,\n \"data-testid\": getTestId(_constants.BURGER_MENU_BACKDROP),\n sx: {\n position: 'absolute',\n zIndex: '-1',\n width: '100vw',\n height: '100vh'\n },\n onClick: onClickOverlay\n })]\n })\n });\n};\nexports.BurgerMenu = BurgerMenu;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BurgerMenuContent = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _navigation = require(\"../../../context/navigation\");\nvar _BeautyAndTrends = require(\"../BeautyAndTrends\");\nvar _BestOffers = require(\"../BestOffers\");\nvar _Catalogues = require(\"../Catalogues/Catalogues\");\nvar _CategoryContent = require(\"../CategoryContent/CategoryContent\");\nvar _FindYourProduct = require(\"../FindYourProduct/FindYourProduct\");\nvar _constants = require(\"../constants\");\nvar _styles = require(\"../styles\");\nvar _utils = require(\"../utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst BurgerMenuContent = ({\n contentRootRef,\n link\n}) => {\n const {\n activeLink\n } = (0, _navigation.useActiveLink)();\n const {\n linkType,\n id\n } = activeLink ?? {};\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const navigation = (0, _utils.useGetNavigationType)({\n activeLinkType: linkType ?? 'None',\n link\n });\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuContentRoot, {\n ref: contentRootRef,\n \"data-testid\": getTestId(_constants.BURGER_MENU_CONTENT_ROOT),\n children: navigation.isCatalogue || linkType === undefined ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Catalogues.Catalogues, {}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {\n children: [navigation.isCategory && id ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_CategoryContent.CategoryContent, {\n \"data-testid\": getTestId(_constants.CATEGORY_WRAPPER)\n }) : null, navigation.isInspiration ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_FindYourProduct.FindYourProduct, {}) : null, navigation.isBeautyAndTrends ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_BeautyAndTrends.BeautyAndTrends, {\n content: activeLink?.children\n }) : null, navigation.isBestOffers ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_BestOffers.BestOffers, {\n content: activeLink?.children\n }) : null]\n })\n });\n};\nexports.BurgerMenuContent = BurgerMenuContent;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LazyBurgerMenuContent = void 0;\nvar _react = require(\"react\");\nvar _CataloguesSkeleton = require(\"../Catalogues/CataloguesSkeleton\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n} // istanbul ignore file -- lazy component render\nconst BurgerMenuContent = /*#__PURE__*/(0, _react.lazy)(async () => ({\n default: (await Promise.resolve().then(() => _interopRequireWildcard(require(/* webpackChunkName: \"TopArea_BurgerMenuContent\" */'./BurgerMenuContent')))).BurgerMenuContent\n}));\nconst LazyBurgerMenuContent = () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Suspense, {\n fallback: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CataloguesSkeleton.CataloguesSkeleton, {}),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(BurgerMenuContent, {})\n});\nexports.LazyBurgerMenuContent = LazyBurgerMenuContent;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _BurgerMenuContent = require(\"./BurgerMenuContent\");\nObject.keys(_BurgerMenuContent).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _BurgerMenuContent[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _BurgerMenuContent[key];\n }\n });\n});\nvar _LazyBurgerMenuContent = require(\"./LazyBurgerMenuContent\");\nObject.keys(_LazyBurgerMenuContent).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _LazyBurgerMenuContent[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _LazyBurgerMenuContent[key];\n }\n });\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BurgerMenuIcon = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _hooks = require(\"../../../hooks\");\nvar _useTranslations = require(\"../../../hooks/useTranslations\");\nvar _constants = require(\"../constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst BurgerMenuIcon = () => {\n const [menuIsOpen, toggleMenu] = (0, _hooks.useToggleMenu)();\n const {\n formatMessage\n } = (0, _useTranslations.useTranslations)();\n const ownerState = {\n isOpen: menuIsOpen\n };\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.BurgerMenuIconRoot, {\n disableRipple: true,\n \"aria-label\": formatMessage('menu'),\n ownerState: ownerState,\n \"data-testid\": getTestId(_constants.BURGER_MENU),\n onClick: toggleMenu,\n children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.BurgerMenuIconWrapper, {\n ownerState: {\n ...ownerState,\n isMobile: true\n },\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuIconLine, {\n ownerState: ownerState,\n className: \"burgerMenuIconLine\"\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuIconLine, {\n ownerState: ownerState,\n className: \"burgerMenuIconLine\"\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuIconLine, {\n ownerState: ownerState,\n className: \"burgerMenuIconLine\"\n })]\n }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.BurgerMenuIconWrapper, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuIconLine, {\n ownerState: ownerState,\n className: \"burgerMenuIconLine\"\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuIconLine, {\n ownerState: ownerState,\n className: \"burgerMenuIconLine\"\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuIconLine, {\n ownerState: ownerState,\n className: \"burgerMenuIconLine\"\n })]\n })]\n });\n};\nexports.BurgerMenuIcon = BurgerMenuIcon;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _BurgerMenuIcon = require(\"./BurgerMenuIcon\");\nObject.keys(_BurgerMenuIcon).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _BurgerMenuIcon[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _BurgerMenuIcon[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BurgerMenuIconWrapper = exports.BurgerMenuIconRoot = exports.BurgerMenuIconLine = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst BurgerMenuIconRoot = exports.BurgerMenuIconRoot = (0, _mui.styled)(_mui.ButtonBase)(({\n ownerState,\n theme\n}) => ({\n color: theme.palette.text.primary,\n fontSize: '2.8rem',\n height: 24,\n width: 24,\n [theme.breakpoints.up('md')]: {\n height: 32,\n width: 32,\n '&:hover': {\n '.burgerMenuIconLine': {\n boxShadow: _mui.SHADOW_LEVEL1\n }\n },\n ...(ownerState?.isOpen && {\n '&:hover': {\n '.burgerMenuIconLine': {\n boxShadow: _mui.SHADOW_LEVEL1\n }\n }\n })\n }\n}));\nconst BurgerMenuIconWrapper = exports.BurgerMenuIconWrapper = (0, _mui.styled)('div')(({\n ownerState,\n theme\n}) => ({\n display: 'none',\n ...(ownerState?.isMobile && {\n display: 'block'\n }),\n [theme.breakpoints.up('md')]: {\n display: 'block',\n ...(ownerState?.isMobile && {\n display: 'none'\n })\n }\n}));\nconst BurgerMenuIconLine = exports.BurgerMenuIconLine = (0, _mui.styled)('div')(({\n ownerState,\n theme\n}) => ({\n backgroundColor: theme.palette.text.primary,\n height: 1,\n marginBottom: 6,\n opacity: 1,\n position: 'relative',\n transform: 'translateX(0) rotate(0) translateY(0)',\n transition: 'opacity 0.3s linear, transform 0.3s linear',\n width: 15,\n ...(ownerState?.isMobile && {\n display: 'block'\n }),\n [theme.breakpoints.up('md')]: {\n marginBottom: 8,\n width: 20,\n ...(ownerState?.isOpen && {\n '&:nth-of-type(1)': {\n transform: 'rotate(45deg) translateY(9px) translateX(4px)'\n },\n '&:nth-of-type(2)': {\n opacity: 0,\n transform: 'translateX(22px)'\n },\n '&:nth-of-type(3)': {\n transform: 'rotate(-45deg) translateY(-9px) translateX(4px);'\n }\n })\n },\n '&:nth-of-type(3)': {\n marginBottom: 0\n }\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BurgerMenuTab = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _UserSection = require(\"../../UserSection\");\nvar _constants = require(\"../constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst BurgerMenuTab = ({\n children,\n activeTab,\n tabPrefix,\n tabName,\n onTabClick,\n isLoggedIn\n}) => {\n const clickHandler = (0, _react.useCallback)(() => onTabClick(tabName), [onTabClick, tabName]);\n const TabIcon = tabPrefix;\n const ownerState = {\n isActive: activeTab === tabName,\n isLoggedIn\n };\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.BurgerMenuTabRoot, {\n disableRipple: true,\n ownerState: ownerState,\n \"data-testid\": getTestId(_constants.BURGER_MENU_TAB_ROOT),\n onClick: clickHandler,\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuTabPrefixWrapper, {\n ownerState: ownerState,\n \"data-testid\": getTestId(_constants.BURGER_MENU_TAB_ICON_WRAPPER),\n children: typeof tabPrefix === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_UserSection.UserAvatar, {\n \"data-testid\": getTestId(_constants.TAB_ICON),\n children: tabPrefix\n }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(TabIcon, {\n fontSize: \"inherit\",\n \"data-testid\": getTestId(_constants.TAB_ICON)\n })\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuTabLabelWrapper, {\n \"data-testid\": getTestId(_constants.BURGER_MENU_TAB_LABEL_WRAPPER),\n children: children\n })]\n });\n};\nexports.BurgerMenuTab = BurgerMenuTab;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _BurgerMenuTab = require(\"./BurgerMenuTab\");\nObject.keys(_BurgerMenuTab).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _BurgerMenuTab[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _BurgerMenuTab[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BurgerMenuTabRoot = exports.BurgerMenuTabPrefixWrapper = exports.BurgerMenuTabLabelWrapper = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst BurgerMenuTabRoot = exports.BurgerMenuTabRoot = (0, _mui.styled)(_mui.ButtonBase)(({\n ownerState,\n theme\n}) => ({\n alignItems: 'center',\n backgroundColor: theme.palette.grey[100],\n borderRadius: theme.spacing(0, 0, 1, 1),\n color: theme.palette.text.primary,\n display: 'flex',\n fontSize: theme.typography.overline.fontSize,\n fontWeight: theme.typography.fontWeightBold,\n justifyContent: 'flex-start',\n textTransform: 'uppercase',\n width: '50%',\n ...(ownerState.isActive && {\n backgroundColor: theme.palette.common.white\n }),\n '&::before': {\n fontSize: '2.9rem',\n margin: theme.spacing(0, 3)\n }\n}));\nconst BurgerMenuTabPrefixWrapper = exports.BurgerMenuTabPrefixWrapper = (0, _mui.styled)('div')(({\n ownerState,\n theme\n}) => ({\n borderRadius: '50%',\n display: 'flex',\n fontSize: '2.9rem',\n margin: theme.spacing(3, 2),\n svg: {\n width: 24,\n height: 24\n },\n ...(ownerState.isLoggedIn && {\n borderRadius: '50%',\n color: theme.palette.common.white,\n display: 'flex',\n fontSize: '2.6rem',\n height: 26\n })\n}));\nconst BurgerMenuTabLabelWrapper = exports.BurgerMenuTabLabelWrapper = (0, _mui.styled)('div')(({\n theme\n}) => ({\n marginRight: theme.spacing(3),\n overflow: 'hidden',\n textAlign: 'left',\n textOverflow: 'ellipsis',\n width: '100%'\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BurgerMenuToggle = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _BurgerMenuIcon = require(\"../BurgerMenuIcon\");\nvar _constants = require(\"../constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst BurgerMenuToggle = () => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuToggleRoot, {\n \"data-testid\": getTestId(_constants.BURGER_MENU_TOGGLE_ROOT),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_BurgerMenuIcon.BurgerMenuIcon, {})\n });\n};\nexports.BurgerMenuToggle = BurgerMenuToggle;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _BurgerMenuToggle = require(\"./BurgerMenuToggle\");\nObject.keys(_BurgerMenuToggle).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _BurgerMenuToggle[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _BurgerMenuToggle[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BurgerMenuToggleRoot = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst BurgerMenuToggleRoot = exports.BurgerMenuToggleRoot = (0, _mui.styled)('div')({\n position: 'relative'\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Catalogues = void 0;\nvar UserAction = _interopRequireWildcard(require(\"@ori-events/user-action\"));\nvar _culture = require(\"@ori/culture\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _api = require(\"../../../api\");\nvar _constants = require(\"../../../constants\");\nvar _navigation = require(\"../../../context/navigation\");\nvar _hooks = require(\"../../../hooks\");\nvar _useTranslations = require(\"../../../hooks/useTranslations\");\nvar _formatValidity = require(\"../../../utils/formatValidity\");\nvar _common = require(\"../../common\");\nvar _CataloguesSkeleton = require(\"./CataloguesSkeleton\");\nvar _CurrentCatalogue = require(\"./CurrentCatalogue\");\nvar _NextCatalogue = require(\"./NextCatalogue\");\nvar _constant = require(\"./constant\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst Catalogues = () => {\n const {\n catalogues,\n loading\n } = (0, _api.useGetCatalogues)();\n const {\n shopSectionItems: items\n } = (0, _navigation.useBurgerMenu)();\n const isMobile = (0, _hooks.useIsMobile)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n culture,\n timeZone\n } = (0, _culture.useCulture)();\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n // istanbul ignore next -- just formatting\n const formatValidityDate = (0, _react.useCallback)(date => (0, _culture.formatDate)(date, _culture.DateFormat.Custom, culture, timeZone, {\n customPattern: 'dd/MM'\n }), [culture, timeZone]);\n const sendAnalyticsData = (0, _react.useCallback)(() => {\n UserAction.dispatch(_constants.CLICK_CATALOGUE_DETAIL);\n }, []);\n const catalogueDataFromItems = (0, _react.useMemo)(() => {\n const link = items.find(e => e.linkType === 'Catalogue');\n const catalogueCurrent = link?.children.find(e => e.linkType === 'DigitalCatalogueCurrent');\n const catalogueNext = link?.children.find(e => e.linkType === 'DigitalCatalogueNext');\n const isCatalogueNextValid = Boolean(!isMobile && catalogueNext?.id && catalogueNext.imageUrl && catalogueNext.title && catalogueNext.url);\n const linkToAllCatalogues = link?.children.find(e => e.linkType === 'Catalogues')?.url;\n return {\n catalogueCurrent,\n catalogueNext,\n isCatalogueNextValid,\n linkToAllCatalogues\n };\n }, [items, isMobile]);\n if (loading || items.length === 0) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CataloguesSkeleton.CataloguesSkeleton, {});\n }\n const {\n catalogueCurrent,\n catalogueNext,\n isCatalogueNextValid,\n linkToAllCatalogues\n } = catalogueDataFromItems;\n if (!catalogueCurrent?.id || !catalogueCurrent.imageUrl || !catalogueCurrent.title || !catalogueCurrent.url) {\n return null;\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Root, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.CatalogueWrapper, {\n \"data-testid\": getTestId(_constant.CATALOGUES_ROOT),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CurrentCatalogue.CurrentCatalogue, {\n catalogue: {\n ...catalogueCurrent,\n validity: (0, _formatValidity.formatValidity)(catalogueCurrent.id, catalogues, formatValidityDate)\n },\n isMobile: isMobile,\n linkToAllCatalogues: linkToAllCatalogues,\n onClick: sendAnalyticsData\n }), isCatalogueNextValid && catalogueNext ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_NextCatalogue.NextCatalogue, {\n catalogue: {\n ...catalogueNext,\n validity: (0, _formatValidity.formatValidity)(catalogueNext.id ?? '', catalogues, formatValidityDate)\n },\n onClick: sendAnalyticsData\n }) : null]\n }), !isMobile && linkToAllCatalogues ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.CallToActionWrapper, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.CallToAction, {\n \"data-testid\": getTestId(_common.CATALOGUES_SEE_ALL),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.CTAText, {\n \"data-testid\": getTestId(_common.CTA_TEXT),\n variant: \"subtitle1\",\n children: translations.callToActionCatalogueText\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.CatalogueDetailButton, {\n fullWidth: true,\n variant: \"outlined\",\n \"data-testid\": getTestId(_common.CATALOGUES_SEE_ALL_LINK),\n href: linkToAllCatalogues,\n children: translations.seeAllCatalogues\n })]\n })\n }) : null]\n });\n};\nexports.Catalogues = Catalogues;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CataloguesSkeleton = void 0;\nvar _hooks = require(\"../../../hooks\");\nvar _Skeleton = require(\"../../Skeleton\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst CataloguesSkeleton = () => {\n const isMobile = (0, _hooks.useIsMobile)();\n return isMobile ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Skeleton.SkeletonCatalogueMobile, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Skeleton.SkeletonCatalogueDesktop, {});\n};\nexports.CataloguesSkeleton = CataloguesSkeleton;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CurrentCatalogue = void 0;\nvar _presentationComponents = require(\"@ori/presentation-components\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _useTranslations = require(\"../../../hooks/useTranslations\");\nvar _common = require(\"../../common\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst CurrentCatalogue = props => {\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n onClick,\n isMobile,\n catalogue: {\n url,\n title,\n imageUrl,\n validity\n },\n linkToAllCatalogues\n } = props;\n if (isMobile) {\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.MobileWrapper, {\n \"data-testid\": getTestId(_common.MOBILE_CATALOGUE),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_presentationComponents.Banner, {\n type: \"catalogue\",\n dateRange: validity ?? '',\n title: title ?? '',\n imageUrl: imageUrl,\n url: url\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.CatalogueLink, {\n hoverEffect: true,\n \"data-testid\": getTestId(_common.LINK),\n href: linkToAllCatalogues,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.CTAText, {\n variant: \"subtitle1\",\n \"data-testid\": getTestId(_common.CTA_TEXT),\n children: translations.seeAll\n })\n })]\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Catalogue, {\n \"data-testid\": getTestId(_common.DESKTOP_CATALOGUE),\n onClick: onClick,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_presentationComponents.CategoryBox, {\n title: title,\n imageUrl: imageUrl,\n description: validity,\n relativeUrl: url ?? '',\n buttonText: translations.view\n }, title)\n });\n};\nexports.CurrentCatalogue = CurrentCatalogue;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.NextCatalogue = void 0;\nvar _presentationComponents = require(\"@ori/presentation-components\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _useTranslations = require(\"../../../hooks/useTranslations\");\nvar _common = require(\"../../common\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst NextCatalogue = props => {\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n onClick,\n catalogue: {\n url,\n title,\n imageUrl,\n validity\n }\n } = props;\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Catalogue, {\n \"data-testid\": getTestId(_common.NEXT_CATALOGUE),\n onClick: onClick,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_presentationComponents.CategoryBox, {\n title: title,\n imageUrl: imageUrl,\n description: validity,\n relativeUrl: url ?? '',\n buttonText: translations.view\n }, title)\n });\n};\nexports.NextCatalogue = NextCatalogue;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CATALOGUES_ROOT = void 0;\nconst CATALOGUES_ROOT = exports.CATALOGUES_ROOT = 'catalogues-root';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = exports.MobileWrapper = exports.CatalogueWrapper = exports.CatalogueLink = exports.CatalogueDetailButton = exports.Catalogue = exports.CallToActionWrapper = exports.CallToAction = exports.CTAText = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nconst Root = exports.Root = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(6, 12),\n [theme.breakpoints.down('md')]: {\n a: {\n width: '100%'\n }\n }\n}));\nconst CatalogueWrapper = exports.CatalogueWrapper = (0, _mui.styled)('div', {\n shouldForwardProp: (0, _presentationUtils.shouldForwardProp)()\n})(({\n theme\n}) => ({\n margin: theme.spacing(3, 3, 10, 3),\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'center',\n gap: theme.spacing(6),\n [theme.breakpoints.up('md')]: {\n margin: theme.spacing(6, 12, 0, 12)\n }\n}));\nconst Catalogue = exports.Catalogue = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'start',\n a: {\n minWidth: 160\n }\n}));\nconst CatalogueDetailButton = exports.CatalogueDetailButton = (0, _mui.styled)(_mui.Button)(({\n theme,\n hoverEffect = false\n}) => ({\n margin: theme.spacing(2, 'auto'),\n '&:hover': {\n background: hoverEffect ? theme.palette.grey : 'none'\n }\n}));\nconst CatalogueLink = exports.CatalogueLink = (0, _mui.styled)('a')(({\n theme,\n hoverEffect = false\n}) => ({\n textDecoration: 'none',\n '&:hover': {\n color: hoverEffect ? theme.palette.default.light : 'none'\n }\n}));\nconst CallToActionWrapper = exports.CallToActionWrapper = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'start',\n margin: theme.spacing(0, 12)\n}));\nconst CallToAction = exports.CallToAction = (0, _mui.styled)('div')(({\n theme\n}) => ({\n width: 330,\n marginBottom: theme.spacing(4)\n}));\nconst CTAText = exports.CTAText = (0, _mui.styled)(_mui.Typography)(({\n theme\n}) => ({\n fontSize: '1.2rem',\n textAlign: 'center',\n textDecoration: 'underline',\n textTransform: 'uppercase',\n textUnderlineOffset: theme.spacing(1),\n textDecorationThickness: 2,\n margin: theme.spacing(3, 0, 0),\n fontWeight: theme.typography.fontWeightBold,\n [theme.breakpoints.up('md')]: {\n color: theme.palette.text.primary,\n fontSize: theme.typography.subtitle1.fontSize,\n textAlign: 'left',\n textDecoration: 'none',\n textTransform: 'none',\n textUnderlineOffset: 'auto',\n textDecorationThickness: 'auto',\n margin: theme.spacing(0)\n }\n}));\nconst MobileWrapper = exports.MobileWrapper = (0, _mui.styled)('div')(() => ({\n height: 103,\n width: '100%'\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CategoryContent = void 0;\nvar _react = require(\"react\");\nvar _navigation = require(\"../../../context/navigation\");\nvar _hooks = require(\"../../../hooks\");\nvar _models = require(\"../../../models\");\nvar _utils = require(\"../../../utils\");\nvar _CategoryContentSkeleton = require(\"./CategoryContentSkeleton\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst GeneratedMobileBurgerMenuSubLinks = /*#__PURE__*/(0, _react.lazy)(async () => Promise.resolve().then(() => _interopRequireWildcard(require(/* webpackChunkName: \"TopArea_GeneratedMobileBurgerMenuSubLinks\" */'./MobileSubLinksGenerator'))));\nconst GeneratedDesktopBurgerMenuSubLinks = /*#__PURE__*/(0, _react.lazy)(async () => Promise.resolve().then(() => _interopRequireWildcard(require(/* webpackChunkName: \"TopArea_GeneratedDesktopBurgerMenuSubLinks\" */'./DesktopSubLinksGenerator'))));\nconst CategoryContent = () => {\n const isMobile = (0, _hooks.useIsMobile)();\n const {\n activeLink\n } = (0, _navigation.useActiveLink)();\n const {\n shopSectionItems: items,\n loadingShopSectionItems: loading\n } = (0, _navigation.useBurgerMenu)();\n if (loading || items.length === 0) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CategoryContentSkeleton.CategoryContentSkeleton, {\n animation: loading ? 'pulse' : undefined\n });\n }\n const activeCategory = Object.values(_models.Categories).find(cat => (0, _utils.stripSlashes)(activeLink?.url).endsWith(cat));\n const category = items.find(cat => (0, _utils.stripSlashes)(cat.url).endsWith(activeCategory));\n const subCategories = category?.children;\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Suspense, {\n fallback: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CategoryContentSkeleton.CategoryContentSkeleton, {}),\n children: isMobile ? /*#__PURE__*/(0, _jsxRuntime.jsx)(GeneratedMobileBurgerMenuSubLinks, {\n subCategories: subCategories,\n activeCategory: activeCategory\n }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(GeneratedDesktopBurgerMenuSubLinks, {\n subCategories: subCategories\n })\n });\n};\nexports.CategoryContent = CategoryContent;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CategoryContentSkeleton = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _lodash = _interopRequireDefault(require(\"lodash.times\"));\nvar _hooks = require(\"../../../hooks\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst CategoryContentSkeleton = ({\n animation\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const isMobile = (0, _hooks.useIsMobile)();\n if (isMobile) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.MobileSkeletonRoot, {\n \"data-testid\": getTestId(_constants.CATEGORY_CONTENT_MOBILE_SKELETON),\n children: (0, _lodash.default)(5).map(index => /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.MobileItemSkeleton, {\n animation: animation,\n height: 30,\n width: \"100%\"\n }, `mobile-item-${index}`))\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.DesktopSkeletonRoot, {\n \"data-testid\": getTestId(_constants.CATEGORY_CONTENT_DESKTOP_SKELETON),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.DesktopItemSkeleton, {\n height: 36,\n width: 100,\n animation: animation\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.DesktopItemSkeleton, {\n height: 36,\n width: 100,\n animation: animation\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.DesktopSkeletonInner, {\n children: (0, _lodash.default)(20).map(index => /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.DesktopItemSkeleton, {\n height: 26,\n width: 100,\n animation: animation\n }, `desktop-item-${index}`))\n })]\n });\n};\nexports.CategoryContentSkeleton = CategoryContentSkeleton;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _hooks = require(\"../../../hooks\");\nvar _utils = require(\"../../../utils\");\nvar _PopularBrands = require(\"../PopularBrands\");\nvar _SubCategory = require(\"./SubCategory\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _utils2 = require(\"./utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst DesktopSubLinksGenerator = ({\n subCategories\n}) => {\n const isMobile = (0, _hooks.useIsMobile)();\n const [activeSubCategory, setActiveSubCategory] = (0, _react.useState)('');\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const analyticsData = (0, _react.useCallback)(url => () => {\n (0, _utils.logUserClick)(url);\n }, []);\n\n // istanbul ignore next -- not reachable as it is used only on mobile\n const handleSubCategoryClick = (0, _react.useCallback)(subCategory => {\n if (isMobile && subCategory === activeSubCategory) {\n setActiveSubCategory('');\n } else {\n setActiveSubCategory(subCategory);\n }\n }, [activeSubCategory, isMobile]);\n if (!subCategories) {\n return null;\n }\n\n /** As workaround to display correctly on all browser it looks better when categories are sorted by number of sub categories */\n const sortedSubCategories = subCategories.sort((a, b) => (b.children.length || 0) - (a.children.length || 0));\n /** What's new and All category links which are randomly ordered and have to be first on the list */\n const firstTwoItems = (0, _utils2.getWhatsNewAndAllCategory)(subCategories);\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.DesktopSubLinksNewAndAllRoot, {\n children: firstTwoItems.map(item => /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.DesktopSubLinksSubcategory, {\n \"data-testid\": getTestId(_constants.DESKTOP_SUBLINKS_SUBCATEGORY),\n children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.DesktopSubLinksNewAndAll, {\n href: item.url,\n \"data-testid\": getTestId(_constants.DESKTOP_SUBLINKS_NEW),\n onClick: analyticsData(item.url),\n children: [item.title, /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.ArrowRightThin, {})]\n })\n }, item.url))\n }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.DesktopSubLinksRoot, {\n \"data-testid\": getTestId(_constants.DESKTOP_SUBLINKS_ROOT),\n children: [sortedSubCategories.map(subCategory => {\n if (Boolean(subCategory) && (0, _utils2.isSubCategoryOrLookBookLink)(subCategory.linkType)) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SubCategory.SubCategory, {\n subCategory: subCategory,\n activeSubCategory: activeSubCategory,\n handleSubCategoryClick: handleSubCategoryClick\n }, subCategory.url);\n }\n return null;\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.DesktopSubLinksOtherLinks, {\n \"data-testid\": getTestId(_constants.DESKTOP_SUBLINKS_OTHER_LINKS),\n children: subCategories.map(subCategory => {\n if (\n // TODO -- Boolean(subCategory) - Temporary solution to filter out null values which is not included in type\n Boolean(subCategory) && subCategory.linkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.PopularBrands) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PopularBrands.PopularBrands, {\n subCategory: subCategory,\n handleSubCategoryClick: handleSubCategoryClick,\n \"data-testid\": getTestId(_constants.POPULAR_BRANDS)\n }, subCategory.url);\n }\n // TODO -- Boolean(subCategory) - Temporary solution to filter out null values which is not included in type\n if (Boolean(subCategory) && (0, _utils2.isNotCategoryLink)(subCategory.linkType) && subCategory.url) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.DesktopSubLinksSegment, {\n href: subCategory.url,\n \"data-testid\": getTestId(_constants.DESKTOP_SUBLINKS_SEGMENT),\n children: subCategory.title\n }, subCategory.url);\n }\n return null;\n })\n })]\n })]\n });\n};\nvar _default = exports.default = DesktopSubLinksGenerator;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _hooks = require(\"../../../hooks\");\nvar _PopularBrands = require(\"../PopularBrands\");\nvar _SubCategory = require(\"./SubCategory\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _utils = require(\"./utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst MobileSubLinksGenerator = ({\n subCategories\n}) => {\n const isMobile = (0, _hooks.useIsMobile)();\n const [activeSubCategory, setActiveSubCategory] = (0, _react.useState)('');\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const handleSubCategoryClick = (0, _react.useCallback)(subCategory => {\n if (isMobile && subCategory === activeSubCategory) {\n setActiveSubCategory('');\n } else {\n setActiveSubCategory(subCategory);\n }\n }, [activeSubCategory, isMobile]);\n if (!subCategories) {\n return null;\n }\n\n /** What's new and All category links which are randomly ordered and have to be first on the list */\n const firstTwoItems = (0, _utils.getWhatsNewAndAllCategory)(subCategories);\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.MobileSubLinksRoot, {\n \"data-testid\": getTestId(_constants.MOBILE_SUBLINKS_ROOT),\n children: [firstTwoItems.map(item => /*#__PURE__*/(0, _jsxRuntime.jsx)(_SubCategory.SubCategory, {\n boldText: false,\n displayArrowIcon: false,\n subCategory: item,\n handleSubCategoryClick: handleSubCategoryClick,\n \"data-testid\": getTestId(_constants.SUBCATEGORY)\n }, item.linkType)), subCategories.map(subCategory => {\n // TODO -- Boolean(subCategory) - Temporary solution to filter out null values which is not included in type\n if (Boolean(subCategory) && subCategory.linkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.PopularBrands) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PopularBrands.PopularBrands, {\n subCategory: subCategory,\n activeSubCategory: activeSubCategory,\n handleSubCategoryClick: handleSubCategoryClick,\n \"data-testid\": getTestId(_constants.POPULAR_BRANDS)\n }, subCategory.url);\n }\n\n // TODO -- Boolean(subCategory) - Temporary solution to filter out null values which is not included in type\n if (Boolean(subCategory) && subCategory.linkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.SubCategory) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SubCategory.SubCategory, {\n subCategory: subCategory,\n activeSubCategory: activeSubCategory,\n handleSubCategoryClick: handleSubCategoryClick,\n \"data-testid\": getTestId(_constants.SUBCATEGORY),\n displayArrowIcon: subCategory.children.length > 0\n }, subCategory.url);\n }\n return null;\n })]\n });\n};\nvar _default = exports.default = MobileSubLinksGenerator;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SubCategory = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _hooks = require(\"../../../hooks\");\nvar _utils = require(\"../../../utils\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst SubCategory = ({\n subCategory,\n activeSubCategory,\n handleSubCategoryClick,\n displayArrowIcon = true,\n boldText = true,\n isBestOffers\n}) => {\n const isMobile = (0, _hooks.useIsMobile)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const isSubCategoryActive = activeSubCategory === subCategory.url;\n const ownerState = {\n isSubCategoryActive\n };\n const analyticsData = (0, _react.useCallback)(url => () => {\n (0, _utils.logUserClick)(url);\n }, []);\n const subCategoryClickHandler = (0, _react.useCallback)(() => {\n handleSubCategoryClick(subCategory.url);\n }, [handleSubCategoryClick, subCategory.url]);\n if (!subCategory.url) {\n return null;\n }\n if (isMobile) {\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.SubCategoryRoot, {\n \"data-testid\": getTestId(_constants.MOBILE_SUBCATEGORY_ROOT),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.SubCategoryListElement, {\n \"data-testid\": getTestId(_constants.SUBCATEGORY_LIST_ELEMENT),\n onClick: subCategoryClickHandler,\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SubCategoryTitle, {\n boldText: boldText,\n href: subCategory.url,\n \"data-testid\": getTestId(_constants.SUBCATEGORY_LIST_ELEMENT_TITLE),\n onClick: analyticsData(subCategory.url),\n children: subCategory.title\n }), displayArrowIcon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SubCategoryIconWrapper, {\n ownerState: ownerState,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.ArrowDownThin, {\n fontSize: \"inherit\"\n })\n }) : null]\n }), isSubCategoryActive ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {\n children: subCategory.children.map(segment => segment.url && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SubCategorySegment, {\n isBestOffers: isBestOffers,\n href: segment.url,\n \"data-testid\": getTestId(_constants.SUBCATEGORY_SEGMENT),\n onClick: analyticsData(segment.url),\n children: segment.title\n }, segment.id))\n }) : null]\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.SubCategoryRoot, {\n \"data-testid\": getTestId(_constants.DESKTOP_SUBCATEGORY_ROOT),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SubCategoryListElement, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SubCategoryTitle, {\n boldText: boldText,\n href: subCategory.url,\n \"data-testid\": getTestId(_constants.SUBCATEGORY_LIST_ELEMENT_TITLE),\n onClick: analyticsData(subCategory.url),\n children: subCategory.title\n })\n }), subCategory.children.map(segment => segment.url && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SubCategoryListElement, {\n \"data-testid\": getTestId(_constants.SUBCATEGORY_LIST_ELEMENT),\n onClick: analyticsData(segment.url),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SubCategorySegment, {\n href: segment.url,\n children: segment.title\n })\n }, segment.id))]\n });\n};\nexports.SubCategory = SubCategory;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SUBCATEGORY_SEGMENT = exports.SUBCATEGORY_LIST_ELEMENT_TITLE = exports.SUBCATEGORY_LIST_ELEMENT = exports.SUBCATEGORY = exports.POPULAR_BRANDS_ROOT = exports.POPULAR_BRANDS_LIST_ELEMENT = exports.POPULAR_BRANDS = exports.MOBILE_SUBLINKS_ROOT = exports.MOBILE_SUBCATEGORY_ROOT = exports.DESKTOP_SUBLINKS_SUBCATEGORY = exports.DESKTOP_SUBLINKS_SEGMENT = exports.DESKTOP_SUBLINKS_ROOT = exports.DESKTOP_SUBLINKS_OTHER_LINKS = exports.DESKTOP_SUBLINKS_NEW = exports.DESKTOP_SUBCATEGORY_ROOT = exports.CATEGORY_CONTENT_MOBILE_SKELETON = exports.CATEGORY_CONTENT_DESKTOP_SKELETON = void 0;\nconst DESKTOP_SUBLINKS_SEGMENT = exports.DESKTOP_SUBLINKS_SEGMENT = 'desktop-sublinks-segment';\nconst DESKTOP_SUBLINKS_SUBCATEGORY = exports.DESKTOP_SUBLINKS_SUBCATEGORY = 'desktop-sublinks-subcategory';\nconst DESKTOP_SUBLINKS_NEW = exports.DESKTOP_SUBLINKS_NEW = 'desktop-sublinks-new';\nconst DESKTOP_SUBLINKS_OTHER_LINKS = exports.DESKTOP_SUBLINKS_OTHER_LINKS = 'desktop-sublinks-other-links';\nconst POPULAR_BRANDS = exports.POPULAR_BRANDS = 'popular-brands';\nconst DESKTOP_SUBLINKS_ROOT = exports.DESKTOP_SUBLINKS_ROOT = 'desktop-sublinks-root';\nconst POPULAR_BRANDS_ROOT = exports.POPULAR_BRANDS_ROOT = 'popular-brands-root';\nconst SUBCATEGORY_LIST_ELEMENT = exports.SUBCATEGORY_LIST_ELEMENT = 'subcategory-list-element';\nconst MOBILE_SUBCATEGORY_ROOT = exports.MOBILE_SUBCATEGORY_ROOT = 'mobile-subcategory-root';\nconst POPULAR_BRANDS_LIST_ELEMENT = exports.POPULAR_BRANDS_LIST_ELEMENT = 'popular-brands-list-element';\nconst SUBCATEGORY_LIST_ELEMENT_TITLE = exports.SUBCATEGORY_LIST_ELEMENT_TITLE = 'subcategory-list-element-title';\nconst SUBCATEGORY_SEGMENT = exports.SUBCATEGORY_SEGMENT = 'subcategory-segment';\nconst DESKTOP_SUBCATEGORY_ROOT = exports.DESKTOP_SUBCATEGORY_ROOT = 'desktop-subcategory-root';\nconst SUBCATEGORY = exports.SUBCATEGORY = 'subcategory';\nconst MOBILE_SUBLINKS_ROOT = exports.MOBILE_SUBLINKS_ROOT = 'mobile-sublinks-root';\nconst CATEGORY_CONTENT_DESKTOP_SKELETON = exports.CATEGORY_CONTENT_DESKTOP_SKELETON = 'category-content-desktop-skeleton';\nconst CATEGORY_CONTENT_MOBILE_SKELETON = exports.CATEGORY_CONTENT_MOBILE_SKELETON = 'category-content-mobile-skeleton';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SubCategoryTitle = exports.SubCategorySegment = exports.SubCategoryRoot = exports.SubCategoryListElement = exports.SubCategoryIconWrapper = exports.MobileSubLinksRoot = exports.MobileSkeletonRoot = exports.MobileItemSkeleton = exports.DesktopSubLinksSubcategory = exports.DesktopSubLinksSegment = exports.DesktopSubLinksRoot = exports.DesktopSubLinksOtherLinks = exports.DesktopSubLinksNewAndAllRoot = exports.DesktopSubLinksNewAndAll = exports.DesktopSkeletonRoot = exports.DesktopSkeletonInner = exports.DesktopItemSkeleton = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nconst DesktopSubLinksRoot = exports.DesktopSubLinksRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n boxSizing: 'border-box',\n marginTop: theme.spacing(3),\n '& *': {\n boxSizing: 'border-box'\n },\n display: 'flex',\n flexFlow: 'row wrap',\n margin: 0,\n padding: theme.spacing(2, 12, 4, 12),\n maxWidth: '60vw'\n}));\nconst DesktopSubLinksOtherLinks = exports.DesktopSubLinksOtherLinks = (0, _mui.styled)('div')(({\n theme\n}) => ({\n [theme.breakpoints.up('md')]: {\n display: 'flex',\n flexDirection: 'column',\n paddingLeft: theme.spacing(1)\n }\n}));\nconst DesktopSubLinksSubcategory = exports.DesktopSubLinksSubcategory = (0, _mui.styled)('div')(({\n theme\n}) => ({\n [theme.breakpoints.up('md')]: {\n display: 'flex',\n flexDirection: 'column',\n listStyle: 'none',\n padding: theme.spacing(0, 10, 6, 0),\n alignItems: 'start',\n order: 0,\n gap: theme.spacing(6, 12)\n }\n}));\nconst DesktopSubLinksNewAndAllRoot = exports.DesktopSubLinksNewAndAllRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n padding: theme.spacing(6, 12, 0, 12)\n}));\nconst DesktopSubLinksNewAndAll = exports.DesktopSubLinksNewAndAll = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n [theme.breakpoints.up('md')]: {\n color: theme.palette.text.primary,\n fontSize: '2rem',\n fontWeight: theme.typography.fontWeightBold,\n lineHeight: '2.3rem',\n textDecoration: 'none',\n paddingLeft: theme.spacing(1),\n '&:hover, &:focus, &:active': {\n color: theme.palette.grey[600],\n WebkitTapHighlightColor: 'transparent'\n },\n svg: {\n marginLeft: theme.spacing(2),\n verticalAlign: 'text-top'\n }\n }\n}));\nconst DesktopSubLinksSegment = exports.DesktopSubLinksSegment = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n [theme.breakpoints.up('md')]: {\n color: theme.palette.text.primary,\n display: 'block',\n fontSize: theme.typography.body1.fontSize,\n fontWeight: theme.typography.fontWeightLight,\n lineHeight: '2.1rem',\n order: 2,\n padding: 0,\n textDecoration: 'none',\n '&:hover, &:focus, &:active': {\n color: theme.palette.grey[600],\n WebkitTapHighlightColor: 'transparent'\n }\n }\n}));\nconst SubCategoryRoot = exports.SubCategoryRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n listStyle: 'none',\n '&:first-of-type': {\n paddingTop: 0\n },\n '&:last-child': {\n paddingBottom: theme.spacing(2)\n },\n [theme.breakpoints.up('md')]: {\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'wrap',\n listStyle: 'none',\n padding: theme.spacing(0, 6, 6, 1),\n '&:last-child': {\n paddingBottom: 'unset'\n }\n }\n}));\nconst SubCategoryListElement = exports.SubCategoryListElement = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n justifyContent: 'space-between',\n padding: theme.spacing(2, 3, 2, 10),\n [theme.breakpoints.up('md')]: {\n padding: theme.spacing(0, 0, 2, 0),\n fontSize: '1.6rem'\n }\n}));\nconst SubCategoryTitle = exports.SubCategoryTitle = (0, _mui.styled)(_mui.Link, {\n shouldForwardProp: (0, _presentationUtils.shouldForwardProp)()\n})(({\n theme,\n boldText\n}) => ({\n color: theme.palette.text.primary,\n display: 'inline-block',\n fontSize: '1.7rem',\n fontWeight: boldText ? theme.typography.fontWeightBold : theme.typography.fontWeightRegular,\n maxWidth: 235,\n height: 30,\n overflow: 'hidden',\n paddingLeft: 0,\n textDecoration: 'none',\n textOverflow: 'ellipsis',\n [theme.breakpoints.up('md')]: {\n display: 'unset',\n lineHeight: '1.6rem',\n fontSize: '1.6rem',\n maxWidth: 250,\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis',\n overflow: 'hidden',\n '&:hover, &:focus, &:active': {\n color: theme.palette.grey[600],\n WebkitTapHighlightColor: 'transparent'\n }\n }\n}));\nconst SubCategoryIconWrapper = exports.SubCategoryIconWrapper = (0, _mui.styled)('span')(({\n ownerState,\n theme\n}) => ({\n alignItems: 'center',\n display: 'flex',\n fontSize: theme.typography.h6.fontSize,\n marginRight: 3,\n // With love for Eliška <3\n\n transition: '0.1s ease-in',\n ...(ownerState.isSubCategoryActive && {\n transform: 'rotate(180deg)'\n })\n}));\nconst SubCategorySegment = exports.SubCategorySegment = (0, _mui.styled)(_mui.Link, {\n shouldForwardProp: (0, _presentationUtils.shouldForwardProp)()\n})(({\n theme,\n children,\n isBestOffers\n}) => ({\n color: theme.palette.text.primary,\n display: '-webkit-box',\n fontSize: '1.6rem',\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: 3,\n fontWeight: theme.typography.fontWeightLight,\n lineHeight: '2.1rem',\n maxWidth: isBestOffers ? 'none' : 235,\n overflow: 'hidden',\n padding: theme.spacing(2, 3, 2, 14),\n textDecoration: 'none',\n textOverflow: 'ellipsis',\n maxHeight: 73,\n '&:hover, &:focus': {\n color: theme.palette.grey[600]\n },\n '&:active': {\n fontWeight: theme.typography.fontWeightBold\n },\n [theme.breakpoints.up('md')]: {\n padding: 0,\n '&:first-of-type': {\n marginTop: 'unset',\n paddingTop: 'unset'\n },\n '&:hover, &:focus, &:active': {\n color: theme.palette.grey[600],\n WebkitTapHighlightColor: 'transparent'\n },\n '&:active': {\n fontWeight: 'unset'\n },\n '&::before': {\n display: 'block',\n height: 0,\n content: `\"${typeof children === 'string' || typeof children === 'number' ? children : ''}\"`,\n fontWeight: 'bold',\n visibility: 'hidden'\n }\n }\n}));\nconst MobileSubLinksRoot = exports.MobileSubLinksRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n boxSizing: 'border-box',\n marginTop: theme.spacing(3),\n width: '100%',\n '& *': {\n boxSizing: 'border-box'\n }\n}));\nconst MobileSkeletonRoot = exports.MobileSkeletonRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n marginTop: theme.spacing(3),\n padding: theme.spacing(0, 10)\n}));\nconst MobileItemSkeleton = exports.MobileItemSkeleton = (0, _mui.styled)(_mui.Skeleton)(({\n theme\n}) => ({\n margin: theme.spacing(2, 0),\n transform: 'initial'\n}));\nconst DesktopSkeletonRoot = exports.DesktopSkeletonRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(6),\n padding: theme.spacing(6, 12, 0, 12)\n}));\nconst DesktopSkeletonInner = exports.DesktopSkeletonInner = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexFlow: 'column wrap',\n gap: theme.spacing(9, 6),\n maxHeight: 700,\n [theme.breakpoints.up('lg')]: {\n maxHeight: 500\n }\n}));\nconst DesktopItemSkeleton = exports.DesktopItemSkeleton = (0, _mui.styled)(_mui.Skeleton)({\n transform: 'initial'\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isSubCategoryOrLookBookLink = exports.isNotCategoryLink = exports.getWhatsNewAndAllCategory = void 0;\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nconst isSubCategoryOrLookBookLink = linkType => linkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.SubCategory || linkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.PopularLookbook;\nexports.isSubCategoryOrLookBookLink = isSubCategoryOrLookBookLink;\nconst isNotCategoryLink = linkType => [_staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.WhatsNewInCategory, _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.SubCategory, _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.AllCategory, _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.PopularLookbook].every(type => linkType !== type);\n\n/**\n * Get the what's new and all category links which are randomly ordered and return what's new first\n * @param subCategories\n */\nexports.isNotCategoryLink = isNotCategoryLink;\nconst getWhatsNewAndAllCategory = subCategories => {\n const whatsNewCategory = subCategories.find(({\n linkType\n }) => linkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.WhatsNewInCategory);\n const otherCategories = subCategories.filter(({\n linkType,\n url\n }) => linkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.AllCategory && url);\n return whatsNewCategory ? [whatsNewCategory, ...otherCategories] : otherCategories;\n};\nexports.getWhatsNewAndAllCategory = getWhatsNewAndAllCategory;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Favorites = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _auth = require(\"@ori/auth\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _useTranslations = require(\"../../../hooks/useTranslations\");\nvar _models = require(\"../../../models\");\nvar _constants = require(\"../constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst Favorites = () => {\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n isAnonymousUser\n } = (0, _auth.useToken)();\n if (isAnonymousUser) {\n return null;\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(\"li\", {\n \"data-testid\": getTestId(_constants.FAVORITE_LIST_ITEM),\n children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.FavoritesRoot, {\n href: _models.FavoritesLink,\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.HeartIconRoot, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Heart, {\n fontSize: \"inherit\"\n })\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.FavoritesTitle, {\n className: \"favoritesTitle\",\n children: translations.myFavoriteProducts\n })]\n })\n });\n};\nexports.Favorites = Favorites;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.HeartIconRoot = exports.FavoritesTitle = exports.FavoritesRoot = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst FavoritesRoot = exports.FavoritesRoot = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n display: 'flex',\n padding: theme.spacing(5, 3, 2, 3),\n textDecoration: 'none',\n '&:active, &:focus': {\n WebkitTapHighlightColor: 'transparent'\n }\n}));\nconst FavoritesTitle = exports.FavoritesTitle = (0, _mui.styled)('span')(({\n theme\n}) => ({\n color: theme.palette.text.primary,\n fontSize: '1.7rem',\n fontWeight: theme.typography.fontWeightBold,\n lineHeight: '2.9rem',\n marginLeft: theme.spacing(2)\n}));\nconst HeartIconRoot = exports.HeartIconRoot = (0, _mui.styled)('span')(({\n theme\n}) => ({\n color: theme.palette.text.secondary,\n display: 'flex',\n fontSize: '2.9rem'\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.FindYourProduct = void 0;\nvar _presentationComponents = require(\"@ori/presentation-components\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _navigation = require(\"../../../context/navigation\");\nvar _hooks = require(\"../../../hooks\");\nvar _useTranslations = require(\"../../../hooks/useTranslations\");\nvar _utils = require(\"../../../utils\");\nvar _FindYourProductSkeleton = require(\"./FindYourProductSkeleton\");\nvar _constant = require(\"./constant\");\nvar _styles = require(\"./styles\");\nvar _utils2 = require(\"./utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst FindYourProduct = () => {\n const {\n inspirationItems,\n loadingInspirationItems: loading\n } = (0, _navigation.useBurgerMenu)();\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const isMobile = (0, _hooks.useIsMobile)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const items = (0, _react.useMemo)(() => (0, _utils2.filterInspirationTiles)(inspirationItems), [inspirationItems]);\n // istanbul ignore next -- do not need to test on click event\n const analyticsData = (0, _react.useCallback)(url => () => {\n (0, _utils.logUserClick)(url);\n }, []);\n if (loading || items.length === 0) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_FindYourProductSkeleton.FindYourProductSkeleton, {\n animation: loading ? 'pulse' : undefined\n });\n }\n if (isMobile) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constant.FIND_YOUR_PRODUCT_ROOT_MOBILE),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.FindYourProductList, {\n children: items.slice(0, _constant.MAX_NUMBER_OF_TILES).map(tile => /*#__PURE__*/(0, _jsxRuntime.jsx)(\"li\", {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.FindYourProductLink, {\n href: tile.url,\n onClick: analyticsData(tile.url),\n children: tile.title\n })\n }, tile.id))\n })\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constant.FIND_YOUR_PRODUCT_ROOT_DESKTOP),\n children: items.slice(0, _constant.MAX_NUMBER_OF_TILES).map(tile => /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.CategoryBoxWrapper, {\n \"aria-label\": tile.title,\n type: \"button\",\n onClick: analyticsData(tile.url),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_presentationComponents.CategoryBox, {\n title: tile.title,\n imageUrl: tile.imageUrl,\n buttonText: translations.view,\n relativeUrl: tile.url\n })\n }, tile.id))\n });\n};\nexports.FindYourProduct = FindYourProduct;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.FindYourProductSkeleton = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _lodash = _interopRequireDefault(require(\"lodash.times\"));\nvar _hooks = require(\"../../../hooks\");\nvar _constant = require(\"./constant\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst FindYourProductSkeleton = ({\n animation\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const isMobile = (0, _hooks.useIsMobile)();\n if (isMobile) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constant.FIND_YOUR_PRODUCT_MOBILE_SKELETON),\n children: (0, _lodash.default)(5).map(index => /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.MobileTileSkeleton, {\n animation: animation,\n variant: \"text\",\n height: 28,\n width: 130\n }, `mobile-tile-${index}`))\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constant.FIND_YOUR_PRODUCT_DESKTOP_SKELETON),\n children: (0, _lodash.default)(_constant.MAX_NUMBER_OF_TILES).map(index => /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.DesktopTileSkeleton, {\n animation: animation\n }, `desktop-tile-${index}`))\n });\n};\nexports.FindYourProductSkeleton = FindYourProductSkeleton;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.MAX_NUMBER_OF_TILES = exports.FIND_YOUR_PRODUCT_ROOT_MOBILE = exports.FIND_YOUR_PRODUCT_ROOT_DESKTOP = exports.FIND_YOUR_PRODUCT_MOBILE_SKELETON = exports.FIND_YOUR_PRODUCT_DESKTOP_SKELETON = void 0;\nconst FIND_YOUR_PRODUCT_ROOT_MOBILE = exports.FIND_YOUR_PRODUCT_ROOT_MOBILE = 'inspiration-root-mobile';\nconst FIND_YOUR_PRODUCT_ROOT_DESKTOP = exports.FIND_YOUR_PRODUCT_ROOT_DESKTOP = 'inspiration-root-desktop';\nconst FIND_YOUR_PRODUCT_DESKTOP_SKELETON = exports.FIND_YOUR_PRODUCT_DESKTOP_SKELETON = 'inspiration-desktop-skeleton';\nconst FIND_YOUR_PRODUCT_MOBILE_SKELETON = exports.FIND_YOUR_PRODUCT_MOBILE_SKELETON = 'inspiration-mobile-skeleton';\nconst MAX_NUMBER_OF_TILES = exports.MAX_NUMBER_OF_TILES = 10;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = exports.MobileTileSkeleton = exports.FindYourProductList = exports.FindYourProductLink = exports.DesktopTileSkeleton = exports.CategoryBoxWrapper = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationComponents = require(\"@ori/presentation-components\");\nconst Root = exports.Root = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n justifyContent: 'start',\n flexWrap: 'wrap',\n margin: theme.spacing(0),\n a: {\n width: '160px',\n flex: '0 0 160px'\n },\n [theme.breakpoints.up('md')]: {\n maxWidth: 1110,\n gap: theme.spacing(6),\n margin: theme.spacing(6, 12)\n }\n}));\nconst FindYourProductList = exports.FindYourProductList = (0, _mui.styled)('ul')(({\n theme\n}) => ({\n backgroundColor: theme.palette.common.white,\n listStyleType: 'none',\n li: {\n padding: theme.spacing(2, 3, 2, 10)\n }\n}));\nconst CategoryBoxWrapper = exports.CategoryBoxWrapper = (0, _mui.styled)('button')({\n alignSelf: 'start',\n background: 'none'\n});\nconst FindYourProductLink = exports.FindYourProductLink = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n fontSize: '1.7rem',\n textDecoration: 'none',\n flex: 1,\n [theme.breakpoints.up('md')]: {\n color: theme.palette.text.primary,\n display: 'block',\n lineHeight: '2.1rem',\n textDecoration: 'none'\n },\n '&:hover, &:focus, &:active': {\n color: theme.palette.secondary.main,\n WebkitTapHighlightColor: 'transparent'\n }\n}));\nconst DesktopTileSkeleton = exports.DesktopTileSkeleton = (0, _mui.styled)(_presentationComponents.CategoryBoxSkeleton)({\n width: _presentationComponents.CATEGORY_BOX_DESKTOP_MEDIUM_WIDTH\n});\nconst MobileTileSkeleton = exports.MobileTileSkeleton = (0, _mui.styled)(_mui.Skeleton)(({\n theme\n}) => ({\n margin: theme.spacing(2, 3, 2, 10),\n transform: 'initial'\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.filterInspirationTiles = void 0;\nconst filterInspirationTiles = items => items.filter(item => !!item.title && !!item.url);\nexports.filterInspirationTiles = filterInspirationTiles;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BurgerMenuLink = void 0;\nvar UserAction = _interopRequireWildcard(require(\"@ori-events/user-action\"));\nvar _icons = require(\"@ori-ui/icons\");\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _constants = require(\"../../../constants\");\nvar _navigation = require(\"../../../context/navigation\");\nvar _hooks = require(\"../../../hooks\");\nvar _models = require(\"../../../models\");\nvar _utils = require(\"../../../utils\");\nvar _BurgerMenuContent = require(\"../BurgerMenuContent\");\nvar _constants2 = require(\"../constants\");\nvar _utils2 = require(\"../utils\");\nvar _TitleWithIcon = require(\"./TitleWithIcon\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst BurgerMenuLink = ({\n link\n}) => {\n const {\n activeLink,\n toggleActiveLink\n } = (0, _navigation.useActiveLink)();\n const isMobile = (0, _hooks.useIsMobile)();\n const isAlwaysActiveLink = _models.AlwaysActiveLinks.includes(link.linkType);\n const isActiveLink = activeLink?.url === link.url && activeLink?.linkType === link.linkType;\n const burgerMenuContentRef = (0, _react.useRef)(null);\n const burgerMenuContentStyle = {\n overflow: 'hidden',\n height: (0, _utils2.getBurgerMenuHeight)({\n burgerMenuHeight: burgerMenuContentRef.current?.offsetHeight,\n isActiveLink,\n isAlwaysActiveLink\n })\n };\n const isBestOffers = (0, _react.useMemo)(() => link.linkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.FocusPage, [link.linkType]);\n const areBestOffersValid = (0, _react.useMemo)(() => isBestOffers ? link.children.some(child => child.children.length) : false, [isBestOffers, link.children]);\n const handleAnalyticsClick = (0, _react.useCallback)(() => {\n if (link.linkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.Catalogue) {\n UserAction.dispatch(_constants.CLICK_CATALGOUE);\n }\n }, [link.linkType]);\n const updateActiveLink = (0, _react.useCallback)(() => {\n toggleActiveLink(link);\n }, [link, toggleActiveLink]);\n const categoryName = link.url?.split('/').reverse().find(el => el);\n const category = Object.values(_models.Categories).find(cat => cat === categoryName);\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n if (isMobile) {\n const shouldDisplayArrow = Boolean(link.children.length);\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.BurgerMenuLinkListElement, {\n \"data-testid\": getTestId(_constants2.BURGER_MENU_LINK_ROOT_MOBILE),\n id: category ?? undefined,\n children: [isAlwaysActiveLink ? null : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.BurgerMenuLinkCategory, {\n category: category,\n \"data-testid\": getTestId(_constants2.BURGER_MENU_LINK_CATEGORY_MOBILE),\n isActiveLink: isActiveLink,\n onClick: updateActiveLink,\n onKeyDown: (0, _utils.onEnterKey)(updateActiveLink),\n children: [link.url ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuLinkLink, {\n href: isBestOffers && !areBestOffersValid ? link.url : undefined,\n \"data-testid\": getTestId(_constants2.BURGER_MENU_LINK),\n onClick: handleAnalyticsClick,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TitleWithIcon.TitleWithIcon, {\n linkType: link.linkType,\n linkTitle: link.title\n })\n }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuLinkLink, {\n \"data-testid\": getTestId(_constants2.BURGER_MENU_LINK),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TitleWithIcon.TitleWithIcon, {\n linkType: link.linkType,\n linkTitle: link.title\n })\n }), shouldDisplayArrow ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuLinkIconWrapper, {\n \"data-testid\": getTestId(_constants2.BURGER_MENU_LINK_ICON_WRAPPER),\n isActiveLink: isActiveLink,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.ArrowDownThin, {\n fontSize: \"inherit\"\n })\n }) : null]\n }), isActiveLink || isAlwaysActiveLink ? /*#__PURE__*/(0, _jsxRuntime.jsx)(\"div\", {\n style: burgerMenuContentStyle,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_BurgerMenuContent.BurgerMenuContent, {\n contentRootRef: burgerMenuContentRef,\n \"data-testid\": getTestId(_constants2.BURGER_MENU_CONTENT),\n link: link\n })\n }) : null]\n }, link.linkType);\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BurgerMenuLinkListElement, {\n \"data-testid\": getTestId(_constants2.BURGER_MENU_LINK_ROOT),\n id: category ?? undefined,\n onClick: updateActiveLink,\n children: category === undefined ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.BurgerMenuTopItemLink, {\n \"data-testid\": getTestId(_constants2.BURGER_MENU_TOP_ITEM_LINK),\n href: isBestOffers && !areBestOffersValid ? link.url : undefined,\n onClick: handleAnalyticsClick,\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_TitleWithIcon.TitleWithIcon, {\n linkType: link.linkType,\n linkTitle: link.title\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.ArrowRightThin, {})]\n }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.BurgerMenuLinkCategory, {\n category: category,\n \"data-testid\": getTestId(_constants2.BURGER_MENU_LINK_CATEGORY),\n isActiveLink: isActiveLink,\n onClick: handleAnalyticsClick,\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(\"span\", {\n children: link.title\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.ArrowRightThin, {})]\n })\n }, link.id);\n};\nexports.BurgerMenuLink = BurgerMenuLink;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.LazyLinks = void 0;\nvar _react = require(\"react\");\nvar _hooks = require(\"../../../hooks\");\nvar _Skeleton = require(\"../../Skeleton\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n} // istanbul ignore file -- lazy loaded component not testable\nconst LazyGeneratedBurgerMainMenuLinks = /*#__PURE__*/(0, _react.lazy)(async () => Promise.resolve().then(() => _interopRequireWildcard(require(/* webpackChunkName: \"TopArea_Links\" */'./Links'))));\nconst LazyLinks = () => {\n const isMobile = (0, _hooks.useIsMobile)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Suspense, {\n fallback: isMobile ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Skeleton.SkeletonMainCategoriesMobile, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Skeleton.SkeletonMainCategoriesDesktop, {}),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(LazyGeneratedBurgerMainMenuLinks, {})\n });\n};\nexports.LazyLinks = LazyLinks;\nvar _default = exports.default = LazyLinks;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.Links = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _navigation = require(\"../../../context/navigation\");\nvar _hooks = require(\"../../../hooks\");\nvar _utils = require(\"../../../utils\");\nvar _Skeleton = require(\"../../Skeleton\");\nvar _constants = require(\"../constants\");\nvar _BurgerMenuLink = require(\"./BurgerMenuLink\");\nvar _styles = require(\"./styles\");\nvar _utils2 = require(\"./utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst LazyFavorites = /*#__PURE__*/(0, _react.lazy)(async () => ({\n default: (await Promise.resolve().then(() => _interopRequireWildcard(require(/* webpackChunkName: \"TopArea_Favorites\" */'../Favorites/Favorites')))).Favorites\n}));\nconst LazyOurStory = /*#__PURE__*/(0, _react.lazy)(async () => ({\n default: (await Promise.resolve().then(() => _interopRequireWildcard(require(/* webpackChunkName: \"TopArea_OurStory\" */'../OurStory/OurStory')))).OurStory\n}));\nconst Links = () => {\n const {\n isAnonymousUser\n } = (0, _auth.useToken)();\n const {\n activeLink,\n toggleActiveLink\n } = (0, _navigation.useActiveLink)();\n const {\n shopSectionItems: items,\n loadingShopSectionItems: loading\n } = (0, _navigation.useBurgerMenu)();\n const isMobile = (0, _hooks.useIsMobile)();\n const showFavorites = !isAnonymousUser && isMobile;\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const analyticsData = (0, _react.useCallback)(\n // istanbul ignore next -- do not need to test on click event\n url => () => {\n (0, _utils.logUserClick)(url);\n }, []);\n (0, _react.useEffect)(() => {\n if (!activeLink) {\n const catalogueSection = items.find(x => x.linkType === 'Catalogue');\n if (catalogueSection) {\n toggleActiveLink(catalogueSection);\n }\n }\n }, [activeLink, items, toggleActiveLink]);\n\n // eslint-disable-next-line react-hooks/exhaustive-deps -- Should clear active link only once on close\n (0, _react.useEffect)(() => () => toggleActiveLink(null), []);\n if (loading || items.length === 0) {\n return isMobile ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Skeleton.SkeletonMainCategoriesMobile, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Skeleton.SkeletonMainCategoriesDesktop, {});\n }\n const {\n orderedCommonLinks,\n orderedSpecialLinks,\n topLinks\n } = (0, _utils2.getOrderedLinks)(items);\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.LinksRoot, {\n \"data-testid\": getTestId(_constants.LINKS_ROOT),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Suspense, {\n children: showFavorites ? /*#__PURE__*/(0, _jsxRuntime.jsx)(LazyFavorites, {}) : null\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.MenuSectionDivider, {\n children: topLinks.map(link => /*#__PURE__*/(0, _jsxRuntime.jsx)(_BurgerMenuLink.BurgerMenuLink, {\n link: link\n }, link.id))\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.MenuSectionDivider, {\n children: orderedCommonLinks.map(link => /*#__PURE__*/(0, _jsxRuntime.jsx)(_BurgerMenuLink.BurgerMenuLink, {\n link: link\n }, link.id))\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SpecialLinkWrapper, {\n \"data-testid\": getTestId(_constants.SPECIAL_LINKS_WRAPPER),\n children: orderedSpecialLinks.map(link => link.url && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.LinksSpecialLink, {\n href: link.url,\n \"data-testid\": getTestId(_constants.SPECIAL_LINK),\n onClick: analyticsData(link.url),\n children: link.title\n }, link.id))\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Suspense, {\n children: isMobile ? /*#__PURE__*/(0, _jsxRuntime.jsx)(LazyOurStory, {}) : null\n })]\n });\n};\nexports.Links = Links;\nvar _default = exports.default = Links;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TitleWithIcon = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _utils = require(\"../../../utils\");\nvar _constants = require(\"../constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst TitleWithIcon = ({\n linkTitle,\n linkType\n}) => {\n const icon = (0, _utils.getIconByLinkType)(linkType);\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.TitleIconRoot, {\n \"data-testid\": getTestId(_constants.TITLE_WITH_ICON),\n children: [icon, /*#__PURE__*/(0, _jsxRuntime.jsx)(\"span\", {\n children: linkTitle\n })]\n });\n};\nexports.TitleWithIcon = TitleWithIcon;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TitleIconRoot = exports.SpecialLinkWrapper = exports.MenuSectionDivider = exports.LinksSpecialLink = exports.LinksRoot = exports.BurgerMenuTopItemLink = exports.BurgerMenuLinkListElement = exports.BurgerMenuLinkLink = exports.BurgerMenuLinkIconWrapper = exports.BurgerMenuLinkCategory = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _utils = require(\"../../../utils\");\nconst LinksRoot = exports.LinksRoot = (0, _mui.styled)('ul')(({\n theme\n}) => ({\n color: theme.palette.text.primary,\n display: 'flex',\n flexDirection: 'column',\n fontSize: theme.typography.body1.fontSize,\n fontWeight: theme.typography.fontWeightBold,\n listStyle: 'none',\n margin: theme.spacing(0),\n maxWidth: '100%',\n gap: theme.spacing(3, 0, 3, 0),\n overflow: 'scroll',\n padding: 0,\n width: 315,\n [theme.breakpoints.up('md')]: {\n borderRight: `2px solid ${theme.palette.grey[100]}`,\n fontSize: theme.typography.subtitle1.fontSize,\n margin: 0,\n minHeight: 570,\n overflow: 'unset',\n width: 280,\n flexShrink: 0,\n '&:first-of-type': {\n marginTop: 'unset',\n paddingTop: theme.spacing(2)\n },\n '&:last-of-type': {\n marginBottom: 'unset',\n paddingBottom: theme.spacing(2)\n }\n }\n}));\nconst SpecialLinkWrapper = exports.SpecialLinkWrapper = (0, _mui.styled)('ul')(({\n theme\n}) => ({\n a: {\n '&:hover, &:focus, &:active': {\n background: theme.palette.common.white\n }\n }\n}));\nconst MenuSectionDivider = exports.MenuSectionDivider = (0, _mui.styled)('div')(({\n theme\n}) => ({\n marginBottom: theme.spacing(3)\n}));\nconst LinksSpecialLink = exports.LinksSpecialLink = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n color: theme.palette.text.secondary,\n display: 'block',\n fontSize: '1.7rem',\n fontWeight: theme.typography.fontWeightBold,\n lineHeight: 1.9,\n padding: theme.spacing(2, 3, 2, 6),\n textDecoration: 'none',\n background: theme.palette.grey[100],\n '&:hover, &:focus, &:active': {\n color: theme.palette.text.secondary,\n WebkitTapHighlightColor: 'transparent'\n },\n [theme.breakpoints.up('md')]: {\n fontSize: '1.6rem',\n padding: theme.spacing(2, 3, 2, 3)\n }\n}));\nconst BurgerMenuLinkListElement = exports.BurgerMenuLinkListElement = (0, _mui.styled)('li')(({\n theme\n}) => ({\n '&:active, &:focus': {\n WebkitTapHighlightColor: 'transparent'\n }\n}));\nconst BurgerMenuLinkLink = exports.BurgerMenuLinkLink = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n color: theme.palette.text.primary,\n flex: 1,\n fontSize: theme.typography.h6.fontSize,\n fontWeight: theme.typography.fontWeightBold,\n lineHeight: '3.7rem',\n margin: 0,\n textDecoration: 'none',\n [theme.breakpoints.up('md')]: {\n fontSize: theme.typography.subtitle1.fontSize\n },\n '&:hover, &:focus, &:active': {\n color: theme.palette.text.primary,\n WebkitTapHighlightColor: 'transparent'\n }\n}));\n\n/** Mobile only class */\nconst BurgerMenuLinkIconWrapper = exports.BurgerMenuLinkIconWrapper = (0, _mui.styled)('span', {\n shouldForwardProp: (0, _presentationUtils.shouldForwardProp)()\n})(({\n isActiveLink\n}) => ({\n alignItems: 'center',\n display: 'flex',\n fontSize: '2.4rem',\n transition: '0.1s ease-in',\n transform: `rotate(${isActiveLink ? 180 : 0}deg)`\n}));\nconst BurgerMenuTopItemLink = exports.BurgerMenuTopItemLink = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n cursor: 'pointer',\n display: 'flex',\n fontSize: theme.typography.h6.fontSize,\n fontWeight: theme.typography.fontWeightBold,\n justifyContent: 'space-between',\n alignItems: 'center',\n lineHeight: '3.2rem',\n margin: 0,\n paddingLeft: theme.spacing(2),\n textDecoration: 'none',\n [theme.breakpoints.up('md')]: {\n padding: theme.spacing(2, 3, 2, 3)\n },\n svg: {\n padding: 0\n },\n '&:hover, &:focus, &:active': {\n background: (0, _mui.alpha)(theme.palette.green[50], 0.5),\n color: theme.palette.text.primary,\n svg: {\n color: theme.palette.text.primary\n }\n }\n}));\nconst BurgerMenuLinkCategory = exports.BurgerMenuLinkCategory = (0, _mui.styled)('div', {\n shouldForwardProp: (0, _presentationUtils.shouldForwardProp)()\n})(({\n category,\n isActiveLink,\n theme\n}) => {\n const colors = (0, _utils.mapCategoryColors)(theme);\n return {\n color: theme.palette.text.primary,\n cursor: 'pointer',\n display: 'flex',\n fontSize: theme.typography.body1.fontSize,\n fontWeight: theme.typography.fontWeightBold,\n justifyContent: 'space-between',\n alignItems: 'center',\n padding: theme.spacing(2, 3),\n textDecoration: 'none',\n background: isActiveLink && category !== undefined ? (0, _mui.alpha)(colors[category], 0.15) : 'inherit',\n margin: 0,\n position: 'relative',\n [theme.breakpoints.up('md')]: {\n fontSize: '2rem',\n padding: theme.spacing(2, 3, 2, 3)\n },\n // Border left with the color of the category had to use before as it's not possible to use border radius on border\n '&:before': {\n content: '\"\"',\n height: '90%',\n width: theme.spacing(1),\n backgroundColor: category === undefined ? 'transparent' : colors[category],\n position: 'absolute',\n left: 0,\n top: 2,\n display: 'block',\n borderRadius: '0 2px 2px 0'\n },\n '&:hover, &:focus, &:active': {\n color: theme.palette.text.primary,\n background: category === undefined ? 'inherit' : (0, _mui.alpha)(colors[category], 0.15)\n },\n span: {\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis'\n }\n };\n});\nconst TitleIconRoot = exports.TitleIconRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n fontSize: '1.7rem',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: 260,\n [theme.breakpoints.up('md')]: {\n fontSize: '2rem'\n },\n svg: {\n marginRight: theme.spacing(2),\n display: 'inline-block',\n verticalAlign: 'text-bottom'\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.sortSpecialLinks = exports.sortLinks = exports.isSpecialLink = exports.getOrderedLinks = void 0;\nvar _models = require(\"../../../models\");\nvar _constants = require(\"../constants\");\nconst isSpecialLink = link => Object.keys(_models.SpecialLinks).find(specialLink => specialLink === link.linkType);\nexports.isSpecialLink = isSpecialLink;\nconst sortLinks = (linkA, linkB) => {\n const priorityA = _constants.LINK_PRIORITIES.indexOf(linkA.linkType);\n const priorityB = _constants.LINK_PRIORITIES.indexOf(linkB.linkType);\n if (priorityA === -1 && priorityB === -1) {\n return _constants.EQUAL_LINKS;\n }\n if (priorityA === -1) {\n return _constants.LINK_B_FIRST;\n }\n if (priorityB === -1) {\n return _constants.LINK_A_FIRST;\n }\n return priorityA - priorityB;\n};\nexports.sortLinks = sortLinks;\nconst sortSpecialLinks = (linkA, linkB) => {\n if (_models.SpecialLinksOrder[linkA.linkType] < _models.SpecialLinksOrder[linkB.linkType]) {\n return _constants.LINK_A_FIRST;\n }\n return _constants.LINK_B_FIRST;\n};\nexports.sortSpecialLinks = sortSpecialLinks;\nconst getOrderedLinks = items => {\n const commonLinks = items.filter(link => !isSpecialLink(link) && !_constants.TOP_LINKS.includes(link.linkType));\n const orderedCommonLinks = commonLinks.sort(sortLinks);\n const specialLinks = items.filter(link => isSpecialLink(link));\n const orderedSpecialLinks = specialLinks.sort(sortSpecialLinks);\n const topLinks = items.filter(link => _constants.TOP_LINKS.includes(link.linkType));\n return {\n orderedCommonLinks,\n orderedSpecialLinks,\n topLinks\n };\n};\nexports.getOrderedLinks = getOrderedLinks;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.OurStory = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _navigation = require(\"../../../context/navigation\");\nvar _constants = require(\"../constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst OurStory = () => {\n const {\n aboutItems: items\n } = (0, _navigation.useBurgerMenu)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n children: items.map(({\n linkType,\n title,\n url\n }) => {\n if (linkType === 'SupportCenter') {\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.OurStorySupportLink, {\n href: url,\n \"data-testid\": getTestId(_constants.OUR_STORY_SUPPORT_LINK),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.BubbleHelp, {\n fontSize: \"inherit\"\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.OurStorySupportTitle, {\n children: title\n })]\n }, title);\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.OurStoryStoryLink, {\n href: url,\n \"data-testid\": getTestId(_constants.OUR_STORY_LINK),\n children: title\n }, title);\n })\n });\n};\nexports.OurStory = OurStory;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = exports.OurStorySupportTitle = exports.OurStorySupportLink = exports.OurStoryStoryLink = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst Root = exports.Root = (0, _mui.styled)(_mui.Box)(({\n theme\n}) => ({\n margin: theme.spacing(3, 0, 0)\n}));\nconst OurStorySupportLink = exports.OurStorySupportLink = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n color: theme.palette.text.primary,\n display: 'flex',\n flexDirection: 'row',\n margin: theme.spacing(3, 0, 0, 0),\n textDecoration: 'none',\n padding: theme.spacing(2, 6),\n borderTop: `1px solid ${theme.palette.grey[200]}`,\n height: 50,\n '&:hover, &:focus, &:active': {\n color: theme.palette.text.disabled,\n WebkitTapHighlightColor: 'transparent'\n },\n svg: {\n verticalAlign: 'text-top',\n width: 24,\n height: 24\n }\n}));\nconst OurStorySupportTitle = exports.OurStorySupportTitle = (0, _mui.styled)('span')(({\n theme\n}) => ({\n fontSize: '1.7rem',\n fontWeight: theme.typography.fontWeightBold,\n marginLeft: theme.spacing(2),\n textTransform: 'capitalize',\n color: theme.palette.text.secondary\n}));\nconst OurStoryStoryLink = exports.OurStoryStoryLink = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n color: theme.palette.text.secondary,\n display: 'block',\n fontSize: '1.7rem',\n fontWeight: theme.typography.fontWeightBold,\n padding: theme.spacing(2, 6),\n textDecoration: 'none',\n WebkitTapHighlightColor: 'transparent',\n height: 50,\n '&:first-of-type': {\n paddingTop: theme.spacing(2)\n },\n '&:last-of-type': {\n paddingBottom: theme.spacing(2)\n },\n '&:hover, &:focus, &:active': {\n color: theme.palette.text.disabled,\n WebkitTapHighlightColor: 'transparent'\n }\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.PopularBrands = void 0;\nvar UserAction = _interopRequireWildcard(require(\"@ori-events/user-action\"));\nvar _icons = require(\"@ori-ui/icons\");\nvar _mui = require(\"@ori-ui/mui\");\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _constants = require(\"../../../constants\");\nvar _hooks = require(\"../../../hooks\");\nvar _useTranslations = require(\"../../../hooks/useTranslations\");\nvar _constants2 = require(\"../CategoryContent/constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst ElementWithAnalytics = props => {\n const {\n url,\n title,\n id,\n index,\n Component\n } = props;\n const handleAnalytics = (0, _react.useCallback)(() => {\n const incrementedIndex = index + 1; // Indexes has to start from 1\n const withSegmentData = [..._constants.CLICK_CATEGORY_BRAND, url, title, incrementedIndex.toString()];\n UserAction.dispatch(withSegmentData);\n }, [title, url, index]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {\n href: url,\n onClick: handleAnalytics,\n children: title\n }, id);\n};\nconst PopularBrands = ({\n subCategory,\n activeSubCategory,\n handleSubCategoryClick\n}) => {\n const isMobile = (0, _hooks.useIsMobile)();\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const ownerState = {\n isSubcategoryActive: activeSubCategory === subCategory.linkType\n };\n const popularBrandsClickHandler = (0, _react.useCallback)(() => {\n handleSubCategoryClick(subCategory.linkType);\n }, [handleSubCategoryClick, subCategory.linkType]);\n if (isMobile) {\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.PopularBrandsRoot, {\n \"data-testid\": getTestId(_constants2.POPULAR_BRANDS_ROOT),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.PopularBrandsListElement, {\n disableRipple: true,\n \"data-testid\": getTestId(_constants2.POPULAR_BRANDS_LIST_ELEMENT),\n onClick: popularBrandsClickHandler,\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.PopularBrandsTitle, {\n as: _mui.Typography,\n children: translations.brands\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.PopularBrandsIconWrapper, {\n ownerState: ownerState,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.ArrowDownThin, {\n fontSize: \"inherit\"\n })\n })]\n }), activeSubCategory === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.PopularBrands && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {\n children: [subCategory.children.map((segment, index) => segment.url && /*#__PURE__*/(0, _jsxRuntime.jsx)(ElementWithAnalytics, {\n Component: _styles.PopularBrandsSegment,\n url: segment.url,\n title: segment.title ?? '',\n id: segment.id ?? '',\n index: index\n }, segment.id)), subCategory.url ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.PopularBrandsSegment, {\n href: subCategory.url,\n children: translations.allBrands\n }) : null]\n })]\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.PopularBrandsRoot, {\n \"data-testid\": getTestId(_constants2.POPULAR_BRANDS_ROOT),\n children: [subCategory.url ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.PopularBrandsListElement, {\n \"data-testid\": getTestId(_constants2.POPULAR_BRANDS_LIST_ELEMENT),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ElementWithAnalytics, {\n index: 1,\n id: subCategory.id,\n Component: _styles.PopularBrandsTitle,\n url: subCategory.url,\n title: translations.brands\n })\n }) : null, subCategory.children.map((segment, index) => segment.url && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.PopularBrandsListElement, {\n \"data-testid\": getTestId(_constants2.POPULAR_BRANDS_LIST_ELEMENT),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ElementWithAnalytics, {\n Component: _styles.PopularBrandsSegment,\n url: segment.url,\n title: segment.title ?? '',\n id: segment.id ?? '',\n index: index\n })\n }, segment.id)), subCategory.url ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.PopularBrandsListElement, {\n \"data-testid\": getTestId(_constants2.POPULAR_BRANDS_LIST_ELEMENT),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.PopularBrandsAllBrands, {\n href: subCategory.url,\n children: translations.allBrands\n })\n }) : null]\n });\n};\nexports.PopularBrands = PopularBrands;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _PopularBrands = require(\"./PopularBrands\");\nObject.keys(_PopularBrands).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _PopularBrands[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _PopularBrands[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.PopularBrandsTitle = exports.PopularBrandsSegment = exports.PopularBrandsRoot = exports.PopularBrandsListElement = exports.PopularBrandsIconWrapper = exports.PopularBrandsAllBrands = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nconst PopularBrandsRoot = exports.PopularBrandsRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n listStyle: 'none',\n marginTop: theme.spacing(2),\n '&:last-child': {\n marginBottom: theme.spacing(2)\n },\n [theme.breakpoints.up('md')]: {\n display: 'flex',\n flexDirection: 'column',\n listStyle: 'none',\n margin: theme.spacing(0, 3, 2, 0),\n order: 1,\n padding: 0,\n width: '100%',\n '&:last-child': {\n marginBottom: 'unset'\n }\n }\n}));\nconst PopularBrandsListElement = exports.PopularBrandsListElement = (0, _mui.styled)('div', {\n shouldForwardProp: (0, _presentationUtils.shouldForwardProp)()\n})(({\n theme\n}) => ({\n display: 'flex',\n paddingLeft: theme.spacing(10),\n textAlign: 'left',\n width: '100%',\n [theme.breakpoints.up('md')]: {\n paddingBottom: theme.spacing(2),\n paddingLeft: 0\n }\n}));\nconst PopularBrandsTitle = exports.PopularBrandsTitle = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n color: theme.palette.text.primary,\n display: 'inline-block',\n flexGrow: 1,\n fontSize: theme.typography.h6.fontSize,\n fontWeight: theme.typography.fontWeightBold,\n lineHeight: '2.1rem',\n maxWidth: 235,\n height: 30,\n paddingLeft: 0,\n textDecoration: 'none',\n [theme.breakpoints.up('md')]: {\n display: 'unset',\n maxWidth: 'unset',\n fontSize: '1.6rem',\n '&:hover, &:focus, &:active': {\n color: theme.palette.grey[600],\n WebkitTapHighlightColor: 'transparent'\n }\n }\n}));\nconst PopularBrandsIconWrapper = exports.PopularBrandsIconWrapper = (0, _mui.styled)('span')(({\n ownerState,\n theme\n}) => ({\n fontSize: theme.typography.h6.fontSize,\n lineHeight: '2.2rem',\n marginRight: 18,\n transition: '0.1s ease-in',\n ...(ownerState.isSubcategoryActive && {\n transform: 'rotate(180deg)'\n })\n}));\nconst PopularBrandsSegment = exports.PopularBrandsSegment = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n color: theme.palette.text.primary,\n display: 'block',\n fontSize: '1.6rem',\n fontWeight: theme.typography.fontWeightLight,\n lineHeight: '2.1rem',\n overflow: 'hidden',\n padding: theme.spacing(0, 0, 3, 14),\n textDecoration: 'none',\n textOverflow: 'ellipsis',\n WebkitTapHighlightColor: 'transparent',\n '&:first-of-type': {\n marginTop: theme.spacing(1),\n paddingTop: theme.spacing(3)\n },\n '&:last-of-type': {\n paddingBottom: theme.spacing(2)\n },\n '&:hover, &:focus': {\n color: theme.palette.grey[600]\n },\n '&:active': {\n fontWeight: theme.typography.fontWeightBold\n },\n [theme.breakpoints.up('md')]: {\n padding: 0,\n '&:first-of-type': {\n marginTop: 'unset',\n paddingTop: 'unset'\n },\n '&:hover, &:focus, &:active': {\n color: theme.palette.text.disabled,\n WebkitTapHighlightColor: 'transparent'\n },\n '&:active': {\n fontWeight: 'unset'\n }\n }\n}));\nconst PopularBrandsAllBrands = exports.PopularBrandsAllBrands = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n display: 'none',\n [theme.breakpoints.up('md')]: {\n color: theme.palette.text.primary,\n fontSize: theme.typography.body1.fontSize,\n overflow: 'hidden',\n textDecoration: 'underline',\n textOverflow: 'ellipsis',\n '&:hover, &:focus, &:active': {\n color: theme.palette.text.disabled,\n WebkitTapHighlightColor: 'transparent'\n }\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TOP_LINKS = exports.TITLE_WITH_ICON = exports.TAB_ICON = exports.SPECIAL_LINKS_WRAPPER = exports.SPECIAL_LINK = exports.OUR_STORY_SUPPORT_LINK = exports.OUR_STORY_LINK = exports.LinkTypeIconMapper = exports.LINK_PRIORITIES = exports.LINK_B_FIRST = exports.LINK_A_FIRST = exports.LINKS_ROOT = exports.HEIGHT_BUFFER = exports.FAVORITE_LIST_ITEM = exports.EQUAL_LINKS = exports.CATEGORY_WRAPPER = exports.BURGER_MENU_TOP_ITEM_LINK = exports.BURGER_MENU_TOGGLE_ROOT = exports.BURGER_MENU_TAB_ROOT = exports.BURGER_MENU_TAB_LABEL_WRAPPER = exports.BURGER_MENU_TAB_ICON_WRAPPER = exports.BURGER_MENU_ROOT = exports.BURGER_MENU_LINK_ROOT_MOBILE = exports.BURGER_MENU_LINK_ROOT = exports.BURGER_MENU_LINK_ICON_WRAPPER = exports.BURGER_MENU_LINK_CATEGORY_MOBILE = exports.BURGER_MENU_LINK_CATEGORY = exports.BURGER_MENU_LINK = exports.BURGER_MENU_CONTENT_ROOT = exports.BURGER_MENU_CONTENT = exports.BURGER_MENU_CONTAINER = exports.BURGER_MENU_BACKDROP = exports.BURGER_MENU = exports.ARROW_RIGHT_THIN_ICON = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nconst BURGER_MENU = exports.BURGER_MENU = 'burger-menu';\nconst BURGER_MENU_ROOT = exports.BURGER_MENU_ROOT = 'burger-menu-root';\nconst BURGER_MENU_CONTAINER = exports.BURGER_MENU_CONTAINER = 'burger-menu-container';\nconst BURGER_MENU_TAB_ROOT = exports.BURGER_MENU_TAB_ROOT = 'burger-menu-tab-root';\nconst BURGER_MENU_TAB_ICON_WRAPPER = exports.BURGER_MENU_TAB_ICON_WRAPPER = 'burger-menu-tab-icon-wrapper';\nconst TAB_ICON = exports.TAB_ICON = 'tab-icon';\nconst BURGER_MENU_TAB_LABEL_WRAPPER = exports.BURGER_MENU_TAB_LABEL_WRAPPER = 'burger-menu-tab-label-wrapper';\nconst BURGER_MENU_LINK = exports.BURGER_MENU_LINK = 'burger-menu-link';\nconst BURGER_MENU_LINK_ROOT_MOBILE = exports.BURGER_MENU_LINK_ROOT_MOBILE = 'burger-menu-link-root-mobile';\nconst BURGER_MENU_LINK_CATEGORY_MOBILE = exports.BURGER_MENU_LINK_CATEGORY_MOBILE = 'burger-menu-link-category-mobile';\nconst BURGER_MENU_LINK_ICON_WRAPPER = exports.BURGER_MENU_LINK_ICON_WRAPPER = 'burger-menu-link-icon-wrapper';\nconst BURGER_MENU_CONTENT = exports.BURGER_MENU_CONTENT = 'burger-menu-content';\nconst BURGER_MENU_LINK_ROOT = exports.BURGER_MENU_LINK_ROOT = 'burger-menu-link-root';\nconst BURGER_MENU_LINK_CATEGORY = exports.BURGER_MENU_LINK_CATEGORY = 'burger-menu-link-category';\nconst BURGER_MENU_TOGGLE_ROOT = exports.BURGER_MENU_TOGGLE_ROOT = 'burger-menu-toggle-root';\nconst BURGER_MENU_CONTENT_ROOT = exports.BURGER_MENU_CONTENT_ROOT = 'burger-menu-content-root';\nconst CATEGORY_WRAPPER = exports.CATEGORY_WRAPPER = 'category-wrapper';\nconst BURGER_MENU_BACKDROP = exports.BURGER_MENU_BACKDROP = 'burger-menu-backdrop';\nconst FAVORITE_LIST_ITEM = exports.FAVORITE_LIST_ITEM = 'favorite-list-item';\nconst LINKS_ROOT = exports.LINKS_ROOT = 'links-root';\nconst SPECIAL_LINK = exports.SPECIAL_LINK = 'special-link';\nconst SPECIAL_LINKS_WRAPPER = exports.SPECIAL_LINKS_WRAPPER = 'special-links-wrapper';\nconst OUR_STORY_SUPPORT_LINK = exports.OUR_STORY_SUPPORT_LINK = 'our-story-support-link';\nconst OUR_STORY_LINK = exports.OUR_STORY_LINK = 'our-story-link';\nconst TITLE_WITH_ICON = exports.TITLE_WITH_ICON = 'title-with-icon';\nconst ARROW_RIGHT_THIN_ICON = exports.ARROW_RIGHT_THIN_ICON = 'ArrowRightThinIcon';\nconst BURGER_MENU_TOP_ITEM_LINK = exports.BURGER_MENU_TOP_ITEM_LINK = 'burger-menu-top-item-link';\nconst EQUAL_LINKS = exports.EQUAL_LINKS = 0;\nconst LINK_A_FIRST = exports.LINK_A_FIRST = -1;\nconst LINK_B_FIRST = exports.LINK_B_FIRST = 1;\nconst TOP_LINKS = exports.TOP_LINKS = ['Catalogue', 'BeautyTips', 'FocusPage', 'Inspiration'];\nconst LINK_PRIORITIES = exports.LINK_PRIORITIES = [_staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.Catalogue, _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.FocusPage];\nconst LinkTypeIconMapper = exports.LinkTypeIconMapper = {\n [_staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.Catalogue]: _icons.Catalogue,\n [_staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.FocusPage]: _icons.Sales\n};\nconst HEIGHT_BUFFER = exports.HEIGHT_BUFFER = 20;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _BurgerMenu = require(\"./BurgerMenu\");\nObject.keys(_BurgerMenu).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _BurgerMenu[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _BurgerMenu[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ModalRoot = exports.BurgerMenuRoot = exports.BurgerMenuInner = exports.BurgerMenuContentRoot = exports.BurgerMenuContainer = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _constants = require(\"../../constants\");\nvar _styles = require(\"../styles\");\nvar _constants2 = require(\"./constants\");\nconst BurgerMenuContentRoot = exports.BurgerMenuContentRoot = (0, _mui.styled)('div')(() => ({}));\nconst ModalRoot = exports.ModalRoot = (0, _mui.styled)(_mui.Modal)(({\n theme\n}) => ({\n ..._styles.basePositionStyles,\n zIndex: theme.zIndex.drawer,\n display: 'block'\n}));\nconst BurgerMenuRoot = exports.BurgerMenuRoot = (0, _mui.styled)('aside')(({\n ownerState,\n theme\n}) => ({\n backgroundColor: theme.palette.common.white,\n display: 'none',\n transition: `top ${_constants.CSS_HEIGHT_ANIMATION}`,\n ...(ownerState.isMobile && {\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n maxWidth: 'calc(100% - 45px)',\n position: 'absolute',\n width: 315\n }),\n ...(ownerState.isDesktop && {\n boxShadow: _mui.SHADOW_LEVEL1,\n display: 'flex',\n left: 0,\n minHeight: 590,\n position: 'absolute',\n top: _constants.CSS_DESKTOP_INNER_HEIGHT\n })\n}));\nconst BurgerMenuInner = exports.BurgerMenuInner = (0, _mui.styled)('div')(({\n theme\n}) => ({\n [theme.breakpoints.up('sm')]: {\n display: 'flex',\n width: 'inherit',\n maxHeight: `calc(100vh - ${_constants.DESKTOP_HEIGHT}px - ${_constants2.HEIGHT_BUFFER}px)`,\n overflowX: 'hidden',\n overflowY: 'auto'\n }\n}));\nconst BurgerMenuContainer = exports.BurgerMenuContainer = (0, _mui.styled)('div')({\n display: 'flex',\n height: 54,\n width: '100%'\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useGetNavigationType = exports.getBurgerMenuHeight = void 0;\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _hooks = require(\"../../hooks\");\nconst useGetNavigationType = ({\n link,\n activeLinkType\n}) => {\n const isMobile = (0, _hooks.useIsMobile)();\n const isLinkTypeCatalogue = link?.linkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.Catalogue;\n const isActiveLinkTypeCatalogue = activeLinkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.Catalogue;\n const isCategory = activeLinkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.Category;\n const isInspiration = activeLinkType === 'Inspiration';\n const isBeautyAndTrends = activeLinkType === 'BeautyTips';\n const isBestOffers = activeLinkType === 'FocusPage';\n return {\n isCatalogue: isMobile ? isLinkTypeCatalogue : isActiveLinkTypeCatalogue,\n isCategory,\n isInspiration,\n isBeautyAndTrends,\n isBestOffers\n };\n};\nexports.useGetNavigationType = useGetNavigationType;\nconst getBurgerMenuHeight = ({\n isActiveLink,\n isAlwaysActiveLink,\n burgerMenuHeight\n}) => {\n if (isActiveLink) {\n return burgerMenuHeight;\n } else if (isAlwaysActiveLink) {\n return undefined;\n }\n return 0;\n};\nexports.getBurgerMenuHeight = getBurgerMenuHeight;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.FavoritesHeartIcon = void 0;\nvar UserAction = _interopRequireWildcard(require(\"@ori-events/user-action\"));\nvar _icons = require(\"@ori-ui/icons\");\nvar _auth = require(\"@ori/auth\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _constants = require(\"../../constants\");\nvar _hooks = require(\"../../hooks\");\nvar _useTranslations = require(\"../../hooks/useTranslations\");\nvar _models = require(\"../../models\");\nvar _constants2 = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst FavoritesHeartIcon = () => {\n const {\n isAnonymousUser\n } = (0, _auth.useToken)();\n const [isOnFavorites, setIsOnFavorites] = (0, _react.useState)(false);\n const [ref, Icon] = (0, _hooks.useHover)(_icons.HeartFilled, _icons.Heart, isAnonymousUser);\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n (0, _react.useEffect)(() => {\n setIsOnFavorites(window.location.pathname.includes(_models.FavoritesLink));\n }, []);\n const handleClick = (0, _react.useCallback)(() => {\n UserAction.dispatch(_constants.CLICK_FAVORITE_ICON);\n }, []);\n if (isAnonymousUser) {\n return null;\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.FavoritesHeartRoot, {\n ref: ref,\n \"aria-label\": translations.myFavoriteProducts,\n \"data-testid\": getTestId(_constants2.FAVORITE_HEART_ROOT),\n href: isOnFavorites ? undefined : _models.FavoritesLink,\n onClick: handleClick,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, {\n fontSize: \"inherit\"\n })\n });\n};\nexports.FavoritesHeartIcon = FavoritesHeartIcon;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.FAVORITE_HEART_ROOT = void 0;\nconst FAVORITE_HEART_ROOT = exports.FAVORITE_HEART_ROOT = 'favorite-heart-root';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _FavoritesHeartIcon = require(\"./FavoritesHeartIcon\");\nObject.keys(_FavoritesHeartIcon).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _FavoritesHeartIcon[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _FavoritesHeartIcon[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.HeartFilled = exports.FavoritesHeartRoot = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _mui = require(\"@ori-ui/mui\");\nconst FavoritesHeartRoot = exports.FavoritesHeartRoot = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n display: 'none',\n [theme.breakpoints.up('md')]: {\n color: theme.palette.text.primary,\n display: 'inline-flex',\n fontSize: '3rem',\n height: 'fit-content',\n '&:hover, &:focus, &:active': {\n color: theme.palette.text.primary,\n cursor: 'pointer'\n },\n '& div:first-of-type': {\n alignItems: 'center',\n display: 'flex'\n }\n }\n}));\nconst HeartFilled = exports.HeartFilled = (0, _mui.styled)(_icons.HeartFilled)(({\n theme\n}) => ({\n color: theme.palette.pink[300]\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JoinMenu = void 0;\nvar ToggleMenuFlyout = _interopRequireWildcard(require(\"@ori-events/toggle-menu-flyout\"));\nvar _mui = require(\"@ori-ui/mui\");\nvar _auth = require(\"@ori/auth\");\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _api = require(\"../../api\");\nvar _navigation = require(\"../../context/navigation\");\nvar _hooks = require(\"../../hooks\");\nvar _JoinTileImage = require(\"./components/JoinTileImage/JoinTileImage\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst JoinMenu = () => {\n const {\n isUserVerified,\n isAnonymousUser\n } = (0, _auth.useToken)();\n const {\n activeMenu,\n toggleActiveMenu\n } = (0, _navigation.useActiveMenu)();\n const isMobile = (0, _hooks.useIsMobile)();\n const {\n data: items\n } = (0, _api.useGetNavigationType)({\n type: 'JoinTiles',\n enabled: isAnonymousUser && isUserVerified && !isMobile\n });\n const exitMenu = (0, _react.useCallback)(() => toggleActiveMenu(''), [toggleActiveMenu]);\n const iDontKnowYetLink = (0, _react.useMemo)(() => items.find(({\n linkType\n }) => linkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.IDontKnowYet), [items]);\n const joinTiles = (0, _react.useMemo)(() => items.filter(({\n linkType\n }) => linkType === _staticApiClientReact.StaticNavigationNavigationItemDtoLinkType.MenuTiles), [items]);\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const isMenuActive = activeMenu === ToggleMenuFlyout.MenuTypes.JoinMenu;\n const ownerState = {\n isVisible: isMenuActive\n };\n if (joinTiles.length === 0 || isMobile) {\n return null;\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.JoinMenuRoot, {\n \"data-testid\": getTestId(_constants.JOIN_MENU_ROOT),\n ownerState: ownerState,\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.JoinTilesWrapper, {\n children: joinTiles.map(({\n url,\n imageUrl,\n title,\n description\n }) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.JoinTileLink, {\n \"data-testid\": getTestId(_constants.JOIN_MENU_TILE_LINK),\n href: url,\n children: [imageUrl ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_JoinTileImage.JoinTileImage, {\n image: imageUrl,\n name: title\n }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.JoinTileDescription, {\n \"data-testid\": getTestId(_constants.JOIN_MENU_TILE_DESCRIPTION),\n variant: \"h4\",\n children: description\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.JoinTileButton, {\n className: \"joinTileTitle\",\n variant: \"contained\",\n color: \"primary\",\n children: title\n })]\n }, url))\n }), iDontKnowYetLink?.url ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.JoinMenuIdkyLink, {\n href: iDontKnowYetLink.url,\n children: iDontKnowYetLink.title\n }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Backdrop, {\n open: true,\n \"data-testid\": getTestId(_constants.JOIN_MENU_BACKDROP),\n sx: {\n position: 'absolute',\n zIndex: '-1',\n width: '100vw',\n height: '100vh'\n },\n onClick: exitMenu\n })]\n });\n};\nexports.JoinMenu = JoinMenu;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JoinIcon = void 0;\nvar ToggleMenuFlyoutEvent = _interopRequireWildcard(require(\"@ori-events/toggle-menu-flyout\"));\nvar _mui = require(\"@ori-ui/mui\");\nvar _auth = require(\"@ori/auth\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _api = require(\"../../../../api\");\nvar _navigation = require(\"../../../../context/navigation\");\nvar _hooks = require(\"../../../../hooks\");\nvar _utils = require(\"../../../../utils\");\nvar _constants = require(\"../../constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst JoinIcon = () => {\n const {\n isUserVerified,\n isAnonymousUser\n } = (0, _auth.useToken)();\n const {\n joinLabel,\n joinUrl,\n loading\n } = (0, _navigation.useLabels)();\n const isMobile = (0, _hooks.useIsMobile)();\n const {\n data: items\n } = (0, _api.useGetNavigationType)({\n type: 'JoinTiles',\n enabled: isAnonymousUser && isUserVerified && !isMobile\n });\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const handleClick = (0, _react.useCallback)(() => (0, _utils.dispatchToggleMenu)(ToggleMenuFlyoutEvent.MenuTypes.JoinMenu), []);\n if (loading || !isUserVerified) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.JoinSkeleton, {\n \"data-testid\": getTestId(_constants.JOIN_SKELETON),\n variant: \"rectangular\",\n height: 21,\n width: 120\n });\n }\n if (items.length > 0) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.JoinLabel, {\n disableRipple: true,\n as: _mui.ButtonBase,\n \"data-testid\": getTestId(_constants.JOIN_LABEL),\n onClick: handleClick,\n children: joinLabel\n });\n }\n if (joinUrl) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.JoinLabel, {\n href: joinUrl,\n children: joinLabel\n });\n }\n return null;\n};\nexports.JoinIcon = JoinIcon;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JoinSkeleton = exports.JoinLabel = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nconst JoinLabel = exports.JoinLabel = (0, _mui.styled)(_mui.Link, {\n shouldForwardProp: (0, _presentationUtils.shouldNotForwardProp)(['disableRipple'])\n})(({\n theme\n}) => ({\n display: 'none',\n [theme.breakpoints.up('md')]: {\n color: theme.palette.text.primary,\n display: 'block',\n fontSize: '1.4rem',\n fontWeight: theme.typography.fontWeightBold,\n textDecoration: 'none',\n whiteSpace: 'nowrap',\n textTransform: 'uppercase',\n '&:hover, &:focus, &:active': {\n color: theme.palette.grey[600],\n cursor: 'pointer'\n }\n }\n}));\nconst JoinSkeleton = exports.JoinSkeleton = (0, _mui.styled)(_mui.Skeleton)(({\n theme\n}) => ({\n display: 'none',\n [theme.breakpoints.up('md')]: {\n display: 'block'\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JoinTileImage = void 0;\nvar _imageSizesHelper = require(\"@ori/image-sizes-helper\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst JoinTileImage = ({\n image,\n name\n}) => {\n const imagesVariants = {\n url: image,\n imageFormat: 'WebP',\n imageSizeMultiplier: 2,\n params: [{\n width: 680,\n quality: 90\n }]\n };\n const images = (0, _imageSizesHelper.getImageVariants)(imagesVariants);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(\"img\", {\n src: image,\n alt: name,\n sizes: \"452px\",\n srcSet: (0, _imageSizesHelper.generateSrcSet)(images),\n loading: \"lazy\",\n decoding: \"async\"\n });\n};\nexports.JoinTileImage = JoinTileImage;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JOIN_SKELETON = exports.JOIN_MENU_TILE_LINK = exports.JOIN_MENU_TILE_DESCRIPTION = exports.JOIN_MENU_ROOT = exports.JOIN_MENU_BACKDROP = exports.JOIN_LABEL = void 0;\nconst JOIN_SKELETON = exports.JOIN_SKELETON = 'join-skeleton';\nconst JOIN_LABEL = exports.JOIN_LABEL = 'join-label';\nconst JOIN_MENU_ROOT = exports.JOIN_MENU_ROOT = 'join-menu-root';\nconst JOIN_MENU_TILE_LINK = exports.JOIN_MENU_TILE_LINK = 'join-menu-tile-link';\nconst JOIN_MENU_TILE_DESCRIPTION = exports.JOIN_MENU_TILE_DESCRIPTION = 'join-menu-tile-description';\nconst JOIN_MENU_BACKDROP = exports.JOIN_MENU_BACKDROP = 'join-menu-backdrop';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JoinTilesWrapper = exports.JoinTileLink = exports.JoinTileDescription = exports.JoinTileButton = exports.JoinMenuRoot = exports.JoinMenuIdkyLink = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _constants = require(\"../../constants\");\nconst JoinMenuRoot = exports.JoinMenuRoot = (0, _mui.styled)('div')(({\n ownerState,\n theme\n}) => ({\n backgroundColor: theme.palette.common.white,\n border: `1px solid ${theme.palette.grey[100]}`,\n display: 'none',\n ...(ownerState.isVisible && {\n [theme.breakpoints.up('md')]: {\n boxShadow: _mui.SHADOW_LEVEL1,\n display: 'flex',\n flexDirection: 'column',\n left: 0,\n position: 'absolute',\n top: _constants.CSS_DESKTOP_INNER_HEIGHT,\n transition: `top ${_constants.CSS_HEIGHT_ANIMATION}`,\n width: '100%'\n }\n })\n}));\nconst JoinTilesWrapper = exports.JoinTilesWrapper = (0, _mui.styled)('div')(({\n theme\n}) => ({\n [theme.breakpoints.up('md')]: {\n alignItems: 'center',\n borderBottom: `6px solid ${theme.palette.common.white}`,\n columnGap: 6,\n display: 'grid',\n gridAutoColumns: 'minmax(325px, 680px)',\n gridAutoFlow: 'column',\n gridTemplateRows: 325,\n justifyContent: 'center',\n overflow: 'hidden'\n }\n}));\nconst JoinTileLink = exports.JoinTileLink = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n [theme.breakpoints.up('md')]: {\n color: theme.palette.common.white,\n display: 'flex',\n height: '100%',\n overflow: 'hidden',\n position: 'relative',\n width: '100%',\n '&:hover, &:focus, &:active': {\n color: theme.palette.common.white,\n webkitTapHighlightColor: 'transparent'\n },\n '&:hover::before': {\n background: (0, _mui.alpha)(theme.palette.common.black, 0.3)\n },\n '&:hover': {\n '.joinTileTitle': {\n background: theme.palette.grey.A700,\n borderColor: 'transparent'\n }\n },\n '&::before': {\n background: 'transparent',\n content: '\"\"',\n height: '100%',\n position: 'absolute',\n transition: '0.25s',\n width: '100%'\n },\n '& > img': {\n height: '100%',\n objectFit: 'cover',\n width: '100%'\n }\n }\n}));\nconst JoinTileDescription = exports.JoinTileDescription = (0, _mui.styled)(_mui.Typography)(({\n theme\n}) => ({\n [theme.breakpoints.up('md')]: {\n fontWeight: theme.typography.fontWeightBold,\n margin: theme.spacing(0, 6),\n overflow: 'hidden',\n position: 'absolute',\n textAlign: 'center',\n textOverflow: 'ellipsis',\n textShadow: theme.shadows[1],\n top: '50%',\n transform: 'translateY(-150%)',\n whiteSpace: 'nowrap'\n }\n}));\nconst JoinTileButton = exports.JoinTileButton = (0, _mui.styled)(_mui.Button)(({\n theme\n}) => ({\n [theme.breakpoints.up('md')]: {\n display: '-webkit-box',\n left: '50%',\n maxWidth: 295,\n minWidth: 125,\n overflow: 'hidden',\n position: 'absolute',\n textAlign: 'center',\n textOverflow: 'ellipsis',\n bottom: 60,\n transform: 'translate(-50%, 50%)',\n whiteSpace: 'nowrap'\n }\n}));\nconst JoinMenuIdkyLink = exports.JoinMenuIdkyLink = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n [theme.breakpoints.up('md')]: {\n alignSelf: 'center',\n color: theme.palette.default.main,\n fontSize: '1.5rem',\n fontWeight: theme.typography.fontWeightBold,\n lineHeight: '2.3rem',\n margin: theme.spacing(2, 0),\n textDecoration: 'underline',\n transition: '0.25s',\n '&:hover, &:focus, &:active': {\n color: theme.palette.default.light,\n webkitTapHighlightColor: 'transparent'\n }\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LeftActionsSection = void 0;\nvar _BurgerMenuToggle = require(\"../BurgerMenu/BurgerMenuToggle\");\nvar _OriflameLogo = require(\"../OriflameLogo\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst LeftActionsSection = () => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.LeftActionsSectionRoot, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_BurgerMenuToggle.BurgerMenuToggle, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_OriflameLogo.OriflameLogo, {})]\n});\nexports.LeftActionsSection = LeftActionsSection;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _LeftActionsSection = require(\"./LeftActionsSection\");\nObject.keys(_LeftActionsSection).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _LeftActionsSection[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _LeftActionsSection[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LeftActionsSectionRoot = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst LeftActionsSectionRoot = exports.LeftActionsSectionRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n alignItems: 'center',\n display: 'flex',\n gap: theme.spacing(3),\n [theme.breakpoints.up('sm')]: {\n maxWidth: 'none'\n },\n [theme.breakpoints.up('md')]: {\n gap: theme.spacing(4)\n },\n [theme.breakpoints.up('lg')]: {\n gap: theme.spacing(8)\n }\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.NotificationBellIcon = void 0;\nvar ToggleMenuFlyoutEvent = _interopRequireWildcard(require(\"@ori-events/toggle-menu-flyout\"));\nvar UserAction = _interopRequireWildcard(require(\"@ori-events/user-action\"));\nvar _icons = require(\"@ori-ui/icons\");\nvar _mui = require(\"@ori-ui/mui\");\nvar _auth = require(\"@ori/auth\");\nvar _fetching = require(\"@ori/fetching\");\nvar _globalApiClientReact = require(\"@ori/global-api-client-react\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _constants = require(\"../../constants\");\nvar _hooks = require(\"../../hooks\");\nvar _useTranslations = require(\"../../hooks/useTranslations\");\nvar _utils = require(\"../../utils\");\nvar _constants2 = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst NotificationBellIcon = () => {\n const [ref, Icon] = (0, _hooks.useHover)(_icons.NotificationFilled, _icons.Notification);\n const [isClicked, setIsClicked] = (0, _react.useState)(false);\n const {\n customerId\n } = (0, _auth.useToken)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const {\n data\n } = (0, _globalApiClientReact.useGetCustomerUnseenNotificationsCount)(customerId, {\n [_fetching.CLIENT_APPLICATION]: 'Web' /* notifications API requires value `Web` */\n }, {\n swr: (0, _presentationUtils.getRetryErrorSwrOptions)()\n });\n const {\n count\n } = data ?? {\n count: 0\n };\n const handleClick = (0, _react.useCallback)(() => {\n UserAction.dispatch(_constants.CLICK_NOTIFICATION_ICON);\n setIsClicked(true);\n (0, _utils.dispatchToggleMenu)(ToggleMenuFlyoutEvent.MenuTypes.Notifications);\n }, []);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.NotificationBellIconButton, {\n ref: ref,\n variant: \"text\",\n \"aria-label\": translations.notifications,\n \"data-testid\": getTestId(_constants2.NOTIFICATION_BELL_ICON_BUTTON),\n onClick: handleClick,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Badge, {\n color: \"error\",\n badgeContent: count,\n max: 99,\n \"data-testid\": getTestId(_constants2.NOTIFICATION_BELL_ICON_BELL),\n invisible: isClicked || count === 0,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, {\n fontSize: \"inherit\"\n })\n })\n });\n};\nexports.NotificationBellIcon = NotificationBellIcon;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.NOTIFICATION_BELL_ICON_BUTTON = exports.NOTIFICATION_BELL_ICON_BELL = void 0;\nconst NOTIFICATION_BELL_ICON_BUTTON = exports.NOTIFICATION_BELL_ICON_BUTTON = 'notification-bell-icon-button';\nconst NOTIFICATION_BELL_ICON_BELL = exports.NOTIFICATION_BELL_ICON_BELL = 'notification-bell-icon-bell';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _NotificationBellIcon = require(\"./NotificationBellIcon\");\nObject.keys(_NotificationBellIcon).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _NotificationBellIcon[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _NotificationBellIcon[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.NotificationBellIconButton = void 0;\nvar _components = require(\"@ori-ui/components\");\nvar _mui = require(\"@ori-ui/mui\");\nconst NotificationBellIconButton = exports.NotificationBellIconButton = (0, _mui.styled)(_components.IconButton)(({\n theme\n}) => ({\n color: theme.palette.text.primary,\n fontSize: '3rem',\n padding: 0,\n '&:hover, &:focus, &:active': {\n background: 'none',\n color: theme.palette.text.primary\n }\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.OrderOnBehalf = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationHooks = require(\"@ori/presentation-hooks\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _context = require(\"../../context\");\nvar _useTranslations = require(\"../../hooks/useTranslations\");\nvar _OrderOnBehalfDialog = require(\"./components/OrderOnBehalfDialog\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst OrderOnBehalf = () => {\n const {\n orderOnBehalfData\n } = (0, _context.useTopAreaBanner)();\n const {\n VipAccessData: vipAccessData,\n VipAccessLabels: vipAccessLabels\n } = orderOnBehalfData ?? {};\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n open,\n onClose,\n onOpen\n } = (0, _presentationHooks.useDisclose)();\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n if (!vipAccessData || !vipAccessLabels) {\n return null;\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.OrderContent, {\n \"data-testid\": getTestId(_constants.ORDER_ON_BEHALF),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.NewUserFilled, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Typography, {\n children: translations.loggedInAs\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Username, {\n onClick: onOpen,\n children: vipAccessData.ConsultantName\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_OrderOnBehalfDialog.OrderOnBehalfDialog, {\n open: open,\n close: onClose,\n vipAccessData: vipAccessData,\n vipAccessLabels: vipAccessLabels\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.ArrowRightThin, {})]\n });\n};\nexports.OrderOnBehalf = OrderOnBehalf;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ChangeConsultantForm = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _axios = require(\"@ori/axios\");\nvar _logger = require(\"@ori/logger\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _reactHookForm = require(\"react-hook-form\");\nvar _useTranslations = require(\"../../../../hooks/useTranslations\");\nvar _utils = require(\"../../../../utils\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst ChangeConsultantForm = ({\n vipAccessLabels: {\n ConsultantChangeConsultantNumber\n }\n}) => {\n const logger = (0, _logger.useLogger)('ChangeConsultantForm');\n const abortControllerRef = (0, _react.useRef)(new AbortController());\n const formRef = (0, _react.useRef)(null);\n const [areHintsLoading, setAreHintsLoading] = (0, _react.useState)(false);\n const [consultantNumber, setConsultantNumber] = (0, _react.useState)('');\n const [errorMessage, setErrorMessage] = (0, _react.useState)(null);\n const [hints, setHints] = (0, _react.useState)([]);\n const [isSubmitLocked, setIsSubmitLocked] = (0, _react.useState)(true);\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const {\n register,\n handleSubmit\n } = (0, _reactHookForm.useForm)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const handleChange = (0, _react.useCallback)(event => {\n const {\n value\n } = event.target;\n setConsultantNumber(value);\n setErrorMessage(null);\n setAreHintsLoading(true);\n setIsSubmitLocked(true);\n if (value) {\n _axios.axios.get(_utils.vipOrderUrls.consultantNumbers(value), {\n signal: abortControllerRef.current.signal\n }).then(({\n data\n }) => setHints(data.map((hint, index) => ({\n index,\n hint\n })))).catch(error => {\n if (error instanceof Error && error.name !== 'AbortError') {\n logger.error(new Error('Cannot get consultant numbers', {\n cause: error\n }));\n }\n }).finally(() => {\n setAreHintsLoading(false);\n });\n }\n }, [logger]);\n const handleSelect = (0, _react.useCallback)(event => {\n const {\n textContent: id\n } = event.target;\n setConsultantNumber(id ?? '');\n setHints([]);\n if (id) {\n _axios.axios.post(_utils.vipOrderUrls.accessSwitchValidate(id)).then(({\n data: {\n message,\n result\n }\n }) => {\n setErrorMessage(message);\n setIsSubmitLocked(!result);\n }).catch(error => logger.error(new Error('Cannot validate access switch', {\n cause: error\n })));\n }\n }, [logger]);\n const onSubmit = (0, _react.useCallback)(async () => {\n try {\n const {\n data\n } = await _axios.axios.get(_utils.vipOrderUrls.accessConsultant(consultantNumber));\n const {\n ConsultantNumber: consultant,\n ErrorMessage,\n IsAccessGranted\n } = data;\n if (IsAccessGranted) {\n try {\n await _axios.axios.post(_utils.vipOrderUrls.accessSwitch(consultant));\n formRef.current?.submit();\n } catch (error) {\n setErrorMessage(translations.failedToSubmit);\n logger.error(new Error('Cannot post VipAccessSwitch', {\n cause: error\n }));\n }\n } else {\n setErrorMessage(ErrorMessage);\n }\n } catch (error) {\n logger.error(new Error('Cannot get consultant info', {\n cause: error\n }));\n }\n }, [consultantNumber, translations.failedToSubmit, logger]);\n const renderInput = (0, _react.useCallback)(props => /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.TextField, {\n \"data-testid\": getTestId(_constants.ORDER_ON_BEHALF_DIALOG_CHANGE_CONSULTANT_INPUT),\n variant: \"standard\",\n error: Boolean(errorMessage),\n helperText: errorMessage,\n label: ConsultantChangeConsultantNumber,\n ...register(props.id),\n onChange: handleChange,\n ...props,\n fullWidth: true\n }), [ConsultantChangeConsultantNumber, errorMessage, getTestId, handleChange, register]);\n const getOptionLabel = (0, _react.useCallback)(hint => String(hint.hint), []);\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.VipOrderFormRoot, {\n ref: formRef,\n \"data-testid\": getTestId(_constants.ORDER_FORM_ROOT),\n action: _utils.vipOrderUrls.basket,\n autoComplete: \"off\",\n method: \"POST\",\n onSubmit: handleSubmit(onSubmit),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Autocomplete, {\n fullWidth: true,\n getOptionLabel: getOptionLabel,\n id: \"ConsultantNumber\",\n loading: areHintsLoading,\n loadingText: translations.loading,\n noOptionsText: translations.noOptions,\n options: hints,\n renderInput: renderInput,\n onChange: handleSelect\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Button, {\n fullWidth: true,\n disabled: isSubmitLocked,\n color: \"primary\",\n type: \"submit\",\n variant: \"contained\",\n children: translations.change\n })]\n });\n};\nexports.ChangeConsultantForm = ChangeConsultantForm;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ORDER_ON_BEHALF_DIALOG_CHANGE_CONSULTANT_INPUT = exports.ORDER_FORM_ROOT = void 0;\nconst ORDER_FORM_ROOT = exports.ORDER_FORM_ROOT = 'order-form-root';\nconst ORDER_ON_BEHALF_DIALOG_CHANGE_CONSULTANT_INPUT = exports.ORDER_ON_BEHALF_DIALOG_CHANGE_CONSULTANT_INPUT = 'order-on-behalf-dialog-change-consultant-input';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _ChangeConsultantForm = require(\"./ChangeConsultantForm\");\nObject.keys(_ChangeConsultantForm).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ChangeConsultantForm[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ChangeConsultantForm[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.VipOrderFormRoot = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst VipOrderFormRoot = exports.VipOrderFormRoot = (0, _mui.styled)('form')(({\n theme\n}) => ({\n alignItems: 'center',\n columnGap: theme.spacing(4),\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n overflowX: 'hidden',\n gap: theme.spacing(3)\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.OrderOnBehalfDialog = void 0;\nvar _components = require(\"@ori-ui/components\");\nvar _icons = require(\"@ori-ui/icons\");\nvar _mui = require(\"@ori-ui/mui\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _ChangeConsultantForm = require(\"../ChangeConsultantForm\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst OrderOnBehalfDialog = ({\n vipAccessData,\n vipAccessLabels,\n open,\n close\n}) => {\n const [changeOpened, setChangeOpened] = (0, _react.useState)(false);\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const onChangeOpened = (0, _react.useCallback)(value => () => {\n setChangeOpened(value);\n }, []);\n const header = (0, _react.useMemo)(() => {\n if (changeOpened) {\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BackArrow, {\n \"data-testid\": getTestId(_constants.ORDER_ON_BEHALF_DIALOG_BACK_ARROW),\n onClick: onChangeOpened(false),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.ArrowLeftThin, {})\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Typography, {\n variant: \"h5\",\n component: \"h5\",\n children: vipAccessLabels.ConsultantChangeConsultantNumber\n })]\n });\n }\n return undefined;\n }, [changeOpened, getTestId, onChangeOpened, vipAccessLabels.ConsultantChangeConsultantNumber]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Dialog, {\n \"data-testid\": getTestId(_constants.ORDER_ON_BEHALF_DIALOG),\n header: header,\n open: open,\n hideCloseButton: changeOpened,\n onClose: close,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.PopupContentGroup, {\n children: changeOpened ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChangeConsultantForm.ChangeConsultantForm, {\n vipAccessLabels: vipAccessLabels\n }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.PopupButton, {\n fullWidth: true,\n variant: \"contained\",\n color: \"primary\",\n href: vipAccessData.Links[0]?.Url,\n children: vipAccessData.Links[0]?.Text\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.PopupButton, {\n fullWidth: true,\n variant: \"contained\",\n color: \"primary\",\n onClick: onChangeOpened(true),\n children: vipAccessLabels.ConsultantChangeConsultantNumber\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.PopupLink, {\n variant: \"button\",\n color: \"primary\",\n href: vipAccessData.Links[2]?.Url,\n children: vipAccessData.Links[2]?.Text\n })]\n })\n })\n });\n};\nexports.OrderOnBehalfDialog = OrderOnBehalfDialog;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ORDER_ON_BEHALF_DIALOG_BACK_ARROW = exports.ORDER_ON_BEHALF_DIALOG = void 0;\nconst ORDER_ON_BEHALF_DIALOG = exports.ORDER_ON_BEHALF_DIALOG = 'order-on-behalf-dialog';\nconst ORDER_ON_BEHALF_DIALOG_BACK_ARROW = exports.ORDER_ON_BEHALF_DIALOG_BACK_ARROW = 'order-on-behalf-dialog-back-arrow';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _OrderOnBehalfDialog = require(\"./OrderOnBehalfDialog\");\nObject.keys(_OrderOnBehalfDialog).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _OrderOnBehalfDialog[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _OrderOnBehalfDialog[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Username = exports.PopupLink = exports.PopupContentGroup = exports.PopupButton = exports.OrderContent = exports.BackArrow = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _constants = require(\"../../../TopAreaBanner/constants\");\nconst BackArrow = exports.BackArrow = (0, _mui.styled)(_mui.SvgIcon)(({\n theme\n}) => ({\n cursor: 'pointer',\n position: 'absolute',\n left: theme.spacing(3),\n top: theme.spacing(3)\n}));\nconst OrderContent = exports.OrderContent = (0, _mui.styled)('div')(({\n theme\n}) => ({\n textAlign: 'center',\n margin: '0 auto',\n color: theme.palette.common.white,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n span: {\n lineHeight: theme.typography.pxToRem(_constants.TOP_AREA_BANNER_HEIGHT),\n textTransform: 'uppercase',\n fontSize: '1rem'\n },\n svg: {\n height: '2rem'\n },\n 'svg:first-of-type': {\n marginRight: theme.spacing(1)\n },\n 'svg:last-of-type': {\n marginLeft: theme.spacing(1)\n }\n}));\nconst Username = exports.Username = (0, _mui.styled)(_mui.Typography)(({\n theme\n}) => ({\n textDecoration: 'underline',\n color: theme.palette.common.white,\n marginLeft: theme.spacing(1),\n cursor: 'pointer'\n}));\nconst PopupContentGroup = exports.PopupContentGroup = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n marginTop: theme.spacing(3)\n}));\nconst PopupButton = exports.PopupButton = (0, _mui.styled)(_mui.Button)(({\n theme\n}) => ({\n marginBottom: theme.spacing(3)\n}));\nconst PopupLink = exports.PopupLink = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n marginBottom: theme.spacing(3),\n textAlign: 'center',\n color: theme.palette.common.black\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _OrderOnBehalfDialog = require(\"./OrderOnBehalfDialog\");\nObject.keys(_OrderOnBehalfDialog).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _OrderOnBehalfDialog[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _OrderOnBehalfDialog[key];\n }\n });\n});\nvar _ChangeConsultantForm = require(\"./ChangeConsultantForm\");\nObject.keys(_ChangeConsultantForm).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ChangeConsultantForm[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ChangeConsultantForm[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ORDER_ON_BEHALF = void 0;\nconst ORDER_ON_BEHALF = exports.ORDER_ON_BEHALF = 'order-on-behalf-banner';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _OrderOnBehalf = require(\"./OrderOnBehalf\");\nObject.keys(_OrderOnBehalf).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _OrderOnBehalf[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _OrderOnBehalf[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});\nvar _components = require(\"./components\");\nObject.keys(_components).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _components[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _components[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Username = exports.OrderContent = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _constants = require(\"../TopAreaBanner/constants\");\nconst OrderContent = exports.OrderContent = (0, _mui.styled)('div')(({\n theme\n}) => ({\n textAlign: 'center',\n margin: '0 auto',\n color: theme.palette.common.white,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n span: {\n lineHeight: theme.typography.pxToRem(_constants.TOP_AREA_BANNER_HEIGHT),\n textTransform: 'uppercase',\n fontSize: '1rem'\n },\n svg: {\n height: '2rem'\n },\n 'svg:first-of-type': {\n marginRight: theme.spacing(1)\n },\n 'svg:last-of-type': {\n marginLeft: theme.spacing(1)\n }\n}));\nconst Username = exports.Username = (0, _mui.styled)(_mui.Typography)(({\n theme\n}) => ({\n textDecoration: 'underline',\n color: theme.palette.common.white,\n marginLeft: theme.spacing(1),\n cursor: 'pointer'\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.OriflameLogo = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _useIsMarketCN = require(\"../../hooks/useIsMarketCN\");\nvar _useTranslations = require(\"../../hooks/useTranslations\");\nvar _components = require(\"./components\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst OriflameLogo = () => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const isMarketCN = (0, _useIsMarketCN.useIsMarketCN)();\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constants.ORIFLAME_LOGO_ROOT),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledLink, {\n href: \"/\",\n \"aria-label\": translations.oriflameSweden,\n children: isMarketCN ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.ChineseLogo, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.CommonLogo, {})\n })\n });\n};\nexports.OriflameLogo = OriflameLogo;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ChineseLogo = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst ChineseLogo = () => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Logo, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 151 45\",\n \"data-testid\": getTestId(_constants.CHINESE_LOGO),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M1.598 26.036h36.047v-.32H1.598v.32zm115.862 0h33.492v-.32H117.46v.32zm-69.645-.32c1.012.214 1.49.587 1.49 1.33 0 .8-.638 1.333-1.543 1.333-.745 0-1.33-.27-1.864-.75l.32-.37c.478.42.957.64 1.596.64s1.012-.32 1.012-.8c0-.43-.213-.69-1.17-.91-1.066-.22-1.545-.59-1.545-1.33s.64-1.28 1.5-1.28c.69 0 1.17.21 1.6.58l-.32.42c-.42-.38-.85-.48-1.33-.48-.58 0-.96.32-.96.74 0 .37.22.64 1.23.85zm11.13-2.076h.425l1.278 3.834 1.278-3.78h.586l-1.65 4.58h-.427l-1.278-3.72-1.278 3.73h-.43l-1.65-4.58h.58l1.27 3.78zm13.842.48h-2.822v1.543h2.502v.48h-2.502v1.65h2.822v.425h-3.354v-4.58h3.354zm9.743-.48h-1.596v4.58h1.597c1.44 0 2.45-1.013 2.45-2.29s-1.01-2.29-2.45-2.29zm0 4.1h-1.064v-3.62h1.065c1.18 0 1.92.798 1.92 1.81 0 1.064-.74 1.81-1.91 1.81zm13.74-3.62h-2.823v1.543h2.502v.48h-2.51v1.65h2.82v.425h-3.35v-4.58h3.35zm11.873-.48h.532v4.58h-.426l-2.99-3.728v3.72h-.48v-4.58h.48l2.87 3.67zM46.483 2.023h2.397V17.89h-2.396zM60.275 17.89h-2.343V2.023H69.54V4.26h-9.265v4.79h8.253v2.237h-8.253zm27.687 0h-10.97V2.023h2.397v13.63h8.57zm34.663-4.153l-5.058-7.56V17.89h-2.29V2.023h2.236l5.378 8.04 5.38-8.04h2.24V17.89h-2.39V6.123l-5.27 7.934zm28.38 4.153h-11.767V2.023h11.66V4.26h-9.318v4.525h8.306v2.236h-8.306v4.69h9.425zM34.078 11.553c2.45-.638 3.94-2.342 3.94-4.685 0-2.982-2.343-4.9-5.857-4.9h-6.92v15.868h2.4V11.98h3.89l4.32 5.91h3.04l-4.8-6.337zm-6.443-1.756V4.26H32c2.29 0 3.568.958 3.568 2.716 0 1.704-1.384 2.822-3.567 2.822h-4.36zm74.278-7.88H99.89L92.64 17.89h2.5l1.81-4.1h7.77l1.81 4.1h2.61L101.9 1.916zM97.92 11.66l2.98-6.815 2.98 6.815h-5.96zM18.31 8.998c0 5.058-4.1 9.158-9.16 9.158S0 14.056 0 8.998C0 4.472 3.302.692 7.615 0v.053c-3.355 1.33-5.378 4.473-5.378 8.2 0 4.74 3.354 7.454 6.922 7.454 3.72 0 6.7-3.035 6.7-6.71 0-3.194-2.5-5.856-5.81-5.856-3.78 0-5.59 3.46-5.59 3.46h-.05s1.71-4.94 6.66-4.94c3.09 0 7.24 2.5 7.24 7.35zm33.53 34.645c-.28-.06-1.147-.093-2.6-.093s-2.382.03-2.79.094c.02-.87.03-1.62.03-2.25v-5.28c0-.76-.01-1.5-.03-2.22.336.06 1.264.08 2.785.08s2.44-.03 2.757-.08v.87c-.318-.07-.865-.11-1.643-.11h-3.08v8.19h3.08c.72 0 1.22-.04 1.49-.12v.93zm-1.968-5.552c.534-1.04.86-1.9.978-2.59.262.16.497.28.7.34.203.06.306.13.306.19s-.07.13-.22.21c-.143.07-.35.4-.608.99-.262.59-.493 1.08-.693 1.49.564.73 1.16 1.57 1.795 2.53l-.76.45c-.27-.58-.736-1.34-1.398-2.28-.462.82-1.028 1.62-1.696 2.42-.16-.21-.404-.33-.732-.38.76-.75 1.42-1.64 1.98-2.66-.737-1.05-1.37-1.85-1.9-2.41l.513-.39c.506.57 1.084 1.28 1.736 2.13zm5.022 2.47c-.263 1.73-1.275 3.31-3.04 4.74-.156-.31-.42-.53-.8-.66 1.187-.64 2.03-1.49 2.54-2.53.505-1.05.767-2.64.786-4.78.28.08.515.12.706.12l.283-.01c.1 0 .15.03.15.1s-.06.14-.17.23c-.11.09-.22.51-.31 1.26.38 1.41.82 2.49 1.33 3.27s1.24 1.46 2.19 2.05c-.26.21-.46.47-.61.79-1.64-1.3-2.67-2.82-3.07-4.54zm-1.238-4.58c-.326 1.07-.738 2.09-1.235 3.07-.23-.23-.5-.36-.79-.39.46-.58.86-1.4 1.21-2.47s.59-2.18.7-3.3c.33.15.61.24.84.27s.35.07.35.14-.05.13-.16.21c-.16.11-.39.7-.69 1.77h1.72c.96 0 1.81-.05 2.55-.14l-1.07 2.96-.71-.26.67-1.88h-3.37zm20.12-1.23c-.736 0-1.3.04-1.698.11v-.84c.444.07 1.127.11 2.05.11s1.604-.04 2.048-.11v.85c-.38-.07-.914-.11-1.6-.11V38c.625 0 1.106-.038 1.44-.11v.882c-.38-.08-.86-.123-1.44-.123v3.46c.625-.18 1.146-.37 1.56-.58-.036.13-.05.25-.05.38s.02.28.07.46c-1.62.36-3.02.78-4.197 1.27-.08-.37-.22-.71-.41-1.02.55 0 1.29-.1 2.22-.32v-3.68c-.64 0-1.15.04-1.56.12v-.88c.35.08.87.12 1.56.12v-3.25zm5.62 3.65c-1.42.01-2.448.05-3.083.11v-.84c.774.07 2.06.11 3.866.11s3.09-.03 3.87-.11v.84c-.77-.07-2.04-.11-3.82-.11l-.49 1.4c1.4 0 2.68-.05 3.85-.15-.05.49-.07 1.01-.07 1.58v2.73c0 .36-.05.61-.14.76-.09.15-.27.26-.54.31-.27.06-.72.1-1.35.12 0-.08.01-.16.01-.23 0-.26-.1-.5-.3-.7.39.09.7.14.92.14.38 0 .58-.16.58-.47V40.4h-1.35v2.256c0 .552.02.99.06 1.314h-.87c.03-.325.05-.762.05-1.315v-2.26h-1.25v2.32c0 .55.02.99.07 1.32h-.87c.03-.36.05-.79.05-1.32v-2.32h-1.27v4.71h-.87c.05-.43.08-.86.08-1.31v-2.59c0-.59-.03-1.11-.08-1.56.7.06 1.51.1 2.43.12.21-.5.37-.96.47-1.39zm1.043-2.33h2.12v-1.39c0-.44-.02-.77-.07-.99.37.05.64.07.8.07.16 0 .24.04.24.12s-.03.16-.1.23c-.1.11-.13.98-.11 2.61-.76-.04-1.86-.07-3.29-.07s-2.52.03-3.25.07c.05-.31.08-.63.08-.98V34.5c0-.352-.03-.624-.08-.814.22.072.44.11.66.11l.35-.016c.11 0 .16.04.16.115 0 .078-.06.175-.18.294-.12.12-.17.74-.14 1.87h2.01v-1.68c0-.54-.03-.95-.1-1.24.22.06.39.09.53.09.13 0 .24-.01.33-.02s.13-.02.14-.02c.08 0 .12.03.12.09s-.03.12-.08.16c-.12.08-.18.34-.18.79v1.81zm24.98-1.68c1.26 0 2.32-.03 3.19-.11v.89c-.87-.07-1.93-.11-3.19-.11v1.04h-.8v-1.05h-3.36v1.14h-.79v-1.14c-1.46 0-2.62.04-3.49.11v-.88c.86.07 2.02.11 3.49.11-.02-.73-.05-1.25-.08-1.56.35.06.67.08.96.08.09 0 .13.03.13.09s-.03.11-.08.15c-.1.06-.15.2-.15.42v.83h3.35c0-.69-.03-1.21-.08-1.57.35.06.68.08.97.08.09 0 .13.03.13.07 0 .05-.03.09-.08.13-.1.06-.15.21-.15.42v.88zm-6.27 8.57v-3.17c-.9 0-1.5.02-1.81.06v-.87c.42.06.86.1 1.32.1s.9-.03 1.33-.09c-.07.31-.11.85-.11 1.62v2.47c.83.47 1.55.78 2.16.95s1.42.26 2.43.26c1.01 0 2.58-.08 4.7-.23-.23.25-.35.56-.36.95-.83.01-1.76.01-2.78.01s-1.91-.03-2.67-.08c-.76-.06-1.36-.15-1.8-.28-.44-.13-.9-.33-1.39-.62-.3-.17-.54-.25-.74-.25-.19 0-.4.11-.61.31s-.47.54-.77.99c-.22-.27-.47-.46-.76-.57 1-.97 1.62-1.48 1.83-1.51zm1.23-5.45l-.64.54c-.5-.71-1.05-1.34-1.65-1.89l.56-.51c.59.6 1.16 1.22 1.71 1.84zm2.59.41c-.83 0-1.56.04-2.22.11v-.83c.63.06 1.48.09 2.55.09.26-.51.43-.98.5-1.43.36.19.63.3.79.34.17.04.25.09.25.16s-.04.12-.12.17c-.21.1-.43.35-.66.74h1.63c1 0 1.86-.03 2.6-.09V38c-.74-.07-1.61-.11-2.61-.11h-1.98c-.33.59-.68 1.17-1.06 1.74h1.73c-.02-.57-.04-.99-.06-1.26.24.04.45.07.62.07l.35-.02c.13 0 .19.03.19.1 0 .06-.05.13-.16.21s-.17.38-.17.9c1.2 0 2.08-.038 2.63-.1v.8c-.5-.07-1.37-.11-2.63-.12v1.3c1.49 0 2.59-.03 3.3-.09v.79c-.7-.06-1.8-.094-3.3-.094 0 .67.03 1.31.08 1.915h-.94c.05-.49.08-1.13.08-1.91-1.73 0-2.96.03-3.69.1v-.79c.92.06 2.15.1 3.69.1v-1.3c-1.31.01-2.29.09-2.95.256-.01-.32-.12-.57-.31-.75.42-.14.75-.34.99-.62.24-.27.52-.68.83-1.23z\"\n })\n });\n};\nexports.ChineseLogo = ChineseLogo;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CHINESE_LOGO = void 0;\nconst CHINESE_LOGO = exports.CHINESE_LOGO = 'cn';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _ChineseLogo = require(\"./ChineseLogo\");\nObject.keys(_ChineseLogo).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ChineseLogo[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ChineseLogo[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Logo = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _styles = require(\"../styles\");\nconst Logo = exports.Logo = (0, _mui.styled)(_styles.OriflameLogoSvg)(({\n theme\n}) => ({\n [theme.breakpoints.up('md')]: {\n width: 160\n }\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CommonLogo = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _styles = require(\"../styles\");\nvar _constants = require(\"./constants\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst CommonLogo = () => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.OriflameLogoSvg, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 139 31\",\n \"data-testid\": getTestId(_constants.COMMON_LOGO),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M57.98 28.94l-1.595-4.904h-.98L53.81 28.94l-1.593-4.91h-1.23l2.206 6.62h.98l1.716-4.66 1.59 4.66h.98l2.2-6.62h-1.22zM1.334 26.857h33.35v.98H1.334v-.98zm41.318-24.89h2.207v14.59h-2.21V1.967zm10.544 14.59h2.207v-6.13h7.602V8.343h-7.61V3.93h8.46V1.966h-10.66zM8.324 16.8c4.66 0 8.46-3.8 8.46-8.46 0-4.534-3.8-6.62-6.62-6.62-5.518 0-5.886 5.396-5.886 5.396h.13s.98-3.923 4.78-3.923c3.07 0 5.4 2.084 5.4 5.027 0 3.43-2.82 6.25-6.25 6.25-3.31 0-6.372-2.45-6.372-6.87 0-3.44 1.84-6.26 5.027-7.48V0C2.947.61.003 4.17.003 8.33c-.122 4.66 3.68 8.46 8.338 8.46zm36.78 10.056c-1.225-.245-1.593-.49-1.593-.98s.37-.737 1.11-.737c.62 0 1.23.24 1.72.61l.617-.85c-.613-.49-1.47-.86-2.33-.86-1.35 0-2.207.74-2.207 1.96s.73 1.6 2.2 1.96c1.22.25 1.47.49 1.47.98s-.49.86-1.1.86c-.86 0-1.47-.37-2.09-.86l-.74.86c.735.74 1.716 1.11 2.696 1.11 1.35 0 2.33-.73 2.33-1.96 0-1.35-.738-1.84-2.086-2.08zm-9.317-10.3l-4.414-5.884c2.207-.61 3.678-2.2 3.678-4.29 0-2.69-2.2-4.53-5.39-4.53h-6.38v14.59h2.2v-5.4h3.55l4.05 5.4 2.7.126zm-10.3-7.48V3.93h4.047c2.084 0 3.31.86 3.31 2.453s-1.35 2.575-3.31 2.575h-4.047zm40.706 18.76h3.31v-1.102h-3.31V25.14h3.678v-1.103h-4.78v6.498h4.78v-.98H66.2zM91.817 1.844l-6.62 14.713h2.33l1.715-3.8h7.11l1.595 3.8h2.452L93.78 1.844h-1.964zm-1.838 8.95l2.69-6.252 2.69 6.26h-5.4zm18.14-5.026l4.66 6.866.24.368.24-.36 4.536-6.86v10.79h2.207v-14.6h-2.084l-4.904 7.356-4.906-7.356h-2.08v14.59h2.085zm0 21.088h30.89v.98h-30.89v-.98zm22.19-12.383v-4.29h7.6V8.098h-7.6v-4.17h8.58v-1.96h-10.78v14.59h10.79V14.47zM98.93 28.57l-3.557-4.534H94.27v6.498h1.226v-4.536l3.55 4.536h.98v-6.498h-1.1zM72.936 1.968h-2.084v14.59h10.054v-2.084h-7.97zm13.12 25.87h3.31v-1.103h-3.31V25.14h3.677v-1.103H84.95v6.498h4.905v-.98h-3.81zm-9.197-3.8H74.4v6.497h2.453c2.083 0 3.432-1.47 3.432-3.31.122-1.717-1.35-3.188-3.434-3.188zm0 5.516h-1.35V25.14h1.35c1.35 0 2.2.98 2.2 2.206.12 1.226-.86 2.207-2.21 2.207z\"\n })\n });\n};\nexports.CommonLogo = CommonLogo;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.COMMON_LOGO = void 0;\nconst COMMON_LOGO = exports.COMMON_LOGO = 'common';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _CommonLogo = require(\"./CommonLogo\");\nObject.keys(_CommonLogo).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _CommonLogo[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _CommonLogo[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _ChineseLogo = require(\"./ChineseLogo\");\nObject.keys(_ChineseLogo).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ChineseLogo[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ChineseLogo[key];\n }\n });\n});\nvar _CommonLogo = require(\"./CommonLogo\");\nObject.keys(_CommonLogo).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _CommonLogo[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _CommonLogo[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.OriflameLogoSvg = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _constants = require(\"../../../constants\");\nconst OriflameLogoSvg = exports.OriflameLogoSvg = (0, _mui.styled)('svg')(({\n theme\n}) => ({\n width: 90,\n transition: `width ${_constants.CSS_HEIGHT_ANIMATION}`,\n [theme.breakpoints.up('md')]: {\n width: 118\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ORIFLAME_LOGO_ROOT = void 0;\nconst ORIFLAME_LOGO_ROOT = exports.ORIFLAME_LOGO_ROOT = 'oriflame-logo';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _OriflameLogo = require(\"./OriflameLogo\");\nObject.keys(_OriflameLogo).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _OriflameLogo[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _OriflameLogo[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.StyledLink = exports.Root = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst Root = exports.Root = (0, _mui.styled)('div')({\n textAlign: 'center'\n});\nconst StyledLink = exports.StyledLink = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n lineHeight: 0,\n display: 'block',\n svg: {\n fill: theme.palette.text.primary\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.RightActionsSection = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _useShouldRenderNotificationMenu = require(\"../../hooks/useShouldRenderNotificationMenu\");\nvar _FavoritesHeartIcon = require(\"../FavoritesHeartIcon\");\nvar _JoinIcon = require(\"../Join/components/JoinIcon/JoinIcon\");\nvar _NotificationBellIcon = require(\"../NotificationBellIcon\");\nvar _SearchIcon = require(\"../SearchIcon\");\nvar _SearchInput = require(\"../SearchInput\");\nvar _ShoppingBagIcon = require(\"../ShoppingBagIcon\");\nvar _UserSection = require(\"../UserSection\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst RightActionsSection = () => {\n const {\n isAnonymousUser\n } = (0, _auth.useToken)();\n const shouldShowNotificationMenu = (0, _useShouldRenderNotificationMenu.useShouldRenderNotificationMenu)();\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.RightActionsSectionRoot, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SearchInput.SearchInput, {\n showOnlyOn: \"desktop\"\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SearchIcon.SearchIcon, {}), isAnonymousUser ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_JoinIcon.JoinIcon, {}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_UserSection.UserSection, {}), shouldShowNotificationMenu ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_NotificationBellIcon.NotificationBellIcon, {}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_FavoritesHeartIcon.FavoritesHeartIcon, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ShoppingBagIcon.ShoppingBagIcon, {})]\n });\n};\nexports.RightActionsSection = RightActionsSection;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _RightActionsSection = require(\"./RightActionsSection\");\nObject.keys(_RightActionsSection).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _RightActionsSection[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _RightActionsSection[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.RightActionsSectionRoot = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst RightActionsSectionRoot = exports.RightActionsSectionRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n alignItems: 'center',\n display: 'flex',\n gap: theme.spacing(3),\n justifySelf: 'end',\n justifyContent: 'flex-end',\n marginLeft: theme.spacing(3),\n width: '100%',\n [theme.breakpoints.up('sm')]: {\n justifyContent: 'end'\n },\n [theme.breakpoints.up('md')]: {\n gap: theme.spacing(4),\n marginLeft: theme.spacing(4),\n maxWidth: 'none'\n },\n [theme.breakpoints.up('lg')]: {\n gap: theme.spacing(8),\n marginLeft: theme.spacing(8)\n }\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchIcon = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _navigation = require(\"../../context/navigation\");\nvar _useSearchInputPlaceholder = require(\"../../hooks/useSearchInputPlaceholder\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst SearchIcon = () => {\n const {\n hideSearchResultsTab\n } = (0, _navigation.useActiveMenu)();\n const {\n isVisible,\n hide,\n show,\n manualShow,\n manualHide\n } = (0, _navigation.useSearchInput)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const searchPlaceholder = (0, _useSearchInputPlaceholder.useSearchInputPlaceholder)();\n const handleClick = (0, _react.useCallback)(() => {\n if (isVisible) {\n manualHide();\n hide();\n hideSearchResultsTab();\n } else {\n show();\n manualShow();\n }\n }, [hide, hideSearchResultsTab, isVisible, manualHide, manualShow, show]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SearchIconRoot, {\n disableRipple: true,\n \"aria-label\": searchPlaceholder,\n \"data-testid\": getTestId(_constants.SEARCH_ICON),\n onClick: handleClick,\n children: isVisible ? null : /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Search, {\n fontSize: \"inherit\"\n })\n });\n};\nexports.SearchIcon = SearchIcon;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SEARCH_ICON = void 0;\nconst SEARCH_ICON = exports.SEARCH_ICON = 'search-icon';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _SearchIcon = require(\"./SearchIcon\");\nObject.keys(_SearchIcon).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchIcon[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchIcon[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchIconRoot = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst SearchIconRoot = exports.SearchIconRoot = (0, _mui.styled)(_mui.ButtonBase)(({\n theme\n}) => ({\n color: theme.palette.text.primary,\n display: 'none',\n fontSize: '3rem',\n [theme.breakpoints.down('md')]: {\n display: 'inline-flex'\n }\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchInput = void 0;\nvar _toggleMenuFlyout = _interopRequireWildcard(require(\"@ori-events/toggle-menu-flyout\"));\nvar ToggleMenuFlyout = _toggleMenuFlyout;\nvar UserAction = _interopRequireWildcard(require(\"@ori-events/user-action\"));\nvar _icons = require(\"@ori-ui/icons\");\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationHooks = require(\"@ori/presentation-hooks\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _useDebounce = require(\"use-debounce\");\nvar _constants = require(\"../../constants\");\nvar _context = require(\"../../context\");\nvar _navigation = require(\"../../context/navigation\");\nvar _hooks = require(\"../../hooks\");\nvar _useTranslations = require(\"../../hooks/useTranslations\");\nvar _utils = require(\"../../utils\");\nvar _SearchPreviewContainer = require(\"./components/SearchPreviewContainer\");\nvar _constants2 = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _utils2 = require(\"./utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst SCROLL_THRESHOLD = _constants.SEARCH_INPUT_HEIGHT + 5;\nconst SearchInput = ({\n showOnlyOn\n}) => {\n const {\n showSearchOnScroll\n } = (0, _context.useAppConfig)();\n const {\n visible: isTopBannerVisible\n } = (0, _context.useTopAreaBanner)();\n const {\n activeMenu,\n hideSearchResultsTab,\n toggleActiveMenu\n } = (0, _navigation.useActiveMenu)();\n const {\n hide,\n show,\n isVisible,\n focus,\n blur,\n clearResults,\n value,\n isManuallyOpened,\n setValue,\n manualHide,\n isFocused,\n debouncedValue\n } = (0, _navigation.useSearchInput)();\n const isMenuActive = activeMenu === ToggleMenuFlyout.MenuTypes.SearchResults;\n const isAccountSideMenuActive = activeMenu === ToggleMenuFlyout.MenuTypes.AccountSideMenu;\n const isMobile = (0, _hooks.useIsMobile)();\n const inputRef = (0, _react.useRef)(null);\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const [prevScrollY, setPrevScrollY] = (0, _react.useState)(0);\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n (0, _utils2.useRemoveBodyScroll)(isMenuActive && isMobile);\n const throttledAnalytics = (0, _useDebounce.useThrottledCallback)(() => UserAction.dispatch(_constants.START_SEARCH), _constants.SEARCH_THROTTLE_TIME);\n const onFocusHandler = (0, _react.useCallback)(() => {\n focus();\n }, [focus]);\n const showBackdrop = (0, _utils2.shouldShowBackdrop)({\n isFocused,\n isMenuActive,\n isMobile\n });\n const onChangeHandler = (0, _react.useCallback)(({\n target\n }) => {\n const isValueEmpty = target.value.length === 0;\n if (isValueEmpty) {\n toggleActiveMenu('');\n clearResults();\n }\n setValue(target.value);\n throttledAnalytics();\n if (!isValueEmpty && !isMenuActive) {\n (0, _utils.dispatchToggleMenu)(ToggleMenuFlyout.MenuTypes.SearchResults);\n }\n }, [setValue, throttledAnalytics, isMenuActive, toggleActiveMenu, clearResults]);\n (0, _react.useEffect)(() => {\n const showWithoutFocus = () => {\n show();\n blur();\n };\n const handleScroll = () => {\n const currentScrollY = window.scrollY;\n const difference = currentScrollY - prevScrollY;\n if (difference > SCROLL_THRESHOLD && isMobile && !isManuallyOpened && !isAccountSideMenuActive) {\n hide();\n hideSearchResultsTab();\n } else if (difference < -SCROLL_THRESHOLD && isMobile && !isAccountSideMenuActive) {\n showWithoutFocus();\n }\n setPrevScrollY(currentScrollY);\n };\n const handleScrollDebounced = (0, _mui.debounce)(handleScroll, 50);\n if (showSearchOnScroll) {\n window.addEventListener('scroll', handleScrollDebounced);\n }\n return () => window.removeEventListener('scroll', handleScrollDebounced);\n }, [isMobile, show, hide, blur, hideSearchResultsTab, isManuallyOpened, prevScrollY, showSearchOnScroll, isAccountSideMenuActive]);\n const closeSearch = (0, _react.useCallback)(() => {\n manualHide();\n hide();\n hideSearchResultsTab();\n }, [hide, hideSearchResultsTab, manualHide]);\n const clearInput = (0, _react.useCallback)(() => {\n setValue('');\n clearResults();\n toggleActiveMenu(_toggleMenuFlyout.MenuTypes.SearchInput);\n blur();\n }, [blur, clearResults, setValue, toggleActiveMenu]);\n const handleOnBlur = (0, _react.useCallback)(() => {\n if (!value) {\n blur();\n }\n }, [blur, value]);\n (0, _presentationHooks.useListenToKeyDown)(['Escape'], () => {\n if (isFocused) {\n inputRef.current?.blur();\n handleOnBlur();\n closeSearch();\n }\n });\n const isVisibleOnMobile = showOnlyOn === 'mobile' && isVisible;\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.SearchInputRoot, {\n isTopBannerVisible: isTopBannerVisible,\n isVisibleOnMobile: isVisibleOnMobile,\n showSearchOnScroll: showSearchOnScroll,\n showOnlyOn: showOnlyOn,\n isFocused: isFocused,\n \"data-testid\": getTestId(showOnlyOn === 'mobile' ? _constants2.SEARCH_INPUT_ROOT_MOBILE : _constants2.SEARCH_INPUT_ROOT_DESKTOP),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Inner, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.SearchInputBox, {\n \"data-testid\": getTestId(_constants2.SEARCH_INPUT_BOX),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Search, {\n fontSize: \"medium\",\n \"data-testid\": getTestId(_constants2.SEARCH)\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SearchInputInput, {\n ref: inputRef,\n autoFocus: isManuallyOpened,\n type: \"text\",\n placeholder: translations.searchDesktop,\n value: value,\n \"data-testid\": getTestId(_constants2.SEARCH_INPUT),\n onFocus: onFocusHandler,\n onChange: onChangeHandler,\n onBlur: handleOnBlur,\n onKeyDown: _utils2.onEnterPressHandler\n }), value ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SearchInputClear, {\n disableRipple: true,\n \"aria-label\": translations.clearSearchInput,\n \"data-testid\": getTestId(_constants2.SEARCH_INPUT_CLEAR),\n isFocused: isFocused,\n onClick: clearInput,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Clear, {\n fontSize: \"inherit\"\n })\n }) : null]\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SearchPreviewContainer.SearchPreviewContainer, {\n query: debouncedValue\n })]\n }), showBackdrop ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.InputBackdrop, {\n open: true,\n \"data-testid\": getTestId(_constants2.BACKDROP),\n onClick: closeSearch\n }) : null]\n });\n};\nexports.SearchInput = SearchInput;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchPreviewContainer = void 0;\nvar ToggleMenuFlyout = _interopRequireWildcard(require(\"@ori-events/toggle-menu-flyout\"));\nvar _presentationHooks = require(\"@ori/presentation-hooks\");\nvar _configurationContext = require(\"../../../../context/configurationContext\");\nvar _navigation = require(\"../../../../context/navigation\");\nvar _topAreaBannerContext = require(\"../../../../context/topAreaBannerContext\");\nvar _SearchPreview = require(\"../../../SearchPreview\");\nvar _SearchPreviewSkeleton = require(\"../../../SearchPreviewSkeleton\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst SearchPreviewContainer = ({\n query\n}) => {\n const {\n activeMenu\n } = (0, _navigation.useActiveMenu)();\n const {\n height\n } = (0, _presentationHooks.useWindowSize)();\n const {\n results,\n isLoading\n } = (0, _navigation.useSearchInput)();\n const isActive = activeMenu === ToggleMenuFlyout.MenuTypes.SearchResults;\n const {\n visible: isTopBannerVisible\n } = (0, _topAreaBannerContext.useTopAreaBanner)();\n const {\n showSearchOnScroll\n } = (0, _configurationContext.useAppConfig)();\n if (!isActive || !query) {\n return null;\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SearchPreviewRoot, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SearchPreviewContent, {\n innerHeight: height,\n isTopBannerVisible: isTopBannerVisible,\n showSearchOnScroll: showSearchOnScroll,\n children: isLoading ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_SearchPreviewSkeleton.SearchPreviewSkeleton, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_SearchPreview.SearchPreview, {\n query: query,\n numberOfProducts: results?.numberOfProducts ?? 0,\n products: results?.products ?? [],\n suggestions: results?.suggestions ?? []\n })\n })\n });\n};\nexports.SearchPreviewContainer = SearchPreviewContainer;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _SearchPreviewContainer = require(\"./SearchPreviewContainer\");\nObject.keys(_SearchPreviewContainer).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewContainer[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewContainer[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchPreviewRoot = exports.SearchPreviewContent = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _constants = require(\"../../../../constants\");\nvar _getMobileCssVariable = require(\"../../../../utils/getMobileCssVariable\");\nvar _constants2 = require(\"../../../SearchPreview/constants\");\nvar _constants3 = require(\"../../constants\");\nconst SearchPreviewRoot = exports.SearchPreviewRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n background: theme.palette.common.white,\n boxSizing: 'border-box',\n color: theme.palette.text.primary,\n display: 'flex',\n flexDirection: 'column',\n left: 0,\n padding: theme.spacing(3, 0),\n position: 'absolute',\n top: _constants.SEARCH_INPUT_HEIGHT,\n transition: `top ${_constants.CSS_HEIGHT_ANIMATION}`,\n width: '100%',\n [theme.breakpoints.up('md')]: {\n position: 'static',\n padding: 0,\n borderRadius: theme.spacing(0, 0, 3, 3)\n }\n}));\nconst SearchPreviewContent = exports.SearchPreviewContent = (0, _mui.styled)('div', {\n shouldForwardProp: (0, _presentationUtils.shouldForwardProp)()\n})(({\n innerHeight,\n isTopBannerVisible,\n showSearchOnScroll,\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n height: `calc(${innerHeight}px - ${_constants.SEARCH_PREVIEW_SEE_ALL_HEIGHT}px - ${(0, _getMobileCssVariable.getSearchInputTopAttribute)({\n isTopBannerVisible,\n showSearchOnScroll\n })} - ${_constants.SEARCH_INPUT_HEIGHT}px)`,\n position: 'relative',\n width: '100%',\n overscrollBehaviorY: 'contain',\n overflowY: 'scroll',\n [theme.breakpoints.up('md')]: {\n height: `min(${_constants2.MAX_SEARCH_HEIGHT - _constants3.SEARCH_INPUT_BOX_HEIGHT}px, calc(${innerHeight}px - ${_constants.CSS_DESKTOP_HEIGHT}))`,\n overflowY: 'visible'\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SEARCH_INPUT_ROOT_MOBILE = exports.SEARCH_INPUT_ROOT_DESKTOP = exports.SEARCH_INPUT_CLEAR = exports.SEARCH_INPUT_BOX_HEIGHT = exports.SEARCH_INPUT_BOX = exports.SEARCH_INPUT = exports.SEARCH = exports.BACKDROP = void 0;\nconst SEARCH_INPUT_ROOT_DESKTOP = exports.SEARCH_INPUT_ROOT_DESKTOP = 'search-input-root-desktop';\nconst SEARCH_INPUT_ROOT_MOBILE = exports.SEARCH_INPUT_ROOT_MOBILE = 'search-input-root-mobile';\nconst SEARCH_INPUT_BOX = exports.SEARCH_INPUT_BOX = 'search-input-box';\nconst SEARCH_INPUT = exports.SEARCH_INPUT = 'search-input';\nconst SEARCH = exports.SEARCH = 'search';\nconst SEARCH_INPUT_CLEAR = exports.SEARCH_INPUT_CLEAR = 'search-input-clear';\nconst BACKDROP = exports.BACKDROP = 'backdrop';\nconst SEARCH_INPUT_BOX_HEIGHT = exports.SEARCH_INPUT_BOX_HEIGHT = 44;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _SearchInput = require(\"./SearchInput\");\nObject.keys(_SearchInput).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchInput[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchInput[key];\n }\n });\n});\nvar _styles = require(\"./styles\");\nObject.keys(_styles).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _styles[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _styles[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchInputRoot = exports.SearchInputInput = exports.SearchInputClear = exports.SearchInputBox = exports.InputBackdrop = exports.Inner = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _constants = require(\"../../constants\");\nvar _getMobileCssVariable = require(\"../../utils/getMobileCssVariable\");\nvar _constants2 = require(\"./constants\");\nconst Inner = exports.Inner = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n background: theme.palette.common.white,\n width: '100%',\n borderRadius: 100,\n [theme.breakpoints.up('md')]: {\n borderRadius: theme.spacing(5),\n margin: '0 auto',\n maxWidth: '900px'\n }\n}));\nconst SearchInputRoot = exports.SearchInputRoot = (0, _mui.styled)('div', {\n shouldForwardProp: (0, _presentationUtils.shouldForwardProp)()\n})(({\n isTopBannerVisible,\n isVisibleOnMobile,\n showSearchOnScroll,\n showOnlyOn,\n isFocused,\n theme\n}) => ({\n background: theme.palette.common.white,\n boxSizing: 'border-box',\n display: isVisibleOnMobile ? 'flex' : 'none',\n height: _constants.SEARCH_INPUT_HEIGHT,\n justifySelf: 'center',\n left: 0,\n padding: theme.spacing(0, 3, 3, 3),\n position: 'fixed',\n top: (0, _getMobileCssVariable.getSearchInputTopAttribute)({\n isTopBannerVisible,\n showSearchOnScroll\n }),\n width: '100%',\n zIndex: isFocused ? theme.zIndex.appBar + 2 : theme.zIndex.speedDial,\n justifyContent: isVisibleOnMobile ? 'center' : undefined,\n [theme.breakpoints.up('md')]: {\n background: 'transparent',\n display: showOnlyOn === 'desktop' ? 'block' : 'none',\n height: _constants2.SEARCH_INPUT_BOX_HEIGHT,\n padding: 0,\n position: 'static'\n }\n}));\nconst SearchInputBox = exports.SearchInputBox = (0, _mui.styled)('div')(({\n theme\n}) => ({\n alignItems: 'center',\n background: theme.palette.grey[100],\n borderRadius: 100,\n boxSizing: 'border-box',\n color: theme.palette.grey[600],\n display: 'flex',\n fontSize: '2.3rem',\n height: _constants2.SEARCH_INPUT_BOX_HEIGHT,\n overflow: 'hidden',\n paddingLeft: theme.spacing(3),\n width: '100%',\n svg: {\n fill: theme.palette.text.primary\n },\n [theme.breakpoints.up('md')]: {\n height: _constants2.SEARCH_INPUT_BOX_HEIGHT,\n visibility: 'visible'\n }\n}));\nconst SearchInputInput = exports.SearchInputInput = (0, _mui.styled)('input')(({\n theme\n}) => ({\n background: theme.palette.grey[100],\n border: 'none',\n color: theme.palette.text.primary,\n fontSize: '1.6rem',\n height: 'auto',\n lineHeight: 1.5,\n marginLeft: 8,\n width: '100%',\n textOverflow: 'ellipsis',\n '&:focus': {\n outline: 'none'\n },\n '&::placeholder': {\n color: theme.palette.grey.A700\n }\n}));\nconst SearchInputClear = exports.SearchInputClear = (0, _mui.styled)(_mui.ButtonBase, {\n shouldForwardProp: (0, _presentationUtils.shouldNotForwardProp)(['isFocused'])\n})(({\n isFocused,\n theme\n}) => ({\n height: 23,\n marginRight: theme.spacing(3),\n width: 23,\n [theme.breakpoints.up('md')]: {\n fontSize: '2rem',\n marginRight: theme.spacing(2),\n visibility: 'hidden',\n ...(isFocused && {\n visibility: 'visible'\n })\n }\n}));\nconst InputBackdrop = exports.InputBackdrop = (0, _mui.styled)(_mui.Backdrop)({\n position: 'fixed',\n zIndex: '-1',\n width: '100vw',\n height: '100vh'\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useRemoveBodyScroll = exports.shouldShowBackdrop = exports.onEnterPressHandler = void 0;\nvar _react = require(\"react\");\nvar _constants = require(\"../../constants\");\nvar _utils = require(\"../../utils\");\nvar _getSearchUrl = require(\"../../utils/getSearchUrl\");\nconst onEnterPressHandler = e => {\n if (e.key === 'Enter') {\n const {\n value: searchQuery\n } = e.currentTarget;\n (0, _utils.goToPage)((0, _getSearchUrl.getSearchUrl)(searchQuery));\n }\n};\nexports.onEnterPressHandler = onEnterPressHandler;\nconst useRemoveBodyScroll = enabled => {\n (0, _react.useEffect)(() => {\n if (enabled) {\n document.body.classList.add(_constants.TOP_NAV_NO_SCROLL);\n } else {\n document.body.classList.remove(_constants.TOP_NAV_NO_SCROLL);\n }\n return () => {\n document.body.classList.remove(_constants.TOP_NAV_NO_SCROLL);\n };\n }, [enabled]);\n};\nexports.useRemoveBodyScroll = useRemoveBodyScroll;\nconst shouldShowBackdrop = ({\n isMobile,\n isFocused,\n isMenuActive\n}) => isMobile && isFocused && !isMenuActive || !isMobile && (isFocused || isMenuActive);\nexports.shouldShowBackdrop = shouldShowBackdrop;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchPreview = void 0;\nvar SearchSuggestionClick = _interopRequireWildcard(require(\"@ori-events/search-suggestion-click\"));\nvar _mui = require(\"@ori-ui/mui\");\nvar _analyticsData = require(\"@ori/analytics-data\");\nvar _culture = require(\"@ori/culture\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _useTranslations = require(\"../../hooks/useTranslations\");\nvar _utils = require(\"../../utils\");\nvar _getSearchUrl = require(\"../../utils/getSearchUrl\");\nvar _components = require(\"./components\");\nvar _constants = require(\"./constants\");\nvar _hooks = require(\"./hooks\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst SearchPreview = ({\n numberOfProducts,\n products,\n suggestions,\n query\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n formatMessage\n } = (0, _useTranslations.useTranslations)();\n const {\n financialSet\n } = (0, _culture.useCulture)();\n const {\n sendNavigationSignal\n } = (0, _hooks.useSendNavigationSignal)({\n query\n });\n const onSuggestionsClick = (0, _react.useCallback)((suggestion, position) => () => {\n window.dispatchEvent(new CustomEvent(SearchSuggestionClick.Name, {\n detail: {\n itemData: {\n target: (0, _getSearchUrl.getSearchUrl)(suggestion),\n localBannerTitle: suggestion,\n media: []\n },\n itemType: _analyticsData.ContentType.PopularQuery,\n searchQuery: query,\n placement: _analyticsData.Placement.TopNavigationSearchSuggestions,\n position\n }\n }));\n (0, _utils.goToPage)((0, _getSearchUrl.getSearchUrl)(suggestion));\n }, [query]);\n const onProductLick = (0, _react.useCallback)((product, position) => async () => {\n const searchSuggestionClickData = {\n itemData: _utils.analytics.formatProduct({\n ...product,\n currencyCode: financialSet?.currencyCode\n }),\n itemType: _analyticsData.ContentType.Product,\n searchQuery: query,\n placement: _analyticsData.Placement.TopNavigationSearchSuggestions,\n position\n };\n window.dispatchEvent(new CustomEvent(SearchSuggestionClick.Name, {\n detail: searchSuggestionClickData\n }));\n await sendNavigationSignal(position);\n (0, _utils.goToPage)((0, _utils.addParamsToUrl)({\n url: (0, _utils.getProductUrl)(product.code),\n params: query ? {\n [_components.QUERY_NAME]: query\n } : undefined\n }));\n }, [financialSet?.currencyCode, query, sendNavigationSignal]);\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Root, {\n \"data-testid\": getTestId(_constants.SEARCH_PREVIEW),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Inner, {\n children: [suggestions.length ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Suggestions, {\n children: suggestions.map(({\n text\n }, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.SearchPreviewSuggestion, {\n text: text,\n searchPhrase: query,\n onClick: onSuggestionsClick(text, index)\n }, text))\n }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.SearchPreviewHeader, {\n query: query\n }), products.length ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Products, {\n children: products.map((product, index) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.Fragment, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.SearchPreviewProduct, {\n index: index,\n ...product,\n searchPhrase: query,\n onProductClick: onProductLick(product, index),\n onQuickBuyButtonClick: (0, _utils.getQuickBuyButtonOnClickHandler)(product, index)\n }, product.code), products.length - 1 === index ? null : /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledDivider, {})]\n }, product.code))\n }) : null]\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SeeAllResults, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Link, {\n fontWeight: \"bold\",\n textTransform: \"uppercase\",\n color: \"textPrimary\",\n \"data-testid\": getTestId(_constants.SEARCH_PREVIEW_SEE_ALL_RESULTS),\n href: (0, _getSearchUrl.getSearchUrl)(query),\n children: formatMessage('seeAllResultsFor', {\n count: numberOfProducts\n })\n })\n })]\n });\n};\nexports.SearchPreview = SearchPreview;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchPreviewHeader = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _useTranslations = require(\"../../../../hooks/useTranslations\");\nvar _constants = require(\"./constants\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n/**\n * Search Preview header component. This component is used to display the search query.\n */\nconst SearchPreviewHeader = ({\n query\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Typography, {\n \"data-testid\": getTestId(_constants.SEARCH_PREVIEW_HEADER),\n fontWeight: \"bold\",\n variant: \"h6\",\n component: \"h6\",\n color: \"textPrimary\",\n children: `${translations.popularSearchQueries} ”${(query ?? '').trim()}”`\n });\n};\nexports.SearchPreviewHeader = SearchPreviewHeader;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SEARCH_PREVIEW_HEADER = void 0;\nconst SEARCH_PREVIEW_HEADER = exports.SEARCH_PREVIEW_HEADER = 'search-preview-header';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _SearchPreviewHeader = require(\"./SearchPreviewHeader\");\nObject.keys(_SearchPreviewHeader).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewHeader[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewHeader[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchPreviewImage = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _imageSizesHelper = require(\"@ori/image-sizes-helper\");\nvar _presentationComponents = require(\"@ori/presentation-components\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst SearchPreviewImage = ({\n imageUrl,\n name\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const theme = (0, _mui.useTheme)();\n if (!imageUrl) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.ImageWrapper, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_presentationComponents.ImagePlaceholder, {\n testId: getTestId(_constants.SEARCH_PREVIEW_IMAGE_PLACEHOLDER),\n height: _constants.SEARCH_PREVIEW_IMAGE_SIZE,\n width: _constants.SEARCH_PREVIEW_IMAGE_SIZE\n })\n });\n }\n const imagesVariants = {\n url: imageUrl,\n imageFormat: 'WebP',\n backgroundColor: theme.palette.grey[100],\n imageSizeMultiplier: 2,\n params: [{\n width: _constants.SEARCH_PREVIEW_IMAGE_SIZE,\n height: _constants.SEARCH_PREVIEW_IMAGE_SIZE,\n quality: 90\n }]\n };\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.ImageWrapper, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constants.SEARCH_PREVIEW_IMAGE),\n alt: name ?? '',\n src: imageUrl,\n srcSet: (0, _imageSizesHelper.generateSrcSet)((0, _imageSizesHelper.getImageVariants)(imagesVariants)),\n sizes: `${_constants.SEARCH_PREVIEW_IMAGE_SIZE}px`\n })\n });\n};\nexports.SearchPreviewImage = SearchPreviewImage;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SEARCH_PREVIEW_IMAGE_WRAPPER_HEIGHT = exports.SEARCH_PREVIEW_IMAGE_SIZE = exports.SEARCH_PREVIEW_IMAGE_PLACEHOLDER = exports.SEARCH_PREVIEW_IMAGE = void 0;\nconst SEARCH_PREVIEW_IMAGE = exports.SEARCH_PREVIEW_IMAGE = 'search-preview-image';\nconst SEARCH_PREVIEW_IMAGE_PLACEHOLDER = exports.SEARCH_PREVIEW_IMAGE_PLACEHOLDER = 'search-preview-image-placeholder';\nconst SEARCH_PREVIEW_IMAGE_SIZE = exports.SEARCH_PREVIEW_IMAGE_SIZE = 80;\nconst SEARCH_PREVIEW_IMAGE_WRAPPER_HEIGHT = exports.SEARCH_PREVIEW_IMAGE_WRAPPER_HEIGHT = 110;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _SearchPreviewImage = require(\"./SearchPreviewImage\");\nObject.keys(_SearchPreviewImage).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewImage[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewImage[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = exports.ImageWrapper = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _constants = require(\"./constants\");\nconst Root = exports.Root = (0, _mui.styled)('img')({\n height: _constants.SEARCH_PREVIEW_IMAGE_SIZE,\n width: _constants.SEARCH_PREVIEW_IMAGE_SIZE,\n minWidth: _constants.SEARCH_PREVIEW_IMAGE_SIZE\n});\nconst ImageWrapper = exports.ImageWrapper = (0, _mui.styled)('div')(({\n theme\n}) => ({\n background: theme.palette.grey[100],\n borderRadius: theme.shape.borderRadius,\n height: _constants.SEARCH_PREVIEW_IMAGE_WRAPPER_HEIGHT,\n width: _constants.SEARCH_PREVIEW_IMAGE_SIZE,\n padding: theme.spacing(3, 0),\n boxSizing: 'border-box'\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchPreviewProduct = void 0;\nvar _analyticsData = require(\"@ori/analytics-data\");\nvar _environment = require(\"@ori/environment\");\nvar _presentationComponents = require(\"@ori/presentation-components\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _SearchPreviewImage = require(\"../SearchPreviewImage\");\nvar _components = require(\"./components\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst SearchPreviewProduct = ({\n index,\n code,\n name,\n brand,\n image,\n deal,\n ppa,\n onProductClick,\n onQuickBuyButtonClick,\n price,\n searchPhrase,\n canBeSold = true,\n shades\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n tenant\n } = (0, _environment.useEnvironment)();\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Root, {\n \"data-testid\": getTestId(_constants.SEARCH_PREVIEW_PRODUCT),\n onClick: onProductClick,\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SearchPreviewImage.SearchPreviewImage, {\n name: name,\n imageUrl: image\n }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Inner, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Info, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.ProductInfo, {\n brand: brand,\n name: name,\n searchPhrase: searchPhrase,\n shades: shades,\n code: code,\n deal: deal,\n ppa: ppa\n })\n }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.PriceAndButton, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Price, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Prices, {\n price: price,\n code: code\n })\n }), canBeSold ? /*#__PURE__*/(0, _jsxRuntime.jsx)(\"div\", {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_presentationComponents.QuickBuyButton, {\n tenant: tenant,\n currentProductCode: code,\n name: name,\n placement: _analyticsData.Placement.TopNavigationSearchSuggestions,\n currentPrice: price?.currentFormatted ?? '',\n position: index,\n onQuickBuyButtonClick: onQuickBuyButtonClick\n })\n }) : null]\n })]\n })]\n });\n};\nexports.SearchPreviewProduct = SearchPreviewProduct;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Prices = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst Prices = ({\n price,\n code\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n if (!price?.currentFormatted) {\n return null;\n }\n const {\n currentFormatted,\n oldFormatted\n } = price;\n const oldPriceVisible = Boolean(oldFormatted);\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Root, {\n \"data-testid\": getTestId(`${_constants.SEARCH_PREVIEW_PRODUCT_PRICES}-${code}`),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.CurrentPrice, {\n fontWeight: \"bold\",\n oldPriceVisible: oldPriceVisible,\n children: currentFormatted\n }), oldPriceVisible ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.OldPrice, {\n children: oldFormatted\n }) : null]\n });\n};\nexports.Prices = Prices;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SEARCH_PREVIEW_PRODUCT_PRICES = void 0;\nconst SEARCH_PREVIEW_PRODUCT_PRICES = exports.SEARCH_PREVIEW_PRODUCT_PRICES = 'search-preview-product-prices';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Prices = require(\"./Prices\");\nObject.keys(_Prices).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Prices[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Prices[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = exports.OldPrice = exports.CurrentPrice = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _utils = require(\"./utils\");\nconst Root = exports.Root = (0, _mui.styled)('div')({\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'flex-start'\n});\nconst CurrentPrice = exports.CurrentPrice = (0, _mui.styled)(_mui.Typography, {\n shouldForwardProp: (0, _presentationUtils.shouldNotForwardProp)(['oldPriceVisible'])\n})(({\n oldPriceVisible,\n theme\n}) => ({\n color: (0, _utils.getCurrentPriceColor)(theme, oldPriceVisible)\n}));\nconst OldPrice = exports.OldPrice = (0, _mui.styled)(_mui.Typography)(({\n theme\n}) => ({\n color: theme.palette.grey.A700,\n textDecoration: 'line-through'\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getCurrentPriceColor = void 0;\nconst getCurrentPriceColor = (theme, oldPriceVisible) => oldPriceVisible ? theme.palette.offer.main : theme.palette.text.primary;\nexports.getCurrentPriceColor = getCurrentPriceColor;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ProductInfo = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _utils = require(\"../../../../../../utils\");\nvar _ProductInfoLabel = require(\"../ProductInfoLabel\");\nvar _Shades = require(\"../Shades\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst ProductInfo = ({\n shades,\n name,\n brand,\n searchPhrase,\n code,\n deal,\n ppa\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const nameWithSearchPhrase = (0, _react.useMemo)(() => (0, _utils.boldMatchedText)({\n searchPhrase,\n text: name\n }), [searchPhrase, name]);\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Root, {\n \"data-testid\": getTestId(`${_constants.SEARCH_PREVIEW_PRODUCT_PRODUCT_INFO}-${code}`),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ProductInfoLabel.ProductInfoLabel, {\n ppa: ppa,\n deal: deal,\n code: code\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Brand, {\n variant: \"overline\",\n color: \"textSecondary\",\n \"data-testid\": `${getTestId('brand')}-${code}`,\n children: brand ?? ''\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Name, {\n color: \"textPrimary\",\n \"data-testid\": `${getTestId('name')}-${code}`,\n children: nameWithSearchPhrase\n }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Bottom, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Typography, {\n variant: \"caption\",\n color: \"textSecondary\",\n children: code\n }), shades ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Shades.Shades, {\n shades: shades,\n maxVisible: _Shades.MAX_VISIBLE_SHADES_COUNT\n }) : null]\n })]\n });\n};\nexports.ProductInfo = ProductInfo;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SEARCH_PREVIEW_PRODUCT_PRODUCT_INFO = void 0;\nconst SEARCH_PREVIEW_PRODUCT_PRODUCT_INFO = exports.SEARCH_PREVIEW_PRODUCT_PRODUCT_INFO = 'search-preview-product-product-info';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _ProductInfo = require(\"./ProductInfo\");\nObject.keys(_ProductInfo).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ProductInfo[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ProductInfo[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = exports.Name = exports.Brand = exports.Bottom = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst Root = exports.Root = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(1)\n}));\nconst Brand = exports.Brand = (0, _mui.styled)(_mui.Typography)({\n display: '-webkit-box',\n letterSpacing: 2,\n lineHeight: 'normal',\n overflow: 'hidden',\n textAlign: 'left',\n textTransform: 'uppercase',\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: 1,\n width: '100%',\n '&:empty': {\n display: 'none'\n }\n});\nconst Name = exports.Name = (0, _mui.styled)(_mui.Typography)(({\n theme\n}) => ({\n display: '-webkit-box',\n lineHeight: theme.spacing(4),\n overflow: 'hidden',\n textAlign: 'left',\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: 2,\n width: '100%'\n}));\nconst Bottom = exports.Bottom = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'row',\n gap: theme.spacing(2),\n alignItems: 'center',\n flexWrap: 'wrap'\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ProductInfoLabel = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationComponents = require(\"@ori/presentation-components\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst ProductInfoLabel = ({\n ppa,\n deal,\n code\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const shouldDisplayPpaLabel = (0, _react.useMemo)(() => (0, _presentationComponents.isPpaLabel)(ppa?.labelKey) && !!ppa.title, [ppa]);\n const shouldDisplayDealLabel = (0, _react.useMemo)(() => !shouldDisplayPpaLabel && _constants.allowedDealLabels.includes(deal?.labelKey ?? '') && !!deal?.title, [deal, shouldDisplayPpaLabel]);\n if (!shouldDisplayPpaLabel && !shouldDisplayDealLabel) {\n return null;\n }\n if (shouldDisplayPpaLabel) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.LabelContainer, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Chip, {\n \"data-testid\": getTestId(`${_constants.SEARCH_PREVIEW_PRODUCT_PRODUCT_INFO_LABEL}-${code}`),\n label: ppa?.title,\n variant: \"tag\",\n color: \"default\"\n })\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.LabelContainer, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Chip, {\n \"data-testid\": getTestId(`${_constants.SEARCH_PREVIEW_PRODUCT_PRODUCT_INFO_LABEL}-${code}`),\n label: deal?.title,\n variant: \"filled\",\n color: \"default\",\n size: \"small\"\n })\n });\n};\nexports.ProductInfoLabel = ProductInfoLabel;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.allowedDealLabels = exports.SEARCH_PREVIEW_PRODUCT_PRODUCT_INFO_LABEL = void 0;\nvar _presentationComponents = require(\"@ori/presentation-components\");\nconst SEARCH_PREVIEW_PRODUCT_PRODUCT_INFO_LABEL = exports.SEARCH_PREVIEW_PRODUCT_PRODUCT_INFO_LABEL = 'search-preview-product-product-info-label';\nconst allowedDealLabels = exports.allowedDealLabels = [_presentationComponents.NEW_EDITION];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _ProductInfoLabel = require(\"./ProductInfoLabel\");\nObject.keys(_ProductInfoLabel).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ProductInfoLabel[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ProductInfoLabel[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LabelContainer = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst LabelContainer = exports.LabelContainer = (0, _mui.styled)('div')(({\n theme\n}) => ({\n marginBottom: theme.spacing(1),\n [theme.breakpoints.up('md')]: {\n marginBottom: 0\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Shades = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationComponents = require(\"@ori/presentation-components\");\nvar _react = require(\"react\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst Shades = ({\n shades,\n maxVisible\n}) => {\n const shadesToRender = (0, _react.useMemo)(() => shades.slice(0, maxVisible).map(shade => /*#__PURE__*/(0, _jsxRuntime.jsx)(_presentationComponents.Shade, {\n shade: shade,\n size: _presentationComponents.ShadeSize.Small,\n testId: _constants.SEARCH_SHADE\n }, shade.productCode)), [shades, maxVisible]);\n if (shades.length < 2) {\n return null;\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Root, {\n children: [shadesToRender, shades.length > maxVisible ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_mui.Typography, {\n color: \"textPrimary\",\n variant: \"overline\",\n fontWeight: \"bold\",\n lineHeight: \"normal\",\n children: [\"+\", shades.length - maxVisible]\n }) : null]\n });\n};\nexports.Shades = Shades;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SEARCH_SHADE = exports.MAX_VISIBLE_SHADES_COUNT = void 0;\nconst MAX_VISIBLE_SHADES_COUNT = exports.MAX_VISIBLE_SHADES_COUNT = 5;\nconst SEARCH_SHADE = exports.SEARCH_SHADE = 'search-shade';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Shades = require(\"./Shades\");\nObject.keys(_Shades).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Shades[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Shades[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst Root = exports.Root = (0, _mui.styled)('div')(({\n theme\n}) => ({\n alignItems: 'center',\n display: 'flex',\n gap: theme.spacing(1),\n height: 14,\n overflow: 'hidden'\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _ProductInfo = require(\"./ProductInfo\");\nObject.keys(_ProductInfo).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ProductInfo[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ProductInfo[key];\n }\n });\n});\nvar _ProductInfoLabel = require(\"./ProductInfoLabel\");\nObject.keys(_ProductInfoLabel).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ProductInfoLabel[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ProductInfoLabel[key];\n }\n });\n});\nvar _Shades = require(\"./Shades\");\nObject.keys(_Shades).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Shades[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Shades[key];\n }\n });\n});\nvar _Prices = require(\"./Prices\");\nObject.keys(_Prices).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Prices[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Prices[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SEARCH_PREVIEW_PRODUCT = exports.QUERY_NAME = void 0;\nconst SEARCH_PREVIEW_PRODUCT = exports.SEARCH_PREVIEW_PRODUCT = 'search-preview-product';\nconst QUERY_NAME = exports.QUERY_NAME = 'query';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _SearchPreviewProduct = require(\"./SearchPreviewProduct\");\nObject.keys(_SearchPreviewProduct).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewProduct[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewProduct[key];\n }\n });\n});\nvar _components = require(\"./components\");\nObject.keys(_components).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _components[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _components[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = exports.PriceAndButton = exports.Price = exports.Inner = exports.Info = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst Root = exports.Root = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n padding: theme.spacing(2, 0),\n gap: theme.spacing(3),\n cursor: 'pointer'\n}));\nconst Inner = exports.Inner = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n width: '100%',\n flexDirection: 'column',\n gap: theme.spacing(2),\n [theme.breakpoints.up('lg')]: {\n flexDirection: 'row',\n height: 'min-content',\n alignItems: 'center'\n }\n}));\nconst Info = exports.Info = (0, _mui.styled)('div')(({\n theme\n}) => ({\n [theme.breakpoints.up('md')]: {\n flex: 3\n }\n}));\nconst PriceAndButton = exports.PriceAndButton = (0, _mui.styled)('div')(({\n theme\n}) => ({\n width: '100%',\n display: 'flex',\n gap: theme.spacing(2),\n [theme.breakpoints.up('md')]: {\n flex: 2\n }\n}));\nconst Price = exports.Price = (0, _mui.styled)('div')(({\n theme\n}) => ({\n flex: '1 1 0',\n [theme.breakpoints.up('lg')]: {\n display: 'flex',\n alignItems: 'center'\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchPreviewSuggestion = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _utils = require(\"../../../../utils\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst SearchPreviewSuggestion = ({\n searchPhrase,\n text,\n onClick\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const label = (0, _react.useMemo)(() => {\n const textWithBoldPhrase = (0, _utils.boldMatchedText)({\n searchPhrase,\n text\n });\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Label, {\n color: \"textPrimary\",\n children: textWithBoldPhrase\n });\n }, [searchPhrase, text]);\n const icon = (0, _react.useMemo)(() => /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SearchIcon, {}), []);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledChip, {\n variant: \"rounded\",\n \"data-testid\": getTestId(_constants.SEARCH_PREVIEW_SUGGESTION),\n label: label,\n icon: icon,\n onClick: onClick\n });\n};\nexports.SearchPreviewSuggestion = SearchPreviewSuggestion;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SEARCH_PREVIEW_SUGGESTION = exports.CHIP_HEIGHT = void 0;\nconst SEARCH_PREVIEW_SUGGESTION = exports.SEARCH_PREVIEW_SUGGESTION = 'search-preview-suggestion';\nconst CHIP_HEIGHT = exports.CHIP_HEIGHT = 35;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _SearchPreviewSuggestion = require(\"./SearchPreviewSuggestion\");\nObject.keys(_SearchPreviewSuggestion).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewSuggestion[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewSuggestion[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.StyledChip = exports.SearchIcon = exports.Label = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _mui = require(\"@ori-ui/mui\");\nvar _constants = require(\"./constants\");\nconst Label = exports.Label = (0, _mui.styled)(_mui.Typography)({\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n textTransform: 'none',\n verticalAlign: 'baseline'\n});\nconst StyledChip = exports.StyledChip = (0, _mui.styled)(_mui.Chip)(({\n theme\n}) => ({\n height: _constants.CHIP_HEIGHT,\n padding: theme.spacing(1, 3),\n gap: theme.spacing(1),\n borderRadius: theme.spacing(2),\n [`.${_mui.chipClasses.icon}`]: {\n margin: 0\n },\n [`.${_mui.chipClasses.label}`]: {\n padding: 0\n }\n}));\nconst SearchIcon = exports.SearchIcon = (0, _mui.styled)(_icons.Search)({\n height: '24px',\n width: '24px'\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _SearchPreviewSuggestion = require(\"./SearchPreviewSuggestion\");\nObject.keys(_SearchPreviewSuggestion).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewSuggestion[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewSuggestion[key];\n }\n });\n});\nvar _SearchPreviewImage = require(\"./SearchPreviewImage\");\nObject.keys(_SearchPreviewImage).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewImage[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewImage[key];\n }\n });\n});\nvar _SearchPreviewHeader = require(\"./SearchPreviewHeader\");\nObject.keys(_SearchPreviewHeader).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewHeader[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewHeader[key];\n }\n });\n});\nvar _SearchPreviewProduct = require(\"./SearchPreviewProduct\");\nObject.keys(_SearchPreviewProduct).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewProduct[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewProduct[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SEARCH_PREVIEW_SEE_ALL_RESULTS = exports.SEARCH_PREVIEW = exports.MAX_SEARCH_HEIGHT = void 0;\nconst SEARCH_PREVIEW = exports.SEARCH_PREVIEW = 'search-preview';\nconst SEARCH_PREVIEW_SEE_ALL_RESULTS = exports.SEARCH_PREVIEW_SEE_ALL_RESULTS = 'search-preview-see-all-results';\nconst MAX_SEARCH_HEIGHT = exports.MAX_SEARCH_HEIGHT = 630;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _useSendNavigationSignal = require(\"./useSendNavigationSignal\");\nObject.keys(_useSendNavigationSignal).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useSendNavigationSignal[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useSendNavigationSignal[key];\n }\n });\n});\nvar _useAddToBasketAnalytics = require(\"./useAddToBasketAnalytics\");\nObject.keys(_useAddToBasketAnalytics).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useAddToBasketAnalytics[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useAddToBasketAnalytics[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useAddToBasketAnalytics = void 0;\nvar AddToBasketEvent = _interopRequireWildcard(require(\"@ori-events/add-to-basket\"));\nvar _analyticsData = require(\"@ori/analytics-data\");\nvar _presentationHooks = require(\"@ori/presentation-hooks\");\nvar _react = require(\"react\");\nvar _navigation = require(\"../../../context/navigation\");\nvar _useSendNavigationSignal = require(\"./useSendNavigationSignal\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst useAddToBasketAnalytics = () => {\n const {\n value\n } = (0, _navigation.useSearchInput)();\n const {\n sendNavigationSignal\n } = (0, _useSendNavigationSignal.useSendNavigationSignal)({\n query: value,\n type: 'cart'\n });\n const onAddToBasket = (0, _react.useCallback)(event => {\n const {\n detail\n } = event;\n if (detail.placement !== _analyticsData.Placement.TopNavigationSearchSuggestions) {\n return;\n }\n void sendNavigationSignal(detail.position ?? 0, detail.itemCode);\n }, [sendNavigationSignal]);\n const events = (0, _react.useMemo)(() => [{\n name: AddToBasketEvent.Name,\n listener: onAddToBasket\n }], [onAddToBasket]);\n (0, _presentationHooks.useGlobalEvents)(events);\n};\nexports.useAddToBasketAnalytics = useAddToBasketAnalytics;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useSendNavigationSignal = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _environment = require(\"@ori/environment\");\nvar _fetching = require(\"@ori/fetching\");\nvar _globalApiClientReact = require(\"@ori/global-api-client-react\");\nvar _i18n = require(\"@ori/i18n\");\nvar _react = require(\"react\");\nvar _constants = require(\"../../../constants\");\nvar _context = require(\"../../../context\");\nvar _navigation = require(\"../../../context/navigation\");\nvar _utils = require(\"../../../utils\");\n/* istanbul ignore file -- api call */\n\nconst useSendNavigationSignal = ({\n query,\n type\n}) => {\n const {\n customerId\n } = (0, _auth.useToken)();\n const {\n results,\n timestamp\n } = (0, _navigation.useSearchInput)();\n const globalApiClient = (0, _globalApiClientReact.useApiClient)();\n const {\n tenant\n } = (0, _environment.useEnvironment)();\n const {\n language\n } = (0, _i18n.useLanguage)();\n const {\n sessionId\n } = (0, _context.useAppConfig)();\n const sendNavigationSignal = (0, _react.useCallback)(async (position, code) => {\n if (!results) {\n return;\n }\n const analyticsData = _utils.analytics.getSignalsData({\n customerId,\n position,\n results,\n timestamp,\n query,\n sessionId,\n code,\n type\n });\n await (0, _globalApiClientReact.createApplicationsNavigationSignal)(globalApiClient, analyticsData, {\n [_constants.ACCEPT_LANGUAGE]: language,\n [_fetching.TENANT_CONTEXT]: tenant\n });\n }, [results, customerId, timestamp, query, sessionId, type, globalApiClient, language, tenant]);\n return {\n sendNavigationSignal\n };\n};\nexports.useSendNavigationSignal = useSendNavigationSignal;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _components = require(\"./components\");\nObject.keys(_components).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _components[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _components[key];\n }\n });\n});\nvar _SearchPreview = require(\"./SearchPreview\");\nObject.keys(_SearchPreview).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreview[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreview[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});\nvar _hooks = require(\"./hooks\");\nObject.keys(_hooks).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _hooks[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _hooks[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Suggestions = exports.StyledDivider = exports.SeeAllResults = exports.Root = exports.Products = exports.Inner = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst Root = exports.Root = (0, _mui.styled)('div')(({\n theme\n}) => ({\n position: 'relative',\n height: '100%',\n padding: theme.spacing(0, 3),\n boxSizing: 'border-box',\n [theme.breakpoints.up('md')]: {\n borderRadius: theme.spacing(3),\n overflow: 'hidden',\n padding: theme.spacing(0, 3, 10, 3)\n }\n}));\nconst Inner = exports.Inner = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n gap: theme.spacing(3),\n boxSizing: 'border-box',\n padding: theme.spacing(0, 0, 3, 0),\n overflowY: 'auto',\n [theme.breakpoints.up('md')]: {\n maxHeight: '100%',\n padding: theme.spacing(6, 3, 0, 3)\n },\n [theme.breakpoints.up('lg')]: {\n gap: theme.spacing(6),\n padding: theme.spacing(6, 7, 0, 7)\n }\n}));\nconst Suggestions = exports.Suggestions = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n overflowX: 'auto',\n flexWrap: 'nowrap',\n scrollbarWidth: 'none',\n alignItems: 'flex-start',\n justifyContent: 'flex-start',\n gap: theme.spacing(3),\n maxWidth: '100%',\n [theme.breakpoints.up('md')]: {\n flexWrap: 'wrap',\n overflowX: 'visible'\n }\n}));\nconst Products = exports.Products = (0, _mui.styled)('div')(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'column',\n width: '100%'\n}));\nconst SeeAllResults = exports.SeeAllResults = (0, _mui.styled)('div')(({\n theme\n}) => ({\n position: 'fixed',\n bottom: '0',\n display: 'flex',\n justifyContent: 'center',\n width: '100%',\n backgroundColor: theme.palette.grey[100],\n padding: theme.spacing(3, 0),\n left: 0,\n [theme.breakpoints.up('md')]: {\n position: 'absolute'\n }\n}));\nconst StyledDivider = exports.StyledDivider = (0, _mui.styled)(_mui.Divider)(({\n theme\n}) => ({\n backgroundColor: theme.palette.grey[200],\n margin: theme.spacing(3, 0),\n [theme.breakpoints.up('md')]: {\n margin: theme.spacing(1, 0)\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchPreviewSkeleton = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _lodash = _interopRequireDefault(require(\"lodash.times\"));\nvar _react = require(\"react\");\nvar _components = require(\"../SearchPreview/components\");\nvar _styles = require(\"../SearchPreview/styles\");\nvar _styles2 = require(\"../styles\");\nvar _components2 = require(\"./components\");\nvar _constants = require(\"./constants\");\nvar _styles3 = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst SearchPreviewSkeleton = ({\n animation = 'pulse',\n className\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Root, {\n \"data-testid\": getTestId(_constants.SEARCH_PREVIEW_SKELETON),\n className: className,\n children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Inner, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Suggestions, {\n children: (0, _lodash.default)(_constants.SUGGESTIONS_COUNT, index => /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles2.UnifiedSkeleton, {\n \"data-testid\": getTestId(_constants.SEARCH_PREVIEW_SKELETON_SUGGESTION),\n animation: animation,\n width: 100,\n height: _components.CHIP_HEIGHT\n }, `${_constants.SEARCH_PREVIEW_SKELETON_SUGGESTION}-${index}`))\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles3.HeaderSkeleton, {\n \"data-testid\": getTestId(_constants.SEARCH_PREVIEW_SKELETON_HEADER),\n animation: animation,\n variant: \"text\"\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Products, {\n children: (0, _lodash.default)(_constants.PRODUCTS_COUNT, index => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.Fragment, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components2.SearchPreviewProductSkeleton, {\n animation: animation\n }), _constants.PRODUCTS_COUNT - 1 === index ? null : /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledDivider, {})]\n }, `${_components2.SEARCH_PREVIEW_PRODUCT_SKELETON}-${index}`))\n })]\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles3.SeeAllSkeleton, {})]\n });\n};\nexports.SearchPreviewSkeleton = SearchPreviewSkeleton;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SearchPreviewProductSkeleton = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _styles = require(\"../../../SearchPreview/components/SearchPreviewProduct/components/ProductInfo/styles\");\nvar _styles2 = require(\"../../../SearchPreview/components/SearchPreviewProduct/styles\");\nvar _styles3 = require(\"../../../styles\");\nvar _constants = require(\"./constants\");\nvar _styles4 = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst SearchPreviewProductSkeleton = ({\n animation,\n className\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles4.Root, {\n className: className,\n \"data-testid\": getTestId(_constants.SEARCH_PREVIEW_PRODUCT_SKELETON),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles4.ImageSkeleton, {\n animation: animation\n }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles2.Inner, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles2.Info, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Root, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles3.UnifiedSkeleton, {\n variant: \"text\",\n height: 15,\n width: 60,\n animation: animation\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles3.UnifiedSkeleton, {\n variant: \"text\",\n height: 19,\n width: \"40%\",\n animation: animation\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles3.UnifiedSkeleton, {\n variant: \"text\",\n height: 19,\n width: 35,\n animation: animation\n })]\n })\n }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles2.PriceAndButton, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles2.Price, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles3.UnifiedSkeleton, {\n variant: \"text\",\n height: 19,\n width: 40,\n animation: animation\n })\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles4.QuickBuyButtonSkeleton, {\n variant: \"circular\",\n animation: animation\n })]\n })]\n })]\n });\n};\nexports.SearchPreviewProductSkeleton = SearchPreviewProductSkeleton;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SEARCH_PREVIEW_PRODUCT_SKELETON = void 0;\nconst SEARCH_PREVIEW_PRODUCT_SKELETON = exports.SEARCH_PREVIEW_PRODUCT_SKELETON = 'search-preview-product-skeleton';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _SearchPreviewProductSkeleton = require(\"./SearchPreviewProductSkeleton\");\nObject.keys(_SearchPreviewProductSkeleton).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewProductSkeleton[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewProductSkeleton[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = exports.QuickBuyButtonSkeleton = exports.ImageSkeleton = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _components = require(\"../../../SearchPreview/components\");\nvar _styles = require(\"../../../SearchPreview/components/SearchPreviewProduct/styles\");\nvar _styles2 = require(\"../../../styles\");\nconst Root = exports.Root = (0, _mui.styled)(_styles.Root)(({\n theme\n}) => ({\n cursor: 'unset'\n}));\nconst ImageSkeleton = exports.ImageSkeleton = (0, _mui.styled)(_styles2.UnifiedSkeleton)(({\n theme\n}) => ({\n width: _components.SEARCH_PREVIEW_IMAGE_SIZE,\n height: _components.SEARCH_PREVIEW_IMAGE_WRAPPER_HEIGHT,\n minWidth: _components.SEARCH_PREVIEW_IMAGE_SIZE\n}));\nconst QuickBuyButtonSkeleton = exports.QuickBuyButtonSkeleton = (0, _mui.styled)(_styles2.UnifiedSkeleton)(({\n theme\n}) => ({\n width: 35,\n height: 35,\n [theme.breakpoints.up('sm')]: {\n width: 45,\n height: 45\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _SearchPreviewProductSkeleton = require(\"./SearchPreviewProductSkeleton\");\nObject.keys(_SearchPreviewProductSkeleton).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewProductSkeleton[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewProductSkeleton[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SUGGESTIONS_COUNT = exports.SEARCH_PREVIEW_SKELETON_SUGGESTION = exports.SEARCH_PREVIEW_SKELETON_HEADER = exports.SEARCH_PREVIEW_SKELETON = exports.PRODUCTS_COUNT = void 0;\nconst SEARCH_PREVIEW_SKELETON = exports.SEARCH_PREVIEW_SKELETON = 'search-preview-skeleton';\nconst SEARCH_PREVIEW_SKELETON_SUGGESTION = exports.SEARCH_PREVIEW_SKELETON_SUGGESTION = 'search-preview-skeleton-suggestion';\nconst SEARCH_PREVIEW_SKELETON_HEADER = exports.SEARCH_PREVIEW_SKELETON_HEADER = 'search-preview-skeleton-header';\nconst PRODUCTS_COUNT = exports.PRODUCTS_COUNT = 12;\nconst SUGGESTIONS_COUNT = exports.SUGGESTIONS_COUNT = 5;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _components = require(\"./components\");\nObject.keys(_components).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _components[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _components[key];\n }\n });\n});\nvar _SearchPreviewSkeleton = require(\"./SearchPreviewSkeleton\");\nObject.keys(_SearchPreviewSkeleton).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewSkeleton[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewSkeleton[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SeeAllSkeleton = exports.HeaderSkeleton = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _constants = require(\"../../constants\");\nvar _styles = require(\"../SearchPreview/styles\");\nvar _styles2 = require(\"../styles\");\nconst HeaderSkeleton = exports.HeaderSkeleton = (0, _mui.styled)(_styles2.UnifiedSkeleton)(({\n theme\n}) => ({\n width: 150,\n minHeight: 28,\n [theme.breakpoints.up('md')]: {\n minHeight: 33,\n width: 200\n }\n}));\nconst SeeAllSkeleton = exports.SeeAllSkeleton = (0, _mui.styled)(_styles.SeeAllResults)(({\n theme\n}) => ({\n height: _constants.SEARCH_PREVIEW_SEE_ALL_HEIGHT\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ShadePicker = void 0;\nvar _presentationHttp = require(\"@ori/presentation-http\");\nvar _shadePicker = require(\"@ori/shade-picker\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst ShadePicker = () => {\n const {\n atpClusterId,\n customerTypeId\n } = (0, _presentationHttp.useUserSegmentationData)();\n return atpClusterId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_shadePicker.ShadePickerController, {\n atpClusterId: atpClusterId,\n customerTypeId: customerTypeId\n });\n};\nexports.ShadePicker = ShadePicker;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _ShadePicker = require(\"./ShadePicker\");\nObject.keys(_ShadePicker).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ShadePicker[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ShadePicker[key];\n }\n });\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ShoppingBagIcon = void 0;\nvar BasketUpdated = _interopRequireWildcard(require(\"@ori-events/basket-updated\"));\nvar ShoppingContextLoaded = _interopRequireWildcard(require(\"@ori-events/shopping-context-loaded\"));\nvar _icons = require(\"@ori-ui/icons\");\nvar _environment = require(\"@ori/environment\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _constants = require(\"../../constants\");\nvar _useTranslations = require(\"../../hooks/useTranslations\");\nvar _components = require(\"./components\");\nvar _constants2 = require(\"./constants\");\nvar _hooks = require(\"./hooks\");\nvar _styles = require(\"./styles\");\nvar _utils = require(\"./utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst ShoppingBagIcon = () => {\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const {\n tenant\n } = (0, _environment.useEnvironment)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n isECatalogue,\n isMobile\n } = (0, _hooks.useDeviceType)();\n const isMobileOnECatalogue = isECatalogue && isMobile;\n const isCnMarket = tenant === _constants.CN_MARKET;\n const Icon = isCnMarket ? _icons.EmptyBasket : _icons.AddToBag;\n const IconOnHover = isCnMarket ? _icons.ShoppingBasketFilled : _icons.AddToBagFilled;\n const {\n onBasketUpdated,\n onShoppingContextLoaded,\n isReceivedShoppingContext,\n shoppingBagQuantity\n } = (0, _hooks.useShoppingBag)();\n (0, _react.useEffect)(() => {\n window.addEventListener(ShoppingContextLoaded.Name, onShoppingContextLoaded);\n window.addEventListener(BasketUpdated.Name, onBasketUpdated);\n (0, _utils.triggerRequestShoppingContext)();\n return () => {\n window.removeEventListener(ShoppingContextLoaded.Name, onShoppingContextLoaded);\n window.removeEventListener(BasketUpdated.Name, onBasketUpdated);\n };\n }, [onShoppingContextLoaded, onBasketUpdated]);\n (0, _react.useEffect)(() => {\n if (isReceivedShoppingContext) {\n window.removeEventListener(ShoppingContextLoaded.Name, onShoppingContextLoaded);\n }\n }, [isReceivedShoppingContext, onShoppingContextLoaded]);\n const onMouseEnter = (0, _react.useCallback)(() => {\n if (isECatalogue || isMobile) {\n return;\n }\n window.dispatchEvent((0, _utils.getMinibagFlyoutEvent)(true));\n }, [isECatalogue, isMobile]);\n const onMouseLeave = (0, _react.useCallback)(() => {\n if (isECatalogue || isMobile) {\n return;\n }\n window.dispatchEvent((0, _utils.getMinibagFlyoutEvent)(false));\n }, [isECatalogue, isMobile]);\n const onMobileEcataloguePageClick = (0, _react.useCallback)(() => {\n window.dispatchEvent((0, _utils.getMinibagFlyoutEvent)());\n }, []);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.ShoppingBagCounter, {\n shoppingBagQuantity: shoppingBagQuantity,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n disableRipple: isMobileOnECatalogue,\n \"aria-label\": translations.shoppingBag,\n isCnMarket: isCnMarket,\n href: isMobileOnECatalogue ? undefined : '/shopping/basket',\n \"data-testid\": getTestId(_constants2.SHOPPING_BAG_ICON_ROOT),\n hoverIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(IconOnHover, {\n fontSize: \"inherit\"\n }),\n variant: \"text\",\n onClick: isMobileOnECatalogue ? onMobileEcataloguePageClick : undefined,\n onMouseEnter: isMobileOnECatalogue ? undefined : onMouseEnter,\n onMouseLeave: isMobileOnECatalogue ? undefined : onMouseLeave,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, {\n fontSize: \"inherit\"\n })\n })\n });\n};\nexports.ShoppingBagIcon = ShoppingBagIcon;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ShoppingBagCounter = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst ShoppingBagCounter = ({\n shoppingBagQuantity,\n children\n}) => {\n const [isAnimationActive, setIsAnimationActive] = (0, _react.useState)(false);\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n (0, _react.useEffect)(() => setIsAnimationActive(true), [shoppingBagQuantity]);\n (0, _react.useEffect)(() => {\n if (isAnimationActive) {\n setTimeout(() => setIsAnimationActive(false), _constants.MINIBAG_COUNTER_ANIMATION_TIMEOUT);\n }\n }, [isAnimationActive]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n isAnimationActive: isAnimationActive,\n \"data-testid\": getTestId(_constants.SHOPPING_BAG_COUNTER_ROOT),\n badgeContent: shoppingBagQuantity,\n color: \"primary\",\n children: children\n });\n};\nexports.ShoppingBagCounter = ShoppingBagCounter;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SHOPPING_BAG_COUNTER_ROOT = exports.MINIBAG_COUNTER_ANIMATION_TIMEOUT = void 0;\nconst SHOPPING_BAG_COUNTER_ROOT = exports.SHOPPING_BAG_COUNTER_ROOT = 'shopping-bag-counter-root';\nconst MINIBAG_COUNTER_ANIMATION_TIMEOUT = exports.MINIBAG_COUNTER_ANIMATION_TIMEOUT = 1000;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _ShoppingBagCounter = require(\"./ShoppingBagCounter\");\nObject.keys(_ShoppingBagCounter).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ShoppingBagCounter[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ShoppingBagCounter[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = void 0;\nvar _react = require(\"@emotion/react\");\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nconst growShrinkAnimation = (0, _react.keyframes)`\n0%, 100% {\n width: 22px;\n height: 22px;\n font-size: 1rem;\n}\n50% {\n width: 26px;\n height: 26px;\n font-size: 1.2rem;\n}\n`;\nconst Root = exports.Root = (0, _mui.styled)(_mui.Badge, {\n shouldForwardProp: (0, _presentationUtils.shouldNotForwardProp)(['isAnimationActive'])\n})(({\n isAnimationActive\n}) => ({\n [`.${_mui.badgeClasses.badge}`]: {\n borderRadius: '50%',\n ...(isAnimationActive && {\n animationDuration: '1s',\n animationName: `${growShrinkAnimation}`\n })\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _ShoppingBagCounter = require(\"./ShoppingBagCounter\");\nObject.keys(_ShoppingBagCounter).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ShoppingBagCounter[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ShoppingBagCounter[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SHOPPING_BAG_ICON_ROOT = void 0;\nconst SHOPPING_BAG_ICON_ROOT = exports.SHOPPING_BAG_ICON_ROOT = 'shopping-bag-icon-root';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _useDeviceType = require(\"./useDeviceType\");\nObject.keys(_useDeviceType).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useDeviceType[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useDeviceType[key];\n }\n });\n});\nvar _useShoppingBag = require(\"./useShoppingBag\");\nObject.keys(_useShoppingBag).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useShoppingBag[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useShoppingBag[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useDeviceType = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _react = require(\"react\");\nconst useDeviceType = () => {\n const [isECatalogue, setIsECatalogue] = (0, _react.useState)(false);\n const mobileBreakpoint = (0, _mui.useMediaQuery)(theme => theme.breakpoints.down('sm'));\n const mobileBreakpointECatalogue = (0, _mui.useMediaQuery)(theme => theme.breakpoints.down('md'));\n (0, _react.useEffect)(() => {\n setIsECatalogue(document.getElementById('catalogue-ipaper-root') !== null);\n }, []);\n const isMobile = (0, _react.useMemo)(() => isECatalogue ? mobileBreakpointECatalogue : mobileBreakpoint, [isECatalogue, mobileBreakpointECatalogue, mobileBreakpoint]);\n return {\n isECatalogue,\n isMobile\n };\n};\nexports.useDeviceType = useDeviceType;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useShoppingBag = void 0;\nvar _react = require(\"react\");\nvar _context = require(\"../../../context\");\nconst useShoppingBag = () => {\n const {\n setSessionId\n } = (0, _context.useAppConfig)();\n const [shoppingBagQuantity, setShoppingBagQuantity] = (0, _react.useState)(0);\n const [isReceivedShoppingContext, setIsReceivedShoppingContext] = (0, _react.useState)(false);\n const updateShoppingBagQuantity = (0, _react.useCallback)(newQuantity => {\n if (newQuantity >= 0) {\n setShoppingBagQuantity(newQuantity);\n }\n }, []);\n const onShoppingContextLoaded = (0, _react.useCallback)(event => {\n updateShoppingBagQuantity(event.detail.shoppingBag.shoppingBagQuantity);\n setIsReceivedShoppingContext(true);\n setSessionId(event.detail.sessionId ?? undefined);\n }, [setSessionId, updateShoppingBagQuantity]);\n const onBasketUpdated = (0, _react.useCallback)(event => {\n updateShoppingBagQuantity(event.detail.shoppingBag.shoppingBagQuantity);\n }, [updateShoppingBagQuantity]);\n return (0, _react.useMemo)(() => ({\n shoppingBagQuantity,\n isReceivedShoppingContext,\n onShoppingContextLoaded,\n onBasketUpdated\n }), [shoppingBagQuantity, isReceivedShoppingContext, onShoppingContextLoaded, onBasketUpdated]);\n};\nexports.useShoppingBag = useShoppingBag;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _components = require(\"./components\");\nObject.keys(_components).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _components[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _components[key];\n }\n });\n});\nvar _ShoppingBagIcon = require(\"./ShoppingBagIcon\");\nObject.keys(_ShoppingBagIcon).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ShoppingBagIcon[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ShoppingBagIcon[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});\nvar _hooks = require(\"./hooks\");\nObject.keys(_hooks).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _hooks[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _hooks[key];\n }\n });\n});\nvar _utils = require(\"./utils\");\nObject.keys(_utils).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _utils[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _utils[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = void 0;\nvar _components = require(\"@ori-ui/components\");\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nconst Root = exports.Root = (0, _mui.styled)(_components.IconButton, {\n shouldForwardProp: (0, _presentationUtils.shouldNotForwardProp)(['isCnMarket'])\n})(({\n isCnMarket,\n theme\n}) => ({\n color: theme.palette.text.primary,\n fontSize: '3rem',\n ...(isCnMarket && {\n color: theme.palette.error.main\n }),\n '&:hover, &:focus, &:active': {\n backgroundColor: 'transparent',\n color: theme.palette.text.primary,\n ...(isCnMarket && {\n color: theme.palette.error.main\n })\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.triggerRequestShoppingContext = exports.getMinibagFlyoutEvent = void 0;\nvar RequestShoppingContext = _interopRequireWildcard(require(\"@ori-events/request-shopping-context\"));\nvar ToggleMenuFlyoutEvent = _interopRequireWildcard(require(\"@ori-events/toggle-menu-flyout\"));\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst getMinibagFlyoutEvent = shouldOpen => new CustomEvent(ToggleMenuFlyoutEvent.Name, {\n detail: {\n menuType: ToggleMenuFlyoutEvent.MenuTypes.Minibag,\n shouldOpen\n }\n});\nexports.getMinibagFlyoutEvent = getMinibagFlyoutEvent;\nconst triggerRequestShoppingContext = () => {\n const requestShoppongContextEvent = new CustomEvent(RequestShoppingContext.Name);\n window.dispatchEvent(requestShoppongContextEvent);\n};\nexports.triggerRequestShoppingContext = triggerRequestShoppingContext;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SkeletonCatalogueDesktop = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationComponents = require(\"@ori/presentation-components\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _styles = require(\"../../BurgerMenu/Catalogues/styles\");\nvar _constants = require(\"./constants\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst CatalogueSkeleton = (0, _mui.styled)(_presentationComponents.CategoryBoxSkeleton)({\n width: _presentationComponents.CATEGORY_BOX_DESKTOP_MEDIUM_WIDTH\n});\nconst ButtonSkeleton = (0, _mui.styled)(_mui.Skeleton)(({\n theme\n}) => ({\n borderRadius: theme.spacing(5),\n marginTop: theme.spacing(2)\n}));\nconst SkeletonCatalogueDesktop = () => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Root, {\n \"data-testid\": getTestId(_constants.SKELETON_CATALOGUE_DESKTOP),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.CatalogueWrapper, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(CatalogueSkeleton, {\n showDescription: true\n })\n }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.CallToActionWrapper, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Skeleton, {\n variant: \"text\",\n height: 30,\n width: 330\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Skeleton, {\n variant: \"text\",\n height: 30,\n width: 330\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(ButtonSkeleton, {\n variant: \"rectangular\",\n height: 45,\n width: 330\n })]\n })]\n });\n};\nexports.SkeletonCatalogueDesktop = SkeletonCatalogueDesktop;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SkeletonMainCategoriesDesktop = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _lodash = _interopRequireDefault(require(\"lodash.times\"));\nvar _styles = require(\"../../BurgerMenu/Links/styles\");\nvar _constants = require(\"./constants\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst SkeletonMenuLinks = (0, _mui.styled)(_styles.LinksRoot)(({\n theme\n}) => ({\n display: 'grid',\n gap: theme.spacing(1),\n padding: theme.spacing(0, 2)\n}));\nconst CATEGORIES_LINKS = 20;\nconst SkeletonMainCategoriesDesktop = () => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(SkeletonMenuLinks, {\n \"data-testid\": getTestId(_constants.MAIN_CATEGORY_DESKTOP),\n children: (0, _lodash.default)(CATEGORIES_LINKS, index => /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Skeleton, {\n animation: \"wave\",\n height: 45,\n variant: \"rectangular\"\n }, `menu-main-links-${index}`))\n });\n};\nexports.SkeletonMainCategoriesDesktop = SkeletonMainCategoriesDesktop;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SKELETON_CATALOGUE_DESKTOP = exports.MAIN_CATEGORY_DESKTOP = void 0;\nconst SKELETON_CATALOGUE_DESKTOP = exports.SKELETON_CATALOGUE_DESKTOP = 'skeleton-catalogue-desktop';\nconst MAIN_CATEGORY_DESKTOP = exports.MAIN_CATEGORY_DESKTOP = 'main-category-desktop';","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SkeletonCatalogueMobile = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst SkeletonCatalogueMobile = () => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.SkeletonCatalogueMobileRoot, {\n \"data-testid\": getTestId(_constants.SKELETON_CATALOGUE_MOBILE),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Skeleton, {\n variant: \"rounded\",\n height: 103,\n width: \"100%\"\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Skeleton, {\n variant: \"rounded\",\n height: 30,\n width: 50\n })]\n });\n};\nexports.SkeletonCatalogueMobile = SkeletonCatalogueMobile;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SkeletonMainCategoriesMobile = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _SkeletonCatalogueMobile = require(\"./SkeletonCatalogueMobile\");\nvar _constants = require(\"./constants\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst SkeletonMainCategoriesMobileCategory = (0, _mui.styled)(_mui.Skeleton)(({\n theme\n}) => ({\n margin: theme.spacing(0, 3, 1),\n minWidth: '80%'\n}));\nconst SkeletonMainCategoriesMobileCategoryLarge = (0, _mui.styled)(_mui.Skeleton)(({\n theme\n}) => ({\n margin: theme.spacing(5, 3, 1),\n minWidth: '80%'\n}));\nconst SKELETON_HEIGHT = 60;\nconst SkeletonMainCategoriesMobile = () => {\n const elements = Math.floor(window.innerHeight / SKELETON_HEIGHT);\n const steps = Array.from({\n length: elements\n }, (element, index) => index);\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const skeletonElements = steps.map(step => /*#__PURE__*/(0, _jsxRuntime.jsx)(SkeletonMainCategoriesMobileCategory, {\n height: 37,\n animation: \"wave\",\n variant: \"rectangular\"\n }, `categories-mobile-${step}`));\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_mui.Box, {\n \"data-testid\": getTestId(_constants.SKELETON_MAIN_CATEGORY_MOBILE),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SkeletonCatalogueMobile.SkeletonCatalogueMobile, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(SkeletonMainCategoriesMobileCategory, {\n height: 54,\n animation: \"wave\",\n variant: \"rectangular\"\n }, \"categories-mobile-medium\"), skeletonElements, /*#__PURE__*/(0, _jsxRuntime.jsx)(SkeletonMainCategoriesMobileCategoryLarge, {\n height: 109,\n animation: \"wave\",\n variant: \"rectangular\"\n }, \"categories-mobile-large\")]\n });\n};\nexports.SkeletonMainCategoriesMobile = SkeletonMainCategoriesMobile;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SKELETON_MAIN_CATEGORY_MOBILE = exports.SKELETON_CATALOGUE_MOBILE = void 0;\nconst SKELETON_CATALOGUE_MOBILE = exports.SKELETON_CATALOGUE_MOBILE = 'skeleton-catalogue-mobile';\nconst SKELETON_MAIN_CATEGORY_MOBILE = exports.SKELETON_MAIN_CATEGORY_MOBILE = 'skeleton-main-category-mobile';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SkeletonCatalogueMobileRoot = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst SkeletonCatalogueMobileRoot = exports.SkeletonCatalogueMobileRoot = (0, _mui.styled)('div')(({\n theme\n}) => ({\n alignItems: 'center',\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(3),\n margin: theme.spacing(3, 3, 1, 3)\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _SkeletonCatalogueMobile = require(\"./Mobile/SkeletonCatalogueMobile\");\nObject.keys(_SkeletonCatalogueMobile).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SkeletonCatalogueMobile[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SkeletonCatalogueMobile[key];\n }\n });\n});\nvar _SkeletonMainCategoryMobile = require(\"./Mobile/SkeletonMainCategoryMobile\");\nObject.keys(_SkeletonMainCategoryMobile).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SkeletonMainCategoryMobile[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SkeletonMainCategoryMobile[key];\n }\n });\n});\nvar _SkeletonCatalogueDesktop = require(\"./Desktop/SkeletonCatalogueDesktop\");\nObject.keys(_SkeletonCatalogueDesktop).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SkeletonCatalogueDesktop[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SkeletonCatalogueDesktop[key];\n }\n });\n});\nvar _SkeletonMainCategoryDesktop = require(\"./Desktop/SkeletonMainCategoryDesktop\");\nObject.keys(_SkeletonMainCategoryDesktop).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SkeletonMainCategoryDesktop[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SkeletonMainCategoryDesktop[key];\n }\n });\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TopArea = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _navigation = require(\"../../context/navigation\");\nvar _BurgerMenu = require(\"../BurgerMenu\");\nvar _JoinMenu = require(\"../Join/JoinMenu\");\nvar _LeftActionsSection = require(\"../LeftActionsSection\");\nvar _RightActionsSection = require(\"../RightActionsSection\");\nvar _SearchInput = require(\"../SearchInput\");\nvar _TopAreaBanner = require(\"../TopAreaBanner\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst TopArea = ({\n isTopBannerVisible,\n mobilePersonalMenuOutlet\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n isVisible: isSearchInputVisible\n } = (0, _navigation.useSearchInput)();\n const {\n isAnonymousUser\n } = (0, _auth.useToken)();\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Root, {\n isSearchInputVisible: isSearchInputVisible,\n isTopBannerVisible: isTopBannerVisible,\n \"data-testid\": getTestId(_constants.TOP_AREA_ROOT),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_LeftActionsSection.LeftActionsSection, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_RightActionsSection.RightActionsSection, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_BurgerMenu.BurgerMenu, {\n mobilePersonalMenuOutlet: mobilePersonalMenuOutlet\n }), isAnonymousUser ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_JoinMenu.JoinMenu, {}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_TopAreaBanner.TopAreaBanner, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SearchInput.SearchInput, {\n showOnlyOn: \"mobile\"\n })]\n });\n};\nexports.TopArea = TopArea;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TOP_AREA_ROOT = void 0;\nconst TOP_AREA_ROOT = exports.TOP_AREA_ROOT = 'root';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _TopArea = require(\"./TopArea\");\nObject.keys(_TopArea).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _TopArea[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _TopArea[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _constants = require(\"../../constants\");\nvar _TopAreaBanner = require(\"../TopAreaBanner\");\nconst Root = exports.Root = (0, _mui.styled)('nav', {\n shouldForwardProp: (0, _presentationUtils.shouldForwardProp)()\n})(({\n theme,\n isSearchInputVisible,\n isTopBannerVisible\n}) => ({\n alignItems: 'center',\n backgroundColor: theme.palette.common.white,\n borderBottom: `${_constants.TOP_AREA_BORDER_BOTTOM}px solid ${isSearchInputVisible ? theme.palette.common.white : theme.palette.grey[100]}`,\n boxSizing: 'border-box',\n display: 'flex',\n height: _constants.CSS_MOBILE_INNER_HEIGHT,\n left: 0,\n padding: theme.spacing(0, 3),\n position: 'fixed',\n top: isTopBannerVisible ? _TopAreaBanner.TOP_AREA_BANNER_HEIGHT : 0,\n transition: `height ${_constants.CSS_HEIGHT_ANIMATION}, background-color 0.1s ease-in-out`,\n width: '100%',\n zIndex: theme.zIndex.appBar,\n [theme.breakpoints.up('md')]: {\n borderBottom: `${_constants.TOP_AREA_BORDER_BOTTOM}px solid ${theme.palette.grey[100]}`,\n height: _constants.CSS_DESKTOP_INNER_HEIGHT,\n padding: theme.spacing(0, 6)\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TopAreaBanner = void 0;\nvar _context = require(\"../../context\");\nvar _components = require(\"./components\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst TopAreaBanner = () => {\n const {\n loading,\n visible\n } = (0, _context.useTopAreaBanner)();\n if (!visible) {\n return null;\n }\n return loading ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.TopAreaBannerSkeleton, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.TopAreaBannerContent, {});\n};\nexports.TopAreaBanner = TopAreaBanner;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BannersCarousel = void 0;\nvar _presentationComponents = require(\"@ori/presentation-components\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _Banner = require(\"./components/Banner\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst BannersCarousel = ({\n items,\n onOpen\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const autoplay = (0, _react.useMemo)(() => ({\n enabled: items.length > 1,\n interval: 5000\n }), [items.length]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constants.BANNERS_CAROUSEL),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_presentationComponents.Carousel, {\n autoplay: autoplay,\n navigation: _constants.navigation,\n pagination: _constants.pagination,\n slider: _constants.slider,\n propagateDragEvent: false,\n id: \"top-area-banner-carousel\",\n children: items.map(({\n title,\n url,\n shouldOpenInvitationOffer\n }) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_presentationComponents.CarouselSlide, {\n minWidth: \"100%\",\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Banner.Banner, {\n title: title,\n url: url,\n onClick: shouldOpenInvitationOffer ? onOpen : undefined\n })\n }, [url, title].join('-')))\n })\n });\n};\nexports.BannersCarousel = BannersCarousel;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Banner = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst Banner = ({\n onClick,\n title,\n url\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constants.BANNER_CAROUSEL_BANNER),\n href: onClick ? undefined : url,\n onClick: onClick,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Title, {\n fontWeight: \"bold\",\n children: title\n })\n });\n};\nexports.Banner = Banner;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BANNER_CAROUSEL_BANNER = void 0;\nconst BANNER_CAROUSEL_BANNER = exports.BANNER_CAROUSEL_BANNER = 'banner-carousel-banner';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Banner = require(\"./Banner\");\nObject.keys(_Banner).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Banner[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Banner[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Title = exports.Root = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _constants = require(\"../../../../constants\");\nconst Root = exports.Root = (0, _mui.styled)('a')(({\n theme,\n onClick,\n href\n}) => {\n const isClickable = Boolean(onClick ?? href);\n return {\n color: theme.palette.text.primary,\n cursor: isClickable ? 'pointer' : 'default',\n display: 'flex',\n height: _constants.TOP_AREA_BANNER_HEIGHT,\n alignItems: 'center',\n justifyContent: 'center',\n width: '100%',\n '&:hover': {\n textDecoration: isClickable ? 'underline' : 'none',\n color: theme.palette.text.primary\n }\n };\n});\nconst Title = exports.Title = (0, _mui.styled)(_mui.Typography)(({\n theme\n}) => ({\n overflow: 'hidden',\n padding: theme.spacing(1),\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap'\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.slider = exports.pagination = exports.navigation = exports.BANNERS_CAROUSEL = void 0;\nconst BANNERS_CAROUSEL = exports.BANNERS_CAROUSEL = 'top-area-banners-carousel';\nconst navigation = exports.navigation = {\n showArrows: false\n};\nconst pagination = exports.pagination = {\n show: false\n};\nconst slider = exports.slider = {\n drag: false\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _BannersCarousel = require(\"./BannersCarousel\");\nObject.keys(_BannersCarousel).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _BannersCarousel[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _BannersCarousel[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _constants = require(\"../../constants\");\nconst Root = exports.Root = (0, _mui.styled)('div')(({\n theme\n}) => ({\n margin: 0,\n overflow: 'hidden',\n position: 'fixed',\n top: 0,\n left: 0,\n width: '100vw',\n zIndex: theme.zIndex.appBar,\n backgroundColor: theme.palette.primary.light,\n height: _constants.TOP_AREA_BANNER_HEIGHT\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Contact = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _mui = require(\"@ori-ui/mui\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst Contact = ({\n contact,\n type\n}) => {\n if (!contact) {\n return null;\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Root, {\n children: [type === 'email' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Email, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Telephone, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Link, {\n href: `${type === 'email' ? 'mailto' : 'tel'}:${contact}`,\n children: contact\n })]\n });\n};\nexports.Contact = Contact;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Contact = require(\"./Contact\");\nObject.keys(_Contact).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Contact[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Contact[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst Root = exports.Root = (0, _mui.styled)('div')(({\n theme\n}) => ({\n alignSelf: 'center',\n display: 'flex',\n gap: theme.spacing(1)\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TopAreaBannerContent = void 0;\nvar _logger = require(\"@ori/logger\");\nvar _presentationHooks = require(\"@ori/presentation-hooks\");\nvar _context = require(\"../../../../context\");\nvar _OrderOnBehalf = require(\"../../../OrderOnBehalf\");\nvar _styles = require(\"../../styles\");\nvar _BannersCarousel = require(\"../BannersCarousel\");\nvar _TopAreaBannerDialog = require(\"../TopAreaBannerDialog\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst TopAreaBannerContent = () => {\n const {\n isOrderOnBehalfVisible,\n bannersData = []\n } = (0, _context.useTopAreaBanner)();\n const {\n open,\n onClose,\n onOpen\n } = (0, _presentationHooks.useDisclose)();\n if (isOrderOnBehalfVisible) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n isOrderOnBehalfVisible: true,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_OrderOnBehalf.OrderOnBehalf, {})\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_BannersCarousel.BannersCarousel, {\n items: bannersData,\n onOpen: onOpen\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_logger.ErrorBoundary, {\n areaName: \"TopAreaBannerContent\",\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TopAreaBannerDialog.TopAreaBannerDialog, {\n open: open,\n onClose: onClose\n })\n })]\n });\n};\nexports.TopAreaBannerContent = TopAreaBannerContent;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _TopAreaBannerContent = require(\"./TopAreaBannerContent\");\nObject.keys(_TopAreaBannerContent).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _TopAreaBannerContent[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _TopAreaBannerContent[key];\n }\n });\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TopAreaBannerDialog = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _i18n = require(\"@ori/i18n\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _api = require(\"../../../../api\");\nvar _useTranslations = require(\"../../../../hooks/useTranslations\");\nvar _net = require(\"../../../../models/graphql-types/net\");\nvar _utils = require(\"../../utils\");\nvar _Contact = require(\"../Contact\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst emphasis = testId => chunks => /*#__PURE__*/(0, _jsxRuntime.jsx)(\"strong\", {\n \"data-testid\": testId,\n children: chunks\n});\n\n/**\n * SharingConditionsDialog component is used to render Dialog in How it works module. This dialog contains the sharing conditions.\n */\nconst TopAreaBannerDialog = ({\n open,\n onClose\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n data,\n isLoading\n } = (0, _api.usePersonalBeautyStoreData)(open);\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const {\n contacts,\n referralProgram\n } = data?.beautyStore?.profile ?? {};\n const {\n allowedContacts,\n benefitsLink,\n greetingMessage,\n message,\n title\n } = referralProgram ?? {};\n const {\n relativeUrl,\n title: linkTitle\n } = benefitsLink ?? {};\n const userEmail = (0, _react.useMemo)(() => (0, _utils.getContactByType)(allowedContacts, contacts, _net.SocialContactType.Email), [allowedContacts, contacts]);\n const userPhone = (0, _react.useMemo)(() => (0, _utils.getContactByType)(allowedContacts, contacts, _net.SocialContactType.PhoneNumber), [allowedContacts, contacts]);\n const content = (0, _react.useMemo)(() => {\n if (isLoading) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.CircularProgress, {\n \"data-testid\": getTestId(_constants.TOP_AREA_BANNER_DIALOG_LOADER)\n });\n } else if (title && message) {\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Icon, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Typography, {\n variant: \"h3\",\n component: \"h3\",\n children: title\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Typography, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_i18n.DynamicFormattedMessage, {\n translatedMessage: message,\n values: {\n emphasis: emphasis(getTestId(_constants.TOP_AREA_BANNER_DIALOG_MESSAGE))\n }\n })\n }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.GreetingMessageAndContact, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Typography, {\n children: greetingMessage ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_i18n.DynamicFormattedMessage, {\n translatedMessage: greetingMessage,\n values: {\n emphasis: emphasis(getTestId(_constants.TOP_AREA_BANNER_DIALOG_GREETING_MESSAGE))\n }\n }) : null\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Contact.Contact, {\n contact: userEmail,\n type: \"email\"\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Contact.Contact, {\n contact: userPhone,\n type: \"phone\"\n })]\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Button, {\n fullWidth: true,\n href: relativeUrl ?? undefined,\n variant: \"contained\",\n color: \"primary\",\n onClick: relativeUrl == null ? onClose : undefined,\n children: linkTitle ?? translations.gotIt\n })]\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Typography, {\n \"data-testid\": getTestId(_constants.TOP_AREA_BANNER_DIALOG_ERROR_MESSAGE),\n children: translations.topAreaBannerDialogError\n });\n }, [getTestId, greetingMessage, isLoading, linkTitle, message, onClose, relativeUrl, title, translations.gotIt, translations.topAreaBannerDialogError, userEmail, userPhone]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.BannerDialog, {\n open: open,\n onClose: onClose,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constants.TOP_AREA_BANNER_DIALOG),\n children: content\n })\n });\n};\nexports.TopAreaBannerDialog = TopAreaBannerDialog;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TOP_AREA_BANNER_DIALOG_MESSAGE = exports.TOP_AREA_BANNER_DIALOG_LOADER = exports.TOP_AREA_BANNER_DIALOG_GREETING_MESSAGE = exports.TOP_AREA_BANNER_DIALOG_ERROR_MESSAGE = exports.TOP_AREA_BANNER_DIALOG = void 0;\nconst TOP_AREA_BANNER_DIALOG = exports.TOP_AREA_BANNER_DIALOG = 'top-area-banner-dialog';\nconst TOP_AREA_BANNER_DIALOG_GREETING_MESSAGE = exports.TOP_AREA_BANNER_DIALOG_GREETING_MESSAGE = 'top-area-banner-dialog-greeting-message';\nconst TOP_AREA_BANNER_DIALOG_MESSAGE = exports.TOP_AREA_BANNER_DIALOG_MESSAGE = 'top-area-banner-dialog-message';\nconst TOP_AREA_BANNER_DIALOG_ERROR_MESSAGE = exports.TOP_AREA_BANNER_DIALOG_ERROR_MESSAGE = 'top-area-banner-dialog-error-message';\nconst TOP_AREA_BANNER_DIALOG_LOADER = exports.TOP_AREA_BANNER_DIALOG_LOADER = 'top-area-banner-dialog-loader';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _TopAreaBannerDialog = require(\"./TopAreaBannerDialog\");\nObject.keys(_TopAreaBannerDialog).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _TopAreaBannerDialog[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _TopAreaBannerDialog[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = exports.Icon = exports.GreetingMessageAndContact = exports.BannerDialog = void 0;\nvar _components = require(\"@ori-ui/components\");\nvar _icons = require(\"@ori-ui/icons\");\nvar _mui = require(\"@ori-ui/mui\");\nconst Root = exports.Root = (0, _mui.styled)('div')(({\n theme\n}) => ({\n alignItems: 'center',\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(3),\n textAlign: 'center'\n}));\nconst GreetingMessageAndContact = exports.GreetingMessageAndContact = (0, _mui.styled)('div')(({\n theme\n}) => ({\n backgroundColor: theme.palette.grey[100],\n borderRadius: theme.spacing(1),\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(2),\n padding: theme.spacing(2),\n width: '100%'\n}));\nconst Icon = exports.Icon = (0, _mui.styled)(_icons.Gift)({\n height: 48,\n width: 48\n});\nconst BannerDialog = exports.BannerDialog = (0, _mui.styled)(_components.Dialog)(({\n theme\n}) => ({\n [`& .${_mui.paperClasses.root}`]: {\n [theme.breakpoints.up('sm')]: {\n width: 390\n }\n }\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TopAreaBannerSkeleton = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _constants = require(\"../../constants\");\nvar _styles = require(\"../../styles\");\nvar _constants2 = require(\"./constants\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst TopAreaBannerSkeleton = () => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Root, {\n \"data-testid\": getTestId(_constants2.TOP_AREA_BANNER_BENEFIT_BANNER_SKELETON),\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Skeleton, {\n animation: \"pulse\",\n height: _constants.TOP_AREA_BANNER_HEIGHT,\n variant: \"rectangular\",\n width: \"100%\"\n })\n });\n};\nexports.TopAreaBannerSkeleton = TopAreaBannerSkeleton;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TOP_AREA_BANNER_BENEFIT_BANNER_SKELETON = void 0;\nconst TOP_AREA_BANNER_BENEFIT_BANNER_SKELETON = exports.TOP_AREA_BANNER_BENEFIT_BANNER_SKELETON = 'top-area-banner-benefit-banner-skeleton';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _TopAreaBannerSkeleton = require(\"./TopAreaBannerSkeleton\");\nObject.keys(_TopAreaBannerSkeleton).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _TopAreaBannerSkeleton[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _TopAreaBannerSkeleton[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _TopAreaBannerContent = require(\"./TopAreaBannerContent\");\nObject.keys(_TopAreaBannerContent).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _TopAreaBannerContent[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _TopAreaBannerContent[key];\n }\n });\n});\nvar _TopAreaBannerDialog = require(\"./TopAreaBannerDialog\");\nObject.keys(_TopAreaBannerDialog).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _TopAreaBannerDialog[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _TopAreaBannerDialog[key];\n }\n });\n});\nvar _TopAreaBannerSkeleton = require(\"./TopAreaBannerSkeleton\");\nObject.keys(_TopAreaBannerSkeleton).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _TopAreaBannerSkeleton[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _TopAreaBannerSkeleton[key];\n }\n });\n});\nvar _BannersCarousel = require(\"./BannersCarousel\");\nObject.keys(_BannersCarousel).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _BannersCarousel[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _BannersCarousel[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TOP_AREA_BANNER_HEIGHT = exports.TOP_AREA_BANNER_BENEFIT_BANNER = void 0;\nconst TOP_AREA_BANNER_HEIGHT = exports.TOP_AREA_BANNER_HEIGHT = 34;\nconst TOP_AREA_BANNER_BENEFIT_BANNER = exports.TOP_AREA_BANNER_BENEFIT_BANNER = 'top-area-banner-benefit-banner';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _TopAreaBanner = require(\"./TopAreaBanner\");\nObject.keys(_TopAreaBanner).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _TopAreaBanner[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _TopAreaBanner[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});\nvar _styles = require(\"./styles\");\nObject.keys(_styles).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _styles[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _styles[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _constants = require(\"./constants\");\nconst Root = exports.Root = (0, _mui.styled)('div', {\n shouldForwardProp: (0, _presentationUtils.shouldForwardProp)()\n})(({\n isOrderOnBehalfVisible,\n theme,\n onClick\n}) => ({\n background: isOrderOnBehalfVisible ? theme.palette.blue[300] : theme.palette.primary.light,\n color: isOrderOnBehalfVisible ? theme.palette.common.white : theme.palette.text.primary,\n cursor: onClick ? 'pointer' : 'default',\n display: 'flex',\n zIndex: theme.zIndex.appBar,\n height: _constants.TOP_AREA_BANNER_HEIGHT,\n width: '100vw',\n position: 'fixed',\n top: '0',\n left: '0',\n alignItems: 'center',\n justifyContent: 'center'\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getContactByType = void 0;\nconst getContactByType = (allowedContacts, contacts, type) => allowedContacts?.includes(type) ? contacts?.filter(contact => contact?.type === type)[0]?.value : null;\nexports.getContactByType = getContactByType;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getTopAreaBannerType = exports.MY_PAGES_REGEX = exports.CHECKOUT_REGEX = void 0;\nvar _net = require(\"../../../models/graphql-types/net\");\nconst MY_PAGES_REGEX = exports.MY_PAGES_REGEX = /^\\/([A-Za-z]{2}\\/)?mypages(\\/.*|\\?.*)?$/;\nconst CHECKOUT_REGEX = exports.CHECKOUT_REGEX = /^\\/([A-Za-z]{2}\\/)?shopping\\/basket(\\/.*|\\?.*)?$/;\nconst getTopAreaBannerType = (pathname, isAnonymousWithStore) => {\n if (pathname === null) {\n return null;\n }\n if (MY_PAGES_REGEX.test(pathname)) {\n return _net.PermanentTopBannerType.MyPages;\n }\n if (CHECKOUT_REGEX.test(pathname)) {\n return _net.PermanentTopBannerType.Checkout;\n }\n if (isAnonymousWithStore) {\n return _net.PermanentTopBannerType.PublicPageWithReferral;\n }\n return _net.PermanentTopBannerType.PublicPage;\n};\nexports.getTopAreaBannerType = getTopAreaBannerType;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _getContactByType = require(\"./getContactByType\");\nObject.keys(_getContactByType).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _getContactByType[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _getContactByType[key];\n }\n });\n});\nvar _getTopAreaBannerType = require(\"./getTopAreaBannerType\");\nObject.keys(_getTopAreaBannerType).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _getTopAreaBannerType[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _getTopAreaBannerType[key];\n }\n });\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TopAreaBlock = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _context = require(\"../../context\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst TopAreaBlock = ({\n children\n}) => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n visible: isTopBannerVisible\n } = (0, _context.useTopAreaBanner)();\n const {\n showSearchOnScroll\n } = (0, _context.useAppConfig)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.TopAreaReservedSpaceBlock, {\n \"data-testid\": getTestId(_constants.ROOT_WRAPPER),\n id: \"top-area\",\n isTopBannerVisible: isTopBannerVisible,\n showSearchOnScroll: showSearchOnScroll,\n children: children\n });\n};\nexports.TopAreaBlock = TopAreaBlock;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ROOT_WRAPPER = void 0;\nconst ROOT_WRAPPER = exports.ROOT_WRAPPER = 'root-wrapper';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _TopAreaBlock = require(\"./TopAreaBlock\");\nObject.keys(_TopAreaBlock).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _TopAreaBlock[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _TopAreaBlock[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TopAreaReservedSpaceBlock = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _constants = require(\"../../constants\");\nvar _getMobileCssVariable = require(\"../../utils/getMobileCssVariable\");\nconst TopAreaReservedSpaceBlock = exports.TopAreaReservedSpaceBlock = (0, _mui.styled)('div', {\n shouldForwardProp: (0, _presentationUtils.shouldForwardProp)()\n})(({\n isTopBannerVisible,\n showSearchOnScroll,\n theme\n}) => ({\n minHeight: (0, _getMobileCssVariable.getMobileCssHeightVariable)({\n isTopBannerVisible,\n showSearchOnScroll\n }),\n [theme.breakpoints.up('md')]: {\n minHeight: isTopBannerVisible ? _constants.CSS_DESKTOP_WITH_TOP_AREA_BANNER_HEIGHT : _constants.CSS_DESKTOP_HEIGHT\n }\n}));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.UserSection = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _auth = require(\"@ori/auth\");\nvar _login = require(\"@ori/login\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _hooks = require(\"../../hooks\");\nvar _useTranslations = require(\"../../hooks/useTranslations\");\nvar _constants = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst UserSection = () => {\n const [ref, Icon] = (0, _hooks.useHover)(_icons.UserFilled, _icons.User);\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n isAnonymousUser\n } = (0, _auth.useToken)();\n const {\n doLogin\n } = (0, _login.useLogin)();\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n const customerInitials = (0, _hooks.useCustomerInitials)();\n if (!isAnonymousUser) {\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.MobileUserIconButton, {\n ref: ref,\n \"aria-label\": translations.myAccount,\n \"data-testid\": getTestId(_constants.USER_ICON_MOBILE),\n children: customerInitials ? /*#__PURE__*/(0, _jsxRuntime.jsx)(\"a\", {\n href: _constants.MY_PAGES_URL,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.UserAvatar, {\n children: customerInitials\n })\n }) : null\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.DesktopUserIconButton, {\n href: _constants.MY_PAGES_URL,\n startIcon: customerInitials ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.UserAvatar, {\n children: customerInitials\n }) : null,\n variant: \"contained\",\n \"data-testid\": getTestId(_constants.USER_ICON_DESKTOP),\n color: \"secondary\",\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(\"span\", {\n children: translations.myAccount\n })\n })]\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.MobileUserIconButton, {\n ref: ref,\n disableRipple: true,\n \"aria-label\": translations.signIn,\n \"data-testid\": getTestId(_constants.USER_ICON_MOBILE),\n onClick: doLogin,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, {\n fontSize: \"inherit\"\n })\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SignInLabel, {\n ref: ref,\n disableRipple: true,\n \"data-testid\": getTestId(_constants.USER_ICON_DESKTOP),\n onClick: doLogin,\n children: translations.signIn\n })]\n });\n};\nexports.UserSection = UserSection;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.USER_ICON_MOBILE = exports.USER_ICON_DESKTOP = exports.MY_PAGES_URL = void 0;\nconst USER_ICON_MOBILE = exports.USER_ICON_MOBILE = 'user-icon-mobile';\nconst USER_ICON_DESKTOP = exports.USER_ICON_DESKTOP = 'user-icon-desktop';\nconst MY_PAGES_URL = exports.MY_PAGES_URL = '/ssoidentity/mypages';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _exportNames = {\n UserAvatar: true\n};\nObject.defineProperty(exports, \"UserAvatar\", {\n enumerable: true,\n get: function () {\n return _styles.UserAvatar;\n }\n});\nvar _UserSection = require(\"./UserSection\");\nObject.keys(_UserSection).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n if (key in exports && exports[key] === _UserSection[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _UserSection[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});\nvar _styles = require(\"./styles\");","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.UserAvatar = exports.SignInLabel = exports.MobileUserIconButton = exports.DesktopUserIconButton = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst SignInLabel = exports.SignInLabel = (0, _mui.styled)(_mui.ButtonBase)(({\n theme\n}) => ({\n display: 'none',\n [theme.breakpoints.up('md')]: {\n color: theme.palette.text.primary,\n display: 'block',\n fontSize: '1.4rem',\n fontWeight: theme.typography.fontWeightBold,\n textDecoration: 'none',\n whiteSpace: 'nowrap',\n textTransform: 'uppercase',\n '&:hover, &:focus, &:active': {\n color: theme.palette.grey[600],\n cursor: 'pointer'\n }\n }\n}));\nconst DesktopUserIconButton = exports.DesktopUserIconButton = (0, _mui.styled)(_mui.Button)(({\n theme\n}) => ({\n display: 'none',\n fontSize: '1.4rem',\n whiteSpace: 'nowrap',\n lineHeight: '2.1rem',\n minWidth: 'auto',\n fontWeight: theme.typography.fontWeightBold,\n svg: {\n marginLeft: theme.spacing(2)\n },\n [theme.breakpoints.up('md')]: {\n display: 'inline-flex'\n }\n}));\nconst MobileUserIconButton = exports.MobileUserIconButton = (0, _mui.styled)(_mui.ButtonBase)(({\n theme\n}) => ({\n fontSize: '3rem',\n color: theme.palette.text.primary,\n whiteSpace: 'nowrap',\n textTransform: 'uppercase',\n [theme.breakpoints.up('md')]: {\n display: 'none'\n }\n}));\nconst UserAvatar = exports.UserAvatar = (0, _mui.styled)(_mui.Avatar)(({\n theme\n}) => ({\n fontSize: '1rem !important',\n width: 22,\n height: 22,\n backgroundColor: theme.palette.grey[700]\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.NEXT_CATALOGUE = exports.MOBILE_CATALOGUE = exports.LINK = exports.DESKTOP_CATALOGUE = exports.CTA_TEXT = exports.CATALOGUES_SEE_ALL_LINK = exports.CATALOGUES_SEE_ALL = void 0;\nconst DESKTOP_CATALOGUE = exports.DESKTOP_CATALOGUE = 'desktop-catalogue';\nconst MOBILE_CATALOGUE = exports.MOBILE_CATALOGUE = 'mobile-catalogue';\nconst NEXT_CATALOGUE = exports.NEXT_CATALOGUE = 'next-catalogue';\nconst CATALOGUES_SEE_ALL = exports.CATALOGUES_SEE_ALL = 'catalogues-see-all';\nconst CATALOGUES_SEE_ALL_LINK = exports.CATALOGUES_SEE_ALL_LINK = 'catalogues-see-all-link';\nconst LINK = exports.LINK = 'link';\nconst CTA_TEXT = exports.CTA_TEXT = 'cta-text';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _AppPromoBanner = require(\"./AppPromoBanner\");\nObject.keys(_AppPromoBanner).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _AppPromoBanner[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _AppPromoBanner[key];\n }\n });\n});\nvar _TopAreaBlock = require(\"./TopAreaBlock\");\nObject.keys(_TopAreaBlock).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _TopAreaBlock[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _TopAreaBlock[key];\n }\n });\n});\nvar _SearchPreview = require(\"./SearchPreview\");\nObject.keys(_SearchPreview).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreview[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreview[key];\n }\n });\n});\nvar _SearchPreviewSkeleton = require(\"./SearchPreviewSkeleton\");\nObject.keys(_SearchPreviewSkeleton).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SearchPreviewSkeleton[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SearchPreviewSkeleton[key];\n }\n });\n});\nvar _ShadePicker = require(\"./ShadePicker\");\nObject.keys(_ShadePicker).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ShadePicker[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ShadePicker[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.basePositionStyles = exports.UnifiedSkeleton = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst UnifiedSkeleton = exports.UnifiedSkeleton = (0, _mui.styled)(_mui.Skeleton)({\n transform: 'none'\n});\nconst basePositionStyles = exports.basePositionStyles = {\n bottom: 0,\n left: 0,\n position: 'fixed',\n right: 0,\n top: 0\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TEAM_NAME = exports.PACKAGE_NAME = exports.EMOTION_CACHE_KEY = exports.APP_ROOT_ELEMENT_ID = exports.APP_NAME = void 0;\n/* istanbul ignore file */\n//\n// DO NOT EDIT!\n// This file was autogenerated by Eddie.\n// Changes may cause incorrect behavior and will be lost when the file is regenerated.\n//\n// Run `npx eddie update workspace` to regenerate.\n//\n\nconst APP_NAME = exports.APP_NAME = 'top-area';\nconst PACKAGE_NAME = exports.PACKAGE_NAME = '@ori/top-area';\nconst TEAM_NAME = exports.TEAM_NAME = 'Presentation';\nconst EMOTION_CACHE_KEY = exports.EMOTION_CACHE_KEY = `${APP_NAME}-emotion-cache-key`;\nconst APP_ROOT_ELEMENT_ID = exports.APP_ROOT_ELEMENT_ID = `${APP_NAME}-root`;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.START_SEARCH = exports.CLICK_SUBCATEGORY_LINK = exports.CLICK_NOTIFICATION_ICON = exports.CLICK_FAVORITE_ICON = exports.CLICK_CATEGORY_BRAND = exports.CLICK_CATALOGUE_DETAIL = exports.CLICK_CATALGOUE = exports.CLICK_BURGER_MENU = exports.ACCEPT_LANGUAGE = void 0;\nconst CLICK_CATALGOUE = exports.CLICK_CATALGOUE = ['open_ecatalogue', 'Main menu sidebar'];\nconst CLICK_CATALOGUE_DETAIL = exports.CLICK_CATALOGUE_DETAIL = ['open_ecatalogue', 'Main menu content'];\nconst CLICK_BURGER_MENU = exports.CLICK_BURGER_MENU = ['open_main_menu', 'Top navigation'];\nconst CLICK_CATEGORY_BRAND = exports.CLICK_CATEGORY_BRAND = ['select_brand', 'Main menu content'];\nconst START_SEARCH = exports.START_SEARCH = ['search_start', 'Search 1'];\nconst CLICK_FAVORITE_ICON = exports.CLICK_FAVORITE_ICON = ['open_favorites', 'Top navigation'];\nconst CLICK_NOTIFICATION_ICON = exports.CLICK_NOTIFICATION_ICON = ['notifications', 'open_notification_overview'];\n\n// Cannot use the one from ori/fetching due to not capital A and L in accept-language\nconst ACCEPT_LANGUAGE = exports.ACCEPT_LANGUAGE = 'Accept-Language';\nconst CLICK_SUBCATEGORY_LINK = exports.CLICK_SUBCATEGORY_LINK = ['menu_side_select'];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.IDENTITY_CLIENT_ID = void 0;\nconst IDENTITY_CLIENT_ID = exports.IDENTITY_CLIENT_ID = 'SPADev';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.translationsNamespace = exports.defaultTranslations = void 0;\n/* istanbul ignore file */\n\n/**\n * DO NOT EDIT!\n * This file was autogenerated by npm script `localizations-codegen`.\n * Changes may cause incorrect behavior and will be lost when the file is regenerated.\n *\n * Run `npx localizations-codegen` to regenerate.\n */\n\nconst defaultTranslations = exports.defaultTranslations = {\n allBrands: 'All brands',\n articles: 'Articles',\n brands: 'Brands',\n callToActionCatalogueText: 'Call to action catalogue text',\n change: 'Change',\n clearSearchInput: 'Clear search input',\n failedToSubmit: 'Failed to submit',\n gotIt: 'Got it',\n loading: 'Loading',\n logIn: 'Log in',\n loggedInAs: 'Logged in as',\n menu: 'Menu',\n myAccount: 'My account',\n myFavoriteProducts: 'My favorite products',\n nextCatalogue: 'Next catalogue',\n noOptions: 'No options',\n notifications: 'Notifications',\n open: 'Open',\n oriflameSweden: 'Oriflame Sweden',\n other: 'Other',\n popularProducts: 'Popular products',\n popularProductsInThisSearchQuery: 'Popular products in this search query',\n popularSearchQueries: 'Top result for',\n products: 'Products',\n register: 'Register',\n search: 'Search',\n searchDesktop: 'Search 60+ brands, 1000+ beauty and nutrition products',\n seeAll: 'See all',\n seeAllCatalogues: 'See all catalogues',\n seeAllResultsFor: 'See all results ({count})',\n shopFor: 'Shop for',\n shoppingBag: 'Shopping bag',\n signIn: 'Sign in',\n topAreaBannerDialogError: 'Error while loading data, please try again later.',\n topAreaBannerReferralMessage: 'Click to see more info!',\n view: 'View'\n};\nconst translationsNamespace = exports.translationsNamespace = 'top-area';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.defaultTranslationsWithNamespaces = void 0;\nvar _defaultTranslations = require(\"./defaultTranslations\");\n/**\n * Default translations with namespaces\n */\nconst defaultTranslationsWithNamespaces = exports.defaultTranslationsWithNamespaces = {\n [_defaultTranslations.translationsNamespace]: _defaultTranslations.defaultTranslations\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _analytics = require(\"./analytics\");\nObject.keys(_analytics).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _analytics[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _analytics[key];\n }\n });\n});\nvar _app = require(\"./app\");\nObject.keys(_app).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _app[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _app[key];\n }\n });\n});\nvar _defaultTranslations = require(\"./defaultTranslations\");\nObject.keys(_defaultTranslations).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _defaultTranslations[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _defaultTranslations[key];\n }\n });\n});\nvar _defaultTranslationsWithNamespaces = require(\"./defaultTranslationsWithNamespaces\");\nObject.keys(_defaultTranslationsWithNamespaces).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _defaultTranslationsWithNamespaces[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _defaultTranslationsWithNamespaces[key];\n }\n });\n});\nvar _parameters = require(\"./parameters\");\nObject.keys(_parameters).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _parameters[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _parameters[key];\n }\n });\n});\nvar _settings = require(\"./settings\");\nObject.keys(_settings).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _settings[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _settings[key];\n }\n });\n});\nvar _tenants = require(\"./tenants\");\nObject.keys(_tenants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _tenants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _tenants[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.RETURN_URL_QUERY_PARAM_KEY = exports.INVITATION_OFFER_HASH = exports.CONSULTANT_NUMBER_QUERY_PARAM_KEY = void 0;\n/* istanbul ignore file -- constants file */\nconst CONSULTANT_NUMBER_QUERY_PARAM_KEY = exports.CONSULTANT_NUMBER_QUERY_PARAM_KEY = 'chPwdUsr';\nconst RETURN_URL_QUERY_PARAM_KEY = exports.RETURN_URL_QUERY_PARAM_KEY = 'returnUrl';\nconst INVITATION_OFFER_HASH = exports.INVITATION_OFFER_HASH = '#open-invitation-offer';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TOP_NAV_NO_SCROLL = exports.TOP_NAV_INNER_HEIGHT_CSS_VARIABLE = exports.TOP_NAV_HEIGHT_MOBILE = exports.TOP_NAV_HEIGHT_CSS_VARIABLE = exports.TOP_NAV_HEIGHT = exports.TOP_AREA_BORDER_BOTTOM = exports.TOP_AREA_BANNER_HEIGHT = exports.SEARCH_THROTTLE_TIME = exports.SEARCH_PREVIEW_SEE_ALL_HEIGHT = exports.SEARCH_PREVIEW_PRODUCTS_LIMIT = exports.SEARCH_INPUT_HEIGHT = exports.MOBILE_WITH_TOP_AREA_BANNER_INNER_HEIGHT = exports.MOBILE_WITH_TOP_AREA_BANNER_HEIGHT = exports.MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_INNER_HEIGHT = exports.MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_HEIGHT = exports.MOBILE_WITH_SEARCH_INPUT_INNER_HEIGHT = exports.MOBILE_WITH_SEARCH_INPUT_HEIGHT = exports.MOBILE_INNER_HEIGHT = exports.MOBILE_HEIGHT = exports.DESKTOP_WITH_TOP_AREA_BANNER_HEIGHT = exports.DESKTOP_HEIGHT = exports.CSS_MOBILE_WITH_TOP_AREA_BANNER_INNER_HEIGHT = exports.CSS_MOBILE_WITH_TOP_AREA_BANNER_HEIGHT = exports.CSS_MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_INNER_HEIGHT = exports.CSS_MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_HEIGHT = exports.CSS_MOBILE_WITH_SEARCH_INPUT_INNER_HEIGHT = exports.CSS_MOBILE_WITH_SEARCH_INPUT_HEIGHT = exports.CSS_MOBILE_INNER_HEIGHT = exports.CSS_MOBILE_HEIGHT = exports.CSS_HEIGHT_ANIMATION = exports.CSS_DESKTOP_WITH_TOP_AREA_BANNER_INNER_HEIGHT = exports.CSS_DESKTOP_WITH_TOP_AREA_BANNER_HEIGHT = exports.CSS_DESKTOP_INNER_HEIGHT = exports.CSS_DESKTOP_HEIGHT = exports.AB_TASTY_SCRIPT_URL = exports.AB_TASTY_SCRIPT_IDS = exports.AB_TASTY_SCRIPT_ID = void 0;\n/* istanbul ignore file */\nconst SEARCH_THROTTLE_TIME = exports.SEARCH_THROTTLE_TIME = 1000 * 60 * 5;\nconst SEARCH_INPUT_HEIGHT = exports.SEARCH_INPUT_HEIGHT = 59;\nconst TOP_AREA_BORDER_BOTTOM = exports.TOP_AREA_BORDER_BOTTOM = 2;\n// Should correspond to the height of the \"See all results\" button in the search preview\nconst SEARCH_PREVIEW_SEE_ALL_HEIGHT = exports.SEARCH_PREVIEW_SEE_ALL_HEIGHT = 51;\nconst TOP_AREA_BANNER_HEIGHT = exports.TOP_AREA_BANNER_HEIGHT = 34;\nconst TOP_NAV_HEIGHT_CSS_VARIABLE = exports.TOP_NAV_HEIGHT_CSS_VARIABLE = '--top-nav-height';\nconst TOP_NAV_INNER_HEIGHT_CSS_VARIABLE = exports.TOP_NAV_INNER_HEIGHT_CSS_VARIABLE = '--top-nav-inner-height';\n// Must have the same value as `--top-nav-height-animation` in `.top-nav` in `packages/top-area/src/App.css`\nconst CSS_HEIGHT_ANIMATION = exports.CSS_HEIGHT_ANIMATION = 'var(--top-nav-height-animation, 0.3s ease-in-out)';\n\n// Must have the same value as `--top-nav-height` and `--top-nav-inner-height` in `.top-nav` in `packages/top-area/src/App.css`\nconst DESKTOP_HEIGHT = exports.DESKTOP_HEIGHT = 64;\nconst CSS_DESKTOP_HEIGHT = exports.CSS_DESKTOP_HEIGHT = `var(${TOP_NAV_HEIGHT_CSS_VARIABLE}, ${DESKTOP_HEIGHT}px)`;\nconst CSS_DESKTOP_INNER_HEIGHT = exports.CSS_DESKTOP_INNER_HEIGHT = `var(${TOP_NAV_INNER_HEIGHT_CSS_VARIABLE}, ${DESKTOP_HEIGHT}px)`;\n\n// Must have the same value as `--top-nav-height` in `.top-nav--with-top-area-banner` in `packages/top-area/src/App.css`\nconst DESKTOP_WITH_TOP_AREA_BANNER_HEIGHT = exports.DESKTOP_WITH_TOP_AREA_BANNER_HEIGHT = DESKTOP_HEIGHT + TOP_AREA_BANNER_HEIGHT;\nconst CSS_DESKTOP_WITH_TOP_AREA_BANNER_HEIGHT = exports.CSS_DESKTOP_WITH_TOP_AREA_BANNER_HEIGHT = `var(${TOP_NAV_HEIGHT_CSS_VARIABLE}, ${DESKTOP_WITH_TOP_AREA_BANNER_HEIGHT}px)`;\nconst CSS_DESKTOP_WITH_TOP_AREA_BANNER_INNER_HEIGHT = exports.CSS_DESKTOP_WITH_TOP_AREA_BANNER_INNER_HEIGHT = `var(${TOP_NAV_INNER_HEIGHT_CSS_VARIABLE}, ${DESKTOP_HEIGHT}px)`;\n\n// Must have the same value as ` --top-nav-height` and `--top-nav-inner-height` in `.top-nav--is-mobile` in `packages/top-area/src/App.css`\nconst MOBILE_HEIGHT = exports.MOBILE_HEIGHT = 60;\nconst MOBILE_INNER_HEIGHT = exports.MOBILE_INNER_HEIGHT = 60;\nconst CSS_MOBILE_HEIGHT = exports.CSS_MOBILE_HEIGHT = `var(${TOP_NAV_HEIGHT_CSS_VARIABLE}, ${MOBILE_HEIGHT}px)`;\nconst CSS_MOBILE_INNER_HEIGHT = exports.CSS_MOBILE_INNER_HEIGHT = `var(${TOP_NAV_INNER_HEIGHT_CSS_VARIABLE}, ${MOBILE_INNER_HEIGHT}px)`;\n\n// Must have the same value as ` --top-nav-height` in `.top-nav--with-top-area-banner.top-nav--is-mobile` in `packages/top-area/src/App.css`\nconst MOBILE_WITH_TOP_AREA_BANNER_HEIGHT = exports.MOBILE_WITH_TOP_AREA_BANNER_HEIGHT = MOBILE_HEIGHT + TOP_AREA_BANNER_HEIGHT;\nconst MOBILE_WITH_TOP_AREA_BANNER_INNER_HEIGHT = exports.MOBILE_WITH_TOP_AREA_BANNER_INNER_HEIGHT = MOBILE_INNER_HEIGHT;\nconst CSS_MOBILE_WITH_TOP_AREA_BANNER_HEIGHT = exports.CSS_MOBILE_WITH_TOP_AREA_BANNER_HEIGHT = `var(${TOP_NAV_HEIGHT_CSS_VARIABLE}, ${MOBILE_WITH_TOP_AREA_BANNER_HEIGHT}px)`;\nconst CSS_MOBILE_WITH_TOP_AREA_BANNER_INNER_HEIGHT = exports.CSS_MOBILE_WITH_TOP_AREA_BANNER_INNER_HEIGHT = `var(${TOP_NAV_INNER_HEIGHT_CSS_VARIABLE}, ${MOBILE_WITH_TOP_AREA_BANNER_INNER_HEIGHT}px)`;\n\n// Must have the same value as ` --top-nav-height` in `.top-nav--search-input-visible.top-nav--is-mobile` in `packages/top-area/src/App.css`\nconst MOBILE_WITH_SEARCH_INPUT_HEIGHT = exports.MOBILE_WITH_SEARCH_INPUT_HEIGHT = MOBILE_HEIGHT + SEARCH_INPUT_HEIGHT;\nconst MOBILE_WITH_SEARCH_INPUT_INNER_HEIGHT = exports.MOBILE_WITH_SEARCH_INPUT_INNER_HEIGHT = MOBILE_INNER_HEIGHT;\nconst CSS_MOBILE_WITH_SEARCH_INPUT_HEIGHT = exports.CSS_MOBILE_WITH_SEARCH_INPUT_HEIGHT = `var(${TOP_NAV_HEIGHT_CSS_VARIABLE}, ${MOBILE_WITH_SEARCH_INPUT_HEIGHT}px)`;\nconst CSS_MOBILE_WITH_SEARCH_INPUT_INNER_HEIGHT = exports.CSS_MOBILE_WITH_SEARCH_INPUT_INNER_HEIGHT = `var(${TOP_NAV_INNER_HEIGHT_CSS_VARIABLE}, ${MOBILE_WITH_SEARCH_INPUT_INNER_HEIGHT}px)`;\n\n// Must have the same value as ` --top-nav-height` in `.top-nav--with-top-area-banner.top-nav--search-input-visible.top-nav--is-mobile` in `packages/top-area/src/App.css`\nconst MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_HEIGHT = exports.MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_HEIGHT = MOBILE_WITH_TOP_AREA_BANNER_HEIGHT + SEARCH_INPUT_HEIGHT;\nconst MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_INNER_HEIGHT = exports.MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_INNER_HEIGHT = MOBILE_WITH_TOP_AREA_BANNER_INNER_HEIGHT;\nconst CSS_MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_HEIGHT = exports.CSS_MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_HEIGHT = `var(${TOP_NAV_HEIGHT_CSS_VARIABLE}, ${MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_HEIGHT}px)`;\nconst CSS_MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_INNER_HEIGHT = exports.CSS_MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_INNER_HEIGHT = `var(${TOP_NAV_INNER_HEIGHT_CSS_VARIABLE}, ${MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_INNER_HEIGHT}px)`;\nconst TOP_NAV_NO_SCROLL = exports.TOP_NAV_NO_SCROLL = 'top-nav--no-scroll';\n\n/** @deprecated use DESKTOP_HEIGHT */\nconst TOP_NAV_HEIGHT = exports.TOP_NAV_HEIGHT = DESKTOP_HEIGHT;\n/** @deprecated use MOBILE_HEIGHT */\nconst TOP_NAV_HEIGHT_MOBILE = exports.TOP_NAV_HEIGHT_MOBILE = MOBILE_HEIGHT;\nconst AB_TASTY_SCRIPT_URL = exports.AB_TASTY_SCRIPT_URL = 'https://try.abtasty.com/';\n/**\n * AbTasty configuration ids.\n */\nconst AB_TASTY_SCRIPT_IDS = exports.AB_TASTY_SCRIPT_IDS = {\n pl_live: 'd7969c131a7cd1e6eae1663545c12f7e',\n pl_stg: '8e82c73eacd1c73ed013bf7f9456f94d',\n ro_live: 'b9b95b18b302849d29466a1d6a271bd3',\n ro_stg: '45b6a9a02035d85e692125e9237ebc42',\n uk_live: '880cd51afa2ebc420d661463a5c7e851',\n uk_stg: 'de2ac2e90695e0f6a42150be9515d496'\n};\nconst AB_TASTY_SCRIPT_ID = exports.AB_TASTY_SCRIPT_ID = 'abt';\n\n// Graphql query limit for search preview products\nconst SEARCH_PREVIEW_PRODUCTS_LIMIT = exports.SEARCH_PREVIEW_PRODUCTS_LIMIT = 12;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CN_MARKET = void 0;\nconst CN_MARKET = exports.CN_MARKET = 'cn';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ApiProvider = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _configurationManager = require(\"@ori/configuration-manager\");\nvar _globalApiClientReact = require(\"@ori/global-api-client-react\");\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _context = require(\"../context\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst ApiProvider = ({\n children\n}) => {\n const {\n currentLanguage,\n tenant\n } = (0, _context.useAppConfig)();\n const {\n globalApiUrl,\n staticApiUrl\n } = (0, _configurationManager.useServiceUrls)(['globalApi', 'staticApi']);\n const {\n formattedToken\n } = (0, _auth.useToken)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_globalApiClientReact.ApiClientProvider, {\n baseUrl: globalApiUrl,\n language: currentLanguage,\n token: formattedToken,\n tenant: tenant,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_staticApiClientReact.ApiClientProvider, {\n baseUrl: staticApiUrl,\n language: currentLanguage,\n tenant: tenant,\n children: children\n })\n });\n};\nexports.ApiProvider = ApiProvider;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Context = void 0;\nvar _presentationHttp = require(\"@ori/presentation-http\");\nvar _context = require(\"../context\");\nvar _navigation = require(\"../context/navigation\");\nvar _utils = require(\"../utils\");\nvar _ApiProvider = require(\"./ApiProvider\");\n// istanbul ignore file -- constant file\n\nconst Context = exports.Context = (0, _utils.composeProviders)(_ApiProvider.ApiProvider, _presentationHttp.UserSegmentationDataProvider, _context.HeadersProvider, _context.AppPromoProvider, _navigation.SearchInputProvider, _navigation.ActiveLinkProvider, _navigation.ActiveMenuProvider, _context.ConsultantProvider, _context.TopAreaBannerProvider, _navigation.LabelsProvider, _navigation.BurgerMenuProvider);","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useAppPromo = exports.appPromoContext = exports.AppPromoProvider = void 0;\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _react = require(\"react\");\nvar _useCookieStoreInfo = require(\"../../hooks/useCookieStoreInfo\");\nvar _useMobileOs = require(\"../../hooks/useMobileOs\");\nvar _configurationContext = require(\"../configurationContext\");\nvar _utils = require(\"./utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst appPromoContext = exports.appPromoContext = /*#__PURE__*/(0, _react.createContext)({});\nconst {\n Provider\n} = appPromoContext;\nconst AppPromoProvider = ({\n children\n}) => {\n const [visible, setVisible] = (0, _react.useState)(false);\n const [pagePath, setPagePath] = (0, _react.useState)();\n const {\n currentLanguage,\n tenant\n } = (0, _configurationContext.useAppConfig)();\n const {\n owner: store\n } = (0, _useCookieStoreInfo.useCookieStoreInfo)();\n const {\n userOs\n } = (0, _useMobileOs.useMobileOs)();\n (0, _react.useEffect)(() => {\n setPagePath(window.location.pathname);\n }, []);\n const {\n data\n } = (0, _staticApiClientReact.useGetTenantMobileAppSmartAppBanner)(tenant, userOs ?? 'Android', {\n lang: currentLanguage,\n pagePath: pagePath ?? '',\n storeName: store ?? undefined\n }, {\n swr: {\n enabled: Boolean(userOs && pagePath),\n revalidateIfStale: false,\n revalidateOnFocus: false,\n revalidateOnReconnect: false,\n shouldRetryOnError: false\n }\n });\n (0, _react.useEffect)(() => {\n setVisible((0, _utils.isAppPromoBannerVisible)({\n data,\n userOs\n }));\n }, [data, userOs]);\n const onClose = (0, _react.useCallback)(() => {\n setVisible(false);\n (0, _utils.setHideAppPromoBannerUntilDate)();\n }, []);\n const value = (0, _react.useMemo)(() => ({\n appDescription: data?.appDescription,\n appIcon: data?.appIcon,\n appName: data?.appName,\n bannerLink: data?.bannerLink,\n onClose,\n visible\n }), [data?.appDescription, data?.appIcon, data?.appName, data?.bannerLink, onClose, visible]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(Provider, {\n value: value,\n children: children\n });\n};\nexports.AppPromoProvider = AppPromoProvider;\nconst useAppPromo = () => (0, _react.useContext)(appPromoContext);\nexports.useAppPromo = useAppPromo;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _appPromoContext = require(\"./appPromoContext\");\nObject.keys(_appPromoContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _appPromoContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _appPromoContext[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.setHideAppPromoBannerUntilDate = exports.isAppPromoBannerVisible = exports.getHideAppPromoBannerUntilDate = exports.APP_PROMO_LOCAL_STORAGE_KEY = void 0;\nconst APP_PROMO_LOCAL_STORAGE_KEY = exports.APP_PROMO_LOCAL_STORAGE_KEY = 'hideAppPromoBannerUntil';\nconst getHideAppPromoBannerUntilDate = () => {\n const hideAppPromoBannerUntilFromLocalStorage = localStorage.getItem(APP_PROMO_LOCAL_STORAGE_KEY);\n const hideAppPromoBannerUntil = hideAppPromoBannerUntilFromLocalStorage ? new Date(hideAppPromoBannerUntilFromLocalStorage) : null;\n return hideAppPromoBannerUntil;\n};\nexports.getHideAppPromoBannerUntilDate = getHideAppPromoBannerUntilDate;\nconst setHideAppPromoBannerUntilDate = () => {\n const dateNow = new Date();\n dateNow.setMonth(dateNow.getMonth() + 1);\n localStorage.setItem(APP_PROMO_LOCAL_STORAGE_KEY, dateNow.toISOString());\n};\nexports.setHideAppPromoBannerUntilDate = setHideAppPromoBannerUntilDate;\nconst isAppPromoBannerVisible = ({\n data,\n userOs\n}) => {\n const hideAppPromoBannerUntil = getHideAppPromoBannerUntilDate();\n const dateNow = new Date();\n return Boolean(userOs && (!hideAppPromoBannerUntil || hideAppPromoBannerUntil.toString() === 'Invalid Date' || hideAppPromoBannerUntil < dateNow) && data?.appName && data.bannerLink);\n};\nexports.isAppPromoBannerVisible = isAppPromoBannerVisible;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useAppConfig = exports.appConfigContextDefaultValue = exports.appConfigContext = exports.AppConfigProvider = void 0;\nvar _react = require(\"react\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst appConfigContextDefaultValue = exports.appConfigContextDefaultValue = {\n currentLanguage: '',\n enableTopAreaBanner: false,\n graphqlUrl: '',\n mobileOfficeApiUrl: '',\n tenant: '',\n abTastyEnabled: false,\n onlyProductsTabInSearch: false,\n setSessionId: () => {}\n};\nconst appConfigContext = exports.appConfigContext = /*#__PURE__*/(0, _react.createContext)(appConfigContextDefaultValue);\nconst AppConfigProvider = ({\n children,\n value: props\n}) => {\n const [sessionId, setSessionId] = (0, _react.useState)();\n const value = (0, _react.useMemo)(() => ({\n ...props,\n sessionId,\n setSessionId\n }), [props, sessionId, setSessionId]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(appConfigContext.Provider, {\n value: value,\n children: children\n });\n};\nexports.AppConfigProvider = AppConfigProvider;\nconst useAppConfig = () => (0, _react.useContext)(appConfigContext);\nexports.useAppConfig = useAppConfig;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useConsultant = exports.consultantContext = exports.ConsultantProvider = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _axios = require(\"@ori/axios\");\nvar _fetching = require(\"@ori/fetching\");\nvar _globalApiClientReact = require(\"@ori/global-api-client-react\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _react = require(\"react\");\nvar _utils = require(\"../utils\");\nvar _configurationContext = require(\"./configurationContext\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n// istanbul ignore file -- needs to be refactored with whole OOB\n\nconst consultantContext = exports.consultantContext = /*#__PURE__*/(0, _react.createContext)({\n loadingVipAccess: true\n});\nconst {\n Provider\n} = consultantContext;\nconst ConsultantProvider = ({\n children\n}) => {\n const {\n consultantNumber,\n consultantType\n } = (0, _configurationContext.useAppConfig)();\n const {\n customerId,\n isAnonymousUser,\n isUserVerified\n } = (0, _auth.useToken)();\n const {\n data\n } = (0, _globalApiClientReact.useGetApplicationsNavigationCustomerInfo)(customerId.toString(), undefined, {\n swr: {\n ...(0, _presentationUtils.getRetryErrorSwrOptions)(),\n enabled: isUserVerified && !isAnonymousUser\n }\n });\n const {\n data: vipAccess,\n error\n } = (0, _fetching.useSWR)(_utils.vipOrderUrls.access, async () => _axios.axios.get(_utils.vipOrderUrls.access, {\n baseURL: window.location.origin\n }).then(response => response.data), {\n revalidateIfStale: false,\n revalidateOnFocus: false,\n revalidateOnReconnect: false\n });\n const loadingVipAccess = vipAccess === undefined && error === undefined;\n const value = (0, _react.useMemo)(() => ({\n consultantNumber: data?.consultantNumber?.toString() ?? consultantNumber,\n consultantType,\n isOrderOnBehalfVisible: !!(vipAccess?.VipAccessData?.ConsultantName && vipAccess.VipAccessData.ConsultantNumber),\n loadingVipAccess,\n vipAccess\n }), [consultantNumber, consultantType, data?.consultantNumber, loadingVipAccess, vipAccess]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(Provider, {\n value: value,\n children: children\n });\n};\nexports.ConsultantProvider = ConsultantProvider;\nconst useConsultant = () => (0, _react.useContext)(consultantContext);\nexports.useConsultant = useConsultant;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.HeadersProvider = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _environment = require(\"@ori/environment\");\nvar _i18n = require(\"@ori/i18n\");\nvar _presentationHttp = require(\"@ori/presentation-http\");\nvar _constantsGenerated = require(\"../constants-generated\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n/* istanbul ignore file */\n\nconst HeadersProvider = ({\n children\n}) => {\n const {\n language\n } = (0, _i18n.useLanguage)();\n const {\n tenant\n } = (0, _environment.useEnvironment)();\n const {\n customerId,\n token\n } = (0, _auth.useToken)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_presentationHttp.HeadersProvider, {\n customerId: customerId,\n language: language,\n sourceAppName: _constantsGenerated.PACKAGE_NAME,\n tenant: tenant,\n token: token,\n children: children\n });\n};\nexports.HeadersProvider = HeadersProvider;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _appPromoContext = require(\"./appPromoContext\");\nObject.keys(_appPromoContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _appPromoContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _appPromoContext[key];\n }\n });\n});\nvar _configurationContext = require(\"./configurationContext\");\nObject.keys(_configurationContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _configurationContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _configurationContext[key];\n }\n });\n});\nvar _consultantContext = require(\"./consultantContext\");\nObject.keys(_consultantContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _consultantContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _consultantContext[key];\n }\n });\n});\nvar _topAreaBannerContext = require(\"./topAreaBannerContext\");\nObject.keys(_topAreaBannerContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _topAreaBannerContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _topAreaBannerContext[key];\n }\n });\n});\nvar _headersContext = require(\"./headersContext\");\nObject.keys(_headersContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _headersContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _headersContext[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useActiveLink = exports.activeLinkContext = exports.ActiveLinkProvider = void 0;\nvar _react = require(\"react\");\nvar _useIsMobile = require(\"../../hooks/useIsMobile\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst activeLinkContext = exports.activeLinkContext = /*#__PURE__*/(0, _react.createContext)(undefined);\nconst {\n Provider\n} = activeLinkContext;\nconst ActiveLinkProvider = ({\n children\n}) => {\n const [activeLink, setActiveLink] = (0, _react.useState)(null);\n const isMobile = (0, _useIsMobile.useIsMobile)();\n const toggleActiveLink = (0, _react.useCallback)(link => {\n if (isMobile && activeLink === link) {\n setActiveLink(null);\n } else {\n setActiveLink(link);\n }\n }, [activeLink, isMobile]);\n const value = (0, _react.useMemo)(() => ({\n activeLink,\n toggleActiveLink\n }), [activeLink, toggleActiveLink]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(Provider, {\n value: value,\n children: children\n });\n};\nexports.ActiveLinkProvider = ActiveLinkProvider;\nconst useActiveLink = () => {\n const context = (0, _react.useContext)(activeLinkContext);\n if (context) {\n return context;\n }\n throw new Error('useActiveLinkContext must be used within a ActiveLinkProvider.');\n};\nexports.useActiveLink = useActiveLink;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useActiveMenu = exports.ActiveMenuProvider = void 0;\nvar _toggleMenuFlyout = require(\"@ori-events/toggle-menu-flyout\");\nvar _react = require(\"react\");\nvar _searchInputContext = require(\"./searchInputContext\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst activeMenuContext = /*#__PURE__*/(0, _react.createContext)(undefined);\nconst {\n Provider\n} = activeMenuContext;\nconst ActiveMenuProvider = ({\n children\n}) => {\n const [activeMenu, setActiveMenu] = (0, _react.useState)('');\n const {\n blur,\n clearResults,\n hide,\n setValue,\n show\n } = (0, _searchInputContext.useSearchInput)();\n const toggleActiveMenu = (0, _react.useCallback)(menu => {\n if (menu === _toggleMenuFlyout.MenuTypes.SearchInput || menu === _toggleMenuFlyout.MenuTypes.SearchResults) {\n show();\n setActiveMenu(menu);\n } else if (activeMenu === menu) {\n hide();\n setActiveMenu('');\n } else {\n hide();\n setActiveMenu(menu);\n }\n }, [activeMenu, hide, show]);\n const hideSearchResultsTab = (0, _react.useCallback)(() => {\n blur();\n clearResults();\n hide();\n setActiveMenu('');\n setValue('');\n }, [blur, clearResults, hide, setValue]);\n const value = (0, _react.useMemo)(() => ({\n activeMenu,\n hideSearchResultsTab,\n toggleActiveMenu\n }), [activeMenu, hideSearchResultsTab, toggleActiveMenu]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(Provider, {\n value: value,\n children: children\n });\n};\nexports.ActiveMenuProvider = ActiveMenuProvider;\nconst useActiveMenu = () => {\n const context = (0, _react.useContext)(activeMenuContext);\n if (context) {\n return context;\n }\n throw new Error('useActiveMenuContext must be used within a ActiveMenuProvider.');\n};\nexports.useActiveMenu = useActiveMenu;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useBurgerMenu = exports.burgerMenuContextDefaultValue = exports.burgerMenuContext = exports.BurgerMenuProvider = void 0;\nvar ToggleMenuFlyout = _interopRequireWildcard(require(\"@ori-events/toggle-menu-flyout\"));\nvar _react = require(\"react\");\nvar _api = require(\"../../api\");\nvar _useIsMobile = require(\"../../hooks/useIsMobile\");\nvar _activeMenuContext = require(\"./activeMenuContext\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\n// istanbul ignore file -- api\n\nconst burgerMenuContextDefaultValue = exports.burgerMenuContextDefaultValue = {\n aboutItems: [],\n loadingAboutItems: false,\n inspirationItems: [],\n loadingInspirationItems: false,\n shopSectionItems: [],\n loadingShopSectionItems: false\n};\nconst burgerMenuContext = exports.burgerMenuContext = /*#__PURE__*/(0, _react.createContext)(burgerMenuContextDefaultValue);\nconst BurgerMenuProvider = ({\n children\n}) => {\n const {\n activeMenu\n } = (0, _activeMenuContext.useActiveMenu)();\n const isMobile = (0, _useIsMobile.useIsMobile)();\n const isMenuActive = activeMenu === ToggleMenuFlyout.MenuTypes.BurgerMenu || isMobile && activeMenu === ToggleMenuFlyout.MenuTypes.AccountSideMenu;\n const {\n data: aboutItems,\n loading: loadingAboutItems\n } = (0, _api.useGetNavigationType)({\n type: 'AboutTiles',\n enabled: isMenuActive\n });\n const {\n data: inspirationItems,\n loading: loadingInspirationItems\n } = (0, _api.useGetNavigationType)({\n type: 'InspirationTiles',\n enabled: isMenuActive\n });\n const {\n data: shopSectionItems,\n loading: loadingShopSectionItems\n } = (0, _api.useGetNavigationType)({\n type: 'ShopSection',\n enabled: isMenuActive\n });\n const contextValue = (0, _react.useMemo)(() => ({\n aboutItems,\n loadingAboutItems,\n inspirationItems,\n loadingInspirationItems,\n shopSectionItems,\n loadingShopSectionItems\n }), [aboutItems, loadingAboutItems, inspirationItems, loadingInspirationItems, shopSectionItems, loadingShopSectionItems]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(burgerMenuContext.Provider, {\n value: contextValue,\n children: children\n });\n};\nexports.BurgerMenuProvider = BurgerMenuProvider;\nconst useBurgerMenu = () => (0, _react.useContext)(burgerMenuContext);\nexports.useBurgerMenu = useBurgerMenu;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _activeLinkContext = require(\"./activeLinkContext\");\nObject.keys(_activeLinkContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _activeLinkContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _activeLinkContext[key];\n }\n });\n});\nvar _activeMenuContext = require(\"./activeMenuContext\");\nObject.keys(_activeMenuContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _activeMenuContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _activeMenuContext[key];\n }\n });\n});\nvar _burgerMenuContext = require(\"./burgerMenuContext\");\nObject.keys(_burgerMenuContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _burgerMenuContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _burgerMenuContext[key];\n }\n });\n});\nvar _labelsContext = require(\"./labelsContext\");\nObject.keys(_labelsContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _labelsContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _labelsContext[key];\n }\n });\n});\nvar _searchInputContext = require(\"./searchInputContext\");\nObject.keys(_searchInputContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _searchInputContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _searchInputContext[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useLabels = exports.labelsContextDefaultValue = exports.labelsContext = exports.LabelsProvider = void 0;\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _react = require(\"react\");\nvar _api = require(\"../../api\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst labelsContextDefaultValue = exports.labelsContextDefaultValue = {\n aboutLabel: '',\n joinLabel: '',\n joinUrl: '',\n loading: true\n};\nconst labelsContext = exports.labelsContext = /*#__PURE__*/(0, _react.createContext)(labelsContextDefaultValue);\nconst {\n Provider\n} = labelsContext;\nconst findLabel = (item, fallback, collection) => collection?.find(({\n type\n}) => type === item)?.title ?? fallback;\nconst findUrl = (item, fallback, collection) => collection?.find(({\n type\n}) => type === item)?.url ?? fallback;\nconst LabelsProvider = ({\n children\n}) => {\n const {\n data: items,\n loading\n } = (0, _api.useGetNavigationType)({\n type: 'TopNavigation'\n });\n const value = (0, _react.useMemo)(() => ({\n aboutLabel: findLabel(_staticApiClientReact.StaticNavigationNavigationItemDtoType.AboutTiles, labelsContextDefaultValue.aboutLabel, items),\n joinLabel: findLabel(_staticApiClientReact.StaticNavigationNavigationItemDtoType.JoinTiles, labelsContextDefaultValue.joinLabel, items),\n joinUrl: findUrl(_staticApiClientReact.StaticNavigationNavigationItemDtoType.JoinTiles, labelsContextDefaultValue.joinUrl, items),\n loading\n }), [items, loading]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(Provider, {\n value: value,\n children: children\n });\n};\nexports.LabelsProvider = LabelsProvider;\nconst useLabels = () => (0, _react.useContext)(labelsContext);\nexports.useLabels = useLabels;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useSearchInput = exports.searchInputContext = exports.SearchInputProvider = void 0;\nvar _presentationHooks = require(\"@ori/presentation-hooks\");\nvar _react = require(\"react\");\nvar _useDebounce = require(\"use-debounce\");\nvar _useGetSearchPreviewData = require(\"../../hooks/useGetSearchPreviewData\");\nvar _configurationContext = require(\"../configurationContext\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst searchInputContext = exports.searchInputContext = /*#__PURE__*/(0, _react.createContext)(undefined);\nconst {\n Provider\n} = searchInputContext;\nconst SearchInputProvider = ({\n children\n}) => {\n const {\n showSearchOnScroll\n } = (0, _configurationContext.useAppConfig)();\n const [value, setValue] = (0, _react.useState)('');\n const {\n open: isFocused,\n onClose: blur,\n onOpen: focus\n } = (0, _presentationHooks.useDisclose)();\n const {\n open: isVisible,\n onClose: hide,\n onOpen: show\n } = (0, _presentationHooks.useDisclose)({\n defaultOpen: Boolean(showSearchOnScroll)\n });\n const {\n open: isManuallyOpened,\n onClose: manualHide,\n onOpen: manualShow\n } = (0, _presentationHooks.useDisclose)();\n const [debouncedValue] = (0, _useDebounce.useDebounce)(value, 750);\n const {\n isLoading,\n data: results,\n timestamp,\n clearResults\n } = (0, _useGetSearchPreviewData.useGetSearchPreviewData)({\n query: debouncedValue\n });\n const context = (0, _react.useMemo)(() => ({\n blur,\n clearResults,\n focus,\n hide,\n isFocused,\n isManuallyOpened,\n isVisible,\n manualHide,\n manualShow,\n results,\n setValue,\n show,\n timestamp,\n value,\n isLoading,\n debouncedValue\n }), [blur, clearResults, focus, hide, isFocused, isManuallyOpened, isVisible, manualHide, manualShow, results, show, timestamp, value, isLoading, debouncedValue]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(Provider, {\n value: context,\n children: children\n });\n};\nexports.SearchInputProvider = SearchInputProvider;\nconst useSearchInput = () => {\n const context = (0, _react.useContext)(searchInputContext);\n if (context) {\n return context;\n }\n throw new Error('useSearchInput must be used within a SearchInputProvider.');\n};\nexports.useSearchInput = useSearchInput;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _topAreaBannerContext = require(\"./topAreaBannerContext\");\nObject.keys(_topAreaBannerContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _topAreaBannerContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _topAreaBannerContext[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useTopAreaBanner = exports.topAreaBannerContext = exports.TopAreaBannerProvider = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _react = require(\"react\");\nvar _utils = require(\"../../components/TopAreaBanner/utils\");\nvar _useCookieStoreInfo = require(\"../../hooks/useCookieStoreInfo\");\nvar _useGetTopAreaBanners = require(\"../../hooks/useGetTopAreaBanners\");\nvar _configurationContext = require(\"../configurationContext\");\nvar _consultantContext = require(\"../consultantContext\");\nvar _utils2 = require(\"./utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst defaultTopAreaBannerContextValue = {\n bannersData: undefined,\n isAnonymousWithStore: false,\n isOrderOnBehalfVisible: false,\n loading: true,\n orderOnBehalfData: undefined,\n visible: false\n};\nconst topAreaBannerContext = exports.topAreaBannerContext = /*#__PURE__*/(0, _react.createContext)(defaultTopAreaBannerContextValue);\nconst {\n Provider\n} = topAreaBannerContext;\nconst TopAreaBannerProvider = ({\n children\n}) => {\n const {\n owner: store\n } = (0, _useCookieStoreInfo.useCookieStoreInfo)();\n const {\n loadingVipAccess,\n vipAccess: orderOnBehalfData\n } = (0, _consultantContext.useConsultant)();\n const {\n enableTopAreaBanner\n } = (0, _configurationContext.useAppConfig)();\n const {\n isAnonymousUser\n } = (0, _auth.useToken)();\n const isAnonymousWithStore = (0, _react.useMemo)(() => isAnonymousUser && !!store, [isAnonymousUser, store]);\n const shouldGetBannerType = !(0, _presentationUtils.isSSR)() && enableTopAreaBanner;\n const bannerType = (0, _react.useMemo)(() => shouldGetBannerType ? (0, _utils.getTopAreaBannerType)(window.location.pathname, isAnonymousWithStore) : null, [isAnonymousWithStore, shouldGetBannerType]);\n /**\n * VipAccessData can be defined but can arrive with empty key properties.\n */\n const orderOnBehalfVisible = (0, _react.useMemo)(() => (0, _utils2.isOrderOnBehalfVisible)(orderOnBehalfData), [orderOnBehalfData]);\n const {\n bannersData,\n loading: isLoadingTopBanner\n } = (0, _useGetTopAreaBanners.useGetTopAreaBanners)({\n bannerType,\n orderOnBehalfVisible\n });\n const topBannerVisible = (0, _react.useMemo)(() => (0, _utils2.isTopAreaBannerVisible)(bannersData), [bannersData]);\n const visible = orderOnBehalfVisible || Boolean(enableTopAreaBanner);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(Provider, {\n value: (0, _react.useMemo)(() => ({\n bannersData,\n isAnonymousWithStore,\n isOrderOnBehalfVisible: orderOnBehalfVisible,\n loading: (0, _utils2.isLoading)({\n isLoadingTopBanner,\n topBannerVisible,\n isAnonymousWithStore,\n loadingVipAccess,\n orderOnBehalfVisible\n }),\n orderOnBehalfData,\n visible\n }), [bannersData, isAnonymousWithStore, isLoadingTopBanner, loadingVipAccess, orderOnBehalfData, orderOnBehalfVisible, topBannerVisible, visible]),\n children: children\n });\n};\nexports.TopAreaBannerProvider = TopAreaBannerProvider;\nconst useTopAreaBanner = () => (0, _react.useContext)(topAreaBannerContext);\nexports.useTopAreaBanner = useTopAreaBanner;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.shouldSkipBenefitBannerFetch = exports.isTopAreaBannerVisible = exports.isOrderOnBehalfVisible = exports.isLoading = void 0;\nconst isLoading = ({\n isAnonymousWithStore,\n loadingVipAccess,\n orderOnBehalfVisible,\n topBannerVisible,\n isLoadingTopBanner\n}) => loadingVipAccess || !isAnonymousWithStore && !orderOnBehalfVisible && !topBannerVisible ||\n// isLoadingTopBanner could be deleted when all markets are migrated to the new banners\nisAnonymousWithStore && isLoadingTopBanner && !topBannerVisible;\nexports.isLoading = isLoading;\nconst isOrderOnBehalfVisible = orderOnBehalfData => !!orderOnBehalfData?.VipAccessData?.ConsultantName && !!orderOnBehalfData.VipAccessData.ConsultantNumber && !!orderOnBehalfData.VipAccessLabels?.ConsultantChangeConsultantNumber && orderOnBehalfData.VipAccessData.Links.length > 0;\nexports.isOrderOnBehalfVisible = isOrderOnBehalfVisible;\nconst isTopAreaBannerVisible = bannersData => !!bannersData && bannersData.length > 0;\nexports.isTopAreaBannerVisible = isTopAreaBannerVisible;\nconst shouldSkipBenefitBannerFetch = ({\n enableTopAreaBanner,\n isAnonymousWithStore,\n loadingSegmentationData,\n orderOnBehalfVisible\n}) => loadingSegmentationData || orderOnBehalfVisible || !enableTopAreaBanner || isAnonymousWithStore;\nexports.shouldSkipBenefitBannerFetch = shouldSkipBenefitBannerFetch;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _useCookieToUrl = require(\"./useCookieToUrl\");\nObject.keys(_useCookieToUrl).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useCookieToUrl[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useCookieToUrl[key];\n }\n });\n});\nvar _useCookieStoreInfo = require(\"./useCookieStoreInfo\");\nObject.keys(_useCookieStoreInfo).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useCookieStoreInfo[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useCookieStoreInfo[key];\n }\n });\n});\nvar _useCustomerInitials = require(\"./useCustomerInitials\");\nObject.keys(_useCustomerInitials).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useCustomerInitials[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useCustomerInitials[key];\n }\n });\n});\nvar _useHover = require(\"./useHover\");\nObject.keys(_useHover).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useHover[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useHover[key];\n }\n });\n});\nvar _useIsMobile = require(\"./useIsMobile\");\nObject.keys(_useIsMobile).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useIsMobile[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useIsMobile[key];\n }\n });\n});\nvar _useLongPress = require(\"./useLongPress\");\nObject.keys(_useLongPress).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useLongPress[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useLongPress[key];\n }\n });\n});\nvar _useManagedHeight = require(\"./useManagedHeight\");\nObject.keys(_useManagedHeight).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useManagedHeight[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useManagedHeight[key];\n }\n });\n});\nvar _useMobileOs = require(\"./useMobileOs\");\nObject.keys(_useMobileOs).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useMobileOs[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useMobileOs[key];\n }\n });\n});\nvar _useToggleMenu = require(\"./useToggleMenu\");\nObject.keys(_useToggleMenu).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useToggleMenu[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useToggleMenu[key];\n }\n });\n});\nvar _useToggleMenuHandler = require(\"./useToggleMenuHandler\");\nObject.keys(_useToggleMenuHandler).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useToggleMenuHandler[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useToggleMenuHandler[key];\n }\n });\n});\nvar _useLoadAbTastyScript = require(\"./useLoadAbTastyScript\");\nObject.keys(_useLoadAbTastyScript).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useLoadAbTastyScript[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useLoadAbTastyScript[key];\n }\n });\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useCookieStoreInfo = void 0;\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _jsCookie = _interopRequireDefault(require(\"js-cookie\"));\nvar _react = require(\"react\");\nvar _models = require(\"../models\");\nconst useCookieStoreInfo = () => {\n const [cookieInfo, setCookieInfo] = (0, _react.useState)({\n type: _models.ReferralType.None,\n productListType: 'Personal'\n });\n (0, _react.useEffect)(() => {\n const pbsOwnerCookie = _jsCookie.default.get(_presentationUtils.PbsCookieNames.PBS_OWNER);\n if (pbsOwnerCookie) {\n setCookieInfo({\n owner: pbsOwnerCookie,\n productListType: 'Personal',\n type: _models.ReferralType.PBS\n });\n }\n }, []);\n return cookieInfo;\n};\nexports.useCookieStoreInfo = useCookieStoreInfo;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.cookiesToTransform = void 0;\nvar _presentationUtils = require(\"@ori/presentation-utils\");\n// The cookies are processed in the order they appear in this array,\n// and processing stops at the first found cookie that has stopIfFound == true\nconst cookiesToTransform = exports.cookiesToTransform = [{\n cookie: _presentationUtils.PbsCookieNames.PBS_CODE,\n queryParam: 'store',\n stopIfFound: true\n}, {\n cookie: _presentationUtils.PbsCookieNames.ECREF_OWNER,\n queryParam: 'invite',\n stopIfFound: true\n}, {\n cookie: _presentationUtils.PbsCookieNames.PBS_OWNER,\n queryParam: 'store',\n stopIfFound: false\n}, {\n cookie: _presentationUtils.PbsCookieNames.ECREF,\n queryParam: 'invite',\n stopIfFound: true\n}];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _useCookieToUrl = require(\"./useCookieToUrl\");\nObject.keys(_useCookieToUrl).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useCookieToUrl[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useCookieToUrl[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useCookieToUrl = void 0;\nvar _logger = require(\"@ori/logger\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _jsCookie = _interopRequireDefault(require(\"js-cookie\"));\nvar _react = require(\"react\");\nvar _constants = require(\"./constants\");\n/**\n * Reads cookie and transforms them into url - if found.\n * Mostly used for management of store parameter and pbs_owner cookie.\n */\nconst useCookieToUrl = parameters => {\n const logger = (0, _logger.useLogger)('useCookieToUrl');\n (0, _react.useEffect)(() => {\n const removeQueryParameter = parameters?.removeQueryParameter ?? _presentationUtils.removeQueryParameter;\n const setQueryParameter = parameters?.setQueryParameter ?? _presentationUtils.ensureQueryParameter;\n let foundPrev = false;\n for (const cookieInfo of _constants.cookiesToTransform) {\n const {\n cookie: cookieName,\n queryParam: queryParamName,\n stopIfFound,\n stopIfFoundPrev,\n removeIfNotFound\n } = cookieInfo;\n const cookieValue = _jsCookie.default.get(cookieName);\n const stop = stopIfFoundPrev && foundPrev;\n\n // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions -- eslint rule conflict - there is no way how to correctly satisfy eslint\n if (!cookieValue?.length) {\n if (removeIfNotFound) {\n removeQueryParameter(queryParamName);\n }\n logger.info(`Cookie value under the name of '${cookieName}' was not found!`);\n foundPrev = false;\n\n // stop if we should stop prematurely\n if (stop) {\n break;\n }\n continue;\n }\n\n // Ensure that query parameter is present and with correct value\n setQueryParameter(queryParamName, cookieValue);\n foundPrev = true;\n if (stopIfFound ?? stop) {\n break;\n }\n }\n }, [logger, parameters?.removeQueryParameter, parameters?.setQueryParameter]);\n};\nexports.useCookieToUrl = useCookieToUrl;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useCustomerInitials = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _globalApiClientReact = require(\"@ori/global-api-client-react\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nconst useCustomerInitials = () => {\n const {\n isAnonymousUser,\n isUserVerified,\n customerId\n } = (0, _auth.useToken)();\n const {\n data\n } = (0, _globalApiClientReact.useGetCustomerProfile)(customerId, undefined, {\n swr: {\n ...(0, _presentationUtils.getRetryErrorSwrOptions)(),\n enabled: isUserVerified && !isAnonymousUser\n }\n });\n if (data) {\n const {\n firstName,\n lastName\n } = data;\n if (lastName) {\n return `${firstName ? firstName.charAt(0) : ''}${lastName.charAt(0)}`;\n }\n }\n return undefined;\n};\nexports.useCustomerInitials = useCustomerInitials;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useGetSearchPreviewData = void 0;\nvar _configurationManager = require(\"@ori/configuration-manager\");\nvar _fetching = require(\"@ori/fetching\");\nvar _logger = require(\"@ori/logger\");\nvar _presentationHttp = require(\"@ori/presentation-http\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _react = require(\"react\");\nvar _api = require(\"../api\");\nvar _constants = require(\"../constants\");\nvar _utils = require(\"../utils\");\nconst useGetSearchPreviewData = ({\n query\n}) => {\n const logger = (0, _logger.useLogger)('useGetSearchPreviewData');\n const {\n graphQlNetUrl\n } = (0, _configurationManager.useServiceUrls)(['graphQlNet']);\n const {\n headers\n } = (0, _presentationHttp.useHeaders)();\n const [timestamp, setTimestamp] = (0, _react.useState)(0);\n const {\n data,\n isLoading,\n mutate\n } = (0, _fetching.useSWR)(query ? ['search-preview-data', graphQlNetUrl, headers, query] : null, async () => {\n const response = await (0, _api.getSearchPreviewData)({\n graphQlNetUrl,\n headers,\n query,\n limit: _constants.SEARCH_PREVIEW_PRODUCTS_LIMIT\n });\n setTimestamp(Date.now());\n return (0, _utils.mapSearchPreviewQuery)(response);\n }, {\n ...(0, _presentationUtils.getRetryErrorSwrOptions)(),\n onError: error => logger.error(new Error('Failed to fetch search preview data', {\n cause: error\n }))\n });\n const clearResults = (0, _react.useCallback)(async () => mutate(undefined, false), [mutate]);\n return {\n data,\n isLoading,\n timestamp,\n clearResults\n };\n};\nexports.useGetSearchPreviewData = useGetSearchPreviewData;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useGetTopAreaBanners = exports.shouldSkipTopAreaBannersFetch = void 0;\nvar _environment = require(\"@ori/environment\");\nvar _i18n = require(\"@ori/i18n\");\nvar _presentationHttp = require(\"@ori/presentation-http\");\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _configurationContext = require(\"../context/configurationContext\");\nvar _net = require(\"../models/graphql-types/net\");\nvar _mapTopAreaBanners = require(\"../utils/mapTopAreaBanners\");\n/* istanbul ignore file -- api file */\n\nconst shouldSkipTopAreaBannersFetch = ({\n enableTopAreaBanner,\n loadingSegmentationData,\n orderOnBehalfVisible,\n bannerType\n}) => loadingSegmentationData || orderOnBehalfVisible || !enableTopAreaBanner || bannerType === null;\nexports.shouldSkipTopAreaBannersFetch = shouldSkipTopAreaBannersFetch;\nconst useGetTopAreaBanners = ({\n bannerType,\n orderOnBehalfVisible\n}) => {\n const {\n tenant\n } = (0, _environment.useEnvironment)();\n const {\n language\n } = (0, _i18n.useLanguage)();\n const {\n loading: loadingSegmentationData,\n customerTypeId\n } = (0, _presentationHttp.useUserSegmentationData)();\n const {\n enableTopAreaBanner\n } = (0, _configurationContext.useAppConfig)();\n const {\n isValidating: loading,\n error: apiError,\n data\n } = (0, _staticApiClientReact.useGetTenantApplicationsBannerEnrichedPermanentTopAreaBanners)(tenant, {\n bannerType: bannerType ?? _net.PermanentTopBannerType.PublicPage,\n customerTypeId: customerTypeId ?? undefined,\n lang: language\n }, {\n swr: {\n enabled: !shouldSkipTopAreaBannersFetch({\n enableTopAreaBanner,\n loadingSegmentationData,\n orderOnBehalfVisible,\n bannerType\n }),\n revalidateOnFocus: false,\n revalidateOnReconnect: false,\n revalidateIfStale: false\n }\n });\n return {\n bannersData: data && bannerType !== null ? (0, _mapTopAreaBanners.mapTopAreaBanners)({\n data: data.data\n }) : undefined,\n error: apiError,\n loading\n };\n};\nexports.useGetTopAreaBanners = useGetTopAreaBanners;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useHover = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _react = require(\"react\");\nconst useHover = (iconOnHover, icon, hidden) => {\n const [isHover, setIsHover] = (0, _react.useState)(false);\n const ref = (0, _react.useRef)(null);\n const isHoverAvailable = (0, _mui.useMediaQuery)('(hover: hover)');\n const getIcon = (0, _react.useMemo)(() => {\n if (isHover) {\n return iconOnHover;\n }\n return icon;\n }, [isHover, icon, iconOnHover]);\n const handleMouseOver = (0, _react.useCallback)(() => {\n setIsHover(true);\n }, []);\n const handleMouseLeave = (0, _react.useCallback)(() => {\n setIsHover(false);\n }, []);\n (0, _react.useEffect)(() => {\n const element = ref.current;\n if (isHoverAvailable && !hidden) {\n element?.addEventListener('mouseover', handleMouseOver);\n element?.addEventListener('mouseleave', handleMouseLeave);\n }\n return () => {\n if (isHoverAvailable && !hidden) {\n element?.removeEventListener('mouseover', handleMouseOver);\n element?.removeEventListener('mouseleave', handleMouseLeave);\n }\n };\n }, [isHoverAvailable, handleMouseOver, handleMouseLeave, hidden]);\n return [ref, getIcon];\n};\nexports.useHover = useHover;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useIsMarketCN = void 0;\nvar _constants = require(\"../constants\");\nvar _context = require(\"../context\");\nconst useIsMarketCN = () => {\n const {\n tenant\n } = (0, _context.useAppConfig)();\n return tenant === _constants.CN_MARKET;\n};\nexports.useIsMarketCN = useIsMarketCN;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useIsMobile = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _presentationHooks = require(\"@ori/presentation-hooks\");\nconst useIsMobile = () => {\n const {\n width\n } = (0, _presentationHooks.useWindowSize)();\n const {\n breakpoints\n } = (0, _mui.useTheme)();\n return width !== 0 && width < breakpoints.values.md;\n};\nexports.useIsMobile = useIsMobile;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useLoadAbTastyScript = exports.getScriptSrc = void 0;\nvar _environment = require(\"@ori/environment\");\nvar _react = require(\"react\");\nvar _constants = require(\"../constants\");\nvar _context = require(\"../context\");\n/**\n * Returns the AB Tasty script id based on the tenant and environment.\n * Example of generated url - https://try.abtasty.com/d7969c131a7cd1e6eae1663545c12f7e.js\n * @param tenant\n * @param environment\n */\nconst getScriptSrc = (tenant, environment) => {\n const key = tenant && environment ? `${tenant}_${environment}` : null;\n return key && _constants.AB_TASTY_SCRIPT_IDS[key] ? `${_constants.AB_TASTY_SCRIPT_URL}${_constants.AB_TASTY_SCRIPT_IDS[key]}.js` : null;\n};\n\n/**\n * Loads the AB Tasty script if the feature is enabled and have corresponding script with the current tenant and environment.\n */\nexports.getScriptSrc = getScriptSrc;\nconst useLoadAbTastyScript = () => {\n const {\n abTastyEnabled\n } = (0, _context.useAppConfig)();\n const {\n environment,\n tenant\n } = (0, _environment.useEnvironment)();\n (0, _react.useEffect)(() => {\n const scriptSrc = getScriptSrc(tenant, environment);\n if (abTastyEnabled && scriptSrc && !document.getElementById(_constants.AB_TASTY_SCRIPT_ID)) {\n const script = document.createElement('script');\n script.src = scriptSrc;\n script.async = true;\n script.id = _constants.AB_TASTY_SCRIPT_ID;\n document.body.append(script);\n return () => script.remove();\n }\n return undefined;\n }, [abTastyEnabled, environment, tenant]);\n};\nexports.useLoadAbTastyScript = useLoadAbTastyScript;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useLongPress = void 0;\nvar _react = require(\"react\");\n/* istanbul ignore file -- not used - candidate for removal */\n\nconst useLongPress = (callback, delay = 5000) => {\n const timeoutId = (0, _react.useRef)();\n const handleLongPressStart = (0, _react.useCallback)(event => {\n event.preventDefault();\n timeoutId.current = setTimeout(() => {\n callback(event);\n }, delay);\n }, [callback, delay]);\n const handleLongPressEnd = (0, _react.useCallback)(() => {\n if (timeoutId.current) {\n clearTimeout(timeoutId.current);\n }\n }, []);\n return (0, _react.useMemo)(() => ({\n onTouchStart: handleLongPressStart,\n onTouchEnd: handleLongPressEnd\n }), [handleLongPressEnd, handleLongPressStart]);\n};\nexports.useLongPress = useLongPress;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useManagedHeight = exports.TopNavClassName = void 0;\nvar _presentationHooks = require(\"@ori/presentation-hooks\");\nvar _react = require(\"react\");\nvar _context = require(\"../context\");\nvar _navigation = require(\"../context/navigation\");\nvar _useIsMobile = require(\"./useIsMobile\");\nlet TopNavClassName = exports.TopNavClassName = /*#__PURE__*/function (TopNavClassName) {\n TopNavClassName[\"default\"] = \"top-nav\";\n TopNavClassName[\"mobile\"] = \"top-nav--is-mobile\";\n TopNavClassName[\"withTopAreaBanner\"] = \"top-nav--with-top-area-banner\";\n TopNavClassName[\"searchInputVisible\"] = \"top-nav--search-input-visible\";\n return TopNavClassName;\n}({});\nconst getClassList = () => document.body.classList;\nconst addClassName = className => getClassList().add(className);\nconst removeClassName = className => getClassList().remove(className);\nconst useManagedHeight = () => {\n const isMobile = (0, _useIsMobile.useIsMobile)();\n const {\n width\n } = (0, _presentationHooks.useWindowSize)();\n const {\n visible: bannerVisible\n } = (0, _context.useTopAreaBanner)();\n const {\n isVisible: inputVisible\n } = (0, _navigation.useSearchInput)();\n const {\n showSearchOnScroll\n } = (0, _context.useAppConfig)();\n (0, _react.useEffect)(() => {\n if (width) {\n addClassName(TopNavClassName.default);\n if (isMobile) {\n addClassName(TopNavClassName.mobile);\n if (showSearchOnScroll && inputVisible) {\n addClassName(TopNavClassName.searchInputVisible);\n } else {\n removeClassName(TopNavClassName.searchInputVisible);\n }\n } else {\n removeClassName(TopNavClassName.mobile);\n }\n if (bannerVisible) {\n addClassName(TopNavClassName.withTopAreaBanner);\n } else {\n removeClassName(TopNavClassName.withTopAreaBanner);\n }\n }\n }, [isMobile, bannerVisible, width, inputVisible, showSearchOnScroll]);\n};\nexports.useManagedHeight = useManagedHeight;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useMobileOs = void 0;\nvar _react = require(\"react\");\nvar _uaParserJs = require(\"ua-parser-js\");\nconst useMobileOs = () => {\n const [userOs, setUserOs] = (0, _react.useState)(null);\n (0, _react.useEffect)(() => {\n const parse = new _uaParserJs.UAParser();\n const os = parse.getOS();\n if (os.name === 'Android') {\n setUserOs(os.name);\n } else if (os.name === 'iOS') {\n setUserOs('Ios');\n }\n }, []);\n return {\n userOs\n };\n};\nexports.useMobileOs = useMobileOs;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useSearchInputPlaceholder = void 0;\nvar _useIsMobile = require(\"./useIsMobile\");\nvar _useTranslations = require(\"./useTranslations\");\nconst useSearchInputPlaceholder = () => {\n const isMobile = (0, _useIsMobile.useIsMobile)();\n const {\n translations\n } = (0, _useTranslations.useTranslations)();\n return isMobile ? translations.search : translations.searchDesktop;\n};\nexports.useSearchInputPlaceholder = useSearchInputPlaceholder;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useShouldRenderNotificationMenu = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _configurationContext = require(\"../context/configurationContext\");\nconst useShouldRenderNotificationMenu = () => {\n const {\n isAnonymousUser\n } = (0, _auth.useToken)();\n const {\n shouldDisplayNotificationIcon\n } = (0, _configurationContext.useAppConfig)();\n return !isAnonymousUser && !!shouldDisplayNotificationIcon;\n};\nexports.useShouldRenderNotificationMenu = useShouldRenderNotificationMenu;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useToggleMenu = void 0;\nvar ToggleMenuFlyout = _interopRequireWildcard(require(\"@ori-events/toggle-menu-flyout\"));\nvar UserAction = _interopRequireWildcard(require(\"@ori-events/user-action\"));\nvar _constants = require(\"../constants\");\nvar _activeMenuContext = require(\"../context/navigation/activeMenuContext\");\nvar _utils = require(\"../utils\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst toggleMenu = menuIsOpen => () => {\n if (!menuIsOpen) {\n UserAction.dispatch(_constants.CLICK_BURGER_MENU);\n }\n (0, _utils.dispatchToggleMenu)(ToggleMenuFlyout.MenuTypes.BurgerMenu);\n};\nconst useToggleMenu = () => {\n const {\n activeMenu\n } = (0, _activeMenuContext.useActiveMenu)();\n const menuIsOpen = activeMenu === ToggleMenuFlyout.MenuTypes.BurgerMenu;\n return [menuIsOpen, toggleMenu(menuIsOpen)];\n};\nexports.useToggleMenu = useToggleMenu;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useToggleMenuHandler = void 0;\nvar _toggleMenuFlyout = require(\"@ori-events/toggle-menu-flyout\");\nvar _presentationHooks = require(\"@ori/presentation-hooks\");\nvar _react = require(\"react\");\nvar _activeMenuContext = require(\"../context/navigation/activeMenuContext\");\nconst useToggleMenuHandler = () => {\n const {\n toggleActiveMenu\n } = (0, _activeMenuContext.useActiveMenu)();\n const onToggle = (0, _react.useCallback)(event => toggleActiveMenu(event.detail.menuType), [toggleActiveMenu]);\n const events = (0, _react.useMemo)(() => [{\n name: _toggleMenuFlyout.Name,\n listener: onToggle\n }], [onToggle]);\n (0, _presentationHooks.useGlobalEvents)(events);\n};\nexports.useToggleMenuHandler = useToggleMenuHandler;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useTranslations = void 0;\nvar _i18n = require(\"@ori/i18n\");\n/* istanbul ignore file */\n\n/**\n * DO NOT EDIT!\n * This file was autogenerated by npm script `localizations-codegen`.\n * Changes may cause incorrect behavior and will be lost when the file is regenerated.\n *\n * Run `npx localizations-codegen` to regenerate.\n */\n\n/**\n * A hook for accessing translations within a specific namespace along with a formatting function.\n *\n * @returns The translations within the specified namespace and a formatting function.\n */\nconst useTranslations = () => (0, _i18n.useTranslationsFromNamespace)();\nexports.useTranslations = useTranslations;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _exportNames = {\n TopArea: true\n};\nObject.defineProperty(exports, \"TopArea\", {\n enumerable: true,\n get: function () {\n return _TopArea.TopArea;\n }\n});\nvar _components = require(\"./components\");\nObject.keys(_components).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n if (key in exports && exports[key] === _components[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _components[key];\n }\n });\n});\nvar _constantsGenerated = require(\"./constants-generated\");\nObject.keys(_constantsGenerated).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n if (key in exports && exports[key] === _constantsGenerated[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constantsGenerated[key];\n }\n });\n});\nvar _constants = require(\"./constants\");\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n if (key in exports && exports[key] === _constants[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _constants[key];\n }\n });\n});\nvar _models = require(\"./models\");\nObject.keys(_models).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n if (key in exports && exports[key] === _models[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _models[key];\n }\n });\n});\nvar _TopArea = require(\"./TopArea\");","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.mainLogger = void 0;\nvar _logger = require(\"@ori/logger\");\nvar _constantsGenerated = require(\"./constants-generated\");\nconst mainLogger = exports.mainLogger = new _logger.Logger(_constantsGenerated.PACKAGE_NAME, {\n teamName: _constantsGenerated.TEAM_NAME\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.AlwaysActiveLinks = void 0;\nconst AlwaysActiveLinks = exports.AlwaysActiveLinks = ['Catalogue'];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BurgerMenuTabNames = void 0;\nlet BurgerMenuTabNames = exports.BurgerMenuTabNames = /*#__PURE__*/function (BurgerMenuTabNames) {\n BurgerMenuTabNames[\"ProductsTab\"] = \"products-tab\";\n BurgerMenuTabNames[\"AccountTab\"] = \"account-tab\";\n return BurgerMenuTabNames;\n}({});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Categories = void 0;\nlet Categories = exports.Categories = /*#__PURE__*/function (Categories) {\n Categories[\"ACCESSORIES\"] = \"accessories\";\n Categories[\"BATH_BODY\"] = \"bath-body\";\n Categories[\"ESSENTIAL_OILS\"] = \"essential-oils\";\n Categories[\"FRAGRANCE\"] = \"fragrance\";\n Categories[\"HAIR\"] = \"hair\";\n Categories[\"KIDS_BABY\"] = \"kids-baby\";\n Categories[\"MAKEUP\"] = \"makeup\";\n Categories[\"MEN\"] = \"men\";\n Categories[\"NUTRITION\"] = \"nutrition\";\n Categories[\"SKINCARE\"] = \"skincare\";\n Categories[\"WELLNESS\"] = \"wellness\"; // TODO -- remove wellness replaced by nutrition\n return Categories;\n}({});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.FavoritesLink = void 0;\nconst FavoritesLink = exports.FavoritesLink = '/favourite-products';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.OurStoryLinks = void 0;\nlet OurStoryLinks = exports.OurStoryLinks = /*#__PURE__*/function (OurStoryLinks) {\n OurStoryLinks[\"ProductPhilosophy\"] = \"/product-philosophy\";\n OurStoryLinks[\"SupportCenter\"] = \"/support-center\";\n OurStoryLinks[\"Sustainability\"] = \"/sustainability\";\n OurStoryLinks[\"WhoWeAre\"] = \"/about\";\n return OurStoryLinks;\n}({});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ReferralType = void 0;\nlet ReferralType = exports.ReferralType = /*#__PURE__*/function (ReferralType) {\n ReferralType[\"None\"] = \"None\";\n ReferralType[\"PBS\"] = \"PBS\";\n ReferralType[\"ECREF\"] = \"ECREF\";\n return ReferralType;\n}({});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SpecialLinksOrder = exports.SpecialLinks = void 0;\nlet SpecialLinks = exports.SpecialLinks = /*#__PURE__*/function (SpecialLinks) {\n SpecialLinks[\"OutletShop\"] = \"OutletShop\";\n SpecialLinks[\"JoinRewards\"] = \"JoinRewards\";\n SpecialLinks[\"RewardsShop\"] = \"RewardsShop\";\n SpecialLinks[\"SampleShop\"] = \"SampleShop\";\n SpecialLinks[\"New\"] = \"New\";\n SpecialLinks[\"Bestsellers\"] = \"Bestsellers\";\n SpecialLinks[\"Icons\"] = \"Icons\";\n SpecialLinks[\"BeautyRewards\"] = \"BeautyRewards\";\n return SpecialLinks;\n}({});\nlet SpecialLinksOrder = exports.SpecialLinksOrder = /*#__PURE__*/function (SpecialLinksOrder) {\n SpecialLinksOrder[SpecialLinksOrder[\"New\"] = 0] = \"New\";\n SpecialLinksOrder[SpecialLinksOrder[\"Icons\"] = 1] = \"Icons\";\n SpecialLinksOrder[SpecialLinksOrder[\"Bestsellers\"] = 2] = \"Bestsellers\";\n SpecialLinksOrder[SpecialLinksOrder[\"SampleShop\"] = 3] = \"SampleShop\";\n SpecialLinksOrder[SpecialLinksOrder[\"OutletShop\"] = 4] = \"OutletShop\";\n SpecialLinksOrder[SpecialLinksOrder[\"RewardsShop\"] = 5] = \"RewardsShop\";\n SpecialLinksOrder[SpecialLinksOrder[\"JoinRewards\"] = 6] = \"JoinRewards\";\n SpecialLinksOrder[SpecialLinksOrder[\"BeautyRewards\"] = 7] = \"BeautyRewards\";\n return SpecialLinksOrder;\n}({});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TranslationKey = void 0;\n/* istanbul ignore file */\n/**\n * DO NOT EDIT!\n * This file was autogenerated by npm script `localizations-codegen`.\n * Changes may cause incorrect behavior and will be lost when the file is regenerated.\n *\n * Run `npx localizations-codegen` to regenerate.\n */\nlet TranslationKey = exports.TranslationKey = /*#__PURE__*/function (TranslationKey) {\n TranslationKey[\"allBrands\"] = \"allBrands\";\n TranslationKey[\"articles\"] = \"articles\";\n TranslationKey[\"brands\"] = \"brands\";\n TranslationKey[\"callToActionCatalogueText\"] = \"callToActionCatalogueText\";\n TranslationKey[\"change\"] = \"change\";\n TranslationKey[\"clearSearchInput\"] = \"clearSearchInput\";\n TranslationKey[\"failedToSubmit\"] = \"failedToSubmit\";\n TranslationKey[\"gotIt\"] = \"gotIt\";\n TranslationKey[\"loading\"] = \"loading\";\n TranslationKey[\"logIn\"] = \"logIn\";\n TranslationKey[\"loggedInAs\"] = \"loggedInAs\";\n TranslationKey[\"menu\"] = \"menu\";\n TranslationKey[\"myAccount\"] = \"myAccount\";\n TranslationKey[\"myFavoriteProducts\"] = \"myFavoriteProducts\";\n TranslationKey[\"nextCatalogue\"] = \"nextCatalogue\";\n TranslationKey[\"noOptions\"] = \"noOptions\";\n TranslationKey[\"notifications\"] = \"notifications\";\n TranslationKey[\"open\"] = \"open\";\n TranslationKey[\"oriflameSweden\"] = \"oriflameSweden\";\n TranslationKey[\"other\"] = \"other\";\n TranslationKey[\"popularProducts\"] = \"popularProducts\";\n TranslationKey[\"popularProductsInThisSearchQuery\"] = \"popularProductsInThisSearchQuery\";\n TranslationKey[\"popularSearchQueries\"] = \"popularSearchQueries\";\n TranslationKey[\"products\"] = \"products\";\n TranslationKey[\"register\"] = \"register\";\n TranslationKey[\"search\"] = \"search\";\n TranslationKey[\"searchDesktop\"] = \"searchDesktop\";\n TranslationKey[\"seeAll\"] = \"seeAll\";\n TranslationKey[\"seeAllCatalogues\"] = \"seeAllCatalogues\";\n TranslationKey[\"seeAllResultsFor\"] = \"seeAllResultsFor\";\n TranslationKey[\"shopFor\"] = \"shopFor\";\n TranslationKey[\"shoppingBag\"] = \"shoppingBag\";\n TranslationKey[\"signIn\"] = \"signIn\";\n TranslationKey[\"topAreaBannerDialogError\"] = \"topAreaBannerDialogError\";\n TranslationKey[\"topAreaBannerReferralMessage\"] = \"topAreaBannerReferralMessage\";\n TranslationKey[\"view\"] = \"view\";\n return TranslationKey;\n}({});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.VisitorSegment = exports.VideoType = exports.VerticalContentAlignment = exports.TrackingStatus = exports.TelephoneType = exports.StorybookColor = exports.SponsorType = exports.SocialMediaType = exports.SocialContactType = exports.ShowType = exports.SettingsFormatType = exports.SettingsClientType = exports.ResponseMessageNewsletterSubsciptionsType = exports.ReplacementType = exports.ProductType = exports.ProductReplacementType = exports.ProductRelationType = exports.ProductListingBannerVideoType = exports.ProductListType = exports.ProductLabelDomainType = exports.PlpOrderBy = exports.PickupSearchFilter = exports.PersonalSubscriptionCategory = exports.PermanentTopBannerType = exports.PeriodStatus = exports.PaymentChannel = exports.OrderStatus = exports.OrderOrigin = exports.OrderItemType = exports.OrderHistoryType = exports.OrderDocumentType = exports.OlapicTypeEnum = exports.NotificationBannerThemeType = exports.NavigationType = exports.NavigationLinkType = exports.MobileAppType = exports.ManagerSummitVersion = exports.ManagerSummitStatus = exports.LinkType = exports.LanguageType = exports.HorizontalContentAlignment = exports.Gender = exports.FeedbackBenefitBannerType = exports.EditorialPlpPromoBannerSize = exports.EditorialContentType = exports.EditorialChannelType = exports.EditorialBenefitIcon = exports.EditorialBannerTitleSizeEnum = exports.EditorialBannerTitleColorEnum = exports.EditorialBannerLayoutEnum = exports.EWalletType = exports.DiscountType = exports.DeliverySearchFilter = exports.DeliveryMethodType = exports.CustomerCategory = exports.CurrentOrderStatus = exports.ColorType = exports.ClaimType = exports.ClaimStatus = exports.ClaimReasonType = exports.ClaimProductItemCategory = exports.ClaimDeliveryMethodType = exports.ClaimCauseType = exports.ClaimCategoryType = exports.ClaimActionType = exports.ChannelType = exports.CatalogueType = exports.CatalogueOfferType = exports.CanCancelOrderResult = exports.BankBonusPaymentTransferState = exports.BackgroundType = exports.BackInStockNotificationChannel = exports.ArticleType = exports.ApplyPolicy = exports.AllowedClaimExchangeProducts = exports.AddressType = exports.AddressMetadataAllowedSearchResults = void 0;\n/* istanbul ignore file */\n/**\n * DO NOT EDIT!\n * This file was autogenerated by graphql-codegen.\n * Changes may cause incorrect behavior and will be lost when the code is regenerated.\n *\n * Run `npx run codegen` to regenerate.\n */\n/** All built-in and custom scalars, mapped to their actual values */\n/** addThis configuration */\n/** add this service */\n/** Enum allowed search results */\nlet AddressMetadataAllowedSearchResults = exports.AddressMetadataAllowedSearchResults = /*#__PURE__*/function (AddressMetadataAllowedSearchResults) {\n AddressMetadataAllowedSearchResults[\"Area\"] = \"Area\";\n AddressMetadataAllowedSearchResults[\"City\"] = \"City\";\n AddressMetadataAllowedSearchResults[\"Country\"] = \"Country\";\n AddressMetadataAllowedSearchResults[\"District\"] = \"District\";\n AddressMetadataAllowedSearchResults[\"Locality\"] = \"Locality\";\n AddressMetadataAllowedSearchResults[\"Market\"] = \"Market\";\n AddressMetadataAllowedSearchResults[\"Province\"] = \"Province\";\n AddressMetadataAllowedSearchResults[\"Region\"] = \"Region\";\n AddressMetadataAllowedSearchResults[\"Street\"] = \"Street\";\n AddressMetadataAllowedSearchResults[\"ZipCode\"] = \"ZipCode\";\n return AddressMetadataAllowedSearchResults;\n}({});\n/** Enum address type */\nlet AddressType = exports.AddressType = /*#__PURE__*/function (AddressType) {\n AddressType[\"Channel\"] = \"Channel\";\n AddressType[\"Delivery\"] = \"Delivery\";\n AddressType[\"Foreign\"] = \"Foreign\";\n AddressType[\"Home\"] = \"Home\";\n AddressType[\"Kyc\"] = \"Kyc\";\n AddressType[\"Other\"] = \"Other\";\n return AddressType;\n}({});\nlet AllowedClaimExchangeProducts = exports.AllowedClaimExchangeProducts = /*#__PURE__*/function (AllowedClaimExchangeProducts) {\n AllowedClaimExchangeProducts[\"All\"] = \"All\";\n AllowedClaimExchangeProducts[\"DifferentProductOnly\"] = \"DifferentProductOnly\";\n AllowedClaimExchangeProducts[\"SameProductOnly\"] = \"SameProductOnly\";\n return AllowedClaimExchangeProducts;\n}({});\nlet ApplyPolicy = exports.ApplyPolicy = /*#__PURE__*/function (ApplyPolicy) {\n ApplyPolicy[\"AfterResolver\"] = \"AFTER_RESOLVER\";\n ApplyPolicy[\"BeforeResolver\"] = \"BEFORE_RESOLVER\";\n ApplyPolicy[\"Validation\"] = \"VALIDATION\";\n return ApplyPolicy;\n}({});\nlet ArticleType = exports.ArticleType = /*#__PURE__*/function (ArticleType) {\n /** Articles from Beauty Edit section */\n ArticleType[\"BeautyEdit\"] = \"BeautyEdit\";\n /** Articles related to products */\n ArticleType[\"RelatedToProduct\"] = \"RelatedToProduct\";\n /** Default value - not for use with API. Exists to detect errors in parsing values */\n ArticleType[\"Undefined\"] = \"Undefined\";\n return ArticleType;\n}({});\n/** Channel to identify how we should notify user */\nlet BackInStockNotificationChannel = exports.BackInStockNotificationChannel = /*#__PURE__*/function (BackInStockNotificationChannel) {\n /** We will notify customer on provided email */\n BackInStockNotificationChannel[\"Email\"] = \"Email\";\n /** We will notify customer on provided telephone */\n BackInStockNotificationChannel[\"Sms\"] = \"Sms\";\n return BackInStockNotificationChannel;\n}({});\n/** Background types */\nlet BackgroundType = exports.BackgroundType = /*#__PURE__*/function (BackgroundType) {\n /** Color as a background */\n BackgroundType[\"Color\"] = \"Color\";\n /** Image as a background */\n BackgroundType[\"Image\"] = \"Image\";\n /** No background */\n BackgroundType[\"None\"] = \"None\";\n /** Video as a background */\n BackgroundType[\"Video\"] = \"Video\";\n return BackgroundType;\n}({});\nlet BankBonusPaymentTransferState = exports.BankBonusPaymentTransferState = /*#__PURE__*/function (BankBonusPaymentTransferState) {\n BankBonusPaymentTransferState[\"NothingForTransfer\"] = \"NothingForTransfer\";\n BankBonusPaymentTransferState[\"Pending\"] = \"Pending\";\n BankBonusPaymentTransferState[\"Transferred\"] = \"Transferred\";\n BankBonusPaymentTransferState[\"Undefined\"] = \"Undefined\";\n return BankBonusPaymentTransferState;\n}({});\n/** The bundle component resolver. */\nlet CanCancelOrderResult = exports.CanCancelOrderResult = /*#__PURE__*/function (CanCancelOrderResult) {\n CanCancelOrderResult[\"Allowed\"] = \"Allowed\";\n CanCancelOrderResult[\"AlreadyCancelled\"] = \"AlreadyCancelled\";\n CanCancelOrderResult[\"AlreadyRequested\"] = \"AlreadyRequested\";\n CanCancelOrderResult[\"CancellationNotAllowedByOrderFlow\"] = \"CancellationNotAllowedByOrderFlow\";\n CanCancelOrderResult[\"CancellationNotAllowedByOrisales\"] = \"CancellationNotAllowedByOrisales\";\n CanCancelOrderResult[\"CancellationOfOrdersWithGiftCardsIsDisabled\"] = \"CancellationOfOrdersWithGiftCardsIsDisabled\";\n CanCancelOrderResult[\"FinalizedNotSynchronized\"] = \"FinalizedNotSynchronized\";\n CanCancelOrderResult[\"Hidden\"] = \"Hidden\";\n CanCancelOrderResult[\"InsufficientPermissions\"] = \"InsufficientPermissions\";\n CanCancelOrderResult[\"IsFromOrisales\"] = \"IsFromOrisales\";\n CanCancelOrderResult[\"IsNotAllowedPeriodOrder\"] = \"IsNotAllowedPeriodOrder\";\n CanCancelOrderResult[\"IsNotCurrentPeriodOrder\"] = \"IsNotCurrentPeriodOrder\";\n CanCancelOrderResult[\"IsOrderOriginPharmacy\"] = \"IsOrderOriginPharmacy\";\n CanCancelOrderResult[\"IsPaidOnline\"] = \"IsPaidOnline\";\n CanCancelOrderResult[\"IsPrinted\"] = \"IsPrinted\";\n CanCancelOrderResult[\"PendingOnlinePayment\"] = \"PendingOnlinePayment\";\n CanCancelOrderResult[\"PeriodClosingMinutesOffset\"] = \"PeriodClosingMinutesOffset\";\n CanCancelOrderResult[\"PlaceOrderMinutesOffset\"] = \"PlaceOrderMinutesOffset\";\n CanCancelOrderResult[\"RedeemedGiftCard\"] = \"RedeemedGiftCard\";\n return CanCancelOrderResult;\n}({});\n/** Represents the information of a catalogue. */\nlet CatalogueOfferType = exports.CatalogueOfferType = /*#__PURE__*/function (CatalogueOfferType) {\n /** Special offer for buying product */\n CatalogueOfferType[\"Buy\"] = \"Buy\";\n /** Choose from products */\n CatalogueOfferType[\"Choose\"] = \"Choose\";\n /** Choose a product and choose another */\n CatalogueOfferType[\"ChooseAndChoose\"] = \"ChooseAndChoose\";\n /** Choose a product and get another */\n CatalogueOfferType[\"ChooseAndGet\"] = \"ChooseAndGet\";\n /** Get a product */\n CatalogueOfferType[\"Get\"] = \"Get\";\n /** No type of catalogue offer was specified */\n CatalogueOfferType[\"None\"] = \"None\";\n return CatalogueOfferType;\n}({});\nlet CatalogueType = exports.CatalogueType = /*#__PURE__*/function (CatalogueType) {\n /** DigitalCurrent catalogue type */\n CatalogueType[\"DigitalCurrent\"] = \"DigitalCurrent\";\n /** DigitalNext catalogue type */\n CatalogueType[\"DigitalNext\"] = \"DigitalNext\";\n /** LocalCustom catalogue type */\n CatalogueType[\"LocalCustom\"] = \"LocalCustom\";\n /** Lookbook catalogue type */\n CatalogueType[\"Lookbook\"] = \"Lookbook\";\n CatalogueType[\"None\"] = \"None\";\n return CatalogueType;\n}({});\nlet ChannelType = exports.ChannelType = /*#__PURE__*/function (ChannelType) {\n ChannelType[\"Mv7\"] = \"MV7\";\n ChannelType[\"Website\"] = \"Website\";\n return ChannelType;\n}({});\nlet ClaimActionType = exports.ClaimActionType = /*#__PURE__*/function (ClaimActionType) {\n ClaimActionType[\"CancelOrder\"] = \"CancelOrder\";\n ClaimActionType[\"CancelProduct\"] = \"CancelProduct\";\n ClaimActionType[\"ExchangeProduct\"] = \"ExchangeProduct\";\n ClaimActionType[\"None\"] = \"None\";\n ClaimActionType[\"ResendOrder\"] = \"ResendOrder\";\n ClaimActionType[\"ResendProduct\"] = \"ResendProduct\";\n ClaimActionType[\"ReturnProduct\"] = \"ReturnProduct\";\n return ClaimActionType;\n}({});\nlet ClaimCategoryType = exports.ClaimCategoryType = /*#__PURE__*/function (ClaimCategoryType) {\n ClaimCategoryType[\"DistributionIssue\"] = \"DistributionIssue\";\n ClaimCategoryType[\"Exchange\"] = \"Exchange\";\n ClaimCategoryType[\"InvoiceIssue\"] = \"InvoiceIssue\";\n ClaimCategoryType[\"Missing\"] = \"Missing\";\n ClaimCategoryType[\"ProductJustMissing\"] = \"ProductJustMissing\";\n ClaimCategoryType[\"Return\"] = \"Return\";\n ClaimCategoryType[\"ReturnExchangeMissing\"] = \"ReturnExchangeMissing\";\n ClaimCategoryType[\"Root\"] = \"Root\";\n ClaimCategoryType[\"WrongProductDelivered\"] = \"WrongProductDelivered\";\n return ClaimCategoryType;\n}({});\nlet ClaimCauseType = exports.ClaimCauseType = /*#__PURE__*/function (ClaimCauseType) {\n ClaimCauseType[\"AdverseReaction\"] = \"AdverseReaction\";\n ClaimCauseType[\"CancelOrder\"] = \"CancelOrder\";\n ClaimCauseType[\"DamagedOrDefectedProduct\"] = \"DamagedOrDefectedProduct\";\n ClaimCauseType[\"ExtraProductReceivedMissingOnTheInvoice\"] = \"ExtraProductReceivedMissingOnTheInvoice\";\n ClaimCauseType[\"ExtraProductReceivedWrongQuantity\"] = \"ExtraProductReceivedWrongQuantity\";\n ClaimCauseType[\"InvoiceCampaignProductMissing\"] = \"InvoiceCampaignProductMissing\";\n ClaimCauseType[\"InvoiceWrongPriceOrFee\"] = \"InvoiceWrongPriceOrFee\";\n ClaimCauseType[\"MissingProduct\"] = \"MissingProduct\";\n ClaimCauseType[\"ParcelDamaged\"] = \"ParcelDamaged\";\n ClaimCauseType[\"ParcelNotDelivered\"] = \"ParcelNotDelivered\";\n ClaimCauseType[\"ParcelRefused\"] = \"ParcelRefused\";\n ClaimCauseType[\"RefundReturnCost\"] = \"RefundReturnCost\";\n ClaimCauseType[\"SupplementaryProduct\"] = \"SupplementaryProduct\";\n ClaimCauseType[\"UncollectedParcel\"] = \"UncollectedParcel\";\n ClaimCauseType[\"UnwantedProduct\"] = \"UnwantedProduct\";\n ClaimCauseType[\"WrongPriceFix\"] = \"WrongPriceFix\";\n ClaimCauseType[\"WrongProductDelivered\"] = \"WrongProductDelivered\";\n return ClaimCauseType;\n}({});\nlet ClaimDeliveryMethodType = exports.ClaimDeliveryMethodType = /*#__PURE__*/function (ClaimDeliveryMethodType) {\n ClaimDeliveryMethodType[\"DepartmentStore\"] = \"DepartmentStore\";\n ClaimDeliveryMethodType[\"Home\"] = \"Home\";\n ClaimDeliveryMethodType[\"LastUsed\"] = \"LastUsed\";\n ClaimDeliveryMethodType[\"Lpo\"] = \"Lpo\";\n ClaimDeliveryMethodType[\"NearestPostOffice\"] = \"NearestPostOffice\";\n ClaimDeliveryMethodType[\"NextOrder\"] = \"NextOrder\";\n ClaimDeliveryMethodType[\"ParcelLocker\"] = \"ParcelLocker\";\n ClaimDeliveryMethodType[\"PickupPoint\"] = \"PickupPoint\";\n ClaimDeliveryMethodType[\"PostOffice\"] = \"PostOffice\";\n ClaimDeliveryMethodType[\"Spo\"] = \"Spo\";\n return ClaimDeliveryMethodType;\n}({});\nlet ClaimProductItemCategory = exports.ClaimProductItemCategory = /*#__PURE__*/function (ClaimProductItemCategory) {\n ClaimProductItemCategory[\"AddOns\"] = \"AddOns\";\n ClaimProductItemCategory[\"Cosmetics\"] = \"Cosmetics\";\n ClaimProductItemCategory[\"DemoProduct\"] = \"DemoProduct\";\n ClaimProductItemCategory[\"Fee\"] = \"Fee\";\n ClaimProductItemCategory[\"Jewellery\"] = \"Jewellery\";\n ClaimProductItemCategory[\"NonFinancial\"] = \"NonFinancial\";\n ClaimProductItemCategory[\"None\"] = \"None\";\n ClaimProductItemCategory[\"Other\"] = \"Other\";\n ClaimProductItemCategory[\"OtherSample\"] = \"OtherSample\";\n ClaimProductItemCategory[\"Packaging\"] = \"Packaging\";\n ClaimProductItemCategory[\"PrintingMaterial\"] = \"PrintingMaterial\";\n ClaimProductItemCategory[\"RecruitmentGifts\"] = \"RecruitmentGifts\";\n ClaimProductItemCategory[\"Training\"] = \"Training\";\n ClaimProductItemCategory[\"Unknown\"] = \"Unknown\";\n ClaimProductItemCategory[\"Wellness\"] = \"Wellness\";\n return ClaimProductItemCategory;\n}({});\nlet ClaimReasonType = exports.ClaimReasonType = /*#__PURE__*/function (ClaimReasonType) {\n ClaimReasonType[\"BatchNumberOrExpiryDateMissingNotReadable\"] = \"BatchNumberOrExpiryDateMissingNotReadable\";\n ClaimReasonType[\"ColorVariation\"] = \"ColorVariation\";\n ClaimReasonType[\"ConsistencyColorOrScentIssue\"] = \"ConsistencyColorOrScentIssue\";\n ClaimReasonType[\"ConsistencyOrTextureVariation\"] = \"ConsistencyOrTextureVariation\";\n ClaimReasonType[\"ContaminatedByForeignObject\"] = \"ContaminatedByForeignObject\";\n ClaimReasonType[\"ContentDamagedByLeakageFromAnotherProduct\"] = \"ContentDamagedByLeakageFromAnotherProduct\";\n ClaimReasonType[\"DamagedByAnotherProduct\"] = \"DamagedByAnotherProduct\";\n ClaimReasonType[\"DamagedContainerJarTubeBottlePouch\"] = \"DamagedContainerJarTubeBottlePouch\";\n ClaimReasonType[\"DamagedOrDeformed\"] = \"DamagedOrDeformed\";\n ClaimReasonType[\"DamagedOrDeformed_22\"] = \"DamagedOrDeformed_22\";\n ClaimReasonType[\"DamagedPackagingExternalProductBoxTamperProofPolybagFoil\"] = \"DamagedPackagingExternalProductBoxTamperProofPolybagFoil\";\n ClaimReasonType[\"DescriptionFoundInCatalogue\"] = \"DescriptionFoundInCatalogue\";\n ClaimReasonType[\"DescriptionFoundInOtherCommunication\"] = \"DescriptionFoundInOtherCommunication\";\n ClaimReasonType[\"DescriptionFoundOnline\"] = \"DescriptionFoundOnline\";\n ClaimReasonType[\"DidntMatchTheProductDescription\"] = \"DidntMatchTheProductDescription\";\n ClaimReasonType[\"DidntMeetExpectations\"] = \"DidntMeetExpectations\";\n ClaimReasonType[\"DifferentProductThanStatedOnPackOrLabel\"] = \"DifferentProductThanStatedOnPackOrLabel\";\n ClaimReasonType[\"ForeignMatter\"] = \"ForeignMatter\";\n ClaimReasonType[\"Leakage\"] = \"Leakage\";\n ClaimReasonType[\"Malfunction\"] = \"Malfunction\";\n ClaimReasonType[\"MechanismProblems\"] = \"MechanismProblems\";\n ClaimReasonType[\"MissingLabelOrLeaflet\"] = \"MissingLabelOrLeaflet\";\n ClaimReasonType[\"MissingPart\"] = \"MissingPart\";\n ClaimReasonType[\"MissingPartsOrUnderfilled\"] = \"MissingPartsOrUnderfilled\";\n ClaimReasonType[\"NoReasonJustChangedMyMind\"] = \"NoReasonJustChangedMyMind\";\n ClaimReasonType[\"NotUsedProduct\"] = \"NotUsedProduct\";\n ClaimReasonType[\"NotUsedProductNoReason\"] = \"NotUsedProductNoReason\";\n ClaimReasonType[\"NotUsedProductNotMeetExpectations\"] = \"NotUsedProductNotMeetExpectations\";\n ClaimReasonType[\"NotWorkingAtAll\"] = \"NotWorkingAtAll\";\n ClaimReasonType[\"PackagingDamagedByLeakageFromAnotherProduct\"] = \"PackagingDamagedByLeakageFromAnotherProduct\";\n ClaimReasonType[\"PackagingQualityIssue\"] = \"PackagingQualityIssue\";\n ClaimReasonType[\"ParcelDelayed\"] = \"ParcelDelayed\";\n ClaimReasonType[\"ParcelIsLost\"] = \"ParcelIsLost\";\n ClaimReasonType[\"PoorLabelling\"] = \"PoorLabelling\";\n ClaimReasonType[\"ProductContentQualityIssue\"] = \"ProductContentQualityIssue\";\n ClaimReasonType[\"ProductIsLeaking\"] = \"ProductIsLeaking\";\n ClaimReasonType[\"SmellChangedOrUnpleasant\"] = \"SmellChangedOrUnpleasant\";\n ClaimReasonType[\"TasteChangedOrUnpleasant\"] = \"TasteChangedOrUnpleasant\";\n ClaimReasonType[\"UsedProduct\"] = \"UsedProduct\";\n ClaimReasonType[\"UsedProductNoReason\"] = \"UsedProductNoReason\";\n ClaimReasonType[\"UsedProductNotMeetExpectations\"] = \"UsedProductNotMeetExpectations\";\n ClaimReasonType[\"WorkingPoorly\"] = \"WorkingPoorly\";\n ClaimReasonType[\"WrongAddress\"] = \"WrongAddress\";\n ClaimReasonType[\"WrongProductOrdered\"] = \"WrongProductOrdered\";\n ClaimReasonType[\"WrongQuantity\"] = \"WrongQuantity\";\n return ClaimReasonType;\n}({});\nlet ClaimStatus = exports.ClaimStatus = /*#__PURE__*/function (ClaimStatus) {\n ClaimStatus[\"Approved\"] = \"Approved\";\n ClaimStatus[\"Created\"] = \"Created\";\n ClaimStatus[\"Denied\"] = \"Denied\";\n ClaimStatus[\"Finished\"] = \"Finished\";\n ClaimStatus[\"PartiallyApproved\"] = \"PartiallyApproved\";\n ClaimStatus[\"Saved\"] = \"Saved\";\n return ClaimStatus;\n}({});\nlet ClaimType = exports.ClaimType = /*#__PURE__*/function (ClaimType) {\n ClaimType[\"DistributionIssue\"] = \"DistributionIssue\";\n ClaimType[\"InvoiceIssue\"] = \"InvoiceIssue\";\n ClaimType[\"ReturnExchangeOrMissingProduct\"] = \"ReturnExchangeOrMissingProduct\";\n return ClaimType;\n}({});\n/** Claiming query root */\n/** Claiming query root */\n/** Claiming query root */\n/** Claiming query root */\n/** Claiming query root */\n/** Color type */\nlet ColorType = exports.ColorType = /*#__PURE__*/function (ColorType) {\n ColorType[\"Brown\"] = \"Brown\";\n ColorType[\"Green\"] = \"Green\";\n ColorType[\"White\"] = \"White\";\n return ColorType;\n}({});\n/** The concept resolver. */\nlet CurrentOrderStatus = exports.CurrentOrderStatus = /*#__PURE__*/function (CurrentOrderStatus) {\n CurrentOrderStatus[\"Blocked\"] = \"Blocked\";\n CurrentOrderStatus[\"CancelRequested\"] = \"CancelRequested\";\n CurrentOrderStatus[\"Canceled\"] = \"Canceled\";\n CurrentOrderStatus[\"CreditNote\"] = \"CreditNote\";\n CurrentOrderStatus[\"Paid\"] = \"Paid\";\n CurrentOrderStatus[\"PaidPartially\"] = \"PaidPartially\";\n CurrentOrderStatus[\"Pending\"] = \"Pending\";\n CurrentOrderStatus[\"Unknown\"] = \"Unknown\";\n CurrentOrderStatus[\"Unpaid\"] = \"Unpaid\";\n CurrentOrderStatus[\"Waiting\"] = \"Waiting\";\n CurrentOrderStatus[\"WaitingForApproval\"] = \"WaitingForApproval\";\n return CurrentOrderStatus;\n}({});\n/** Enum customer category */\nlet CustomerCategory = exports.CustomerCategory = /*#__PURE__*/function (CustomerCategory) {\n CustomerCategory[\"Anonymous\"] = \"Anonymous\";\n CustomerCategory[\"Consultant\"] = \"Consultant\";\n CustomerCategory[\"Employee\"] = \"Employee\";\n CustomerCategory[\"EndConsumer\"] = \"EndConsumer\";\n CustomerCategory[\"EndCustomer\"] = \"EndCustomer\";\n CustomerCategory[\"Invitation\"] = \"Invitation\";\n CustomerCategory[\"Other\"] = \"Other\";\n return CustomerCategory;\n}({});\nlet DeliveryMethodType = exports.DeliveryMethodType = /*#__PURE__*/function (DeliveryMethodType) {\n DeliveryMethodType[\"DepartmentStore\"] = \"DepartmentStore\";\n DeliveryMethodType[\"Home\"] = \"Home\";\n DeliveryMethodType[\"Lpo\"] = \"Lpo\";\n DeliveryMethodType[\"NearestPostOffice\"] = \"NearestPostOffice\";\n DeliveryMethodType[\"NextOrder\"] = \"NextOrder\";\n DeliveryMethodType[\"ParcelLocker\"] = \"ParcelLocker\";\n DeliveryMethodType[\"PickupPoint\"] = \"PickupPoint\";\n DeliveryMethodType[\"PostOffice\"] = \"PostOffice\";\n DeliveryMethodType[\"Spo\"] = \"Spo\";\n return DeliveryMethodType;\n}({});\nlet DeliverySearchFilter = exports.DeliverySearchFilter = /*#__PURE__*/function (DeliverySearchFilter) {\n DeliverySearchFilter[\"AllAddresses\"] = \"AllAddresses\";\n DeliverySearchFilter[\"DepartmentStore\"] = \"DepartmentStore\";\n DeliverySearchFilter[\"History\"] = \"History\";\n DeliverySearchFilter[\"Lpo\"] = \"Lpo\";\n DeliverySearchFilter[\"MyAddresses\"] = \"MyAddresses\";\n DeliverySearchFilter[\"MyFriends\"] = \"MyFriends\";\n DeliverySearchFilter[\"MyHistoryAddresses\"] = \"MyHistoryAddresses\";\n DeliverySearchFilter[\"MyHistoryFriends\"] = \"MyHistoryFriends\";\n DeliverySearchFilter[\"MySpo\"] = \"MySpo\";\n DeliverySearchFilter[\"PickUp\"] = \"PickUp\";\n DeliverySearchFilter[\"PostOffice\"] = \"PostOffice\";\n DeliverySearchFilter[\"PremiumSpo\"] = \"PremiumSpo\";\n DeliverySearchFilter[\"Spo\"] = \"Spo\";\n return DeliverySearchFilter;\n}({});\n/** Discount applied to reduce price of the order */\nlet DiscountType = exports.DiscountType = /*#__PURE__*/function (DiscountType) {\n DiscountType[\"Direct\"] = \"Direct\";\n DiscountType[\"Employee\"] = \"Employee\";\n DiscountType[\"Extra\"] = \"Extra\";\n DiscountType[\"GiftCard\"] = \"GiftCard\";\n DiscountType[\"Immediate\"] = \"Immediate\";\n DiscountType[\"Invitation\"] = \"Invitation\";\n DiscountType[\"Merchandising\"] = \"Merchandising\";\n DiscountType[\"PromoCode\"] = \"PromoCode\";\n DiscountType[\"Staggered\"] = \"Staggered\";\n DiscountType[\"Voucher\"] = \"Voucher\";\n DiscountType[\"Welcome\"] = \"Welcome\";\n return DiscountType;\n}({});\n/** eWallet type */\nlet EWalletType = exports.EWalletType = /*#__PURE__*/function (EWalletType) {\n EWalletType[\"Revolut\"] = \"Revolut\";\n return EWalletType;\n}({});\n/** Editorial banner */\n/** Editorial banner color */\n/** Editorial banner content */\n/** Banner background image */\n/** Editorial banner layout enumeration */\nlet EditorialBannerLayoutEnum = exports.EditorialBannerLayoutEnum = /*#__PURE__*/function (EditorialBannerLayoutEnum) {\n /** 50/50 banner */\n EditorialBannerLayoutEnum[\"FiftyBanner\"] = \"FiftyBanner\";\n /** Banner with four media */\n EditorialBannerLayoutEnum[\"FourMedia\"] = \"FourMedia\";\n /** Banner with headline */\n EditorialBannerLayoutEnum[\"Headline\"] = \"Headline\";\n /** Banner with one media overlayed with text at the bottom */\n EditorialBannerLayoutEnum[\"OneMediaCenterBottomText\"] = \"OneMediaCenterBottomText\";\n /** Banner with one media overlayed with text on the left */\n EditorialBannerLayoutEnum[\"OneMediaOverlayLeftText\"] = \"OneMediaOverlayLeftText\";\n /** Banner with one media overlayed with text on the right */\n EditorialBannerLayoutEnum[\"OneMediaOverlayRightText\"] = \"OneMediaOverlayRightText\";\n /** Banner with one media part and paragraph text */\n EditorialBannerLayoutEnum[\"OneMediaParagraphText\"] = \"OneMediaParagraphText\";\n /** PLP banner with single media */\n EditorialBannerLayoutEnum[\"OneMediaProductPromo\"] = \"OneMediaProductPromo\";\n /** Banner with paragraph text */\n EditorialBannerLayoutEnum[\"ParagraphText\"] = \"ParagraphText\";\n /** Banner with quote */\n EditorialBannerLayoutEnum[\"Quote\"] = \"Quote\";\n /** Banner with three media and right bottom text */\n EditorialBannerLayoutEnum[\"ThreeMediaRightBottomText\"] = \"ThreeMediaRightBottomText\";\n /** Banner with two media parts */\n EditorialBannerLayoutEnum[\"TwoMedia\"] = \"TwoMedia\";\n /** Banner with two media overlayed with text on the top */\n EditorialBannerLayoutEnum[\"TwoMediaRightTopText\"] = \"TwoMediaRightTopText\";\n /** Banner with vertical video */\n EditorialBannerLayoutEnum[\"VerticalVideo\"] = \"VerticalVideo\";\n /** Banner with video */\n EditorialBannerLayoutEnum[\"Video\"] = \"Video\";\n return EditorialBannerLayoutEnum;\n}({});\n/** Banner modules */\n/** Text wrapper */\n/** Editorial banner title color enumeration */\nlet EditorialBannerTitleColorEnum = exports.EditorialBannerTitleColorEnum = /*#__PURE__*/function (EditorialBannerTitleColorEnum) {\n /** The black */\n EditorialBannerTitleColorEnum[\"Black\"] = \"Black\";\n /** The dark grey */\n EditorialBannerTitleColorEnum[\"DarkGrey\"] = \"DarkGrey\";\n /** The white */\n EditorialBannerTitleColorEnum[\"White\"] = \"White\";\n return EditorialBannerTitleColorEnum;\n}({});\n/** Editorial banner title size enumeration */\nlet EditorialBannerTitleSizeEnum = exports.EditorialBannerTitleSizeEnum = /*#__PURE__*/function (EditorialBannerTitleSizeEnum) {\n EditorialBannerTitleSizeEnum[\"H5\"] = \"H5\";\n EditorialBannerTitleSizeEnum[\"H6\"] = \"H6\";\n return EditorialBannerTitleSizeEnum;\n}({});\nlet EditorialBenefitIcon = exports.EditorialBenefitIcon = /*#__PURE__*/function (EditorialBenefitIcon) {\n EditorialBenefitIcon[\"BubbleHeart\"] = \"BubbleHeart\";\n EditorialBenefitIcon[\"Cashback\"] = \"Cashback\";\n EditorialBenefitIcon[\"Check\"] = \"Check\";\n EditorialBenefitIcon[\"Conference\"] = \"Conference\";\n EditorialBenefitIcon[\"DiscountTag\"] = \"DiscountTag\";\n EditorialBenefitIcon[\"Dollar\"] = \"Dollar\";\n EditorialBenefitIcon[\"Gift\"] = \"Gift\";\n EditorialBenefitIcon[\"Send\"] = \"Send\";\n EditorialBenefitIcon[\"Share\"] = \"Share\";\n EditorialBenefitIcon[\"Truck\"] = \"Truck\";\n EditorialBenefitIcon[\"Wallet\"] = \"Wallet\";\n EditorialBenefitIcon[\"WelcomeKit\"] = \"WelcomeKit\";\n return EditorialBenefitIcon;\n}({});\n/** Editorial channel type */\nlet EditorialChannelType = exports.EditorialChannelType = /*#__PURE__*/function (EditorialChannelType) {\n EditorialChannelType[\"Mobile\"] = \"Mobile\";\n EditorialChannelType[\"Web\"] = \"Web\";\n return EditorialChannelType;\n}({});\nlet EditorialContentType = exports.EditorialContentType = /*#__PURE__*/function (EditorialContentType) {\n EditorialContentType[\"Banner\"] = \"Banner\";\n EditorialContentType[\"Benefits\"] = \"Benefits\";\n EditorialContentType[\"EditorialBannerCarousel\"] = \"EditorialBannerCarousel\";\n EditorialContentType[\"EditorialCarousel\"] = \"EditorialCarousel\";\n EditorialContentType[\"FiftyBanner\"] = \"FiftyBanner\";\n EditorialContentType[\"FrequentlyAskedQuestions\"] = \"FrequentlyAskedQuestions\";\n EditorialContentType[\"Header\"] = \"Header\";\n EditorialContentType[\"LinkList\"] = \"LinkList\";\n EditorialContentType[\"MixedPlpContent\"] = \"MixedPlpContent\";\n EditorialContentType[\"Olapic\"] = \"Olapic\";\n EditorialContentType[\"ProductBoxCarousel\"] = \"ProductBoxCarousel\";\n EditorialContentType[\"TestimonialCarousel\"] = \"TestimonialCarousel\";\n return EditorialContentType;\n}({});\n/** Editorial header */\n/** Editorial Olapic */\n/** Editorial PLP Promo Banner */\n/** Editorial PLP banner size */\nlet EditorialPlpPromoBannerSize = exports.EditorialPlpPromoBannerSize = /*#__PURE__*/function (EditorialPlpPromoBannerSize) {\n EditorialPlpPromoBannerSize[\"Size1\"] = \"Size1\";\n EditorialPlpPromoBannerSize[\"Size2\"] = \"Size2\";\n return EditorialPlpPromoBannerSize;\n}({});\n/** Rows composing product listing page */\n/** Rows composing product listing page */\n/** Editorial Product Box Carousel */\n/** Single testimonial displayed on editorial */\n/** Carousel with testimonials to be displayed on editorial */\n/** Feedback Benefit Banner type */\nlet FeedbackBenefitBannerType = exports.FeedbackBenefitBannerType = /*#__PURE__*/function (FeedbackBenefitBannerType) {\n FeedbackBenefitBannerType[\"Cashback\"] = \"Cashback\";\n FeedbackBenefitBannerType[\"ShareAndEarn\"] = \"ShareAndEarn\";\n return FeedbackBenefitBannerType;\n}({});\n/** Enum gender */\nlet Gender = exports.Gender = /*#__PURE__*/function (Gender) {\n Gender[\"Man\"] = \"Man\";\n Gender[\"Other\"] = \"Other\";\n Gender[\"Woman\"] = \"Woman\";\n return Gender;\n}({});\nlet HorizontalContentAlignment = exports.HorizontalContentAlignment = /*#__PURE__*/function (HorizontalContentAlignment) {\n HorizontalContentAlignment[\"Left\"] = \"Left\";\n HorizontalContentAlignment[\"Right\"] = \"Right\";\n HorizontalContentAlignment[\"Undefined\"] = \"Undefined\";\n return HorizontalContentAlignment;\n}({});\n/** The concept resolver. */\n/** The concept resolver. */\n/** The concept resolver. */\n/** Enum language type */\nlet LanguageType = exports.LanguageType = /*#__PURE__*/function (LanguageType) {\n LanguageType[\"Alternative\"] = \"Alternative\";\n LanguageType[\"Default\"] = \"Default\";\n return LanguageType;\n}({});\nlet LinkType = exports.LinkType = /*#__PURE__*/function (LinkType) {\n LinkType[\"Brand\"] = \"Brand\";\n LinkType[\"Campaign\"] = \"Campaign\";\n LinkType[\"Catalogue\"] = \"Catalogue\";\n LinkType[\"Category\"] = \"Category\";\n LinkType[\"CategoryNavigation\"] = \"CategoryNavigation\";\n LinkType[\"Custom\"] = \"Custom\";\n LinkType[\"DigitalCatalogueCurrentNavigation\"] = \"DigitalCatalogueCurrentNavigation\";\n LinkType[\"EditorialArticle\"] = \"EditorialArticle\";\n LinkType[\"EditorialCampaign\"] = \"EditorialCampaign\";\n LinkType[\"Frontpage\"] = \"Frontpage\";\n LinkType[\"Ingredient\"] = \"Ingredient\";\n LinkType[\"InvitationOffer\"] = \"InvitationOffer\";\n LinkType[\"Invite\"] = \"Invite\";\n LinkType[\"NewProducts\"] = \"NewProducts\";\n LinkType[\"NovageSkincareAdvisor\"] = \"NovageSkincareAdvisor\";\n LinkType[\"PlPage\"] = \"PlPage\";\n LinkType[\"Product\"] = \"Product\";\n LinkType[\"RegistrationPage\"] = \"RegistrationPage\";\n LinkType[\"SignIn\"] = \"SignIn\";\n return LinkType;\n}({});\nlet ManagerSummitStatus = exports.ManagerSummitStatus = /*#__PURE__*/function (ManagerSummitStatus) {\n ManagerSummitStatus[\"NotAvailable\"] = \"NotAvailable\";\n ManagerSummitStatus[\"QualificationInProgress\"] = \"QualificationInProgress\";\n ManagerSummitStatus[\"QualifiedBeforeCutOff\"] = \"QualifiedBeforeCutOff\";\n ManagerSummitStatus[\"QualifiedIncludingCutOff\"] = \"QualifiedIncludingCutOff\";\n return ManagerSummitStatus;\n}({});\nlet ManagerSummitVersion = exports.ManagerSummitVersion = /*#__PURE__*/function (ManagerSummitVersion) {\n ManagerSummitVersion[\"Manager\"] = \"Manager\";\n ManagerSummitVersion[\"NewComer\"] = \"NewComer\";\n ManagerSummitVersion[\"NotAvailable\"] = \"NotAvailable\";\n return ManagerSummitVersion;\n}({});\nlet MobileAppType = exports.MobileAppType = /*#__PURE__*/function (MobileAppType) {\n MobileAppType[\"None\"] = \"None\";\n MobileAppType[\"ToSell\"] = \"ToSell\";\n MobileAppType[\"ToShop\"] = \"ToShop\";\n return MobileAppType;\n}({});\n/** Possible types of Navigation items */\nlet NavigationLinkType = exports.NavigationLinkType = /*#__PURE__*/function (NavigationLinkType) {\n /** All category */\n NavigationLinkType[\"AllCategory\"] = \"AllCategory\";\n /** Beauty Tips section */\n NavigationLinkType[\"BeautyTips\"] = \"BeautyTips\";\n /** Bestseller products page */\n NavigationLinkType[\"Bestsellers\"] = \"Bestsellers\";\n /** Bestseller products in category */\n NavigationLinkType[\"BestsellersInCategory\"] = \"BestsellersInCategory\";\n /** Bottom part of the footer */\n NavigationLinkType[\"Bottom\"] = \"Bottom\";\n /** Bottom part of the footer with copyright info */\n NavigationLinkType[\"BottomCopyright\"] = \"BottomCopyright\";\n /** Links from the bottom part of the footer */\n NavigationLinkType[\"BottomLinks\"] = \"BottomLinks\";\n /** Catalogue page */\n NavigationLinkType[\"Catalogue\"] = \"Catalogue\";\n /** Catalogues page */\n NavigationLinkType[\"Catalogues\"] = \"Catalogues\";\n /** Category */\n NavigationLinkType[\"Category\"] = \"Category\";\n /** Catalogue for the current period */\n NavigationLinkType[\"DigitalCatalogueCurrent\"] = \"DigitalCatalogueCurrent\";\n /** Catalogue for the next period */\n NavigationLinkType[\"DigitalCatalogueNext\"] = \"DigitalCatalogueNext\";\n /** Focus page */\n NavigationLinkType[\"FocusPage\"] = \"FocusPage\";\n /** Column of a footer */\n NavigationLinkType[\"FooterColumn\"] = \"FooterColumn\";\n /** Item placed in footer's column */\n NavigationLinkType[\"FooterColumnItem\"] = \"FooterColumnItem\";\n /** I Don't know yet link */\n NavigationLinkType[\"IDontKnowYet\"] = \"IDontKnowYet\";\n /** Iconic products page */\n NavigationLinkType[\"Icons\"] = \"Icons\";\n /** Iconic products in category */\n NavigationLinkType[\"IconsInCategory\"] = \"IconsInCategory\";\n /** Inspiration section */\n NavigationLinkType[\"Inspiration\"] = \"Inspiration\";\n /** Join rewards */\n NavigationLinkType[\"JoinRewards\"] = \"JoinRewards\";\n /** Key ingredients page */\n NavigationLinkType[\"KeyIngredients\"] = \"KeyIngredients\";\n /** Menu tiles */\n NavigationLinkType[\"MenuTiles\"] = \"MenuTiles\";\n /** New products */\n NavigationLinkType[\"New\"] = \"New\";\n /** No link type was specified for this item */\n NavigationLinkType[\"None\"] = \"None\";\n /** Our applications */\n NavigationLinkType[\"OurApps\"] = \"OurApps\";\n /** Outlet shop */\n NavigationLinkType[\"OutletShop\"] = \"OutletShop\";\n /** Payment method */\n NavigationLinkType[\"PaymentMethod\"] = \"PaymentMethod\";\n /** Available payment methods */\n NavigationLinkType[\"PaymentMethods\"] = \"PaymentMethods\";\n /** Popular brand */\n NavigationLinkType[\"PopularBrand\"] = \"PopularBrand\";\n /** Popular brands */\n NavigationLinkType[\"PopularBrands\"] = \"PopularBrands\";\n /** Popular lookbook */\n NavigationLinkType[\"PopularLookbook\"] = \"PopularLookbook\";\n NavigationLinkType[\"Qrtr\"] = \"Qrtr\";\n /** Rewards shop page */\n NavigationLinkType[\"RewardsShop\"] = \"RewardsShop\";\n /** Sample shop page */\n NavigationLinkType[\"SampleShop\"] = \"SampleShop\";\n /** Segment of subcategory */\n NavigationLinkType[\"Segment\"] = \"Segment\";\n /** Subcategory */\n NavigationLinkType[\"SubCategory\"] = \"SubCategory\";\n /** Support center */\n NavigationLinkType[\"SupportCenter\"] = \"SupportCenter\";\n /** Top navigation */\n NavigationLinkType[\"TopNavigation\"] = \"TopNavigation\";\n /** What's new in the category */\n NavigationLinkType[\"WhatsNewInCategory\"] = \"WhatsNewInCategory\";\n return NavigationLinkType;\n}({});\n/** Possible types of navigations */\nlet NavigationType = exports.NavigationType = /*#__PURE__*/function (NavigationType) {\n /** About tiles section content */\n NavigationType[\"AboutTiles\"] = \"AboutTiles\";\n /** Footer section */\n NavigationType[\"Footer\"] = \"Footer\";\n /** Inspiration tiles content */\n NavigationType[\"InspirationTiles\"] = \"InspirationTiles\";\n /** Join section content */\n NavigationType[\"JoinTiles\"] = \"JoinTiles\";\n /** Shop section content */\n NavigationType[\"ShopSection\"] = \"ShopSection\";\n /** Top navigation bar items */\n NavigationType[\"TopNavigation\"] = \"TopNavigation\";\n return NavigationType;\n}({});\nlet NotificationBannerThemeType = exports.NotificationBannerThemeType = /*#__PURE__*/function (NotificationBannerThemeType) {\n NotificationBannerThemeType[\"Black\"] = \"Black\";\n NotificationBannerThemeType[\"Grey\"] = \"Grey\";\n return NotificationBannerThemeType;\n}({});\n/** Olapic type enumeration */\nlet OlapicTypeEnum = exports.OlapicTypeEnum = /*#__PURE__*/function (OlapicTypeEnum) {\n /** Category widget */\n OlapicTypeEnum[\"Category\"] = \"Category\";\n /** Front page widget */\n OlapicTypeEnum[\"FrontPage\"] = \"FrontPage\";\n /** Gallery widget */\n OlapicTypeEnum[\"Gallery\"] = \"Gallery\";\n /** Product detail page widget */\n OlapicTypeEnum[\"ProductDetails\"] = \"ProductDetails\";\n return OlapicTypeEnum;\n}({});\nlet OrderDocumentType = exports.OrderDocumentType = /*#__PURE__*/function (OrderDocumentType) {\n OrderDocumentType[\"FiscalReceipt\"] = \"FiscalReceipt\";\n OrderDocumentType[\"InvoicePdf\"] = \"InvoicePdf\";\n OrderDocumentType[\"InvoiceXml\"] = \"InvoiceXml\";\n OrderDocumentType[\"ReturnFiscalReceipt\"] = \"ReturnFiscalReceipt\";\n return OrderDocumentType;\n}({});\nlet OrderHistoryType = exports.OrderHistoryType = /*#__PURE__*/function (OrderHistoryType) {\n OrderHistoryType[\"Full\"] = \"Full\";\n OrderHistoryType[\"Last3Periods\"] = \"Last3Periods\";\n return OrderHistoryType;\n}({});\nlet OrderItemType = exports.OrderItemType = /*#__PURE__*/function (OrderItemType) {\n OrderItemType[\"BackOrder\"] = \"BackOrder\";\n OrderItemType[\"Bundle\"] = \"Bundle\";\n OrderItemType[\"Donation\"] = \"Donation\";\n OrderItemType[\"EndConsumerOrder\"] = \"EndConsumerOrder\";\n OrderItemType[\"ExtraChange\"] = \"ExtraChange\";\n OrderItemType[\"ExtraSold\"] = \"ExtraSold\";\n OrderItemType[\"ExtraTax\"] = \"ExtraTax\";\n OrderItemType[\"Fee\"] = \"Fee\";\n OrderItemType[\"FreeSample\"] = \"FreeSample\";\n OrderItemType[\"FreeShippingJoker\"] = \"FreeShippingJoker\";\n OrderItemType[\"MerchandisingChange\"] = \"MerchandisingChange\";\n OrderItemType[\"MerchandisingChangedGift\"] = \"MerchandisingChangedGift\";\n OrderItemType[\"MerchandisingDiscount\"] = \"MerchandisingDiscount\";\n OrderItemType[\"MerchandisingGift\"] = \"MerchandisingGift\";\n OrderItemType[\"NextOrderDelivery\"] = \"NextOrderDelivery\";\n OrderItemType[\"Offer\"] = \"Offer\";\n OrderItemType[\"PaymentFee\"] = \"PaymentFee\";\n OrderItemType[\"PersonalNutrition\"] = \"PersonalNutrition\";\n OrderItemType[\"PersonalSubscription\"] = \"PersonalSubscription\";\n OrderItemType[\"Product\"] = \"Product\";\n OrderItemType[\"RegistrationFee\"] = \"RegistrationFee\";\n OrderItemType[\"RenewalFee\"] = \"RenewalFee\";\n OrderItemType[\"Replacement\"] = \"Replacement\";\n OrderItemType[\"Reservation\"] = \"Reservation\";\n OrderItemType[\"Section1\"] = \"Section1\";\n OrderItemType[\"Section2\"] = \"Section2\";\n OrderItemType[\"Section3\"] = \"Section3\";\n OrderItemType[\"Section4\"] = \"Section4\";\n OrderItemType[\"Service\"] = \"Service\";\n OrderItemType[\"StarterKit\"] = \"StarterKit\";\n OrderItemType[\"Subscription\"] = \"Subscription\";\n OrderItemType[\"Target\"] = \"Target\";\n OrderItemType[\"Unknown\"] = \"Unknown\";\n OrderItemType[\"Voucher\"] = \"Voucher\";\n return OrderItemType;\n}({});\nlet OrderOrigin = exports.OrderOrigin = /*#__PURE__*/function (OrderOrigin) {\n OrderOrigin[\"Automatic\"] = \"Automatic\";\n OrderOrigin[\"Bambuser\"] = \"Bambuser\";\n OrderOrigin[\"Claim\"] = \"Claim\";\n OrderOrigin[\"Demo\"] = \"Demo\";\n OrderOrigin[\"Email\"] = \"Email\";\n OrderOrigin[\"Immediate\"] = \"Immediate\";\n OrderOrigin[\"NowApp\"] = \"NowApp\";\n OrderOrigin[\"OnBehalf\"] = \"OnBehalf\";\n OrderOrigin[\"Online\"] = \"Online\";\n OrderOrigin[\"Orisales\"] = \"Orisales\";\n OrderOrigin[\"Other\"] = \"Other\";\n OrderOrigin[\"Pbs\"] = \"Pbs\";\n OrderOrigin[\"Pharmacy\"] = \"Pharmacy\";\n OrderOrigin[\"Registration\"] = \"Registration\";\n OrderOrigin[\"Telephone\"] = \"Telephone\";\n OrderOrigin[\"Vip\"] = \"Vip\";\n OrderOrigin[\"WeChat\"] = \"WeChat\";\n OrderOrigin[\"WeChatApp\"] = \"WeChatApp\";\n return OrderOrigin;\n}({});\nlet OrderStatus = exports.OrderStatus = /*#__PURE__*/function (OrderStatus) {\n OrderStatus[\"All\"] = \"All\";\n OrderStatus[\"Blocked\"] = \"Blocked\";\n OrderStatus[\"CancelRequested\"] = \"CancelRequested\";\n OrderStatus[\"Canceled\"] = \"Canceled\";\n OrderStatus[\"CreditNote\"] = \"CreditNote\";\n OrderStatus[\"Paid\"] = \"Paid\";\n OrderStatus[\"Pending\"] = \"Pending\";\n OrderStatus[\"Unpaid\"] = \"Unpaid\";\n OrderStatus[\"Waiting\"] = \"Waiting\";\n OrderStatus[\"WaitingForApproval\"] = \"WaitingForApproval\";\n return OrderStatus;\n}({});\n/** Payment Channel for bonus type */\nlet PaymentChannel = exports.PaymentChannel = /*#__PURE__*/function (PaymentChannel) {\n /** Commission payment channel (BonusType released to bank account) */\n PaymentChannel[\"Commission\"] = \"Commission\";\n /** Discount payment channel (BonusType released to discount) */\n PaymentChannel[\"Discount\"] = \"Discount\";\n /** Sales Action Discount (BonusType not released - used for virtual income i.e. immediate profit) */\n PaymentChannel[\"SalesActionDiscount\"] = \"SalesActionDiscount\";\n return PaymentChannel;\n}({});\nlet PeriodStatus = exports.PeriodStatus = /*#__PURE__*/function (PeriodStatus) {\n PeriodStatus[\"ActiveCompleted\"] = \"ActiveCompleted\";\n PeriodStatus[\"ActiveNotCompleted\"] = \"ActiveNotCompleted\";\n PeriodStatus[\"Completed\"] = \"Completed\";\n PeriodStatus[\"NotActive\"] = \"NotActive\";\n PeriodStatus[\"NotCompleted\"] = \"NotCompleted\";\n return PeriodStatus;\n}({});\nlet PermanentTopBannerType = exports.PermanentTopBannerType = /*#__PURE__*/function (PermanentTopBannerType) {\n /** All pages behind Checkout */\n PermanentTopBannerType[\"Checkout\"] = \"Checkout\";\n /** All pages behind my-pages */\n PermanentTopBannerType[\"MyPages\"] = \"MyPages\";\n /** All other public pages */\n PermanentTopBannerType[\"PublicPage\"] = \"PublicPage\";\n /** All public pages with provided referral parameter */\n PermanentTopBannerType[\"PublicPageWithReferral\"] = \"PublicPageWithReferral\";\n return PermanentTopBannerType;\n}({});\nlet PersonalSubscriptionCategory = exports.PersonalSubscriptionCategory = /*#__PURE__*/function (PersonalSubscriptionCategory) {\n PersonalSubscriptionCategory[\"PersonalNutrition\"] = \"PersonalNutrition\";\n PersonalSubscriptionCategory[\"Product\"] = \"Product\";\n return PersonalSubscriptionCategory;\n}({});\nlet PickupSearchFilter = exports.PickupSearchFilter = /*#__PURE__*/function (PickupSearchFilter) {\n PickupSearchFilter[\"All\"] = \"All\";\n PickupSearchFilter[\"DepartmentStore\"] = \"DepartmentStore\";\n PickupSearchFilter[\"Lpo\"] = \"Lpo\";\n PickupSearchFilter[\"MySpo\"] = \"MySpo\";\n PickupSearchFilter[\"PickupPoint\"] = \"PickupPoint\";\n PickupSearchFilter[\"PostOffice\"] = \"PostOffice\";\n PickupSearchFilter[\"PremiumSpo\"] = \"PremiumSpo\";\n PickupSearchFilter[\"Spo\"] = \"Spo\";\n return PickupSearchFilter;\n}({});\nlet PlpOrderBy = exports.PlpOrderBy = /*#__PURE__*/function (PlpOrderBy) {\n PlpOrderBy[\"HighestDiscount\"] = \"HighestDiscount\";\n PlpOrderBy[\"HighestPrice\"] = \"HighestPrice\";\n PlpOrderBy[\"HighestRating\"] = \"HighestRating\";\n PlpOrderBy[\"Latest\"] = \"Latest\";\n PlpOrderBy[\"LowestPrice\"] = \"LowestPrice\";\n PlpOrderBy[\"Recommended\"] = \"Recommended\";\n return PlpOrderBy;\n}({});\n/** The product resolver. */\n/** The product resolver. */\n/** The product resolver. */\n/** The product resolver. */\n/** The product resolver. */\n/** Product Label Domain Type */\nlet ProductLabelDomainType = exports.ProductLabelDomainType = /*#__PURE__*/function (ProductLabelDomainType) {\n /** Only Offer, New, SuperDeal */\n ProductLabelDomainType[\"Deal\"] = \"Deal\";\n ProductLabelDomainType[\"Ppa\"] = \"PPA\";\n /** Domain Type for AddToBasketVisible ProductLabelType */\n ProductLabelDomainType[\"Shopping\"] = \"Shopping\";\n return ProductLabelDomainType;\n}({});\nlet ProductListType = exports.ProductListType = /*#__PURE__*/function (ProductListType) {\n ProductListType[\"Favorite\"] = \"Favorite\";\n ProductListType[\"Personal\"] = \"Personal\";\n ProductListType[\"Private\"] = \"Private\";\n ProductListType[\"Wishlist\"] = \"Wishlist\";\n return ProductListType;\n}({});\n/** Enum ProductListingBannerVideoType */\nlet ProductListingBannerVideoType = exports.ProductListingBannerVideoType = /*#__PURE__*/function (ProductListingBannerVideoType) {\n ProductListingBannerVideoType[\"Mp4\"] = \"Mp4\";\n ProductListingBannerVideoType[\"None\"] = \"None\";\n ProductListingBannerVideoType[\"Youku\"] = \"Youku\";\n ProductListingBannerVideoType[\"Youtube\"] = \"Youtube\";\n return ProductListingBannerVideoType;\n}({});\n/** The product recommendation resolver. */\nlet ProductRelationType = exports.ProductRelationType = /*#__PURE__*/function (ProductRelationType) {\n ProductRelationType[\"Favourite\"] = \"Favourite\";\n ProductRelationType[\"Popular\"] = \"Popular\";\n ProductRelationType[\"RecentlyViewed\"] = \"RecentlyViewed\";\n ProductRelationType[\"Related\"] = \"Related\";\n ProductRelationType[\"Samples\"] = \"Samples\";\n return ProductRelationType;\n}({});\nlet ProductReplacementType = exports.ProductReplacementType = /*#__PURE__*/function (ProductReplacementType) {\n /** Alternative replacement. */\n ProductReplacementType[\"Alternative\"] = \"Alternative\";\n /** Automatic replacement without interaction with user. */\n ProductReplacementType[\"Automatic\"] = \"Automatic\";\n /** Manual replacement during shopping. */\n ProductReplacementType[\"Manual\"] = \"Manual\";\n /** Taste replacement of subscribed product. */\n ProductReplacementType[\"Subscription\"] = \"Subscription\";\n /** Automatic replacement of subscribed wellness product without interaction with user. */\n ProductReplacementType[\"WellnessAutomatic\"] = \"WellnessAutomatic\";\n /** Manual replacement of subscribed wellness product during shopping. */\n ProductReplacementType[\"WellnessManual\"] = \"WellnessManual\";\n return ProductReplacementType;\n}({});\n/** Represents the results of a product search. */\nlet ProductType = exports.ProductType = /*#__PURE__*/function (ProductType) {\n ProductType[\"Bundle\"] = \"Bundle\";\n ProductType[\"Composite\"] = \"Composite\";\n ProductType[\"Fee\"] = \"Fee\";\n ProductType[\"Product\"] = \"Product\";\n ProductType[\"Sample\"] = \"Sample\";\n return ProductType;\n}({});\n/** The query. */\n/** The query. */\n/** The query. */\n/** The query. */\n/** The query. */\n/** The query. */\n/** The query. */\n/** The query. */\n/** The query. */\n/** The query. */\n/** The query. */\n/** The query. */\nlet ReplacementType = exports.ReplacementType = /*#__PURE__*/function (ReplacementType) {\n ReplacementType[\"Alternative\"] = \"Alternative\";\n ReplacementType[\"Automatic\"] = \"Automatic\";\n ReplacementType[\"Manual\"] = \"Manual\";\n return ReplacementType;\n}({});\n/** ResponseMessageNewsletterSubsciptionsType */\nlet ResponseMessageNewsletterSubsciptionsType = exports.ResponseMessageNewsletterSubsciptionsType = /*#__PURE__*/function (ResponseMessageNewsletterSubsciptionsType) {\n /** Cleaned */\n ResponseMessageNewsletterSubsciptionsType[\"Cleaned\"] = \"Cleaned\";\n /** New */\n ResponseMessageNewsletterSubsciptionsType[\"New\"] = \"New\";\n /** Pending */\n ResponseMessageNewsletterSubsciptionsType[\"Pending\"] = \"Pending\";\n /** Subscribed */\n ResponseMessageNewsletterSubsciptionsType[\"Subscribed\"] = \"Subscribed\";\n /** Unsubscribed */\n ResponseMessageNewsletterSubsciptionsType[\"Unsubscribed\"] = \"Unsubscribed\";\n return ResponseMessageNewsletterSubsciptionsType;\n}({});\nlet SettingsClientType = exports.SettingsClientType = /*#__PURE__*/function (SettingsClientType) {\n SettingsClientType[\"OnlineReportingGrid\"] = \"OnlineReportingGrid\";\n SettingsClientType[\"WellnessClub\"] = \"WellnessClub\";\n return SettingsClientType;\n}({});\nlet SettingsFormatType = exports.SettingsFormatType = /*#__PURE__*/function (SettingsFormatType) {\n SettingsFormatType[\"Json\"] = \"Json\";\n SettingsFormatType[\"String\"] = \"String\";\n SettingsFormatType[\"Xml\"] = \"Xml\";\n return SettingsFormatType;\n}({});\n/** Shopping query root */\n/** Shopping query root */\n/** Shopping query root */\n/** Live video show type */\nlet ShowType = exports.ShowType = /*#__PURE__*/function (ShowType) {\n /** Show is recorded */\n ShowType[\"Ended\"] = \"Ended\";\n /** Show is running now */\n ShowType[\"Live\"] = \"Live\";\n /** Show not started yet */\n ShowType[\"Scheduled\"] = \"Scheduled\";\n return ShowType;\n}({});\n/** Types of social contact */\nlet SocialContactType = exports.SocialContactType = /*#__PURE__*/function (SocialContactType) {\n /** Email */\n SocialContactType[\"Email\"] = \"Email\";\n /** Facebook */\n SocialContactType[\"Facebook\"] = \"Facebook\";\n /** Phone */\n SocialContactType[\"PhoneNumber\"] = \"PhoneNumber\";\n /** VKontakte */\n SocialContactType[\"VKontakte\"] = \"VKontakte\";\n /** WeChat */\n SocialContactType[\"WeChat\"] = \"WeChat\";\n /** WhatsUp */\n SocialContactType[\"WhatsUpNumber\"] = \"WhatsUpNumber\";\n return SocialContactType;\n}({});\n/** Types of social media */\nlet SocialMediaType = exports.SocialMediaType = /*#__PURE__*/function (SocialMediaType) {\n /** Facebook */\n SocialMediaType[\"Facebook\"] = \"Facebook\";\n /** Instagram */\n SocialMediaType[\"Instagram\"] = \"Instagram\";\n /** Line */\n SocialMediaType[\"Line\"] = \"Line\";\n /** Odnoklassniki */\n SocialMediaType[\"Odnoklassniki\"] = \"Odnoklassniki\";\n /** Pinterest */\n SocialMediaType[\"Pinterest\"] = \"Pinterest\";\n SocialMediaType[\"Qq\"] = \"Qq\";\n /** Telegram */\n SocialMediaType[\"Telegram\"] = \"Telegram\";\n /** Twitter */\n SocialMediaType[\"Twitter\"] = \"Twitter\";\n /** VKontakte */\n SocialMediaType[\"VKontakte\"] = \"VKontakte\";\n /** WeChat */\n SocialMediaType[\"WeChat\"] = \"WeChat\";\n /** Weibo */\n SocialMediaType[\"Weibo\"] = \"Weibo\";\n /** YouTube */\n SocialMediaType[\"YouTube\"] = \"YouTube\";\n /** Youku */\n SocialMediaType[\"Youku\"] = \"Youku\";\n return SocialMediaType;\n}({});\n/** Sponsor type */\nlet SponsorType = exports.SponsorType = /*#__PURE__*/function (SponsorType) {\n SponsorType[\"DirectSponsor\"] = \"DirectSponsor\";\n return SponsorType;\n}({});\n/** Colors enum referring to FE storybook */\nlet StorybookColor = exports.StorybookColor = /*#__PURE__*/function (StorybookColor) {\n /** Shades/palette.blue[100] */\n StorybookColor[\"Blue100\"] = \"Blue100\";\n /** Shades/palette.brown[50] */\n StorybookColor[\"Brown50\"] = \"Brown50\";\n /** Shades/palette.brown[100] */\n StorybookColor[\"Brown100\"] = \"Brown100\";\n /** Shades/palette.brown[300] */\n StorybookColor[\"Brown300\"] = \"Brown300\";\n /** Shades/palette.brown[400] */\n StorybookColor[\"Brown400\"] = \"Brown400\";\n /** Extra colors/palette.common.black */\n StorybookColor[\"CommonBlack\"] = \"CommonBlack\";\n /** Extra colors/palette.common.white */\n StorybookColor[\"CommonWhite\"] = \"CommonWhite\";\n /** Palette - Main colors/palette.default.contrastText */\n StorybookColor[\"DefaultContrastText\"] = \"DefaultContrastText\";\n /** Palette - Main colors/palette.default.main */\n StorybookColor[\"DefaultMain\"] = \"DefaultMain\";\n /** Shades/palette.green[50] */\n StorybookColor[\"Green50\"] = \"Green50\";\n /** Shades/palette.green[200] */\n StorybookColor[\"Green200\"] = \"Green200\";\n /** Shades/palette.green[400] */\n StorybookColor[\"Green400\"] = \"Green400\";\n /** Shades/palette.grey[50] */\n StorybookColor[\"Grey50\"] = \"Grey50\";\n /** Shades/palette.grey[100] */\n StorybookColor[\"Grey100\"] = \"Grey100\";\n /** Shades/palette.grey[700] */\n StorybookColor[\"Grey700\"] = \"Grey700\";\n /** Shades/palette.grey[900] */\n StorybookColor[\"Grey900\"] = \"Grey900\";\n /** InfoDark */\n StorybookColor[\"InfoDark\"] = \"InfoDark\";\n /** Shades/palette.pink[50] */\n StorybookColor[\"Pink50\"] = \"Pink50\";\n /** Shades/palette.pink[300] */\n StorybookColor[\"Pink300\"] = \"Pink300\";\n /** Palette - Main colors/palette.default.primarycontrastText */\n StorybookColor[\"PrimaryContrastText\"] = \"PrimaryContrastText\";\n /** PrimaryLight */\n StorybookColor[\"PrimaryLight\"] = \"PrimaryLight\";\n /** Palette - Main colors/palette.default.primarymain */\n StorybookColor[\"PrimaryMain\"] = \"PrimaryMain\";\n /** Shades/palette.purple[50] */\n StorybookColor[\"Purple50\"] = \"Purple50\";\n /** Shades/palette.purple[200] */\n StorybookColor[\"Purple200\"] = \"Purple200\";\n /** Shades/palette.purple[400] */\n StorybookColor[\"Purple400\"] = \"Purple400\";\n /** Shades/palette.red[50] */\n StorybookColor[\"Red50\"] = \"Red50\";\n /** Palette - Main colors/palette.default.secondaryContrastText */\n StorybookColor[\"SecondaryContrastText\"] = \"SecondaryContrastText\";\n /** Palette - Main colors/palette.secondary.main */\n StorybookColor[\"SecondaryMain\"] = \"SecondaryMain\";\n /** Typography/palette.text.primary */\n StorybookColor[\"TextPrimary\"] = \"TextPrimary\";\n /** Typography/palette.text.secondary */\n StorybookColor[\"TextSecondary\"] = \"TextSecondary\";\n /** Undefined value, its an error when this occurs */\n StorybookColor[\"Undefined\"] = \"Undefined\";\n /** Shades/palette.yellow[50] */\n StorybookColor[\"Yellow50\"] = \"Yellow50\";\n /** Shades/palette.yellow[400] */\n StorybookColor[\"Yellow400\"] = \"Yellow400\";\n return StorybookColor;\n}({});\n/** Subscription query root */\n/** Subscription query root */\n/** Subscription query root */\n/** Enum telephone type */\nlet TelephoneType = exports.TelephoneType = /*#__PURE__*/function (TelephoneType) {\n TelephoneType[\"Business\"] = \"Business\";\n TelephoneType[\"Fax\"] = \"Fax\";\n TelephoneType[\"Home\"] = \"Home\";\n TelephoneType[\"Mobile\"] = \"Mobile\";\n return TelephoneType;\n}({});\nlet TrackingStatus = exports.TrackingStatus = /*#__PURE__*/function (TrackingStatus) {\n TrackingStatus[\"Cancel\"] = \"Cancel\";\n TrackingStatus[\"CourierHandover\"] = \"CourierHandover\";\n TrackingStatus[\"CourierTakeover\"] = \"CourierTakeover\";\n TrackingStatus[\"Create\"] = \"Create\";\n TrackingStatus[\"Deliver\"] = \"Deliver\";\n TrackingStatus[\"EstimatedDelivery\"] = \"EstimatedDelivery\";\n TrackingStatus[\"HandoverFailed\"] = \"HandoverFailed\";\n TrackingStatus[\"OutForDelivery\"] = \"OutForDelivery\";\n TrackingStatus[\"Pick\"] = \"Pick\";\n TrackingStatus[\"PickedUpBy\"] = \"PickedUpBy\";\n TrackingStatus[\"Print\"] = \"Print\";\n TrackingStatus[\"ReadyForPickup\"] = \"ReadyForPickup\";\n TrackingStatus[\"ReturnedToSender\"] = \"ReturnedToSender\";\n TrackingStatus[\"Ship\"] = \"Ship\";\n TrackingStatus[\"TakenByCourier\"] = \"TakenByCourier\";\n TrackingStatus[\"ToBeReturnedToSender\"] = \"ToBeReturnedToSender\";\n TrackingStatus[\"Unknown\"] = \"Unknown\";\n return TrackingStatus;\n}({});\n/** Content vertical alignment */\nlet VerticalContentAlignment = exports.VerticalContentAlignment = /*#__PURE__*/function (VerticalContentAlignment) {\n VerticalContentAlignment[\"Bottom\"] = \"Bottom\";\n VerticalContentAlignment[\"Middle\"] = \"Middle\";\n VerticalContentAlignment[\"Top\"] = \"Top\";\n VerticalContentAlignment[\"Undefined\"] = \"Undefined\";\n return VerticalContentAlignment;\n}({});\nlet VideoType = exports.VideoType = /*#__PURE__*/function (VideoType) {\n /** Video in MP4 file format */\n VideoType[\"Mp4\"] = \"Mp4\";\n /** Video hosted on Youku */\n VideoType[\"Youku\"] = \"Youku\";\n /** Video hosted on YouTube */\n VideoType[\"Youtube\"] = \"Youtube\";\n return VideoType;\n}({});\n/** Possible types of visitor segment */\nlet VisitorSegment = exports.VisitorSegment = /*#__PURE__*/function (VisitorSegment) {\n /** Anonymous */\n VisitorSegment[\"Anonymous\"] = \"Anonymous\";\n /** Consultant */\n VisitorSegment[\"Consultant\"] = \"Consultant\";\n /** Director and above */\n VisitorSegment[\"DirectorAndAbove\"] = \"DirectorAndAbove\";\n /** End customer */\n VisitorSegment[\"EndCustomer\"] = \"EndCustomer\";\n /** Manager */\n VisitorSegment[\"Manager\"] = \"Manager\";\n /** Member */\n VisitorSegment[\"Member\"] = \"Member\";\n /** New consultant */\n VisitorSegment[\"NewConsultant\"] = \"NewConsultant\";\n /** Not defined */\n VisitorSegment[\"NotDefined\"] = \"NotDefined\";\n /** Spo */\n VisitorSegment[\"Spo\"] = \"Spo\";\n return VisitorSegment;\n}({});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _graphql = require(\"./graphql\");\nObject.keys(_graphql).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _graphql[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _graphql[key];\n }\n });\n});\nvar _operations = require(\"./operations\");\nObject.keys(_operations).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _operations[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _operations[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _AppConfig = require(\"./AppConfig\");\nObject.keys(_AppConfig).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _AppConfig[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _AppConfig[key];\n }\n });\n});\nvar _BurgerMenuTabNames = require(\"./BurgerMenuTabNames\");\nObject.keys(_BurgerMenuTabNames).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _BurgerMenuTabNames[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _BurgerMenuTabNames[key];\n }\n });\n});\nvar _Catalogue = require(\"./Catalogue\");\nObject.keys(_Catalogue).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Catalogue[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Catalogue[key];\n }\n });\n});\nvar _Categories = require(\"./Categories\");\nObject.keys(_Categories).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Categories[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Categories[key];\n }\n });\n});\nvar _FavoritesLink = require(\"./FavoritesLink\");\nObject.keys(_FavoritesLink).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _FavoritesLink[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _FavoritesLink[key];\n }\n });\n});\nvar _OurStoryLinks = require(\"./OurStoryLinks\");\nObject.keys(_OurStoryLinks).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _OurStoryLinks[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _OurStoryLinks[key];\n }\n });\n});\nvar _Product = require(\"./Product\");\nObject.keys(_Product).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Product[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Product[key];\n }\n });\n});\nvar _ReferralType = require(\"./ReferralType\");\nObject.keys(_ReferralType).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ReferralType[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ReferralType[key];\n }\n });\n});\nvar _SpecialLinks = require(\"./SpecialLinks\");\nObject.keys(_SpecialLinks).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SpecialLinks[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SpecialLinks[key];\n }\n });\n});\nvar _SuggestionsAndResults = require(\"./SuggestionsAndResults\");\nObject.keys(_SuggestionsAndResults).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _SuggestionsAndResults[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _SuggestionsAndResults[key];\n }\n });\n});\nvar _TranslationKey = require(\"./TranslationKey\");\nObject.keys(_TranslationKey).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _TranslationKey[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _TranslationKey[key];\n }\n });\n});\nvar _VipOrdersTypes = require(\"./VipOrdersTypes\");\nObject.keys(_VipOrdersTypes).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _VipOrdersTypes[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _VipOrdersTypes[key];\n }\n });\n});\nvar _AlwaysActiveLinks = require(\"./AlwaysActiveLinks\");\nObject.keys(_AlwaysActiveLinks).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _AlwaysActiveLinks[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _AlwaysActiveLinks[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.beautyStoreQuery = void 0;\nvar _fetching = require(\"@ori/fetching\");\nconst beautyStoreQuery = exports.beautyStoreQuery = (0, _fetching.gql)`\n query beautyStore($name: ID) {\n beautyStore(name: $name) {\n profile {\n contacts {\n type\n value\n }\n referralProgram {\n title\n greetingMessage\n message\n benefitsLink {\n relativeUrl\n title\n }\n allowedContacts\n }\n }\n }\n }\n`;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.conceptFragment = void 0;\nvar _fetching = require(\"@ori/fetching\");\nvar _shade = require(\"./shade\");\nconst conceptFragment = exports.conceptFragment = (0, _fetching.gql)`\n ${_shade.searchPreviewShade}\n fragment BaseConcept on Concept {\n name\n brand {\n name\n }\n categories {\n name\n }\n products {\n ...SearchPreviewShade\n }\n labels {\n ...ProductLabels\n }\n }\n`;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _searchPreviewProduct = require(\"./searchPreviewProduct\");\nObject.keys(_searchPreviewProduct).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _searchPreviewProduct[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _searchPreviewProduct[key];\n }\n });\n});\nvar _concept = require(\"./concept\");\nObject.keys(_concept).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _concept[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _concept[key];\n }\n });\n});\nvar _labels = require(\"./labels\");\nObject.keys(_labels).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _labels[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _labels[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.labels = void 0;\nvar _fetching = require(\"@ori/fetching\");\nconst labels = exports.labels = (0, _fetching.gql)`\n fragment ProductLabels on ProductLabel {\n labelKey\n productLabelDomain\n title\n }\n`;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.searchPreviewProduct = void 0;\nvar _fetching = require(\"@ori/fetching\");\nvar _concept = require(\"./concept\");\nconst searchPreviewProduct = exports.searchPreviewProduct = (0, _fetching.gql)`\n ${_concept.conceptFragment}\n fragment SearchPreviewProduct on Product {\n productCode\n imageUrl\n conceptCode\n labels {\n ...ProductLabels\n }\n pdpUrl {\n relativeUrl\n }\n price {\n price {\n priceAfterImmediateDiscount\n currentPrice\n }\n }\n formattedPrice {\n price {\n basicCataloguePrice\n currentPrice\n priceAfterImmediateDiscount\n }\n }\n concept {\n ...BaseConcept\n }\n }\n`;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.searchPreviewShade = void 0;\nvar _fetching = require(\"@ori/fetching\");\nvar _labels = require(\"./labels\");\nconst searchPreviewShade = exports.searchPreviewShade = (0, _fetching.gql)`\n ${_labels.labels}\n fragment SearchPreviewShade on Product {\n shadeName\n hexColors\n colorImageUrl\n productCode\n formattedPrice {\n price {\n basicCataloguePrice\n currentPrice\n priceAfterImmediateDiscount\n }\n }\n labels {\n ...ProductLabels\n }\n }\n`;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _beautyStoreQuery = require(\"./beautyStoreQuery\");\nObject.keys(_beautyStoreQuery).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _beautyStoreQuery[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _beautyStoreQuery[key];\n }\n });\n});\nvar _searchPreview = require(\"./searchPreview\");\nObject.keys(_searchPreview).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _searchPreview[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _searchPreview[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.searchPreviewQuery = void 0;\nvar _fetching = require(\"@ori/fetching\");\nvar _fragments = require(\"./fragments\");\n/* istanbul ignore file -- query */\n\nconst searchPreviewQuery = exports.searchPreviewQuery = (0, _fetching.gql)`\n query SearchPreview($query: String!, $limit: Int = 12) {\n application {\n productSearchPreview {\n searchResults(query: $query, top: $limit) {\n totalProductsCount\n suggestions\n products {\n ...SearchPreviewProduct\n }\n }\n }\n }\n }\n ${_fragments.searchPreviewProduct}\n`;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.addParamsToUrl = void 0;\nconst addParamsToUrl = ({\n url: path,\n params = {}\n}) => {\n const [baseUrl, queryString = ''] = path.split('?');\n const urlParams = new URLSearchParams(queryString);\n Object.entries(params).forEach(([key, value]) => {\n urlParams.set(key, encodeURIComponent(value));\n });\n return `${baseUrl}?${urlParams.toString()}`;\n};\nexports.addParamsToUrl = addParamsToUrl;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.analytics = void 0;\nvar _constantsGenerated = require(\"../constants-generated\");\nvar _getSearchTime = require(\"./getSearchTime\");\nconst analytics = exports.analytics = {\n formatProduct: ({\n name,\n brand,\n code,\n image,\n price,\n category,\n currencyCode\n }) => ({\n currency: currencyCode,\n globalBrandName: '',\n globalCategoryName: '',\n globalName: '',\n itemCode: code,\n localBrandName: brand ?? '',\n localCategoryName: category ?? '',\n localName: name,\n media: image ? [image] : [],\n price: price?.price\n }),\n getSignalsData: ({\n customerId,\n position,\n results,\n timestamp,\n query,\n sessionId,\n type = 'click',\n code\n }) => ({\n params: {\n count: 1,\n docId: code ?? results.products[position]?.code,\n filterQueries: ['products'],\n position: position + 1,\n query,\n searchTime: (0, _getSearchTime.getSearchTime)(timestamp),\n source: _constantsGenerated.PACKAGE_NAME,\n totalHits: results.numberOfProducts,\n userId: customerId.toString(),\n sessionId\n },\n timeStamp: new Date(),\n type\n })\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.boldMatchedText = void 0;\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst boldMatchedText = ({\n text,\n searchPhrase\n}) => {\n if (!text) {\n return null;\n }\n if (!searchPhrase) {\n return text;\n }\n const escapedSearchPhrase = searchPhrase.replaceAll(/[$()*+.?[\\\\\\]^{|}]/g, '\\\\$&').trim();\n const regExpPattern = new RegExp(escapedSearchPhrase, 'igu');\n const splitText = text.split(regExpPattern);\n const matches = text.match(regExpPattern);\n if (!matches) {\n return text;\n }\n return splitText.map((el, index) => {\n if (index > matches.length) {\n return el;\n }\n return (/*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key -- there is nothing unique here and this array is not mutable\n (0, _jsxRuntime.jsxs)(\"span\", {\n children: [el, /*#__PURE__*/(0, _jsxRuntime.jsx)(\"strong\", {\n children: matches[index]\n })]\n }, `${el}-${text}-${index}`)\n );\n });\n};\nexports.boldMatchedText = boldMatchedText;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.composeProviders = void 0;\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst composeProviders = (...providers) => function Providers({\n children\n}) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {\n children: providers.reduceRight((accumulated, Provider) => /*#__PURE__*/(0, _jsxRuntime.jsx)(Provider, {\n children: accumulated\n }), children)\n });\n};\nexports.composeProviders = composeProviders;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.dispatchToggleMenu = void 0;\nvar _toggleMenuFlyout = require(\"@ori-events/toggle-menu-flyout\");\nconst event = menuType => new CustomEvent(_toggleMenuFlyout.Name, {\n detail: {\n menuType\n }\n});\nconst dispatchToggleMenu = (menuToggle, activeMenu) => {\n if (activeMenu && menuToggle !== activeMenu) {\n window.dispatchEvent(event(activeMenu));\n }\n requestAnimationFrame(() => {\n window.dispatchEvent(event(menuToggle));\n });\n};\nexports.dispatchToggleMenu = dispatchToggleMenu;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.formatValidity = void 0;\nconst formatValidity = (catalogueId, catalogues, formatValidityDate) => {\n const catalogue = catalogues.find(e => e.catalogueId.toString() === catalogueId);\n if (!catalogue?.valid || !(catalogue.valid.from instanceof Date) || !(catalogue.valid.to instanceof Date)) {\n return null;\n }\n const from = formatValidityDate(catalogue.valid.from);\n const to = formatValidityDate(catalogue.valid.to);\n return `${from} - ${to}`;\n};\nexports.formatValidity = formatValidity;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getIconByLinkType = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst getIconByLinkType = linkType => {\n switch (linkType) {\n case 'Catalogue':\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Catalogue, {});\n case 'FocusPage':\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.DiscountTag, {});\n case 'Inspiration':\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Products, {});\n case 'BeautyTips':\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.WhatsNew, {});\n default:\n return null;\n }\n};\nexports.getIconByLinkType = getIconByLinkType;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getSearchInputTopAttribute = exports.getMobileCssHeightVariable = void 0;\nvar _constants = require(\"../constants\");\nconst getMobileCssHeightVariable = ({\n isTopBannerVisible,\n showSearchOnScroll\n}) => {\n if (isTopBannerVisible && showSearchOnScroll) {\n return _constants.CSS_MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_HEIGHT;\n }\n if (isTopBannerVisible) {\n return _constants.CSS_MOBILE_WITH_TOP_AREA_BANNER_HEIGHT;\n }\n if (showSearchOnScroll) {\n return _constants.CSS_MOBILE_WITH_SEARCH_INPUT_HEIGHT;\n }\n return _constants.CSS_MOBILE_HEIGHT;\n};\nexports.getMobileCssHeightVariable = getMobileCssHeightVariable;\nconst getSearchInputTopAttribute = ({\n isTopBannerVisible,\n showSearchOnScroll\n}) => {\n if (isTopBannerVisible && showSearchOnScroll) {\n return `calc(${_constants.CSS_MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_HEIGHT} - ${_constants.SEARCH_INPUT_HEIGHT}px)`;\n }\n if (showSearchOnScroll) {\n return `calc(${_constants.CSS_MOBILE_WITH_SEARCH_INPUT_HEIGHT} - ${_constants.SEARCH_INPUT_HEIGHT}px)`;\n }\n if (isTopBannerVisible) {\n return _constants.CSS_MOBILE_WITH_TOP_AREA_BANNER_HEIGHT;\n }\n return _constants.CSS_MOBILE_HEIGHT;\n};\nexports.getSearchInputTopAttribute = getSearchInputTopAttribute;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getProductUrl = exports.PRODUCTS_URL = void 0;\nconst PRODUCTS_URL = exports.PRODUCTS_URL = '/products/product?code=';\nconst getProductUrl = code => `${PRODUCTS_URL}${code}`;\nexports.getProductUrl = getProductUrl;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getQuickBuyButtonOnClickHandler = void 0;\nvar _openProductInfoDialog = require(\"@ori-events/open-product-info-dialog\");\nvar _openProductInfoDialog2 = require(\"./openProductInfoDialog\");\nvar _openShadePicker = require(\"./openShadePicker\");\nconst getQuickBuyButtonOnClickHandler = (product, position) => {\n if (product.hasAutosubscribe) {\n return (0, _openProductInfoDialog2.openProductInfoDialog)(_openProductInfoDialog.DialogMode.StandardBuy, product.code, position);\n } else if (product.isMultishade) {\n return (0, _openShadePicker.openShadePicker)(product);\n }\n return undefined;\n};\nexports.getQuickBuyButtonOnClickHandler = getQuickBuyButtonOnClickHandler;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getSearchTime = void 0;\nconst MAX_VALUE = 2147483647;\nconst getSearchTime = timestamp => {\n const searchTime = Date.now() - timestamp;\n return searchTime > 0 && searchTime <= MAX_VALUE ? searchTime : 0;\n};\nexports.getSearchTime = getSearchTime;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getSearchUrl = void 0;\nconst getSearchUrl = name => `/search?query=${encodeURIComponent(name)}`;\nexports.getSearchUrl = getSearchUrl;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.goToPage = void 0;\n/* istanbul ignore file */\nconst goToPage = page => window.location.href = page;\nexports.goToPage = goToPage;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _analytics = require(\"./analytics\");\nObject.keys(_analytics).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _analytics[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _analytics[key];\n }\n });\n});\nvar _boldMatchedText = require(\"./boldMatchedText\");\nObject.keys(_boldMatchedText).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _boldMatchedText[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _boldMatchedText[key];\n }\n });\n});\nvar _composeProviders = require(\"./composeProviders\");\nObject.keys(_composeProviders).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _composeProviders[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _composeProviders[key];\n }\n });\n});\nvar _dispatchToggleMenu = require(\"./dispatchToggleMenu\");\nObject.keys(_dispatchToggleMenu).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _dispatchToggleMenu[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _dispatchToggleMenu[key];\n }\n });\n});\nvar _getSearchTime = require(\"./getSearchTime\");\nObject.keys(_getSearchTime).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _getSearchTime[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _getSearchTime[key];\n }\n });\n});\nvar _mapCategoryColors = require(\"./mapCategoryColors\");\nObject.keys(_mapCategoryColors).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _mapCategoryColors[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _mapCategoryColors[key];\n }\n });\n});\nvar _onEnterKey = require(\"./onEnterKey\");\nObject.keys(_onEnterKey).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _onEnterKey[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _onEnterKey[key];\n }\n });\n});\nvar _stripSlashes = require(\"./stripSlashes\");\nObject.keys(_stripSlashes).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _stripSlashes[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _stripSlashes[key];\n }\n });\n});\nvar _vipOrderUrls = require(\"./vipOrderUrls\");\nObject.keys(_vipOrderUrls).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _vipOrderUrls[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _vipOrderUrls[key];\n }\n });\n});\nvar _mapSearchPreviewQuery = require(\"./mapSearchPreviewQuery\");\nObject.keys(_mapSearchPreviewQuery).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _mapSearchPreviewQuery[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _mapSearchPreviewQuery[key];\n }\n });\n});\nvar _getProductUrl = require(\"./getProductUrl\");\nObject.keys(_getProductUrl).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _getProductUrl[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _getProductUrl[key];\n }\n });\n});\nvar _goToPage = require(\"./goToPage\");\nObject.keys(_goToPage).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _goToPage[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _goToPage[key];\n }\n });\n});\nvar _openShadePicker = require(\"./openShadePicker\");\nObject.keys(_openShadePicker).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _openShadePicker[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _openShadePicker[key];\n }\n });\n});\nvar _getQuickBuyButtonOnClickHandler = require(\"./getQuickBuyButtonOnClickHandler\");\nObject.keys(_getQuickBuyButtonOnClickHandler).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _getQuickBuyButtonOnClickHandler[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _getQuickBuyButtonOnClickHandler[key];\n }\n });\n});\nvar _mapEnableQuickBuyButton = require(\"./mapEnableQuickBuyButton\");\nObject.keys(_mapEnableQuickBuyButton).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _mapEnableQuickBuyButton[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _mapEnableQuickBuyButton[key];\n }\n });\n});\nvar _getIconByLinkType = require(\"./getIconByLinkType\");\nObject.keys(_getIconByLinkType).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _getIconByLinkType[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _getIconByLinkType[key];\n }\n });\n});\nvar _sendUserAction = require(\"./sendUserAction\");\nObject.keys(_sendUserAction).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _sendUserAction[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _sendUserAction[key];\n }\n });\n});\nvar _addParamsToUrl = require(\"./addParamsToUrl\");\nObject.keys(_addParamsToUrl).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _addParamsToUrl[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _addParamsToUrl[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.mapCategoryColors = void 0;\nvar _models = require(\"../models\");\nconst mapCategoryColors = ({\n palette\n}) => ({\n [_models.Categories.ACCESSORIES]: palette.red[200],\n [_models.Categories.BATH_BODY]: palette.blue[300],\n [_models.Categories.ESSENTIAL_OILS]: palette.purple[50],\n [_models.Categories.FRAGRANCE]: palette.brown[100],\n [_models.Categories.HAIR]: palette.yellow[100],\n [_models.Categories.KIDS_BABY]: palette.blue[100],\n [_models.Categories.MAKEUP]: palette.pink[100],\n [_models.Categories.MEN]: palette.green[400],\n [_models.Categories.NUTRITION]: palette.purple[300],\n [_models.Categories.SKINCARE]: palette.green[100],\n [_models.Categories.WELLNESS]: palette.purple[300]\n});\nexports.mapCategoryColors = mapCategoryColors;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.mapEnableQuickBuyButton = void 0;\nvar _productBox = require(\"@ori/product-box\");\nconst mapEnableQuickBuyButton = (labels, shades) => (0, _productBox.mapCanBeSold)(labels) || shades.length > 1 && shades.some(shade => shade.canBeSold) || (0, _productBox.mapHasAutoSubscription)(labels);\nexports.mapEnableQuickBuyButton = mapEnableQuickBuyButton;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.mapSearchPreviewProductToShadePicker = void 0;\nconst mapSearchPreviewProductToShadePicker = product => product.shades?.map(shade => ({\n code: shade.productCode,\n name: shade.name ?? '',\n price: {\n currentFormatted: shade.price.currentFormatted,\n oldFormatted: shade.price.oldFormatted\n },\n shade\n})) ?? [];\nexports.mapSearchPreviewProductToShadePicker = mapSearchPreviewProductToShadePicker;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.mapSearchPreviewShades = exports.mapSearchPreviewQuery = exports.getPrice = void 0;\nvar _presentationComponents = require(\"@ori/presentation-components\");\nvar _productBox = require(\"@ori/product-box\");\nvar _tsUtils = require(\"@ori/ts-utils\");\nvar _mapEnableQuickBuyButton = require(\"./mapEnableQuickBuyButton\");\n/* eslint-disable @typescript-eslint/prefer-nullish-coalescing -- it can come as empty string */\n\nconst mapShadeWithPrice = shade => {\n const {\n productCode,\n hexColors,\n imageUrl\n } = (0, _productBox.mapShade)({\n ...shade,\n productCode: shade.productCode\n });\n return {\n name: shade.shadeName,\n productCode,\n hexColors,\n imageUrl,\n canBeSold: (0, _productBox.mapCanBeSold)(shade.labels),\n price: {\n currentFormatted: (0, _productBox.getCurrentFormattedPrice)({\n formattedPrice: shade.formattedPrice\n }),\n oldFormatted: (0, _productBox.getOldPrice)({\n formattedPrice: shade.formattedPrice\n })\n }\n };\n};\nconst mapSearchPreviewShades = shades => shades?.filter(_tsUtils.isNonNullable).map(mapShadeWithPrice) || [];\nexports.mapSearchPreviewShades = mapSearchPreviewShades;\nconst getPrice = ({\n priceAfterImmediateDiscount,\n currentPrice\n}) => Number.parseFloat((priceAfterImmediateDiscount ?? currentPrice ?? 0).toString());\nexports.getPrice = getPrice;\nconst mapSearchPreviewQuery = query => {\n const {\n totalProductsCount,\n products,\n suggestions\n } = query.application?.productSearchPreview?.searchResults ?? {};\n return {\n numberOfProducts: totalProductsCount ?? 0,\n products: products?.filter(_tsUtils.isNonNullable).map(product => {\n const shades = mapSearchPreviewShades(product.concept?.products);\n const labels = (0, _productBox.mapLabels)(product.concept?.labels, {\n deal: [_presentationComponents.OFFER]\n });\n return {\n isMultishade: shades.length > 1,\n canBeSold: (0, _mapEnableQuickBuyButton.mapEnableQuickBuyButton)(product.labels, shades),\n url: product.pdpUrl?.relativeUrl,\n code: product.productCode,\n name: product.concept?.name ?? '',\n brand: product.concept?.brand?.name,\n image: product.imageUrl,\n deal: labels?.deal,\n ppa: labels?.ppa,\n category: product.concept?.categories?.[0]?.name,\n hasAutosubscribe: (0, _productBox.mapHasAutoSubscription)(product.labels),\n price: {\n currentFormatted: (0, _productBox.getCurrentFormattedPrice)({\n formattedPrice: product.formattedPrice\n }),\n oldFormatted: (0, _productBox.getOldPrice)({\n formattedPrice: product.formattedPrice\n }),\n price: getPrice({\n priceAfterImmediateDiscount: product.price?.price?.priceAfterImmediateDiscount,\n currentPrice: product.price?.price?.currentPrice\n })\n },\n shades\n };\n }) ?? [],\n suggestions: suggestions?.filter(_tsUtils.isNonNullable).map(text => ({\n text\n })) ?? []\n };\n};\nexports.mapSearchPreviewQuery = mapSearchPreviewQuery;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.mapTopAreaBanners = void 0;\nvar _tsUtils = require(\"@ori/ts-utils\");\nvar _constants = require(\"../constants\");\nvar _sanitizeKey = require(\"./sanitizeKey\");\nconst mapTopAreaBanners = ({\n data\n}) => {\n if (!data?.application?.permanentTopBanners) {\n return undefined;\n }\n const {\n permanentTopBanners\n } = data.application;\n return permanentTopBanners.filter(_tsUtils.isNonNullable).filter(banner => banner.message ?? banner.link?.relativeUrl).map(banner => ({\n title: banner.message ?? '',\n shouldOpenInvitationOffer: banner.link?.relativeUrl === _constants.INVITATION_OFFER_HASH,\n url: (0, _sanitizeKey.sanitizeKey)(banner.link?.relativeUrl ?? '')\n }));\n};\nexports.mapTopAreaBanners = mapTopAreaBanners;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.onEnterKey = void 0;\nconst onEnterKey = handler => event => {\n if (event.key === 'Enter') {\n handler();\n }\n};\nexports.onEnterKey = onEnterKey;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.openProductInfoDialog = void 0;\nvar OpenProductInfoDialog = _interopRequireWildcard(require(\"@ori-events/open-product-info-dialog\"));\nvar _analyticsData = require(\"@ori/analytics-data\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst openProductInfoDialog = (mode, productCode, position = 0) => () => window.dispatchEvent(new CustomEvent(OpenProductInfoDialog.Name, {\n detail: {\n mode,\n placement: _analyticsData.Placement.TopNavigationSearchSuggestions,\n productCodes: [productCode],\n position\n }\n}));\nexports.openProductInfoDialog = openProductInfoDialog;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.openShadePicker = void 0;\nvar OpenShadePicker = _interopRequireWildcard(require(\"@ori-events/open-shade-picker\"));\nvar _analyticsData = require(\"@ori/analytics-data\");\nvar _mapSearchPreviewProductToShadePicker = require(\"./mapSearchPreviewProductToShadePicker\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst openShadePicker = product => () => {\n window.dispatchEvent(new CustomEvent(OpenShadePicker.Name, {\n detail: {\n productName: product.name,\n products: (0, _mapSearchPreviewProductToShadePicker.mapSearchPreviewProductToShadePicker)(product),\n placement: _analyticsData.Placement.TopNavigationSearchSuggestions,\n productCode: product.code\n }\n }));\n};\nexports.openShadePicker = openShadePicker;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.sanitizeKey = void 0;\nconst sanitizeKey = key => key.startsWith('#') ? key.slice(1) : key;\nexports.sanitizeKey = sanitizeKey;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.logUserClick = void 0;\nvar UserAction = _interopRequireWildcard(require(\"@ori-events/user-action\"));\nvar _constants = require(\"../constants\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst logUserClick = url => {\n UserAction.dispatch([..._constants.CLICK_SUBCATEGORY_LINK, url ?? '']);\n};\nexports.logUserClick = logUserClick;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.stripSlashes = void 0;\nconst stripSlashes = text => text ? text.replaceAll('/', '') : '';\nexports.stripSlashes = stripSlashes;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.vipOrderUrls = void 0;\n/* istanbul ignore file -- just a list of URLs */\nconst vipOrderUrls = exports.vipOrderUrls = {\n access: '/system/ajax/stickybar/VipAccessJson',\n accessConsultant: consultantNumber => `/system/ajax/VipShopping/AccessConsultant?consultantNumber=${consultantNumber}`,\n accessSwitch: consultantNumber => `/system/ajax/StickyBar/VipAccessSwitch?ConsultantNumber=${consultantNumber}`,\n accessSwitchValidate: consultantNumber => `/system/ajax/StickyBar/VipAccessSwitchValidate?ajaxId=69&related%5BConsultantNumber%5D=${consultantNumber}&activeInput=ConsultantNumber&ConsultantNumber=${consultantNumber}`,\n basket: '/shopping/basket',\n consultantNumbers: hint => `/system/ajax/VipShopping/GetConsultantNumbers?hint=${hint}`\n};","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.top-nav {\n --top-nav-height-animation: 0.3s ease-in-out;\n --top-nav-height: 64px;\n --top-nav-inner-height: 64px;\n}\n\n.top-nav--is-mobile {\n --top-nav-height: 60px;\n --top-nav-inner-height: 60px;\n}\n\n.top-nav--with-top-area-banner {\n --top-nav-height: 98px;\n --top-nav-inner-height: 64px;\n}\n\n.top-nav--search-input-visible.top-nav--is-mobile {\n --top-nav-height: 119px;\n --top-nav-inner-height: 60px;\n}\n\n.top-nav--with-top-area-banner.top-nav--search-input-visible.top-nav--is-mobile {\n --top-nav-height: 153px;\n --top-nav-inner-height: 60px;\n}\n\n.top-nav--with-top-area-banner.top-nav--is-mobile {\n --top-nav-height: 94px;\n --top-nav-inner-height: 60px;\n}\n\n.top-nav--no-scroll {\n overflow: hidden;\n}\n\n#online-top-area-root {\n height: auto;\n height: initial;\n}\n\n#top-area {\n height: var(--top-nav-height);\n transition: height var(--top-nav-height-animation);\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./../../packages/top-area/dist/cjs/App.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,4CAA4C;EAC5C,sBAAsB;EACtB,4BAA4B;AAC9B;;AAEA;EACE,sBAAsB;EACtB,4BAA4B;AAC9B;;AAEA;EACE,sBAAsB;EACtB,4BAA4B;AAC9B;;AAEA;EACE,uBAAuB;EACvB,4BAA4B;AAC9B;;AAEA;EACE,uBAAuB;EACvB,4BAA4B;AAC9B;;AAEA;EACE,sBAAsB;EACtB,4BAA4B;AAC9B;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,YAAa;EAAb,eAAa;AACf;;AAEA;EACE,6BAA6B;EAC7B,kDAAkD;AACpD\",\"sourcesContent\":[\".top-nav {\\n --top-nav-height-animation: 0.3s ease-in-out;\\n --top-nav-height: 64px;\\n --top-nav-inner-height: 64px;\\n}\\n\\n.top-nav--is-mobile {\\n --top-nav-height: 60px;\\n --top-nav-inner-height: 60px;\\n}\\n\\n.top-nav--with-top-area-banner {\\n --top-nav-height: 98px;\\n --top-nav-inner-height: 64px;\\n}\\n\\n.top-nav--search-input-visible.top-nav--is-mobile {\\n --top-nav-height: 119px;\\n --top-nav-inner-height: 60px;\\n}\\n\\n.top-nav--with-top-area-banner.top-nav--search-input-visible.top-nav--is-mobile {\\n --top-nav-height: 153px;\\n --top-nav-inner-height: 60px;\\n}\\n\\n.top-nav--with-top-area-banner.top-nav--is-mobile {\\n --top-nav-height: 94px;\\n --top-nav-inner-height: 60px;\\n}\\n\\n.top-nav--no-scroll {\\n overflow: hidden;\\n}\\n\\n#online-top-area-root {\\n height: unset;\\n}\\n\\n#top-area {\\n height: var(--top-nav-height);\\n transition: height var(--top-nav-height-animation);\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","Root","styled","props","display","height","BurgerPersonalMenuOutlet","children","Box","justifyContent","CircularProgress","getEnvironmentClientAppFileUrlPostfix","environment","PERSONAL_MENU_BLOB_NAME","getClientAppScriptElement","clientAppName","document","querySelector","getPersonalMenuScriptSrc","getEnvironmentFromHost","window","location","host","topAreaScript","clientAppFileBaseUrl","URL","src","spaName","baseUrl","endsWith","createSpaEntryfileUrl","origin","localLogger","Logger","teamName","createChild","render","async","config","rootElement","dataset","customerId","identityUrl","clientAppConfig","parseClientAppConfig","currentLanguage","globalApiUrl","mobileOfficeApiUrl","staticApiUrl","tenant","graphqlUrl","graphqlNetUrl","useInternationalShareAndEarn","ApplicationInsights","initialize","getClientApplicationInsightsConfig","ErrorBoundary","logger","ServiceUrlsProvider","serviceUrls","graphQlUrl","graphQlNetUrl","EnvironmentProvider","UniversalTokenProvider","initialToken","ThemeProvider","enableCacheProvider","cacheKey","language","ClientCultureProvider","LoginProvider","TranslationsProvider","defaultTranslationsWithNamespaces","clientFetchConfiguration","onError","console","error","TopArea","configuration","mobilePersonalMenuOutlet","Geolocation","enabled","personalMenuSrc","el","createElement","setAttribute","head","append","includePersonalMenuScript","Object","defineProperty","exports","value","_auth","_configurationManager","_environment","_fetching","_i18n","_presentationHooks","_testidGenerator","_react","_constants","_constantsGenerated","_utils","_GeolocationDialog","_jsxRuntime","translations","useServiceUrls","useEnvironment","isAnonymousUser","useToken","open","onClose","onOpen","useDisclose","data","foreignCountry","homeCountry","homeCountryUrl","visible","useSWR","getGeolocationData","revalidateIfStale","revalidateOnFocus","revalidateOnReconnect","useEffect","countryCode","getCountryCode","jsx","TestIdProvider","team","Team","Presentation","project","LIBRARY_NAME","translationsNamespace","defaultTranslations","navigator","translationsWithNamespaces","undefined","TranslationsNamespaceProvider","namespace","GeolocationDialog","_Geolocation","keys","forEach","key","enumerable","get","_interopRequireDefault","_mui","_hooks","_localStorageUtils","_styles","formatMessage","useTranslations","getTestId","default","onCloseAndHideUntilDate","useCallback","setHideGeolocationUntilDate","Dialog","DIALOG","jsxs","Content","Inner","Typography","variant","component","dialogMessage","Button","HOME_COUNTRY_BUTTON","color","href","onClick","FOREIGN_COUNTRY_BUTTON","_components","theme","flexDirection","gap","spacing","textAlign","breakpoints","up","maxWidth","a","palette","common","white","zIndex","TEAM_NAME","PACKAGE_NAME","EMOTION_CACHE_KEY","GEOLOCATION_LOCAL_STORAGE_KEY","COUNTRY_CODE_COOKIE_NAME","dialogTitle","foreignCountryButton","homeCountryButton","_app","_defaultTranslations","_useTranslations","useTranslationsFromNamespace","_jsCookie","toLocaleLowerCase","_presentationUtils","_staticApiClientReact","_lodash","_getCountryCode","_getHomeCountryUrl","formatCountryName","name","split","map","join","store","PbsCookieNames","PBS_CODE","PBS_OWNER","hiddenByUser","getHiddenByUser","client","ApiClient","isForeignRegistrationAllowed","Promise","all","getTenantCountry","lang","getHomeCountryUrl","vipCustomerBenefitsPath","ssoRegisterPath","memberBenefitsPath","comparisonPagePath","businessOpportunityPath","oldRegistrationPaths","pathname","replace","RegExp","search","hash","searchParams","set","toString","_getGeolocationData","hideGeolocationUntilFromLocalStorage","localStorage","getItem","hideGeolocationUntil","Date","dateNow","setMonth","getMonth","setItem","toISOString","_openLogin","_contexts","doLogin","event","Boolean","ctrlKey","metaKey","goToPage","SSO_IDENTITY_AD_LOGIN_PATH","SSO_IDENTITY_LOGIN_PATH","onLogin","addEventListener","Name","removeEventListener","Provider","useMemo","_LoginProvider","_loginContext","useLogin","loginContext","createContext","context","useContext","Error","page","_goToPage","OpenLogin","_event","ToggleFavorite","MenuTypes","_logger","_TopArea","_Context","_context","_logger2","removeQueryParameter","setQueryParameter","isTopBannerVisible","useTopAreaBanner","useLoadAbTastyScript","useManagedHeight","useToggleMenuHandler","useAddToBasketAnalytics","useCookieToUrl","TopAreaBlock","AppConfigProvider","APP_NAME","LoggerProvider","mainLogger","Context","AppPromoBanner","NoSsr","ShadePicker","getSearchPreviewData","_queriesNet","query","limit","headers","fetchGraphql","searchPreviewQuery","url","variables","timeout","_getSearchPreviewData","_useGetCatalogues","_useGetNavigationType","_usePersonalBeautyStoreData","useGetCatalogues","useGetTenantCatalogues","swr","catalogues","collection","loading","useGetNavigationType","_presentationHttp","type","useLogger","useLanguage","loadingUserSegmentationData","customerTypeId","visitorSegment","useUserSegmentationData","requestParams","excludeChildren","useGetTenantApplicationsNavigationNavigation","getRetryErrorSwrOptions","localError","cause","navigationCollection","usePersonalBeautyStoreData","_configurationContext","_useCookieStoreInfo","_models","enableTopAreaBanner","useAppConfig","isUserVerified","useHeaders","owner","useCookieStoreInfo","skip","ReferralType","PBS","useGraphqlQuery","beautyStoreQuery","swrConfig","_icons","appDescription","appIcon","appName","bannerLink","className","useAppPromo","onCloseButtonClick","preventDefault","APP_PROMO_BANNER","CloseButton","APP_PROMO_BANNER_CLOSE","Clear","AppInfo","OpenButton","APP_PROMO_BANNER_OPEN","_presentationComponents","AppInfoRoot","AppIcon","APP_PROMO_BANNER_ICON","alt","ImagePlaceholder","width","AppNameAndDescription","AppName","fontWeight","AppDescription","_AppInfo","alignItems","alignSelf","fontSize","overflow","textOverflow","WebkitBoxOrient","WebkitLineClamp","APP_PROMO_BANNER_HEIGHT","_AppPromoBanner","_types","bottom","left","position","shouldForwardProp","backgroundColor","borderRadius","boxShadow","SHADOW_LEVEL3","text","primary","margin","paddingRight","textDecoration","SHADOW_LEVEL1","transition","transitions","create","duration","short","padding","marginLeft","BeautyAndTrends","content","isMobile","useIsMobile","analyticsData","logUserClick","BEAUTY_AND_TRENDS_MOBILE","MobileList","tile","title","BeautyLink","BEAUTY_AND_TRENDS_MOBILE_LINK","id","BEAUTY_AND_TRENDS","item","CategoryBox","size","CategoryBoxSize","MEDIUM","imageUrl","relativeUrl","buttonText","view","_BeautyAndTrends","flexWrap","flex","Link","lineHeight","secondary","main","WebkitTapHighlightColor","listStyleType","li","BestOffers","_DesktopBestOffers","_MobileBestOffers","areBestOffersValid","some","length","MobileBestOffers","DesktopBestOffers","itemsList","MainCategory","BEST_OFFERS_SUB_HEADLINE","child","SubItem","SubLink","BEST_OFFERS_SUB_LINK","BEST_OFFERS_SUBMENU","_SubCategory","activeSubCategory","setActiveSubCategory","useState","handleSubCategoryClick","subCategory","SubCategory","boldText","isBestOffers","displayArrowIcon","MobileRoot","BEST_OFFERS_SUBMENU_MOBILE","_BestOffers","marginBottom","typography","fontWeightBold","fontWeightRegular","BurgerMenu","ToggleMenuFlyout","e","r","__esModule","t","_getRequireWildcardCache","has","n","__proto__","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","_interopRequireWildcard","_navigation","_BurgerMenuContent","_BurgerMenuTab","_LazyLinks","WeakMap","BurgerMenuType","AccountSideMenu","AccountSideMenuType","activeMenu","toggleActiveMenu","useActiveMenu","ownerState","handleTabClick","tabName","menuType","BurgerMenuTabNames","ProductsTab","customerInitials","useCustomerInitials","isLoggedIn","isMenuActive","activeTab","AccountTab","onClickOverlay","slots","backdrop","Backdrop","ModalRoot","Slide","in","direction","BurgerMenuRoot","BURGER_MENU_ROOT","BurgerMenuContainer","BURGER_MENU_CONTAINER","BurgerMenuTab","tabPrefix","onTabClick","menu","myAccount","LazyLinks","as","isDesktop","BurgerMenuInner","LazyBurgerMenuContent","BURGER_MENU_BACKDROP","sx","BurgerMenuContent","_Catalogues","_CategoryContent","_FindYourProduct","contentRootRef","link","activeLink","useActiveLink","linkType","navigation","activeLinkType","BurgerMenuContentRoot","ref","BURGER_MENU_CONTENT_ROOT","isCatalogue","Catalogues","Fragment","isCategory","CategoryContent","CATEGORY_WRAPPER","isInspiration","FindYourProduct","isBeautyAndTrends","_CataloguesSkeleton","lazy","resolve","then","Suspense","fallback","CataloguesSkeleton","_LazyBurgerMenuContent","BurgerMenuIcon","menuIsOpen","toggleMenu","useToggleMenu","isOpen","BurgerMenuIconRoot","disableRipple","BURGER_MENU","BurgerMenuIconWrapper","BurgerMenuIconLine","_BurgerMenuIcon","ButtonBase","opacity","transform","_UserSection","clickHandler","TabIcon","isActive","BurgerMenuTabRoot","BURGER_MENU_TAB_ROOT","BurgerMenuTabPrefixWrapper","BURGER_MENU_TAB_ICON_WRAPPER","UserAvatar","TAB_ICON","BurgerMenuTabLabelWrapper","BURGER_MENU_TAB_LABEL_WRAPPER","grey","overline","textTransform","svg","marginRight","BurgerMenuToggle","BurgerMenuToggleRoot","BURGER_MENU_TOGGLE_ROOT","_BurgerMenuToggle","UserAction","_culture","_api","_formatValidity","_common","_CurrentCatalogue","_NextCatalogue","_constant","shopSectionItems","items","useBurgerMenu","culture","timeZone","useCulture","formatValidityDate","date","formatDate","DateFormat","Custom","customPattern","sendAnalyticsData","dispatch","CLICK_CATALOGUE_DETAIL","catalogueDataFromItems","find","catalogueCurrent","catalogueNext","isCatalogueNextValid","linkToAllCatalogues","CatalogueWrapper","CATALOGUES_ROOT","CurrentCatalogue","catalogue","validity","formatValidity","NextCatalogue","CallToActionWrapper","CallToAction","CATALOGUES_SEE_ALL","CTAText","CTA_TEXT","callToActionCatalogueText","CatalogueDetailButton","fullWidth","CATALOGUES_SEE_ALL_LINK","seeAllCatalogues","_Skeleton","SkeletonCatalogueMobile","SkeletonCatalogueDesktop","MobileWrapper","MOBILE_CATALOGUE","Banner","dateRange","CatalogueLink","hoverEffect","LINK","seeAll","Catalogue","DESKTOP_CATALOGUE","description","NEXT_CATALOGUE","down","minWidth","background","light","textUnderlineOffset","textDecorationThickness","subtitle1","_CategoryContentSkeleton","GeneratedMobileBurgerMenuSubLinks","GeneratedDesktopBurgerMenuSubLinks","loadingShopSectionItems","CategoryContentSkeleton","animation","activeCategory","values","Categories","cat","stripSlashes","category","subCategories","MobileSkeletonRoot","CATEGORY_CONTENT_MOBILE_SKELETON","index","MobileItemSkeleton","DesktopSkeletonRoot","CATEGORY_CONTENT_DESKTOP_SKELETON","DesktopItemSkeleton","DesktopSkeletonInner","_PopularBrands","_utils2","sortedSubCategories","sort","b","firstTwoItems","getWhatsNewAndAllCategory","DesktopSubLinksNewAndAllRoot","DesktopSubLinksSubcategory","DESKTOP_SUBLINKS_SUBCATEGORY","DesktopSubLinksNewAndAll","DESKTOP_SUBLINKS_NEW","ArrowRightThin","DesktopSubLinksRoot","DESKTOP_SUBLINKS_ROOT","isSubCategoryOrLookBookLink","DesktopSubLinksOtherLinks","DESKTOP_SUBLINKS_OTHER_LINKS","StaticNavigationNavigationItemDtoLinkType","PopularBrands","POPULAR_BRANDS","isNotCategoryLink","DesktopSubLinksSegment","DESKTOP_SUBLINKS_SEGMENT","MobileSubLinksRoot","MOBILE_SUBLINKS_ROOT","SUBCATEGORY","isSubCategoryActive","subCategoryClickHandler","SubCategoryRoot","MOBILE_SUBCATEGORY_ROOT","SubCategoryListElement","SUBCATEGORY_LIST_ELEMENT","SubCategoryTitle","SUBCATEGORY_LIST_ELEMENT_TITLE","SubCategoryIconWrapper","ArrowDownThin","segment","SubCategorySegment","SUBCATEGORY_SEGMENT","DESKTOP_SUBCATEGORY_ROOT","POPULAR_BRANDS_ROOT","POPULAR_BRANDS_LIST_ELEMENT","boxSizing","marginTop","flexFlow","paddingLeft","listStyle","order","verticalAlign","body1","fontWeightLight","paddingTop","paddingBottom","whiteSpace","h6","maxHeight","visibility","Skeleton","PopularLookbook","WhatsNewInCategory","AllCategory","every","whatsNewCategory","otherCategories","filter","Favorites","FAVORITE_LIST_ITEM","FavoritesRoot","FavoritesLink","HeartIconRoot","Heart","FavoritesTitle","myFavoriteProducts","_FindYourProductSkeleton","inspirationItems","loadingInspirationItems","filterInspirationTiles","FindYourProductSkeleton","FIND_YOUR_PRODUCT_ROOT_MOBILE","FindYourProductList","slice","MAX_NUMBER_OF_TILES","FindYourProductLink","FIND_YOUR_PRODUCT_ROOT_DESKTOP","CategoryBoxWrapper","FIND_YOUR_PRODUCT_MOBILE_SKELETON","MobileTileSkeleton","FIND_YOUR_PRODUCT_DESKTOP_SKELETON","DesktopTileSkeleton","CategoryBoxSkeleton","CATEGORY_BOX_DESKTOP_MEDIUM_WIDTH","BurgerMenuLink","_constants2","_TitleWithIcon","toggleActiveLink","isAlwaysActiveLink","AlwaysActiveLinks","includes","isActiveLink","burgerMenuContentRef","useRef","burgerMenuContentStyle","getBurgerMenuHeight","burgerMenuHeight","current","offsetHeight","FocusPage","handleAnalyticsClick","CLICK_CATALGOUE","updateActiveLink","categoryName","reverse","shouldDisplayArrow","BurgerMenuLinkListElement","BURGER_MENU_LINK_ROOT_MOBILE","BurgerMenuLinkCategory","BURGER_MENU_LINK_CATEGORY_MOBILE","onKeyDown","onEnterKey","BurgerMenuLinkLink","BURGER_MENU_LINK","TitleWithIcon","linkTitle","BurgerMenuLinkIconWrapper","BURGER_MENU_LINK_ICON_WRAPPER","style","BURGER_MENU_CONTENT","BURGER_MENU_LINK_ROOT","BurgerMenuTopItemLink","BURGER_MENU_TOP_ITEM_LINK","BURGER_MENU_LINK_CATEGORY","LazyGeneratedBurgerMainMenuLinks","SkeletonMainCategoriesMobile","SkeletonMainCategoriesDesktop","Links","_BurgerMenuLink","LazyFavorites","LazyOurStory","OurStory","showFavorites","catalogueSection","x","orderedCommonLinks","orderedSpecialLinks","topLinks","getOrderedLinks","LinksRoot","LINKS_ROOT","MenuSectionDivider","SpecialLinkWrapper","SPECIAL_LINKS_WRAPPER","LinksSpecialLink","SPECIAL_LINK","icon","getIconByLinkType","TitleIconRoot","TITLE_WITH_ICON","borderRight","minHeight","flexShrink","cursor","alpha","green","colors","mapCategoryColors","top","span","sortSpecialLinks","sortLinks","isSpecialLink","SpecialLinks","specialLink","linkA","linkB","priorityA","LINK_PRIORITIES","indexOf","priorityB","EQUAL_LINKS","LINK_B_FIRST","LINK_A_FIRST","SpecialLinksOrder","TOP_LINKS","aboutItems","OurStorySupportLink","OUR_STORY_SUPPORT_LINK","BubbleHelp","OurStorySupportTitle","OurStoryStoryLink","OUR_STORY_LINK","borderTop","disabled","ElementWithAnalytics","Component","handleAnalytics","incrementedIndex","withSegmentData","CLICK_CATEGORY_BRAND","isSubcategoryActive","popularBrandsClickHandler","PopularBrandsRoot","PopularBrandsListElement","PopularBrandsTitle","brands","PopularBrandsIconWrapper","PopularBrandsSegment","allBrands","PopularBrandsAllBrands","flexGrow","LinkTypeIconMapper","HEIGHT_BUFFER","ARROW_RIGHT_THIN_ICON","Sales","_BurgerMenu","Modal","basePositionStyles","drawer","CSS_HEIGHT_ANIMATION","CSS_DESKTOP_INNER_HEIGHT","DESKTOP_HEIGHT","overflowX","overflowY","isLinkTypeCatalogue","isActiveLinkTypeCatalogue","Category","FavoritesHeartIcon","isOnFavorites","setIsOnFavorites","Icon","useHover","HeartFilled","handleClick","CLICK_FAVORITE_ICON","FavoritesHeartRoot","FAVORITE_HEART_ROOT","_FavoritesHeartIcon","pink","JoinMenu","_JoinTileImage","exitMenu","iDontKnowYetLink","IDontKnowYet","joinTiles","MenuTiles","isVisible","JoinMenuRoot","JOIN_MENU_ROOT","JoinTilesWrapper","JoinTileLink","JOIN_MENU_TILE_LINK","JoinTileImage","image","JoinTileDescription","JOIN_MENU_TILE_DESCRIPTION","JoinTileButton","JoinMenuIdkyLink","JOIN_MENU_BACKDROP","JoinIcon","ToggleMenuFlyoutEvent","joinLabel","joinUrl","useLabels","dispatchToggleMenu","JoinSkeleton","JOIN_SKELETON","JoinLabel","JOIN_LABEL","shouldNotForwardProp","_imageSizesHelper","imagesVariants","imageFormat","imageSizeMultiplier","params","quality","images","getImageVariants","sizes","srcSet","generateSrcSet","decoding","border","borderBottom","columnGap","gridAutoColumns","gridAutoFlow","gridTemplateRows","webkitTapHighlightColor","black","A700","borderColor","objectFit","textShadow","shadows","LeftActionsSection","_OriflameLogo","LeftActionsSectionRoot","OriflameLogo","_LeftActionsSection","NotificationBellIcon","_globalApiClientReact","NotificationFilled","Notification","isClicked","setIsClicked","useGetCustomerUnseenNotificationsCount","CLIENT_APPLICATION","count","CLICK_NOTIFICATION_ICON","Notifications","NotificationBellIconButton","notifications","NOTIFICATION_BELL_ICON_BUTTON","Badge","badgeContent","max","NOTIFICATION_BELL_ICON_BELL","invisible","_NotificationBellIcon","IconButton","OrderOnBehalf","_OrderOnBehalfDialog","orderOnBehalfData","VipAccessData","vipAccessData","VipAccessLabels","vipAccessLabels","OrderContent","ORDER_ON_BEHALF","NewUserFilled","loggedInAs","Username","ConsultantName","OrderOnBehalfDialog","close","ChangeConsultantForm","_axios","_reactHookForm","ConsultantChangeConsultantNumber","abortControllerRef","AbortController","formRef","areHintsLoading","setAreHintsLoading","consultantNumber","setConsultantNumber","errorMessage","setErrorMessage","hints","setHints","isSubmitLocked","setIsSubmitLocked","register","handleSubmit","useForm","handleChange","target","axios","vipOrderUrls","consultantNumbers","signal","hint","catch","finally","handleSelect","textContent","post","accessSwitchValidate","message","result","onSubmit","accessConsultant","ConsultantNumber","consultant","ErrorMessage","IsAccessGranted","accessSwitch","submit","failedToSubmit","renderInput","TextField","ORDER_ON_BEHALF_DIALOG_CHANGE_CONSULTANT_INPUT","helperText","label","onChange","getOptionLabel","String","VipOrderFormRoot","ORDER_FORM_ROOT","action","basket","autoComplete","method","Autocomplete","loadingText","noOptionsText","noOptions","change","_ChangeConsultantForm","changeOpened","setChangeOpened","onChangeOpened","header","BackArrow","ORDER_ON_BEHALF_DIALOG_BACK_ARROW","ArrowLeftThin","ORDER_ON_BEHALF_DIALOG","hideCloseButton","PopupContentGroup","PopupButton","Url","Text","PopupLink","SvgIcon","pxToRem","TOP_AREA_BANNER_HEIGHT","_OrderOnBehalf","_useIsMarketCN","isMarketCN","useIsMarketCN","ORIFLAME_LOGO_ROOT","StyledLink","oriflameSweden","ChineseLogo","CommonLogo","Logo","xmlns","viewBox","CHINESE_LOGO","d","_ChineseLogo","OriflameLogoSvg","COMMON_LOGO","_CommonLogo","fill","RightActionsSection","_useShouldRenderNotificationMenu","_JoinIcon","_SearchIcon","_SearchInput","_ShoppingBagIcon","shouldShowNotificationMenu","useShouldRenderNotificationMenu","RightActionsSectionRoot","SearchInput","showOnlyOn","SearchIcon","UserSection","ShoppingBagIcon","_RightActionsSection","justifySelf","_useSearchInputPlaceholder","hideSearchResultsTab","hide","show","manualShow","manualHide","useSearchInput","searchPlaceholder","useSearchInputPlaceholder","SearchIconRoot","SEARCH_ICON","Search","_toggleMenuFlyout","_useDebounce","_SearchPreviewContainer","SCROLL_THRESHOLD","SEARCH_INPUT_HEIGHT","showSearchOnScroll","focus","blur","clearResults","isManuallyOpened","setValue","isFocused","debouncedValue","SearchResults","isAccountSideMenuActive","inputRef","prevScrollY","setPrevScrollY","useRemoveBodyScroll","throttledAnalytics","useThrottledCallback","START_SEARCH","SEARCH_THROTTLE_TIME","onFocusHandler","showBackdrop","shouldShowBackdrop","onChangeHandler","isValueEmpty","handleScrollDebounced","debounce","currentScrollY","scrollY","difference","closeSearch","clearInput","handleOnBlur","useListenToKeyDown","isVisibleOnMobile","SearchInputRoot","SEARCH_INPUT_ROOT_MOBILE","SEARCH_INPUT_ROOT_DESKTOP","SearchInputBox","SEARCH_INPUT_BOX","SEARCH","SearchInputInput","autoFocus","placeholder","searchDesktop","SEARCH_INPUT","onFocus","onBlur","onEnterPressHandler","SearchInputClear","clearSearchInput","SEARCH_INPUT_CLEAR","SearchPreviewContainer","InputBackdrop","BACKDROP","_topAreaBannerContext","_SearchPreview","_SearchPreviewSkeleton","useWindowSize","results","isLoading","SearchPreviewRoot","SearchPreviewContent","innerHeight","SearchPreviewSkeleton","SearchPreview","numberOfProducts","products","suggestions","_getMobileCssVariable","_constants3","SEARCH_PREVIEW_SEE_ALL_HEIGHT","getSearchInputTopAttribute","overscrollBehaviorY","MAX_SEARCH_HEIGHT","SEARCH_INPUT_BOX_HEIGHT","CSS_DESKTOP_HEIGHT","appBar","speedDial","outline","_getSearchUrl","searchQuery","currentTarget","getSearchUrl","body","classList","add","TOP_NAV_NO_SCROLL","remove","SearchSuggestionClick","_analyticsData","financialSet","sendNavigationSignal","useSendNavigationSignal","onSuggestionsClick","suggestion","dispatchEvent","CustomEvent","detail","itemData","localBannerTitle","media","itemType","ContentType","PopularQuery","placement","Placement","TopNavigationSearchSuggestions","onProductLick","product","searchSuggestionClickData","analytics","formatProduct","currencyCode","Product","addParamsToUrl","getProductUrl","code","QUERY_NAME","SEARCH_PREVIEW","Suggestions","SearchPreviewSuggestion","searchPhrase","SearchPreviewHeader","Products","SearchPreviewProduct","onProductClick","onQuickBuyButtonClick","getQuickBuyButtonOnClickHandler","StyledDivider","SeeAllResults","SEARCH_PREVIEW_SEE_ALL_RESULTS","SEARCH_PREVIEW_HEADER","popularSearchQueries","trim","_SearchPreviewHeader","SearchPreviewImage","useTheme","ImageWrapper","testId","SEARCH_PREVIEW_IMAGE_PLACEHOLDER","SEARCH_PREVIEW_IMAGE_SIZE","SEARCH_PREVIEW_IMAGE","SEARCH_PREVIEW_IMAGE_WRAPPER_HEIGHT","_SearchPreviewImage","shape","brand","deal","ppa","price","canBeSold","shades","SEARCH_PREVIEW_PRODUCT","Info","ProductInfo","PriceAndButton","Price","Prices","QuickBuyButton","currentProductCode","currentPrice","currentFormatted","oldFormatted","oldPriceVisible","SEARCH_PREVIEW_PRODUCT_PRICES","CurrentPrice","OldPrice","_Prices","getCurrentPriceColor","offer","_ProductInfoLabel","_Shades","nameWithSearchPhrase","boldMatchedText","SEARCH_PREVIEW_PRODUCT_PRODUCT_INFO","ProductInfoLabel","Brand","Bottom","Shades","maxVisible","MAX_VISIBLE_SHADES_COUNT","_ProductInfo","letterSpacing","shouldDisplayPpaLabel","isPpaLabel","labelKey","shouldDisplayDealLabel","allowedDealLabels","LabelContainer","Chip","SEARCH_PREVIEW_PRODUCT_PRODUCT_INFO_LABEL","NEW_EDITION","shadesToRender","shade","Shade","ShadeSize","Small","SEARCH_SHADE","productCode","_SearchPreviewProduct","textWithBoldPhrase","Label","StyledChip","SEARCH_PREVIEW_SUGGESTION","CHIP_HEIGHT","_SearchPreviewSuggestion","chipClasses","_useSendNavigationSignal","_useAddToBasketAnalytics","AddToBasketEvent","onAddToBasket","itemCode","events","listener","useGlobalEvents","timestamp","globalApiClient","useApiClient","sessionId","getSignalsData","createApplicationsNavigationSignal","ACCEPT_LANGUAGE","TENANT_CONTEXT","scrollbarWidth","Divider","_styles2","_components2","_styles3","SEARCH_PREVIEW_SKELETON","SUGGESTIONS_COUNT","UnifiedSkeleton","SEARCH_PREVIEW_SKELETON_SUGGESTION","HeaderSkeleton","SEARCH_PREVIEW_SKELETON_HEADER","PRODUCTS_COUNT","SearchPreviewProductSkeleton","SEARCH_PREVIEW_PRODUCT_SKELETON","SeeAllSkeleton","_styles4","ImageSkeleton","QuickBuyButtonSkeleton","_SearchPreviewProductSkeleton","_shadePicker","atpClusterId","ShadePickerController","_ShadePicker","BasketUpdated","ShoppingContextLoaded","isECatalogue","useDeviceType","isMobileOnECatalogue","isCnMarket","CN_MARKET","EmptyBasket","AddToBag","IconOnHover","ShoppingBasketFilled","AddToBagFilled","onBasketUpdated","onShoppingContextLoaded","isReceivedShoppingContext","shoppingBagQuantity","useShoppingBag","triggerRequestShoppingContext","onMouseEnter","getMinibagFlyoutEvent","onMouseLeave","onMobileEcataloguePageClick","ShoppingBagCounter","shoppingBag","SHOPPING_BAG_ICON_ROOT","hoverIcon","isAnimationActive","setIsAnimationActive","setTimeout","MINIBAG_COUNTER_ANIMATION_TIMEOUT","SHOPPING_BAG_COUNTER_ROOT","_ShoppingBagCounter","growShrinkAnimation","keyframes","badgeClasses","badge","animationDuration","animationName","_useDeviceType","_useShoppingBag","setIsECatalogue","mobileBreakpoint","useMediaQuery","mobileBreakpointECatalogue","getElementById","setSessionId","setShoppingBagQuantity","setIsReceivedShoppingContext","updateShoppingBagQuantity","newQuantity","RequestShoppingContext","shouldOpen","Minibag","requestShoppongContextEvent","CatalogueSkeleton","ButtonSkeleton","SKELETON_CATALOGUE_DESKTOP","showDescription","SkeletonMenuLinks","MAIN_CATEGORY_DESKTOP","SkeletonCatalogueMobileRoot","SKELETON_CATALOGUE_MOBILE","_SkeletonCatalogueMobile","SkeletonMainCategoriesMobileCategory","SkeletonMainCategoriesMobileCategoryLarge","elements","Math","floor","steps","Array","from","element","skeletonElements","step","SKELETON_MAIN_CATEGORY_MOBILE","_SkeletonMainCategoryMobile","_SkeletonCatalogueDesktop","_SkeletonMainCategoryDesktop","_JoinMenu","_TopAreaBanner","isSearchInputVisible","TOP_AREA_ROOT","TopAreaBanner","TOP_AREA_BORDER_BOTTOM","CSS_MOBILE_INNER_HEIGHT","TopAreaBannerSkeleton","TopAreaBannerContent","BannersCarousel","_Banner","autoplay","interval","BANNERS_CAROUSEL","Carousel","pagination","slider","propagateDragEvent","shouldOpenInvitationOffer","CarouselSlide","BANNER_CAROUSEL_BANNER","Title","isClickable","showArrows","drag","_BannersCarousel","Contact","contact","Email","Telephone","_Contact","_TopAreaBannerDialog","isOrderOnBehalfVisible","bannersData","areaName","TopAreaBannerDialog","_TopAreaBannerContent","_net","emphasis","chunks","contacts","referralProgram","beautyStore","profile","allowedContacts","benefitsLink","greetingMessage","userEmail","getContactByType","SocialContactType","userPhone","PhoneNumber","TOP_AREA_BANNER_DIALOG_LOADER","DynamicFormattedMessage","translatedMessage","TOP_AREA_BANNER_DIALOG_MESSAGE","GreetingMessageAndContact","TOP_AREA_BANNER_DIALOG_GREETING_MESSAGE","gotIt","TOP_AREA_BANNER_DIALOG_ERROR_MESSAGE","topAreaBannerDialogError","BannerDialog","TOP_AREA_BANNER_DIALOG","Gift","paperClasses","root","TOP_AREA_BANNER_BENEFIT_BANNER_SKELETON","_TopAreaBannerSkeleton","TOP_AREA_BANNER_BENEFIT_BANNER","blue","getTopAreaBannerType","MY_PAGES_REGEX","CHECKOUT_REGEX","isAnonymousWithStore","test","PermanentTopBannerType","MyPages","Checkout","PublicPageWithReferral","PublicPage","_getContactByType","_getTopAreaBannerType","TopAreaReservedSpaceBlock","ROOT_WRAPPER","_TopAreaBlock","getMobileCssHeightVariable","CSS_DESKTOP_WITH_TOP_AREA_BANNER_HEIGHT","_login","UserFilled","User","MobileUserIconButton","signIn","USER_ICON_MOBILE","SignInLabel","USER_ICON_DESKTOP","MY_PAGES_URL","DesktopUserIconButton","startIcon","_exportNames","prototype","Avatar","right","APP_ROOT_ELEMENT_ID","CLICK_SUBCATEGORY_LINK","CLICK_BURGER_MENU","IDENTITY_CLIENT_ID","articles","logIn","nextCatalogue","other","popularProducts","popularProductsInThisSearchQuery","seeAllResultsFor","shopFor","topAreaBannerReferralMessage","_analytics","_defaultTranslationsWithNamespaces","_parameters","_settings","_tenants","RETURN_URL_QUERY_PARAM_KEY","INVITATION_OFFER_HASH","CONSULTANT_NUMBER_QUERY_PARAM_KEY","TOP_NAV_INNER_HEIGHT_CSS_VARIABLE","TOP_NAV_HEIGHT_MOBILE","TOP_NAV_HEIGHT_CSS_VARIABLE","TOP_NAV_HEIGHT","SEARCH_PREVIEW_PRODUCTS_LIMIT","MOBILE_WITH_TOP_AREA_BANNER_INNER_HEIGHT","MOBILE_WITH_TOP_AREA_BANNER_HEIGHT","MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_INNER_HEIGHT","MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_HEIGHT","MOBILE_WITH_SEARCH_INPUT_INNER_HEIGHT","MOBILE_WITH_SEARCH_INPUT_HEIGHT","MOBILE_INNER_HEIGHT","MOBILE_HEIGHT","DESKTOP_WITH_TOP_AREA_BANNER_HEIGHT","CSS_MOBILE_WITH_TOP_AREA_BANNER_INNER_HEIGHT","CSS_MOBILE_WITH_TOP_AREA_BANNER_HEIGHT","CSS_MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_INNER_HEIGHT","CSS_MOBILE_WITH_SEARCH_INPUT_WITH_TOP_AREA_BANNER_HEIGHT","CSS_MOBILE_WITH_SEARCH_INPUT_INNER_HEIGHT","CSS_MOBILE_WITH_SEARCH_INPUT_HEIGHT","CSS_MOBILE_HEIGHT","CSS_DESKTOP_WITH_TOP_AREA_BANNER_INNER_HEIGHT","AB_TASTY_SCRIPT_URL","AB_TASTY_SCRIPT_IDS","AB_TASTY_SCRIPT_ID","pl_live","pl_stg","ro_live","ro_stg","uk_live","uk_stg","ApiProvider","formattedToken","ApiClientProvider","token","_ApiProvider","composeProviders","UserSegmentationDataProvider","HeadersProvider","AppPromoProvider","SearchInputProvider","ActiveLinkProvider","ActiveMenuProvider","ConsultantProvider","TopAreaBannerProvider","LabelsProvider","BurgerMenuProvider","appPromoContext","_useMobileOs","setVisible","pagePath","setPagePath","userOs","useMobileOs","useGetTenantMobileAppSmartAppBanner","storeName","shouldRetryOnError","isAppPromoBannerVisible","setHideAppPromoBannerUntilDate","_appPromoContext","getHideAppPromoBannerUntilDate","APP_PROMO_LOCAL_STORAGE_KEY","hideAppPromoBannerUntilFromLocalStorage","hideAppPromoBannerUntil","appConfigContextDefaultValue","appConfigContext","abTastyEnabled","onlyProductsTabInSearch","useConsultant","consultantContext","loadingVipAccess","consultantType","useGetApplicationsNavigationCustomerInfo","vipAccess","access","baseURL","response","sourceAppName","_consultantContext","_headersContext","activeLinkContext","_useIsMobile","setActiveLink","_searchInputContext","activeMenuContext","setActiveMenu","burgerMenuContextDefaultValue","burgerMenuContext","_activeMenuContext","loadingAboutItems","contextValue","_activeLinkContext","_burgerMenuContext","_labelsContext","labelsContextDefaultValue","labelsContext","aboutLabel","findLabel","StaticNavigationNavigationItemDtoType","AboutTiles","JoinTiles","searchInputContext","_useGetSearchPreviewData","defaultOpen","useDebounce","useGetSearchPreviewData","topAreaBannerContext","_useGetTopAreaBanners","defaultTopAreaBannerContextValue","shouldGetBannerType","isSSR","bannerType","orderOnBehalfVisible","isLoadingTopBanner","useGetTopAreaBanners","topBannerVisible","isTopAreaBannerVisible","shouldSkipBenefitBannerFetch","loadingSegmentationData","_useCookieToUrl","_useCustomerInitials","_useHover","_useLongPress","_useManagedHeight","_useToggleMenu","_useToggleMenuHandler","_useLoadAbTastyScript","cookieInfo","setCookieInfo","None","productListType","pbsOwnerCookie","cookiesToTransform","cookie","queryParam","stopIfFound","ECREF_OWNER","ECREF","parameters","ensureQueryParameter","foundPrev","cookieName","queryParamName","stopIfFoundPrev","removeIfNotFound","cookieValue","stop","info","useGetCustomerProfile","firstName","lastName","charAt","setTimestamp","mutate","now","mapSearchPreviewQuery","shouldSkipTopAreaBannersFetch","_mapTopAreaBanners","isValidating","apiError","useGetTenantApplicationsBannerEnrichedPermanentTopAreaBanners","mapTopAreaBanners","iconOnHover","hidden","isHover","setIsHover","isHoverAvailable","getIcon","handleMouseOver","handleMouseLeave","md","getScriptSrc","scriptSrc","script","useLongPress","callback","delay","timeoutId","handleLongPressStart","handleLongPressEnd","clearTimeout","onTouchStart","onTouchEnd","TopNavClassName","getClassList","addClassName","removeClassName","bannerVisible","inputVisible","mobile","searchInputVisible","withTopAreaBanner","_uaParserJs","setUserOs","os","UAParser","getOS","shouldDisplayNotificationIcon","onToggle","OurStoryLinks","TranslationKey","VisitorSegment","VideoType","VerticalContentAlignment","TrackingStatus","TelephoneType","StorybookColor","SponsorType","SocialMediaType","ShowType","SettingsFormatType","SettingsClientType","ResponseMessageNewsletterSubsciptionsType","ReplacementType","ProductType","ProductReplacementType","ProductRelationType","ProductListingBannerVideoType","ProductListType","ProductLabelDomainType","PlpOrderBy","PickupSearchFilter","PersonalSubscriptionCategory","PeriodStatus","PaymentChannel","OrderStatus","OrderOrigin","OrderItemType","OrderHistoryType","OrderDocumentType","OlapicTypeEnum","NotificationBannerThemeType","NavigationType","NavigationLinkType","MobileAppType","ManagerSummitVersion","ManagerSummitStatus","LinkType","LanguageType","HorizontalContentAlignment","Gender","FeedbackBenefitBannerType","EditorialPlpPromoBannerSize","EditorialContentType","EditorialChannelType","EditorialBenefitIcon","EditorialBannerTitleSizeEnum","EditorialBannerTitleColorEnum","EditorialBannerLayoutEnum","EWalletType","DiscountType","DeliverySearchFilter","DeliveryMethodType","CustomerCategory","CurrentOrderStatus","ColorType","ClaimType","ClaimStatus","ClaimReasonType","ClaimProductItemCategory","ClaimDeliveryMethodType","ClaimCauseType","ClaimCategoryType","ClaimActionType","ChannelType","CatalogueType","CatalogueOfferType","CanCancelOrderResult","BankBonusPaymentTransferState","BackgroundType","BackInStockNotificationChannel","ArticleType","ApplyPolicy","AllowedClaimExchangeProducts","AddressType","AddressMetadataAllowedSearchResults","_graphql","_operations","_AppConfig","_BurgerMenuTabNames","_Catalogue","_Categories","_FavoritesLink","_OurStoryLinks","_Product","_ReferralType","_SpecialLinks","_SuggestionsAndResults","_TranslationKey","_VipOrdersTypes","_AlwaysActiveLinks","gql","conceptFragment","_shade","searchPreviewShade","_searchPreviewProduct","_concept","_labels","labels","searchPreviewProduct","_beautyStoreQuery","_searchPreview","_fragments","path","queryString","urlParams","URLSearchParams","entries","encodeURIComponent","_getSearchTime","currency","globalBrandName","globalCategoryName","globalName","localBrandName","localCategoryName","localName","docId","filterQueries","searchTime","getSearchTime","source","totalHits","userId","timeStamp","escapedSearchPhrase","replaceAll","regExpPattern","splitText","matches","match","providers","reduceRight","accumulated","menuToggle","requestAnimationFrame","catalogueId","valid","to","DiscountTag","WhatsNew","PRODUCTS_URL","_openProductInfoDialog","_openProductInfoDialog2","_openShadePicker","hasAutosubscribe","openProductInfoDialog","DialogMode","StandardBuy","isMultishade","openShadePicker","_boldMatchedText","_composeProviders","_dispatchToggleMenu","_mapCategoryColors","_onEnterKey","_stripSlashes","_vipOrderUrls","_mapSearchPreviewQuery","_getProductUrl","_getQuickBuyButtonOnClickHandler","_mapEnableQuickBuyButton","_getIconByLinkType","_sendUserAction","_addParamsToUrl","ACCESSORIES","red","BATH_BODY","ESSENTIAL_OILS","purple","FRAGRANCE","brown","HAIR","yellow","KIDS_BABY","MAKEUP","MEN","NUTRITION","SKINCARE","WELLNESS","mapEnableQuickBuyButton","_productBox","mapCanBeSold","mapHasAutoSubscription","mapSearchPreviewProductToShadePicker","mapSearchPreviewShades","getPrice","_tsUtils","mapShadeWithPrice","hexColors","mapShade","shadeName","getCurrentFormattedPrice","formattedPrice","getOldPrice","isNonNullable","priceAfterImmediateDiscount","Number","parseFloat","totalProductsCount","application","productSearchPreview","searchResults","concept","mapLabels","OFFER","pdpUrl","categories","_sanitizeKey","permanentTopBanners","banner","sanitizeKey","handler","OpenProductInfoDialog","mode","productCodes","OpenShadePicker","_mapSearchPreviewProductToShadePicker","productName","startsWith","___CSS_LOADER_EXPORT___","push","module"],"sourceRoot":""}