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AAc14E,EAAK,GACnB24E,EAAU34E,EAAK,GAGI4sC,EAAI,EAC3B,GAAGupC,EAAS1lE,MAAK,SAAStT,GAAM,OAA+B,IAAxB+6E,EAAgB/6E,EAAW,IAAI,CACrE,IAAIu3E,KAAYgE,EACZnE,EAAoBxsB,EAAE2wB,EAAahE,KACrCH,EAAoBx5D,EAAE25D,GAAYgE,EAAYhE,IAGhD,GAAGiE,EAAS,IAAI1iE,EAAS0iE,EAAQpE,EAClC,CAEA,IADGkE,GAA4BA,EAA2Bz4E,GACrD4sC,EAAIupC,EAAS71E,OAAQssC,IACzBkqC,EAAUX,EAASvpC,GAChB2nC,EAAoBxsB,EAAEmwB,EAAiBpB,IAAYoB,EAAgBpB,IACrEoB,EAAgBpB,GAAS,KAE1BoB,EAAgBpB,GAAW,EAE5B,OAAOvC,EAAoB2B,EAAEjgE,EAC9B,EAEI2iE,EAAqBx5C,KAAK,8BAAgCA,KAAK,+BAAiC,GACpGw5C,EAAmBx0E,QAAQo0E,EAAqBx+B,KAAK,KAAM,IAC3D4+B,EAAmB11E,KAAOs1E,EAAqBx+B,KAAK,KAAM4+B,EAAmB11E,KAAK82C,KAAK4+B,G,ICpFvFrE,EAAoB2B,OAAEprE,EAAW,CAAC,IAAI,WAAa,OAAOypE,EAAoB,KAAO,IACrF,IAAIsE,EAAsBtE,EAAoB2B,OAAEprE,EAAW,CAAC,IAAI,WAAa,OAAOypE,EAAoB,KAAO,IAC/GsE,EAAsBtE,EAAoB2B,EAAE2C,E","sources":["webpack://wsf-master-oap/./src/Feature/CarouselControls/code/Scripts/components/OapCarouselControls.vue","webpack://wsf-master-oap/./src/Feature/CarouselControls/code/Scripts/components/OapCarouselControls.vue?a50c","webpack://wsf-master-oap/./src/Feature/CarouselControls/index.js","webpack://wsf-master-oap/./src/Feature/Filter/code/Scripts/constants/eventNames.js","webpack://wsf-master-oap/./src/Feature/FooterNewsletterSignupModal/code/Scripts/Components/footer-newsletter-signup-modal.vue","webpack://wsf-master-oap/./src/Feature/OapLoader/code/Scripts/components/OapLoader.vue","webpack://wsf-master-oap/./src/Feature/OapLoader/code/Scripts/components/OapLoader.vue?0857","webpack://wsf-master-oap/./src/Feature/FooterNewsletterSignupModal/code/Scripts/Components/footer-newsletter-signup-modal.vue?39b5","webpack://wsf-master-oap/./src/Feature/FooterNewsletterSignupModal/index.js","webpack://wsf-master-oap/./src/Feature/GenericForm/code/Scripts/Components/generic-form.vue","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/mixins/recaptcha/recaptcha.js","webpack://wsf-master-oap/./src/Feature/GenericForm/code/Scripts/Components/generic-input.vue","webpack://wsf-master-oap/./src/Feature/GenericForm/code/Scripts/Components/generic-input.vue?fdda","webpack://wsf-master-oap/./src/Feature/GenericForm/code/Scripts/Components/generic-dropdown-container.vue","webpack://wsf-master-oap/./src/Feature/GenericForm/code/Scripts/Components/generic-dropdown-container.vue?3cb6","webpack://wsf-master-oap/./src/Feature/GenericForm/code/Scripts/Components/generic-options.vue","webpack://wsf-master-oap/./src/Feature/GenericForm/code/Scripts/Components/generic-options.vue?b181","webpack://wsf-master-oap/./src/Feature/GenericForm/code/Scripts/Components/generic-datepicker.vue","webpack://wsf-master-oap/./src/Feature/GenericForm/code/Scripts/Components/generic-datepicker.vue?e1a2","webpack://wsf-master-oap/./src/Feature/GenericForm/code/Scripts/Components/generic-select.vue","webpack://wsf-master-oap/./src/Feature/GenericForm/code/Scripts/Components/generic-select.vue?6613","webpack://wsf-master-oap/./src/Feature/GenericForm/code/Scripts/Components/generic-form.vue?fe9b","webpack://wsf-master-oap/./src/Feature/GenericForm/index.js","webpack://wsf-master-oap/./src/Feature/HeaderLogo/code/Scripts/components/HeaderLogo.vue","webpack://wsf-master-oap/./src/Feature/HeaderLogo/code/Scripts/components/HeaderLogo.vue?d4f0","webpack://wsf-master-oap/./src/Feature/HeaderLogo/index.js","webpack://wsf-master-oap/./src/Feature/IframePopup/code/Scripts/components/Iframepopup.vue","webpack://wsf-master-oap/./src/Feature/IframePopup/code/Scripts/components/Iframepopup.vue?5e87","webpack://wsf-master-oap/./src/Feature/IframePopup/index.js","webpack://wsf-master-oap/./src/Feature/Navigation/code/Scripts/components/accordion.vue","webpack://wsf-master-oap/./src/Feature/Navigation/code/Scripts/components/accordion.vue?d752","webpack://wsf-master-oap/./src/Feature/Navigation/code/Scripts/components/switcher.vue","webpack://wsf-master-oap/./src/Feature/Navigation/code/Scripts/components/switcher.vue?8b43","webpack://wsf-master-oap/./src/Feature/Navigation/code/Scripts/components/navigation.vue","webpack://wsf-master-oap/./src/Feature/Navigation/code/Scripts/components/navigation.vue?5f34","webpack://wsf-master-oap/./src/Feature/Navigation/code/Scripts/directives/megamenu.js","webpack://wsf-master-oap/./src/Feature/Navigation/index.js","webpack://wsf-master-oap/./src/Feature/NewsLetter/code/scripts/components/newsletter-form.vue","webpack://wsf-master-oap/./src/Feature/NewsLetter/code/scripts/store.js","webpack://wsf-master-oap/./src/Feature/NewsLetter/code/scripts/components/dropdown.vue","webpack://wsf-master-oap/./src/Feature/NewsLetter/code/scripts/components/dropdown.vue?115a","webpack://wsf-master-oap/./src/Feature/NewsLetter/code/scripts/components/input.vue","webpack://wsf-master-oap/./src/Feature/NewsLetter/code/scripts/components/input.vue?7f40","webpack://wsf-master-oap/./src/Feature/NewsLetter/code/scripts/components/newsletter-form.vue?2963","webpack://wsf-master-oap/./src/Feature/NewsLetter/code/scripts/components/newsletter-signin.vue","webpack://wsf-master-oap/./src/Feature/NewsLetter/code/scripts/components/newsletter-signin.vue?a2d4","webpack://wsf-master-oap/./src/Feature/NewsLetter/index.js","webpack://wsf-master-oap/./src/Feature/OapAccountNavigation/code/Scripts/components/OapAccountNavigation/OapAccountNavigation.vue","webpack://wsf-master-oap/./src/Feature/logoutCookies/code/Scripts/components/logoutRefresh.vue","webpack://wsf-master-oap/./src/Feature/logoutCookies/code/Scripts/components/logoutRefresh.vue?7191","webpack://wsf-master-oap/./src/Feature/OapAccountNavigation/code/Scripts/components/OapAccountNavigation/OapAccountNavigation.vue?c648","webpack://wsf-master-oap/./src/Feature/OapAccountNavigation/index.js","webpack://wsf-master-oap/./src/Feature/OapBeautyGeniusWrapper/code/Scripts/settings.js","webpack://wsf-master-oap/./src/Feature/OapBeautyGeniusWrapper/code/Scripts/components/OapBeautyGeniusWrapper.vue","webpack://wsf-master-oap/./src/Feature/OapBeautyGeniusWrapper/code/Scripts/components/OapBeautyGeniusWrapper.vue?56b4","webpack://wsf-master-oap/./src/Feature/OapBeautyGeniusWrapper/index.js","webpack://wsf-master-oap/./src/Feature/OapCardPopin/index.js","webpack://wsf-master-oap/./src/Feature/OapCountdown/code/Scripts/components/OapCountdown.vue","webpack://wsf-master-oap/./src/Feature/OapCountdown/code/Scripts/timer.js","webpack://wsf-master-oap/./src/Feature/OapCountdown/code/Scripts/components/OapCountdown.vue?d764","webpack://wsf-master-oap/./src/Feature/OapCountdown/index.js","webpack://wsf-master-oap/./src/Feature/OapEventfulTextInput/code/Scripts/components/OapEventfulTextInput.vue","webpack://wsf-master-oap/./src/Feature/OapEventfulTextInput/code/Scripts/components/OapEventfulTextInput.vue?f769","webpack://wsf-master-oap/./src/Feature/OapEventfulTextInput/index.js","webpack://wsf-master-oap/./src/Feature/OapIframe/index.js","webpack://wsf-master-oap/./src/Feature/OapPageNavigation/code/Scripts/components/OapPageNavigation.vue","webpack://wsf-master-oap/./src/Feature/OapPageNavigation/code/Scripts/components/OapPageNavigation.vue?5154","webpack://wsf-master-oap/./src/Feature/OapPageNavigation/code/Scripts/components/OapPageNavigationForColorsonic.vue","webpack://wsf-master-oap/./src/Feature/OapPageNavigation/code/Scripts/components/OapPageNavigationForColorsonic.vue?dd9d","webpack://wsf-master-oap/./src/Feature/OapPageNavigation/index.js","webpack://wsf-master-oap/./src/Feature/OapPopin/code/Scripts/components/OapPopin.vue","webpack://wsf-master-oap/./src/Feature/OapFocusTrap/code/Scripts/components/OapFocusTrap.vue","webpack://wsf-master-oap/./src/Feature/OapFocusTrap/code/Scripts/components/OapFocusTrap.vue?c6ed","webpack://wsf-master-oap/./src/Feature/OapPopin/code/Scripts/components/OapPopin.vue?f409","webpack://wsf-master-oap/./src/Feature/OapPopin/index.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/utilities/globalResizeObserver.js","webpack://wsf-master-oap/./src/Feature/OapPromoBar/code/Scripts/settings.js","webpack://wsf-master-oap/./src/Feature/OapPromoBar/code/Scripts/components/oap-promo-bar.vue","webpack://wsf-master-oap/./src/Feature/OapPromoBar/code/Scripts/components/oap-promo-bar.vue?eb16","webpack://wsf-master-oap/./src/Feature/OapPromoBar/index.js","webpack://wsf-master-oap/./src/Feature/OapSlider/code/Scripts/components/OapSlider.vue","webpack://wsf-master-oap/./src/Feature/OapSlider/code/Scripts/components/OapSlider.vue?c6c3","webpack://wsf-master-oap/./src/Feature/OapSlider/index.js","webpack://wsf-master-oap/./src/Feature/OapStrikethroughScrolling/code/Scripts/components/OapStrikethroughScrolling.vue","webpack://wsf-master-oap/./src/Feature/OapStrikethroughScrolling/code/Scripts/components/OapStrikethroughScrolling.vue?04eb","webpack://wsf-master-oap/./src/Feature/OapStrikethroughScrolling/index.js","webpack://wsf-master-oap/./src/Feature/OneTrust/code/Scripts/components/OneTrustCookieHelper.vue","webpack://wsf-master-oap/./src/Feature/OneTrust/code/Scripts/components/OneTrustCookieHelper.vue?9ffc","webpack://wsf-master-oap/./src/Feature/OneTrust/index.js","webpack://wsf-master-oap/./src/Feature/Overlay/code/Scripts/components/overlay.vue","webpack://wsf-master-oap/./src/Feature/Overlay/code/Scripts/components/overlay.vue?552f","webpack://wsf-master-oap/./src/Feature/Overlay/index.js","webpack://wsf-master-oap/./src/Feature/PageContentExt/code/Scripts/components/article-share-item.vue","webpack://wsf-master-oap/./src/Feature/PageContentExt/code/Scripts/components/article-share-item.vue?15a2","webpack://wsf-master-oap/./src/Feature/PageContentExt/code/Scripts/components/cookie-banner.vue","webpack://wsf-master-oap/./src/Feature/PageContentExt/code/Scripts/components/cookie-banner.vue?ec89","webpack://wsf-master-oap/./src/Feature/PageContentExt/index.js","webpack://wsf-master-oap/./src/Feature/SearchSuggestions/code/Scripts/Components/search-suggestions.vue","webpack://wsf-master-oap/./src/Feature/SearchSuggestions/code/Scripts/Components/search-suggestions.vue?b126","webpack://wsf-master-oap/./src/Feature/SearchSuggestions/index.js","webpack://wsf-master-oap/./src/Feature/Search/code/Scripts/Directives/search.js","webpack://wsf-master-oap/./src/Feature/Search/index.js","webpack://wsf-master-oap/./src/Feature/Slider/code/Scripts/components/slider.vue","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/scroller/scroller.vue","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/scroller/scroller.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/scroller/scroller.vue?fc62","webpack://wsf-master-oap/./src/Feature/Slider/code/Scripts/components/slider.vue?18ff","webpack://wsf-master-oap/./src/Feature/Slider/index.js","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/video-placeholder.vue","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/settings/index.js","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/mixins/setupYouTube.js","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/mixins/tryPlayVideo.js","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/mixins/setupPlayerAndBindToEvents.js","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/video-placeholder.vue?eaa5","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/video-placeholder-fullpage.vue","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/mixins/toggleVideoPopin.js","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/video-placeholder-fullpage.vue?e981","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/video-placeholder-wrapper.vue","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/video-placeholder-transcript.vue","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/video-placeholder-transcript.vue?1fd8","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/video-placeholder-wrapper.vue?31e4","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/video-placeholder-tiktok.vue","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/video-placeholder-tiktok.vue?ac5a","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/OapVideoPopin.vue","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/code/Scripts/components/OapVideoPopin.vue?e1cb","webpack://wsf-master-oap/./src/Feature/VideoPlaceholder/index.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/accessibilityStore/accessibilityStore.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/AnalyticsHandler.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/directives/getValueFromSelector.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/directives/getValue.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/directives/getTagValues.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/directives/createDataObjectBasedOnDom.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/directives/handleEvent.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/directives/tag.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/errors/analyticsError.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/ConditionalEventObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/utils/analyticsUtils.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/DataObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/NonInteractiveEventObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/ProductClickObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/ProductImpressionObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/ProductObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/PromotionClickObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/PromotionObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/ProductVariantClickObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/PromotionImpressionObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/AddToCartObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/SocialIntEventObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/TaggingTypes.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/UserActionEventObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/models/VtoDetailObject.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/analyticsHandler/utils/analyticsLogger.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/animateOnInview/animateOnInview.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/background/background.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/bus/bus.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/loadscript/loadscript.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/navigation-height/navigation-height.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/toggle-class/toggle-class.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/env/env.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/loadscript/injectscript.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/userInteraction/userInteraction.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/lazy-script/lazy-script.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/svgHandler/svgA11yHandler.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/mixins/parseURL/parseURL.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/srcset/srcset.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/imageloaded/imageloaded.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/helpers/recommendedProducts.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/faqToggleActive/faqToggleActive.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/animateOnScroll/animateOnScroll.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/changeStyleOnHover/changeStyleOnHover.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/clickextension/clickextension.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/sticky-offset/sticky-offset.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/view-position-helper/view-position-helper.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/is-intersecting-x/is-intersecting-x.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/gifA11y/gifA11y.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/resize-listener/resize-listener.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/scrollIntoView/scrollIntoView.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/scrollVisibilityTracker/scrollVisibilityTracker.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/toggleAnimationWithEvent/toggle-animation-with-event.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/toolbar-tabs/toolbar-tabs.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/collapsible-list/collapsible-list.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/selectbox/selectbox.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/form-modifier/form-modifier.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/showOnCookieExpiration/show-on-cookie-expiration.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/anchorTo/anchorTo.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/directives/highlighted-products/highlighted-products.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/inputHandler/InputHandler.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/wsf/wsf.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/OapVideo/OapVideo.vue","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/OapVideo/OapVideo.vue?a588","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/OapLightningoutScheduler/OapLightningoutScheduler.vue","webpack://wsf-master-oap/./src/Feature/OapPopup/code/Scripts/components/OapPopup.vue","webpack://wsf-master-oap/./src/Feature/OapPopup/code/Scripts/components/OapPopup.vue?bd90","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/OapLightningoutScheduler/OapLightningoutScheduler.vue?2d49","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/taggingWrapper/taggingWrapper.vue","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/taggingWrapper/taggingWrapper.vue?f293","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/ReadMoreLess/ReadMoreLess.vue","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/ReadMoreLess/ReadMoreLess.vue?6e3c","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/ThirdPartyLoader/third-party-loader.vue","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/loadscript/loadscript.vue","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/loadscript/loadscript.vue?b784","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/ThirdPartyLoader/third-party-loader.vue?5f00","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/storage/index.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/index.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/mixins/fetchData/fetchData.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/mqHandler/MqHandler.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/sitecore/SitecoreVueAdapter.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/utilities/helpers.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/utilities/inViewport.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/utilities/isSafari.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/utilities/isInstagram.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/utilities/scrollElementIntoView.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/utilities/urlHasKey.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/utilities/intersectionViewportObserver.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/utilities/isVisible.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/utilities/makeVideoAccessible.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/utilities/timing.js","webpack://wsf-master-oap/./src/Foundation/Core/code/Scripts/utilities/uniqueId.js","webpack://wsf-master-oap/./src/Project/OAP/code/Scripts/pages/haircare-diag/entry.js","webpack://wsf-master-oap/./src/Feature/Modal/code/Scripts/components/modal.vue","webpack://wsf-master-oap/./src/Feature/Modal/code/Scripts/components/modal.vue?9149","webpack://wsf-master-oap/./src/Feature/Navigation/code/Scripts/components/collapsable.vue","webpack://wsf-master-oap/./src/Feature/Navigation/code/Scripts/components/collapsable.vue?62a7","webpack://wsf-master-oap/./src/Feature/OapCardPopin/code/Scripts/components/OapCardPopin.vue","webpack://wsf-master-oap/./src/Feature/OapCardPopin/code/Scripts/components/OapCardPopin.vue?e15f","webpack://wsf-master-oap/./src/Feature/OapIframe/code/Scripts/components/oap-iframe.vue","webpack://wsf-master-oap/./src/Feature/OapIframe/code/Scripts/components/oap-iframe.vue?1bab","webpack://wsf-master-oap/./src/Project/OAP/code/Icons/ sync \\.svg$","webpack://wsf-master-oap/external var \"Vue\"","webpack://wsf-master-oap/webpack/bootstrap","webpack://wsf-master-oap/webpack/runtime/async module","webpack://wsf-master-oap/webpack/runtime/chunk loaded","webpack://wsf-master-oap/webpack/runtime/compat get default export","webpack://wsf-master-oap/webpack/runtime/define property getters","webpack://wsf-master-oap/webpack/runtime/ensure chunk","webpack://wsf-master-oap/webpack/runtime/get javascript chunk filename","webpack://wsf-master-oap/webpack/runtime/get mini-css chunk filename","webpack://wsf-master-oap/webpack/runtime/global","webpack://wsf-master-oap/webpack/runtime/hasOwnProperty shorthand","webpack://wsf-master-oap/webpack/runtime/load script","webpack://wsf-master-oap/webpack/runtime/make namespace object","webpack://wsf-master-oap/webpack/runtime/publicPath","webpack://wsf-master-oap/webpack/runtime/jsonp chunk loading","webpack://wsf-master-oap/webpack/startup"],"sourcesContent":["<template>\r\n  <ul\r\n    v-if=\"show\"\r\n    :class=\"[\r\n      `oap-carousel-controls`,\r\n      type && `oap-carousel-controls--type-${type}`,\r\n      layout && `oap-carousel-controls--layout-${layout}`,\r\n    ]\"\r\n  >\r\n    <template v-if=\"type === 'dots'\">\r\n      <li\r\n        v-for=\"({ id }, index) in items\"\r\n        :key=\"id\"\r\n        :class=\"['oap-carousel-controls__item', intersectingItemIndex === index && '--active']\"\r\n      >\r\n        <a\r\n          v-if=\"id\"\r\n          :href=\"`#${id}`\"\r\n          :aria-current=\"intersectingItemIndex === index\"\r\n          :aria-label=\"setAriaLabel(index)\"\r\n          class=\"oap-carousel-controls__dot\"\r\n        ></a>\r\n      </li>\r\n    </template>\r\n\r\n    <template v-if=\"type === 'arrows'\">\r\n      <li class=\"oap-carousel-controls__item\">\r\n        <button :disabled=\"!prevItem\" class=\"oap-carousel-controls__arrow\" @click=\"scrollToPrev\">\r\n          <span class=\"is-sr-only\">{{ prevLabel }}</span>\r\n          <svg class=\"icon\" aria-hidden=\"true\">\r\n            <use xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"#arrow-prev\" />\r\n          </svg>\r\n        </button>\r\n      </li>\r\n      <li class=\"oap-carousel-controls__item\">\r\n        <button :disabled=\"!nextItem\" class=\"oap-carousel-controls__arrow\" @click=\"scrollToNext\">\r\n          <span class=\"is-sr-only\">{{ nextLabel }}</span>\r\n          <svg class=\"icon\" aria-hidden=\"true\">\r\n            <use xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"#arrow-next\" />\r\n          </svg>\r\n        </button>\r\n      </li>\r\n    </template>\r\n  </ul>\r\n</template>\r\n\r\n<script>\r\nimport { AnalyticsHandler, debounce, inViewport } from '@Foundation';\r\n\r\nlet observer;\r\nlet parentElement;\r\n\r\nconst COMPARISON_GRID_CONTROL = 'comparisonGrid__control';\r\n\r\nexport default {\r\n  name: 'OapCarouselControls',\r\n\r\n  props: {\r\n    itemSelector: { type: String, required: true },\r\n    scrollContainerSelector: { type: String, default: '.oap-slider__list' },\r\n    mediaQueryList: { type: String, default: '(min-width: 0px)' },\r\n    mobileScreenWidthEnd: { type: Number, default: 511 },\r\n    type: { type: String, default: 'dots' },\r\n    layout: { type: String, default: '' },\r\n    ariaLabel: { type: String, default: '' },\r\n    nextLabel: { type: String, default: 'Next card' },\r\n    prevLabel: { type: String, default: 'Previous card' },\r\n    isInComparisonGrid: { type: Boolean, default: false },\r\n    forceMobile: { type: Boolean, default: false },\r\n    analytics: { type: Object, default: () => {} },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      show: false,\r\n      items: null,\r\n      scrollContainer: null,\r\n      currentActiveItemIndex: 0,\r\n      intersectingItemIndex: 0,\r\n    };\r\n  },\r\n\r\n  computed: {\r\n    prevItem() {\r\n      return this.items[this.currentActiveItemIndex - 1];\r\n    },\r\n\r\n    nextItem() {\r\n      if (this.isCurrentItemInViewport) {\r\n        // if current item is in the viewport, decrement the next arrow click\r\n        // so no need to click next button for last 2 iterations\r\n        if (this.currentActiveItemIndex < this.items.length - 2) {\r\n          return this.items[this.currentActiveItemIndex + 1];\r\n        }\r\n        return null;\r\n      } else {\r\n        return this.items[this.currentActiveItemIndex + 1];\r\n      }\r\n    },\r\n\r\n    isCurrentItemInViewport() {\r\n      return inViewport(this.items[this.currentActiveItemIndex]);\r\n    },\r\n\r\n    scrollItemsWidth() {\r\n      return this.getItems().reduce(\r\n        (previousValue, currentValue) => previousValue + currentValue.clientWidth,\r\n        0\r\n      );\r\n    },\r\n\r\n    isMobile() {\r\n      return window.innerWidth <= this.mobileScreenWidthEnd;\r\n    },\r\n\r\n    scrollContainerPadding() {\r\n      const element = this.$parent.$el.querySelector(this.scrollContainerSelector);\r\n      const style = window.getComputedStyle(element);\r\n      return parseInt(style.paddingLeft);\r\n    },\r\n  },\r\n\r\n  watch: {\r\n    show(isShown) {\r\n      if (this.isInComparisonGrid) {\r\n        isShown ? this.addComparisonGridClass() : this.removeComparisonGridClass();\r\n      }\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    this.items = this.getItems();\r\n\r\n    this.scrollContainer = parentElement.querySelector(this.scrollContainerSelector);\r\n\r\n    if (this.items && this.items.length > 1) {\r\n      if (this.type === 'dots') {\r\n        observer = new IntersectionObserver(this.updateIntersectingItemIndex, { threshold: 0.9 });\r\n      }\r\n\r\n      const mql = window.matchMedia(this.mediaQueryList);\r\n      this.toggleControls(mql);\r\n      mql.addEventListener('change', this.toggleControls);\r\n    }\r\n\r\n    if (this.isInComparisonGrid) {\r\n      this.handleResize();\r\n      window.addEventListener('resize', debounce(this.handleResize, 250));\r\n    }\r\n  },\r\n\r\n  beforeUnmount() {\r\n    if (this.isInComparisonGrid) {\r\n      window.removeEventListener('resize', this.handleResize);\r\n    }\r\n  },\r\n\r\n  methods: {\r\n    getItems() {\r\n      parentElement = this.$el.parentElement || document;\r\n\r\n      return Array.from(parentElement.querySelectorAll(this.itemSelector));\r\n    },\r\n\r\n    pushAnalytics() {\r\n      if (this.analytics) {\r\n        AnalyticsHandler.getAnalyticsHandler().push({\r\n          type: 'userActionEvent',\r\n          event_name: this.analytics.event_name,\r\n          action: this.analytics.action,\r\n          category: this.analytics.category,\r\n          label: this.analytics.label,\r\n          product_info: this.analytics.product_info,\r\n        });\r\n      }\r\n    },\r\n\r\n    scrollToPrev() {\r\n      if (this.prevItem) {\r\n        if (this.forceMobile && !this.isMobile) {\r\n          this.setSliderStyleLeft(this.prevItem);\r\n        } else {\r\n          this.setSliderScrollLeft(this.prevItem);\r\n        }\r\n\r\n        this.currentActiveItemIndex--;\r\n\r\n        if (this.currentActiveItemIndex === 0) {\r\n          if (this.forceMobile && !this.isMobile) {\r\n            this.scrollContainer.style.left = 0;\r\n          } else {\r\n            this.scrollContainer.scrollLeft = -document.querySelector(this.itemSelector).offsetLeft;\r\n          }\r\n        }\r\n      }\r\n    },\r\n\r\n    scrollToNext() {\r\n      if (this.nextItem) {\r\n        if (this.forceMobile && !this.isMobile) {\r\n          this.setSliderStyleLeft(this.nextItem);\r\n        } else {\r\n          this.setSliderScrollLeft(this.nextItem);\r\n        }\r\n        this.currentActiveItemIndex++;\r\n      }\r\n\r\n      this.pushAnalytics();\r\n    },\r\n\r\n    setAriaLabel(index) {\r\n      return `${this.ariaLabel} ${parseInt(index) + 1}`;\r\n    },\r\n\r\n    toggleControls({ matches }) {\r\n      this.show = matches;\r\n      if (this.type === 'dots') {\r\n        this.show ? this.startObserver() : this.stopObserver();\r\n      }\r\n    },\r\n\r\n    updateIntersectingItemIndex([e]) {\r\n      if (e.isIntersecting) {\r\n        this.intersectingItemIndex = this.items.indexOf(e.target);\r\n      }\r\n    },\r\n\r\n    startObserver() {\r\n      this.items.forEach((item) => {\r\n        observer.observe(item);\r\n      });\r\n    },\r\n\r\n    stopObserver() {\r\n      this.items.forEach((item) => {\r\n        observer.unobserve(item);\r\n      });\r\n    },\r\n\r\n    handleResize() {\r\n      this.show = this.isMobile && this.scrollItemsWidth > window.innerWidth;\r\n    },\r\n\r\n    addComparisonGridClass() {\r\n      document\r\n        .querySelector(this.scrollContainerSelector)\r\n        .parentElement.classList.add(COMPARISON_GRID_CONTROL);\r\n    },\r\n\r\n    removeComparisonGridClass() {\r\n      document\r\n        .querySelector(this.scrollContainerSelector)\r\n        .parentElement.classList.remove(COMPARISON_GRID_CONTROL);\r\n    },\r\n\r\n    setSliderStyleLeft(item) {\r\n      this.scrollContainer.style.left = `-${\r\n        item.offsetLeft - (this.layout === 'centered' ? this.scrollContainerPadding : 0)\r\n      }px`;\r\n    },\r\n\r\n    setSliderScrollLeft(item) {\r\n      this.scrollContainer.scrollTo({\r\n        left: `${item.offsetLeft - (this.layout === 'centered' ? this.scrollContainerPadding : 0)}`,\r\n      });\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./OapCarouselControls.vue?vue&type=template&id=a77a52a8\"\nimport script from \"./OapCarouselControls.vue?vue&type=script&lang=js\"\nexport * from \"./OapCarouselControls.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import OapCarouselControls from './code/Scripts/components/OapCarouselControls.vue';\r\n\r\nexport default {\r\n  components: {\r\n    OapCarouselControls,\r\n  },\r\n};\r\n","export const HERO_VIDEO_UPDATE = 'hero-video::update';\r\nexport const HERO_VIDEO_PAUSE = 'hero-video::pause';\r\nexport const HERO_VIDEO_TOGGLE_PLAYING = 'hero-video::toggle-playing';\r\nexport const HERO_VIDEO_BACKGROUND_PLAYING = 'hero-video::background-playing';\r\n","<!-- eslint-disable vue/no-v-html -->\r\n<template>\r\n  <div class=\"footerNewsletterSignUpModal\">\r\n    <modal :modalidentifier=\"modalId\">\r\n      <div class=\"footerNewsletterSignUpModal__header\">\r\n        <p class=\"footerNewsletterSignUpModal__title\">{{ modalTitle }}</p>\r\n      </div>\r\n      <div v-if=\"!modalLoaded\" class=\"footerNewsletterSignUpModal__loading\"><OapLoader /></div>\r\n      <div v-if=\"isSubmited && modalLoaded\" class=\"footerNewsletterSignUpModal__feedback\">\r\n        <div class=\"footerNewsletterSignUpModal__feedback-text\" v-html=\"feedbackContent\"></div>\r\n        <a :href=\"feedbackBtnLink\" class=\"button -secondary\">{{ feedbackBtn }}</a>\r\n      </div>\r\n      <div v-else ref=\"modalGf\" @click=\"onModalGfLoad\" @keyup.enter=\"onModalGfLoad\">\r\n        <slot v-if=\"modalLoaded\" name=\"generic-form\"></slot>\r\n      </div>\r\n    </modal>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport modal from '../../../../Modal/code/Scripts/components/modal.vue';\r\nimport OapLoader from '../../../../OapLoader/code/Scripts/components/OapLoader.vue';\r\n\r\nexport default {\r\n  name: 'FooterNewsletterSignupModal',\r\n  components: {\r\n    modal,\r\n    OapLoader,\r\n  },\r\n  props: {\r\n    title: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    feedbackTitle: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    feedbackContent: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    feedbackBtn: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    feedbackBtnLink: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      modalId: 'footerNewsletterSignUp',\r\n      isSubmited: false,\r\n      modalLoaded: false,\r\n      firstNameVal: '',\r\n      lastNameVal: '',\r\n      emailVal: '',\r\n    };\r\n  },\r\n  computed: {\r\n    modalTitle() {\r\n      return this.isSubmited ? this.feedbackTitle : this.title;\r\n    },\r\n  },\r\n  mounted() {\r\n    this.onFooterGFSubmitted();\r\n    eventBus.on('modal:closed', (modalId) => {\r\n      if (this.modalId === modalId) {\r\n        this.resetFooterForm();\r\n      }\r\n    });\r\n  },\r\n  destroyed() {\r\n    document.removeEventListener('click');\r\n  },\r\n  methods: {\r\n    openModal() {\r\n      eventBus.on('form:success', () => {\r\n        eventBus.emit('modal:footerNewsletterSignUp');\r\n        this.getFilledInfo();\r\n        setTimeout(() => {\r\n          this.modalLoaded = true;\r\n        }, 800);\r\n      });\r\n    },\r\n    onFooterGFSubmitted() {\r\n      let footerFormBtn = document.querySelector('.--footerNewsletterSignUp .generic-form__submit');\r\n      if (footerFormBtn) {\r\n        footerFormBtn.addEventListener('click', () => {\r\n          this.openModal();\r\n        });\r\n      }\r\n    },\r\n    onModalGfLoad() {\r\n      this.setHiddenFieldsVals();\r\n      eventBus.on('form:success', () => {\r\n        this.modalLoaded = false;\r\n        setTimeout(() => {\r\n          this.isSubmited = true;\r\n        }, 800);\r\n      });\r\n    },\r\n    resetFooterForm() {\r\n      setTimeout(() => {\r\n        location.reload();\r\n      }, 100);\r\n    },\r\n    getFilledInfo() {\r\n      let footerForm = document.querySelector('.--footerNewsletterSignUp');\r\n      let firstNVal = footerForm.querySelector('.fisrtnameInput input');\r\n      let lastNVal = footerForm.querySelector('.lastnameInput input');\r\n      let emailVal = footerForm.querySelector('.emailInput input');\r\n      if (firstNVal && lastNVal && emailVal) {\r\n        this.firstNameVal = firstNVal.value;\r\n        this.lastNameVal = lastNVal.value;\r\n        this.emailVal = emailVal.value;\r\n      }\r\n    },\r\n    setHiddenFieldsVals() {\r\n      let modalForm = document.querySelector('.--footerNewsletterSignUpModal');\r\n      let firstN = modalForm.querySelector('.fisrtnameInput input');\r\n      let lastN = modalForm.querySelector('.lastnameInput input');\r\n      let email = modalForm.querySelector('.emailInput input');\r\n\r\n      if (firstN && lastN && email) {\r\n        firstN.value = this.firstNameVal;\r\n        lastN.value = this.lastNameVal;\r\n        email.value = this.emailVal;\r\n\r\n        let data = { firstName: firstN, lastName: lastN, email: email };\r\n        eventBus.$emit('setHiddenFieldsVals', data);\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","<template>\r\n  <svg\r\n    width=\"29px\"\r\n    height=\"29px\"\r\n    viewBox=\"0 0 29 29\"\r\n    version=\"1.1\"\r\n    xmlns=\"http://www.w3.org/2000/svg\"\r\n    xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n    aria-hidden=\"true\"\r\n    class=\"oap-loader__icon\"\r\n  >\r\n    <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\r\n      <g transform=\"translate(2.000000, 2.000000)\">\r\n        <path\r\n          id=\"backPath\"\r\n          d=\"M7.5 25.4999V7.99988L19 7.99993C19 7.99993 23.5 8 23.5 13C23.5 13 23.5 17 18.5 17H7.5H17.5L22.5 24\"\r\n          stroke=\"#000\"\r\n          stroke-width=\"2.5\"\r\n          transform=\"translate(-1.8, -2)\"\r\n        />\r\n        <path\r\n          id=\"animatedPath\"\r\n          d=\"M7.5 25.4999V7.99988L19 7.99993C19 7.99993 23.5 8 23.5 13C23.5 13 23.5 17 18.5 17H7.5H17.5L22.5 24\"\r\n          stroke=\"#f2cd95\"\r\n          stroke-width=\"2.5\"\r\n          transform=\"translate(-1.8, -2)\"\r\n        />\r\n        <circle\r\n          id=\"backCircle\"\r\n          stroke-width=\"2.2\"\r\n          stroke-dasharray=\"80 80\"\r\n          stroke=\"#000000\"\r\n          cx=\"12.5\"\r\n          cy=\"12.5\"\r\n          r=\"12.5\"\r\n          transform=\"rotate(-90, 12.5, 12.5)\"\r\n        />\r\n        <circle\r\n          id=\"animatedCircle\"\r\n          stroke-width=\"2.2\"\r\n          stroke-dasharray=\"78.0337 78.0337\"\r\n          stroke=\"#f2cd95\"\r\n          cx=\"12.5\"\r\n          cy=\"12.5\"\r\n          r=\"12.5\"\r\n          transform=\"rotate(-90, 12.5, 12.5)\"\r\n        />\r\n      </g>\r\n    </g>\r\n  </svg>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n  name: 'OapLoader',\r\n};\r\n</script>\r\n","import { render } from \"./OapLoader.vue?vue&type=template&id=2a769f22\"\nimport script from \"./OapLoader.vue?vue&type=script&lang=js\"\nexport * from \"./OapLoader.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./footer-newsletter-signup-modal.vue?vue&type=template&id=d098aa28\"\nimport script from \"./footer-newsletter-signup-modal.vue?vue&type=script&lang=js\"\nexport * from \"./footer-newsletter-signup-modal.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import FooterNewsletterSignupModal from './code/Scripts/Components/footer-newsletter-signup-modal.vue';\r\n\r\nexport default {\r\n  components: {\r\n    FooterNewsletterSignupModal,\r\n  },\r\n};\r\n","<template>\r\n  <form\r\n    :id=\"formId\"\r\n    ref=\"form\"\r\n    :action=\"formAction\"\r\n    :class=\"['generic-form', cssClassForm]\"\r\n    :name=\"formId\"\r\n    novalidate\r\n    @submit.prevent=\"submitEvent\"\r\n  >\r\n    <!-- Header -->\r\n    <slot v-if=\"$slots.header\" name=\"header\"></slot>\r\n\r\n    <!-- Row -->\r\n    <div class=\"generic-form__row\">\r\n      <!-- Sections / Columns -->\r\n      <section\r\n        v-for=\"(section, index) in validatedSections\"\r\n        v-show=\"!section.hidden\"\r\n        :key=\"index\"\r\n        class=\"generic-form__section\"\r\n      >\r\n        <!-- Section Title -->\r\n        <component :is=\"section.titleTag\" v-if=\"section.title\" class=\"generic-form__section-title\">\r\n          {{ section.title }}\r\n        </component>\r\n\r\n        <!-- Fields -->\r\n        <div\r\n          v-for=\"(field, fIndex) in section.fields\"\r\n          :key=\"fIndex\"\r\n          :class=\"field.cssClass\"\r\n          class=\"generic-form__field\"\r\n        >\r\n          <component\r\n            :is=\"typeMap[field.type]\"\r\n            v-model=\"formData[field.id]\"\r\n            v-bind=\"field\"\r\n            :readonly=\"field.readOnly\"\r\n            @reset-errors=\"resetErrors(field)\"\r\n          >\r\n            <template v-if=\"field.label\">\r\n              {{ field.label }}\r\n            </template>\r\n            <template v-if=\"field.helpText\" #helperText>\r\n              <div class=\"generic-form__helper-text\" v-html=\"field.helpText\"></div>\r\n            </template>\r\n          </component>\r\n        </div>\r\n\r\n        <!-- Subsections -->\r\n        <div class=\"generic-form__subsection\">\r\n          <div\r\n            v-for=\"(subSection, sIndex) in section.subSections\"\r\n            :key=\"sIndex\"\r\n            class=\"generic-form__wrapper\"\r\n            :class=\"subSection.cssClass\"\r\n          >\r\n            <component\r\n              :is=\"subSection.titleTag\"\r\n              v-if=\"subSection.title\"\r\n              class=\"generic-form__wrapper__title\"\r\n            >\r\n              {{ subSection.title }}\r\n            </component>\r\n\r\n            <p v-if=\"subSection.description\" class=\"generic-form__wrapper__description\">\r\n              {{ subSection.description }}\r\n            </p>\r\n            <div\r\n              v-for=\"(subSectionField, sFIndex) in subSection.fields\"\r\n              :key=\"sFIndex\"\r\n              :class=\"subSectionField.cssClass\"\r\n              class=\"generic-form__field\"\r\n            >\r\n              <component\r\n                :is=\"typeMap[subSectionField.type]\"\r\n                :model-value=\"formData[subSectionField.id]\"\r\n                :readonly=\"subSectionField.readOnly\"\r\n                v-bind=\"subSectionField\"\r\n                @update:modelValue=\"(newValue) => (formData[subSectionField.id] = newValue)\"\r\n                @reset-errors=\"resetErrors(subSectionField)\"\r\n              >\r\n                <template v-if=\"subSectionField.label\">\r\n                  {{ subSectionField.label }}\r\n                </template>\r\n                <template v-if=\"subSectionField.helpText\" #helperText>\r\n                  <div class=\"generic-form__helper-text\" v-html=\"subSectionField.helpText\"></div>\r\n                </template>\r\n              </component>\r\n            </div>\r\n          </div>\r\n        </div>\r\n      </section>\r\n    </div>\r\n\r\n    <!-- Footer -->\r\n    <slot v-if=\"$slots.footer\" name=\"footer\"></slot>\r\n\r\n    <div class=\"generic-form__control\">\r\n      <button\r\n        :class=\"['generic-form__submit', cssClassButton, submit.customClass]\"\r\n        :disabled=\"submitDisabled\"\r\n      >\r\n        <span class=\"oap-button__label\">\r\n          {{ buttonLabel }}\r\n        </span>\r\n      </button>\r\n    </div>\r\n\r\n    <!-- error messages -->\r\n    <ul\r\n      v-show=\"(errorMessageList && !showToasted) || (errorMessageList && forcedShowServerMessage)\"\r\n      aria-live=\"polite\"\r\n      class=\"generic-form__error-messages\"\r\n    >\r\n      <li v-for=\"(errors, $key) in errorMessageList\" :key=\"$key\" v-html=\"errors\"></li>\r\n    </ul>\r\n\r\n    <!--recapctha-->\r\n    <div v-if=\"hasRecaptcha\" class=\"generic-form__recaptcha generic-form__helper-text\">\r\n      <div v-if=\"hasRecaptcha\" class=\"recaptcha\" v-html=\"recaptcha.legalText\"></div>\r\n    </div>\r\n  </form>\r\n</template>\r\n<script>\r\nimport { recaptcha } from '../../../../../Foundation/Core/code/Scripts/mixins/recaptcha/recaptcha';\r\nimport { AnalyticsHandler } from '../../../../../Foundation/Core/code/Scripts';\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport GenericInput from './generic-input.vue';\r\nimport GenericOptions from './generic-options.vue';\r\nimport GenericDatepicker from './generic-datepicker.vue';\r\nimport GenericSelect from './generic-select.vue';\r\n\r\nexport default {\r\n  name: 'GenericForm',\r\n  mixins: [recaptcha],\r\n  props: {\r\n    data: {\r\n      type: Object,\r\n      required: true,\r\n    },\r\n    cssClassForm: {\r\n      type: String,\r\n      required: false,\r\n      default: '',\r\n    },\r\n    cssClassButton: {\r\n      type: String,\r\n      required: false,\r\n      default: 'button -secondary',\r\n    },\r\n    messageTiming: {\r\n      type: Number,\r\n      required: false,\r\n      default: 5,\r\n    },\r\n    isSingleNotification: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n  },\r\n  settings: {\r\n    toastNotificationEventName: 'oap-toast-notification:open',\r\n  },\r\n  data() {\r\n    return {\r\n      richTextError: undefined,\r\n      components: {\r\n        GenericInput,\r\n        GenericOptions,\r\n        GenericDatepicker,\r\n        GenericSelect,\r\n      },\r\n      errorMessageList: null,\r\n      formData: {},\r\n      isFormValid: true,\r\n      items: [],\r\n      typeMap: {},\r\n      object: {},\r\n      buttonLabel: null,\r\n      submitDisabled: false,\r\n      triggerErrorMessage: '',\r\n      isFirstError: true,\r\n    };\r\n  },\r\n  computed: {\r\n    formId() {\r\n      return this.object.formId;\r\n    },\r\n    recaptcha() {\r\n      return this.object.recaptcha;\r\n    },\r\n    hasRecaptcha() {\r\n      return this.object.recaptcha && this.object.recaptcha.hasRecaptcha;\r\n    },\r\n    submit() {\r\n      return this.object.submit;\r\n    },\r\n    formAction() {\r\n      return this.submit.apiUrl;\r\n    },\r\n    validatedSections: {\r\n      get: function () {\r\n        return this.object.sections;\r\n      },\r\n      set: function (nSections) {\r\n        this.object.sections = nSections;\r\n      },\r\n    },\r\n    showToasted() {\r\n      return !this.submit.successPage;\r\n    },\r\n    forcedShowServerMessage() {\r\n      return this.submit.forcedShowServerMessage;\r\n    },\r\n  },\r\n  watch: {\r\n    formData: {\r\n      handler() {\r\n        this.validateFormData(false);\r\n      },\r\n      deep: true,\r\n    },\r\n  },\r\n  created() {\r\n    this.loadTypeMap();\r\n    this.init();\r\n  },\r\n  mounted() {\r\n    /* istanbul ignore next */\r\n    if (this.hasRecaptcha) {\r\n      this.loadRecaptchaOnInput(this.$refs.form, this.recaptcha.siteKey);\r\n    }\r\n    if (this.object.forceValidation) {\r\n      this.validateFormData(true);\r\n    }\r\n    eventBus.on('setHiddenFieldsVals', (data) => {\r\n      this.checkHiddenFieldsVals(data);\r\n    });\r\n  },\r\n  destroyed() {\r\n    // here we return the initial value of the properties which will be used after re-renderin\r\n    this.data.sections.forEach((section) => {\r\n      section.fields.forEach((field) => {\r\n        field.edited = false;\r\n        field.errorMessages = [];\r\n      });\r\n    });\r\n  },\r\n\r\n  methods: {\r\n    loadTypeMap() {\r\n      const GENERIC_INPUT_TYPE = 'generic-input';\r\n      const GENERIC_OPTIONS_TYPE = 'generic-options';\r\n      const GENERIC_DATEPICKER_TYPE = 'generic-datepicker';\r\n      const GENERIC_SELECT_TYPE = 'generic-select';\r\n\r\n      this.typeMap = {\r\n        ...this.typeMap,\r\n        text: GENERIC_INPUT_TYPE,\r\n        email: GENERIC_INPUT_TYPE,\r\n        password: GENERIC_INPUT_TYPE,\r\n        textarea: GENERIC_INPUT_TYPE,\r\n        radio: GENERIC_OPTIONS_TYPE,\r\n        checkbox: GENERIC_OPTIONS_TYPE,\r\n        datepicker: GENERIC_DATEPICKER_TYPE,\r\n        dropdown: GENERIC_SELECT_TYPE,\r\n      };\r\n    },\r\n    init() {\r\n      this.object = this.data;\r\n      let fieldArray = [];\r\n\r\n      this.object.sections.forEach((section) => {\r\n        fieldArray = [].concat(section.fields, fieldArray);\r\n        section.fields.forEach((field) => {\r\n          this.fixFieldRequiredValidation(field);\r\n        });\r\n\r\n        if (section.subSections) {\r\n          section.subSections.forEach((subSection) => {\r\n            fieldArray = [].concat(subSection.fields, fieldArray);\r\n            subSection.fields.forEach((field) => {\r\n              this.fixFieldRequiredValidation(field);\r\n            });\r\n          });\r\n        }\r\n      });\r\n      this.items = Array.from(fieldArray);\r\n\r\n      //set button label\r\n      this.updateSubmitLabel(this.submit.submitReadonly ? this.submit.submitReadonly : false);\r\n    },\r\n    fixFieldRequiredValidation(field) {\r\n      this.formData[field.id] = null;\r\n\r\n      if (field.defaultValue) {\r\n        this.formData[field.id] = field.defaultValue;\r\n      }\r\n\r\n      //Get values from requiredValidation\r\n      if (field.requiredValidation) {\r\n        field.required = field.requiredValidation.isRequired;\r\n        field.requiredMessage = field.requiredValidation.message;\r\n      }\r\n\r\n      //Get datepicker specific validation values\r\n      if (field.type === 'datepicker') {\r\n        field.allDatesRequired = field.allFieldsRequired.isRequired;\r\n        field.missingDateMessage = field.allFieldsRequired.message;\r\n      }\r\n\r\n      //Get values from dateValidation\r\n      if (field.dateValidation) {\r\n        field.startYear = field.dateValidation.startYear;\r\n        field.minAge = field.dateValidation.minAge;\r\n        field.minAgeValidationMessage = field.dateValidation.minAgeValidationMessage;\r\n      }\r\n    },\r\n    getUserIdentifier(payload) {\r\n      const fieldIdentifier = this.items.find((field) => field.isUserId);\r\n      const userIdFromPayload = fieldIdentifier\r\n        ? payload.fields.find((field) => field.id == fieldIdentifier.id)\r\n        : null;\r\n\r\n      return userIdFromPayload ? userIdFromPayload.value : '';\r\n    },\r\n    async submitEvent() {\r\n      const payload = this.formatFormData(this.formData);\r\n\r\n      this.validateFormData(true);\r\n\r\n      if (!this.isFormValid) {\r\n        this.focusFirstInvalidField();\r\n        this.handlerAnalytics(this.data.submit.eventTagging, true);\r\n      } else {\r\n        this.errorMessageList = [];\r\n        this.updateSubmitLabel(true);\r\n\r\n        if (this.hasRecaptcha) {\r\n          payload.recaptchaToken = await this.generateToken(this.recaptcha.siteKey);\r\n        }\r\n\r\n        payload.userId = this.getUserIdentifier(payload);\r\n\r\n        payload.IsGpcEnabled = false;\r\n\r\n        if (window.OneTrust) {\r\n          payload.IsGpcEnabled =\r\n            navigator.globalPrivacyControl &&\r\n            window.OneTrust.GetDomainData().Groups.some((data) => data.IsGpcEnabled);\r\n        }\r\n\r\n        eventBus.emit('form:submitted');\r\n\r\n        /* istanbul ignore next */\r\n        fetch(this.formAction, {\r\n          method: 'POST',\r\n          headers: { 'Content-Type': 'application/json;charset=utf-8' },\r\n          credentials: 'same-origin',\r\n          body: JSON.stringify(payload),\r\n        })\r\n          .then(this.parseJSON)\r\n          .then((data) => {\r\n            if (data.success) {\r\n              eventBus.emit('form:success');\r\n              this.handlerAnalytics(this.data.submit.eventTagging);\r\n              this.updateSubmitLabel(false);\r\n              this.handleCCPAReturn(data.info);\r\n              this.handleSuccess(data.redirectUrl);\r\n\r\n              if (this.showToasted) {\r\n                eventBus.emit(this.$options.settings.toastNotificationEventName, {\r\n                  type: 'success',\r\n                  message: this.data.submit.successMessage,\r\n                  cta: this.data.submit.successCta,\r\n                });\r\n              }\r\n\r\n              return;\r\n            }\r\n            this.handleValidationErrorMessages(data);\r\n            this.updateSubmitLabel(false);\r\n            if (!data.success && this.showToasted) {\r\n              eventBus.emit(this.$options.settings.toastNotificationEventName, {\r\n                type: 'error',\r\n                message: this.data.submit.errorMessage,\r\n                cta: this.data.submit.errorCta,\r\n              });\r\n            }\r\n          })\r\n          .catch((error) => {\r\n            console.error('Could not load answer', error); // eslint-disable-line no-console\r\n            this.submitErrorMessages();\r\n            this.updateSubmitLabel(false);\r\n            if (this.showToasted) {\r\n              eventBus.emit(this.$options.settings.toastNotificationEventName, {\r\n                type: 'error',\r\n                message: this.data.submit.errorMessage,\r\n                cta: this.data.submit.errorCta,\r\n              });\r\n            }\r\n          });\r\n      }\r\n    },\r\n    submitErrorMessages() {\r\n      this.errorMessageList = [];\r\n      this.errorMessageList.push(this.submit.errorMessage);\r\n    },\r\n    handleValidationErrorMessages(data) {\r\n      const hasValidationErrors = data.validationMessages && data.validationMessages.length > 0;\r\n\r\n      if (hasValidationErrors) {\r\n        this.errorMessageList = [];\r\n\r\n        data.validationMessages.forEach((msg) => {\r\n          this.errorMessageList.push(msg);\r\n        });\r\n      } else {\r\n        this.submitErrorMessages();\r\n      }\r\n    },\r\n    formatFormData(formData) {\r\n      const mappedFields = [];\r\n\r\n      Object.keys(formData).forEach((key) => mappedFields.push({ id: key, value: formData[key] }));\r\n\r\n      return {\r\n        id: this.object.formId,\r\n        sitecoreContextItemId: this.object.sitecoreContextItemId,\r\n        fields: mappedFields,\r\n      };\r\n    },\r\n    parseJSON(response) {\r\n      return response.json();\r\n    },\r\n    handleSuccess(redirectPage) {\r\n      if (this.submit.successPage) {\r\n        window.location.href = redirectPage ? redirectPage : this.submit.successPage;\r\n      }\r\n    },\r\n    validateFormData(forceErrorVerification) {\r\n      if (!this.items) {\r\n        return;\r\n      }\r\n      this.isFirstError = true;\r\n      //reset form valid value\r\n      this.isFormValid = true;\r\n      //iterate all items\r\n      this.items.forEach((item) => {\r\n        this.validateFormItem(item, forceErrorVerification);\r\n      });\r\n    },\r\n    errorsBasedOnRegex(itemValue, item) {\r\n      if (!(item.validations && itemValue)) {\r\n        return [];\r\n      }\r\n\r\n      const errorMessages = [];\r\n      item.validations.forEach((validation) => {\r\n        const regexp = new RegExp(validation.regex);\r\n        if (!itemValue.match(regexp)) {\r\n          errorMessages.push(validation.message);\r\n        }\r\n      });\r\n\r\n      return errorMessages.length > 0 ? errorMessages : [];\r\n    },\r\n    errorsBasedOnEquality(itemValue, item) {\r\n      const hasEqualityCheck =\r\n        item.equalsValidation &&\r\n        item.equalsValidation['equalsTo'] &&\r\n        item.equalsValidation['message'] &&\r\n        item.equalsValidation['message'].length > 0;\r\n\r\n      if (!hasEqualityCheck) {\r\n        return [];\r\n      }\r\n\r\n      const referenceFieldId = item.equalsValidation['equalsTo'];\r\n      const referenceFieldValue = this.formData[referenceFieldId];\r\n      const valid = itemValue === referenceFieldValue;\r\n\r\n      return referenceFieldValue && !valid ? item.equalsValidation['message'] : [];\r\n    },\r\n    dateStringToObject(hasDateSelected, itemValue) {\r\n      if (!hasDateSelected) {\r\n        return false;\r\n      }\r\n      const dateValues = itemValue.split('/');\r\n      const month = parseInt(dateValues[0]),\r\n        day = parseInt(dateValues[1]),\r\n        year = parseInt(dateValues[2]);\r\n      return { day: day, month: month, year: year };\r\n    },\r\n    errorsForDatepicker(itemValue, item) {\r\n      if (item.type !== 'datepicker') {\r\n        return [];\r\n      }\r\n\r\n      const errorMessages = [];\r\n      const date = itemValue;\r\n      const validInputValue = (itemValue) => {\r\n        if (itemValue === null) return false;\r\n        if (typeof itemValue === 'string') return true;\r\n      };\r\n      const allDatesRequired =\r\n        item.allDatesRequired &&\r\n        item.missingDateMessage &&\r\n        item.pristine === false &&\r\n        !validInputValue(date);\r\n      const isRequired =\r\n        item.required && item.requiredMessage && item.edited && !validInputValue(date);\r\n      const hasAgeErrorVerification =\r\n        validInputValue(date) && item.minAge && item.minAge > 0 && item.minAgeValidationMessage;\r\n\r\n      if (isRequired) {\r\n        errorMessages.push(item.requiredMessage);\r\n      }\r\n\r\n      if (allDatesRequired) {\r\n        errorMessages.push(item.missingDateMessage);\r\n      }\r\n\r\n      if (hasAgeErrorVerification) {\r\n        const result = date.match(/[0-9]{2}([\\/])[0-9]{2}[\\/][0-9]{4}/);\r\n        let dateSplitted = {};\r\n        if (result) {\r\n          const split = result[0].split(result[1]);\r\n          dateSplitted.day = +split[1];\r\n          dateSplitted.month = +split[0];\r\n          dateSplitted.year = +split[2];\r\n        }\r\n        const calculatedYear = dateSplitted.year + item.minAge;\r\n        const calculatedMonth = dateSplitted.month - 1;\r\n        const currentDate = new Date();\r\n        const selectedDate = new Date(calculatedYear, calculatedMonth, dateSplitted.day);\r\n\r\n        if (currentDate.getTime() < selectedDate.getTime()) {\r\n          errorMessages.push(item.minAgeValidationMessage);\r\n        }\r\n      }\r\n\r\n      return errorMessages;\r\n    },\r\n    errorsForRequiredFields(itemValue, item) {\r\n      if (item.type === 'datepicker') {\r\n        return [];\r\n      }\r\n\r\n      const hasRequiredMessage = item.required && item.requiredMessage;\r\n      const isEmptyOrNull = !itemValue || itemValue.length === 0;\r\n\r\n      return item.edited && hasRequiredMessage && isEmptyOrNull ? item.requiredMessage : [];\r\n    },\r\n    resetErrors(fieldItem) {\r\n      if (!fieldItem.errorMessages.length) return;\r\n      this.items.forEach((item) => {\r\n        if (item.id !== fieldItem.id) return;\r\n        fieldItem.errorMessages.splice(0);\r\n      });\r\n    },\r\n    validateFormItem(item, forceErrorVerification) {\r\n      const itemValue = this.formData[item.id];\r\n\r\n      //force error verification\r\n      if (!item.edited) {\r\n        item.edited = forceErrorVerification;\r\n      }\r\n\r\n      const errorMessages = [].concat(\r\n        this.errorsBasedOnRegex(itemValue, item),\r\n        this.errorsBasedOnEquality(itemValue, item),\r\n        this.errorsForDatepicker(itemValue, item),\r\n        this.errorsForRequiredFields(itemValue, item)\r\n      );\r\n\r\n      item.errorMessages = errorMessages;\r\n\r\n      if (errorMessages && errorMessages.length) {\r\n        this.isFormValid = false;\r\n        if (this.isFirstError) {\r\n          this.triggerErrorMessage = errorMessages;\r\n          this.isFirstError = false;\r\n        }\r\n      }\r\n    },\r\n    async focusFirstInvalidField() {\r\n      this.$nextTick(() => {\r\n        const firstInvalidField = this.$refs.form.querySelectorAll('[aria-invalid=\"true\"]')[0];\r\n\r\n        if (firstInvalidField) {\r\n          firstInvalidField.focus();\r\n        }\r\n      });\r\n    },\r\n    updateSubmitLabel(start) {\r\n      this.buttonLabel = this.submit.submitReadonly\r\n        ? this.submit.label\r\n        : start && this.submit.requestLabel\r\n        ? this.submit.requestLabel\r\n        : this.submit.label;\r\n      this.submitDisabled = start;\r\n    },\r\n    handleCCPAReturn(info) {\r\n      if (this.isValidCcpaConsent(info)) {\r\n        var content = JSON.parse(info.ccpa);\r\n        content.forEach((consent) => {\r\n          let values = consent.value.split(',');\r\n          values.forEach((val) => {\r\n            window.OneTrust.UpdateConsent(consent.key, val);\r\n          });\r\n        });\r\n      }\r\n    },\r\n    isValidCcpaConsent(info) {\r\n      return window.OneTrust && window.OneTrust.UpdateConsent && info && info.ccpa;\r\n    },\r\n\r\n    handlerAnalytics(eventTagging, formError = false) {\r\n      if (!eventTagging) {\r\n        console.warn(`Form Event Tagging: Tagging object missing.`);\r\n        return;\r\n      }\r\n\r\n      const hasMissingProperties = ['category', 'action', 'label'].some(\r\n        (prop) => !Object.hasOwn(eventTagging, prop)\r\n      );\r\n\r\n      if (hasMissingProperties) {\r\n        console.warn(`Form Event Tagging: Some tagging properties are missing.`);\r\n        return;\r\n      }\r\n\r\n      const dataToSend = {\r\n        type: 'userActionEvent',\r\n        ecommerce: eventTagging.ecommerce ? eventTagging.ecommerce : 'undefined',\r\n        category: eventTagging.category,\r\n        action: eventTagging.action,\r\n        label: eventTagging.label,\r\n        requestType: eventTagging.requesttype,\r\n        event_name: eventTagging.name ? eventTagging.name : null,\r\n        referral: eventTagging.referral ? eventTagging.referral : null,\r\n      };\r\n\r\n      if (formError) {\r\n        dataToSend.label = this.triggerErrorMessage.length\r\n          ? this.triggerErrorMessage[0]\r\n          : 'The field is required';\r\n        delete dataToSend.requestType;\r\n      }\r\n\r\n      AnalyticsHandler.getAnalyticsHandler().push(dataToSend);\r\n    },\r\n    touchInput(field) {\r\n      field.edited = true;\r\n      field.pristine = false;\r\n    },\r\n    checkHiddenFieldsVals(data) {\r\n      let currentForm = this.formData;\r\n      let dataField = Object.values(data)[0];\r\n      const hasKey =\r\n        Object.keys(currentForm).length &&\r\n        Object.prototype.hasOwnProperty.call(currentForm, dataField.id);\r\n      if (hasKey) {\r\n        this.setHiddenFieldsVals(data);\r\n      }\r\n    },\r\n    setHiddenFieldsVals(data) {\r\n      // eslint-disable-next-line no-unused-vars\r\n      for (const [key, value] of Object.entries(data)) {\r\n        this.formData[value.id] = value.value;\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","const RECAPTHCA_URL = 'https://www.google.com/recaptcha/api.js';\r\n\r\nexport const recaptcha = {\r\n  name: 'recaptcha',\r\n  data() {\r\n    return {\r\n      recaptchaError: false,\r\n    };\r\n  },\r\n  methods: {\r\n    loadRecaptchaOnInput: (form, siteKey) => {\r\n      const loadScript = () => {\r\n        const script = document.createElement('script');\r\n        script.setAttribute('async', '');\r\n        script.setAttribute('defer', '');\r\n        script.id = 'recaptchaScript';\r\n        script.src = RECAPTHCA_URL;\r\n        script.src = `${RECAPTHCA_URL}?render=${siteKey}`;\r\n        document.getElementsByTagName('head')[0].appendChild(script);\r\n        form.removeEventListener('input', loadScript);\r\n      };\r\n      form.addEventListener('input', loadScript);\r\n    },\r\n    generateToken: (siteKey) => {\r\n      return new Promise((resolve) => {\r\n        if (!window.grecaptcha) {\r\n          resolve('');\r\n        }\r\n        window.grecaptcha.ready(function () {\r\n          window.grecaptcha.execute(siteKey, { action: 'submit' }).then(function (token) {\r\n            resolve(token);\r\n          });\r\n        });\r\n      });\r\n    },\r\n  },\r\n};\r\n","<template>\r\n  <div class=\"generic-input generic-form__component\" :class=\"computedClasses\">\r\n    <input\r\n      v-if=\"type !== 'textarea'\"\r\n      :id=\"id\"\r\n      ref=\"genericInput\"\r\n      :value=\"modelValue\"\r\n      class=\"generic-input__field\"\r\n      :type=\"type\"\r\n      :name=\"name\"\r\n      :aria-describedby=\"ariaDescriptionIds\"\r\n      :aria-invalid=\"materialHasErrors\"\r\n      :placeholder=\"placeholder\"\r\n      :disabled=\"disabled || readonly\"\r\n      :autocomplete=\"autocomplete\"\r\n      :required=\"required\"\r\n      :minlength=\"minlengthIfText\"\r\n      :maxlength=\"maxlengthIfText\"\r\n      @focus=\"handleFocus(true)\"\r\n      @blur=\"handleFocus(false)\"\r\n      @input=\"handleModelInput\"\r\n      @keydown.prevent.stop.enter=\"() => null\"\r\n    />\r\n    <textarea\r\n      v-else\r\n      :id=\"id\"\r\n      ref=\"genericInput\"\r\n      :value=\"modelValue\"\r\n      class=\"generic-input__field\"\r\n      :name=\"name\"\r\n      :placeholder=\"placeholder\"\r\n      :disabled=\"disabled || readonly\"\r\n      :autocomplete=\"autocomplete\"\r\n      :aria-invalid=\"materialHasErrors\"\r\n      :aria-describedby=\"ariaDescriptionIds\"\r\n      :required=\"required\"\r\n      :minlength=\"minlengthIfText\"\r\n      :maxlength=\"maxlengthIfText\"\r\n      @focus=\"handleFocus(true)\"\r\n      @blur=\"handleFocus(false)\"\r\n      @input=\"handleModelInput\"\r\n      @keydown.prevent.stop.enter=\"() => null\"\r\n    >\r\n    </textarea>\r\n\r\n    <template v-if=\"appendIcon?.enabled\">\r\n      <span v-if=\"type === 'email'\" class=\"generic-input__icon -email\" />\r\n      <button\r\n        v-if=\"type === 'password'\"\r\n        role=\"switch\"\r\n        class=\"generic-input__icon -password\"\r\n        :aria-label=\"passwordButtonAriaLabel\"\r\n        :aria-checked=\"type !== 'password'\"\r\n        @click.prevent=\"togglePassword\"\r\n        @keydown.self.prevent.stop.enter=\"togglePassword\"\r\n        @keydown.self.prevent.stop.space=\"togglePassword\"\r\n      />\r\n    </template>\r\n\r\n    <label v-show=\"isLabelVisible\" class=\"generic-form__label\" :for=\"id\">\r\n      <slot></slot><span v-if=\"required\" class=\"required\" aria-hidden=\"true\">*</span>\r\n    </label>\r\n\r\n    <div v-show=\"hasDescription\" :id=\"`description-${id}`\">\r\n      <div v-if=\"showErrors\" class=\"generic-errors\">\r\n        <div v-for=\"(error, key) in computedErrors\" :key=\"key\" class=\"generic-errors__item\">\r\n          {{ error }}\r\n        </div>\r\n      </div>\r\n      <slot name=\"helperText\"></slot>\r\n    </div>\r\n  </div>\r\n</template>\r\n\r\n<script setup>\r\ndefineEmits(['update:modelValue']);\r\n</script>\r\n\r\n<script>\r\nexport default {\r\n  name: 'GenericInput',\r\n  props: {\r\n    id: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    name: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    type: {\r\n      type: String,\r\n      default: 'text',\r\n    },\r\n    modelValue: {\r\n      default: null,\r\n      type: [Array, String],\r\n    },\r\n    label: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    placeholder: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    readonly: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    disabled: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    min: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    max: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    step: {\r\n      type: Number,\r\n      default: null,\r\n    },\r\n    minlength: {\r\n      type: Number,\r\n      default: null,\r\n    },\r\n    maxlength: {\r\n      type: Number,\r\n      default: null,\r\n    },\r\n    required: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    autocomplete: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    errorMessages: {\r\n      type: [Array, String],\r\n      default: null,\r\n    },\r\n    appendIcon: {\r\n      type: Object,\r\n      default: () => {},\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      interacted: false,\r\n      focus: false,\r\n      passwordButtonAriaLabel: this.appendIcon?.ariaLabel.primary,\r\n    };\r\n  },\r\n  computed: {\r\n    maxlengthIfText() {\r\n      return this.maxlength && this.type === 'text' ? this.maxlength : null;\r\n    },\r\n    minlengthIfText() {\r\n      return this.minlength && this.type === 'text' ? this.minlength : null;\r\n    },\r\n    ariaDescriptionIds() {\r\n      return this.hasDescription ? `description-${this.id}` : null;\r\n    },\r\n    hasDescription() {\r\n      return this.computedErrors || this.$slots.helperText;\r\n    },\r\n    computedErrors() {\r\n      return typeof this.errorMessages === 'string' ? [this.errorMessages] : this.errorMessages;\r\n    },\r\n    materialHasErrors() {\r\n      return Boolean(this.errorMessages && this.errorMessages.length);\r\n    },\r\n    computedClasses() {\r\n      return {\r\n        'generic--active': this.focus,\r\n        'generic--disabled': this.disabled,\r\n        'generic--readonly': this.readonly,\r\n        'generic--has-errors': this.showErrors,\r\n        'generic--raised': Boolean(\r\n          this.focus || this.modelValue || (this.placeholder && !this.modelValue)\r\n        ),\r\n      };\r\n    },\r\n    isLabelVisible() {\r\n      return Boolean(this.label != null && this.label !== '');\r\n    },\r\n    showErrors() {\r\n      return this.materialHasErrors;\r\n    },\r\n  },\r\n  methods: {\r\n    handleModelInput(event) {\r\n      this.$emit('update:modelValue', event.target.value);\r\n    },\r\n    handleFocus(focused) {\r\n      if (!focused) this.interacted = true;\r\n\r\n      this.focus = focused;\r\n    },\r\n    togglePassword(e) {\r\n      const passwordInput = document.getElementById(this.id);\r\n      if (passwordInput.type === 'password') {\r\n        passwordInput.type = 'text';\r\n        e.target.classList.add('-visible');\r\n        e.target.setAttribute('aria-checked', 'true');\r\n        this.passwordButtonAriaLabel = this.appendIcon.ariaLabel.secondary;\r\n      } else {\r\n        passwordInput.type = 'password';\r\n        e.target.classList.remove('-visible');\r\n        e.target.setAttribute('aria-checked', 'false');\r\n        this.passwordButtonAriaLabel = this.appendIcon.ariaLabel.primary;\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import script from \"./generic-input.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./generic-input.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<template>\r\n  <div\r\n    :ref=\"id\"\r\n    :class=\"['generic-dropdown-container generic-form__component generic-select', computedClasses]\"\r\n  >\r\n    <legend\r\n      v-if=\"inputLabel\"\r\n      :id=\"`generic-select__label--${id}`\"\r\n      :class=\"`generic-select__label generic-select__label--${id}`\"\r\n      :for=\"`select-${id}`\"\r\n    >\r\n      <span\r\n        >{{ inputLabel\r\n        }}<span v-if=\"inputLabel && required\" class=\"required\" aria-hidden=\"true\">*</span></span\r\n      >\r\n    </legend>\r\n\r\n    <div class=\"generic-select__dropdown\">\r\n      <div v-if=\"readonly\" class=\"read-only\">{{ defaultValue }}</div>\r\n\r\n      <template v-else>\r\n        <button\r\n          :id=\"`select-${id}`\"\r\n          ref=\"combobox\"\r\n          role=\"combobox\"\r\n          type=\"input\"\r\n          class=\"generic-select__combobox\"\r\n          :aria-controls=\"`generic-select__listbox--${id}`\"\r\n          :aria-expanded=\"expanded\"\r\n          aria-haspopup=\"listbox\"\r\n          :aria-describedby=\"descriptionId\"\r\n          :aria-label=\"inputLabel\"\r\n          :aria-activedescendant=\"activeDescendant\"\r\n          :aria-invalid=\"invalid\"\r\n          :aria-required=\"required\"\r\n          :required=\"required\"\r\n          :disabled=\"disabled\"\r\n          @focus=\"handleFocus($event, true)\"\r\n          @blur=\"handleFocus($event, false)\"\r\n          @click.prevent.self=\"handleExpand($event, true)\"\r\n          @keydown.space.prevent=\"handleExpand($event, true)\"\r\n          @keydown.enter.prevent=\"handleExpand($event, true)\"\r\n          @keydown.esc.prevent=\"handleExpand($event, false)\"\r\n          @keydown.down=\"navigateList\"\r\n          @keydown.up=\"navigateList\"\r\n          v-html=\"getSelectedOption\"\r\n        ></button>\r\n\r\n        <div\r\n          :id=\"`generic-select__listbox--${id}`\"\r\n          class=\"generic-select__listbox\"\r\n          role=\"listbox\"\r\n          :aria-labelledby=\"`generic-select__label--${id}`\"\r\n          tabindex=\"-1\"\r\n          @click.stop.prevent=\"handleOnChange($event, false)\"\r\n        >\r\n          <div class=\"generic-select__listbox-wrapper\">\r\n            <slot></slot>\r\n          </div>\r\n        </div>\r\n      </template>\r\n    </div>\r\n\r\n    <input type=\"hidden\" :name=\"inputName\" :value=\"selectedOptions\" />\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n  name: 'GenericDropdownContainer',\r\n};\r\n</script>\r\n\r\n<script setup>\r\nimport { ref, computed, onMounted } from 'vue';\r\n\r\nconst emit = defineEmits(['handleValidation', 'handleInput']);\r\n\r\nconst combobox = ref(null);\r\n\r\nconst props = defineProps({\r\n  id: {\r\n    type: String,\r\n    default: null,\r\n  },\r\n  inputName: {\r\n    type: String,\r\n    default: null,\r\n  },\r\n  inputLabel: {\r\n    type: String,\r\n    default: '',\r\n  },\r\n  defaultValue: {\r\n    type: String,\r\n    default: '',\r\n  },\r\n  readonly: {\r\n    type: Boolean,\r\n    default: false,\r\n  },\r\n  disabled: {\r\n    type: Boolean,\r\n    default: false,\r\n  },\r\n  required: {\r\n    type: Boolean,\r\n    default: true,\r\n  },\r\n  invalid: {\r\n    type: Boolean,\r\n    default: false,\r\n  },\r\n  descriptionId: {\r\n    type: [String, Object],\r\n    default: null,\r\n  },\r\n  customClass: {\r\n    type: String,\r\n    default: '',\r\n  },\r\n  hasErrors: {\r\n    type: Boolean,\r\n    default: false,\r\n  },\r\n  placeholder: {\r\n    type: String,\r\n    default: '',\r\n  },\r\n  type: {\r\n    type: String,\r\n    default: '',\r\n  },\r\n  selectedOptions: {\r\n    type: Array,\r\n    default: () => [],\r\n  },\r\n  multiSelect: {\r\n    type: Boolean,\r\n    default: false,\r\n  },\r\n  customSelectedLabel: {\r\n    type: String,\r\n    default: '',\r\n  },\r\n});\r\n\r\nconst expanded = ref(false);\r\nconst activeDescendant = ref(undefined);\r\nconst focus = ref(false);\r\nconst hadFocus = ref(false);\r\n\r\nconst computedClasses = computed(() => {\r\n  return {\r\n    'generic--active': focus.value,\r\n    'generic--disabled': props.disabled,\r\n    'generic--readonly': props.readonly,\r\n    'generic--has-errors': props.invalid || props.hasErrors,\r\n    'generic--raised': props.placeholder || hasSelectedOption.value,\r\n    'generic-select--not-selected': !hasSelectedOption.value,\r\n  };\r\n});\r\nconst hasSelectedOption = computed(() => {\r\n  return props.selectedOptions.length\r\n    ? props.selectedOptions.some((option) => option !== null && option !== '')\r\n    : false;\r\n});\r\nconst getSelectedOption = computed(() => {\r\n  return hasSelectedOption.value && !expanded.value\r\n    ? props.customSelectedLabel\r\n      ? props.customSelectedLabel\r\n      : props.selectedOptions.sort().join(', ')\r\n    : hasSelectedOption.value && expanded.value\r\n    ? ''\r\n    : props.placeholder\r\n    ? `<span class=\"generic-select__placeholder\">${props.placeholder}</span>`\r\n    : '';\r\n});\r\n\r\nfunction setGridStyle() {\r\n  if (!combobox.value) return '';\r\n  setTimeout(() => {\r\n    const hasMultipleChildren = combobox.value.children.length > 1;\r\n    if (hasMultipleChildren) {\r\n      combobox.value.style.gridTemplateColumns = '1.625rem auto';\r\n    } else {\r\n      combobox.value.style.gridTemplateColumns = 'auto';\r\n    }\r\n  }, 10);\r\n  setTimeout(() => {\r\n    Object.values(combobox.value.children).forEach((child) => (child.style.opacity = '1'));\r\n  }, 200);\r\n}\r\n\r\nasync function handleExpand(event, expand) {\r\n  const redundantBlur =\r\n    !expand && document.activeElement === event.target && event.key !== 'Escape';\r\n  if (redundantBlur) return;\r\n\r\n  const isKeyboardSelectAction =\r\n    expanded.value && event instanceof KeyboardEvent && event.key !== 'Escape';\r\n  const isKeyboardExpandAction = !expanded.value && event instanceof KeyboardEvent;\r\n  const { listBoxWrapper, firstOption, activeOption, focusedOption } = getOptions(event);\r\n\r\n  if (isKeyboardSelectAction) {\r\n    handleOnChange(event, true);\r\n    if (!props.multiSelect) {\r\n      expanded.value = false;\r\n      focusedOption?.classList.remove('-focused');\r\n    }\r\n  } else {\r\n    expanded.value = expand;\r\n    if (expand) {\r\n      event.target.focus();\r\n      await focusSelectedOption(event);\r\n      listBoxWrapper.scrollTop = activeOption\r\n        ? activeOption.offsetTop - 15\r\n        : firstOption.offsetTop - 15;\r\n    } else {\r\n      focusedOption?.classList.remove('-focused');\r\n      setTimeout(() => {\r\n        Object.values(combobox.value.children).forEach((child) => (child.style.opacity = '1'));\r\n      }, 10);\r\n    }\r\n  }\r\n}\r\n\r\nfunction handleFocus(event, focused) {\r\n  hadFocus.value = true;\r\n\r\n  if (focused) {\r\n    focus.value = true;\r\n  } else {\r\n    if (isMultiSelectClick(event)) {\r\n      focus.value = true;\r\n      event.target.focus();\r\n    } else {\r\n      focus.value = false;\r\n      emit('handleValidation');\r\n      setTimeout(() => {\r\n        handleExpand(event, false);\r\n      }, 250);\r\n    }\r\n  }\r\n}\r\n\r\nfunction isMultiSelectClick(event) {\r\n  const listboxId = event.target.parentElement\r\n    .querySelector('.generic-select__listbox')\r\n    .getAttribute('id');\r\n  const clickTargetId = event.relatedTarget?.getAttribute('id');\r\n  return props.multiSelect && clickTargetId === listboxId;\r\n}\r\n\r\nfunction focusSelectedOption(event, target) {\r\n  const { focusedOption, firstOption, activeOption } = getOptions(event);\r\n  focusedOption?.classList.remove('-focused');\r\n  if (target) {\r\n    target.classList.add('-focused');\r\n    setActiveDescendant(target);\r\n  } else if (activeOption) {\r\n    activeOption.classList.add('-focused');\r\n    setActiveDescendant(activeOption);\r\n  } else {\r\n    firstOption.classList.add('-focused');\r\n    setActiveDescendant(firstOption);\r\n  }\r\n}\r\n\r\nfunction setActiveDescendant(target) {\r\n  const optionId = target.getAttribute('id');\r\n  activeDescendant.value = optionId;\r\n}\r\n\r\nfunction navigateList(event) {\r\n  if (!expanded.value) return;\r\n  event.preventDefault();\r\n  const pressedKey = event.key;\r\n  const { firstOption, lastOption, focusedOption, listBoxWrapper, allChildren } = getOptions(event);\r\n  const isFirstOption = focusedOption === allChildren[0];\r\n  const isLastOption = focusedOption === allChildren[allChildren.length - 1];\r\n  const nextWrapper = focusedOption?.nextElementSibling;\r\n  const previousWrapper = focusedOption?.previousElementSibling;\r\n\r\n  if (!focusedOption) {\r\n    focusSelectedOption(event, firstOption);\r\n    listBoxWrapper.scrollTop = 15;\r\n    return;\r\n  }\r\n\r\n  switch (pressedKey) {\r\n    case 'ArrowDown':\r\n      if (isLastOption) {\r\n        focusSelectedOption(event, firstOption);\r\n        listBoxWrapper.scrollTop = 0;\r\n      } else {\r\n        focusSelectedOption(event, nextWrapper);\r\n        listBoxWrapper.scrollTop += focusedOption.offsetHeight;\r\n      }\r\n      break;\r\n    case 'ArrowUp':\r\n      if (isFirstOption) {\r\n        focusSelectedOption(event, lastOption);\r\n        listBoxWrapper.scrollTop = lastOption.offsetTop;\r\n      } else {\r\n        focusSelectedOption(event, previousWrapper);\r\n        listBoxWrapper.scrollTop -= focusedOption.offsetHeight;\r\n      }\r\n      break;\r\n    default:\r\n      focusSelectedOption(event, firstOption);\r\n      listBoxWrapper.scrollTop = 0;\r\n      break;\r\n  }\r\n}\r\n\r\nfunction collapseFromListbox(event) {\r\n  const focusedOption = event.target.querySelector('.-focused');\r\n  focusedOption?.classList.remove('-focused');\r\n  expanded.value = false;\r\n}\r\n\r\nfunction handleOnChange(event, isKeyboardEvent) {\r\n  if (event instanceof MouseEvent && event.target.classList.contains('generic-select__listbox')) {\r\n    collapseFromListbox(event);\r\n  } else {\r\n    emit('handleInput', event, isKeyboardEvent);\r\n  }\r\n}\r\n\r\nfunction getOptions(event) {\r\n  const targetElement = event.target;\r\n  const regex = /select-(.*)/;\r\n  const id = regex.exec(targetElement.id);\r\n  const listBox = document.getElementById(`generic-select__listbox--${id[1]}`);\r\n  const listBoxWrapper = listBox.querySelector('.generic-select__listbox-wrapper');\r\n  const allChildren = listBoxWrapper.children;\r\n  const firstOption = allChildren[0];\r\n  const lastOption = allChildren[allChildren.length - 1];\r\n  const activeOption = listBoxWrapper.querySelector('.-selected');\r\n  const focusedOption = listBoxWrapper.querySelector('.-focused');\r\n  return {\r\n    listBox,\r\n    listBoxWrapper,\r\n    allChildren,\r\n    firstOption,\r\n    lastOption,\r\n    activeOption,\r\n    focusedOption,\r\n  };\r\n}\r\n\r\nonMounted(() => {\r\n  setGridStyle();\r\n});\r\n\r\ndefineExpose({\r\n  combobox,\r\n  props,\r\n  expanded,\r\n  activeDescendant,\r\n  focus,\r\n  hadFocus,\r\n  computedClasses,\r\n  hasSelectedOption,\r\n  getSelectedOption,\r\n  handleExpand,\r\n  handleFocus,\r\n  isMultiSelectClick,\r\n  focusSelectedOption,\r\n  setActiveDescendant,\r\n  navigateList,\r\n  handleOnChange,\r\n  getOptions,\r\n  collapseFromListbox,\r\n  setGridStyle,\r\n});\r\n</script>\r\n","import script from \"./generic-dropdown-container.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./generic-dropdown-container.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<template>\r\n  <fieldset class=\"generic-options generic-form__component\" :class=\"computedClasses\">\r\n    <template v-if=\"displayType === 2\">\r\n      <GenericDropdownContainer\r\n        :id=\"id\"\r\n        :input-label=\"label\"\r\n        :disabled=\"disabled || readonly\"\r\n        :required=\"required\"\r\n        :readonly=\"readonly\"\r\n        :input-name=\"name\"\r\n        :type=\"type\"\r\n        :selected-options=\"getOptionsLabel\"\r\n        :multi-select=\"true\"\r\n        :has-errors=\"computedErrors?.length !== 0\"\r\n        :invalid=\"materialHasErrors\"\r\n        :description-id=\"ariaDescriptionIds\"\r\n        :helper-text=\"helpText\"\r\n        :placeholder=\"placeholder\"\r\n        @handle-validation=\"handleValidation\"\r\n        @handle-input=\"handleModelInput\"\r\n      >\r\n        <div\r\n          v-for=\"(option, index) in options\"\r\n          :id=\"`input-block-${index}`\"\r\n          :key=\"index\"\r\n          class=\"input-block\"\r\n          role=\"option\"\r\n          :disabled=\"disabled || readonly\"\r\n          :required=\"required\"\r\n          :aria-invalid=\"materialHasErrors\"\r\n          :aria-checked=\"isSelected(index)\"\r\n        >\r\n          <div class=\"label-wrapper\">\r\n            <div\r\n              :id=\"`option-${id}-${index}`\"\r\n              :name=\"`option-${id}`\"\r\n              :data-value=\"index\"\r\n              class=\"checkbox-input\"\r\n              :role=\"type\"\r\n              tabindex=\"-1\"\r\n            />\r\n            <span class=\"checkmark\"></span>\r\n            <span class=\"checkbox-input__text\">{{ option }}</span>\r\n          </div>\r\n        </div>\r\n      </GenericDropdownContainer>\r\n    </template>\r\n    <template v-else>\r\n      <legend v-if=\"$slots.default\" :key=\"legendKey\" class=\"generic-form__label\">\r\n        <slot></slot>\r\n        <span v-if=\"required\" class=\"required\" aria-hidden=\"true\">*</span>\r\n      </legend>\r\n      <div v-for=\"(field, index) in options\" :key=\"index\" class=\"input-block\">\r\n        <label class=\"label-wrapper\" :for=\"`option-${id}-${index}`\">\r\n          <input\r\n            :id=\"`option-${id}-${index}`\"\r\n            :name=\"`option-${id}`\"\r\n            :data-value=\"index\"\r\n            class=\"checkbox-input\"\r\n            :type=\"type\"\r\n            :disabled=\"disabled || readonly\"\r\n            :required=\"required\"\r\n            :aria-invalid=\"materialHasErrors\"\r\n            :aria-describedby=\"ariaDescriptionIds\"\r\n            @focus=\"handleFocus(true)\"\r\n            @blur=\"handleFocus(false)\"\r\n            @input=\"handleModelInput($event, false)\"\r\n            @keydown.space.prevent=\"handleModelInput($event, true)\"\r\n            @keydown.enter.prevent=\"handleModelInput($event, true)\"\r\n          />\r\n          <span class=\"checkmark\"></span>\r\n          <span class=\"checkbox-input__text\">{{ options[index] }}</span>\r\n        </label>\r\n      </div>\r\n    </template>\r\n\r\n    <div v-show=\"hasDescription\" :id=\"`description-${id}`\" class=\"generic-options__description\">\r\n      <div class=\"generic-errors\">\r\n        <div v-for=\"(error, key) in computedErrors\" :key=\"key\" class=\"generic-errors__item\">\r\n          {{ error }}\r\n        </div>\r\n      </div>\r\n      <slot name=\"helperText\"></slot>\r\n    </div>\r\n  </fieldset>\r\n</template>\r\n\r\n<script setup>\r\ndefineEmits(['update:modelValue', 'input']);\r\n</script>\r\n\r\n<script>\r\nimport GenericDropdownContainer from './generic-dropdown-container.vue';\r\n\r\nexport default {\r\n  name: 'GenericOptions',\r\n  components: {\r\n    GenericDropdownContainer,\r\n  },\r\n  props: {\r\n    id: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    name: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    modelValue: {\r\n      type: [Array, String],\r\n      default() {\r\n        return [];\r\n      },\r\n    },\r\n    type: {\r\n      type: String,\r\n      default: 'text',\r\n    },\r\n    label: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    readonly: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    disabled: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    placeholder: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    helpText: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    required: {\r\n      type: Boolean,\r\n      default: true,\r\n    },\r\n    errorMessages: {\r\n      type: [Array, String],\r\n      default: null,\r\n    },\r\n    options: {\r\n      type: Object,\r\n      default: () => {},\r\n    },\r\n    displayType: {\r\n      type: Number,\r\n      default: 0,\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      itemsCopy: [],\r\n      focus: false,\r\n      hadFocus: false,\r\n      valid: true,\r\n      started: false,\r\n      legendKey: 0,\r\n    };\r\n  },\r\n  computed: {\r\n    ariaDescriptionIds() {\r\n      return this.hasDescription ? `description-${this.id}` : null;\r\n    },\r\n    hasDescription() {\r\n      return this.errorMessages || this.$slots.helperText;\r\n    },\r\n    computedErrors() {\r\n      return typeof this.errorMessages === 'string' ? [this.errorMessages] : this.errorMessages;\r\n    },\r\n    materialHasErrors() {\r\n      return Boolean(\r\n        (this.hadFocus && !this.valid) || (this.errorMessages && this.errorMessages.length)\r\n      );\r\n    },\r\n    computedClasses() {\r\n      return {\r\n        'generic--active': this.focus,\r\n        'generic--disabled': this.disabled,\r\n        'generic--readonly': this.readonly,\r\n        'generic--inline': this.displayType === 0 && this.type !== 'radio',\r\n        'generic--nested': this.displayType === 2,\r\n        'generic--has-errors': this.materialHasErrors,\r\n        'generic--invisible-label': !this.isLabelVisible,\r\n      };\r\n    },\r\n    isLabelVisible() {\r\n      return Boolean(!this.isEmpty(this.$slots.default));\r\n    },\r\n    getOptionsLabel() {\r\n      if (!this.modelValue) return [];\r\n      const selectedLabels = [];\r\n      let selectedOptions;\r\n      if (typeof this.modelValue === 'string') {\r\n        selectedOptions = this.modelValue?.split(',');\r\n      } else {\r\n        selectedOptions = Array.from(this.modelValue);\r\n      }\r\n      selectedOptions.forEach((selected) => {\r\n        Object.keys(this.options).forEach((option) => {\r\n          if (option === selected) selectedLabels.push(this.options[option]);\r\n        });\r\n      });\r\n      return selectedLabels;\r\n    },\r\n    notCheckedYet() {\r\n      return this.type === 'checkbox' && !this.modelValue?.length;\r\n    },\r\n  },\r\n  mounted() {\r\n    if (this.modelValue) this.handleDefaultValue();\r\n    this.legendKey++;\r\n  },\r\n  methods: {\r\n    handleDefaultValue() {\r\n      let selectedValues;\r\n      if (this.type === 'radio') {\r\n        selectedValues = [this.modelValue];\r\n      } else {\r\n        selectedValues = Array.from(this.modelValue);\r\n      }\r\n\r\n      Object.keys(this.options).forEach((option) => {\r\n        selectedValues.forEach((value) => {\r\n          if (option === value) {\r\n            if (this.displayType === 2) {\r\n              document.getElementById(`option-${this.id}-${option}`).classList.add('-checked');\r\n            } else {\r\n              document.getElementById(`option-${this.id}-${option}`).checked = true;\r\n            }\r\n          }\r\n        });\r\n      });\r\n      this.itemsCopy = selectedValues;\r\n      this.$emit('update:modelValue', selectedValues.join(','));\r\n    },\r\n    handleModelInput(event, isKeyboardEvent) {\r\n      let target;\r\n      let isChecked;\r\n      if (this.displayType === 2) {\r\n        target = this.getTarget(event.target, isKeyboardEvent);\r\n        target?.classList.toggle('-checked');\r\n        isChecked = target?.classList.contains('-checked');\r\n      } else {\r\n        target = event.target;\r\n        if (isKeyboardEvent && this.type !== 'radio') target.checked = !target.checked;\r\n        isChecked = target.checked === true;\r\n      }\r\n\r\n      /* istanbul ignore next */\r\n      if (!this.started) {\r\n        this.itemsCopy = this.modelValue ? this.modelValue.split(',') : [];\r\n      }\r\n\r\n      if (this.type == 'radio' || this.notCheckedYet) {\r\n        this.itemsCopy = [];\r\n      }\r\n\r\n      this.handleCheckedOptions(target, isChecked);\r\n      this.$emit('update:modelValue', this.getSelectedOptions());\r\n      this.$emit('input');\r\n      this.handleValidation();\r\n      this.started = true;\r\n    },\r\n    getTarget(eventTarget, isKeyboardEvent) {\r\n      let optionKey;\r\n      let inputBlock;\r\n      const fieldset = eventTarget.closest('fieldset');\r\n      if (isKeyboardEvent) {\r\n        const listBox = fieldset.querySelector('.generic-select__listbox');\r\n        const focusedOption = listBox.querySelector('.-focused');\r\n        return focusedOption.querySelector('.checkbox-input');\r\n      } else {\r\n        if (eventTarget.classList.contains('input-block')) {\r\n          inputBlock = eventTarget;\r\n        } else {\r\n          inputBlock = eventTarget.closest('.input-block');\r\n        }\r\n        const rawId = inputBlock?.getAttribute('id');\r\n        const result = rawId?.match(/input-block-(.*)/);\r\n        optionKey = result ? result[1] : '';\r\n        return fieldset.querySelector(`#option-${this.id}-${optionKey}`);\r\n      }\r\n    },\r\n    getSelectedOptions() {\r\n      return this.itemsCopy.length > 1 ? this.itemsCopy.join(',') : this.itemsCopy[0] || '';\r\n    },\r\n    handleCheckedOptions(target, isChecked) {\r\n      if (isChecked) {\r\n        this.itemsCopy.push(target?.dataset.value);\r\n      } else {\r\n        const index = this.itemsCopy.indexOf(target?.dataset.value);\r\n\r\n        if (index >= 0) {\r\n          this.itemsCopy.splice(index, 1);\r\n        }\r\n      }\r\n    },\r\n    handleFocus(focused) {\r\n      this.focus = focused;\r\n      this.hadFocus = true;\r\n    },\r\n    handleValidation() {\r\n      this.valid = !this.required || this.itemsCopy.length > 0;\r\n    },\r\n    reset() {\r\n      this.hadFocus = false;\r\n      this.valid = true;\r\n      this.focus = false;\r\n    },\r\n    isEmpty(value) {\r\n      return typeof value === 'undefined' || value == null;\r\n    },\r\n    isSelected(value) {\r\n      return this.modelValue?.includes(value);\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import script from \"./generic-options.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./generic-options.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<template>\r\n  <fieldset :class=\"['generic-select generic-datepicker generic-form__component', computedClasses]\">\r\n    <legend v-show=\"isLabelVisible\" :id=\"`dropdown-group-${id}`\" class=\"generic-select__legend\">\r\n      {{ label }}\r\n      <span v-if=\"required\" class=\"required\" aria-hidden=\"true\">*</span>\r\n    </legend>\r\n    <div\r\n      class=\"generic-select-dropdowns\"\r\n      :style=\"`grid-template-columns: repeat(${3 - hiddenDateFields.length}, 1fr);`\"\r\n    >\r\n      <GenericDropdownContainer\r\n        v-show=\"!isDateHidden('Month')\"\r\n        :id=\"selectMonthId\"\r\n        ref=\"dropdownMonth\"\r\n        custom-class=\"generic-select-dropdown\"\r\n        :input-name=\"name\"\r\n        :type=\"type\"\r\n        :selected-options=\"[selectedDate.month]\"\r\n        :custom-selected-label=\"getMonthLabel('selected')\"\r\n        :input-label=\"dateFieldLabels.month\"\r\n        :required=\"required\"\r\n        :disabled=\"disabled || readonly\"\r\n        :readonly=\"readonly\"\r\n        :invalid=\"isInvalid\"\r\n        :has-description=\"hasDescription\"\r\n        :description-id=\"ariaDescriptionIds\"\r\n        :has-errors=\"isInvalid\"\r\n        :placeholder=\"placeholder\"\r\n        :default-value=\"getMonthLabel('default')\"\r\n        @handle-validation=\"handleValidation\"\r\n        @handle-input=\"handleInput($event, 'month')\"\r\n      >\r\n        <div\r\n          v-if=\"defaultDateLabels && !defaultDateLabels.month\"\r\n          :value=\"null\"\r\n          class=\"generic-select__option-item\"\r\n          disabled=\"disabled\"\r\n          :selected=\"!defaultDateLabels.month\"\r\n          tabindex=\"-1\"\r\n        >\r\n          {{ dateFieldPlaceholders.month }}\r\n        </div>\r\n        <div\r\n          v-for=\"(option, key) in date.months\"\r\n          :id=\"`option-month-id-${option.value ? option.value : 'month-blank'}`\"\r\n          :key=\"key\"\r\n          role=\"option\"\r\n          :value=\"option.value\"\r\n          class=\"generic-select__option-item\"\r\n          :class=\"{ '-selected': option.value === selectedDate.month }\"\r\n          :aria-selected=\"option.value === selectedDate.month\"\r\n        >\r\n          {{ option.label }}\r\n        </div>\r\n      </GenericDropdownContainer>\r\n\r\n      <GenericDropdownContainer\r\n        v-show=\"!isDateHidden('Day')\"\r\n        :id=\"selectDayId\"\r\n        ref=\"dropdownDay\"\r\n        custom-class=\"generic-select-dropdown\"\r\n        :input-name=\"name\"\r\n        :type=\"type\"\r\n        :selected-options=\"[selectedDate.day]\"\r\n        :input-label=\"dateFieldLabels.day\"\r\n        :required=\"required\"\r\n        :disabled=\"disabled || readonly\"\r\n        :readonly=\"readonly\"\r\n        :invalid=\"isInvalid\"\r\n        :has-description=\"hasDescription\"\r\n        :description-id=\"ariaDescriptionIds\"\r\n        :has-errors=\"isInvalid\"\r\n        :placeholder=\"placeholder\"\r\n        :default-value=\"defaultValue.day\"\r\n        @handle-validation=\"handleValidation\"\r\n        @handle-input=\"handleInput($event, 'day')\"\r\n      >\r\n        <div\r\n          v-if=\"defaultDateLabels && !defaultDateLabels.day\"\r\n          :value=\"null\"\r\n          class=\"generic-select__option-item\"\r\n          disabled=\"disabled\"\r\n          :selected=\"!defaultDateLabels.day\"\r\n          tabindex=\"-1\"\r\n        >\r\n          {{ dateFieldPlaceholders.day }}\r\n        </div>\r\n        <div\r\n          v-for=\"(option, key) in date.days\"\r\n          :id=\"`option-day-id-${option.value ? option.value : 'day-blank'}`\"\r\n          :key=\"key\"\r\n          role=\"option\"\r\n          :value=\"option.value\"\r\n          class=\"generic-select__option-item\"\r\n          :class=\"{ '-selected': option.value === selectedDate.day }\"\r\n          :aria-selected=\"option.value === selectedDate.day\"\r\n        >\r\n          {{ option.label }}\r\n        </div>\r\n      </GenericDropdownContainer>\r\n\r\n      <GenericDropdownContainer\r\n        v-show=\"!isDateHidden('Year')\"\r\n        :id=\"selectYearId\"\r\n        ref=\"dropdownYear\"\r\n        custom-class=\"generic-select-dropdown\"\r\n        :input-name=\"name\"\r\n        :type=\"type\"\r\n        :selected-options=\"[selectedDate.year]\"\r\n        :input-label=\"dateFieldLabels.year\"\r\n        :required=\"required\"\r\n        :disabled=\"disabled || readonly\"\r\n        :readonly=\"readonly\"\r\n        :invalid=\"isInvalid\"\r\n        :has-description=\"hasDescription\"\r\n        :description-id=\"ariaDescriptionIds\"\r\n        :has-errors=\"isInvalid\"\r\n        :placeholder=\"placeholder\"\r\n        :default-value=\"defaultValue.year\"\r\n        @handle-validation=\"handleValidation\"\r\n        @handle-input=\"handleInput($event, 'year')\"\r\n      >\r\n        <div\r\n          v-if=\"defaultDateLabels && !defaultDateLabels.year\"\r\n          :value=\"null\"\r\n          class=\"generic-select__option-item\"\r\n          disabled=\"disabled\"\r\n          :selected=\"!defaultDateLabels.year\"\r\n          tabindex=\"-1\"\r\n        >\r\n          {{ dateFieldPlaceholders.year }}\r\n        </div>\r\n        <div\r\n          v-for=\"(option, key) in date.years\"\r\n          :id=\"`option-year-id-${option.value ? option.value : 'year-blank'}`\"\r\n          :key=\"key\"\r\n          role=\"option\"\r\n          :value=\"option.value\"\r\n          class=\"generic-select__option-item\"\r\n          :class=\"{ '-selected': option.value === selectedDate.year }\"\r\n          :aria-selected=\"option.value === selectedDate.year\"\r\n        >\r\n          {{ option.label }}\r\n        </div>\r\n      </GenericDropdownContainer>\r\n    </div>\r\n\r\n    <div v-show=\"hasDescription\" :id=\"`description-${id}`\">\r\n      <div class=\"generic-errors\">\r\n        <div v-for=\"(error, key) in errorMessages\" :key=\"key\" class=\"generic-errors__item\">\r\n          {{ error }}\r\n        </div>\r\n      </div>\r\n      <slot name=\"helperText\"></slot>\r\n    </div>\r\n  </fieldset>\r\n</template>\r\n\r\n<script>\r\nimport { ref } from 'vue';\r\nimport GenericDropdownContainer from './generic-dropdown-container.vue';\r\n\r\nexport default {\r\n  name: 'GenericDatepicker',\r\n  components: {\r\n    GenericDropdownContainer,\r\n  },\r\n  props: {\r\n    id: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    name: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    type: {\r\n      type: String,\r\n      default: 'text',\r\n    },\r\n    value: {\r\n      default: null,\r\n      type: [Object, String],\r\n    },\r\n    label: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    readonly: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    disabled: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    required: {\r\n      type: Boolean,\r\n      default: true,\r\n    },\r\n    errorMessages: {\r\n      type: [Array, String],\r\n      default: null,\r\n    },\r\n    options: {\r\n      type: [Array, String],\r\n      default: null,\r\n    },\r\n    startYear: {\r\n      default: 1940,\r\n      type: Number,\r\n    },\r\n    dateFieldAutocomplete: {\r\n      default: () => ({\r\n        day: '',\r\n        month: '',\r\n        year: '',\r\n      }),\r\n      type: Object,\r\n    },\r\n    dateFieldLabels: {\r\n      default: () => ({\r\n        day: 'Day',\r\n        month: 'Month',\r\n        year: 'Year',\r\n      }),\r\n      type: Object,\r\n    },\r\n    dateFieldPlaceholders: {\r\n      default: () => ({\r\n        day: 'DD',\r\n        month: 'MM',\r\n        year: 'YYYY',\r\n      }),\r\n      type: Object,\r\n    },\r\n    hiddenDateFields: {\r\n      type: [Array],\r\n      default: null,\r\n    },\r\n    helpText: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    placeholder: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    pristine: {\r\n      type: Boolean,\r\n      default: true,\r\n    },\r\n    defaultValue: {\r\n      type: Object,\r\n      default: () => {},\r\n    },\r\n  },\r\n  emits: ['update:modelValue', 'reset-errors', 'input'],\r\n  setup() {\r\n    const dropdownDay = ref();\r\n    const dropdownMonth = ref();\r\n    const dropdownYear = ref();\r\n\r\n    const triggerHideList = (event, type) => {\r\n      switch (type) {\r\n        case 'day':\r\n          dropdownDay.value.collapseFromListbox(event);\r\n          break;\r\n        case 'month':\r\n          dropdownMonth.value.collapseFromListbox(event);\r\n          break;\r\n        case 'year':\r\n          dropdownYear.value.collapseFromListbox(event);\r\n          break;\r\n        default:\r\n          break;\r\n      }\r\n    };\r\n\r\n    return { triggerHideList, dropdownDay, dropdownMonth, dropdownYear };\r\n  },\r\n  data() {\r\n    return {\r\n      selectedDate: this.generateSelectDate(),\r\n      date: {\r\n        days: this.generateDays(),\r\n        months: this.generateMonths(),\r\n        years: this.generateYears(),\r\n      },\r\n      isInvalid: false,\r\n      focus: false,\r\n      hadFocus: false,\r\n      defaultDateLabels: null,\r\n      isMounted: false,\r\n    };\r\n  },\r\n  computed: {\r\n    computedClasses() {\r\n      return {\r\n        'generic--active': this.focus,\r\n        'generic--disabled': this.disabled,\r\n        'generic--readonly': this.readonly,\r\n        'generic--has-errors': this.isInvalid,\r\n      };\r\n    },\r\n    isLabelVisible() {\r\n      return this.label != null && this.label !== '';\r\n    },\r\n    ariaDescriptionIds() {\r\n      return this.hasDescription ? `description-${this.id}` : null;\r\n    },\r\n    hasDescription() {\r\n      return this.errorMessages || this.$slots.helperText;\r\n    },\r\n    selectDayId() {\r\n      return `day-${this.id}`;\r\n    },\r\n    selectMonthId() {\r\n      return `month-${this.id}`;\r\n    },\r\n    selectYearId() {\r\n      return `year-${this.id}`;\r\n    },\r\n  },\r\n  watch: {\r\n    selectedDate: {\r\n      handler(newValue) {\r\n        this.copyValue(newValue);\r\n      },\r\n      deep: true,\r\n    },\r\n    errorMessages: {\r\n      handler() {\r\n        this.handleValidation();\r\n      },\r\n      deep: true,\r\n    },\r\n  },\r\n  beforeMount() {\r\n    // Here we are following the Vue2 convention on custom v-model:\r\n    // https://github.com/vuejs/vue/issues/2873#issuecomment-223759341\r\n    this.copyValue(this.value);\r\n  },\r\n  mounted() {\r\n    this.defaultDateLabels = this.value;\r\n    this.setDefaultValues();\r\n    this.isMounted = true;\r\n  },\r\n  methods: {\r\n    handleFocus(focused) {\r\n      this.focus = focused;\r\n      this.hadFocus = true;\r\n\r\n      if (!focused) {\r\n        this.handleValidation();\r\n      }\r\n    },\r\n    setDefaultValues() {\r\n      let formattedDate = null;\r\n      if (this.selectedDate) {\r\n        formattedDate = this.formatDate();\r\n        formattedDate =\r\n          formattedDate?.includes('null') || formattedDate?.includes('undefined')\r\n            ? null\r\n            : formattedDate;\r\n        this.$emit('update:modelValue', formattedDate);\r\n        if (formattedDate) {\r\n          this.defaultDateLabels = null;\r\n        }\r\n      }\r\n    },\r\n    hasYearMonthDay() {\r\n      return this.selectedDate.year && this.selectedDate.month && this.selectedDate.day;\r\n    },\r\n    getMonthLabel(type) {\r\n      let monthLabel;\r\n      let refData = type === 'selected' ? this.selectedDate.month : this.defaultValue.month;\r\n      this.date.months.forEach((month) => {\r\n        if (month.value === refData) monthLabel = month.label;\r\n      });\r\n      return monthLabel;\r\n    },\r\n    formatDate() {\r\n      let formattedValue;\r\n      let unselectedInputs = this.inputsUnselected();\r\n      let hasNullValue = Object.values(this.selectedDate).some((date) => {\r\n        const hasDefaultValue = this.defaultValue[date] !== null;\r\n        return !!((date === null || date === '' || date === undefined) && !hasDefaultValue);\r\n      });\r\n      if (unselectedInputs) {\r\n        formattedValue = '';\r\n      } else if (hasNullValue) {\r\n        formattedValue = null;\r\n      } else {\r\n        let finalDate = {};\r\n        Object.keys(this.selectedDate).some((date) => {\r\n          const dateHidden = this.isDateHidden(date.charAt(0).toUpperCase() + date.slice(1));\r\n          if (dateHidden && this.selectedDate[date] === null) {\r\n            finalDate[date] = this.defaultValue[date];\r\n          } else {\r\n            finalDate[date] = this.selectedDate[date];\r\n          }\r\n        });\r\n        formattedValue = `${this.roundNumber(finalDate.month)}/${this.roundNumber(finalDate.day)}/${\r\n          finalDate.year === '' ? null : finalDate.year\r\n        }`;\r\n      }\r\n      return formattedValue;\r\n    },\r\n    handleOnChange() {\r\n      this.setDefaultValues();\r\n      this.handleValidation();\r\n      if (this.isMounted) this.$emit('input');\r\n    },\r\n    handleInput(event, type) {\r\n      const isKeyboardEvent = event instanceof KeyboardEvent;\r\n      if (isKeyboardEvent) {\r\n        const listBox = event.target.parentElement.querySelector('.generic-select__listbox');\r\n        const listItem = listBox.querySelector('.-focused');\r\n        this.selectedDate[type] = listItem.getAttribute('value');\r\n      } else {\r\n        this.selectedDate[type] = event.target.getAttribute('value');\r\n      }\r\n      this.handleOnChange();\r\n      this.triggerHideList(event, type);\r\n    },\r\n    handleValidation() {\r\n      this.isInvalid = this.isInvalidState();\r\n    },\r\n    isInvalidState() {\r\n      if (this.inputsUnselected()) {\r\n        this.$emit('reset-errors');\r\n        return false;\r\n      } else {\r\n        return this.errorMessages !== null && this.errorMessages.length > 0;\r\n      }\r\n    },\r\n    inputsUnselected() {\r\n      return (\r\n        !this.required &&\r\n        this.pristine === false &&\r\n        Object.values(this.selectedDate).every((date) => date === '' || date === null)\r\n      );\r\n    },\r\n    copyValue(value) {\r\n      if (!value) {\r\n        this.selectedDate = this.generateSelectDate();\r\n      } else {\r\n        this.selectedDate = value;\r\n        this.handleOnChange();\r\n      }\r\n    },\r\n    roundNumber(number) {\r\n      return !number ? null : `0${number}`.slice(-2);\r\n    },\r\n    generateDays() {\r\n      let defaultDay = this.value ? this.value.day : null;\r\n      const dObject = [];\r\n\r\n      for (var d = 0; d < 32; d++) {\r\n        let dateValue = this.roundNumber(d);\r\n        dObject.push({\r\n          selected: defaultDay && defaultDay === d,\r\n          value: dateValue ? dateValue : '',\r\n          label: d === 0 ? ' ' : dateValue,\r\n        });\r\n      }\r\n      return dObject;\r\n    },\r\n    generateMonths() {\r\n      let defaultMonth = this.value ? this.value.month : null;\r\n      const dObject = [];\r\n\r\n      for (var m = -1; m < 12; m++) {\r\n        const date = new Date(2009, m, 10);\r\n        const month = date.toLocaleString(navigator.language, {\r\n          month: 'long',\r\n        });\r\n        let calculatedMonth = m + 1;\r\n        let monthValue = this.roundNumber(calculatedMonth);\r\n        dObject.push({\r\n          selected: defaultMonth && defaultMonth === calculatedMonth,\r\n          value: monthValue ? monthValue : '',\r\n          label: m === -1 ? ' ' : month,\r\n        });\r\n      }\r\n\r\n      return dObject;\r\n    },\r\n    generateYears() {\r\n      const d = new Date();\r\n      const currentYear = d.getUTCFullYear();\r\n      const dObject = [];\r\n\r\n      let defaultYear = this.value ? parseInt(this.value.year) : null;\r\n\r\n      for (var y = currentYear + 1; y >= this.startYear; y--) {\r\n        dObject.push({\r\n          selected: defaultYear && defaultYear === y,\r\n          value: y === currentYear + 1 ? '' : y,\r\n          label: y === currentYear + 1 ? ' ' : y,\r\n        });\r\n      }\r\n\r\n      return dObject;\r\n    },\r\n    generateSelectDate() {\r\n      return this.defaultValue;\r\n    },\r\n    isDateHidden(type) {\r\n      return this.hiddenDateFields?.includes(type);\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./generic-datepicker.vue?vue&type=template&id=cb51ca0a\"\nimport script from \"./generic-datepicker.vue?vue&type=script&lang=js\"\nexport * from \"./generic-datepicker.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div class=\"generic-select__component\">\r\n    <GenericDropdownContainer\r\n      :id=\"`select-${id}`\"\r\n      ref=\"dropdownContainer\"\r\n      :input-name=\"name\"\r\n      type=\"input\"\r\n      :selected-options=\"[selectedOption]\"\r\n      :custom-selected-label=\"getSelectedLabel\"\r\n      :input-label=\"label\"\r\n      :required=\"required\"\r\n      :disabled=\"disabled || readonly\"\r\n      :readonly=\"readonly\"\r\n      :invalid=\"invalid\"\r\n      :has-description=\"hasDescription\"\r\n      :description-id=\"ariaDescriptionIds\"\r\n      :has-errors=\"materialHasErrors\"\r\n      :placeholder=\"placeholder\"\r\n      :default-value=\"getDefaultValue\"\r\n      @handle-validation=\"handleValidation\"\r\n      @handle-input=\"handleOnChange\"\r\n    >\r\n      <div\r\n        :id=\"`generic-select__option-id--null-${id}`\"\r\n        class=\"generic-select__option-item\"\r\n        role=\"option\"\r\n        :value=\"null\"\r\n      >\r\n        <div class=\"generic-select__option-text\"></div>\r\n      </div>\r\n      <div\r\n        v-for=\"(option, key) in options\"\r\n        :id=\"`generic-select__option-id--${key}`\"\r\n        :key=\"key\"\r\n        :value=\"key\"\r\n        class=\"generic-select__option-item\"\r\n        :class=\"{ '-selected': key === selectedOption }\"\r\n        role=\"option\"\r\n        :aria-selected=\"key === selectedOption\"\r\n      >\r\n        <img\r\n          v-if=\"extractOptionData(option, 'icon').length\"\r\n          class=\"generic-select__option-image\"\r\n          :src=\"extractOptionData(option, 'icon')\"\r\n          alt=\"\"\r\n        />\r\n        <div class=\"generic-select__option-text\">\r\n          {{ extractOptionData(option, 'label') }}\r\n        </div>\r\n      </div>\r\n    </GenericDropdownContainer>\r\n\r\n    <div v-show=\"hasDescription\" :id=\"`description-${id}`\">\r\n      <div class=\"generic-errors\">\r\n        <div v-for=\"(error, key) in computedErrors\" :key=\"key\" class=\"generic-errors__item\">\r\n          {{ error }}\r\n        </div>\r\n      </div>\r\n      <slot name=\"helperText\"></slot>\r\n    </div>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport GenericDropdownContainer from './generic-dropdown-container.vue';\r\nimport { ref } from 'vue';\r\n\r\nexport default {\r\n  name: 'GenericSelect',\r\n  components: {\r\n    GenericDropdownContainer,\r\n  },\r\n  props: {\r\n    disabled: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    errorMessages: {\r\n      type: [Array, String],\r\n      default: null,\r\n    },\r\n    id: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    label: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    name: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    options: {\r\n      type: Object,\r\n      default: null,\r\n    },\r\n    placeholder: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    readonly: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    required: {\r\n      type: Boolean,\r\n      default: true,\r\n    },\r\n    value: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    defaultValue: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n  },\r\n  emits: ['update:modelValue', 'input'],\r\n  setup() {\r\n    const dropdownContainer = ref();\r\n\r\n    const triggerHideList = (event) => {\r\n      dropdownContainer.value.collapseFromListbox(event);\r\n    };\r\n\r\n    const setGridStyle = () => {\r\n      dropdownContainer.value.setGridStyle();\r\n    };\r\n\r\n    return { triggerHideList, setGridStyle, dropdownContainer };\r\n  },\r\n  data() {\r\n    return {\r\n      selectedOption: this.value,\r\n      invalid: false,\r\n    };\r\n  },\r\n  computed: {\r\n    ariaDescriptionIds() {\r\n      return this.hasDescription ? `description-${this.id}` : null;\r\n    },\r\n    hasDescription() {\r\n      return this.errorMessages || this.$slots.helperText;\r\n    },\r\n    materialHasErrors() {\r\n      return this.invalid || this.hasErrorMessages;\r\n    },\r\n    hasErrorMessages() {\r\n      return this.errorMessages !== null && this.errorMessages.length > 0;\r\n    },\r\n    computedErrors() {\r\n      return typeof this.errorMessages === 'string' ? [this.errorMessages] : this.errorMessages;\r\n    },\r\n    activeOptionLabel() {\r\n      const activeOption = document.querySelector(\r\n        `div#generic-select__option-id--${this.selectedOption}`\r\n      );\r\n      return activeOption?.innerText;\r\n    },\r\n    activeOptionImage() {\r\n      const activeOption = document.querySelector(\r\n        `div#generic-select__option-id--${this.selectedOption}`\r\n      );\r\n      const activeImage = activeOption?.querySelector('img');\r\n      return activeImage?.getAttribute('src');\r\n    },\r\n    getSelectedLabel() {\r\n      return this.selectedOption\r\n        ? this.activeOptionImage\r\n          ? `<img\r\n        class=\"generic-select__selected-image\"\r\n        src=\"${this.activeOptionImage}\"\r\n      /><span class=\"generic-select__selected-label\">${this.activeOptionLabel}</span>`\r\n          : `<span class=\"generic-select__selected-label\">${this.activeOptionLabel}</span>`\r\n        : null;\r\n    },\r\n    getDefaultValue() {\r\n      return this.selectedOption\r\n        ? this.extractOptionData(this.options[this.selectedOption], 'label')\r\n        : this.extractOptionData(this.options[this.defaultValue], 'label');\r\n    },\r\n  },\r\n  mounted() {\r\n    this.handleDefaultValue();\r\n  },\r\n  methods: {\r\n    handleOnChange(event, isKeyboardEvent) {\r\n      if (isKeyboardEvent) {\r\n        const listbox = event.target.parentElement.querySelector('.generic-select__listbox');\r\n        const focusedOption = listbox.querySelector('.-focused');\r\n        this.selectedOption = focusedOption.getAttribute('value');\r\n      } else {\r\n        this.selectedOption = event.target.getAttribute('value');\r\n      }\r\n      this.$emit('update:modelValue', this.selectedOption);\r\n      this.$emit('input');\r\n      this.handleValidation();\r\n      this.triggerHideList(event);\r\n      this.setGridStyle();\r\n    },\r\n    handleValidation() {\r\n      this.invalid = this.required && !this.selectedOption;\r\n    },\r\n    handleDefaultValue() {\r\n      if (!this.selectedOption && this.defaultValue) this.selectedOption = this.defaultValue;\r\n    },\r\n    extractOptionData(option, key) {\r\n      if (typeof option === 'object') return option[key];\r\n      if (this.isValidJson(option)) {\r\n        const optionItem = JSON.parse(option);\r\n        if (optionItem[key].length) return optionItem[key];\r\n        return '';\r\n      } else {\r\n        if (key === 'label') return option;\r\n        return '';\r\n      }\r\n    },\r\n    isValidJson(string) {\r\n      if (typeof string !== 'string') {\r\n        return false;\r\n      }\r\n      try {\r\n        JSON.parse(string);\r\n        return true;\r\n      } catch (error) {\r\n        return false;\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./generic-select.vue?vue&type=template&id=4f6b4e34\"\nimport script from \"./generic-select.vue?vue&type=script&lang=js\"\nexport * from \"./generic-select.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./generic-form.vue?vue&type=template&id=a31a1daa\"\nimport script from \"./generic-form.vue?vue&type=script&lang=js\"\nexport * from \"./generic-form.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import GenericForm from './code/Scripts/Components/generic-form.vue';\r\nimport GenericInput from './code/Scripts/Components/generic-input.vue';\r\nimport GenericOptions from './code/Scripts/Components/generic-options.vue';\r\nimport GenericDatepicker from './code/Scripts/Components/generic-datepicker.vue';\r\nimport GenericSelect from './code/Scripts/Components/generic-select.vue';\r\n\r\nexport default {\r\n  components: {\r\n    GenericForm,\r\n    GenericInput,\r\n    GenericOptions,\r\n    GenericDatepicker,\r\n    GenericSelect,\r\n  },\r\n};\r\n","<template>\r\n  <a class=\"oap-header__logo-link\" href=\"/\">\r\n    <img :src=\"actualLogo\" :alt=\"actualAlt\" class=\"oap-header__logo-image\" />\r\n  </a>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n  name: 'HeaderLogo',\r\n  props: {\r\n    logo: { type: String, default: '' },\r\n    mexLogo: { type: String, default: '' },\r\n    alt: { type: String, default: 'Loreal Paris' },\r\n    mexLogoAlt: { type: String, default: 'Loreal Paris' },\r\n    colorsonicLogo: { type: String, default: 'Colorsonic' },\r\n    colorsonicLogoAlt: { type: String, default: 'Colorsonic' },\r\n  },\r\n  data() {\r\n    return {\r\n      actualLogo: '',\r\n      actualAlt: '',\r\n    };\r\n  },\r\n  mounted() {\r\n    const mexClassList = document.body.classList.contains('MEX-ff6600');\r\n    const colorsonicClassList = document.body.classList.contains('colorsonic-page');\r\n    if (mexClassList) {\r\n      this.actualLogo = this.mexLogo;\r\n      this.actualAlt = this.mexLogoAlt;\r\n    } else if (colorsonicClassList) {\r\n      this.actualLogo = this.colorsonicLogo;\r\n      this.actualAlt = this.colorsonicLogoAlt;\r\n    } else {\r\n      this.actualLogo = this.logo;\r\n      this.actualAlt = this.alt;\r\n    }\r\n\r\n    if (window.location && window.location.hash) {\r\n      let doc = document;\r\n      const imageLoad = doc.querySelectorAll('.lazyload');\r\n      imageLoad.forEach((element) => {\r\n        window.lazySizes.loader.unveil(element);\r\n      });\r\n      let element = doc.querySelector(window.location.hash);\r\n      let headerOffset = 75;\r\n      if (element) {\r\n        setTimeout(function () {\r\n          let elementPosition = element.getBoundingClientRect().top;\r\n          let offsetPosition = elementPosition + window.scrollY - headerOffset;\r\n          window.scrollTo(0, offsetPosition);\r\n        }, 300);\r\n      }\r\n    }\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./HeaderLogo.vue?vue&type=template&id=f032eedc\"\nimport script from \"./HeaderLogo.vue?vue&type=script&lang=js\"\nexport * from \"./HeaderLogo.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import HeaderLogo from './code/Scripts/components/HeaderLogo.vue';\r\n\r\nexport default {\r\n  components: {\r\n    HeaderLogo,\r\n  },\r\n};\r\n","<template>\r\n  <div class=\"grnr-ppup-button\">\r\n    <div v-if=\"start\" @click=\"handleOpenModal\"><slot name=\"openbutton\" /></div>\r\n    <div v-if=\"showpopup\" id=\"grnr-ppup\">\r\n      <div class=\"grnr-ppup-bckgnd\">\r\n        <div class=\"oap-popup-wrapper oap-popup-wrapper--open\" :style=\"styles\">\r\n          <div class=\"oap-popup-wrapper-inner\">\r\n            <OapIframe :src=\"src\" :title=\"title\"> </OapIframe>\r\n            <div class=\"grnr-cls-ppup\" @click=\"handleCloseModal\">\r\n              <slot name=\"closebutton\" />\r\n            </div>\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </div>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport OapIframe from '../../../../../Feature/OapIframe/code/Scripts/components/oap-iframe.vue';\r\nexport default {\r\n  name: 'Iframepopup',\r\n  components: {\r\n    OapIframe,\r\n  },\r\n  props: {\r\n    src: {\r\n      type: String,\r\n      required: false,\r\n    },\r\n    title: {\r\n      type: String,\r\n      required: false,\r\n    },\r\n    popupheight: {\r\n      type: String,\r\n      required: false,\r\n    },\r\n    popupwidth: {\r\n      type: String,\r\n      required: false,\r\n    },\r\n    end: {\r\n      type: Boolean,\r\n      required: false,\r\n    },\r\n    start: {\r\n      type: Boolean,\r\n      required: false,\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      showpopup: false,\r\n    };\r\n  },\r\n  computed: {\r\n    styles: function () {\r\n      return {\r\n        width: this.popupwidth + 'px',\r\n        height: this.popupheight + 'px',\r\n      };\r\n    },\r\n  },\r\n  watch: {\r\n    end: {\r\n      handler() {\r\n        this.getDisplayStatus();\r\n      },\r\n      immediate: true,\r\n    },\r\n  },\r\n  mounted() {\r\n    this.getDisplayStatus();\r\n  },\r\n  methods: {\r\n    getDisplayStatus() {\r\n      if (this.end) {\r\n        this.getQueryParams();\r\n      }\r\n    },\r\n    getQueryParams() {\r\n      const location = window.location.search;\r\n      const queryParams = new URLSearchParams(location);\r\n      const callPopUpParam = queryParams.get('prescripted');\r\n      const dsfservice = document.referrer;\r\n      if (callPopUpParam == 'skindr' && dsfservice !== '') {\r\n        this.handleOpenModal();\r\n      }\r\n    },\r\n    handleOpenModal() {\r\n      this.showpopup = true;\r\n    },\r\n    handleCloseModal() {\r\n      this.showpopup = false;\r\n    },\r\n  },\r\n};\r\n</script>\r\n<style lang=\"scss\">\r\n.tryOnCta__wrapper .grnr-ppup-button {\r\n  margin: 0 auto;\r\n}\r\n\r\n#grnr-ppup {\r\n  height: 100%;\r\n  width: 100%;\r\n  position: fixed;\r\n  z-index: 1010;\r\n  top: 0;\r\n  bottom: 0;\r\n  left: 0;\r\n  right: 0;\r\n}\r\n\r\n#grnr-ppup .grnr-ppup-bckgnd {\r\n  background: rgb(0 0 0 / 60%);\r\n  display: flex;\r\n  height: 100%;\r\n}\r\n\r\n#grnr-ppup .grnr-ppup-bckgnd .oap-popup-wrapper--open {\r\n  align-self: center;\r\n  display: flex;\r\n  flex-direction: column;\r\n  height: auto;\r\n  margin: auto;\r\n  position: relative;\r\n  right: 0;\r\n  left: 0;\r\n  top: 0;\r\n  bottom: 0;\r\n  width: 600px;\r\n  padding: 0;\r\n  max-width: 90%;\r\n  max-height: 90%;\r\n}\r\n\r\n#grnr-ppup .grnr-ppup-bckgnd .oap-popup-wrapper-inner,\r\n#grnr-ppup .grnr-ppup-bckgnd .oap-popup-wrapper-inner .oap-iframe-wrapper {\r\n  background: #fff;\r\n  height: 100%;\r\n}\r\n\r\n#grnr-ppup .grnr-ppup-bckgnd .oap-popup-wrapper-inner iframe {\r\n  width: 100%;\r\n  height: 100%;\r\n  margin: 0;\r\n}\r\n\r\n@media (max-width: 550px) {\r\n  #grnr-ppup .grnr-ppup-bckgnd .oap-popup-wrapper--open {\r\n    width: 500px;\r\n    max-width: 90%;\r\n  }\r\n}\r\n\r\n#grnr-ppup .grnr-ppup-bckgnd .oap-popup-wrapper--open .grnr-cls-ppup {\r\n  background: #005c43;\r\n  border-radius: 100%;\r\n  height: 28px;\r\n  position: absolute;\r\n  right: -10px;\r\n  top: -10px;\r\n  width: 28px;\r\n  z-index: 2;\r\n  cursor: pointer;\r\n}\r\n\r\n#grnr-ppup .grnr-ppup-bckgnd .oap-popup-wrapper--open .grnr-cls-ppup .grnr-cls-ppup-ln {\r\n  background: #fff;\r\n  height: 2px;\r\n  left: 7px;\r\n  position: absolute;\r\n  top: 13px;\r\n  width: 14px;\r\n}\r\n\r\n#grnr-ppup .grnr-ppup-bckgnd .oap-popup-wrapper--open .grnr-cls-ppup .grnr-cls-ppup-ln.one {\r\n  transform: rotate(45deg);\r\n}\r\n\r\n#grnr-ppup .grnr-ppup-bckgnd .oap-popup-wrapper--open .grnr-cls-ppup .grnr-cls-ppup-ln.two {\r\n  transform: rotate(-45deg);\r\n}\r\n\r\n#grnr-ppup .grnr-ppup-bckgnd .oap-popup-wrapper--open .grnr-cls-ppup .tryOnCta__button {\r\n  display: block;\r\n  background: none;\r\n  height: 30px;\r\n}\r\n\r\n@media (max-width: 550px) {\r\n  #grnr-ppup .grnr-ppup-bckgnd .oap-popup-wrapper--open .grnr-cls-ppup {\r\n    right: 0.5rem;\r\n    top: -0.5rem;\r\n  }\r\n}\r\n</style>\r\n","import { render } from \"./Iframepopup.vue?vue&type=template&id=7c6ec92b\"\nimport script from \"./Iframepopup.vue?vue&type=script&lang=js\"\nexport * from \"./Iframepopup.vue?vue&type=script&lang=js\"\n\nimport \"./Iframepopup.vue?vue&type=style&index=0&id=7c6ec92b&lang=scss\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Iframepopup from './code/Scripts/components/Iframepopup.vue';\r\n\r\nexport default {\r\n  components: {\r\n    Iframepopup,\r\n  },\r\n};\r\n","<template>\r\n  <div class=\"oap-accordion\">\r\n    <collapsable\r\n      v-for=\"(collapsable, index) in formattedItems\"\r\n      :key=\"index\"\r\n      :current-index=\"index\"\r\n      :is-collapsed=\"index !== currentIndex\"\r\n      tagname=\"section\"\r\n      class=\"collapsable\"\r\n      :identifier=\"id\"\r\n      @collapse=\"onCollapse\"\r\n    >\r\n      <template #indicator>\r\n        <span class=\"collapsable__indicator\"></span>\r\n      </template>\r\n      <template #title>\r\n        <h3 :id=\"id\" class=\"collapsable__title\">\r\n          {{ collapsable.title }}\r\n        </h3>\r\n      </template>\r\n      <template #content>\r\n        <ul class=\"collapsable__content\">\r\n          <li v-for=\"(item, yIndex) in collapsable.items\" :key=\"yIndex\">\r\n            <component\r\n              :is=\"setButtonType(item)\"\r\n              :id=\"item.id\"\r\n              v-tag:useractionevent=\"item.tag\"\r\n              :href=\"item.isIframe ? null : item.href && item.href !== '' ? item.href : null\"\r\n              :class=\"{ 'newsletter-i-frame-link': item.isIframe }\"\r\n              :aria-label=\"item.title ? `${item.title} page` : null\"\r\n            >\r\n              {{ item.title }}\r\n            </component>\r\n\r\n            <template v-if=\"item.isIframe\">\r\n              <OapCardPopin :id=\"item.id\">\r\n                <template #popup-content>\r\n                  <div>\r\n                    <OapIframe\r\n                      :title=\"item.title\"\r\n                      :src=\"item.href\"\r\n                      height-screen-large=\"600\"\r\n                      height-screen-small=\"600\"\r\n                    />\r\n                  </div>\r\n                </template>\r\n              </OapCardPopin>\r\n            </template>\r\n          </li>\r\n        </ul>\r\n      </template>\r\n    </collapsable>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport collapsable from './collapsable.vue';\r\nimport OapCardPopin from '../../../../OapCardPopin/code/Scripts/components/OapCardPopin.vue';\r\nimport OapIframe from '../../../../OapIframe/code/Scripts/components/oap-iframe.vue';\r\n\r\nimport { uniqueId } from '../../../../../Foundation/Core/code/Scripts/utilities/uniqueId';\r\n\r\nexport default {\r\n  name: 'OapAccordion',\r\n  components: {\r\n    collapsable,\r\n    OapCardPopin,\r\n    OapIframe,\r\n  },\r\n  props: {\r\n    items: {\r\n      type: Array,\r\n      default: () => [],\r\n    },\r\n  },\r\n  data: () => ({\r\n    currentIndex: -1,\r\n  }),\r\n  computed: {\r\n    formattedItems() {\r\n      if (this.items) {\r\n        return this.items.map((collapsable) => {\r\n          return {\r\n            ...collapsable,\r\n            items: collapsable.items.map((item) => ({\r\n              ...item,\r\n              id: uniqueId(),\r\n            })),\r\n          };\r\n        });\r\n      }\r\n    },\r\n    id() {\r\n      return uniqueId();\r\n    },\r\n  },\r\n  methods: {\r\n    onCollapse(currentIndex) {\r\n      this.currentIndex = currentIndex;\r\n    },\r\n    setButtonType(item) {\r\n      if (item.isIframe) return 'button';\r\n      if (!item.href || item.href === '') return 'span';\r\n      return 'a';\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./accordion.vue?vue&type=template&id=63cb5622\"\nimport script from \"./accordion.vue?vue&type=script&lang=js\"\nexport * from \"./accordion.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div class=\"switcher\">\r\n    <div v-if=\"$slots.panel1 && $slots.panel2\" class=\"navigation__panelSwitcher\">\r\n      <slot name=\"title\"></slot>\r\n      <ul role=\"tablist\" class=\"navigation__panelSwitcherTabs\">\r\n        <li\r\n          aria-hidden=\"true\"\r\n          class=\"navigation__panelSwitchIndicator\"\r\n          :class=\"{ '-left': tab1Selected, '-right': tab2Selected }\"\r\n        ></li>\r\n        <li\r\n          :id=\"`${which}-tab1`\"\r\n          ref=\"tab1\"\r\n          role=\"tab\"\r\n          :aria-controls=\"`${which}-panel1`\"\r\n          :aria-selected=\"tab1Selected\"\r\n          :tabindex=\"tab1Selected ? 0 : -1\"\r\n          :class=\"{ '-active': tab1Selected }\"\r\n          class=\"navigation__panelSwitch\"\r\n          @click=\"switchPanel(true, false, 1)\"\r\n          @keyup.39=\"switchPanel(false, true, 2)\"\r\n        >\r\n          {{ switch1 }}\r\n        </li>\r\n\r\n        <li\r\n          :id=\"`${which}-tab2`\"\r\n          ref=\"tab2\"\r\n          role=\"tab\"\r\n          :aria-controls=\"`${which}-panel2`\"\r\n          :aria-selected=\"tab2Selected\"\r\n          :tabindex=\"tab2Selected ? 0 : -1\"\r\n          :class=\"{ '-active': tab2Selected }\"\r\n          class=\"navigation__panelSwitch\"\r\n          @click=\"switchPanel(false, true, 2)\"\r\n          @keyup.37=\"switchPanel(true, false, 1)\"\r\n        >\r\n          {{ switch2 }}\r\n        </li>\r\n      </ul>\r\n    </div>\r\n    <div\r\n      :id=\"`${which}-panel1`\"\r\n      ref=\"panel1\"\r\n      role=\"tabpanel\"\r\n      :aria-labelledby=\"`${which}-tab1`\"\r\n      :class=\"{ '-active': tab1Selected }\"\r\n      class=\"navigation__panel\"\r\n    >\r\n      <div :class=\"panel1WrapperClass\">\r\n        <slot name=\"panel1\"></slot>\r\n      </div>\r\n    </div>\r\n\r\n    <div\r\n      :id=\"`${which}-panel2`\"\r\n      ref=\"panel2\"\r\n      role=\"tabpanel\"\r\n      :aria-labelledby=\"`${which}-tab2`\"\r\n      :class=\"{ '-active': tab2Selected }\"\r\n      class=\"navigation__panel\"\r\n    >\r\n      <div :class=\"panel2WrapperClass\">\r\n        <slot name=\"panel2\"></slot>\r\n      </div>\r\n    </div>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { AnalyticsHandler } from '../../../../../Foundation/Core/code/Scripts/analyticsHandler';\r\n\r\nexport default {\r\n  name: 'Switcher',\r\n  props: {\r\n    which: { type: String, required: true, default: 'skincare' },\r\n    switch1: { type: String, required: true, default: 'Products' },\r\n    switch2: { type: String, required: true, default: 'Tips & Trends' },\r\n    panel1WrapperClass: { type: String, default: '' },\r\n    panel2WrapperClass: { type: String, default: '' },\r\n    taggingEvent: { type: Object, default: () => {} },\r\n  },\r\n  data() {\r\n    return {\r\n      tab1Selected: true,\r\n      tab2Selected: false,\r\n      tabIndex: 0,\r\n    };\r\n  },\r\n  methods: {\r\n    updateScroller(index) {\r\n      if (index === this.tabIndex) {\r\n        return;\r\n      }\r\n      var label = index == 1 ? this.switch1 : this.switch2;\r\n      this.tabIndex = index;\r\n      eventBus.emit('updateScroller');\r\n      this.pushTaggingEvent(label);\r\n    },\r\n    switchPanel(tab1, tab2, idPanel) {\r\n      this.tab1Selected = tab1;\r\n      this.tab2Selected = tab2;\r\n      if (tab1) {\r\n        this.$refs.tab1.focus();\r\n      } else {\r\n        this.$refs.tab2.focus();\r\n      }\r\n      this.updateScroller(idPanel);\r\n      eventBus.emit('switchPanel', this.tabIndex);\r\n    },\r\n    pushTaggingEvent(label) {\r\n      if (!this.taggingEvent) {\r\n        return;\r\n      }\r\n      try {\r\n        /* istanbul ignore next */\r\n        AnalyticsHandler.getAnalyticsHandler().push({\r\n          type: 'userActionEvent',\r\n          ecommerce: this.taggingEvent.ecommerce,\r\n          category: this.taggingEvent.category,\r\n          action: this.taggingEvent.action,\r\n          label: label.toLowerCase(),\r\n        });\r\n      } catch (e) {\r\n        /* istanbul ignore next */\r\n        console.warn('Could not push to dataLayer', e);\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./switcher.vue?vue&type=template&id=79a1ed8f\"\nimport script from \"./switcher.vue?vue&type=script&lang=js\"\nexport * from \"./switcher.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <nav>\r\n    <slot />\r\n    <!-- //NOSONAR The parent component contains the UL tag. -->\r\n    <li v-show=\"showSignedElements\" ref=\"signedElements\" class=\"navigationList__item bottom-items\">\r\n      <slot name=\"signed-elements\"></slot>\r\n    </li>\r\n  </nav>\r\n</template>\r\n\r\n<script>\r\nconst NAVIGATION_LIST_CLASS = '.navigationList';\r\n\r\nexport default {\r\n  name: 'HeadingNavigation',\r\n  data() {\r\n    return {\r\n      showSignedElements: true,\r\n    };\r\n  },\r\n  mounted() {\r\n    const signedElements = this.$refs.signedElements.cloneNode(true);\r\n    this.$el.querySelector(NAVIGATION_LIST_CLASS).append(signedElements);\r\n\r\n    this.$nextTick(() => {\r\n      this.showSignedElements = false;\r\n    });\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./navigation.vue?vue&type=template&id=e4af1384\"\nimport script from \"./navigation.vue?vue&type=script&lang=js\"\nexport * from \"./navigation.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import eventBus from '@loreal/eventbus-js';\r\nimport { MqHandler } from '../../../../../Foundation/Core/code/Scripts/mqHandler';\r\n\r\n/* istanbul ignore next */\r\nconst NAVIGATION = '.navigation';\r\nconst NAVIGATION_LIST = '.navigationList';\r\nconst NAVIGATION_LIST_ACTIVE = '.navigationList.-active';\r\nconst LIST_ITEM = '.navigationList__item';\r\nconst ACTIVE = '-active';\r\nconst BURGER = '.navigation__burger';\r\nconst BURGER_ACTIVE = '.navigation__burger.-active';\r\nconst TRIGGER = '.navigationList__trigger';\r\nconst PANEL = '.navigation__panelWrapper';\r\nconst PANEL_ACTIVE = '.navigation__panelWrapper.-active';\r\nconst NAVIGATION_BAR = '.navigationBar';\r\nconst HEADER_WRAPPER = '.oap-header__wrapper';\r\nconst HAS_MOBILE_NAVIGATION = '.oap-has-mobile-navigation';\r\nconst NAVIGATION_BACK_LABEL = '.navigation__backLabel';\r\nconst ARIA_EXPANDED = 'aria-expanded';\r\nconst ARIA_HIDDEN = 'aria-hidden';\r\nconst TRIGGER_PADDINGS = 15;\r\nconst TOGGLE_PANEL = 'megamenu::togglePanel';\r\nconst matchMedia999 = window.matchMedia('(min-width: 999px)').matches;\r\nconst matchMedia1025 = window.matchMedia('(min-width: 1025px)').matches;\r\nconst matchMedia998 = window.matchMedia('(max-width: 998px)').matches;\r\nconst timerAnimation = 500;\r\nconst OpeningTimer = 10;\r\nconst lastFocusedEl = '.-lastfocusedEl';\r\nconst hasMobileNavigation = document.querySelector(HAS_MOBILE_NAVIGATION);\r\nconst megamenuLastfocusedEl = '.-megamenuLastfocusedEl';\r\nconst MENU_IS_ACTIVE = 'menu--is-active';\r\nconst NO_SCROLL = 'noScroll';\r\nconst OPAQUE = '-opaque';\r\n\r\nexport function emitEvent(type, index = null) {\r\n  eventBus.emit(type, index);\r\n}\r\n\r\nexport function toggleMenu(trigger, target) {\r\n  const body = document.body;\r\n  const activeList = document.querySelector(NAVIGATION_LIST_ACTIVE);\r\n  /* istanbul ignore next */\r\n  if (activeList) {\r\n    body.classList.remove(NO_SCROLL, MENU_IS_ACTIVE);\r\n    document.querySelector(`${BURGER}.-active`).setAttribute(ARIA_EXPANDED, false);\r\n    activeList.classList.remove('-active');\r\n    document.querySelector(`${BURGER}.-active`).classList.remove('-active');\r\n    trigger.setAttribute(ARIA_EXPANDED, false);\r\n    emitEvent('navOpen', { status: false, navId: target });\r\n    document.querySelector('.goToContent').setAttribute(ARIA_HIDDEN, false);\r\n    document.querySelector('main').removeAttribute(ARIA_HIDDEN);\r\n    document.querySelector('footer').removeAttribute(ARIA_HIDDEN);\r\n    document.querySelector('.navigation__burger').setAttribute(ARIA_EXPANDED, false);\r\n\r\n    document.querySelector(megamenuLastfocusedEl)?.remove();\r\n\r\n    if (hasMobileNavigation) {\r\n      eventBus.emit('closeNav');\r\n    }\r\n\r\n    return;\r\n  }\r\n\r\n  /* istanbul ignore next */\r\n  if (document.querySelector(NAVIGATION_LIST) && document.querySelector(BURGER)) {\r\n    body.classList.add(NO_SCROLL, MENU_IS_ACTIVE);\r\n    document.querySelector('.goToContent')?.setAttribute(ARIA_HIDDEN, true);\r\n    document.querySelector('main')?.setAttribute(ARIA_HIDDEN, true);\r\n    document.querySelector('footer')?.setAttribute(ARIA_HIDDEN, true);\r\n    trigger.setAttribute(ARIA_EXPANDED, true);\r\n    const focusBurger = () => {\r\n      setTimeout(function () {\r\n        document.querySelector(BURGER_ACTIVE).focus();\r\n      }, 10);\r\n    };\r\n    if (target) {\r\n      const selector = `#${target}${NAVIGATION_LIST}`;\r\n      document.querySelector(selector).classList.add(ACTIVE);\r\n      trigger.classList.add(ACTIVE);\r\n      let selectedsubnaviLastElement = document.createElement('div');\r\n      selectedsubnaviLastElement.tabIndex = '0';\r\n      selectedsubnaviLastElement.className = '-bmagnavLastfocusedEl';\r\n      document.querySelector(selector).appendChild(selectedsubnaviLastElement);\r\n    } else {\r\n      document.querySelector(NAVIGATION_LIST).classList.add(ACTIVE);\r\n      document.querySelector(BURGER).classList.add(ACTIVE);\r\n      if (matchMedia998 || hasMobileNavigation) {\r\n        let selectedsubnaviLastElement = document.createElement('div');\r\n        selectedsubnaviLastElement.tabIndex = '0';\r\n        selectedsubnaviLastElement.className = '-megamenuLastfocusedEl';\r\n        document.querySelector(NAVIGATION_LIST).appendChild(selectedsubnaviLastElement);\r\n        let selectedmegamenuLastfocusedEl = document.querySelector(megamenuLastfocusedEl);\r\n        selectedmegamenuLastfocusedEl.addEventListener('focus', focusBurger);\r\n      }\r\n    }\r\n  }\r\n  trigger.setAttribute(ARIA_EXPANDED, true);\r\n  emitEvent('navOpen', { status: true, navId: target });\r\n}\r\n\r\nexport function closeMobilePanel(index) {\r\n  const activePanel = document.querySelector(PANEL_ACTIVE);\r\n\r\n  /* istanbul ignore next */\r\n  if (activePanel) {\r\n    activePanel.classList.remove(ACTIVE);\r\n    activePanel.querySelector(NAVIGATION_BACK_LABEL).setAttribute(ARIA_EXPANDED, false);\r\n    /* istanbul ignore next */\r\n    if (matchMedia999 && !hasMobileNavigation) {\r\n      activePanel.style.display = 'none';\r\n    } else {\r\n      setTimeout(() => {\r\n        activePanel.style.display = 'none';\r\n      }, timerAnimation);\r\n    }\r\n\r\n    const button = activePanel.closest(LIST_ITEM) || document.querySelectorAll([LIST_ITEM])[index];\r\n    close(button);\r\n    window.removeEventListener('keyup', backTabKey);\r\n  }\r\n}\r\n\r\nexport function close(node) {\r\n  /* istanbul ignore next */\r\n  node.classList.remove(ACTIVE);\r\n  node.querySelector(TRIGGER).setAttribute(ARIA_EXPANDED, false);\r\n  node.querySelector(TRIGGER).focus();\r\n  node.querySelector(PANEL).classList.remove(ACTIVE);\r\n  const hasMobileNavigation = document.querySelector(HAS_MOBILE_NAVIGATION);\r\n  if (document.querySelector(lastFocusedEl)) {\r\n    document.querySelector(lastFocusedEl).remove();\r\n  }\r\n\r\n  /* istanbul ignore next */\r\n  if (matchMedia999 && !hasMobileNavigation) {\r\n    node.querySelector(PANEL).style.display = 'none';\r\n    document.body.classList.remove(MENU_IS_ACTIVE);\r\n  } else {\r\n    if (!matchMedia999) {\r\n      setTimeout(() => {\r\n        node.querySelector(PANEL).style.display = 'none';\r\n      }, timerAnimation);\r\n    } else if (hasMobileNavigation) {\r\n      node.querySelector(PANEL).style.display = 'none';\r\n      eventBus.emit('collapse', null);\r\n    }\r\n  }\r\n\r\n  node.querySelector(TRIGGER).focus();\r\n  // Traverse tree to find navigation id\r\n  const navId = node.closest(NAVIGATION_LIST).getAttribute('id') || undefined;\r\n  emitEvent('navOpen', { status: false, navId });\r\n}\r\n\r\nexport function onEscKey(e, node) {\r\n  /* istanbul ignore next */\r\n  if (e.keyCode === 27) {\r\n    close(node);\r\n  }\r\n}\r\n\r\nexport function backTabKey(e) {\r\n  /* istanbul ignore next */\r\n  const activeElement = document.querySelector(BURGER_ACTIVE);\r\n  if (e.shiftKey && e.keyCode === 9 && activeElement) {\r\n    activeElement.focus();\r\n  }\r\n}\r\n\r\nexport function onResize(node) {\r\n  /* istanbul ignore next */\r\n  if (document.querySelector(NAVIGATION_LIST_ACTIVE)) {\r\n    document.querySelector(NAVIGATION_LIST).classList.remove('-active');\r\n    document.querySelector(BURGER).classList.remove('-active');\r\n  }\r\n\r\n  close(node);\r\n}\r\n\r\n/* istanbul ignore next */\r\nexport function handleBarScroll() {\r\n  let prevScrollpos = Math.round(window.scrollY);\r\n  let isHiding = false;\r\n  const getHeaderHeight = () => {\r\n    let headerMainHeight = 0;\r\n    let accountNavigationHeight = 0;\r\n    const headerMainChildren = document.querySelectorAll('.oap-header__main > *');\r\n    if (headerMainChildren.length) {\r\n      headerMainChildren.forEach(\r\n        (child) => (headerMainHeight = headerMainHeight + child.offsetHeight)\r\n      );\r\n    }\r\n    const accountNavigation = document.querySelector('.oap-account-navigation');\r\n    if (accountNavigation) {\r\n      accountNavigationHeight = document.querySelector('.oap-account-navigation').offsetHeight;\r\n    }\r\n    return headerMainHeight + accountNavigationHeight;\r\n  };\r\n  let defaultHeightDistance = getHeaderHeight();\r\n  let heightDistance = defaultHeightDistance;\r\n\r\n  window.addEventListener('resize', () => {\r\n    defaultHeightDistance = getHeaderHeight();\r\n  });\r\n\r\n  const showBar = () => {\r\n    isHiding = false;\r\n    document.body.classList.add('headerIsShown');\r\n  };\r\n  const hideBar = () => {\r\n    if (isHiding) {\r\n      return;\r\n    }\r\n    isHiding = true;\r\n    document.body.classList.remove('headerIsShown');\r\n  };\r\n\r\n  showBar();\r\n\r\n  window.addEventListener('resize', showBar);\r\n  window.addEventListener('orientationchange', showBar);\r\n\r\n  let scrollPos = 0;\r\n\r\n  /* istanbul ignore next */\r\n  window.addEventListener('scroll', () => {\r\n    const currentScrollPos = Math.round(window.scrollY);\r\n\r\n    if (prevScrollpos >= currentScrollPos) {\r\n      showBar();\r\n    } else if (!document.querySelector(BURGER_ACTIVE)) {\r\n      hideBar();\r\n    }\r\n\r\n    const body = document.body;\r\n    if (body.getBoundingClientRect().top > scrollPos) {\r\n      heightDistance = 0;\r\n\r\n      document.querySelector(HEADER_WRAPPER).classList.add(OPAQUE);\r\n\r\n      if (document.body.getBoundingClientRect().top === 0) {\r\n        if (document.querySelector(HEADER_WRAPPER)) {\r\n          document.querySelector(HEADER_WRAPPER).classList.remove(OPAQUE);\r\n        }\r\n      } else {\r\n        document.querySelector(HEADER_WRAPPER).classList.add(OPAQUE);\r\n      }\r\n    } else {\r\n      heightDistance = defaultHeightDistance;\r\n    }\r\n\r\n    if (currentScrollPos < heightDistance) {\r\n      return;\r\n    }\r\n\r\n    if (currentScrollPos + window.innerHeight + heightDistance >= body.offsetHeight) {\r\n      return;\r\n    }\r\n\r\n    setTimeout(() => {\r\n      prevScrollpos = currentScrollPos;\r\n    }, 100);\r\n\r\n    scrollPos = body.getBoundingClientRect().top;\r\n  });\r\n}\r\n\r\nexport function togglePanel(panelIndex) {\r\n  /* istanbul ignore next */\r\n  eventBus.on(TOGGLE_PANEL, (index) => {\r\n    const items = document.querySelectorAll(LIST_ITEM);\r\n    const active = document.querySelector(`${LIST_ITEM}.${ACTIVE}`);\r\n    const body = document.body;\r\n\r\n    // check if the panel and the index of the button match\r\n    // otherwise you bind multiple times\r\n    /* istanbul ignore next */\r\n    if (panelIndex === index) {\r\n      let selectedElement = document.querySelector(`${LIST_ITEM}[data-index=\"${index}\"]`);\r\n      if (!selectedElement) {\r\n        selectedElement = items[index];\r\n      }\r\n\r\n      // close menu item after clicking on menu overlay\r\n      eventBus.on('closeNav', () => {\r\n        close(selectedElement);\r\n      });\r\n\r\n      // if the currently active item exists and it is not the same as the clicked item, remove the actiev state.\r\n      // this makes sure we can toggle the active state by clicking the current button again.\r\n      // only for small screens\r\n      /* istanbul ignore next */\r\n      if (\r\n        active &&\r\n        active !== selectedElement &&\r\n        !MqHandler.getMqHandler().getMqForSize('small').selected\r\n      ) {\r\n        close(active);\r\n        window.removeEventListener('keyup', onEscKey);\r\n        window.removeEventListener('resize', onResize);\r\n      }\r\n\r\n      // if the current button is active, deactivate it.\r\n      /* istanbul ignore next */\r\n      if (selectedElement.classList.contains(ACTIVE)) {\r\n        close(selectedElement);\r\n        window.removeEventListener('keyup', onEscKey);\r\n        window.removeEventListener('resize', onResize);\r\n        body.classList.remove(NO_SCROLL);\r\n        if (document.querySelector(lastFocusedEl)) {\r\n          document.querySelector(lastFocusedEl).remove();\r\n        }\r\n      }\r\n      // if the current button is not active, activate it.\r\n      /* istanbul ignore next */\r\n      else {\r\n        const trigger = selectedElement.querySelector(TRIGGER);\r\n        const bar = selectedElement.closest(NAVIGATION).querySelector(NAVIGATION_BAR);\r\n        const rect = trigger.getBoundingClientRect();\r\n\r\n        trigger.setAttribute(ARIA_EXPANDED, true);\r\n        selectedElement.classList.add(ACTIVE);\r\n\r\n        setTimeout(() => {\r\n          selectedElement.querySelector(PANEL).classList.add(ACTIVE);\r\n          selectedElement.querySelector(PANEL).style.display = 'block';\r\n          selectedElement.querySelector(NAVIGATION_BACK_LABEL).focus();\r\n          selectedElement.querySelector(NAVIGATION_BACK_LABEL).setAttribute(ARIA_EXPANDED, true);\r\n          body.classList.add(MENU_IS_ACTIVE);\r\n\r\n          if (matchMedia998 || hasMobileNavigation) {\r\n            var selectedsubnaviLastElement = document.createElement('div');\r\n            selectedsubnaviLastElement.tabIndex = '0';\r\n            selectedsubnaviLastElement.className = '-lastfocusedEl';\r\n            selectedElement\r\n              .querySelector('.navigation__panelWrapper')\r\n              .appendChild(selectedsubnaviLastElement);\r\n\r\n            var selectedLastfocusedEl = selectedElement.querySelector(lastFocusedEl);\r\n            selectedLastfocusedEl.addEventListener('focus', () => {\r\n              setTimeout(() => selectedElement.querySelector(NAVIGATION_BACK_LABEL).focus(), 10);\r\n            });\r\n          }\r\n        }, 10);\r\n\r\n        // timeout is needed here because the position is incorrectly calculated\r\n        // when the megamenu is opened the first time\r\n        setTimeout(() => {\r\n          bar.style.width = `${rect.width - TRIGGER_PADDINGS * 2}px`;\r\n          bar.style.left = `${trigger.offsetLeft + TRIGGER_PADDINGS}px`;\r\n          bar.style.bottom = `${TRIGGER_PADDINGS + 2}px`;\r\n        }, 200);\r\n\r\n        // Traverse tree to find navigation id\r\n        const navId = selectedElement.closest(NAVIGATION_LIST).getAttribute('id') || undefined;\r\n        emitEvent('navOpen', { status: true, navId });\r\n        body.classList.add(NO_SCROLL);\r\n\r\n        /* istanbul ignore next */\r\n        window.addEventListener('keyup', (e) => {\r\n          onEscKey(e, selectedElement);\r\n        });\r\n\r\n        /* istanbul ignore next */\r\n        window.addEventListener('orientationchange', () => {\r\n          onResize(selectedElement);\r\n        });\r\n\r\n        /* istanbul ignore next */\r\n        if (matchMedia1025) {\r\n          window.addEventListener('resize', () => {\r\n            onResize(selectedElement);\r\n          });\r\n        }\r\n      }\r\n    }\r\n  });\r\n}\r\n\r\nexport const megamenu = {\r\n  name: 'megamenu',\r\n  mounted: (el, binding) => {\r\n    const { arg, value: data = {} } = binding;\r\n\r\n    /* istanbul ignore next */\r\n    switch (arg) {\r\n      case 'burger': {\r\n        const target = binding.value ? binding.value.id : undefined;\r\n        el.addEventListener('click', () => {\r\n          toggleMenu(el, target);\r\n        });\r\n        break;\r\n      }\r\n\r\n      case 'togglepanel':\r\n        el.addEventListener('click', (e) => {\r\n          e.preventDefault();\r\n\r\n          setTimeout(() => {\r\n            emitEvent(TOGGLE_PANEL, data.index);\r\n            emitEvent('updateScroller');\r\n          }, OpeningTimer);\r\n        });\r\n\r\n        el.addEventListener('keydown', (e) => {\r\n          if (e.key === ' ' || e.key === 'Spacebar') {\r\n            e.preventDefault();\r\n            document.querySelector(HEADER_WRAPPER).style.top = 0;\r\n            document.querySelector(HEADER_WRAPPER).classList.add('-scroll');\r\n\r\n            setTimeout(() => {\r\n              emitEvent(TOGGLE_PANEL, data.index);\r\n              emitEvent('updateScroller');\r\n            }, OpeningTimer);\r\n          }\r\n        });\r\n        break;\r\n\r\n      case 'panel':\r\n        togglePanel(data.index);\r\n        break;\r\n\r\n      case 'backreturn':\r\n        el.addEventListener('click', () => {\r\n          closeMobilePanel(data.index);\r\n        });\r\n        if (MqHandler.getMqHandler().getMqForSize('small').selected) {\r\n          el.addEventListener('keyup', backTabKey);\r\n        }\r\n        break;\r\n\r\n      case 'barscroll':\r\n        handleBarScroll();\r\n        break;\r\n\r\n      default:\r\n        break;\r\n    }\r\n  },\r\n};\r\n","import Collapsable from './code/Scripts/components/collapsable.vue';\r\nimport OapAccordion from './code/Scripts/components/accordion.vue';\r\nimport Switcher from './code/Scripts/components/switcher.vue';\r\nimport Navigation from './code/Scripts/components/navigation.vue';\r\nimport { megamenu } from './code/Scripts/directives/megamenu';\r\n\r\nexport default {\r\n  components: {\r\n    Switcher,\r\n    Collapsable,\r\n    OapAccordion,\r\n    Navigation,\r\n  },\r\n  directives: {\r\n    megamenu,\r\n  },\r\n};\r\n","<template>\r\n  <div class=\"newsletter-form\">\r\n    <form\r\n      ref=\"form\"\r\n      novalidate\r\n      class=\"\"\r\n      :action=\"formAction\"\r\n      name=\"newsletter-form\"\r\n      @submit.prevent=\"validateUser\"\r\n    >\r\n      <slot name=\"nlf-additional-fields\" />\r\n      <div\r\n        class=\"newsletter-form-block newsletter-form-block--radio\"\r\n        :class=\"{ '-has-error': validateState.gender.notDefined }\"\r\n      >\r\n        <label class=\"newsletter-form-label\">\r\n          {{ genderDescription }}<span class=\"required\">*</span>\r\n        </label>\r\n        <slot name=\"gender-options\" :form=\"form\"></slot>\r\n        <div class=\"validation-block\">\r\n          <span v-if=\"validateState.gender.notDefined\">Gender must be informed.</span>\r\n        </div>\r\n      </div>\r\n      <div class=\"newsletter-form-block newsletter-form-block--names\">\r\n        <MaterialInput\r\n          ref=\"firstName\"\r\n          v-model=\"form.firstName\"\r\n          ref-input=\"firstName\"\r\n          type=\"text\"\r\n          :required=\"true\"\r\n          name=\"FirstName\"\r\n          :error-messages=\"firstNameErrorMessage\"\r\n          >{{ firstNamePlaceholder }}</MaterialInput\r\n        >\r\n        <MaterialInput\r\n          ref=\"lastName\"\r\n          v-model=\"form.lastName\"\r\n          ref-input=\"lastName\"\r\n          type=\"text\"\r\n          :required=\"true\"\r\n          name=\"LastName\"\r\n          :error-messages=\"lastNameErrorMessage\"\r\n          >{{ lastNamePlaceholder }}</MaterialInput\r\n        >\r\n      </div>\r\n      <div class=\"newsletter-form-block newsletter-form-block--email\">\r\n        <MaterialInput\r\n          ref=\"email\"\r\n          v-model=\"form.email\"\r\n          ref-input=\"email\"\r\n          type=\"email\"\r\n          :required=\"true\"\r\n          name=\"Email\"\r\n          :error-messages=\"emailErrorMessage\"\r\n          >{{ emailPlaceholder }}</MaterialInput\r\n        >\r\n      </div>\r\n      <div class=\"newsletter-form-block newsletter-form-block--dates\">\r\n        <label class=\"newsletter-form-block__label\" for=\"date-of-birth\">\r\n          {{ birthdatePlaceholder }}<span class=\"required\">*</span>\r\n        </label>\r\n        <div class=\"colorDropdown day\">\r\n          <Dropdown\r\n            v-model=\"form.birthDate.day\"\r\n            ref-select=\"day\"\r\n            :dates=\"date.days\"\r\n            :is-valid=\"validateState.date.invalid || validateState.date.notDefined\"\r\n            reset-name=\"dayReset\"\r\n            ><!-- Day --></Dropdown\r\n          >\r\n          <input type=\"hidden\" name=\"Day\" :value=\"form.birthDate.day\" />\r\n        </div>\r\n        <div class=\"colorDropdown month\">\r\n          <Dropdown\r\n            v-model=\"form.birthDate.month\"\r\n            :dates=\"date.months\"\r\n            ref-select=\"month\"\r\n            :is-valid=\"validateState.date.invalid || validateState.date.notDefined\"\r\n            reset-name=\"monthReset\"\r\n            ><!-- Month --></Dropdown\r\n          >\r\n          <input type=\"hidden\" name=\"Month\" :value=\"form.birthDate.month\" />\r\n        </div>\r\n        <div class=\"colorDropdown year\">\r\n          <Dropdown\r\n            v-model=\"form.birthDate.year\"\r\n            :dates=\"date.years\"\r\n            ref-select=\"year\"\r\n            :is-valid=\"validateState.date.invalid || validateState.date.notDefined\"\r\n            reset-name=\"yearReset\"\r\n            ><!-- Year --></Dropdown\r\n          >\r\n          <input type=\"hidden\" name=\"Year\" :value=\"form.birthDate.year\" />\r\n        </div>\r\n        <div class=\"validation-block\">\r\n          <span v-if=\"validateState.date.invalid\">{{ wrongDateError }}</span>\r\n          <span v-if=\"validateState.date.notDefined\">{{ emptyDateError }}</span>\r\n        </div>\r\n      </div>\r\n      <div class=\"newsletter-form-block newsletter-form-block--left\">\r\n        <button\r\n          v-if=\"showClearAll\"\r\n          class=\"button clear-all\"\r\n          type=\"button\"\r\n          tabindex=\"0\"\r\n          @click=\"clearAllFields\"\r\n        >\r\n          {{ clearAllLabel }} <span class=\"form-clear\">X</span>\r\n        </button>\r\n        <button class=\"button -primary\" tabindex=\"0\">{{ submitLabel }}</button>\r\n      </div>\r\n    </form>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport { AnalyticsHandler } from '../../../../../Foundation/Core/code/Scripts';\r\nimport eventBus from '@loreal/eventbus-js';\r\n\r\nimport store from '../store';\r\nimport { mapActions } from 'vuex';\r\n\r\nimport Dropdown from './dropdown.vue';\r\nimport MaterialInput from './input.vue';\r\n\r\nconst NUMBER_OF_YEARS = 85;\r\n\r\nexport default {\r\n  name: 'NewsletterForm',\r\n  components: {\r\n    Dropdown,\r\n    MaterialInput,\r\n  },\r\n\r\n  props: {\r\n    genderDescription: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    firstNamePlaceholder: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    lastNamePlaceholder: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    emailPlaceholder: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    dayPlaceholder: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    monthPlaceholder: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    yearPlaceholder: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    birthdatePlaceholder: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n\r\n    firstNameError: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    lastNameError: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    emailError: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    emptyDateError: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    wrongDateError: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n\r\n    submitLabel: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    submitErrorMessage: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    submitSuccessMessage: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    clearAllLabel: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n\r\n    formAction: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    messageTiming: {\r\n      type: Number,\r\n      required: false,\r\n      default: 30,\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      form: {\r\n        firstName: null,\r\n        lastName: null,\r\n        gender: null,\r\n        email: null,\r\n        birthDate: {\r\n          day: null,\r\n          month: null,\r\n          year: null,\r\n        },\r\n      },\r\n      date: {\r\n        days: this.generateDays(),\r\n        months: this.generateMonths(),\r\n        years: this.generateYears(),\r\n      },\r\n      validateState: {\r\n        date: {\r\n          invalid: false,\r\n          notDefined: false,\r\n        },\r\n        firstName: {\r\n          notDefined: false,\r\n        },\r\n        lastName: {\r\n          notDefined: false,\r\n        },\r\n        gender: {\r\n          notDefined: false,\r\n        },\r\n        email: {\r\n          invalid: false,\r\n          notDefined: false,\r\n        },\r\n      },\r\n    };\r\n  },\r\n  computed: {\r\n    showClearAll() {\r\n      return (\r\n        this.form.firstName ||\r\n        this.form.lastName ||\r\n        this.form.gender ||\r\n        this.form.email ||\r\n        this.form.birthDate.day ||\r\n        this.form.birthDate.month ||\r\n        this.form.birthDate.year\r\n      );\r\n    },\r\n    firstNameErrorMessage() {\r\n      const error = [];\r\n      this.validateState.firstName.notDefined && error.push(this.firstNameError);\r\n      return error;\r\n    },\r\n    lastNameErrorMessage() {\r\n      const error = [];\r\n      this.validateState.lastName.notDefined && error.push(this.lastNameError);\r\n      return error;\r\n    },\r\n    emailErrorMessage() {\r\n      const error = [];\r\n      this.validateState.email.notDefined && error.push(this.emailError);\r\n      this.validateState.email.invalid && error.push('Email is not valid.');\r\n      return error;\r\n    },\r\n    dateErrorMessage() {\r\n      const error = [];\r\n      this.validateState.date.notDefined && error.push('Date is required.');\r\n      this.validateState.date.invalid && error.push('Date is not valid.');\r\n      return error;\r\n    },\r\n    genderErrorMessage() {\r\n      const error = [];\r\n      this.validateState.gender.notDefined && error.push('Gender is required.');\r\n      return error;\r\n    },\r\n    isFormValid() {\r\n      return (\r\n        !this.firstNameErrorMessage.length &&\r\n        !this.lastNameErrorMessage.length &&\r\n        !this.emailErrorMessage.length &&\r\n        !this.dateErrorMessage.length &&\r\n        !this.genderErrorMessage.length\r\n      );\r\n    },\r\n  },\r\n  beforeCreate() {\r\n    this.$store.registerModule('NewsletterForm', store);\r\n  },\r\n  mounted() {\r\n    eventBus.on('newsletter-form::form-submited', this.showValidationMessages);\r\n    eventBus.on('inputValue', (value) => {\r\n      let refInput = value.refField;\r\n      this.form[refInput] = value.inputValue;\r\n    });\r\n    eventBus.on('selectDropdown', (value) => {\r\n      let refSelect = value.refField;\r\n      this.form.birthDate[refSelect] = value.inputValue;\r\n    });\r\n    const currentURL = new URL(window.location.href);\r\n\r\n    if (currentURL.searchParams.get('email')) {\r\n      this.form['email'] = currentURL.searchParams.get('email');\r\n    }\r\n  },\r\n  methods: {\r\n    ...mapActions('NewsletterForm', ['submitForm']),\r\n\r\n    validateUser() {\r\n      let formData = new FormData(this.$refs.form);\r\n      this.validateGender();\r\n      this.validateFirstName();\r\n      this.validateLastName();\r\n      this.validateEmail();\r\n      this.validateDate();\r\n\r\n      if (this.isFormValid) {\r\n        AnalyticsHandler.getAnalyticsHandler().push({\r\n          type: 'userActionEvent',\r\n          ecommerce: 'undefined',\r\n          category: 'registration',\r\n          action: 'newsletter',\r\n          label: 'newsletter-form-page',\r\n        });\r\n        this.submitForm({\r\n          formActionUrl: this.formAction,\r\n          formData,\r\n        });\r\n      }\r\n    },\r\n    showValidationMessages(type) {\r\n      const messages = {\r\n        error: this.submitErrorMessage,\r\n        success: this.submitSuccessMessage,\r\n      };\r\n\r\n      this.$toasted[type](messages[type], {\r\n        action: {\r\n          icon: '✕',\r\n          onClick: (e, toastObject) => {\r\n            toastObject.goAway(0);\r\n          },\r\n        },\r\n      }).goAway(this.messageTiming * 1000);\r\n\r\n      if (type === 'error') {\r\n        return;\r\n      }\r\n\r\n      this.clearAllFields();\r\n    },\r\n    validateGender() {\r\n      if (!this.form.gender) {\r\n        this.validateState.gender.notDefined = true;\r\n        return false;\r\n      }\r\n\r\n      this.validateState.gender.notDefined = false;\r\n      return true;\r\n    },\r\n    validateFirstName() {\r\n      if (!this.form.firstName) {\r\n        this.validateState.firstName.notDefined = true;\r\n        return false;\r\n      }\r\n\r\n      this.validateState.firstName.notDefined = false;\r\n      return true;\r\n    },\r\n    validateLastName() {\r\n      if (!this.form.lastName) {\r\n        this.validateState.lastName.notDefined = true;\r\n        return false;\r\n      }\r\n\r\n      this.validateState.lastName.notDefined = false;\r\n      return true;\r\n    },\r\n    validateDate() {\r\n      if (!this.form.birthDate.day || !this.form.birthDate.month || !this.form.birthDate.year) {\r\n        this.validateState.date.notDefined = true;\r\n        return false;\r\n      }\r\n\r\n      this.validateState.date.notDefined = false;\r\n      // First check for the pattern\r\n      if (\r\n        !/^\\d{1,2}\\/\\d{1,2}\\/\\d{4}$/.test(\r\n          `${this.form.birthDate.day}/${this.form.birthDate.month}/${this.form.birthDate.year}`\r\n        )\r\n      ) {\r\n        this.validateState.date.invalid = true;\r\n        return false;\r\n      }\r\n\r\n      // Check the ranges of month and year\r\n      if (\r\n        this.form.birthDate.year < 1000 ||\r\n        this.form.birthDate.year > 3000 ||\r\n        this.form.birthDate.month == 0 ||\r\n        this.form.birthDate.month > 12\r\n      ) {\r\n        this.validateState.date.invalid = true;\r\n        return false;\r\n      }\r\n\r\n      var monthLength = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\r\n\r\n      // Adjust for leap years\r\n      if (\r\n        this.form.birthDate.year % 400 == 0 ||\r\n        (this.form.birthDate.year % 100 != 0 && this.form.birthDate.year % 4 == 0)\r\n      )\r\n        monthLength[1] = 29;\r\n\r\n      // Check the range of the day\r\n      if (\r\n        this.form.birthDate.day > 0 &&\r\n        this.form.birthDate.day <= monthLength[this.form.birthDate.month - 1]\r\n      ) {\r\n        this.validateState.date.invalid = false;\r\n        return true;\r\n      }\r\n\r\n      this.validateState.date.invalid = true;\r\n      return false;\r\n    },\r\n    generateDays() {\r\n      const dObject = [\r\n        {\r\n          selected: true,\r\n          value: undefined,\r\n          label: `${this.dayPlaceholder}`,\r\n        },\r\n      ];\r\n\r\n      for (var d = 1; d < 32; d++) {\r\n        dObject.push({\r\n          selected: false,\r\n          value: d,\r\n          label: d,\r\n        });\r\n      }\r\n\r\n      return dObject;\r\n    },\r\n    generateMonths() {\r\n      const dObject = [];\r\n      dObject.push({\r\n        selected: true,\r\n        value: undefined,\r\n        label: `${this.monthPlaceholder}`,\r\n      });\r\n\r\n      for (var m = 0; m < 12; m++) {\r\n        const date = new Date(2009, m, 10);\r\n        const month = date.toLocaleString(navigator.language, { month: 'long' });\r\n        dObject.push({\r\n          selected: false,\r\n          value: m + 1,\r\n          label: month,\r\n        });\r\n      }\r\n\r\n      return dObject;\r\n    },\r\n    generateYears() {\r\n      const d = new Date();\r\n      const currentYear = d.getUTCFullYear();\r\n      const targetYear = currentYear - NUMBER_OF_YEARS;\r\n      const dObject = [];\r\n      dObject.push({\r\n        selected: true,\r\n        value: undefined,\r\n        label: `${this.yearPlaceholder}`,\r\n      });\r\n\r\n      for (var y = d.getUTCFullYear(); y > targetYear; y--) {\r\n        dObject.push({\r\n          selected: false,\r\n          value: y,\r\n          label: y,\r\n        });\r\n      }\r\n\r\n      return dObject;\r\n    },\r\n    clearAllFields() {\r\n      this.form.firstName = '';\r\n      this.form.lastName = '';\r\n      this.form.email = '';\r\n      this.form.gender = '';\r\n      this.form.birthDate.day = '';\r\n      this.form.birthDate.month = '';\r\n      this.form.birthDate.year = '';\r\n      this.date.day = this.generateDays();\r\n      this.date.month = this.generateMonths();\r\n      this.date.year = this.generateYears();\r\n      let emitArray = [\r\n        'dropdown::dayReset',\r\n        'dropdown::monthReset',\r\n        'dropdown::yearReset',\r\n        'input::firstName',\r\n        'input::lastName',\r\n        'input::email',\r\n      ];\r\n      emitArray.forEach((value) => {\r\n        eventBus.emit(value);\r\n      });\r\n      this.$refs.lastName.reset();\r\n      this.$refs.firstName.reset();\r\n      this.$refs.form.email.reset();\r\n\r\n      this.clearValidationMessages();\r\n    },\r\n\r\n    clearValidationMessages() {\r\n      this.validateState.date.invalid = false;\r\n      this.validateState.date.notDefined = false;\r\n\r\n      this.validateState.firstName.notDefined = false;\r\n      this.validateState.lastName.notDefined = false;\r\n\r\n      this.validateState.email.notDefined = false;\r\n      this.validateState.email.invalid = false;\r\n\r\n      this.validateState.gender.notDefined = false;\r\n    },\r\n\r\n    validateEmail() {\r\n      if (!this.form.email) {\r\n        this.validateState.email.notDefined = true;\r\n        return false;\r\n      } else {\r\n        this.validateState.email.notDefined = false;\r\n      }\r\n      if (!/^\\w+([.-]?\\w+)*@\\w+([.-]?\\w+)*(\\.\\w{2,3})+$/gm.test(this.form.email)) {\r\n        this.validateState.email.invalid = true;\r\n        return false;\r\n      } else {\r\n        this.validateState.email.invalid = false;\r\n      }\r\n\r\n      this.validateState.email.invalid = false;\r\n      this.validateState.email.notDefined = false;\r\n\r\n      return true;\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import 'whatwg-fetch';\r\nimport eventBus from '@loreal/eventbus-js';\r\n\r\nexport const checkStatus = (response) => {\r\n  if (response.status >= 200 && response.status < 300) {\r\n    return response;\r\n  }\r\n\r\n  const error = new Error(response.statusText);\r\n  error.response = response;\r\n  throw error;\r\n};\r\n\r\nexport const parseJSON = (response) => response.json();\r\n\r\nexport default {\r\n  namespaced: true,\r\n  state: {\r\n    formSubmited: false,\r\n    formData: undefined,\r\n    typeValue: null,\r\n  },\r\n\r\n  getters: {},\r\n\r\n  actions: {\r\n    submitForm({ commit }, { formActionUrl, formData }) {\r\n      fetch(formActionUrl, {\r\n        method: 'POST',\r\n        body: formData,\r\n      })\r\n        .then(checkStatus)\r\n        .then(parseJSON)\r\n        .then((response) => {\r\n          const { type } = response;\r\n          commit('setTriggerNewsletterForm', type);\r\n        });\r\n    },\r\n  },\r\n\r\n  mutations: {\r\n    setTriggerNewsletterForm(state, typeValue) {\r\n      state.typeValue = typeValue;\r\n      eventBus.emit('newsletter-form::form-submited', typeValue);\r\n    },\r\n  },\r\n};\r\n","<template>\r\n  <div\r\n    class=\"colorDropdown__content dropdown__dates\"\r\n    :class=\"{\r\n      '-open': expanded,\r\n      '-colorHovered': isColorHovered,\r\n      '-dropdownHovered': isDropdownHovered,\r\n      '-invalid': isValid,\r\n    }\"\r\n  >\r\n    <div class=\"colorDropdown__current\">\r\n      <label id=\"color-label\" class=\"isSrOnly\" :for=\"id || `current-color`\">\r\n        <slot name=\"label\" />\r\n      </label>\r\n      <button\r\n        :id=\"id || `current-color`\"\r\n        ref=\"toggler\"\r\n        class=\"colorDropdown__currentColorButton\"\r\n        :aria-expanded=\"expanded ? 'true' : 'false'\"\r\n        :aria-describedby=\"descriptionId\"\r\n        type=\"button\"\r\n        @keyup.esc=\"close\"\r\n        @click=\"toggle\"\r\n        @focus=\"handleFocus('focus', true)\"\r\n        @blur=\"handleFocus('blur', false)\"\r\n      >\r\n        {{ selected.label || dates.find((d) => d.selected === true).label }}\r\n      </button>\r\n      <div class=\"colorDropdown__border\" />\r\n      <div v-show=\"isColorHovered\" class=\"colorDropdown__currentColor\">\r\n        <span class=\"colorDropdown__currentColorBorder\" />\r\n      </div>\r\n    </div>\r\n    <ul class=\"colorDropdown__list scrollbarCustom\" tabindex=\"-1\">\r\n      <li\r\n        v-for=\"date in dates\"\r\n        :key=\"date.value\"\r\n        class=\"colorDropdown__list__wrapper\"\r\n        @click=\"setSelected(date)\"\r\n      >\r\n        <a\r\n          ref=\"listItems\"\r\n          :class=\"{ '-selected': date.prevSelected }\"\r\n          class=\"colorDropdown__item\"\r\n          href=\"#\"\r\n          @keyup.esc=\"close()\"\r\n          @click.prevent=\"setSelected(date)\"\r\n        >\r\n          {{ date.label }}\r\n        </a>\r\n      </li>\r\n    </ul>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { tag } from '../../../../../Foundation/Core/code/Scripts/analyticsHandler/directives/tag';\r\n\r\nexport default {\r\n  name: 'Dropdown',\r\n  directives: {\r\n    tag,\r\n  },\r\n  props: {\r\n    id: { type: String, required: false, default: null },\r\n    descriptionId: { type: String, required: false, default: null },\r\n    dates: { type: Array, required: true, default: undefined },\r\n    isValid: { type: Boolean, required: true, default: false },\r\n    resetName: { type: String, required: true },\r\n    readonly: { type: Boolean, default: false },\r\n    refSelect: { type: String, default: '' },\r\n  },\r\n  data() {\r\n    return {\r\n      expanded: false,\r\n      selected: false,\r\n      prevSelected: this.dates.find((d) => d.selected === true).value,\r\n      isColorHovered: false,\r\n      isDropdownHovered: false,\r\n      colorHover: null,\r\n      colorSwatch: null,\r\n      timerMouseOut: 800,\r\n      colorDropdownItems: null,\r\n    };\r\n  },\r\n  mounted() {\r\n    /* istanbul ignore next */\r\n    this.$nextTick(() => {\r\n      Array.prototype.forEach.call(this.$refs.listItems, (item) => {\r\n        item.addEventListener('blur', this.dropdownBlurHandler);\r\n      });\r\n      this.$refs.toggler.addEventListener('blur', this.dropdownBlurHandler);\r\n    });\r\n\r\n    eventBus.on(`dropdown::${this.resetName}`, this.reset);\r\n  },\r\n\r\n  /* istanbul ignore next */\r\n  beforeUnmount() {\r\n    this.$refs.listItems.removeEventListener('blur', this.dropdownBlurHandler);\r\n    this.$refs.toggler.removeEventListener('blur', this.dropdownBlurHandler);\r\n  },\r\n\r\n  methods: {\r\n    close() {\r\n      this.expanded = false;\r\n      this.$refs.toggler.focus();\r\n    },\r\n    reset() {\r\n      this.selected = false;\r\n    },\r\n    toggle() {\r\n      //readonly avoid toggling\r\n      if (this.readonly) return;\r\n\r\n      this.expanded = !this.expanded;\r\n\r\n      /* istanbul ignore next */\r\n      if (this.expanded) {\r\n        this.$refs.listItems[1].focus();\r\n      }\r\n    },\r\n    setSelected(date) {\r\n      this.selected = date;\r\n      this.$emit('input', this.selected.value);\r\n      // eslint-disable-next-line prettier/prettier\r\n      let data = {'inputValue': this.selected.value, 'refField' : this.refSelect };\r\n      eventBus.$emit('selectDropdown', data);\r\n\r\n      this.close();\r\n    },\r\n    dropdownBlurHandler() {\r\n      setTimeout(() => {\r\n        let activeElementClass;\r\n\r\n        /* istanbul ignore next */\r\n        if (document.documentMode || /Edge/.test(navigator.userAgent)) {\r\n          /* eslint-disable prefer-destructuring */\r\n          activeElementClass = document.activeElement.classList[0] || null;\r\n        } else {\r\n          activeElementClass = document.activeElement.classList.value;\r\n        }\r\n\r\n        if (\r\n          !(\r\n            activeElementClass === 'colorDropdown__item' ||\r\n            activeElementClass === this.$refs.toggler.classList.value\r\n          ) &&\r\n          this.expanded === true\r\n        ) {\r\n          this.expanded = false;\r\n        }\r\n      }, 300);\r\n    },\r\n    handleFocus(event, focused) {\r\n      this.$emit(event, focused);\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./dropdown.vue?vue&type=template&id=20016400\"\nimport script from \"./dropdown.vue?vue&type=script&lang=js\"\nexport * from \"./dropdown.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div class=\"material-input__component\" :class=\"computedClasses\">\r\n    <input\r\n      v-if=\"type === 'email'\"\r\n      :id=\"id\"\r\n      v-model=\"valueCopy\"\r\n      type=\"email\"\r\n      class=\"material-input\"\r\n      :name=\"name\"\r\n      :placeholder=\"placeholder\"\r\n      :aria-describedby=\"`errors-${id}`\"\r\n      :readonly=\"readonly\"\r\n      :disabled=\"disabled\"\r\n      :autocomplete=\"autocomplete\"\r\n      :required=\"required\"\r\n      @focus=\"handleFocus(true)\"\r\n      @blur=\"handleFocus(false)\"\r\n      @input=\"handleModelInput\"\r\n    />\r\n    <input\r\n      v-if=\"type === 'text'\"\r\n      :id=\"id\"\r\n      v-model=\"valueCopy\"\r\n      type=\"text\"\r\n      class=\"material-input\"\r\n      :name=\"name\"\r\n      :placeholder=\"placeholder\"\r\n      :aria-describedby=\"`errors-${id}`\"\r\n      :readonly=\"readonly\"\r\n      :disabled=\"disabled\"\r\n      :autocomplete=\"autocomplete\"\r\n      :minlength=\"minlength\"\r\n      :maxlength=\"maxlength\"\r\n      :required=\"required\"\r\n      @focus=\"handleFocus(true)\"\r\n      @blur=\"handleFocus(false)\"\r\n      @input=\"handleModelInput\"\r\n    />\r\n    <input\r\n      v-if=\"type === 'password'\"\r\n      :id=\"id\"\r\n      v-model=\"valueCopy\"\r\n      type=\"password\"\r\n      class=\"material-input\"\r\n      :name=\"name\"\r\n      :placeholder=\"placeholder\"\r\n      :aria-describedby=\"`errors-${id}`\"\r\n      :readonly=\"readonly\"\r\n      :disabled=\"disabled\"\r\n      :autocomplete=\"autocomplete\"\r\n      :minlength=\"minlength\"\r\n      :maxlength=\"maxlength\"\r\n      :required=\"required\"\r\n      @focus=\"handleFocus(true)\"\r\n      @blur=\"handleFocus(false)\"\r\n      @input=\"handleModelInput\"\r\n    />\r\n    <span class=\"material-input-bar\"></span>\r\n\r\n    <label v-show=\"isLabelVisible\" class=\"material-label\" :for=\"id\">\r\n      <slot></slot><span v-if=\"required\" class=\"required-star\">*</span>\r\n    </label>\r\n\r\n    <div v-show=\"errorMessages\" :id=\"`errors-${id}`\" class=\"material-errors\">\r\n      <div v-for=\"(error, key) in computedErrors\" :key=\"key\" class=\"material-error\">\r\n        {{ error }}\r\n      </div>\r\n    </div>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport eventBus from '@loreal/eventbus-js';\r\nexport default {\r\n  name: 'MaterialInput',\r\n  props: {\r\n    refInput: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    id: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    name: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    type: {\r\n      type: String,\r\n      default: 'text',\r\n    },\r\n    value: {\r\n      default: null,\r\n    },\r\n    placeholder: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    readonly: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    disabled: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    min: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    max: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    step: {\r\n      type: Number,\r\n      default: null,\r\n    },\r\n    minlength: {\r\n      type: Number,\r\n      default: null,\r\n    },\r\n    maxlength: {\r\n      type: Number,\r\n      default: null,\r\n    },\r\n    required: {\r\n      type: Boolean,\r\n      default: true,\r\n    },\r\n    autocomplete: {\r\n      type: String,\r\n      default: null,\r\n    },\r\n    errorMessages: {\r\n      type: [Array, String],\r\n      default: null,\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      valueCopy: null,\r\n      focus: false,\r\n      hadFocus: false,\r\n      valid: true,\r\n    };\r\n  },\r\n  computed: {\r\n    computedErrors() {\r\n      return typeof this.errorMessages === 'string' ? [this.errorMessages] : this.errorMessages;\r\n    },\r\n    materialHasErrors() {\r\n      return Boolean(\r\n        (this.hadFocus && !this.valid) || (this.errorMessages && this.errorMessages.length)\r\n      );\r\n    },\r\n    computedClasses() {\r\n      return {\r\n        'material--active': this.focus,\r\n        'material--disabled': this.disabled,\r\n        'material--has-errors': this.materialHasErrors,\r\n        'material--raised': Boolean(\r\n          this.focus ||\r\n            this.valueCopy || // has value\r\n            (this.placeholder && !this.valueCopy)\r\n        ), // has placeholder\r\n      };\r\n    },\r\n    isLabelVisible() {\r\n      return Boolean(!this.isEmpty(this.$slots.default()));\r\n    },\r\n  },\r\n  watch: {\r\n    value(newValue) {\r\n      // This watch works from the code side of the 2-way-binding:\r\n      this.copyValue(newValue);\r\n    },\r\n  },\r\n  beforeMount() {\r\n    // Here we are following the Vue2 convention on custom v-model:\r\n    // https://github.com/vuejs/vue/issues/2873#issuecomment-223759341\r\n    this.copyValue(this.value);\r\n  },\r\n  mounted() {\r\n    this.refInput && eventBus.on(`input::${this.refInput}`, this.resetInput);\r\n    if (this.refInput == 'email') {\r\n      const currentURL = new URL(window.location.href);\r\n      this.valueCopy = currentURL.searchParams.get('email');\r\n    }\r\n  },\r\n  methods: {\r\n    handleModelInput(event) {\r\n      this.$emit('input', event.target.value, event);\r\n      // eslint-disable-next-line prettier/prettier\r\n      let data = {'inputValue': event.target.value, 'refField' : this.refInput };\r\n      eventBus.$emit('inputValue', data);\r\n      this.handleValidation();\r\n    },\r\n    handleFocus(focused) {\r\n      this.focus = focused;\r\n      this.hadFocus = true;\r\n\r\n      if (!focused) {\r\n        this.handleValidation();\r\n      }\r\n    },\r\n    handleValidation() {\r\n      this.valid = this.$el ? this.$el.querySelector('.material-input').validity.valid : this.valid;\r\n    },\r\n    copyValue(value) {\r\n      this.valueCopy = value;\r\n      this.handleValidation();\r\n    },\r\n    reset() {\r\n      this.hadFocus = false;\r\n      this.valid = true;\r\n      this.focus = false;\r\n    },\r\n    isEmpty(value) {\r\n      return typeof value === 'undefined' || value == null;\r\n    },\r\n    resetInput() {\r\n      this.valueCopy = '';\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./input.vue?vue&type=template&id=4ac8863c\"\nimport script from \"./input.vue?vue&type=script&lang=js\"\nexport * from \"./input.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./newsletter-form.vue?vue&type=template&id=695b170d\"\nimport script from \"./newsletter-form.vue?vue&type=script&lang=js\"\nexport * from \"./newsletter-form.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <form autocomplete=\"off\" method=\"POST\" novalidate @submit.prevent=\"validateFormBeforeSubmit\">\r\n    <slot :validation=\"isEmailValid\" :data=\"formData\" />\r\n  </form>\r\n</template>\r\n\r\n<script>\r\nimport eventBus from '@loreal/eventbus-js';\r\nexport default {\r\n  name: 'NewsletterSignin',\r\n\r\n  props: {\r\n    emailInvalid: {\r\n      type: String,\r\n      required: true,\r\n      default: 'Email must be valid.',\r\n    },\r\n    emailError: {\r\n      type: String,\r\n      required: true,\r\n      default: 'Email must be filled.',\r\n    },\r\n    formAction: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      formData: {\r\n        email: true,\r\n        validation: {\r\n          email: true,\r\n        },\r\n      },\r\n      validateState: {\r\n        email: {\r\n          notDefined: false,\r\n          invalid: false,\r\n        },\r\n      },\r\n    };\r\n  },\r\n\r\n  computed: {\r\n    isEmailValid() {\r\n      const error = [];\r\n      this.validateState.email.notDefined && error.push(this.emailError);\r\n      this.validateState.email.invalid && error.push(this.emailInvalid);\r\n\r\n      return error;\r\n    },\r\n  },\r\n\r\n  created() {\r\n    this.formData.validation.email = this.isEmailValid;\r\n  },\r\n  mounted() {\r\n    eventBus.on('inputValue', (value) => {\r\n      let refInput = value.refField;\r\n      this.formData[refInput] = value.inputValue;\r\n    });\r\n  },\r\n  methods: {\r\n    validateFormBeforeSubmit() {\r\n      if (this.validateEmail()) {\r\n        const newAction = new URL([location.protocol, location.host, this.formAction].join(''));\r\n        newAction.searchParams.append('email', this.formData.email);\r\n\r\n        window.location.href = newAction.href;\r\n      }\r\n    },\r\n    validateEmail() {\r\n      this.validateState.email.notDefined = false;\r\n      this.validateState.email.invalid = false;\r\n\r\n      if (!this.formData.email) {\r\n        this.validateState.email.notDefined = true;\r\n        return false;\r\n      }\r\n\r\n      if (!/^\\w+([.-]?\\w+)*@\\w+([.-]?\\w+)*(\\.\\w{2,3})+$/gm.test(this.formData.email)) {\r\n        this.validateState.email.invalid = true;\r\n        return false;\r\n      }\r\n\r\n      return true;\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./newsletter-signin.vue?vue&type=template&id=8ad53084\"\nimport script from \"./newsletter-signin.vue?vue&type=script&lang=js\"\nexport * from \"./newsletter-signin.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import NewsletterForm from './code/scripts/components/newsletter-form.vue';\r\nimport Dropdown from './code/scripts/components/dropdown.vue';\r\nimport MaterialInput from './code/scripts/components/input.vue';\r\nimport NewsletterSignin from './code/scripts/components/newsletter-signin.vue';\r\n\r\nexport default {\r\n  components: {\r\n    NewsletterForm,\r\n    NewsletterSignin,\r\n    Dropdown,\r\n    MaterialInput,\r\n  },\r\n};\r\n","<template>\r\n  <div\r\n    v-if=\"isVisible\"\r\n    :class=\"['oap-account-navigation', { 'oap-account-navigation--open': opened }]\"\r\n  >\r\n    <div :class=\"['oap-account-navigation__wrapper']\">\r\n      <button\r\n        ref=\"accountButtonExpand\"\r\n        :aria-expanded=\"opened ? 'true' : 'false'\"\r\n        :aria-hidden=\"!smallScreen ? 'true' : 'false'\"\r\n        aria-controls=\"my-account-menu\"\r\n        class=\"oap-account-navigation__title\"\r\n        @click=\"toggle\"\r\n      >\r\n        <span v-if=\"enableNewLayout\" class=\"oap-account-navigation-greeting\" v-html=\"greeting\" />\r\n        <slot name=\"navigation-name\" />\r\n        <svg class=\"icon\" role=\"img\">\r\n          <title v-text=\"expandIconAlt\" />\r\n          <use xlink:href=\"#arrow-back\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" />\r\n        </svg>\r\n      </button>\r\n      <div\r\n        id=\"my-account-menu\"\r\n        class=\"oap-account-navigation__list\"\r\n        :aria-hidden=\"opened || !smallScreen ? 'false' : 'true'\"\r\n      >\r\n        <span v-if=\"enableNewLayout\" class=\"oap-account-navigation-greeting\" v-html=\"greeting\" />\r\n        <slot name=\"navigation-links\" />\r\n      </div>\r\n    </div>\r\n    <div v-if=\"opened\" class=\"overlay overlay--active overlay--open\" @click=\"toggle\"></div>\r\n    <logout-refresh></logout-refresh>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { MqHandler } from '../../../../../../Foundation/Core/code/Scripts/mqHandler';\r\nimport logoutRefresh from '../../../../../logoutCookies/code/Scripts/components/logoutRefresh.vue';\r\n\r\nexport default {\r\n  name: 'OapAccountNavigation',\r\n  components: {\r\n    logoutRefresh,\r\n  },\r\n  props: {\r\n    expandIconAlt: { type: String, required: false, default: 'Expand' },\r\n    loggedGreeting: { type: String, required: false, default: 'Hi' },\r\n    enableNewLayout: { type: Boolean, required: false, default: false },\r\n    authorizedRoutes: { type: Array, required: true, default: () => [] },\r\n  },\r\n  data() {\r\n    return {\r\n      opened: false,\r\n      smallScreen: MqHandler.getMqHandler().getMqForSize('small').selected,\r\n    };\r\n  },\r\n  computed: {\r\n    greeting() {\r\n      if (!window.uname) {\r\n        return this.loggedGreeting;\r\n      }\r\n      return `${this.loggedGreeting} <strong>${window.uname}!</strong>`;\r\n    },\r\n    isVisible() {\r\n      const currentPath = window.location.pathname;\r\n      const enabledRoute = this.authorizedRoutes.includes(currentPath);\r\n      return (\r\n        window.uname &&\r\n        (!this.authorizedRoutes.length ||\r\n          !this.enableNewLayout ||\r\n          (this.enableNewLayout && enabledRoute))\r\n      );\r\n    },\r\n  },\r\n  mounted() {\r\n    /* istanbul ignore next */\r\n    eventBus.on('mediaquery::changed', (mq) => {\r\n      this.smallScreen = mq.size === 'small';\r\n    });\r\n  },\r\n  methods: {\r\n    toggle() {\r\n      this.opened = !this.opened;\r\n      this.updateScroll();\r\n    },\r\n    updateScroll() {\r\n      if (!this.smallScreen) {\r\n        return;\r\n      }\r\n      if (this.opened) {\r\n        document.body.classList.add('noScroll', 'overlay--active');\r\n        this.setAria(false);\r\n      } else {\r\n        document.body.classList.remove('noScroll', 'overlay--active');\r\n        this.setAria(false);\r\n      }\r\n    },\r\n    setAria(status) {\r\n      this.setAttributeTo('header', status);\r\n      this.setAttributeTo('footer', status);\r\n      this.setAttributeTo('#content', status);\r\n    },\r\n    setAttributeTo(el, status) {\r\n      const elem = document.querySelector(el);\r\n\r\n      if (document.querySelector(elem)) {\r\n        elem.setAttribute('aria-hidden', status);\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","<template>\r\n  <div class=\"logout_refresh\"></div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n  name: 'LogoutRefresh',\r\n  mounted() {\r\n    let logOutCookie = document.cookie\r\n      .split('; ')\r\n      .find((row) => row.startsWith('logoutCache='))\r\n      ?.split('=')[1];\r\n    if (logOutCookie == 'false') {\r\n      location.reload(true);\r\n    }\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./logoutRefresh.vue?vue&type=template&id=47326084\"\nimport script from \"./logoutRefresh.vue?vue&type=script&lang=js\"\nexport * from \"./logoutRefresh.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./OapAccountNavigation.vue?vue&type=template&id=15dab035\"\nimport script from \"./OapAccountNavigation.vue?vue&type=script&lang=js\"\nexport * from \"./OapAccountNavigation.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import OapAccountNavigation from './code/Scripts/components/OapAccountNavigation/OapAccountNavigation.vue';\r\n\r\nexport default {\r\n  components: {\r\n    OapAccountNavigation,\r\n  },\r\n};\r\n","export const BEAUTY_GENIUS_TYPE_IN_TAGGING_EVENT = 'beauty-genius-type-in-tagging';\r\nexport const BEAUTY_GENIUS_NAME_HIDE = 'hideIframe';\r\nexport const BEAUTY_GENIUS_NAME_SHOW = 'showIframe';\r\nexport const BEAUTY_GENIUS_NAME_ASK_QUESTION = 'askQuestion';\r\n","<template>\r\n  <transition name=\"modal\">\r\n    <div\r\n      v-show=\"show\"\r\n      :class=\"[\r\n        'oap-beauty-genius-wrapper',\r\n        `oap-beauty-genius-wrapper--${type}`,\r\n        { '-has-close-bar': hasCloseBar },\r\n        position,\r\n      ]\"\r\n    >\r\n      <button v-if=\"hasCloseBar\" class=\"oap-beauty-genius-wrapper__close-wrapper\" @click=\"close\">\r\n        <svg class=\"oap-beauty-genius-wrapper__close-icon\" aria-hidden=\"true\">\r\n          <use xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"#close\"></use>\r\n        </svg>\r\n      </button>\r\n\r\n      <template v-if=\"showIframeFirstTime\">\r\n        <div v-show=\"showIframe\" class=\"oap-beauty-genius-wrapper__iframe\">\r\n          <div class=\"oap-beauty-genius-wrapper__overlay\" @click=\"close\"></div>\r\n          <iframe\r\n            ref=\"iframe\"\r\n            :title=\"iframeTitle\"\r\n            :src=\"iframeUrl\"\r\n            :allow=\"iframeAllow\"\r\n            class=\"oap-iframe is-overflow-hidden\"\r\n          >\r\n          </iframe>\r\n        </div>\r\n      </template>\r\n\r\n      <template v-if=\"isSlot\">\r\n        <slot></slot>\r\n      </template>\r\n    </div>\r\n  </transition>\r\n</template>\r\n\r\n<script setup>\r\nimport { computed, nextTick, onMounted, ref } from 'vue';\r\nimport { AnalyticsHandler, urlHasKey } from '@Foundation';\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport {\r\n  BEAUTY_GENIUS_NAME_HIDE,\r\n  BEAUTY_GENIUS_NAME_SHOW,\r\n  BEAUTY_GENIUS_NAME_ASK_QUESTION,\r\n  BEAUTY_GENIUS_TYPE_IN_TAGGING_EVENT,\r\n} from '@Feature/OapBeautyGeniusWrapper/code/Scripts/settings';\r\n\r\nconst props = defineProps({\r\n  type: { type: String, required: true },\r\n\r\n  analytics: {\r\n    type: Object,\r\n    default: () => {},\r\n  },\r\n  hasCloseBar: { type: Boolean, default: true },\r\n  openServiceUrlParam: { type: String, default: 'bg-app' },\r\n\r\n  iframeBaseUrl: { type: String, default: 'https://vbc.beauty.tech/' },\r\n  iframeDomainUrl: { type: String, required: true },\r\n  iframeDomainUrlParameter: { type: String, default: 'parentDomain' },\r\n  iframeTitle: { type: String, default: 'Beauty Genius' },\r\n  iframeAllow: { type: String, default: 'camera; microphone' },\r\n  iframePosition: { type: String, default: 'right' },\r\n\r\n  iframeOpenEventName: { type: String, default: 'beauty-genius-iframe:open' },\r\n  iframeCloseEventName: { type: String, default: 'beauty-genius-iframe:close' },\r\n  iframeWindowEventName: { type: String, default: 'message' },\r\n  iframeWindowCloseEventType: { type: String, default: 'command' },\r\n\r\n  modalTopOpenEventName: { type: String, default: 'beauty-genius-modal-top:open' },\r\n  modalOpenEventName: { type: String, default: 'beauty-genius-modal:open' },\r\n  modalCloseEventName: { type: String, default: 'beauty-genius-modal:close' },\r\n\r\n  logoAnimationStartEventName: { type: String, default: 'beauty-genius-logo-animation:start' },\r\n  logoAnimationStopEventName: { type: String, default: 'beauty-genius-logo-animation:stop' },\r\n\r\n  bannerCookieName: { type: String, default: 'oap-beauty-genius-banner' },\r\n  bannerCookieValue: { type: Number, default: 1 },\r\n  bannerCookiePath: { type: String, default: '/' },\r\n  bannerCookieExpiration: { type: String, default: '' },\r\n  bannerVisibilityDelay: { type: Number, default: 10 },\r\n});\r\n\r\nconst isBanner = computed(() => props.type === 'banner');\r\nconst isIframe = computed(() => props.type === 'iframe');\r\nconst isModalTop = computed(() => props.type === 'modal-top');\r\n\r\nconst isSlot = computed(\r\n  () => props.type === 'banner' || props.type === 'modal' || props.type === 'modal-top'\r\n);\r\n\r\nconst isNonBannerModal = computed(() => isSlot.value && !isBanner.value);\r\nconst isBannerModal = computed(() => isSlot.value && isBanner.value);\r\n\r\nconst position = computed(() => {\r\n  return isIframe.value ? `oap-beauty-genius-wrapper--position-${props.iframePosition}` : '';\r\n});\r\n\r\nconst parentDomainPair = `${props.iframeDomainUrlParameter}=${props.iframeDomainUrl}`;\r\nconst iframeUrl = ref(`${props.iframeBaseUrl}?${parentDomainPair}`);\r\n\r\nconst show = ref(false);\r\nconst showIframeFirstTime = ref(false);\r\nconst showIframe = ref(false);\r\n\r\nconst isIframeLoaded = ref(false);\r\n\r\nconst noScrollCustomClass = '-no-scroll-custom';\r\n\r\nfunction pushAnalytics(type) {\r\n  if (props.analytics) {\r\n    const tag = { ...props.analytics };\r\n    tag.action = props.analytics[type].action;\r\n    tag.category = props.analytics[type].category;\r\n    tag.event_name = props.analytics[type].event_name;\r\n    tag.label = props.analytics[type].label;\r\n\r\n    if (props.analytics[type].service_category) {\r\n      tag.service_category = props.analytics[type].service_category;\r\n    }\r\n\r\n    try {\r\n      AnalyticsHandler.getAnalyticsHandler().push(tag);\r\n    } catch (e) {\r\n      /* istanbul ignore next */\r\n      console.warn('Could not push to dataLayer', e);\r\n    }\r\n  }\r\n}\r\n\r\nfunction open(event) {\r\n  if (isIframe.value) {\r\n    window.addEventListener(props.iframeWindowEventName, (event) => {\r\n      if (event.data.type === props.iframeWindowCloseEventType) {\r\n        close();\r\n      }\r\n\r\n      if (event.data.type === 'event') {\r\n        window.dataLayer.push(event.data.data);\r\n      }\r\n    });\r\n\r\n    let interval = false;\r\n    let intervalCounter = 0;\r\n\r\n    interval = setInterval(() => {\r\n      ++intervalCounter;\r\n      if (intervalCounter > 50) return;\r\n\r\n      if (iframe.value) {\r\n        if (!isIframeLoaded.value) {\r\n          iframe.value.onload = () => {\r\n            isIframeLoaded.value = true;\r\n\r\n            sendMessagesToIframe(event);\r\n          };\r\n        } else {\r\n          sendMessagesToIframe(event);\r\n        }\r\n\r\n        clearInterval(interval);\r\n      }\r\n    }, 200);\r\n\r\n    showIframeFirstTime.value = true;\r\n    showIframe.value = true;\r\n    document.querySelector('body').classList.add(noScrollCustomClass);\r\n  }\r\n\r\n  show.value = true;\r\n  eventBus.emit(props.logoAnimationStopEventName);\r\n  pushAnalytics('open');\r\n}\r\n\r\nfunction sendMessagesToIframe(event) {\r\n  sendIframePostMessage({\r\n    name: BEAUTY_GENIUS_NAME_SHOW,\r\n  });\r\n\r\n  const prompt = event && event.payload ? event.payload : null;\r\n\r\n  if (prompt) {\r\n    sendIframePostMessage({\r\n      name: BEAUTY_GENIUS_NAME_ASK_QUESTION,\r\n      prompt,\r\n    });\r\n  }\r\n\r\n  if (window.Optanon) {\r\n    sendIframePostMessage({\r\n      name: 'optanonConsentId',\r\n      id: window.Optanon.getDataSubjectId(),\r\n    });\r\n\r\n    if (!optanonGroups) {\r\n      optanonGroups = checkPermissionGroups();\r\n    }\r\n\r\n    sendIframePostMessage({\r\n      name: 'optanonGroups',\r\n      groups: optanonGroups,\r\n    });\r\n  }\r\n}\r\n\r\nfunction close() {\r\n  if (isNonBannerModal.value) {\r\n    eventBus.emit(props.modalCloseEventName);\r\n  }\r\n\r\n  if (isIframe.value) {\r\n    sendIframePostMessage({\r\n      name: BEAUTY_GENIUS_NAME_HIDE,\r\n    });\r\n\r\n    showIframe.value = false;\r\n    eventBus.emit(props.iframeCloseEventName);\r\n    document.querySelector('body').classList.remove(noScrollCustomClass);\r\n  }\r\n\r\n  show.value = false;\r\n  eventBus.emit(props.logoAnimationStartEventName);\r\n  pushAnalytics('close');\r\n}\r\n\r\nfunction openBannerOnCookieAbsence() {\r\n  if (!document.cookie.includes(props.bannerCookieName)) {\r\n    open();\r\n    eventBus.on(props.iframeOpenEventName, close);\r\n    document.cookie = `${props.bannerCookieName}=${props.bannerCookieValue}${props.bannerCookieExpiration}; path=${props.bannerCookiePath}`;\r\n  }\r\n}\r\n\r\nlet iframe = ref(null);\r\n\r\nfunction sendIframePostMessage(messageObject) {\r\n  iframe.value.contentWindow.postMessage(\r\n    {\r\n      ...messageObject,\r\n    },\r\n    props.iframeBaseUrl\r\n  );\r\n}\r\n\r\nlet optanonGroups;\r\n\r\nfunction getCookie(name) {\r\n  let cookie = {};\r\n\r\n  document.cookie.split(';').forEach(function (el) {\r\n    let split = el.split('=');\r\n    cookie[split[0].trim()] = split.slice(1).join('=');\r\n  });\r\n\r\n  return cookie[name];\r\n}\r\n\r\nfunction extractNonZeroValues(str) {\r\n  return str\r\n    .split(',')\r\n    .filter((pair) => pair.split(':')[1] !== '0')\r\n    .map((pair) => pair.split(':')[0]);\r\n}\r\n\r\nfunction checkPermissionGroups() {\r\n  const cookieValue = getCookie('OptanonConsent');\r\n  const decodedcookieValue = decodeURIComponent(cookieValue);\r\n  const keyValuePairs = decodedcookieValue.split('&');\r\n  const groupsString = 'groups=';\r\n\r\n  return extractNonZeroValues(\r\n    keyValuePairs.find((pair) => pair.startsWith(groupsString)).slice(groupsString.length)\r\n  );\r\n}\r\n\r\nfunction optanonGroupsUpdateListener(eventName) {\r\n  window.addEventListener(eventName, (event) => {\r\n    sendIframePostMessage({\r\n      name: 'optanonGroups',\r\n      groups: event.detail,\r\n    });\r\n  });\r\n}\r\n\r\nonMounted(() => {\r\n  optanonGroupsUpdateListener('OneTrustGroupsUpdated');\r\n\r\n  if (isBannerModal.value) {\r\n    setTimeout(openBannerOnCookieAbsence, props.bannerVisibilityDelay * 1000);\r\n  }\r\n\r\n  if (isNonBannerModal.value) {\r\n    eventBus.on(props.iframeOpenEventName, close);\r\n\r\n    if (isModalTop.value) {\r\n      eventBus.on(props.modalTopOpenEventName, open);\r\n    } else {\r\n      // For all the other modals (non banner and non modal top - so called transitional banner)\r\n      eventBus.on(props.modalOpenEventName, (event) => {\r\n        open();\r\n\r\n        nextTick(() => {\r\n          if (event) {\r\n            eventBus.emit(BEAUTY_GENIUS_TYPE_IN_TAGGING_EVENT, event);\r\n          }\r\n        });\r\n      });\r\n    }\r\n  }\r\n\r\n  if (isIframe.value) {\r\n    eventBus.on(props.iframeOpenEventName, (event) => {\r\n      event ? open(event) : open();\r\n    });\r\n\r\n    if (urlHasKey(props.openServiceUrlParam)) {\r\n      open();\r\n    }\r\n  }\r\n});\r\n</script>\r\n","import script from \"./OapBeautyGeniusWrapper.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./OapBeautyGeniusWrapper.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import OapBeautyGeniusWrapper from './code/Scripts/components/OapBeautyGeniusWrapper.vue';\r\n\r\nexport default {\r\n  components: {\r\n    OapBeautyGeniusWrapper,\r\n  },\r\n};\r\n","import OapCardPopin from './code/Scripts/components/OapCardPopin.vue';\r\n\r\nexport default {\r\n  components: {\r\n    OapCardPopin,\r\n  },\r\n};\r\n","<template>\r\n  <div class=\"oap-countdown\">\r\n    <ul class=\"oap-countdown__list\">\r\n      <li\r\n        v-for=\"(time, key, index) in estimatedTime\"\r\n        :key=\"`time-key-${key}-${index}`\"\r\n        class=\"oap-countdown__item\"\r\n      >\r\n        <span\r\n          v-for=\"(digit, yIndex) in time\"\r\n          :key=\"`time-key-${key}-${yIndex}-${digit}`\"\r\n          class=\"oap-countdown__digit\"\r\n        >\r\n          {{ digit }}\r\n        </span>\r\n        <span class=\"oap-countdown__translation\"> {{ translations[key] }} </span>\r\n      </li>\r\n    </ul>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport intervalToDuration from 'date-fns/intervalToDuration';\r\nimport differenceInCalendarDays from 'date-fns/differenceInCalendarDays';\r\nimport isBefore from 'date-fns/isBefore';\r\nimport parseISO from 'date-fns/parseISO';\r\nimport Timer from '../timer.js';\r\n\r\nexport default {\r\n  name: 'OapCountdown',\r\n  props: {\r\n    endDate: {\r\n      type: [String, Date],\r\n      default: () => new Date(new Date().getFullYear(), 11, 31),\r\n    },\r\n    translations: {\r\n      type: Object,\r\n      default: () => ({\r\n        days: 'days',\r\n        hours: 'hours',\r\n        minutes: 'min',\r\n        seconds: 'sec',\r\n      }),\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      timer: null,\r\n      currentDuration: {\r\n        days: 0,\r\n        hours: 0,\r\n        minutes: 0,\r\n        seconds: 0,\r\n      },\r\n      differenceInDays: 0,\r\n    };\r\n  },\r\n  computed: {\r\n    clearDuration() {\r\n      const { hours, minutes, seconds } = this.currentDuration;\r\n      return {\r\n        days: this.differenceInDays,\r\n        hours,\r\n        minutes,\r\n        seconds,\r\n      };\r\n    },\r\n    estimatedTime() {\r\n      const { days, hours, minutes, seconds } = this.clearDuration;\r\n      return {\r\n        days: this.formatNumberToArrayOfDigits(days),\r\n        hours: this.formatNumberToArrayOfDigits(hours),\r\n        minutes: this.formatNumberToArrayOfDigits(minutes),\r\n        seconds: this.formatNumberToArrayOfDigits(seconds),\r\n      };\r\n    },\r\n    isDateBefore() {\r\n      return isBefore(new Date(), this.parsedEndDate);\r\n    },\r\n    isTimerFinished() {\r\n      return Object.values(this.clearDuration).every((x) => x === 0);\r\n    },\r\n    parsedEndDate() {\r\n      return parseISO(this.endDate);\r\n    },\r\n  },\r\n  created() {\r\n    if (this.isDateBefore) {\r\n      /**\r\n       * the timer was initially created because,\r\n       * web browsers, like all applications, take turns for a piece of CPU time,\r\n       * and the time they have to wait will vary, depending on the load.\r\n       * This is what causes the latency in timers — a 200ms timer may actually take 202ms or 204,\r\n       * and this will gradually send the stopwatch out of time.\r\n       * more info: in timer.js\r\n       */\r\n      this.timer = new Timer(() => {\r\n        this.currentDuration = intervalToDuration({\r\n          start: new Date(),\r\n          end: this.parsedEndDate,\r\n        });\r\n\r\n        this.differenceInDays = differenceInCalendarDays(this.parsedEndDate, new Date());\r\n\r\n        if (this.isTimerFinished) {\r\n          this.destroyTimer();\r\n        }\r\n      });\r\n    }\r\n  },\r\n  methods: {\r\n    formatNumberToArrayOfDigits(value) {\r\n      return String(value).padStart(2, '0').split('').map(Number);\r\n    },\r\n    destroyTimer() {\r\n      if (this.timer) {\r\n        this.timer.stop();\r\n        this.timer = null;\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","/**\r\n * @see https://www.sitepoint.com/creating-accurate-timers-in-javascript/\r\n * @see https://stackoverflow.com/questions/29971898/how-to-create-an-accurate-timer-in-javascript\r\n */\r\n\r\nexport default class Timer {\r\n  constructor(callback, ms = 1000) {\r\n    this.target = performance.now(); // target time for the next frame\r\n    this.interval = (1 / ms) * 1000; // the milliseconds between ticks\r\n    this.callback = callback;\r\n    this.stopped = false;\r\n\r\n    this.tick(this);\r\n  }\r\n\r\n  tick(self) {\r\n    if (self.stopped) return;\r\n\r\n    const currentTime = performance.now();\r\n    const currentTarget = self.target;\r\n    const currentInterval = (self.target += self.interval) - currentTime;\r\n\r\n    setTimeout(self.tick, currentInterval, self);\r\n    self.callback(currentTime, currentTarget, self);\r\n  }\r\n\r\n  stop() {\r\n    this.stopped = true;\r\n  }\r\n}\r\n","import { render } from \"./OapCountdown.vue?vue&type=template&id=0e299558\"\nimport script from \"./OapCountdown.vue?vue&type=script&lang=js\"\nexport * from \"./OapCountdown.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import OapCountdown from './code/Scripts/components/OapCountdown';\r\n\r\nexport default {\r\n  components: {\r\n    OapCountdown,\r\n  },\r\n};\r\n","<template>\r\n  <div class=\"oap-eventful-text-input\">\r\n    <input\r\n      ref=\"input\"\r\n      v-model=\"text\"\r\n      type=\"text\"\r\n      :placeholder=\"placeholderText\"\r\n      required\r\n      @keydown.enter=\"submit\"\r\n    />\r\n    <button @click=\"submit\">\r\n      <svg role=\"img\">\r\n        <use xmlns:xlink=\"http://www.w3.org/1999/xlink\" :xlink:href=\"svgIconId\"></use>\r\n      </svg>\r\n    </button>\r\n  </div>\r\n</template>\r\n\r\n<script setup>\r\nimport { onMounted, ref } from 'vue';\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { AnalyticsHandler } from '@Foundation';\r\nimport { BEAUTY_GENIUS_TYPE_IN_TAGGING_EVENT } from '@Feature/OapBeautyGeniusWrapper/code/Scripts/settings';\r\n\r\nconst props = defineProps({\r\n  placeholderText: { type: String, default: '' },\r\n  iframeTriggerEventName: { type: String, default: 'beauty-genius-iframe:open' },\r\n  svgIconId: { type: String, default: '#arrow-top-right' },\r\n  analytics: { type: Object, default: () => {} },\r\n});\r\n\r\nconst input = ref(null);\r\n\r\nconst text = ref('');\r\nlet tag;\r\n\r\nonMounted(async () => {\r\n  setTimeout(() => {\r\n    input.value.focus();\r\n  }, 300);\r\n\r\n  tag = { ...props.analytics };\r\n\r\n  eventBus.on(BEAUTY_GENIUS_TYPE_IN_TAGGING_EVENT, (event) => {\r\n    if (event) {\r\n      tag.event_name = event.payload.event_name;\r\n      tag.action = event.payload.action;\r\n    }\r\n  });\r\n});\r\n\r\nfunction submit() {\r\n  if (!text.value.length) return;\r\n\r\n  eventBus.emit(props.iframeTriggerEventName, {\r\n    payload: text.value,\r\n  });\r\n\r\n  if (props.analytics) {\r\n    tag.type = 'userActionEvent';\r\n    tag.link_url = props.analytics.link_url;\r\n\r\n    try {\r\n      AnalyticsHandler.getAnalyticsHandler().push(tag);\r\n    } catch (e) {\r\n      /* istanbul ignore next */\r\n      console.warn('Could not push to dataLayer', e);\r\n    }\r\n  }\r\n\r\n  text.value = '';\r\n}\r\n</script>\r\n","import script from \"./OapEventfulTextInput.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./OapEventfulTextInput.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import OapEventfulTextInput from './code/Scripts/components/OapEventfulTextInput.vue';\r\n\r\nexport default {\r\n  components: {\r\n    OapEventfulTextInput,\r\n  },\r\n};\r\n","import OapIframe from './code/Scripts/components/oap-iframe.vue';\r\n\r\nexport default {\r\n  components: {\r\n    OapIframe,\r\n  },\r\n};\r\n","<template>\r\n  <div :class=\"['oap-page-navigation', { '-has-desktop-view': hasDesktopView }]\">\r\n    <ul ref=\"pageNavigationList\" class=\"oap-page-navigation__list\">\r\n      <li\r\n        v-for=\"(item, index) in filteredItems\"\r\n        :key=\"index\"\r\n        :class=\"['oap-page-navigation__item', { '-is-button': item.isButton === true }]\"\r\n        @click.prevent=\"scrollToSection(item.anchor)\"\r\n      >\r\n        <a\r\n          :class=\"{\r\n            '-active': activeSection === item.anchor,\r\n          }\"\r\n          :href=\"item.anchor\"\r\n        >\r\n          {{ item.title }}\r\n        </a>\r\n      </li>\r\n    </ul>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport { debounce, intersectionViewportObserver } from '@Foundation';\r\n\r\nconst SCROLL_INDENT_FOR_NAVIGATION = 20; // 20px spacing between navigation and scrollable element\r\n\r\nexport default {\r\n  name: 'OapPageNavigation',\r\n\r\n  props: {\r\n    items: { type: Array, default: () => [] },\r\n    scrollToTop: { type: Boolean, default: true },\r\n    hasDesktopView: { type: Boolean, default: false },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      activeSection: null,\r\n      scrollPosition: 0,\r\n      filteredItems: [],\r\n    };\r\n  },\r\n\r\n  mounted() {\r\n    window.addEventListener('scroll', debounce(this.highlightActiveSection, 300));\r\n    window.addEventListener('resize', this.centerActiveNavigationItem);\r\n    window.addEventListener('orientationchange', this.centerActiveNavigationItem);\r\n    window.addEventListener('scrollend', this.centerActiveNavigationItem);\r\n\r\n    this.$nextTick(() => {\r\n      this.updateFilteredItems();\r\n    });\r\n\r\n    intersectionViewportObserver(this.$el, {\r\n      delay: 0,\r\n      rootMargin: '0px',\r\n      conditionCheckCallback: this.toggleVisibilityClass,\r\n    });\r\n  },\r\n\r\n  methods: {\r\n    scrollToSection(sectionId) {\r\n      if (!sectionId.startsWith('#')) {\r\n        window.location.href = sectionId;\r\n      }\r\n\r\n      const targetSection = document.getElementById(this.cleanAnchor(sectionId));\r\n\r\n      if (targetSection) {\r\n        const header = document.querySelector('header');\r\n        const pageNavigation = document.querySelector('.oap-page-navigation');\r\n        const toolbar = document.querySelector('.oap-product-toolbar');\r\n        let scrollTop = 0;\r\n\r\n        if (this.scrollPosition >= targetSection.offsetTop) {\r\n          scrollTop =\r\n            targetSection.offsetTop -\r\n            (header.getBoundingClientRect().height +\r\n              pageNavigation.getBoundingClientRect().height +\r\n              (this.hasDesktopView && toolbar ? toolbar.getBoundingClientRect().height : 0) +\r\n              SCROLL_INDENT_FOR_NAVIGATION);\r\n        } else {\r\n          scrollTop =\r\n            targetSection.offsetTop -\r\n            pageNavigation.getBoundingClientRect().height -\r\n            (this.hasDesktopView && toolbar ? toolbar.getBoundingClientRect().height : 0) -\r\n            SCROLL_INDENT_FOR_NAVIGATION;\r\n        }\r\n\r\n        window.scrollTo({\r\n          top: scrollTop,\r\n          behavior: 'smooth',\r\n        });\r\n\r\n        this.activeSection = targetSection.id;\r\n      }\r\n    },\r\n\r\n    highlightActiveSection() {\r\n      this.scrollPosition = window.scrollY;\r\n\r\n      const header = document.querySelector('header');\r\n      const pageNavigation = document.querySelector('.oap-page-navigation');\r\n      const scrollIndent =\r\n        header.getBoundingClientRect().height +\r\n        pageNavigation.getBoundingClientRect().height +\r\n        SCROLL_INDENT_FOR_NAVIGATION;\r\n\r\n      for (const section of this.filteredItems) {\r\n        const sectionElement = document.getElementById(this.cleanAnchor(section.anchor));\r\n\r\n        if (sectionElement) {\r\n          const rect = sectionElement.getBoundingClientRect();\r\n\r\n          if (Math.floor(Math.abs(rect.top) - scrollIndent) <= 0) {\r\n            this.activeSection = section.anchor;\r\n          }\r\n        }\r\n      }\r\n    },\r\n\r\n    centerActiveNavigationItem() {\r\n      const pageNavigationList = this.$refs.pageNavigationList;\r\n\r\n      if (pageNavigationList && this.activeSection) {\r\n        const activeNavigationItem = pageNavigationList.querySelector('.-active');\r\n\r\n        if (activeNavigationItem) {\r\n          const navigationWidth = pageNavigationList.offsetWidth;\r\n          const activeNavigationItemWidth = activeNavigationItem.offsetWidth;\r\n          const scrollLeft =\r\n            activeNavigationItem.offsetLeft - (navigationWidth - activeNavigationItemWidth) / 2;\r\n\r\n          pageNavigationList.scrollTo({\r\n            left: scrollLeft,\r\n            behavior: 'smooth',\r\n          });\r\n        }\r\n      }\r\n    },\r\n\r\n    updateFilteredItems() {\r\n      this.filteredItems = this.items.filter((item) => this.elementExists(item));\r\n    },\r\n\r\n    elementExists(item) {\r\n      return !item.anchor.startsWith('#') || document.getElementById(item.anchor.slice(1)) !== null;\r\n    },\r\n\r\n    cleanAnchor(anchor) {\r\n      return anchor.replace(/#/g, '');\r\n    },\r\n\r\n    toggleVisibilityClass(entry) {\r\n      this.$el.parentElement.classList.toggle('navigation-is-in-viewport', entry.isIntersecting);\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./OapPageNavigation.vue?vue&type=template&id=025f74c2\"\nimport script from \"./OapPageNavigation.vue?vue&type=script&lang=js\"\nexport * from \"./OapPageNavigation.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div :class=\"['oap-page-navigation', { '-has-desktop-view': hasDesktopView }]\">\r\n    <ul ref=\"pageNavigationList\" class=\"oap-page-navigation__list\">\r\n      <li\r\n        v-for=\"(item, index) in newFilteredItems\"\r\n        :key=\"index\"\r\n        :class=\"['oap-page-navigation__item', { '-is-button': item.isButton === true }]\"\r\n        @click.prevent=\"scrollToSection(item)\"\r\n      >\r\n        <a\r\n          :class=\"{\r\n            '-active': activeElement === cleanAnchor(item.anchor),\r\n          }\"\r\n          :href=\"item.anchor\"\r\n        >\r\n          {{ item.title }}\r\n        </a>\r\n      </li>\r\n    </ul>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport gsap from 'gsap';\r\nimport ScrollTrigger from 'gsap/ScrollTrigger';\r\nimport { ScrollToPlugin } from 'gsap/ScrollToPlugin';\r\nimport { debounce } from '@Foundation';\r\nimport { AnalyticsHandler } from '@Foundation';\r\n\r\nconst SCROLL_INDENT_FOR_NAVIGATION = 20; // 20px spacing between navigation and scrollable element\r\n\r\nconst OBSERVER_OPTIONS = {\r\n  rootMargin: '10px 10px 10px 10px',\r\n  threshold: [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1],\r\n};\r\n\r\nexport default {\r\n  name: 'OapPageNavigationForColorsonic',\r\n\r\n  props: {\r\n    items: { type: Array, default: () => [] },\r\n    scrollToTop: { type: Boolean, default: true },\r\n    hasDesktopView: { type: Boolean, default: false },\r\n    taggingData: { type: Object, required: true },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      activeSection: null,\r\n      scrollPosition: 0,\r\n      observerPool: [],\r\n      sortedPool: [],\r\n      intersectionPool: {},\r\n    };\r\n  },\r\n  computed: {\r\n    activeElement() {\r\n      return this.sortedPool[0]?.id;\r\n    },\r\n    newFilteredItems() {\r\n      return this.items.filter((item) => item.anchor.startsWith('#'));\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    gsap.registerPlugin(ScrollToPlugin, ScrollTrigger);\r\n    window.addEventListener('scroll', debounce(this.filterPool, 300));\r\n    window.addEventListener('resize', this.centerActiveNavigationItem);\r\n    window.addEventListener('orientationchange', this.centerActiveNavigationItem);\r\n    window.addEventListener('scrollend', this.centerActiveNavigationItem);\r\n\r\n    this.$nextTick(() => {\r\n      this.filterFocusableElements();\r\n    });\r\n  },\r\n  methods: {\r\n    intersectionObserverCallback(entries, observer) {\r\n      entries.forEach((entry) => {\r\n        const { target } = entry;\r\n        this.$nextTick(() => {\r\n          this.intersectionPool[target.id] = {\r\n            intersectionRatio: entry.intersectionRatio,\r\n            id: target.id,\r\n            offsetTop: target.getBoundingClientRect().top,\r\n            isIntersecting: entry.isIntersecting,\r\n          };\r\n        });\r\n      });\r\n    },\r\n    filterPool() {\r\n      this.sortedPool = [];\r\n      const keys = Object.keys(this.intersectionPool);\r\n      keys.forEach((key) => {\r\n        if (this.intersectionPool[key].isIntersecting)\r\n          this.sortedPool.push(this.intersectionPool[key]);\r\n      });\r\n      this.sortedPool = this.sortedPool.sort((a, b) => {\r\n        if (a.intersectionRatio === b.intersectionRatio) {\r\n          return b.offsetTop - a.offsetTop;\r\n        } else {\r\n          return b.intersectionRatio - a.intersectionRatio;\r\n        }\r\n      });\r\n    },\r\n    filterFocusableElements() {\r\n      this.items.forEach((element) => {\r\n        if (element.anchor.startsWith('#')) {\r\n          const domElement = document.querySelector(element.anchor);\r\n          const observer = new IntersectionObserver(\r\n            this.intersectionObserverCallback,\r\n            OBSERVER_OPTIONS\r\n          );\r\n          observer.observe(domElement);\r\n          this.observerPool.push(observer);\r\n        }\r\n      });\r\n    },\r\n    scrollToSection(item) {\r\n      const sectionId = item.anchor;\r\n\r\n      const label = sectionId.startsWith('#') ? item.title : `${item.title}::${item.anchor}`;\r\n\r\n      AnalyticsHandler.getAnalyticsHandler().push({\r\n        ...this.taggingData,\r\n        label: label,\r\n        cta_name: item.title,\r\n      });\r\n\r\n      if (!sectionId.startsWith('#')) {\r\n        window.location.href = sectionId;\r\n      }\r\n\r\n      const targetSection = document.getElementById(this.cleanAnchor(sectionId));\r\n\r\n      if (targetSection) {\r\n        const header = document.querySelector('header');\r\n        const pageNavigation = document.querySelector('.oap-page-navigation');\r\n        const topOffset =\r\n          header.getBoundingClientRect().height + pageNavigation.getBoundingClientRect().height;\r\n\r\n        const allTriggers = ScrollTrigger.getAll();\r\n\r\n        allTriggers.forEach((trigger) => {\r\n          trigger.disable(false);\r\n        });\r\n        this.$nextTick(() => {\r\n          gsap.to(window, {\r\n            duration: 1,\r\n            scrollTo: {\r\n              y: sectionId,\r\n              offsetY: topOffset,\r\n            },\r\n            onStart: () => {},\r\n            onComplete: () => {\r\n              setTimeout(() => {\r\n                const allTriggers = ScrollTrigger.getAll();\r\n\r\n                allTriggers.forEach((trigger) => {\r\n                  trigger.enable(true);\r\n                });\r\n              }, 1000);\r\n            },\r\n          });\r\n        });\r\n      }\r\n    },\r\n    centerActiveNavigationItem() {\r\n      const pageNavigationList = this.$refs.pageNavigationList;\r\n\r\n      if (pageNavigationList && this.activeSection) {\r\n        const activeNavigationItem = pageNavigationList.querySelector('.-active');\r\n\r\n        if (activeNavigationItem) {\r\n          const navigationWidth = pageNavigationList.offsetWidth;\r\n          const activeNavigationItemWidth = activeNavigationItem.offsetWidth;\r\n          const scrollLeft =\r\n            activeNavigationItem.offsetLeft - (navigationWidth - activeNavigationItemWidth) / 2;\r\n\r\n          pageNavigationList.scrollTo({\r\n            left: scrollLeft,\r\n            behavior: 'smooth',\r\n          });\r\n        }\r\n      }\r\n    },\r\n    cleanAnchor(anchor) {\r\n      return anchor.replace(/#/g, '');\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./OapPageNavigationForColorsonic.vue?vue&type=template&id=b0d23b3e\"\nimport script from \"./OapPageNavigationForColorsonic.vue?vue&type=script&lang=js\"\nexport * from \"./OapPageNavigationForColorsonic.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import OapPageNavigation from './code/Scripts/components/OapPageNavigation.vue';\r\nimport OapPageNavigationForColorsonic from './code/Scripts/components/OapPageNavigationForColorsonic.vue';\r\n\r\nexport default {\r\n  components: {\r\n    OapPageNavigation,\r\n    OapPageNavigationForColorsonic,\r\n  },\r\n};\r\n","<template>\r\n  <OapFocusTrap :is-visible=\"showPopin\">\r\n    <transition name=\"modal\">\r\n      <div v-if=\"showPopin\" class=\"oap-popin__wrapper\" @keyup.esc=\"closePopin\">\r\n        <div class=\"oap-popin__mask\" @click=\"closePopin\"></div>\r\n        <div class=\"oap-popin__container\" :class=\"{ 'oap-popin__container--small': isPopinSmall }\">\r\n          <header class=\"oap-popin__header\">\r\n            <button class=\"oap-popin__close\" @click=\"closePopin\">\r\n              <svg class=\"icon\" role=\"img\" aria-labelledby=\"close-popin-icon\">\r\n                <title id=\"close-popin-icon\">Close</title>\r\n                <use xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"#close\"></use>\r\n              </svg>\r\n            </button>\r\n          </header>\r\n\r\n          <div class=\"oap-popin__content scrollbarCustom\">\r\n            <slot />\r\n            <template v-if=\"!hasSlot\">\r\n              <h2 v-if=\"popinData.header\" class=\"oap-popin__title\">{{ popinData.header }}</h2>\r\n              <p v-if=\"popinData.text\" class=\"oap-popin__text\" v-html=\"popinData.text\"></p>\r\n              <a\r\n                v-if=\"popinData.button\"\r\n                class=\"oap-button -primary -fluid\"\r\n                :href=\"popinData.button.href\"\r\n                download=\"\"\r\n              >\r\n                <span class=\"oap-button__label\">\r\n                  {{ popinData.button.label }}\r\n                </span>\r\n              </a>\r\n            </template>\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </transition>\r\n  </OapFocusTrap>\r\n</template>\r\n\r\n<script>\r\nimport OapFocusTrap from '../../../../OapFocusTrap/code/Scripts/components/OapFocusTrap';\r\nimport eventBus from '@loreal/eventbus-js';\r\n\r\nconst CLOSE_DELAY = 250;\r\nconst OAP_POPIN_IS_SHOWN = 'oap-popin--is-shown';\r\n\r\nexport default {\r\n  name: 'OapPopin',\r\n  components: {\r\n    OapFocusTrap,\r\n  },\r\n  props: {\r\n    header: { type: String, default: '' },\r\n    text: { type: String, default: '' },\r\n    button: { type: Object, default: () => {} },\r\n    popinId: { type: String, default: 'popin' },\r\n    popinType: { type: String, default: 'default' },\r\n    hideContent: { type: Boolean, default: false },\r\n  },\r\n  data() {\r\n    return {\r\n      showPopin: false,\r\n      popin: null,\r\n    };\r\n  },\r\n\r\n  computed: {\r\n    popinData() {\r\n      if (this.popin) {\r\n        const { popinHeader, popinText, popinButton } = this.popin;\r\n        return {\r\n          header: popinHeader,\r\n          text: popinText,\r\n          button: popinButton ? JSON.parse(popinButton) : null,\r\n        };\r\n      }\r\n\r\n      return {\r\n        header: this.header,\r\n        text: this.text,\r\n        button: this.button,\r\n      };\r\n    },\r\n\r\n    isUsedProps() {\r\n      return !!this.header || !!this.text;\r\n    },\r\n\r\n    isPopinSmall() {\r\n      return this.popinType.toLowerCase() === 'small';\r\n    },\r\n\r\n    hasSlot() {\r\n      return Object.keys(this.$slots).length && this.$slots.default();\r\n    },\r\n  },\r\n\r\n  watch: {\r\n    showPopin(isShown) {\r\n      const body = document.querySelector('body');\r\n\r\n      this.hideContent && isShown\r\n        ? body.classList.add(OAP_POPIN_IS_SHOWN)\r\n        : body.classList.remove(OAP_POPIN_IS_SHOWN);\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    eventBus.on(`${this.popinId}:open`, (data) => {\r\n      if (!this.hasSlot && !this.isUsedProps) {\r\n        this.popin = data.currentTarget.dataset;\r\n      }\r\n\r\n      this.togglePopin();\r\n    });\r\n\r\n    eventBus.on('form:submitted', () => {\r\n      setTimeout(this.closePopin, CLOSE_DELAY);\r\n    });\r\n  },\r\n\r\n  methods: {\r\n    togglePopin() {\r\n      this.showPopin = !this.showPopin;\r\n    },\r\n\r\n    closePopin() {\r\n      this.showPopin = false;\r\n      this.popin = null;\r\n    },\r\n  },\r\n};\r\n</script>\r\n","<template>\r\n  <div v-if=\"isVisible\" class=\"vue-focus-loop\">\r\n    <div :tabindex=\"getTabindex\" aria-hidden=\"true\" @focus=\"handleFocusStart\" />\r\n    <div ref=\"focusLoop\">\r\n      <slot />\r\n    </div>\r\n    <div :tabindex=\"getTabindex\" aria-hidden=\"true\" @focus=\"handleFocusEnd\" />\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nconst focusableElementsSelector = [\r\n  ...['input', 'select', 'button', 'textarea'].map((field) => `${field}:not([disabled])`),\r\n  'a[href]',\r\n  'video[controls]',\r\n  'audio[controls]',\r\n  '[tabindex]:not([tabindex^=\"-\"])',\r\n  '[contenteditable]:not([contenteditable=\"false\"])',\r\n].join(',');\r\n\r\nexport default {\r\n  name: 'OapFocusTrap',\r\n\r\n  props: {\r\n    disabled: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n\r\n    isVisible: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n\r\n    autoFocus: {\r\n      type: Boolean,\r\n      default: true,\r\n    },\r\n\r\n    domNodesToHide: {\r\n      type: Array,\r\n      default: () => ['header', 'footer', '#content'],\r\n    },\r\n\r\n    handleBodyScroll: {\r\n      type: Boolean,\r\n      default: true,\r\n    },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      alreadyFocused: false,\r\n    };\r\n  },\r\n\r\n  settings: {\r\n    autofocusDelay: 200,\r\n  },\r\n\r\n  computed: {\r\n    getTabindex() {\r\n      return this.disabled ? -1 : 0;\r\n    },\r\n  },\r\n\r\n  watch: {\r\n    isVisible: 'init',\r\n    disabled: 'init',\r\n  },\r\n\r\n  mounted() {\r\n    this.init();\r\n  },\r\n\r\n  methods: {\r\n    init() {\r\n      if (this.handleBodyScroll) {\r\n        this.toggleBodyScroll();\r\n      }\r\n\r\n      this.domNodesToHide.forEach((node) => {\r\n        let nodeInDom = document.querySelector(node);\r\n        if (nodeInDom) {\r\n          nodeInDom.setAttribute('aria-hidden', this.isVisible);\r\n        }\r\n      });\r\n\r\n      this.$nextTick(() => {\r\n        const active = this.isVisible && !this.disabled;\r\n        !this.disabled && this.focusFirst(active && this.autoFocus);\r\n        this.managePrevFocusElement(active);\r\n      });\r\n    },\r\n\r\n    managePrevFocusElement(active) {\r\n      if (!active && window.vflPrevFocusedElement) {\r\n        return window.vflPrevFocusedElement.focus();\r\n      }\r\n      window.vflPrevFocusedElement = document.activeElement;\r\n    },\r\n\r\n    focusFirst(isAutoFocus) {\r\n      if (isAutoFocus) {\r\n        const elements = this.getFocusableElements();\r\n        if (elements.length) {\r\n          setTimeout(() => elements[0].focus(), this.$options.settings.autofocusDelay);\r\n        }\r\n      }\r\n    },\r\n\r\n    getFocusableElements() {\r\n      const focusableElements = this.$refs.focusLoop.querySelectorAll(focusableElementsSelector);\r\n      if (focusableElements && focusableElements.length) {\r\n        return focusableElements;\r\n      }\r\n      return [];\r\n    },\r\n\r\n    handleFocusStart() {\r\n      const elements = this.getFocusableElements();\r\n      if (elements.length) {\r\n        const index = this.alreadyFocused ? elements.length - 1 : 0;\r\n        this.alreadyFocused = true;\r\n        elements[index].focus();\r\n      }\r\n    },\r\n\r\n    handleFocusEnd() {\r\n      const elements = this.getFocusableElements();\r\n      elements.length && elements[0].focus();\r\n    },\r\n\r\n    toggleBodyScroll() {\r\n      const body = document.querySelector('body');\r\n      this.isVisible\r\n        ? body.classList.add('is-overflow-hidden')\r\n        : body.classList.remove('is-overflow-hidden');\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./OapFocusTrap.vue?vue&type=template&id=0a233ea1\"\nimport script from \"./OapFocusTrap.vue?vue&type=script&lang=js\"\nexport * from \"./OapFocusTrap.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./OapPopin.vue?vue&type=template&id=75d38667\"\nimport script from \"./OapPopin.vue?vue&type=script&lang=js\"\nexport * from \"./OapPopin.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import OapPopin from './code/Scripts/components/OapPopin.vue';\r\n\r\nexport default {\r\n  components: {\r\n    OapPopin,\r\n  },\r\n};\r\n","import { debounce } from './timing';\r\n\r\nconst map = new Map();\r\n\r\nconst callbackHandler = (entries) => {\r\n  for (let { target } of entries) {\r\n    map.get(target)();\r\n  }\r\n};\r\n\r\nconst ro = new ResizeObserver(callbackHandler);\r\n\r\nexport const globalResizeObserver = {\r\n  observe(el, callback, debounceDelay) {\r\n    const cb = debounceDelay ? debounce(callback, debounceDelay) : callback;\r\n\r\n    map.set(el, cb);\r\n    ro.observe(el);\r\n  },\r\n\r\n  unobserve(el) {\r\n    map.delete(el);\r\n    ro.unobserve(el);\r\n  },\r\n};\r\n","export const PROMO_BAR_BODY_CLASS = 'promoBarIsShown';\r\nexport const PROMO_BAR_EXPIRE_DATE_STORAGE = 'promo-bar_expire-date';\r\nexport const PROMO_BAR_HEIGHT_CSS_VARIABLE = '--oap-promo-bar-height';\r\n","<script>\r\nimport { globalResizeObserver } from '@Foundation/utilities/globalResizeObserver';\r\nimport {\r\n  PROMO_BAR_BODY_CLASS,\r\n  PROMO_BAR_HEIGHT_CSS_VARIABLE,\r\n  PROMO_BAR_EXPIRE_DATE_STORAGE,\r\n} from '../settings';\r\n\r\n/**\r\n * Direction to scroll\r\n * @typedef Direction\r\n * @type {('left'|'right')}\r\n */\r\n\r\nexport default {\r\n  name: 'OapPromoBar',\r\n\r\n  props: {\r\n    /**\r\n     * @typedef {Object} Autoplay\r\n     * @property {boolean} active\r\n     * @property {number} interval  - Interval in milliseconds\r\n     */\r\n    autoplay: {\r\n      /**\r\n       * @returns {Autoplay}\r\n       */\r\n      default: () => ({\r\n        active: false,\r\n        interval: null,\r\n      }),\r\n      type: Object,\r\n      validator: (obj) => ['active', 'interval'].every((prop) => prop in obj),\r\n    },\r\n    /**\r\n     * @type {number} - Cooldown time in hours\r\n     */\r\n    dismissTime: {\r\n      default: 0,\r\n      type: Number,\r\n    },\r\n    isInfinite: {\r\n      default: true,\r\n      type: Boolean,\r\n    },\r\n    isScrollable: {\r\n      default: false,\r\n      type: Boolean,\r\n    },\r\n    itemSelector: {\r\n      default: null,\r\n      type: String,\r\n    },\r\n    promoBarSelector: {\r\n      default: '.oap-promo-bar',\r\n      type: String,\r\n    },\r\n  },\r\n\r\n  data: () => ({\r\n    promoBar: null,\r\n    autoplayFnReference: null,\r\n    intersectionObservers: [],\r\n  }),\r\n\r\n  computed: {\r\n    itemsElements() {\r\n      return document.querySelectorAll(this.itemSelector);\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    this.autoDismiss();\r\n    this.promoBar = document.querySelector(this.promoBarSelector);\r\n    this.intersectionViewportObserver(this.promoBar, this.updateBarVisibility);\r\n    this.itemsElements.forEach((item) =>\r\n      this.intersectionViewportObserver(item, this.updateFocusableElementsVisibility)\r\n    );\r\n    this.updateHeightCssVariable();\r\n    globalResizeObserver.observe(this.promoBar, this.updateHeightCssVariable, 200);\r\n    this.setupMouseEvents();\r\n  },\r\n\r\n  beforeUnmount() {\r\n    document.body.classList.remove(PROMO_BAR_BODY_CLASS);\r\n    this.unobserveIntersectionObservers();\r\n    globalResizeObserver.unobserve(this.promoBar);\r\n    this.stopAutoplay();\r\n  },\r\n\r\n  methods: {\r\n    autoDismiss() {\r\n      const deadline = window?.localStorage.getItem(PROMO_BAR_EXPIRE_DATE_STORAGE);\r\n      if (!deadline) return;\r\n\r\n      const now = new Date().getTime();\r\n\r\n      if (deadline > now) {\r\n        this.removeFromDom();\r\n      } else {\r\n        window?.localStorage.removeItem(PROMO_BAR_EXPIRE_DATE_STORAGE);\r\n      }\r\n    },\r\n\r\n    dismiss() {\r\n      const deadline = new Date().getTime() + this.dismissTime * 60 * 60 * 1000;\r\n\r\n      window?.localStorage.setItem(PROMO_BAR_EXPIRE_DATE_STORAGE, deadline);\r\n      this.removeFromDom();\r\n    },\r\n\r\n    /**\r\n     * Calculate coordinate to scroll\r\n     * @param {Direction} direction\r\n     * @returns {number}\r\n     */\r\n    getCoordinateToScroll(direction) {\r\n      const { clientWidth, scrollLeft, scrollWidth } = this.promoBar;\r\n\r\n      if (this.isInfinite) {\r\n        const scrollLeftMax = scrollWidth - clientWidth;\r\n\r\n        const isAtBeginning = scrollLeft === 0;\r\n        const isAtEnd = Math.abs(scrollLeft - scrollLeftMax) <= 1;\r\n\r\n        if (isAtBeginning && direction === 'left') {\r\n          return scrollLeftMax;\r\n        }\r\n\r\n        if (isAtEnd && direction === 'right') {\r\n          return -scrollLeftMax;\r\n        }\r\n      }\r\n\r\n      return direction === 'right' ? clientWidth : -clientWidth;\r\n    },\r\n\r\n    intersectionViewportObserver(element, callback) {\r\n      const observer = new IntersectionObserver((entries) => entries.forEach(callback), {\r\n        threshold: 1,\r\n      });\r\n\r\n      observer.observe(element);\r\n      this.intersectionObservers.push({ element, observer });\r\n    },\r\n\r\n    removeFromDom() {\r\n      if (this.promoBar) this.promoBar.remove();\r\n    },\r\n\r\n    setupMouseEvents() {\r\n      this.promoBar.addEventListener('mouseenter', () => {\r\n        this.stopAutoplay();\r\n      });\r\n\r\n      this.promoBar.addEventListener('mouseleave', () => {\r\n        this.startAutoplay();\r\n      });\r\n    },\r\n\r\n    startAutoplay() {\r\n      const { autoplay, isScrollable } = this;\r\n      const { active, interval } = autoplay;\r\n\r\n      if (active && interval && isScrollable) {\r\n        if (this.autoplayFnReference) this.stopAutoplay();\r\n\r\n        this.autoplayFnReference = setTimeout(() => {\r\n          this.scroll('right');\r\n        }, interval);\r\n      }\r\n    },\r\n\r\n    stopAutoplay() {\r\n      clearTimeout(this.autoplayFnReference);\r\n    },\r\n\r\n    /**\r\n     * @param {Direction} direction\r\n     */\r\n    scroll(direction) {\r\n      const coordinate = this.getCoordinateToScroll(direction);\r\n\r\n      this.stopAutoplay();\r\n      this.promoBar.scrollBy({ left: coordinate, behavior: 'smooth' });\r\n      this.startAutoplay();\r\n    },\r\n\r\n    unobserveIntersectionObservers() {\r\n      this.intersectionObservers.forEach(({ element, observer }) => observer.unobserve(element));\r\n    },\r\n\r\n    updateBarVisibility({ intersectionRatio }) {\r\n      if (intersectionRatio === 1) {\r\n        document.body.classList.add(PROMO_BAR_BODY_CLASS);\r\n        this.startAutoplay();\r\n      } else {\r\n        document.body.classList.remove(PROMO_BAR_BODY_CLASS);\r\n        this.stopAutoplay();\r\n      }\r\n    },\r\n\r\n    updateFocusableElementsVisibility({ intersectionRatio, target }) {\r\n      const focusableElements = [\r\n        ...target.querySelectorAll('a'),\r\n        ...target.querySelectorAll('button'),\r\n      ];\r\n\r\n      if (intersectionRatio === 1) {\r\n        focusableElements.forEach((el) => el.setAttribute('tabindex', '0'));\r\n        target.removeAttribute('aria-hidden');\r\n      } else {\r\n        focusableElements.forEach((el) => el.setAttribute('tabindex', '-1'));\r\n        target.setAttribute('aria-hidden', true);\r\n      }\r\n    },\r\n\r\n    updateHeightCssVariable() {\r\n      document.body.style.setProperty(\r\n        PROMO_BAR_HEIGHT_CSS_VARIABLE,\r\n        `${this.promoBar.clientHeight}px`\r\n      );\r\n    },\r\n  },\r\n\r\n  render() {\r\n    return this.$slots.default({\r\n      dismiss: this.dismiss,\r\n      scroll: this.scroll,\r\n    });\r\n  },\r\n};\r\n</script>\r\n","import script from \"./oap-promo-bar.vue?vue&type=script&lang=js\"\nexport * from \"./oap-promo-bar.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import OapPromoBar from './code/Scripts/components/oap-promo-bar.vue';\r\n\r\nexport default {\r\n  components: {\r\n    OapPromoBar,\r\n  },\r\n};\r\n","<template>\r\n  <div\r\n    :class=\"[\r\n      'oap-slider',\r\n      `oap-slider--layout-${layout || 'default'}`,\r\n      theme ? `oap-slider--theme-${theme}` : null,\r\n      engaged ? `oap-slider--is-engaged` : null,\r\n      ctaMobileTop ? 'oap-slider--mobile-cta-to-top' : null,\r\n    ]\"\r\n  >\r\n    <a class=\"oap-slider__skip-link\" :href=\"`#skip-slider-${sliderId}`\">\r\n      {{ skipLink.text }}\r\n    </a>\r\n\r\n    <div v-if=\"!!$slots.copy\" class=\"oap-slider__copy\">\r\n      <slot name=\"copy\" />\r\n    </div>\r\n\r\n    <div v-if=\"!!$slots.action\" class=\"oap-slider__action\">\r\n      <slot name=\"action\"></slot>\r\n    </div>\r\n\r\n    <oap-scroller @engaged=\"engage\">\r\n      <slot :slider-id=\"sliderId\" />\r\n    </oap-scroller>\r\n\r\n    <slot name=\"controls\" />\r\n\r\n    <div v-if=\"!!$slots.link\" class=\"oap-slider__link\">\r\n      <slot name=\"link\" />\r\n    </div>\r\n\r\n    <span :id=\"`skip-slider-${sliderId}`\"></span>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport { uniqueId } from '@Foundation/utilities/uniqueId';\r\n\r\nexport default {\r\n  name: 'OapSlider',\r\n\r\n  props: {\r\n    sliderId: {\r\n      type: String,\r\n      default: () => uniqueId(),\r\n    },\r\n    layout: {\r\n      type: String,\r\n    },\r\n    theme: {\r\n      type: String,\r\n    },\r\n    ctaMobileTop: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    skipLink: {\r\n      type: Object,\r\n      default() {\r\n        return {\r\n          text: 'skip slider',\r\n          skippedText: 'slider skipped',\r\n        };\r\n      },\r\n    },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      engaged: false,\r\n    };\r\n  },\r\n  methods: {\r\n    engage(bool) {\r\n      this.engaged = bool;\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./OapSlider.vue?vue&type=template&id=58f964b9\"\nimport script from \"./OapSlider.vue?vue&type=script&lang=js\"\nexport * from \"./OapSlider.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import OapSlider from './code/Scripts/components/OapSlider.vue';\r\n\r\nexport default {\r\n  components: {\r\n    OapSlider,\r\n  },\r\n};\r\n","<template>\r\n  <ul ref=\"linesList\" class=\"oap-strikethrough-list\">\r\n    <li v-for=\"(item, index) in singleLineTexts\" :key=\"index\">\r\n      {{ item }}\r\n    </li>\r\n  </ul>\r\n</template>\r\n\r\n<script>\r\nimport gsap from 'gsap';\r\nimport ScrollTrigger from 'gsap/ScrollTrigger';\r\nimport { intersectionViewportObserver } from '@Foundation';\r\nimport { AnalyticsHandler } from '../../../../../Foundation/Core/code/Scripts/analyticsHandler';\r\n\r\nexport default {\r\n  name: 'OapStrikethroughScrolling',\r\n\r\n  props: {\r\n    singleLineTexts: { type: Array, default: () => {} },\r\n    containerSelector: { type: String, default: '.oap-sustainability' },\r\n\r\n    // scrollTrigger settings\r\n    scrub: { type: Boolean, default: true },\r\n    pin: { type: Boolean, default: true },\r\n    start: { type: String, default: 'top top' },\r\n    end: { type: String, default: 'center 0%' },\r\n    animationsEnabled: { type: Boolean, required: true, default: true },\r\n    impressionTag: {\r\n      type: Object,\r\n      required: false,\r\n      default: () => {\r\n        return {\r\n          type: 'userActionEvent',\r\n          event_name: 'product_info_impression',\r\n          category: 'product_sustainability',\r\n          action: 'list of products',\r\n        };\r\n      },\r\n    },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      tagFired: false,\r\n      isOnViewport: false,\r\n      strikethroughDelay: 100,\r\n    };\r\n  },\r\n\r\n  computed: {\r\n    scrollPoints() {\r\n      return Math.floor(100 / this.singleLineTexts.length);\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    gsap.registerPlugin(ScrollTrigger);\r\n    if (this.animationsEnabled && !window.location.hash) {\r\n      setTimeout(this.bindAnimation, 0);\r\n    } else {\r\n      this.strikethroughDelay = 0;\r\n      this.$nextTick(() => {\r\n        this.strikethroughElement(this.singleLineTexts.length - 1);\r\n      });\r\n    }\r\n\r\n    intersectionViewportObserver(this.$el, { checkIsVisible: false, threshold: [0.006] }).then(\r\n      () => {\r\n        this.isOnViewport = true;\r\n      }\r\n    );\r\n  },\r\n\r\n  methods: {\r\n    bindAnimation() {\r\n      gsap.to(this.containerSelector, {\r\n        ease: 'ease-in-out',\r\n        scrollTrigger: {\r\n          trigger: this.containerSelector,\r\n          scrub: this.scrub,\r\n          pin: this.pin,\r\n          start: this.start,\r\n          end: this.end,\r\n          onUpdate: (self) => {\r\n            let progress = Math.round(self.progress * 100);\r\n\r\n            if (!this.isOnViewport) return;\r\n\r\n            if (progress >= 10) {\r\n              if (!this.tagFired) {\r\n                this.tagFired = true;\r\n                AnalyticsHandler.getAnalyticsHandler().push({\r\n                  ...this.impressionTag,\r\n                });\r\n              }\r\n\r\n              let strikethroughIndex = Math.floor(progress / this.scrollPoints);\r\n\r\n              if (strikethroughIndex < this.singleLineTexts.length) {\r\n                this.strikethroughElement(strikethroughIndex);\r\n              }\r\n            }\r\n          },\r\n        },\r\n      });\r\n    },\r\n\r\n    strikethroughElement(index) {\r\n      for (let i = 0; i <= index; i++) {\r\n        if (!this.$refs.linesList.children[i].classList.contains('-strikethrough')) {\r\n          setTimeout(() => {\r\n            this.$refs.linesList.children[i].classList.add('-strikethrough');\r\n            if (this.animationsEnabled)\r\n              this.$refs.linesList.children[i].classList.add('with-animation');\r\n          }, index * this.strikethroughDelay);\r\n        }\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./OapStrikethroughScrolling.vue?vue&type=template&id=63c2a914\"\nimport script from \"./OapStrikethroughScrolling.vue?vue&type=script&lang=js\"\nexport * from \"./OapStrikethroughScrolling.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import OapStrikethroughScrolling from './code/Scripts/components/OapStrikethroughScrolling.vue';\r\n\r\nexport default {\r\n  components: {\r\n    OapStrikethroughScrolling,\r\n  },\r\n};\r\n","<script>\r\nexport default {\r\n  name: 'OneTrustCookieHelper',\r\n\r\n  props: {\r\n    stateCodes: { type: Array, required: true },\r\n    countryCodes: { type: Array, required: true },\r\n    siteHasOptimizely: { type: Boolean, required: true, default: false },\r\n  },\r\n  \r\n  mounted() {\r\n    this.main();\r\n  },\r\n\r\n  methods: {\r\n    main() {\r\n      this.checkConsent();\r\n\r\n      if (this.siteHasOptimizely) {\r\n        this.checkOptimizely();\r\n      }\r\n    },\r\n\r\n    async waitForResource(target, resource, args) {\r\n      const maxChecks = 50;\r\n      for (let counter = 0; counter < maxChecks; counter++) {\r\n        if (target === 'window' && window[resource]) return;\r\n        if (target === 'function' && resource(args)) return resource(args);\r\n        if (!target && resource) return;\r\n\r\n        await new Promise((resolve) => setTimeout(resolve, 100));\r\n      }\r\n\r\n      throw new Error('Maximum number of checks reached for resource ', resource);\r\n    },\r\n\r\n    getCookie(name) {\r\n      let cookie = {};\r\n      document.cookie.split(';').forEach(function (el) {\r\n        let split = el.split('=');\r\n        cookie[split[0].trim()] = split.slice(1).join('=');\r\n      });\r\n      return cookie[name];\r\n    },\r\n\r\n    setCookie(c_name, value, exdays) {\r\n      let exdate = new Date();\r\n      exdate.setDate(exdate.getDate() + exdays);\r\n      let c_value =\r\n        encodeURIComponent(value) +\r\n        (exdays == null ? '' : '; expires=' + exdate.toUTCString() + '; path=/;');\r\n      document.cookie = c_name + '=' + c_value;\r\n    },\r\n\r\n    checkConsent() {\r\n      const ocCookie = this.getCookie('OptanonConsent');\r\n      const oabcCookie = this.getCookie('OptanonAlertBoxClosed');\r\n      const frCookie = this.getCookie('ForceReconsent');\r\n\r\n      let canClearOptanonCookie = oabcCookie != null && ocCookie != null && frCookie == null;\r\n\r\n      this.waitForResource('window', 'OneTrust').then(() => {\r\n        const currentState = window.OneTrust.getGeolocationData().state;\r\n        const currentCountry = window.OneTrust.getGeolocationData().country;\r\n        let inStateToCheck =\r\n          this.countryCodes.includes(currentCountry) && this.stateCodes.includes(currentState);\r\n\r\n        if (frCookie == null && inStateToCheck) {\r\n          this.setCookie('ForceReconsent', `${currentCountry}-${currentState}`, 365);\r\n\r\n          if (canClearOptanonCookie) {\r\n            window.OneTrust.RejectAll();\r\n            this.setCookie('OptanonConsent', '', -1);\r\n            this.setCookie('OptanonAlertBoxClosed', '', -1);\r\n            location.reload();\r\n          }\r\n        }\r\n      });\r\n    },\r\n\r\n    checkPermissionGroups() {\r\n      const cookieValue = this.getCookie('OptanonConsent');\r\n      const decodedcookieValue = decodeURIComponent(cookieValue);\r\n      const keyValuePairs = decodedcookieValue.split('&');\r\n      return keyValuePairs.find((pair) => pair.startsWith('groups='));\r\n    },\r\n\r\n    checkOptimizely() {\r\n      this.waitForResource('function', this.checkPermissionGroups).then((response) => {\r\n        let regex = /(?<![0-9])3:1/;\r\n        const consentGroups = response.split('=')[1].split(',');\r\n        if (!regex.test(consentGroups)) {\r\n          window['optimizely'].push({\r\n            type: 'disable',\r\n          });\r\n        }\r\n      });\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import script from \"./OneTrustCookieHelper.vue?vue&type=script&lang=js\"\nexport * from \"./OneTrustCookieHelper.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import OneTrustCookieHelper from './code/Scripts/components/OneTrustCookieHelper.vue';\r\n\r\nexport default {\r\n  components: {\r\n    OneTrustCookieHelper,\r\n  },\r\n};\r\n","<template>\r\n  <div\r\n    ref=\"overlay\"\r\n    class=\"overlay\"\r\n    :class=\"{ 'overlay--open': isOverlayOpen }\"\r\n    @click=\"closeOverlay\"\r\n  ></div>\r\n</template>\r\n\r\n<script>\r\nimport eventBus from '@loreal/eventbus-js';\r\n\r\nconst OVERLAY_ACTIVE = 'overlay--active';\r\n\r\nexport default {\r\n  name: 'Overlay',\r\n\r\n  props: {\r\n    parentNav: {\r\n      type: String,\r\n      required: false,\r\n      default: undefined,\r\n    },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      overlayOpen: false,\r\n      navId: this.parentNav,\r\n    };\r\n  },\r\n\r\n  computed: {\r\n    isOverlayOpen() {\r\n      return this.overlayOpen && this.navId === this.parentNav;\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    eventBus.on('navOpen', (value) => {\r\n      this.closeNav(value);\r\n    });\r\n  },\r\n\r\n  methods: {\r\n    /**\r\n     * This function closes the overlay when clicking on it\r\n     * @function\r\n     */\r\n    closeOverlay() {\r\n      this.overlayOpen = false;\r\n      eventBus.emit('closeNav', this.overlayOpen);\r\n      const oBody = document.querySelector('body');\r\n      oBody.classList.remove(OVERLAY_ACTIVE);\r\n      oBody.classList.remove('noScroll');\r\n\r\n      if (document.querySelector('.navigationList.-active')) {\r\n        document.querySelector('.navigationList.-active').classList.remove('-active');\r\n      }\r\n\r\n      if (document.querySelector('.navigation__panelWrapper.-active')) {\r\n        document.querySelector('.navigation__panelWrapper.-active').classList.remove('-active');\r\n        document.querySelector('.navigationList__item.-active').classList.remove('-active');\r\n      }\r\n\r\n      if (document.querySelector('.navigation__burger.-active')) {\r\n        document.querySelector('.navigation__burger.-active').classList.remove('-active');\r\n      }\r\n    },\r\n    /**\r\n     * This function closes the nav when clicking on overlay\r\n     * @function\r\n     * @param value\r\n     */\r\n    closeNav(value) {\r\n      const { status, navId } = value;\r\n      this.overlayOpen = status;\r\n      this.navId = navId;\r\n      const oBody = document.querySelector('body');\r\n      if (this.overlayOpen === false) {\r\n        oBody.classList.remove(OVERLAY_ACTIVE);\r\n      } else {\r\n        oBody.classList.add(OVERLAY_ACTIVE);\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./overlay.vue?vue&type=template&id=48c5529e\"\nimport script from \"./overlay.vue?vue&type=script&lang=js\"\nexport * from \"./overlay.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Overlay from './code/Scripts/components/overlay.vue';\r\n\r\nexport default {\r\n  components: {\r\n    Overlay,\r\n  },\r\n};\r\n","<template>\r\n  <a\r\n    :href=\"socialShareData.url\"\r\n    target=\"_blank\"\r\n    class=\"articleShare__link\"\r\n    @click.prevent=\"\r\n      iconClickHandler(socialShareData.url, socialShareData.type, socialShareData.title)\r\n    \"\r\n  >\r\n    <img\r\n      class=\"articleShare__icon lazyload\"\r\n      src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"\r\n      :srcset=\"socialShareData.iconSrc\"\r\n      :alt=\"socialShareData.iconAlt\"\r\n    />\r\n    <template v-if=\"socialShareData.type === 'copyLink'\">\r\n      <span\r\n        ref=\"copyTooltip\"\r\n        :class=\"{ '-show': showCopyTooltip }\"\r\n        class=\"articleShare__copyTooltip\"\r\n      >\r\n        {{ copyTooltipText }}\r\n      </span>\r\n    </template>\r\n  </a>\r\n</template>\r\n\r\n<script>\r\nimport { AnalyticsHandler } from '../../../../../Foundation/Core/code/Scripts';\r\n\r\nconst SOCIAL_SHARERS = {\r\n  facebook: {\r\n    url: 'https://www.facebook.com/sharer/sharer.php',\r\n    param: 'u',\r\n  },\r\n  twitter: {\r\n    url: 'https://twitter.com/home',\r\n    param: 'status',\r\n  },\r\n};\r\n\r\nexport default {\r\n  name: 'ArticleShareItem',\r\n  props: {\r\n    socialShareData: {\r\n      type: Object,\r\n      required: true,\r\n    },\r\n    copyTooltipText: {\r\n      type: String,\r\n      default: 'Copied',\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      showCopyTooltip: false,\r\n    };\r\n  },\r\n  methods: {\r\n    triggerTooltip() {\r\n      this.showCopyTooltip = true;\r\n      setTimeout(() => {\r\n        this.showCopyTooltip = false;\r\n      }, 1500);\r\n    },\r\n\r\n    iconClickHandler(href, type, title) {\r\n      this.pushAnalytics(type, title);\r\n\r\n      if (type === 'copyLink') {\r\n        this.triggerTooltip();\r\n        this.copyURLToClipboard(window.location.href);\r\n      } else if (type === 'email') {\r\n        window.location.href = href || `mailto:?&body=${window.location.href}`;\r\n      } else if (type === 'facebook' || type === 'twitter') {\r\n        let url = new URL(SOCIAL_SHARERS[type].url);\r\n        url.searchParams.append(SOCIAL_SHARERS[type].param, window.location.href);\r\n\r\n        window.open(href || url.toString(), 'Share', 'menubar=0,resizable=0,width=500,height=500');\r\n      }\r\n    },\r\n    isOS() {\r\n      return /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;\r\n    },\r\n    copyURLToClipboard(url) {\r\n      if (document.queryCommandSupported && document.queryCommandSupported('copy')) {\r\n        const textarea = document.createElement('textarea');\r\n        textarea.textContent = url;\r\n        textarea.style.fontSize = '16px';\r\n        textarea.style.lineHeight = 0;\r\n        textarea.style.height = '0px';\r\n        textarea.style.opacity = 0;\r\n        this.$refs.copyTooltip.appendChild(textarea);\r\n\r\n        if (this.isOS()) {\r\n          const range = document.createRange();\r\n          range.selectNodeContents(textarea);\r\n          const selection = window.getSelection();\r\n          selection.removeAllRanges();\r\n          selection.addRange(range);\r\n          textarea.setSelectionRange(0, 999999);\r\n        } else {\r\n          textarea.select();\r\n        }\r\n\r\n        /* istanbul ignore next */\r\n        try {\r\n          return document.execCommand('copy');\r\n        } catch (err) {\r\n          console.warn('Copy to clipboard failed', err);\r\n          return false;\r\n        } finally {\r\n          this.$refs.copyTooltip.removeChild(textarea);\r\n        }\r\n      }\r\n    },\r\n    pushAnalytics(type, title) {\r\n      let tag = {\r\n        type: 'userActionEvent',\r\n        category: 'content page',\r\n        action: `share::${type}`,\r\n        label: title,\r\n        event_name: 'social_interaction',\r\n        article_name: title,\r\n        social_network: type,\r\n        social_action: 'share',\r\n      };\r\n\r\n      try {\r\n        AnalyticsHandler.getAnalyticsHandler().push(tag);\r\n      } catch (e) {\r\n        /* istanbul ignore next */\r\n        console.warn('Could not push to dataLayer', tag);\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./article-share-item.vue?vue&type=template&id=62f8b9fd\"\nimport script from \"./article-share-item.vue?vue&type=script&lang=js\"\nexport * from \"./article-share-item.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div v-if=\"show\" class=\"cookie-banner\">\r\n    <div class=\"container\">\r\n      <div class=\"cookie-notification\">\r\n        <div class=\"cookie-notification__wrap\">\r\n          <slot name=\"text\"></slot>\r\n          <a v-if=\"showLearnMore\" :href=\"learnMoreUrl\" class=\"cookie-learn-more\">{{\r\n            learnMoreButtonText\r\n          }}</a>\r\n        </div>\r\n        <button\r\n          v-if=\"showClose\"\r\n          :aria-label=\"cookieCloseLabel\"\r\n          class=\"cookie-close\"\r\n          @click=\"close()\"\r\n        >\r\n          x\r\n        </button>\r\n        <button v-if=\"buttonText\" class=\"cookie-submit-button\" @click=\"close()\">\r\n          {{ buttonText }}\r\n        </button>\r\n      </div>\r\n    </div>\r\n  </div>\r\n</template>\r\n<script>\r\nexport default {\r\n  name: 'CookieBanner',\r\n  props: {\r\n    editMode: { type: Boolean, default: false },\r\n    showLearnMore: { type: Boolean, default: false },\r\n    showClose: { type: Boolean, default: false },\r\n    buttonText: { type: String, required: false },\r\n    learnMoreUrl: { type: String, required: false },\r\n    learnMoreButtonText: { type: String, required: false },\r\n    cookieCloseLabel: { type: String, required: false },\r\n  },\r\n  data() {\r\n    return {\r\n      show: !this.editMode,\r\n    };\r\n  },\r\n  created() {\r\n    this.getCookie('cookie-notification');\r\n  },\r\n  methods: {\r\n    close() {\r\n      this.createCookie('cookie-notification', 1, 365);\r\n      this.show = false;\r\n\r\n      /* istanbul ignore next */\r\n      /*if (window.eventBus) {\r\n        window.eventBus.emit('headerHeight.updated', true);\r\n        window.eventBus.emit('cookie.gone', true);\r\n      }*/\r\n    },\r\n\r\n    createCookie(name, value, days) {\r\n      let expires = '';\r\n      /* istanbul ignore else */\r\n      // test will not reach else.\r\n      if (days) {\r\n        const date = new Date();\r\n        date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);\r\n        expires = `; expires=${date.toGMTString()}`;\r\n      } else {\r\n        expires = '';\r\n      }\r\n      document.cookie = `${name}=${value}${expires}; path=/`;\r\n    },\r\n    getCookie(name) {\r\n      const existcookie = document.cookie\r\n        .split(';')\r\n        .filter((item) => item.trim().startsWith(`${name}=`)).length;\r\n      if (existcookie) {\r\n        this.show = false;\r\n      } else {\r\n        this.show = true;\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./cookie-banner.vue?vue&type=template&id=1bc7e70d\"\nimport script from \"./cookie-banner.vue?vue&type=script&lang=js\"\nexport * from \"./cookie-banner.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import ArticleShareItem from './code/Scripts/components/article-share-item.vue';\r\nimport CookieBanner from './code/Scripts/components/cookie-banner.vue';\r\n\r\nexport default {\r\n  components: {\r\n    ArticleShareItem,\r\n    CookieBanner,\r\n  },\r\n};\r\n","<template>\r\n  <div v-show=\"shouldShow\" class=\"oap-search-suggestions\">\r\n    <p v-if=\"hasNoSuggestions\" class=\"oap-search-suggestions-list__empty\">{{ defaultLabel }}</p>\r\n\r\n    <template v-for=\"(collection, key) of collections\" v-else>\r\n      <div v-if=\"collection?.list?.length\" :key=\"key\" class=\"oap-search-suggestions-list__wrapper\">\r\n        <p v-if=\"collection.title\" class=\"oap-search-suggestions-list__title\">\r\n          {{ collection.title }}\r\n        </p>\r\n\r\n        <ul class=\"oap-search-suggestions-list__list\">\r\n          <li\r\n            v-for=\"(item, key) of collection.list\"\r\n            :key=\"key\"\r\n            class=\"oap-search-suggestions-list__item\"\r\n          >\r\n            <svg v-if=\"collection.icon\" class=\"icon glass\" aria-hidden=\"true\">\r\n              <use xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"#search\"></use>\r\n            </svg>\r\n            <a\r\n              :href=\"`${suggestionsAction}?q=${removeTagWrapper(item)}&autocompletion=true`\"\r\n              class=\"oap-search-suggestions-list__link\"\r\n              v-html=\"item\"\r\n            ></a>\r\n            <svg class=\"icon arrow\" aria-hidden=\"true\">\r\n              <use xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"#arrow-search\"></use>\r\n            </svg>\r\n          </li>\r\n        </ul>\r\n      </div>\r\n    </template>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { throttle, LOCAL_STORAGE_AVAILABLE } from '../../../../../Foundation/Core/code/Scripts';\r\nimport { fetchData } from '../../../../../Foundation/Core/code/Scripts/mixins/fetchData/fetchData';\r\n\r\n// Settings\r\nconst SEARCH_INPUT_SELECTOR = '.oap-search__input';\r\nconst SEARCH_FORM_SELECTOR = '.oap-search__form';\r\nconst SEARCH_CHECKBOX_SELECTOR = '.oap-search__checkbox';\r\nconst SEARCH_SUGGESTIONS_THROTTLING = 1000;\r\nconst RECENT_SEARCHES_STORAGE_KEY = 'recent_searches';\r\n\r\nexport default {\r\n  name: 'SearchSuggestions',\r\n\r\n  props: {\r\n    suggestionsAction: { type: String, required: true },\r\n    suggestionsApiUrl: { type: String, required: true },\r\n    urlOrigin: { type: String, default: window.location.origin },\r\n    defaultLabel: { type: String, required: true },\r\n    recommendedSearchesTitle: { type: String, required: true },\r\n    recentSearchesTitle: { type: String, required: true },\r\n    minQueryChar: { type: Number, required: true },\r\n    maxRecentSearchItems: { type: Number, required: true },\r\n    activeSearchQuery: { type: String },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      recentSearchesList: [],\r\n      suggestionsList: [],\r\n      searchQueryValue: null,\r\n      isActive: true,\r\n    };\r\n  },\r\n\r\n  computed: {\r\n    hasNoSuggestions() {\r\n      return [...this.suggestionsList, ...this.recentSearchesList].length === 0;\r\n    },\r\n\r\n    shouldShow() {\r\n      return (\r\n        this.isActive && this.searchQueryValue && this.searchQueryValue.length >= this.minQueryChar\r\n      );\r\n    },\r\n\r\n    collections() {\r\n      return [\r\n        { list: this.suggestionsList, title: this.recommendedSearchesTitle, icon: 'search' },\r\n        { list: this.recentSearchesList, title: this.recentSearchesTitle, icon: null },\r\n      ];\r\n    },\r\n  },\r\n\r\n  watch: {\r\n    searchQueryValue(value) {\r\n      /* istanbul ignore next */\r\n      if (\r\n        // not falsy\r\n        value &&\r\n        // has min char\r\n        value.length >= this.minQueryChar\r\n      ) {\r\n        // fetch suggestions\r\n        this.getSuggestionsList(value);\r\n      }\r\n    },\r\n\r\n    isActive(value) {\r\n      /* istanbul ignore else */\r\n      if (!value) {\r\n        // reset suggestions list\r\n        this.searchQueryValue = '';\r\n      }\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    this.bindFormListener();\r\n    this.bindActiveListener();\r\n    this.bindEventBusListener();\r\n    this.getRecentSearchesList();\r\n    this.updateRecentSearchesList(this.activeSearchQuery);\r\n  },\r\n\r\n  methods: {\r\n    getRecentSearchesList() {\r\n      /* istanbul ignore else */\r\n      if (!LOCAL_STORAGE_AVAILABLE) {\r\n        return;\r\n      }\r\n\r\n      /* istanbul ignore next */\r\n      this.recentSearchesList =\r\n        JSON.parse(window.localStorage.getItem(RECENT_SEARCHES_STORAGE_KEY)) || [];\r\n    },\r\n\r\n    updateRecentSearchesList(activeSearchQuery) {\r\n      /* istanbul ignore else */\r\n      if (!LOCAL_STORAGE_AVAILABLE) {\r\n        return;\r\n      }\r\n\r\n      /* istanbul ignore next */\r\n      if (activeSearchQuery) {\r\n        let recentSearchesList =\r\n          JSON.parse(window.localStorage.getItem(RECENT_SEARCHES_STORAGE_KEY)) || [];\r\n\r\n        // remove active query from list if already in\r\n        let filteredRecentSearchesList = recentSearchesList.filter(\r\n          (query) => query !== activeSearchQuery\r\n        );\r\n\r\n        // add active query to the list\r\n        filteredRecentSearchesList.unshift(activeSearchQuery);\r\n\r\n        // only keep max numbers of items and set localStorage\r\n        window.localStorage.setItem(\r\n          RECENT_SEARCHES_STORAGE_KEY,\r\n          JSON.stringify(filteredRecentSearchesList.slice(0, this.maxRecentSearchItems))\r\n        );\r\n      }\r\n    },\r\n\r\n    getSuggestionsList(value) {\r\n      const url = new URL(this.suggestionsApiUrl, this.urlOrigin);\r\n      const config = {\r\n        headers: { 'Content-Type': 'application/json' },\r\n        credentials: 'include',\r\n        cache: 'no-store',\r\n      };\r\n\r\n      url.searchParams.append('query', value);\r\n\r\n      fetchData(url, config, (data) => {\r\n        this.suggestionsList = data;\r\n      });\r\n    },\r\n\r\n    selectSuggestion(query) {\r\n      const searchInput = document.querySelector(SEARCH_INPUT_SELECTOR);\r\n      const searchForm = document.querySelector(SEARCH_FORM_SELECTOR);\r\n\r\n      searchInput.value = query;\r\n      searchForm.submit();\r\n    },\r\n\r\n    bindFormListener() {\r\n      const searchInput = document.querySelector(SEARCH_INPUT_SELECTOR);\r\n\r\n      if (searchInput) {\r\n        /* istanbul ignore next */\r\n        searchInput.addEventListener(\r\n          'keyup',\r\n          throttle((event) => {\r\n            this.isActive = document.activeElement === searchInput;\r\n            this.searchQueryValue = event.target.value;\r\n          }, SEARCH_SUGGESTIONS_THROTTLING)\r\n        );\r\n      }\r\n    },\r\n\r\n    bindActiveListener() {\r\n      // It would be nicer for active to be a prop\r\n      const searchCheckbox = document.querySelector(SEARCH_CHECKBOX_SELECTOR);\r\n\r\n      /* istanbul ignore else */\r\n      if (searchCheckbox) {\r\n        this.isActive = searchCheckbox.checked;\r\n        searchCheckbox.addEventListener('change', (event) => {\r\n          this.isActive = event.target.checked;\r\n        });\r\n      }\r\n    },\r\n\r\n    bindEventBusListener() {\r\n      eventBus.on('search-suggestions::close', () => {\r\n        this.isActive = false;\r\n        this.searchQueryValue = '';\r\n        this.suggestionsList = [];\r\n      });\r\n    },\r\n\r\n    removeTagWrapper(str) {\r\n      return str.replace(/<.*?>/g, '');\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./search-suggestions.vue?vue&type=template&id=695a9a3d\"\nimport script from \"./search-suggestions.vue?vue&type=script&lang=js\"\nexport * from \"./search-suggestions.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import SearchSuggestions from './code/Scripts/Components/search-suggestions.vue';\r\n\r\nexport default {\r\n  components: {\r\n    SearchSuggestions,\r\n  },\r\n};\r\n","import eventBus from '@loreal/eventbus-js';\r\n\r\nexport default {\r\n  // eslint-disable-line\r\n  name: 'search',\r\n  beforeMount: (el, binding) => {\r\n    const ACTIVE = '-active';\r\n    const ACTIVE_NAVIGATION_BURGER = '.navigation__burger.-active';\r\n    const ACTIVE_NAVIGATION_LIST = '.navigationList.-active';\r\n    const ACTIVE_NAVIGATION_PANEL_WRAPPER = '.navigation__panelWrapper.-active';\r\n    const OPENED_OVERLAY = '.overlay.overlay--open';\r\n    const DISABLED = 'disabled';\r\n    const OVERLAY_ACTIVE = 'overlay--active';\r\n    const NO_SCROLL = 'noScroll';\r\n    const MENU_IS_ACTIVE = 'menu--is-active';\r\n    const HEADER_WRAPPER = '.oap-header__wrapper';\r\n    const OPAQUE = '-opaque';\r\n    const SEARCH_IS_ACTIVE = 'search--is-active';\r\n\r\n    // Classes for A11Y checks\r\n    const SEARCH_FORM_ITEM = 'oap-search__form-item';\r\n    const SEARCH_SUGGESTIONS_LINK = 'oap-search-suggestions-list__link';\r\n\r\n    // eventBus events\r\n    const SEARCH_SUGGESTIONS_CLOSE_EVENT = 'search-suggestions::close';\r\n\r\n    // DOM structure shared between header-search.hbs and main-search.hbs\r\n    const searchForm = el.querySelector('.oap-search__form');\r\n    const searchInput = el.querySelector('.oap-search__input');\r\n    const searchButton = el.querySelector('.oap-search__button');\r\n\r\n    // DOM structure that is only specific to header-search.hbs\r\n    const openSearch = el.querySelector('.oap-search__label.-open');\r\n    const closeSearch = el.querySelector('.oap-search__label.-close');\r\n    const clickOverlay = el.querySelector('.oap-click-overlay');\r\n    const searchCheckbox = el.querySelector('.oap-search__checkbox');\r\n\r\n    const scrollTransparentHeaderPosition = 500;\r\n\r\n    // remove native browser validation from search input\r\n    searchInput.removeAttribute('pattern');\r\n\r\n    // disable the search button to add JS validation\r\n    searchButton.setAttribute(DISABLED, true);\r\n\r\n    // add our own simple JS validation to the form\r\n    searchInput.addEventListener('keyup', () => {\r\n      /* istanbul ignore next */\r\n      if (searchInput.value.length > binding.value - 1) {\r\n        searchButton.removeAttribute(DISABLED);\r\n        return;\r\n      }\r\n\r\n      if (searchInput.value.length < binding.value && !searchButton.hasAttribute(DISABLED)) {\r\n        searchButton.setAttribute(DISABLED, true);\r\n      }\r\n    });\r\n\r\n    searchInput.addEventListener('click', () => {\r\n      setTimeout(() => {\r\n        document.body.classList.add('headerIsShown');\r\n      }, 500);\r\n    });\r\n\r\n    searchForm.addEventListener('submit', (event) => {\r\n      if (searchInput.value.length < binding.value) {\r\n        event.preventDefault();\r\n      }\r\n    });\r\n\r\n    /* istanbul ignore next */\r\n    if (openSearch) {\r\n      openSearch.addEventListener('click', () => {\r\n        eventBus.emit('closeNav', false);\r\n        const oBody = document.querySelector('body');\r\n        oBody.classList.remove(OVERLAY_ACTIVE, NO_SCROLL, MENU_IS_ACTIVE);\r\n        searchCheckbox.checked = true;\r\n        document.querySelector(HEADER_WRAPPER).classList.add(SEARCH_IS_ACTIVE);\r\n\r\n        if (document.body.getBoundingClientRect().top !== 0) {\r\n          document.querySelector(HEADER_WRAPPER).classList.add(OPAQUE);\r\n        }\r\n\r\n        if (document.querySelector(ACTIVE_NAVIGATION_LIST)) {\r\n          document.querySelector(ACTIVE_NAVIGATION_LIST).classList.remove(ACTIVE);\r\n        }\r\n\r\n        if (document.querySelector(ACTIVE_NAVIGATION_PANEL_WRAPPER)) {\r\n          document.querySelector(ACTIVE_NAVIGATION_PANEL_WRAPPER).classList.remove(ACTIVE);\r\n          document.querySelector('.navigationList__item.-active').classList.remove(ACTIVE);\r\n        }\r\n\r\n        if (document.querySelector(ACTIVE_NAVIGATION_BURGER)) {\r\n          document.querySelector(ACTIVE_NAVIGATION_BURGER).classList.remove(ACTIVE);\r\n        }\r\n\r\n        if (document.querySelector(OPENED_OVERLAY)) {\r\n          document.querySelector(OPENED_OVERLAY).classList.remove('overlay--open');\r\n        }\r\n\r\n        setTimeout(() => {\r\n          searchInput.focus();\r\n          document.addEventListener('keyup', onKeyupHandler);\r\n        }, 300);\r\n      });\r\n    }\r\n\r\n    function onKeyupHandler(event) {\r\n      const { code, target } = event;\r\n      if (\r\n        code === 'Tab' &&\r\n        !target.classList.contains(SEARCH_FORM_ITEM) &&\r\n        !target.classList.contains(SEARCH_SUGGESTIONS_LINK)\r\n      ) {\r\n        searchInput.value = '';\r\n        searchInput.blur();\r\n        searchCheckbox.checked = false;\r\n        document.removeEventListener('keyup', onKeyupHandler);\r\n      }\r\n    }\r\n\r\n    function onTimeout(checkbox, input, event) {\r\n      if (event) {\r\n        event.preventDefault();\r\n      }\r\n      setTimeout(() => {\r\n        input.value = '';\r\n        input.blur();\r\n        checkbox.checked = false;\r\n        openSearch.focus();\r\n      }, 300);\r\n    }\r\n\r\n    /* istanbul ignore next */\r\n    if (closeSearch) {\r\n      closeSearch.addEventListener('click', (event) => {\r\n        onTimeout(searchCheckbox, searchInput, event);\r\n        eventBus.emit(SEARCH_SUGGESTIONS_CLOSE_EVENT);\r\n        document.querySelector(HEADER_WRAPPER).classList.remove(SEARCH_IS_ACTIVE);\r\n\r\n        if (\r\n          Math.abs(document.body.getBoundingClientRect().top) <= scrollTransparentHeaderPosition\r\n        ) {\r\n          document.querySelector(HEADER_WRAPPER).classList.remove(OPAQUE);\r\n        }\r\n      });\r\n    }\r\n\r\n    /* istanbul ignore next */\r\n    if (clickOverlay && searchCheckbox) {\r\n      clickOverlay.addEventListener('click', () => {\r\n        onTimeout(searchCheckbox, searchInput);\r\n        eventBus.emit(SEARCH_SUGGESTIONS_CLOSE_EVENT);\r\n        document.querySelector(HEADER_WRAPPER).classList.remove(SEARCH_IS_ACTIVE);\r\n\r\n        if (\r\n          Math.abs(document.body.getBoundingClientRect().top) <= scrollTransparentHeaderPosition\r\n        ) {\r\n          document.querySelector(HEADER_WRAPPER).classList.remove(OPAQUE);\r\n        }\r\n      });\r\n    }\r\n  },\r\n};\r\n","import Search from './code/Scripts/Directives/search';\r\n\r\nexport default {\r\n  directives: {\r\n    Search,\r\n  },\r\n};\r\n","<template>\r\n  <div ref=\"slider\">\r\n    <scroller data-simplebar :scale-factor=\"scaleFactor\" @scrollX=\"onScroll\">\r\n      <slot></slot>\r\n    </scroller>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport anime from 'animejs';\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { MqHandler } from '../../../../../Foundation/Core/code/Scripts/mqHandler';\r\nimport scroller from '../../../../../Foundation/Core/code/Scripts/scroller/scroller.vue';\r\n\r\nexport default {\r\n  name: 'Slider',\r\n  components: {\r\n    scroller,\r\n  },\r\n  props: {\r\n    activate: { type: Boolean, required: false, default: false },\r\n    scaleFactor: { type: Number, required: false, default: 0.35 },\r\n    isFadedOut: { type: Boolean, required: false, default: false },\r\n    forceSmall: { type: Boolean, required: false, default: false },\r\n    parentComponent: { type: String, required: false, default: '' },\r\n  },\r\n  data() {\r\n    return {\r\n      faded: false,\r\n      scrollTimeout: null,\r\n      slides: false,\r\n      smallScreen: MqHandler.getMqHandler().getMqForSize('small').selected,\r\n      positions: [],\r\n      windowWidth: false,\r\n      slideWidth: false,\r\n      closest: false,\r\n      widthDivider: 2,\r\n      nodeToActivate: false,\r\n      currentIndex: 0,\r\n      scrollDistance: 80,\r\n      scrollDistanceSmall: 30,\r\n      scrollableContent: null,\r\n      uniqueId: `${Date.now()}__${Math.random() * 10000}-slider`,\r\n      shouldEmitScrollEvent: false,\r\n    };\r\n  },\r\n  computed: {\r\n    behaveAsSmallScreen() {\r\n      return this.forceSmall || this.smallScreen;\r\n    },\r\n  },\r\n  watch: {\r\n    faded() {\r\n      if (this.faded) {\r\n        if (this.$el.parentElement.previousElementSibling) {\r\n          if (this.behaveAsSmallScreen) {\r\n            this.$el.parentElement.classList.add('isArrowFadedOut');\r\n          }\r\n          this.$el.parentElement.previousElementSibling.classList.add('isFadedOut');\r\n\r\n          if (this.$el.parentElement.nextElementSibling) {\r\n            this.$el.parentElement.nextElementSibling.classList.add('isFadedOut');\r\n          }\r\n        }\r\n      } else if (this.$el.parentElement.previousElementSibling) {\r\n        if (this.behaveAsSmallScreen) {\r\n          this.$el.parentElement.classList.remove('isArrowFadedOut');\r\n        }\r\n        this.$el.parentElement.previousElementSibling.classList.remove('isFadedOut');\r\n\r\n        if (this.$el.parentElement.nextElementSibling) {\r\n          this.$el.parentElement.nextElementSibling.classList.remove('isFadedOut');\r\n        }\r\n      }\r\n    },\r\n    currentIndex(newValue, oldValue) {\r\n      if (newValue !== oldValue) {\r\n        eventBus.emit(`${this.parentComponent}::childMoved`, {\r\n          newIndex: this.currentIndex,\r\n          trigger: this.uniqueId,\r\n        });\r\n      }\r\n    },\r\n  },\r\n  mounted() {\r\n    this.slides = this.$refs.slider.querySelectorAll('.slider__item');\r\n    this.slidesAnchors = this.$refs.slider.querySelectorAll('.slider__item a');\r\n    this.setAriaHidden();\r\n\r\n    eventBus.on('mediaquery::changed', (mq) => {\r\n      this.smallScreen = mq.size === 'small';\r\n    });\r\n\r\n    window.addEventListener('resize', this.handleWindowResize);\r\n\r\n    document.addEventListener('sliderGoTo', (e) => {\r\n      this.goTo(e.detail);\r\n    });\r\n\r\n    this.scrollableContent = this.$refs.slider.querySelector('.simplebar-content');\r\n\r\n    if (this.parentComponent !== '') {\r\n      eventBus.on(`${this.parentComponent}::gotoPage`, ({ index, element }) => {\r\n        this.moveSliderTo(index, element);\r\n      });\r\n    }\r\n  },\r\n  beforeUnmount() {\r\n    window.removeEventListener('resize', this.handleWindowResize);\r\n  },\r\n  methods: {\r\n    handleWindowResize() {\r\n      this.moveSliderTo(this.currentIndex, '.slider__item');\r\n    },\r\n    moveSliderTo(index, elem) {\r\n      const element = this.$refs.slider.querySelector(elem);\r\n\r\n      if (element) {\r\n        const elementWidth = element.getBoundingClientRect().width;\r\n        this.goTo(elementWidth * index);\r\n      }\r\n    },\r\n    onScroll() {\r\n      if (this.ignoreListener) {\r\n        return;\r\n      }\r\n\r\n      this.scrollLeft = this.scrollableContent.scrollLeft;\r\n\r\n      if (this.scrollLeft < 20 && this.behaveAsSmallScreen && this.isFadedOut) {\r\n        this.faded = false;\r\n      } else if (\r\n        this.scrollLeft > this.scrollDistanceSmall &&\r\n        this.behaveAsSmallScreen &&\r\n        this.isFadedOut\r\n      ) {\r\n        this.faded = true;\r\n      }\r\n\r\n      if (this.scrollLeft <= 15 && !this.behaveAsSmallScreen) {\r\n        this.faded = false;\r\n      } else if (this.scrollLeft > this.scrollDistance && !this.behaveAsSmallScreen) {\r\n        this.faded = true;\r\n      }\r\n\r\n      if (this.scrollTimeout === null) {\r\n        this.findActive();\r\n      } else {\r\n        clearTimeout(this.scrollTimeout);\r\n      }\r\n\r\n      this.scrollTimeout = setTimeout(this.findActive, 100);\r\n    },\r\n\r\n    findActive(animate = true) {\r\n      if (!this.slides[0]) {\r\n        return;\r\n      }\r\n\r\n      if (this.stopAnimating) {\r\n        return;\r\n      }\r\n\r\n      const getClosestInArray = (array, num) => {\r\n        let index = 0;\r\n        let minDiff = 1000;\r\n        let result;\r\n\r\n        for (index in array) {\r\n          if (Object.prototype.hasOwnProperty.call(array, index)) {\r\n            const match = Math.abs(num - array[index]);\r\n\r\n            if (match < minDiff) {\r\n              minDiff = match;\r\n              result = array[index];\r\n            }\r\n          }\r\n        }\r\n\r\n        return result;\r\n      };\r\n\r\n      this.positions = [].slice\r\n        .call(this.slides)\r\n        .map((slide) => slide.getBoundingClientRect().left);\r\n      this.windowWidth = window.innerWidth;\r\n      this.slideWidth = this.slides[0].clientWidth;\r\n      this.closest = getClosestInArray(this.positions, this.slideWidth / this.widthDivider);\r\n\r\n      //avoid slide update if closest not found\r\n      if (this.closest) {\r\n        this.currentIndex = this.positions.indexOf(this.closest);\r\n        this.nodeToActivate = this.slides[this.positions.indexOf(this.closest)];\r\n\r\n        this.handleSmallScreenAnimation(animate);\r\n      }\r\n    },\r\n\r\n    handleSmallScreenAnimation(animate) {\r\n      if (this.behaveAsSmallScreen && this.activate) {\r\n        this.setActive();\r\n        this.animateIfClosest(animate);\r\n      }\r\n    },\r\n\r\n    animateIfClosest(animate) {\r\n      if (this.positions.indexOf(this.closest) !== 0 && animate) {\r\n        this.animateTo();\r\n      }\r\n    },\r\n\r\n    setActive() {\r\n      Array.from(this.slides).forEach((slide) => {\r\n        slide.classList.remove('-active');\r\n      });\r\n      if (!this.nodeToActivate.classList.contains('-active')) {\r\n        this.nodeToActivate.classList.add('-active');\r\n      }\r\n\r\n      this.setAriaHidden();\r\n    },\r\n\r\n    setAriaHidden() {\r\n      const ariaHiddenAttribute = 'aria-hidden';\r\n      const slides = Array.from(this.slides) || [];\r\n      const slidesAnchorTag = Array.from(this.slidesAnchors) || [];\r\n\r\n      slides.forEach((slide) => slide.setAttribute(ariaHiddenAttribute, 'true'));\r\n      if (slidesAnchorTag) {\r\n        slidesAnchorTag.forEach((slidesAnchor) => slidesAnchor.setAttribute('tabindex', '-1'));\r\n      }\r\n\r\n      if (this.nodeToActivate) {\r\n        this.nodeToActivate.removeAttribute(ariaHiddenAttribute);\r\n        const activeAnchortags = this.nodeToActivate.querySelectorAll('a');\r\n        if (activeAnchortags) {\r\n          activeAnchortags.forEach((activeAnchortag) =>\r\n            activeAnchortag.removeAttribute('tabindex')\r\n          );\r\n        }\r\n      } else {\r\n        slides[0] && slides[0].removeAttribute(ariaHiddenAttribute);\r\n        const firstslides = slides[0] ? slides[0].querySelectorAll('a') : '';\r\n        if (firstslides) {\r\n          firstslides.forEach((firstslide) => firstslide.removeAttribute('tabindex'));\r\n        }\r\n      }\r\n    },\r\n\r\n    goTo(to) {\r\n      this.scrollableContent.scrollLeft = to;\r\n      this.scrollLeft = to;\r\n      setTimeout(this.findActive, 300);\r\n    },\r\n\r\n    animateTo() {\r\n      if (this.stopAnimating) {\r\n        return;\r\n      }\r\n\r\n      this.stopAnimating = true;\r\n      anime({\r\n        targets: this.scrollableContent,\r\n        scrollLeft: this.scrollLeft + this.closest - (this.windowWidth - this.slideWidth) / 2,\r\n        duration: 200,\r\n        easing: 'easeInSine',\r\n        complete: () => {\r\n          this.scrollLeft = this.scrollableContent.scrollLeft;\r\n          this.stopAnimating = false;\r\n        },\r\n      });\r\n    },\r\n  },\r\n};\r\n</script>\r\n","<template>\r\n  <div class=\"scrollbar\">\r\n    <slot></slot>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport Scroller from './scroller'; // eslint-disable-line\r\n\r\nexport default {\r\n  name: 'Scroller',\r\n\r\n  props: {\r\n    scaleFactor: { type: Number, required: false, default: 1 },\r\n    isVto: { type: Boolean, default: false },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      scrollbar: null,\r\n      timer: 500,\r\n    };\r\n  },\r\n\r\n  mounted() {\r\n    this.scrollbar = new Scroller(this.$el, {\r\n      scaleFactor: this.scaleFactor,\r\n      parentNode: this.$parent,\r\n      isVTO: this.isVto,\r\n    });\r\n    this.scrollbar.getContentElement().addEventListener('scroll', this.onScrollX);\r\n\r\n    eventBus.on('updateScroller', () => {\r\n      /* istanbul ignore next */\r\n      if (this.scrollbar.el.parentNode.classList.contains('slider__mega-menu')) {\r\n        this.scrollbar.trackX.style.opacity = 0;\r\n        setTimeout(() => {\r\n          this.scrollbar.render(true);\r\n          this.scrollbar.trackX.style.opacity = 1;\r\n        }, this.timer);\r\n      }\r\n    });\r\n\r\n    setTimeout(() => {\r\n      this.scrollbar.recalculate();\r\n    }, this.timer * 2);\r\n  },\r\n\r\n  methods: {\r\n    onScrollX(evt) {\r\n      /* istanbul ignore next */\r\n      this.$emit('scrollX', evt);\r\n    },\r\n  },\r\n};\r\n</script>\r\n","/* esint-disable */\r\nimport scrollbarWidth from 'scrollbarwidth';\r\nimport { throttle } from '../utilities/timing';\r\n// TODO: remove and replace with native browser API\r\nimport ResizeObserver from 'resize-observer-polyfill';\r\n\r\nexport default class SimpleBar {\r\n  constructor(element, options) {\r\n    this.el = element;\r\n    this.flashTimeout;\r\n    this.contentEl;\r\n    this.scrollContentEl;\r\n    this.dragOffset = { x: 0, y: 0 };\r\n    this.isEnabled = { x: true, y: true };\r\n    this.isVisible = { x: false, y: false };\r\n    this.scrollOffsetAttr = { x: 'scrollLeft', y: 'scrollTop' };\r\n    this.sizeAttr = { x: 'offsetWidth', y: 'offsetHeight' };\r\n    this.scrollSizeAttr = { x: 'scrollWidth', y: 'scrollHeight' };\r\n    this.offsetAttr = { x: 'left', y: 'top' };\r\n    this.globalObserver;\r\n    this.mutationObserver;\r\n    this.resizeObserver;\r\n    this.currentAxis;\r\n    this.scrollbarWidth;\r\n    this.options = Object.assign({}, SimpleBar.defaultOptions, options);\r\n    this.isRtl = this.options.direction === 'rtl';\r\n    this.classNames = this.options.classNames;\r\n    this.offsetSize = 20;\r\n    this.parentNodeWidth = null;\r\n    this.parentNodeParentId = 'selectedFilters__wrapper';\r\n    this.isVTO = options.isVTO;\r\n    this.recalculate = throttle(this.recalculate.bind(this), 1000);\r\n\r\n    this.init();\r\n  }\r\n\r\n  static get defaultOptions() {\r\n    return {\r\n      autoHide: false,\r\n      classNames: {\r\n        content: 'simplebar-content',\r\n        scrollContent: 'simplebar-scroll-content',\r\n        scrollbar: 'simplebar-scrollbar',\r\n        track: 'simplebar-track'\r\n      },\r\n      direction: 'ltr',\r\n      timeout: 1000,\r\n      scaleFactor: 1,\r\n      parentNode: null\r\n    };\r\n  }\r\n\r\n  init() {\r\n    // Save a reference to the instance, so we know this DOM node has already been instancied\r\n    this.el.SimpleBar = this;\r\n\r\n    this.initDOM();\r\n\r\n    // Calculate content size\r\n    this.hideNativeScrollbar();\r\n    this.render();\r\n\r\n    this.initListeners();\r\n  }\r\n\r\n  initDOM() {\r\n    // Prepare DOM\r\n    this.scrollContentEl = document.createElement('div');\r\n    this.contentEl = document.createElement('div');\r\n\r\n    this.scrollContentEl.classList.add(this.classNames.scrollContent);\r\n    this.contentEl.classList.add(this.classNames.content);\r\n\r\n    while (this.el.firstChild) {\r\n      this.contentEl.appendChild(this.el.firstChild);\r\n    }\r\n\r\n    this.scrollContentEl.appendChild(this.contentEl);\r\n    this.el.appendChild(this.scrollContentEl);\r\n\r\n    if (!this.trackX || !this.trackY) {\r\n      const track = document.createElement('div');\r\n      const scrollbar = document.createElement('div');\r\n\r\n      track.classList.add(this.classNames.track);\r\n      scrollbar.classList.add(this.classNames.scrollbar);\r\n\r\n      if (!this.options.autoHide) {\r\n        scrollbar.classList.add('visible');\r\n      }\r\n\r\n      track.appendChild(scrollbar);\r\n\r\n      this.trackX = track.cloneNode(true);\r\n      this.trackX.classList.add('horizontal');\r\n\r\n      this.trackY = track.cloneNode(true);\r\n      this.trackY.classList.add('vertical');\r\n\r\n      this.el.insertBefore(this.trackX, this.el.firstChild);\r\n      this.el.insertBefore(this.trackY, this.el.firstChild);\r\n    }\r\n\r\n    this.scrollbarX = this.trackX.querySelector(`.${this.classNames.scrollbar}`);\r\n    this.scrollbarY = this.trackY.querySelector(`.${this.classNames.scrollbar}`);\r\n\r\n    this.updateTrackSize(true);\r\n\r\n    this.el.setAttribute('data-simplebar', 'init');\r\n  }\r\n\r\n  initListeners() {\r\n    // Event listeners\r\n    if (this.options.autoHide) {\r\n      this.el.addEventListener('mouseenter', this.onMouseEnter);\r\n    }\r\n\r\n    if (this.options.parentNode !== null) {\r\n      this.parentNodeWidth = this.options.parentNode.$el.offsetWidth\r\n    }\r\n\r\n    this.el.addEventListener('mousedown', this.onMouseDown);\r\n\r\n    this.contentEl.addEventListener('scroll', this.onScrollX);\r\n    this.scrollContentEl.addEventListener('scroll', this.onScrollY);\r\n\r\n    // Browser zoom triggers a window resize\r\n    window.addEventListener('resize', this.onWindowResize);\r\n\r\n    // MutationObserver is IE11+\r\n    if (typeof MutationObserver !== 'undefined') {\r\n      // create an observer instance\r\n      this.mutationObserver = new MutationObserver(mutations => {\r\n        mutations.forEach(mutation => {\r\n          if (this.isChildNode(mutation.target) || mutation.addedNodes.length) {\r\n            this.recalculate();\r\n          }\r\n        });\r\n      });\r\n\r\n      // pass in the target node, as well as the observer options\r\n      this.mutationObserver.observe(this.el, {\r\n        attributes: true,\r\n        childList: true,\r\n        characterData: true,\r\n        subtree: true\r\n      });\r\n    }\r\n\r\n    this.resizeObserver = new ResizeObserver(this.recalculate);\r\n    this.resizeObserver.observe(this.el);\r\n  }\r\n\r\n  /**\r\n   * Recalculate scrollbar\r\n   */\r\n  recalculate() {\r\n    this.render();\r\n  }\r\n\r\n  render(withScaleFactor = false) {\r\n    this.updateTrackSize(withScaleFactor);\r\n\r\n    this.contentSizeX = this.contentEl[this.scrollSizeAttr['x']];\r\n    this.contentSizeY = this.contentEl[this.scrollSizeAttr['y']] - (this.scrollbarWidth || this.offsetSize);\r\n\r\n    this.trackXSize = this.trackX[this.sizeAttr['x']] > 0 ? this.trackX[this.sizeAttr['x']] : this.scrollContentEl[this.sizeAttr['x']];\r\n    this.trackYSize = this.trackY[this.sizeAttr['y']];\r\n\r\n    // Set isEnabled to false if scrollbar is not necessary (content is shorter than wrapper)\r\n    this.getEnabled('x');\r\n    //this.getEnabled('y');\r\n\r\n    this.resizeScrollbar('x');\r\n    //this.resizeScrollbar('y');\r\n\r\n    this.positionScrollbar('x');\r\n    //this.positionScrollbar('y');\r\n\r\n    this.toggleTrackVisibility('x');\r\n    //this.toggleTrackVisibility('y');\r\n  }\r\n\r\n  updateTrackSize(withScaleFactor) {\r\n    const trackXSize = (this.trackX[this.sizeAttr['x']] > 0) ? this.trackX[this.sizeAttr['x']]: this.scrollContentEl[this.sizeAttr['x']];\r\n    if (withScaleFactor) {\r\n      this.trackX.style.width = `${trackXSize * this.options.scaleFactor}px`;\r\n    }\r\n    else {\r\n      this.trackX.style.width =  `${trackXSize}px`;\r\n    }\r\n  }\r\n\r\n  /**\r\n   * Resize scrollbar\r\n   */\r\n  resizeScrollbar(axis = 'y') {\r\n    let scrollbar;\r\n    let contentSize;\r\n    let trackSize;\r\n\r\n    // if (!this.isEnabled[axis]) {\r\n    //   return;\r\n    // }\r\n\r\n    if (axis === 'x') {\r\n      scrollbar = this.scrollbarX;\r\n      contentSize = this.contentSizeX;\r\n      trackSize = this.trackXSize;\r\n    } else {\r\n      // 'y'\r\n      scrollbar = this.scrollbarY;\r\n      contentSize = this.contentSizeY;\r\n      trackSize = this.trackYSize;\r\n    }\r\n    \r\n    let scrollbarRatio = trackSize / (contentSize * this.options.scaleFactor);\r\n    this.handleSize = scrollbarRatio * 100;\r\n    if (axis === 'x') {  \r\n      let scrolWidth =   this.handleSize;  \r\n      scrollbar.style.width = `${scrolWidth}%`;\r\n    } else {\r\n      scrollbar.style.height = `${this.handleSize}%`;\r\n    }\r\n  }\r\n\r\n  getEnabled(axis = 'y') {\r\n    // Be careful: this is a hack for Selected Filters component\r\n    if (this.options.parentNode.$parent.$el.id === this.parentNodeParentId) {\r\n      const parentNodeUpdatedWidth = this.options.parentNode.$el.offsetWidth - 6;\r\n      if (axis === 'x' && (this.parentNodeWidth < parentNodeUpdatedWidth)) {\r\n        this.parentNodeWidth = parentNodeUpdatedWidth;\r\n        this.trackXSize = parentNodeUpdatedWidth;\r\n        this.isEnabled['x'] = true;\r\n      }\r\n    }\r\n\r\n    if (axis === 'x' && this.options.parentNode.$parent.$el.id !== this.parentNodeParentId) {\r\n      this.isEnabled['x'] = this.trackXSize < this.contentSizeX;\r\n    }    \r\n\r\n    if (axis === 'y') {\r\n      this.isEnabled['y'] = this.trackYSize < this.contentSizeY;\r\n    }\r\n    let checkScrollSize = (this.isVTO && (this.contentSizeX > 377)) ? 150  : 98;\r\n    if (this.handleSize >= checkScrollSize) {\r\n      this.isEnabled['x'] = false;\r\n      this.isEnabled['y'] = false;\r\n    }\r\n  }\r\n\r\n  positionScrollbar(axis = 'y') {\r\n    let scrollbar;\r\n    let scrollOffset;\r\n    let contentSize;\r\n    let trackSize;\r\n\r\n    if (axis === 'x') {\r\n      scrollbar = this.scrollbarX;\r\n      scrollOffset = this.contentEl[this.scrollOffsetAttr[axis]]; // Either scrollTop() or scrollLeft().\r\n      contentSize = this.contentSizeX;\r\n      trackSize = this.trackXSize;\r\n    } else {\r\n      // 'y'\r\n      scrollbar = this.scrollbarY;\r\n      scrollOffset = this.scrollContentEl[this.scrollOffsetAttr[axis]]; // Either scrollTop() or scrollLeft().\r\n      contentSize = this.contentSizeY;\r\n      trackSize = this.trackYSize;\r\n    }\r\n    const handleSizePx = (this.handleSize * trackSize) / 100\r\n    let scrollPercent = scrollOffset / (contentSize - (trackSize/this.options.scaleFactor));\r\n    let handleOffset = ~~((trackSize - handleSizePx) * scrollPercent);\r\n\r\n    if (this.isEnabled[axis]) {\r\n      if (axis === 'x') {\r\n        scrollbar.style.transform = `translate3d(${handleOffset}px, 0, 0)`;\r\n      } else {\r\n        scrollbar.style.transform = `translate3d(0, ${handleOffset}px, 0)`;\r\n      }\r\n    }\r\n  }\r\n\r\n  toggleTrackVisibility(axis = 'y') {\r\n    let track = axis === 'y' ? this.trackY : this.trackX;\r\n    if (this.isEnabled[axis]) {\r\n      track.style.visibility = 'visible';\r\n      this.el.classList.add('scrollBar--visible');\r\n    } else {\r\n      track.style.visibility = 'hidden';\r\n      this.el.classList.remove('scrollBar--visible');\r\n    }\r\n  }\r\n\r\n  hideNativeScrollbar() {\r\n    // Recalculate scrollbarWidth in case it's a zoom\r\n    this.scrollbarWidth = scrollbarWidth();\r\n\r\n    this.scrollContentEl.style[this.isRtl ? 'paddingLeft' : 'paddingRight'] = `${this.scrollbarWidth || this.offsetSize}px`;\r\n    this.scrollContentEl.style.marginBottom = `-${this.scrollbarWidth * 2 || this.offsetSize}px`;\r\n    this.contentEl.style.paddingBottom = `${this.scrollbarWidth || this.offsetSize}px`;\r\n\r\n    if (this.scrollbarWidth !== 0) {\r\n      this.contentEl.style[this.isRtl ? 'marginLeft' : 'marginRight'] = `-${this.scrollbarWidth}px`;\r\n    }\r\n  }\r\n\r\n  /**\r\n   * On scroll event handling\r\n   */\r\n  onScrollX = () => {\r\n    if (!this.scrollXTicking) {\r\n      window.requestAnimationFrame(this.scrollX);\r\n      this.scrollXTicking = true;\r\n    }\r\n  }\r\n\r\n  onScrollY = () => {\r\n    if (!this.scrollYTicking) {\r\n      window.requestAnimationFrame(this.scrollY);\r\n      this.scrollYTicking = true;\r\n    }\r\n  }\r\n\r\n  scrollX = () => {\r\n    this.showScrollbar('x');\r\n    this.positionScrollbar('x');\r\n    this.scrollXTicking = false;\r\n  }\r\n\r\n  scrollY = () => {\r\n    this.showScrollbar('y');\r\n    this.positionScrollbar('y');\r\n    this.scrollYTicking = false;\r\n  }\r\n\r\n  /**\r\n   * On mouseenter event handling\r\n   */\r\n  onMouseEnter = () => {\r\n    this.showScrollbar('x');\r\n    this.showScrollbar('y');\r\n  }\r\n\r\n  onWindowResize = () => {\r\n    this.hideNativeScrollbar();\r\n  }\r\n\r\n  /**\r\n   * Show scrollbar\r\n   */\r\n  showScrollbar(axis = 'y') {\r\n    let scrollbar;\r\n\r\n    // Scrollbar already visible\r\n    if (this.isVisible[axis]) {\r\n      return;\r\n    }\r\n\r\n    if (axis === 'x') {\r\n      scrollbar = this.scrollbarX;\r\n    } else {\r\n      // 'y'\r\n      scrollbar = this.scrollbarY;\r\n    }\r\n\r\n    if (this.isEnabled[axis]) {\r\n      scrollbar.classList.add('visible');\r\n      this.isVisible[axis] = true;\r\n    }\r\n\r\n    if (!this.options.autoHide) {\r\n      return;\r\n    }\r\n\r\n    this.flashTimeout = window.setTimeout(this.hideScrollbars, this.options.timeout);\r\n  }\r\n\r\n  /**\r\n   * Hide Scrollbar\r\n   */\r\n  hideScrollbars = () => {\r\n    this.scrollbarX.classList.remove('visible');\r\n    this.scrollbarY.classList.remove('visible');\r\n\r\n    this.isVisible.x = false;\r\n    this.isVisible.y = false;\r\n\r\n    window.clearTimeout(this.flashTimeout);\r\n  }\r\n\r\n  onMouseDown = (e) => {\r\n    const draggerY = this.scrollbarY.getBoundingClientRect();\r\n    const draggerX = this.scrollbarX.getBoundingClientRect();\r\n    const paddingForScroll = 30;\r\n\r\n    if (e.pageX >= draggerY.left && e.clientX <= draggerY.left + draggerY.width && e.clientY >= draggerY.top && e.clientY <= draggerY.top + draggerY.height) {\r\n      e.preventDefault();\r\n      this.onDrag(e, 'y');\r\n    }\r\n\r\n    if (e.pageX >= draggerX.left &&\r\n        e.clientX <= draggerX.left + draggerX.width &&\r\n        e.clientY >= draggerX.top - paddingForScroll &&\r\n        e.clientY <= draggerX.top + draggerX.height + paddingForScroll) {\r\n      e.preventDefault();\r\n      this.onDrag(e, 'x');\r\n    }\r\n  }\r\n\r\n  /**\r\n   * on scrollbar handle drag\r\n   */\r\n  onDrag(e, axis = 'y') {\r\n    // Preventing the event's default action stops text being\r\n    // selectable during the drag.\r\n    e.preventDefault();\r\n\r\n    const scrollbar = axis === 'y' ? this.scrollbarY : this.scrollbarX;\r\n\r\n    // Measure how far the user's mouse is from the top of the scrollbar drag handle.\r\n    const eventOffset = axis === 'y' ? e.pageY : e.pageX;\r\n\r\n    this.dragOffset[axis] = eventOffset - scrollbar.getBoundingClientRect()[this.offsetAttr[axis]];\r\n    this.currentAxis = axis;\r\n\r\n    this.el.style.cursor = 'grabbing';\r\n    this.el.style.cursor = '-moz-grabbing'\r\n    this.el.style.cursor = '-webkit-grabbing'\r\n\r\n    document.addEventListener('mousemove', this.drag);\r\n    document.addEventListener('mouseup', this.onEndDrag);\r\n  }\r\n\r\n  /**\r\n   * Drag scrollbar handle\r\n   */\r\n  drag = (e) => {\r\n    let eventOffset, track, scrollEl;\r\n\r\n    e.preventDefault();\r\n\r\n    if (this.currentAxis === 'y') {\r\n      eventOffset = e.pageY;\r\n      track = this.trackY;\r\n      scrollEl = this.scrollContentEl;\r\n    } else {\r\n      eventOffset = e.pageX;\r\n      track = this.trackX;\r\n      scrollEl = this.contentEl;\r\n    }\r\n\r\n    // Calculate how far the user's mouse is from the top/left of the scrollbar (minus the dragOffset).\r\n    let dragPos = eventOffset - track.getBoundingClientRect()[this.offsetAttr[this.currentAxis]] - this.dragOffset[this.currentAxis];\r\n\r\n    // Convert the mouse position into a percentage of the scrollbar height/width.\r\n    let dragPerc = dragPos / track[this.sizeAttr[this.currentAxis]];\r\n\r\n    // Scroll the content by the same percentage.\r\n    let scrollPos = dragPerc * this.contentEl[this.scrollSizeAttr[this.currentAxis]];\r\n\r\n    scrollEl[this.scrollOffsetAttr[this.currentAxis]] = scrollPos;\r\n  }\r\n\r\n  /**\r\n   * End scroll handle drag\r\n   */\r\n  onEndDrag = () => {\r\n    this.el.style.cursor = \"default\";\r\n\r\n    document.removeEventListener('mousemove', this.drag);\r\n    document.removeEventListener('mouseup', this.onEndDrag);\r\n  }\r\n\r\n  /**\r\n   * Getter for original scrolling element\r\n   */\r\n  getScrollElement(axis = 'y') {\r\n    return axis === 'y' ? this.scrollContentEl : this.contentEl;\r\n  }\r\n\r\n  /**\r\n   * Getter for content element\r\n   */\r\n  getContentElement() {\r\n    return this.contentEl;\r\n  }\r\n\r\n  removeListeners() {\r\n    // Event listeners\r\n    if (this.options.autoHide) {\r\n      this.el.removeEventListener('mouseenter', this.onMouseEnter);\r\n    }\r\n\r\n    this.scrollContentEl.removeEventListener('scroll', this.onScrollY);\r\n    this.contentEl.removeEventListener('scroll', this.onScrollX);\r\n\r\n    this.mutationObserver.disconnect();\r\n    this.resizeObserver.disconnect();\r\n  }\r\n\r\n  /**\r\n   * UnMount mutation observer and delete SimpleBar instance from DOM element\r\n   */\r\n  unMount() {\r\n    this.removeListeners();\r\n    this.el.SimpleBar = null;\r\n  }\r\n\r\n  /**\r\n   * Recursively walks up the parent nodes looking for this.el\r\n   */\r\n  isChildNode(el) {\r\n    if (el === null) return false;\r\n    if (el === this.el) return true;\r\n\r\n    return this.isChildNode(el.parentNode);\r\n  }\r\n}\r\n","import { render } from \"./scroller.vue?vue&type=template&id=7152965f\"\nimport script from \"./scroller.vue?vue&type=script&lang=js\"\nexport * from \"./scroller.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./slider.vue?vue&type=template&id=a73c25d4\"\nimport script from \"./slider.vue?vue&type=script&lang=js\"\nexport * from \"./slider.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Slider from './code/Scripts/components/slider.vue';\r\n\r\nexport default {\r\n  components: {\r\n    Slider,\r\n  },\r\n};\r\n","<template>\r\n  <div>\r\n    <slot></slot>\r\n    <div\r\n      v-if=\"placeholder\"\r\n      ref=\"infoPanel\"\r\n      :aria-hidden=\"ariaHidden\"\r\n      :class=\"{ 'videoComponent__infoPanel--transparent': infoPanelText === '' }\"\r\n      class=\"videoComponent__infoPanel\"\r\n    >\r\n      <button\r\n        v-if=\"!hasYoutubeParams && showPlayButton\"\r\n        :aria-label=\"playIconAltText\"\r\n        class=\"videoComponent__playButton\"\r\n        @click.once=\"play\"\r\n      >\r\n        <img\r\n          :alt=\"playIconAltText\"\r\n          class=\"videoComponent__playButtonIcon\"\r\n          src=\"/frontend/static/images/play.svg\"\r\n          aria-hidden=\"true\"\r\n        />\r\n      </button>\r\n      <span v-if=\"infoPanelText\" class=\"videoComponent__infoPanelText\">{{ infoPanelText }}</span>\r\n    </div>\r\n    <div>\r\n      <div v-if=\"videoId !== ''\" :id=\"playerId\" class=\"embedResponsive__item\"></div>\r\n    </div>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport { AnalyticsHandler } from '../../../../../Foundation/Core/code/Scripts';\r\nimport { YOUTUBE_SCRIPT_NAME, YOUTUBE_SCRIPT_URL } from './settings';\r\nimport { loadscript } from '../../../../../Foundation/Core/code/Scripts/directives/loadscript/loadscript';\r\nimport { mixinSetupYouTube } from './mixins/setupYouTube';\r\nimport { mixinTryPlayVideo } from './mixins/tryPlayVideo';\r\nimport { mixinSetupPlayerAndBindToEvents } from './mixins/setupPlayerAndBindToEvents';\r\nimport { makeVideoAccessible } from '../../../../../Foundation/Core/code/Scripts/utilities/makeVideoAccessible';\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { mapGetters } from 'vuex';\r\nimport {\r\n  ACCESSIBILITY_STORE_NAMESPACE,\r\n  GET_SITEWIDE_ANIMATIONS,\r\n} from '@Foundation/accessibilityStore/accessibilityStore';\r\n\r\nexport default {\r\n  name: 'VideoPlaceholder',\r\n\r\n  mixins: [mixinSetupYouTube, mixinTryPlayVideo, mixinSetupPlayerAndBindToEvents],\r\n\r\n  props: {\r\n    infoPanelText: { type: String, default: '' },\r\n    playIconAltText: { type: String, default: 'Play video' },\r\n    tagging: { default: null, type: Object },\r\n    videoId: { type: String, default: '' },\r\n    host: { type: String, default: 'https://www.youtube.com' },\r\n    isInformative: { type: Boolean, default: false },\r\n    videoTitle: { type: String, default: '' },\r\n    youtubeExtraParams: { type: Object, default: () => {} },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      ariaHidden: false,\r\n      placeholder: null,\r\n      player: null,\r\n      playerId: `player-${this.videoId}-${Date.now()}`,\r\n    };\r\n  },\r\n\r\n  computed: {\r\n    hasYoutubeParams() {\r\n      return this.youtubeExtraParams && Object.keys(this.youtubeExtraParams).length;\r\n    },\r\n    shouldSetupPlayer() {\r\n      return this.videoId !== '' && (!this.placeholder || this.hasYoutubeParams);\r\n    },\r\n    videoIFrame() {\r\n      return this.player.getIframe();\r\n    },\r\n    showPlayButton() {\r\n      return this.videoId !== '' && this.hasPoster && !this.youtubeExtraParams?.autoplay;\r\n    },\r\n    hasPoster() {\r\n      return !!this.$slots.default();\r\n    },\r\n    isAnimationEnabled() {\r\n      return this[GET_SITEWIDE_ANIMATIONS]();\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    this.placeholder = this.$el.querySelector('.videoComponent__placeholder');\r\n\r\n    this.$nextTick(async () => {\r\n      /* istanbul ignore next */\r\n      if (this.shouldSetupPlayer) {\r\n        await this.setupPlayer();\r\n        eventBus.on('livestream::play', this.player.playVideo);\r\n        eventBus.on('livestream::pause', this.player.pauseVideo);\r\n        eventBus.on('youtube::state-change', this.animatePlaceholderPanel);\r\n      }\r\n    });\r\n  },\r\n\r\n  methods: {\r\n    ...mapGetters(ACCESSIBILITY_STORE_NAMESPACE, [GET_SITEWIDE_ANIMATIONS]),\r\n    loadYouTubeScript() {\r\n      loadscript.beforeMount(null, {\r\n        value: {\r\n          name: YOUTUBE_SCRIPT_NAME,\r\n          url: YOUTUBE_SCRIPT_URL,\r\n        },\r\n      });\r\n    },\r\n\r\n    play() {\r\n      if (this.tagging) {\r\n        const { action, category, label } = this.tagging;\r\n\r\n        AnalyticsHandler.getAnalyticsHandler().push({\r\n          action,\r\n          category,\r\n          label,\r\n          type: 'userActionEvent',\r\n        });\r\n      }\r\n\r\n      this.setupPlayer();\r\n    },\r\n\r\n    async setupPlayer() {\r\n      this.loadYouTubeScript();\r\n      /* istanbul ignore next */\r\n      return this.setupPlayerAndBindToEvents({\r\n        enablejsapi: 1,\r\n        ...this.youtubeExtraParams,\r\n        autoplay: this.isAnimationEnabled,\r\n      })\r\n        .then(() => {\r\n          if (this.isAnimationEnabled)\r\n            this.tryPlayVideo(this.player, false, 500, this.youtubeExtraParams?.autoplay);\r\n          makeVideoAccessible(this.videoIFrame, this.isInformative, this.videoTitle);\r\n        })\r\n        .then(() => {\r\n          this.animatePlaceholderPanel();\r\n        });\r\n    },\r\n\r\n    animatePlaceholderPanel() {\r\n      /* istanbul ignore else */\r\n      if (this.placeholder) {\r\n        this.placeholder.style.display = 'none';\r\n      }\r\n\r\n      if (this.$refs?.infoPanel) {\r\n        this.$refs.infoPanel.style.opacity = '0';\r\n        this.$refs.infoPanel.style.left = '100%';\r\n        this.ariaHidden = true;\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","export const YOUTUBE_SCRIPT_NAME = 'youtube';\r\nexport const YOUTUBE_SCRIPT_URL = 'https://www.youtube.com/player_api';\r\n","export const mixinSetupYouTube = {\r\n  methods: {\r\n    /**\r\n     * setupYouTube\r\n     * @return {Promise}\r\n     */\r\n    setupYouTube(time = 300, tries = 5) {\r\n      return new Promise((resolve, reject) => {\r\n        let interval = 0;\r\n        let tryCount = 0;\r\n        interval = setInterval(() => {\r\n          // eslint-disable-next-line no-undef\r\n          if (typeof YT !== 'undefined' && YT.loaded === 1 && typeof YT.Player !== 'undefined') {\r\n            clearInterval(interval);\r\n            // eslint-disable-next-line no-undef\r\n            resolve(YT);\r\n          } else if (tryCount >= tries) {\r\n            clearInterval(interval);\r\n            reject(new TypeError('YouTube player setup failed'));\r\n          }\r\n\r\n          ++tryCount;\r\n        }, time);\r\n      });\r\n    },\r\n  },\r\n};\r\n","export const mixinTryPlayVideo = {\r\n  methods: {\r\n    /**\r\n     * tryPlayVideo\r\n     * @return {Promise}\r\n     */\r\n    tryPlayVideo(player, isPlayerSet = false, time = 500, autoplay = 1) {\r\n      /* istanbul ignore next */\r\n      return new Promise((resolve) => {\r\n        try {\r\n          if (autoplay) {\r\n            player.playVideo();\r\n          }\r\n          isPlayerSet = true;\r\n          resolve(isPlayerSet);\r\n        } catch (e) {\r\n          setTimeout(() => {\r\n            if (autoplay) {\r\n              player.playVideo();\r\n            }\r\n            resolve();\r\n          }, time);\r\n        }\r\n      });\r\n    },\r\n  },\r\n};\r\n","import eventBus from '@loreal/eventbus-js';\r\n\r\nexport const mixinSetupPlayerAndBindToEvents = {\r\n  methods: {\r\n    setupPlayerAndBindToEvents(extraPlayerVars = {}) {\r\n      return new Promise((resolve) => {\r\n        this.setupYouTube().then(() => {\r\n          // eslint-disable-next-line no-undef\r\n          this.player = new YT.Player(this.playerId, {\r\n            playerVars: {\r\n              /*\r\n                if the rel parameter is set to 0,\r\n                related videos will come from the same channel\r\n                as the video that was just played.\r\n                rel is no longer for disabling related videos.\r\n               */\r\n              rel: 0,\r\n              modestbranding: 1,\r\n              ...extraPlayerVars,\r\n              ...(extraPlayerVars?.loop === 1 && {\r\n                /*\r\n                  This parameter has limited support in IFrame embeds.\r\n                  To loop a single video, set the loop parameter\r\n                  value to 1 and set the playlist parameter value to the\r\n                  same video ID already specified in the Player API URL.\r\n                 */\r\n                playlist: this.videoId,\r\n              }),\r\n            },\r\n            videoId: this.videoId,\r\n            host: this.host,\r\n            events: {\r\n              onReady: () => {\r\n                this.playerRendered = true;\r\n                resolve();\r\n              },\r\n              onStateChange: (event) => {\r\n                eventBus.emit('youtube::state-change', event);\r\n              },\r\n            },\r\n          });\r\n        });\r\n      });\r\n    },\r\n  },\r\n};\r\n","import { render } from \"./video-placeholder.vue?vue&type=template&id=269e396c\"\nimport script from \"./video-placeholder.vue?vue&type=script&lang=js\"\nexport * from \"./video-placeholder.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div :class=\"{ 'videoComponentFullpage--immersive': isImmersive }\">\r\n    <slot></slot>\r\n    <div ref=\"infoPanel\" :aria-hidden=\"ariaHidden\" class=\"videoComponent__infoPanel\">\r\n      <button\r\n        v-if=\"videoId !== ''\"\r\n        ref=\"playButton\"\r\n        v-animate-on-inview=\"{\r\n          class: `${isImmersive ? 'oap-animate--fade-in-bottom' : ''}`,\r\n        }\"\r\n        :aria-label=\"playIconAltText\"\r\n        class=\"videoComponent__playButton\"\r\n        :class=\"isImmersive && ['oap-animate--initially-hidden', 'oap-animate--delay-500ms']\"\r\n        @click=\"\r\n          toggleVideoPopin();\r\n          loadAndSetupPlayer();\r\n        \"\r\n      >\r\n        <img :alt=\"playIconAltText\" :src=\"iconSrc\" class=\"videoComponent__playButtonIcon\" />\r\n      </button>\r\n      <div\r\n        v-if=\"header\"\r\n        v-animate-on-inview=\"{\r\n          class: `${isImmersive ? 'oap-animate--fade-in-bottom' : ''}`,\r\n        }\"\r\n        class=\"videoComponent__header\"\r\n        :class=\"isImmersive && ['oap-animate--initially-hidden', 'oap-animate--delay-700ms']\"\r\n      >\r\n        {{ header }}\r\n      </div>\r\n      <div\r\n        v-if=\"subheader\"\r\n        v-animate-on-inview=\"{\r\n          class: `${isImmersive ? 'oap-animate--fade-in-bottom' : ''}`,\r\n        }\"\r\n        class=\"videoComponent__subheader\"\r\n        :class=\"isImmersive && ['oap-animate--initially-hidden', 'oap-animate--delay-900ms']\"\r\n      >\r\n        {{ subheader }}\r\n      </div>\r\n      <div v-if=\"author\" class=\"videoComponent__author\">\r\n        {{ author }}\r\n      </div>\r\n    </div>\r\n    <modal\r\n      :modalidentifier=\"playerId\"\r\n      :class=\"['videoComponent__modal', { 'videoComponent__modal--has-transcript': hasTranscript }]\"\r\n    >\r\n      <div class=\"embedResponsive--16by9\">\r\n        <div v-if=\"videoId !== ''\" :id=\"playerId\" class=\"embedResponsive__item\"></div>\r\n      </div>\r\n      <slot name=\"transcript\"></slot>\r\n    </modal>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport { YOUTUBE_SCRIPT_NAME, YOUTUBE_SCRIPT_URL } from './settings';\r\nimport { loadscript } from '../../../../../Foundation/Core/code/Scripts/directives/loadscript/loadscript';\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { mixinSetupYouTube } from './mixins/setupYouTube';\r\nimport { mixinToggleVideoPopin } from './mixins/toggleVideoPopin';\r\nimport { mixinTryPlayVideo } from './mixins/tryPlayVideo';\r\nimport { mixinSetupPlayerAndBindToEvents } from './mixins/setupPlayerAndBindToEvents';\r\nimport { animateOnInview } from '../../../../../Foundation/Core/code/Scripts/directives/animateOnInview/animateOnInview';\r\nimport modal from '../../../../Modal/code/Scripts/components/modal.vue';\r\n\r\n/* eslint-disable */\r\nexport default {\r\n  name: 'video-placeholder-fullpage',\r\n\r\n  components: {\r\n    modal,\r\n  },\r\n\r\n  directives: {\r\n    animateOnInview\r\n  },\r\n\r\n  mixins: [\r\n    mixinSetupYouTube,\r\n    mixinTryPlayVideo,\r\n    mixinToggleVideoPopin,\r\n    mixinSetupPlayerAndBindToEvents,\r\n  ],\r\n\r\n  props: {\r\n    header: { type: String, default: '' },\r\n    isWhiteCopy: { type: Boolean, default: false },\r\n    subheader: { type: String, default: '' },\r\n    author: { type: String, default: '' },\r\n    videoId: { type: String, default: '' },\r\n    playIconAltText: { type: String, default: 'Play video' },\r\n    host: { type: String, default: 'https://www.youtube.com' },\r\n    hasTranscript: { type: Boolean, default: false },\r\n    isInformative: { type: Boolean, default: false },\r\n    isImmersive: { type: Boolean, default: false },\r\n    videoTitle: { type: String, default: '' },\r\n    hasBrandButton: { type: Boolean, default: false },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      playerId: `player-${this.videoId}-${Date.now()}`,\r\n      infoPanel: null,\r\n      player: null,\r\n      ariaHidden: false,\r\n      isPlayerSet: false,\r\n    };\r\n  },\r\n\r\n  computed: {\r\n    iconSrc() {\r\n      return this.isWhiteCopy && !this.hasBrandButton\r\n        ? '/frontend/static/images/play-dark.svg'\r\n        : '/frontend/static/images/play.svg';\r\n    },\r\n  },\r\n  methods: {\r\n    /* istanbul ignore next */\r\n    loadAndSetupPlayer() {\r\n      if (this.videoId !== '') {\r\n        loadscript.beforeMount(null, {\r\n          value: {\r\n            name: YOUTUBE_SCRIPT_NAME,\r\n            url: YOUTUBE_SCRIPT_URL,\r\n          },\r\n        });\r\n\r\n        this.infoPanel = this.$el.querySelector('.videoComponent__infoPanel');\r\n\r\n        this.$nextTick(() => {\r\n          if (!this.infoPanel) {\r\n            this.setupPlayerAndBindToEvents();\r\n          }\r\n        });\r\n      }\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    /* istanbul ignore next */\r\n    eventBus.on('modal:closed', (modalId) => {\r\n      if (modalId === this.playerId) {\r\n        this.player.destroy();\r\n        this.ariaHidden = false;\r\n\r\n        setTimeout(() => {\r\n          this.$refs.playButton.focus();\r\n        }, 500);\r\n      }\r\n    });\r\n  },\r\n};\r\n</script>\r\n","import eventBus from '@loreal/eventbus-js';\r\nimport { makeVideoAccessible } from '../../../../../../Foundation/Core/code/Scripts/utilities/makeVideoAccessible';\r\n\r\nexport const mixinToggleVideoPopin = {\r\n  methods: {\r\n    toggleVideoPopin(youtubeExtraParams) {\r\n      eventBus.emit(`modal:${this.playerId}`, {\r\n        showModal: true,\r\n      });\r\n\r\n      /* istanbul ignore next */\r\n      if (!this.isPlayerSet) {\r\n        this.setupPlayerAndBindToEvents({\r\n          enablejsapi: 1,\r\n          ...youtubeExtraParams,\r\n        }).then(() => {\r\n          this.tryPlayVideo(this.player, this.isPlayerSet);\r\n\r\n          const videoIframe = this.player.getIframe();\r\n          makeVideoAccessible(videoIframe, this.isInformative, this.videoTitle);\r\n        });\r\n      } else {\r\n        this.tryPlayVideo(this.player, this.isPlayerSet);\r\n\r\n        const videoIframe = this.player.getIframe();\r\n        makeVideoAccessible(videoIframe, this.isInformative, this.videoTitle);\r\n      }\r\n    },\r\n  },\r\n};\r\n","import { render } from \"./video-placeholder-fullpage.vue?vue&type=template&id=d05615e8\"\nimport script from \"./video-placeholder-fullpage.vue?vue&type=script&lang=js\"\nexport * from \"./video-placeholder-fullpage.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div>\r\n    <slot></slot>\r\n\r\n    <modal\r\n      :modalidentifier=\"playerId\"\r\n      :class=\"['videoComponent__modal', { 'videoComponent__modal--has-transcript': hasTranscript }]\"\r\n    >\r\n      <div class=\"embedResponsive--16by9\">\r\n        <div v-if=\"videoId !== ''\" :id=\"playerId\" class=\"embedResponsive__item\"></div>\r\n      </div>\r\n      <template v-if=\"hasTranscript\">\r\n        <collapsable\r\n          ref=\"oapTranscript\"\r\n          tagname=\"section\"\r\n          identifier=\"unique-id-bla\"\r\n          class=\"oap-transcript\"\r\n          has-transcript\r\n        >\r\n          <template #indicator>\r\n            <span class=\"collapsable__indicator\"></span>\r\n          </template>\r\n          <template #title>\r\n            <span id=\"unique-id-bla\" class=\"collapsable__title\">View Transcript</span>\r\n          </template>\r\n          <template #content>\r\n            <div class=\"collapsable__content\">\r\n              <video-placeholder-transcript\r\n                :header=\"videoTranscriptHeader\"\r\n                :transcript=\"videoTranscript\"\r\n              />\r\n            </div>\r\n          </template>\r\n        </collapsable>\r\n      </template>\r\n    </modal>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport { YOUTUBE_SCRIPT_NAME, YOUTUBE_SCRIPT_URL } from './settings';\r\nimport { loadscript } from '../../../../../Foundation/Core/code/Scripts/directives/loadscript/loadscript';\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { mixinSetupYouTube } from './mixins/setupYouTube';\r\nimport { mixinToggleVideoPopin } from './mixins/toggleVideoPopin';\r\nimport { mixinTryPlayVideo } from './mixins/tryPlayVideo';\r\nimport { mixinSetupPlayerAndBindToEvents } from './mixins/setupPlayerAndBindToEvents';\r\nimport modal from '../../../../Modal/code/Scripts/components/modal.vue';\r\nimport videoPlaceholderTranscript from './video-placeholder-transcript';\r\nimport collapsable from '../../../../Navigation/code/Scripts/components/collapsable';\r\n\r\n/* eslint-disable */\r\nexport default {\r\n  name: 'video-placeholder-wrapper',\r\n\r\n  components: {\r\n    modal,\r\n    videoPlaceholderTranscript,\r\n    collapsable,\r\n  },\r\n\r\n  mixins: [\r\n    mixinSetupYouTube,\r\n    mixinToggleVideoPopin,\r\n    mixinTryPlayVideo,\r\n    mixinSetupPlayerAndBindToEvents,\r\n  ],\r\n\r\n  data() {\r\n    return {\r\n      videoId: '',\r\n      trigger: null,\r\n      playerId: `player-${Date.now()}`,\r\n      player: null,\r\n      isPlayerSet: false,\r\n      videoTranscript: null,\r\n      videoTranscriptHeader: '',\r\n      isInformative: false,\r\n      videoTitle: '',\r\n    };\r\n  },\r\n\r\n  props: {\r\n    triggerClass: { type: String, required: true },\r\n    host: { type: String, default: 'https://www.youtube.com' },\r\n  },\r\n\r\n  computed: {\r\n    hasTranscript() {\r\n      return !!this.videoTranscript;\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    const triggers = this.$el.querySelectorAll(this.triggerClass);\r\n    triggers.forEach((trigger) => {\r\n      trigger.addEventListener('click', this.triggerClickHandler);\r\n    });\r\n\r\n    /* istanbul ignore next */\r\n    eventBus.on('modal:closed', modalId => {\r\n      if (modalId === this.playerId) {\r\n        this.player.destroy();\r\n        this.player = null;\r\n        this.videoId = '';\r\n        this.videoTranscript = null;\r\n        this.videoTranscriptHeader = '';\r\n        this.isInformative = false;\r\n        this.videoTitle = '';\r\n        this.isPlayerSet = false;\r\n\r\n        setTimeout(() => {\r\n          this.trigger.focus();\r\n          this.trigger = null;\r\n        }, 500);\r\n      }\r\n    });\r\n  },\r\n\r\n  methods: {\r\n    triggerClickHandler(event) {\r\n      loadscript.beforeMount(null, {\r\n        value: {\r\n          name: YOUTUBE_SCRIPT_NAME,\r\n          url: YOUTUBE_SCRIPT_URL,\r\n        },\r\n      });\r\n\r\n      const { dataset } = event.target;\r\n\r\n      this.videoId = dataset.videoId;\r\n      this.videoTranscript = dataset.videoTranscript ? JSON.parse(dataset.videoTranscript) : this.videoTranscript;\r\n      this.videoTranscriptHeader = dataset.videoTranscriptHeader\r\n        ? dataset.videoTranscriptHeader : this.videoTranscriptHeader;\r\n      this.isInformative = dataset.videoInformative ? dataset.videoInformative : this.isInformative;\r\n      this.videoTitle = dataset.videoTitle ? dataset.videoTitle : this.videoTitle;\r\n      this.toggleVideoPopin();\r\n      this.trigger = event.target;\r\n    },\r\n  },\r\n};\r\n</script>\r\n","<template>\r\n  <div>\r\n    <div class=\"oap-transcript__header\">\r\n      <span>{{ header }}</span>\r\n    </div>\r\n    <ul>\r\n      <li v-for=\"item in transcript\" :key=\"item.title\">\r\n        <span>{{ item.time }}</span>\r\n        <p>{{ item.desc }}</p>\r\n      </li>\r\n    </ul>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n  name: 'VideoPlaceholderTranscript',\r\n  props: {\r\n    header: { type: String, default: '' },\r\n    transcript: { type: Array, default: () => [] },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./video-placeholder-transcript.vue?vue&type=template&id=0dcfc612\"\nimport script from \"./video-placeholder-transcript.vue?vue&type=script&lang=js\"\nexport * from \"./video-placeholder-transcript.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./video-placeholder-wrapper.vue?vue&type=template&id=aa3842fc\"\nimport script from \"./video-placeholder-wrapper.vue?vue&type=script&lang=js\"\nexport * from \"./video-placeholder-wrapper.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div class=\"videoComponent\">\r\n    <div class=\"embedResponsive embedResponsive--16by9 embedResponsive--rounded-borders\">\r\n      <iframe height=\"300\" width=\"400\" :title=\"iframeTitle\" :src=\"url\"></iframe>\r\n    </div>\r\n  </div>\r\n</template>\r\n\r\n<script setup>\r\nimport { computed } from 'vue';\r\n\r\nconst props = defineProps({\r\n  videoId: { type: String, required: true },\r\n  iframeTitle: { type: String, default: 'tiktok-video-title' },\r\n  baseUrl: { type: String, default: 'https://www.tiktok.com/player/v1/' },\r\n  defaultSettings: { type: String, default: 'timestamp=0&fullscreen_button=0' },\r\n  autoplay: { type: Boolean, default: false },\r\n});\r\n\r\nconst autoplaySetting = props.autoplay ? '&autoplay=1' : '';\r\nconst url = computed(\r\n  () => `${props.baseUrl}${props.videoId}?${props.defaultSettings}${autoplaySetting}`\r\n);\r\n</script>\r\n","import script from \"./video-placeholder-tiktok.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./video-placeholder-tiktok.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<template>\r\n  <div :class=\"['oap-video-popin videoComponent', { '-landscape': landscape }]\">\r\n    <modal\r\n      :modalidentifier=\"playerId\"\r\n      :class=\"['videoComponent__modal', { 'videoComponent__modal--has-transcript': hasTranscript }]\"\r\n    >\r\n      <div class=\"embedResponsive--16by9\">\r\n        <div v-if=\"videoId !== ''\" :id=\"playerId\" class=\"embedResponsive__item\"></div>\r\n      </div>\r\n      <slot name=\"transcript\"></slot>\r\n    </modal>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport { YOUTUBE_SCRIPT_NAME, YOUTUBE_SCRIPT_URL } from './settings';\r\nimport { loadscript } from '@Foundation/directives/loadscript/loadscript';\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { mixinSetupYouTube } from './mixins/setupYouTube';\r\nimport { mixinTryPlayVideo } from './mixins/tryPlayVideo';\r\nimport { mixinToggleVideoPopin } from './mixins/toggleVideoPopin';\r\nimport { mixinSetupPlayerAndBindToEvents } from './mixins/setupPlayerAndBindToEvents';\r\nimport modal from '../../../../Modal/code/Scripts/components/modal.vue';\r\nimport { HERO_VIDEO_BACKGROUND_PLAYING } from '@Feature/Filter/code/Scripts/constants/eventNames';\r\n\r\nexport default {\r\n  name: 'OapVideoPopin',\r\n\r\n  components: {\r\n    modal,\r\n  },\r\n\r\n  mixins: [\r\n    mixinSetupPlayerAndBindToEvents,\r\n    mixinSetupYouTube,\r\n    mixinToggleVideoPopin,\r\n    mixinTryPlayVideo,\r\n  ],\r\n\r\n  props: {\r\n    videoId: { type: String, default: '' },\r\n    host: { type: String, default: 'https://www.youtube.com' },\r\n    hasTranscript: { type: Boolean, default: false },\r\n    isInformative: { type: Boolean, default: false },\r\n    videoTitle: { type: String, default: '' },\r\n    autoOpen: { type: Boolean, default: false },\r\n    youtubeExtraParams: { type: Object, default: () => {} },\r\n    landscape: { type: Boolean, default: false },\r\n    popinId: { type: String, default: '' },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      playerId: `player-${this.videoId}-${Date.now()}`,\r\n      player: null,\r\n      isPlayerSet: false,\r\n    };\r\n  },\r\n\r\n  computed: {\r\n    eventIdModifier() {\r\n      return this.popinId ? `:${this.popinId}` : '';\r\n    },\r\n  },\r\n\r\n  created() {\r\n    // fix autoplay YT video when data property has value -1\r\n    // when the player first loads a video, it will broadcast an unstarted (-1)\r\n    eventBus.on('youtube::state-change', (event) => {\r\n      if (event.data === -1 && this.youtubeExtraParams?.autoplay) {\r\n        this.player.playVideo();\r\n      }\r\n    });\r\n  },\r\n\r\n  mounted() {\r\n    /* istanbul ignore else */\r\n    if (this.videoId !== '') {\r\n      /* istanbul ignore else */\r\n      if (this.autoOpen) {\r\n        this.setupPlayerAndToggleVideoPopin();\r\n      }\r\n\r\n      this.listenToOpenEvent();\r\n    }\r\n\r\n    /* istanbul ignore next */\r\n    eventBus.on('modal:closed', (modalId) => {\r\n      if (modalId === this.playerId) {\r\n        this.player.destroy();\r\n        eventBus.emit('livestream::play');\r\n      }\r\n      eventBus.emit(HERO_VIDEO_BACKGROUND_PLAYING, true);\r\n    });\r\n  },\r\n\r\n  methods: {\r\n    setupPlayerAndToggleVideoPopin() {\r\n      if (!this.player) {\r\n        this.loadYouTubeScript();\r\n      }\r\n\r\n      this.toggleVideoPopin(this.youtubeExtraParams);\r\n    },\r\n\r\n    loadYouTubeScript() {\r\n      loadscript.beforeMount(null, {\r\n        value: {\r\n          name: YOUTUBE_SCRIPT_NAME,\r\n          url: YOUTUBE_SCRIPT_URL,\r\n        },\r\n      });\r\n    },\r\n\r\n    listenToOpenEvent() {\r\n      /* istanbul ignore next */\r\n      eventBus.on(`modal:video-popin:open${this.eventIdModifier}`, () => {\r\n        this.setupPlayerAndToggleVideoPopin();\r\n        eventBus.emit('livestream::pause');\r\n        eventBus.emit(HERO_VIDEO_BACKGROUND_PLAYING, false);\r\n      });\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./OapVideoPopin.vue?vue&type=template&id=c231004c\"\nimport script from \"./OapVideoPopin.vue?vue&type=script&lang=js\"\nexport * from \"./OapVideoPopin.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import VideoPlaceholder from './code/Scripts/components/video-placeholder.vue';\r\nimport VideoPlaceholderFullpage from './code/Scripts/components/video-placeholder-fullpage.vue';\r\nimport VideoPlaceholderWrapper from './code/Scripts/components/video-placeholder-wrapper.vue';\r\nimport VideoPlaceholderTiktok from './code/Scripts/components/video-placeholder-tiktok.vue';\r\nimport VideoPlaceholderTranscript from './code/Scripts/components/video-placeholder-transcript.vue';\r\nimport OapVideoPopin from './code/Scripts/components/OapVideoPopin.vue';\r\n\r\nexport default {\r\n  components: {\r\n    VideoPlaceholder,\r\n    VideoPlaceholderFullpage,\r\n    VideoPlaceholderTiktok,\r\n    VideoPlaceholderWrapper,\r\n    VideoPlaceholderTranscript,\r\n    OapVideoPopin,\r\n  },\r\n};\r\n","export const ENABLE_CONTRAST_HIGHLIGHT = 'enable_contrast_highlight';\r\nexport const DISABLE_CONTRAST_HIGHLIGHT = 'disable_contrast_highlight';\r\nexport const TOGGLE_CONTRAST_HIGHLIGHT = 'toggle_contrast_highlight';\r\nexport const GET_CONTRAST_HIGHLIGHT = 'get_contrast_highlight';\r\n\r\nexport const ENABLE_SITEWIDE_ANIMATIONS = 'enable_sitewide_animations';\r\nexport const DISABLE_SITEWIDE_ANIMATIONS = 'disable_sitewide_animations';\r\nexport const TOGGLE_SITEWIDE_ANIMATIONS = 'toggle_sitewide_animations';\r\nexport const GET_SITEWIDE_ANIMATIONS = 'get_sitewide_animations';\r\nexport const ACCESSIBILITY_STORE_NAMESPACE = 'accessibility_store_namespace';\r\n\r\nexport const GETTERS = {\r\n  [GET_CONTRAST_HIGHLIGHT]: (state) => state.isContrastHighlighEnabled,\r\n  [GET_SITEWIDE_ANIMATIONS]: (state) => !state.isAnimationDisabled,\r\n};\r\n\r\nexport const ACTIONS = {\r\n  [ENABLE_CONTRAST_HIGHLIGHT]: ({ commit }) => {\r\n    commit(TOGGLE_CONTRAST_HIGHLIGHT, true);\r\n  },\r\n  [DISABLE_CONTRAST_HIGHLIGHT]: ({ commit }) => {\r\n    commit(TOGGLE_CONTRAST_HIGHLIGHT, false);\r\n  },\r\n  [ENABLE_SITEWIDE_ANIMATIONS]: ({ commit }) => {\r\n    commit(TOGGLE_SITEWIDE_ANIMATIONS, false);\r\n  },\r\n  [DISABLE_SITEWIDE_ANIMATIONS]: ({ commit }) => {\r\n    commit(TOGGLE_SITEWIDE_ANIMATIONS, true);\r\n  },\r\n};\r\n\r\nexport const MUTATIONS = {\r\n  [TOGGLE_CONTRAST_HIGHLIGHT]: (state, value) => {\r\n    state.isContrastHighlighEnabled = value;\r\n  },\r\n  [TOGGLE_SITEWIDE_ANIMATIONS]: (state, value) => {\r\n    state.isAnimationDisabled = value;\r\n  },\r\n};\r\n\r\nexport const STATE = {\r\n  isAnimationDisabled: false,\r\n  isContrastHighlighEnabled: false,\r\n};\r\n","import { AnalyticsException } from './errors/analyticsError';\r\nimport { TAGGING_TYPES, TAGGING_TYPES_ARRAY } from './models/TaggingTypes';\r\nimport Logger from './utils/analyticsLogger';\r\n\r\n/* istanbul ignore next */\r\nexport const pushDataLayer = (data) => {\r\n  waitFor(\r\n    () => document.readyState === 'complete',\r\n    () => window.dataLayer.push(data)\r\n  );\r\n};\r\n\r\nexport const waitFor = (condition, callback) => {\r\n  if (!condition()) {\r\n    window.setTimeout(waitFor.bind(null, condition, callback), 10);\r\n  } else {\r\n    callback();\r\n  }\r\n};\r\n\r\n/**\r\n * AnalyticsHandler pushes structured data objects to the google GTM dataLayer\r\n * @class AnalyticsHandler\r\n */\r\nexport class AnalyticsHandler {\r\n  /**\r\n   * AnalyticsHandler constructor.\r\n   * @constructs AnalyticsHandler\r\n   */\r\n  constructor() {\r\n    Logger.info('debug enabled');\r\n\r\n    /* istanbul ignore next */\r\n    if (typeof window.dataLayer === 'undefined') {\r\n      Logger.warn('dataLayer is not defined. Creating local dataLayer for debugging purposes.');\r\n      window.dataLayer = [];\r\n    }\r\n  }\r\n\r\n  /**\r\n   * Returns the data object for GTM dataLayer based on given type.\r\n   * @param {object} data data to send to factory classes for analytics types.\r\n   */\r\n  taggingObjectByType(data) {\r\n    if (TAGGING_TYPES_ARRAY.indexOf(data.type) === -1) {\r\n      const types = TAGGING_TYPES_ARRAY.join(', ');\r\n\r\n      Logger.error(`[AnalyticsException] Wrong type given: [${data.type}]. Type options: ${types}`);\r\n      throw new AnalyticsException(`Wrong type given: [${data.type}]. Type options: ${types}`);\r\n    }\r\n\r\n    const DataClass = TAGGING_TYPES[data.type];\r\n\r\n    return new DataClass(data).toObject();\r\n  }\r\n\r\n  /**\r\n   * Pushes data to GTM dataLayer\r\n   * @param {object} data data to send to factory classes for analytics types.\r\n   * @param registerOnly this is for conditional event, do not push until all conditions are met\r\n   */\r\n  push(data, registerOnly = false) {\r\n    if (!data) {\r\n      throw new AnalyticsException('No data given to AnalyticsHandler.push function');\r\n    }\r\n\r\n    const dataToPush = this.taggingObjectByType(data);\r\n    Logger.info(`Pushing [${data.type}] to dataLayer`, dataToPush);\r\n\r\n    if (!registerOnly) {\r\n      try {\r\n        pushDataLayer(dataToPush);\r\n      } catch (error) {\r\n        Logger.error('Error while pushing to dataLayer', error);\r\n        throw new AnalyticsException(error.message);\r\n      }\r\n    }\r\n    return this;\r\n  }\r\n\r\n  static getAnalyticsHandler() {\r\n    this.$analyticsHandler = this.$analyticsHandler || new AnalyticsHandler();\r\n    return this.$analyticsHandler;\r\n  }\r\n}\r\n","/**\r\n * Returns a the content of a data tag on a Dom node.\r\n * When node doesn't exist, it returns false.\r\n * If the data tag has no content, it returns the textContent of the Dom node.\r\n * @param {Node} domNode Node to query for data tag\r\n * @param {String} field Name of data tag to search. Eg: data-tag-product-id.\r\n */\r\nexport default function getValueFromSelector(domNode, field) {\r\n  if (!domNode) {\r\n    return false;\r\n  }\r\n\r\n  if (domNode.getAttribute(`data-tag-${field}`)) {\r\n    return domNode.getAttribute(`data-tag-${field}`);\r\n  }\r\n  return domNode.textContent;\r\n}\r\n","import getValueFromSelector from './getValueFromSelector';\r\n\r\n/**\r\n * Get a data value from a Dom Node.\r\n * Looks for data tag on given Node first, if not found,\r\n * it does querySelector to find it in children.\r\n * @param {Node} domNode Node to query for data tag\r\n * @param {String} selector Query for selector\r\n * @param {String} field Name of data tag to search. Eg: data-tag-product-id.\r\n */\r\nexport default function getValue(domNode, selector, field) {\r\n  if (!domNode) return;\r\n\r\n  if (domNode.getAttribute(`data-tag-${field}`)) {\r\n    return domNode.getAttribute(`data-tag-${field}`);\r\n  }\r\n  return getValueFromSelector(domNode.querySelector(selector), field);\r\n}\r\n","import getValue from './getValue';\r\n\r\n/**\r\n * Extract value from a list of fields and return an object.\r\n * @param domNode\r\n * @param fields\r\n * @param cb\r\n */\r\nexport default function getTagValues(domNode, fields, cb = (o) => o) {\r\n  return fields\r\n    .filter((o) => !!o)\r\n    .map((key) => ({ key, value: getValue(domNode, `[data-tag-${key}]`, key) }))\r\n    .reduce((acc, item) => {\r\n      if (item.value !== undefined && item.value) {\r\n        acc[cb(item.key)] = item.value;\r\n      }\r\n      return acc;\r\n    }, {});\r\n}\r\n","import getValue from './getValue';\r\nimport getTagValues from './getTagValues';\r\n\r\n/**\r\n * TODO: Refactor the function to reduce cognitive complexity.\r\n *\r\n * Returns all data it can find in the dom for an analytics action.\r\n * @param {Node} node Parent Node to query for data. Closest [data-tag-wrapper] to Node which triggered the event.\r\n * @param {Object} data Base data send by the Node which triggered the event. This data will be merged with the data we\r\n *   find in the Dom.\r\n */\r\n// eslint-disable-next-line sonarjs/cognitive-complexity\r\nexport default function createDataObjectBasedOnDom(node, data) {\r\n  const dataFromDom = getTagValues(node, ['category', 'action', 'label', 'currency', 'name']);\r\n  const eventName = getValue(node, '[data-tag-event-name]', 'event-name');\r\n  if (\r\n    data.type === 'productClick' ||\r\n    data.type === 'productImpression' ||\r\n    data.type === 'productVariantClick'\r\n  ) {\r\n    const productsNodes = node.querySelectorAll('[data-tag-product-identifier]');\r\n    dataFromDom.products = [];\r\n\r\n    for (const product of productsNodes) {\r\n      const productInfo = {};\r\n      const currency = getValue(node, '[data-tag-product-currency]', 'product-currency');\r\n      const productName = getValue(product, '[data-tag-product-name]', 'product-name');\r\n      const productId = getValue(product, '[data-tag-product-id]', 'product-id');\r\n      const productCategory = getValue(product, '[data-tag-product-category]', 'product-category');\r\n      const productBrand = getValue(product, '[data-tag-product-brand]', 'product-brand');\r\n      const productPrice = getValue(product, '[data-tag-product-price]', 'product-price');\r\n      const productVariant = getValue(product, '[data-tag-product-variant]', 'product-variant');\r\n      const productPosition = getValue(product, '[data-tag-product-position]', 'product-position');\r\n      const productList = getValue(product, '[data-tag-product-list]', 'product-list');\r\n\r\n      const productDimension35 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension35]',\r\n        'product-dimension35'\r\n      );\r\n      const productDimension36 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension36]',\r\n        'product-dimension36'\r\n      );\r\n      const productDimension37 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension37]',\r\n        'product-dimension37'\r\n      );\r\n      const productDimension38 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension38]',\r\n        'product-dimension38'\r\n      );\r\n      const productDimension39 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension39]',\r\n        'product-dimension39'\r\n      );\r\n      const productDimension40 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension40]',\r\n        'product-dimension40'\r\n      );\r\n      const productDimension48 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension48]',\r\n        'product-dimension48'\r\n      );\r\n      const productDimension49 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension49]',\r\n        'product-dimension49'\r\n      );\r\n      const productDimension50 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension50]',\r\n        'product-dimension50'\r\n      );\r\n      const productDimension152 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension152]',\r\n        'product-dimension152'\r\n      );\r\n      const productDimension153 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension153]',\r\n        'product-dimension153'\r\n      );\r\n      const productDimension154 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension154]',\r\n        'product-dimension154'\r\n      );\r\n      const productDimension91 = getValue(\r\n        product,\r\n        '[data-tag-product-dimension91]',\r\n        'product-dimension91'\r\n      );\r\n      const productDimensioncd176 = getValue(\r\n        product,\r\n        '[data-tag-product-dimensioncd176]',\r\n        'product-dimensioncd176'\r\n      );\r\n\r\n      if (currency) {\r\n        dataFromDom.currency = currency;\r\n      }\r\n      if (productName) {\r\n        productInfo.name = productName;\r\n      }\r\n      if (productId) {\r\n        productInfo.id = productId;\r\n      }\r\n      if (productCategory) {\r\n        productInfo.category = productCategory;\r\n      }\r\n      if (productBrand) {\r\n        productInfo.brand = productBrand;\r\n      }\r\n      if (productPrice) {\r\n        productInfo.price = productPrice;\r\n      } else {\r\n        productInfo.price = '0.00';\r\n      }\r\n      if (productVariant) {\r\n        productInfo.variant = productVariant;\r\n      }\r\n      if (productPosition) {\r\n        productInfo.position = productPosition;\r\n      }\r\n      if (productList && data.type === 'productClick') {\r\n        dataFromDom.list = productList;\r\n      }\r\n      if (productList && data.type === 'productImpression') {\r\n        productInfo.list = productList;\r\n      }\r\n      if (productList && data.type === 'productVariantClick') {\r\n        dataFromDom.list = productList;\r\n      }\r\n\r\n      if (productDimension35) {\r\n        productInfo.dimension35 = productDimension35;\r\n      }\r\n      if (productDimension36) {\r\n        productInfo.dimension36 = productDimension36;\r\n      }\r\n      if (productDimension37) {\r\n        productInfo.dimension37 = productDimension37;\r\n      }\r\n      if (productDimension38) {\r\n        productInfo.dimension38 = productDimension38;\r\n      }\r\n      if (productDimension39) {\r\n        productInfo.dimension39 = productDimension39;\r\n      }\r\n      if (productDimension40) {\r\n        productInfo.dimension40 = productDimension40;\r\n      }\r\n      if (productDimension48) {\r\n        productInfo.dimension48 = productDimension48;\r\n      }\r\n      if (productDimension49) {\r\n        productInfo.dimension49 = productDimension49;\r\n      }\r\n      if (productDimension50) {\r\n        productInfo.dimension49 = productDimension50;\r\n      }\r\n      if (productDimension152) {\r\n        productInfo.dimension152 = productDimension152;\r\n      }\r\n      if (productDimension153) {\r\n        productInfo.dimension153 = productDimension153;\r\n      }\r\n      if (productDimension154) {\r\n        productInfo.dimension3154 = productDimension154;\r\n      }\r\n      if (productDimension91) {\r\n        productInfo.dimension91 = productDimension91;\r\n      }\r\n      if (productDimensioncd176) {\r\n        productInfo.dimensioncd176 = productDimensioncd176;\r\n      }\r\n\r\n      dataFromDom.products.push(productInfo);\r\n    }\r\n  }\r\n\r\n  if (data.type === 'promotionClick' || data.type === 'promotionImpression') {\r\n    const promotionNodes = node.querySelectorAll('[data-tag-promotion-identifier]');\r\n    dataFromDom.promotions = [];\r\n\r\n    for (const promotion of promotionNodes) {\r\n      const promotionInfo = {};\r\n      const promotionName = getValue(promotion, '[data-tag-promotion-name]', 'promotion-name');\r\n      const promotionId = getValue(promotion, '[data-tag-promotion-id]', 'promotion-id');\r\n      const promotionCreative = getValue(\r\n        promotion,\r\n        '[data-tag-promotion-creative]',\r\n        'promotion-creative'\r\n      );\r\n      const promotionPosition = getValue(\r\n        promotion,\r\n        '[data-tag-promotion-position]',\r\n        'promotion-position'\r\n      );\r\n\r\n      if (promotionName) {\r\n        promotionInfo.name = promotionName;\r\n      }\r\n      if (promotionId) {\r\n        promotionInfo.id = promotionId;\r\n      }\r\n      if (promotionCreative) {\r\n        promotionInfo.creative = promotionCreative;\r\n      }\r\n      if (promotionPosition) {\r\n        promotionInfo.position = promotionPosition;\r\n      }\r\n\r\n      dataFromDom.promotions.push(promotionInfo);\r\n    }\r\n  }\r\n\r\n  if (data.type === 'addToCart') {\r\n    const ecommerce = {};\r\n    // eslint-disable-next-line sonarjs/prefer-object-literal\r\n    const add = {};\r\n\r\n    add.products = [];\r\n    const productInfo = {};\r\n    const productName = getValue(node, '[data-tag-product-name]', 'product-name');\r\n    const productId = getValue(node, '[data-tag-product-id]', 'product-id');\r\n    const productCategory = getValue(node, '[data-tag-product-category]', 'product-category');\r\n    const productBrand = getValue(node, '[data-tag-product-brand]', 'product-brand');\r\n    const productPrice = getValue(node, '[data-tag-product-price]', 'product-price');\r\n    const productQuantity = getValue(node, '[data-tag-product-quantity]', 'product-quantity');\r\n    const productVariant = getValue(node, '[data-tag-product-variant]', 'product-variant');\r\n    const productDimension36 = getValue(\r\n      node,\r\n      '[data-tag-product-dimension36]',\r\n      'product-dimension36'\r\n    );\r\n    const productDimension38 = getValue(\r\n      node,\r\n      '[data-tag-product-dimension38]',\r\n      'product-dimension38'\r\n    );\r\n    const productDimension48 = getValue(\r\n      node,\r\n      '[data-tag-product-dimension48]',\r\n      'product-dimension48'\r\n    );\r\n    const productDimension49 = getValue(\r\n      node,\r\n      '[data-tag-product-dimension49]',\r\n      'product-dimension49'\r\n    );\r\n    const productDimension59 = getValue(\r\n      node,\r\n      '[data-tag-product-dimension59]',\r\n      'product-dimension59'\r\n    );\r\n    const productDimension91 = getValue(\r\n      node,\r\n      '[data-tag-product-dimension91]',\r\n      'product-dimension91'\r\n    );\r\n    const productDimensioncd176 = getValue(\r\n      node,\r\n      '[data-tag-product-dimensioncd176]',\r\n      'product-dimensioncd176'\r\n    );\r\n\r\n    if (productName) {\r\n      productInfo.name = productName;\r\n    }\r\n    if (productId) {\r\n      productInfo.id = productId;\r\n    }\r\n    if (productPrice) {\r\n      productInfo.price = productPrice;\r\n    } else {\r\n      productInfo.price = 'none';\r\n    }\r\n    if (productBrand) {\r\n      productInfo.brand = productBrand;\r\n    }\r\n    if (productCategory) {\r\n      productInfo.category = productCategory;\r\n    }\r\n    if (productVariant) {\r\n      productInfo.variant = productVariant;\r\n    }\r\n    if (productQuantity) {\r\n      productInfo.quantity = productQuantity;\r\n    }\r\n    if (productDimension36) {\r\n      productInfo.dimension36 = productDimension36;\r\n    }\r\n    if (productDimension38) {\r\n      productInfo.dimension38 = productDimension38;\r\n    }\r\n    if (productDimension48) {\r\n      productInfo.dimension48 = productDimension48;\r\n    }\r\n    if (productDimension49) {\r\n      productInfo.dimension49 = productDimension49;\r\n      var handBuypageURL = new URLSearchParams(window.location.search);\r\n      var handBuylastURL = handBuypageURL.has('utm_medium');\r\n      if (handBuylastURL === true) {\r\n        productInfo.dimension49 = 'activated';\r\n      }\r\n    }\r\n    if (productDimension59) {\r\n      productInfo.dimension59 = productDimension59;\r\n    }\r\n    if (productDimension91) {\r\n      productInfo.dimension91 = productDimension91;\r\n    }\r\n    if (productDimensioncd176) {\r\n      productInfo.dimensioncd176 = productDimensioncd176;\r\n    }\r\n\r\n    add.products.push(productInfo);\r\n    const currency = getValue(node, '[data-tag-product-currency]', 'product-currency');\r\n    if (currency) {\r\n      ecommerce.currencyCode = currency;\r\n    }\r\n    ecommerce.add = add;\r\n    dataFromDom.ecommerce = ecommerce;\r\n\r\n    dataFromDom.event_name = eventName;\r\n\r\n    dataFromDom.productInfo = getValue(node, '[data-tag-product-info]', 'product-info');\r\n\r\n    dataFromDom.storeName = getValue(node, '[data-tag-store-name]', 'store-name');\r\n\r\n    dataFromDom.step = getValue(node, '[data-tag-step]', 'step');\r\n  }\r\n\r\n  if (data.type === 'socialIntEvent') {\r\n    dataFromDom.event_name = eventName;\r\n    dataFromDom.ecommerce = getValue(node, '[data-tag-ecommerce]', 'ecommerce');\r\n    dataFromDom.network = getValue(node, '[data-tag-network]', 'network');\r\n    dataFromDom.social_network = getValue(node, '[data-tag-social-network]', 'social-network');\r\n    dataFromDom.social_action = getValue(node, '[data-tag-social-action]', 'social-action');\r\n    dataFromDom.target = window.location.href;\r\n  }\r\n\r\n  if (data.type === 'userActionEvent') {\r\n    const productInformation = getValue(node, '[data-tag-product-info]', 'product-info');\r\n    const productStep = getValue(node, '[data-tag-step]', 'step');\r\n    const clickArea = getValue(node, '[data-tag-click-area]', 'click-area');\r\n    const breadcrumb = getValue(node, '[data-tag-breadcrumb]', 'breadcrumb');\r\n    const articleName = getValue(node, '[data-tag-article-name]', 'article-name');\r\n    const moduleName = getValue(node, '[data-tag-module-name]', 'module-name');\r\n    const ctaName = getValue(node, '[data-tag-cta-name]', 'cta-name');\r\n    const linkUrl = getValue(node, '[data-tag-link-url]', 'link-url');\r\n    const serviceName = getValue(node, '[data-tag-service-name]', 'service-name');\r\n    const serviceCategory = getValue(node, '[data-tag-service-category]', 'service-category');\r\n    const eventDetail = getValue(node, '[data-tag-event-detail]', 'event-detail');\r\n\r\n    if (eventName) {\r\n      dataFromDom.event_name = eventName;\r\n    }\r\n    if (clickArea) {\r\n      dataFromDom.click_area = clickArea;\r\n    }\r\n\r\n    if (eventDetail) {\r\n      dataFromDom.event_detail = eventDetail;\r\n    }\r\n\r\n    if (breadcrumb) {\r\n      dataFromDom.breadcrumb = breadcrumb;\r\n    }\r\n\r\n    if (productInformation) {\r\n      dataFromDom.productInfo = productInformation;\r\n    }\r\n    if (productStep) {\r\n      dataFromDom.step = productStep;\r\n    }\r\n\r\n    if (articleName) {\r\n      dataFromDom.article_name = articleName;\r\n    }\r\n    if (moduleName) {\r\n      dataFromDom.module_name = moduleName;\r\n    }\r\n    if (ctaName) {\r\n      dataFromDom.cta_name = ctaName;\r\n    }\r\n\r\n    if (linkUrl) {\r\n      dataFromDom.link_url = linkUrl;\r\n    }\r\n\r\n    if (serviceName) {\r\n      dataFromDom.service_name = serviceName;\r\n    }\r\n\r\n    if (serviceCategory) {\r\n      dataFromDom.service_category = serviceCategory;\r\n    }\r\n  }\r\n\r\n  return { ...data, ...dataFromDom };\r\n}\r\n","import { debug } from '../../env/env';\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { inViewport, isVisible, throttle } from '../../utilities';\r\nimport { AnalyticsHandler } from '../AnalyticsHandler';\r\nimport createDataObjectBasedOnDom from './createDataObjectBasedOnDom';\r\n\r\nif (\r\n  'IntersectionObserver' in window &&\r\n  'IntersectionObserverEntry' in window &&\r\n  'intersectionRatio' in window.IntersectionObserverEntry.prototype &&\r\n  !('isIntersecting' in IntersectionObserverEntry.prototype)\r\n) {\r\n  Object.defineProperty(window.IntersectionObserverEntry.prototype, 'isIntersecting', {\r\n    get() {\r\n      return this.intersectionRatio > 0;\r\n    },\r\n  });\r\n}\r\n\r\n/**\r\n * Binds the event for the Google TagManager action to the DOM node. Click or Impression.\r\n * @param {String} type Type of event. Can be click or impression.\r\n * @param {Node} node Dom node to use for event handling.\r\n * @param {Object} data Data send by the component who wants to send an analytics event.\r\n * @param {Object} modifiers Modifiers passed from directive\r\n */\r\nexport default function handleEvent(type, node, data, modifiers = {}) {\r\n  const isCurrentTarget = ({ target, currentTarget }) => target === currentTarget;\r\n  const onEvent = (registerOnly = false, event) => {\r\n    let dataToSend;\r\n\r\n    if (modifiers.target && !isCurrentTarget(event)) {\r\n      return;\r\n    }\r\n\r\n    dataToSend = modifiers.dom\r\n      ? createDataObjectBasedOnDom(node.closest('[data-tag-wrapper]'), data)\r\n      : data;\r\n    if (modifiers.view) {\r\n      dataToSend.viewPort = true;\r\n    }\r\n    try {\r\n      AnalyticsHandler.getAnalyticsHandler().push(dataToSend, registerOnly);\r\n    } catch (er) {\r\n      if (debug) {\r\n        node.setAttribute('data-error', er.message);\r\n        node.classList.add('accessibilityError');\r\n      }\r\n      throw er;\r\n    }\r\n  };\r\n\r\n  if (type === 'click') {\r\n    node.addEventListener('click', (event) => {\r\n      onEvent(false, event);\r\n    });\r\n  } else if (type === 'conditional') {\r\n    onEvent(true);\r\n    eventBus.on('conditions-met', onEvent);\r\n  } else if ('IntersectionObserver' in window) {\r\n    const observer = new IntersectionObserver(\r\n      (changes) => {\r\n        changes.forEach((change) => {\r\n          if (change.isIntersecting) {\r\n            onEvent();\r\n            observer.unobserve(node);\r\n          }\r\n        });\r\n      },\r\n      {\r\n        threshold: [0.006],\r\n      }\r\n    );\r\n\r\n    observer.observe(node);\r\n  } else {\r\n    const scrollCallback = (event) => {\r\n      /* istanbul ignore else */\r\n      if (inViewport(node) && isVisible(node)) {\r\n        onEvent(false, event);\r\n\r\n        window.removeEventListener('scroll', throttle(scrollCallback, 500));\r\n      }\r\n    };\r\n\r\n    window.addEventListener('scroll', throttle(scrollCallback, 500), false);\r\n    scrollCallback();\r\n  }\r\n}\r\n","import handleEvent from './handleEvent';\r\nimport includes from 'lodash.includes';\r\nimport { AnalyticsTagDirectiveException } from '../errors/analyticsError';\r\nimport { TAGGING_TYPES_ARRAY } from '../models/TaggingTypes';\r\n\r\n/**\r\n * Whitelist of types of Analytics events.\r\n */\r\nexport const typeWhitelist = TAGGING_TYPES_ARRAY.map((s) => s.toLocaleLowerCase());\r\n\r\n/**\r\n * Tag Directive\r\n * @module v-tag\r\n */\r\n\r\n/**\r\n * Vue Tag directive declaration.\r\n */\r\nexport const tag = {\r\n  name: 'tag',\r\n  mounted: (el, binding) => {\r\n    const { arg, modifiers, value: data = {} } = binding;\r\n    let eventType = 'click';\r\n\r\n    // bail early conditional directives\r\n    if (data.placeholder) return;\r\n\r\n    if (!arg) {\r\n      throw new AnalyticsTagDirectiveException(\r\n        `No argument given to v-tag. Example usage: v-tag:event=\"{category: 'video', action: 'play', label: 'video.mp4'}}\". Argument options: ${typeWhitelist.join(\r\n          ', '\r\n        )}`\r\n      );\r\n    }\r\n\r\n    if (!includes(typeWhitelist, arg)) {\r\n      throw new AnalyticsTagDirectiveException(\r\n        `v-tag argument [${arg}] to v-tag is wrong. Argument options: ${typeWhitelist.join(', ')}`\r\n      );\r\n    }\r\n\r\n    /* istanbul ignore next */\r\n    switch (arg) {\r\n      case 'productimpression':\r\n        data.type = 'productImpression';\r\n        eventType = 'impression';\r\n        break;\r\n\r\n      case 'productclick':\r\n        data.type = 'productClick';\r\n        break;\r\n      case 'productvariantclick':\r\n        data.type = 'productVariantClick';\r\n        break;\r\n      case 'promotionclick':\r\n        data.type = 'promotionClick';\r\n        break;\r\n\r\n      case 'promotionimpression':\r\n        data.type = 'promotionImpression';\r\n        eventType = 'impression';\r\n        break;\r\n\r\n      case 'addtocart':\r\n        data.type = 'addToCart';\r\n        break;\r\n\r\n      case 'noninteractiveevent':\r\n        data.type = 'nonInteractiveEvent';\r\n        eventType = 'nievent';\r\n        break;\r\n\r\n      case 'conditionalevent':\r\n        data.type = 'conditionalEvent';\r\n        eventType = 'conditional';\r\n        break;\r\n\r\n      case 'socialintevent':\r\n        data.type = 'socialIntEvent';\r\n        break;\r\n\r\n      default:\r\n        data.type = 'userActionEvent';\r\n        break;\r\n    }\r\n\r\n    handleEvent(eventType, el, data, modifiers);\r\n  },\r\n};\r\n","/*\r\n  TODO: This can be refactored to a single exported class\r\n  customized as per the current requirements, and that inherits from\r\n  the native Error class (or any of its subclasses).\r\n\r\n  It will also export an object containing the types of errors.\r\n*/\r\n/**\r\n * Exception handler: AnalyticsException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsUserActionEventObjectException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsUserActionEventObjectException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsUserActionEventObjectException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsAddToCartObjectException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsAddToCartObjectException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsAddToCartObjectException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsNonInteractiveEventObjectException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsNonInteractiveEventObjectException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsNonInteractiveEventObjectException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsProductImpressionObjectException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsProductImpressionObjectException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsProductImpressionObjectException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsProductClickObjectException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsProductClickObjectException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsProductClickObjectException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsVtoDetailObjectException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsVtoDetailObjectException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsVtoDetailObjectException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsProductVariantClickObjectException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsProductVariantClickObjectException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsProductVariantClickObjectException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsPromotionClickObjectException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsPromotionClickObjectException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsPromotionClickObjectException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsProductObjectException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsProductObjectException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsProductObjectException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsPromotionObjectException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsPromotionObjectException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsPromotionObjectException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsPromotionImpressionObjectException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsPromotionImpressionObjectException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsPromotionImpressionObjectException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsSocialIntEventObjectException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsSocialIntEventObjectException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsSocialIntEventObjectException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n\r\n/**\r\n * Exception handler: AnalyticsTagDirectiveException\r\n * @param {String} message Exception error message.\r\n * @constructor\r\n */\r\nexport function AnalyticsTagDirectiveException(message) {\r\n  this.message = message;\r\n  this.name = 'AnalyticsTagDirectiveException';\r\n  this.toString = () => `${this.name}: ${this.message}`;\r\n}\r\n","import DataObject from './DataObject';\r\nimport { debounce } from '../../../../code/Scripts/utilities';\r\nimport eventBus from '@loreal/eventbus-js';\r\n\r\nexport default class ConditionalEventObject extends DataObject {\r\n  constructor(data) {\r\n    super('uaevent', data);\r\n\r\n    this.onScroll = this.onScroll.bind(this);\r\n    this.onTimeout = this.onTimeout.bind(this);\r\n\r\n    this.result.ecommerce = undefined;\r\n    this.conditionsTrack = [];\r\n\r\n    this.generateConditionsTrack();\r\n    this.init();\r\n  }\r\n\r\n  /** INTERNAL **/\r\n  init() {\r\n    if (this.conditions) {\r\n      this.attachEvents();\r\n    }\r\n  }\r\n\r\n  /**\r\n   * set the conditions\r\n   * @param conditions\r\n   */\r\n  set conditions(conditions) {\r\n    this._conditions = conditions;\r\n  }\r\n\r\n  /**\r\n   * get the conditions\r\n   * @returns {*}\r\n   */\r\n  get conditions() {\r\n    return this._conditions;\r\n  }\r\n\r\n  /**\r\n   * set conditions track\r\n   * @param track\r\n   */\r\n  set conditionsTrack(track) {\r\n    this._conditionsTrack = track;\r\n  }\r\n\r\n  /**\r\n   * find property in data layer\r\n   * @param property\r\n   */\r\n  findPropertyInDataLayer(property) {\r\n    return window.dataLayer.filter((x) => x[property]).length;\r\n  }\r\n\r\n  /**\r\n   * get conditions track\r\n   * @returns {*}\r\n   */\r\n  get conditionsTrack() {\r\n    return this._conditionsTrack;\r\n  }\r\n\r\n  /** FOR DATA LAYER **/\r\n  set category(category) {\r\n    this.result.eventCategory = this.setProperty(category);\r\n  }\r\n\r\n  get category() {\r\n    return this.result.eventCategory;\r\n  }\r\n\r\n  set action(action) {\r\n    this.result.eventAction = this.setProperty(action);\r\n  }\r\n\r\n  get action() {\r\n    return this.result.eventAction;\r\n  }\r\n\r\n  set label(label) {\r\n    this.result.eventLabel = this.setProperty(label);\r\n  }\r\n\r\n  get label() {\r\n    return this.result.eventLabel;\r\n  }\r\n\r\n  set event_name(event_name) {\r\n    this.result.event_name = this.setProperty(event_name);\r\n  }\r\n\r\n  get event_name() {\r\n    return this.result.event_name;\r\n  }\r\n\r\n  set article_name(article_name) {\r\n    this.result.article_name = this.setProperty(article_name);\r\n  }\r\n\r\n  get article_name() {\r\n    return this.result.article_name;\r\n  }\r\n\r\n  /** METHODS **/\r\n  /**\r\n   * fill the condition track array\r\n   * based on conditions provided\r\n   */\r\n  generateConditionsTrack() {\r\n    for (const condition in this.conditions) {\r\n      this.conditionsTrack.push({\r\n        key: condition,\r\n        value: false,\r\n      });\r\n    }\r\n  }\r\n\r\n  /**\r\n   * update the corresponding condition\r\n   * in condition track\r\n   * @param condition\r\n   */\r\n  updateConditionsTrack(condition) {\r\n    this.conditionsTrack.find((x) => x.key === condition).value = true;\r\n    this.tryPushToDataLayer();\r\n  }\r\n\r\n  /**\r\n   * if conditions are met\r\n   * try to push into data layer\r\n   */\r\n  tryPushToDataLayer() {\r\n    const conditionsMetCount = this.conditionsMetCount().all;\r\n    if (conditionsMetCount.length === this.conditionsTrack.length) {\r\n      eventBus.emit('conditions-met');\r\n      eventBus.off('conditions-met');\r\n    }\r\n  }\r\n\r\n  /**\r\n   * count the conditions that are met\r\n   * @returns {*}\r\n   */\r\n  conditionsMetCount(condition) {\r\n    return {\r\n      all: this.conditionsTrack.filter((x) => x.value),\r\n      ...(condition && {\r\n        single: this.conditionsTrack.find((x) => x.key === condition).value,\r\n      }),\r\n    };\r\n  }\r\n\r\n  /**\r\n   * attach events\r\n   * scroll & timeout\r\n   */\r\n  attachEvents() {\r\n    if (this.conditions.conditionalProperty) {\r\n      this.updateConditionsTrack('conditionalProperty');\r\n    }\r\n\r\n    if (this.conditions.pageScrolledInPercentage) {\r\n      window.addEventListener('scroll', debounce(this.onScroll, 100));\r\n    }\r\n\r\n    if (this.conditions.userOnPageInSeconds) {\r\n      setTimeout(this.onTimeout, this.conditions.userOnPageInSeconds * 1000);\r\n    }\r\n  }\r\n\r\n  /**\r\n   * get the scroll position\r\n   * @returns {number}\r\n   */\r\n  scrollPosition() {\r\n    return Math.round(\r\n      (window.scrollY / (document.documentElement.offsetHeight - window.innerHeight)) * 100\r\n    );\r\n  }\r\n\r\n  /** EVENTS **/\r\n  onScroll() {\r\n    if (this.conditionsMetCount('pageScrolledInPercentage').single) {\r\n      window.removeEventListener('scroll', this.onScroll);\r\n      return;\r\n    }\r\n\r\n    if (this.scrollPosition() >= this.conditions.pageScrolledInPercentage) {\r\n      this.updateConditionsTrack('pageScrolledInPercentage');\r\n    }\r\n  }\r\n\r\n  onTimeout() {\r\n    this.updateConditionsTrack('userOnPageInSeconds');\r\n  }\r\n}\r\n","import includes from 'lodash.includes';\r\n\r\nexport function convertVariable(variable, variables) {\r\n  if (variable && variables) {\r\n    const tmplVariable = variable.toLowerCase().replace(/__/g, '');\r\n\r\n    for (var key in variables) {\r\n      if (tmplVariable.includes(key)) {\r\n        return tmplVariable.replace(key, variables[key]);\r\n      }\r\n    }\r\n  }\r\n\r\n  return variable;\r\n}\r\n\r\nexport function isVariable(variable) {\r\n  if (typeof variable === 'string') {\r\n    return includes(variable, '__');\r\n  }\r\n\r\n  return false;\r\n}\r\n","import { convertVariable, isVariable } from '../utils/analyticsUtils';\r\n\r\nexport default class DataObject {\r\n  constructor(event, data) {\r\n    this.variables = (window.wsf && window.wsf.AnalyticsVariablesDynamic) || {};\r\n    this.result = {};\r\n    if (event) {\r\n      this.result.event = event;\r\n    }\r\n    // copy data\r\n    this.from(data);\r\n  }\r\n\r\n  setProperty(property, toLower = true) {\r\n    let res = isVariable(property) ? convertVariable(property, this.variables) : property?.trim();\r\n\r\n    if (toLower) {\r\n      res = res?.toLowerCase();\r\n    }\r\n\r\n    return res;\r\n  }\r\n\r\n  from(data) {\r\n    Object.keys(data).forEach((key) => {\r\n      if (data[key]) {\r\n        this[key] = data[key];\r\n      }\r\n    });\r\n  }\r\n\r\n  toObject() {\r\n    return this.result;\r\n  }\r\n}\r\n","import { AnalyticsNonInteractiveEventObjectException } from '../errors/analyticsError';\r\nimport Logger from '../utils/analyticsLogger';\r\nimport DataObject from './DataObject';\r\n\r\nexport default class NonInteractiveEventObject extends DataObject {\r\n  constructor(data) {\r\n    super('nievent', data);\r\n\r\n    if (!data.category) {\r\n      Logger.error(\r\n        \"[AnalyticsNonInteractiveEventObjectException] Category is required for nievent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsNonInteractiveEventObjectException(\r\n        \"Category is required for nievent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n\r\n    if (!data.action) {\r\n      Logger.error(\r\n        \"[AnalyticsNonInteractiveEventObjectException] Action is required for nievent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsNonInteractiveEventObjectException(\r\n        \"Action is required for nievent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n\r\n    if (!data.label) {\r\n      Logger.error(\r\n        \"[AnalyticsNonInteractiveEventObjectException] Label is required for nievent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsNonInteractiveEventObjectException(\r\n        \"Label is required for nievent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n\r\n    this.result.ecommerce = undefined;\r\n  }\r\n\r\n  set category(category) {\r\n    this.result.eventCategory = this.setProperty(category);\r\n  }\r\n\r\n  get category() {\r\n    return this.result.eventCategory;\r\n  }\r\n\r\n  set action(action) {\r\n    this.result.eventAction = this.setProperty(action);\r\n  }\r\n\r\n  get action() {\r\n    return this.result.eventAction;\r\n  }\r\n\r\n  set label(label) {\r\n    this.result.eventLabel = this.setProperty(label);\r\n  }\r\n\r\n  get label() {\r\n    return this.result.eventLabel;\r\n  }\r\n\r\n  set value(value) {\r\n    this.result.eventValue = this.setProperty(value);\r\n  }\r\n\r\n  set event_name(event_name) {\r\n    this.result.event_name = this.setProperty(event_name);\r\n  }\r\n\r\n  get event_name() {\r\n    return this.result.event_name;\r\n  }\r\n\r\n  set service_name(service_name) {\r\n    this.result.service_name = this.setProperty(service_name);\r\n  }\r\n\r\n  get service_name() {\r\n    return this.result.service_name;\r\n  }\r\n\r\n  set module_name(module_name) {\r\n    this.result.module_name = this.setProperty(module_name);\r\n  }\r\n\r\n  get module_name() {\r\n    return this.result.module_name;\r\n  }\r\n\r\n  set cta_name(cta_name) {\r\n    this.result.cta_name = this.setProperty(cta_name);\r\n  }\r\n\r\n  get cta_name() {\r\n    return this.result.cta_name;\r\n  }\r\n\r\n  set link_url(link_url) {\r\n    this.result.link_url = this.setProperty(link_url);\r\n  }\r\n\r\n  get link_url() {\r\n    return this.result.link_url;\r\n  }\r\n\r\n  set video_title(video_title) {\r\n    this.result.video_title = this.setProperty(video_title);\r\n  }\r\n\r\n  get video_title() {\r\n    return this.result.video_title;\r\n  }\r\n}\r\n","import { AnalyticsProductClickObjectException } from '../errors/analyticsError';\r\nimport Logger from '../utils/analyticsLogger';\r\nimport DataObject from './DataObject';\r\nimport ProductObject from './ProductObject';\r\n\r\nexport default class ProductClickObject extends DataObject {\r\n  constructor(data) {\r\n    super('productClick', data);\r\n\r\n    this.category = 'Ecommerce';\r\n    if (data.category) {\r\n      Logger.warn(\r\n        `[AnalyticsProductClickObjectException] Category always defaults to \"Ecommerce\" (L'Oréal guideline), currently [${data.category}] was provided`,\r\n        data,\r\n        false\r\n      );\r\n    }\r\n\r\n    this.action = 'Product Click';\r\n    if (data.action) {\r\n      Logger.warn(\r\n        `[AnalyticsProductClickObjectException] Action always defaults to \"Product Click\" (L'Oréal guideline), currently [${data.action}] was provided`,\r\n        data,\r\n        false\r\n      );\r\n    }\r\n\r\n    this.label = 'Product Click';\r\n    if (data.label) {\r\n      this.label = data.label;\r\n    }\r\n\r\n    if (data.currency) {\r\n      this.currency = data.currency;\r\n    }\r\n\r\n    this.name = 'select_item';\r\n    if (data.name) {\r\n      this.name = data.name;\r\n    }\r\n\r\n    this.eventLabel ? (this.product_info = this.eventLabel) : (this.product_info = '');\r\n\r\n    if (!data.products || data.products.length === 0) {\r\n      Logger.error(\r\n        '[AnalyticsProductClickObjectException] Product is required for productClick',\r\n        data\r\n      );\r\n      throw new AnalyticsProductClickObjectException('Product is required for productClick');\r\n    }\r\n  }\r\n\r\n  initEcommerce() {\r\n    this.result.ecommerce = this.result.ecommerce || {};\r\n    this.result.ecommerce.click = this.result.ecommerce.click || {};\r\n    this.result.event_name = 'select_item';\r\n  }\r\n\r\n  set category(category) {\r\n    this.result.eventCategory = this.setProperty(category, false);\r\n  }\r\n\r\n  set action(action) {\r\n    this.result.eventAction = this.setProperty(action, false);\r\n  }\r\n\r\n  set label(label) {\r\n    this.result.product_info = this.result.eventLabel = this.setProperty(label, false);\r\n  }\r\n\r\n  set currency(currency) {\r\n    this.result.currencyCode = this.setProperty(currency, false);\r\n  }\r\n\r\n  set name(name) {\r\n    this.result.event_name = this.setProperty(name, false);\r\n  }\r\n\r\n  set value(value) {\r\n    this.result.eventValue = this.setProperty(value);\r\n  }\r\n\r\n  set products(products) {\r\n    Object.keys(products).map(function (key) {\r\n      if (!products[key].price) {\r\n        products[key].price = 'none';\r\n      }\r\n    });\r\n    products = products.map((product) => new ProductObject(product).toObject());\r\n\r\n    this.initEcommerce();\r\n\r\n    this.result.ecommerce.click.products = products;\r\n  }\r\n\r\n  get products() {\r\n    return (this.result.ecommerce && this.result.ecommerce.click.products) || [];\r\n  }\r\n\r\n  set list(list) {\r\n    this.initEcommerce();\r\n\r\n    this.result.ecommerce.click.actionField = { list: this.setProperty(list) };\r\n  }\r\n}\r\n","import { AnalyticsProductImpressionObjectException } from '../errors/analyticsError';\r\nimport Logger from '../utils/analyticsLogger';\r\nimport DataObject from './DataObject';\r\nimport ProductObject from './ProductObject';\r\n\r\nexport default class ProductImpressionObject extends DataObject {\r\n  constructor(data) {\r\n    if (data.viewPort) {\r\n      super('uaevent', data);\r\n    } else {\r\n      super('nievent', data);\r\n    }\r\n    this.category = 'Ecommerce';\r\n    if (data.category) {\r\n      Logger.warn(\r\n        `[AnalyticsProductImpressionObjectException] Category always defaults to \"Ecommerce\" (L'Oréal guideline), currently [${data.category}] was provided`,\r\n        data,\r\n        false\r\n      );\r\n    }\r\n\r\n    this.action = 'Product Impressions';\r\n    if (data.action) {\r\n      Logger.warn(\r\n        `[AnalyticsProductImpressionObjectException] Action always defaults to \"Product Impressions\" (L'Oréal guideline), currently [${data.action}] was provided`,\r\n        data,\r\n        false\r\n      );\r\n    }\r\n\r\n    this.label = 'Product Impressions';\r\n    if (data.label) {\r\n      this.label = data.label;\r\n    }\r\n\r\n    //this.name = 'Product Impressions';\r\n    if (data.name) {\r\n      this.name = data.name;\r\n    }\r\n\r\n    if (data.viewPort !== true && (!data.products || data.products.length === 0)) {\r\n      Logger.error(\r\n        '[AnalyticsProductImpressionObjectException] Product(s) are required for a productImpression',\r\n        data\r\n      );\r\n      throw new AnalyticsProductImpressionObjectException(\r\n        'Product(s) are required for a productImpression'\r\n      );\r\n    }\r\n    if (data.viewPort) {\r\n      this.category = data.category;\r\n      this.action = data.action;\r\n    }\r\n  }\r\n\r\n  initEcommerce() {\r\n    this.result.ecommerce = this.result.ecommerce || {};\r\n  }\r\n\r\n  set category(category) {\r\n    this.result.eventCategory = this.setProperty(category, false);\r\n  }\r\n\r\n  set action(action) {\r\n    this.result.eventAction = this.setProperty(action, false);\r\n  }\r\n\r\n  set label(label) {\r\n    this.result.eventLabel = this.setProperty(label, false);\r\n  }\r\n\r\n  set name(name) {\r\n    this.result.event_name = this.setProperty(name, false);\r\n  }\r\n\r\n  set value(value) {\r\n    this.result.eventValue = this.setProperty(value);\r\n  }\r\n\r\n  set currency(currency) {\r\n    this.initEcommerce();\r\n    this.result.ecommerce.currencyCode = this.setProperty(currency).toUpperCase();\r\n  }\r\n\r\n  set products(products) {\r\n    Object.keys(products).map(function (key) {\r\n      if (!products[key].price) {\r\n        products[key].price = 'none';\r\n      }\r\n    });\r\n    this.initEcommerce();\r\n    this.result.ecommerce.impressions = products.map((product) =>\r\n      new ProductObject(product).toObject()\r\n    );\r\n  }\r\n\r\n  get products() {\r\n    return (this.result.ecommerce && this.result.ecommerce.impressions) || [];\r\n  }\r\n}\r\n","import { AnalyticsProductObjectException } from '../errors/analyticsError';\r\nimport Logger from '../utils/analyticsLogger';\r\nimport DataObject from './DataObject';\r\n\r\nexport default class ProductObject extends DataObject {\r\n  constructor(data) {\r\n    super(undefined, data);\r\n\r\n    if (!this.name && !this.id) {\r\n      Logger.error(\r\n        '[AnalyticsProductObjectException] A Product Name or a Product ID is required for an Analytics Product Object',\r\n        data\r\n      );\r\n      throw new AnalyticsProductObjectException(\r\n        'A Product Name or a Product ID is required for an Analytics Product Object'\r\n      );\r\n    }\r\n\r\n    this.dimensionKeys = Object.keys(data).filter((dimensionKey) => /dimension/.test(dimensionKey));\r\n    if (this.dimensionKeys) {\r\n      this.dimensionKeys.forEach((key) => {\r\n        this.result[key] = this.setProperty(data[key]);\r\n      });\r\n    }\r\n  }\r\n\r\n  set name(name) {\r\n    this.result.name = this.setProperty(name);\r\n  }\r\n\r\n  get name() {\r\n    return this.result.name;\r\n  }\r\n\r\n  set id(id) {\r\n    this.result.id = this.setProperty(id);\r\n  }\r\n\r\n  get id() {\r\n    return this.result.id;\r\n  }\r\n\r\n  set price(price) {\r\n    this.result.price = this.setProperty(price);\r\n  }\r\n\r\n  set brand(brand) {\r\n    this.result.brand = this.setProperty(brand).toUpperCase();\r\n  }\r\n\r\n  set category(category) {\r\n    this.result.category = this.setProperty(category);\r\n  }\r\n\r\n  set variant(variant) {\r\n    this.result.variant = this.setProperty(variant);\r\n  }\r\n\r\n  set position(position) {\r\n    this.result.position = Number(this.setProperty(String(position)));\r\n  }\r\n\r\n  set list(list) {\r\n    this.result.list = this.setProperty(list);\r\n  }\r\n\r\n  setDynamicProp(prop, value) {\r\n    this.result[prop] = this.setProperty(value);\r\n  }\r\n\r\n  getDynamicProp(prop) {\r\n    return this.result[prop];\r\n  }\r\n}\r\n","import { AnalyticsPromotionClickObjectException } from '../errors/analyticsError';\r\nimport Logger from '../utils/analyticsLogger';\r\nimport DataObject from './DataObject';\r\nimport PromotionObject from './PromotionObject';\r\n\r\nexport default class PromotionClickObject extends DataObject {\r\n  constructor(data) {\r\n    super('promotionClick', data);\r\n\r\n    this.category = 'Ecommerce';\r\n    if (data.category) {\r\n      Logger.warn(\r\n        `[AnalyticsPromotionClickObjectException] Category always defaults to \"Ecommerce\" (L'Oréal guideline), currently [${data.category}] was provided`,\r\n        data,\r\n        false\r\n      );\r\n    }\r\n\r\n    this.action = 'Promotion Click';\r\n    if (data.action) {\r\n      Logger.warn(\r\n        `[AnalyticsPromotionClickObjectException] Action always defaults to \"Promotion Click\" (L'Oréal guideline), currently [${data.action}] was provided`,\r\n        data,\r\n        false\r\n      );\r\n    }\r\n\r\n    this.action = 'Promotion Click';\r\n    if (data.label) {\r\n      this.label = data.label;\r\n    }\r\n\r\n    if (!data.promotions || data.promotions.length === 0) {\r\n      Logger.error(\r\n        '[AnalyticsPromotionClickObjectException] promotion is required for promotionClick',\r\n        data\r\n      );\r\n      throw new AnalyticsPromotionClickObjectException('promotion is required for promotionClick');\r\n    }\r\n  }\r\n\r\n  initEcommerce() {\r\n    this.result.ecommerce = this.result.ecommerce || {};\r\n    this.result.ecommerce.promoClick = this.result.ecommerce.promoClick || {};\r\n  }\r\n\r\n  set category(category) {\r\n    this.result.eventCategory = this.setProperty(category, false);\r\n  }\r\n\r\n  set action(action) {\r\n    this.result.eventAction = this.setProperty(action, false);\r\n  }\r\n\r\n  set label(label) {\r\n    this.result.eventLabel = this.setProperty(label, false);\r\n  }\r\n\r\n  set value(value) {\r\n    this.result.eventValue = this.setProperty(value);\r\n  }\r\n\r\n  set promotions(promotions) {\r\n    promotions = promotions.map((promotion) => new PromotionObject(promotion).toObject());\r\n\r\n    this.initEcommerce();\r\n\r\n    this.result.ecommerce.promoClick.promotions = promotions;\r\n  }\r\n}\r\n","import { AnalyticsPromotionObjectException } from '../errors/analyticsError';\r\nimport Logger from '../utils/analyticsLogger';\r\nimport DataObject from './DataObject';\r\n\r\nexport default class PromotionObject extends DataObject {\r\n  constructor(data) {\r\n    super(undefined, data);\r\n\r\n    if (!this.name && !this.id) {\r\n      Logger.error(\r\n        '[AnalyticsPromotionObjectException] A Promotion Name or a Promotion ID is required for an Analytics Promotion Object',\r\n        data\r\n      );\r\n      throw new AnalyticsPromotionObjectException(\r\n        'A Promotion Name or a Promotion ID is required for an Analytics Promotion Object'\r\n      );\r\n    }\r\n  }\r\n\r\n  set name(name) {\r\n    this.result.name = this.setProperty(name);\r\n  }\r\n\r\n  get name() {\r\n    return this.result.name;\r\n  }\r\n\r\n  set id(id) {\r\n    this.result.id = this.setProperty(id);\r\n  }\r\n\r\n  get id() {\r\n    return this.result.id;\r\n  }\r\n\r\n  set creative(creative) {\r\n    this.result.creative = this.setProperty(creative);\r\n  }\r\n\r\n  get creative() {\r\n    return this.result.creative;\r\n  }\r\n\r\n  set position(position) {\r\n    this.result.position = this.setProperty(position);\r\n  }\r\n\r\n  get position() {\r\n    return this.result.position;\r\n  }\r\n}\r\n","import { AnalyticsProductVariantClickObjectException } from '../errors/analyticsError';\r\nimport Logger from '../utils/analyticsLogger';\r\nimport DataObject from './DataObject';\r\nimport ProductObject from './ProductObject';\r\n\r\nexport default class ProductVariantClickObject extends DataObject {\r\n  constructor(data) {\r\n    super('uaevent', data);\r\n\r\n    this.category = 'Ecommerce';\r\n    if (data.category) {\r\n      Logger.warn(\r\n        `[AnalyticsProductVariantClickObjectException] Category always defaults to \"Ecommerce\" (L'Oréal guideline), currently [${data.category}] was provided`,\r\n        data,\r\n        false\r\n      );\r\n    }\r\n\r\n    this.action = 'Product Detail|Variant selection';\r\n    if (data.action) {\r\n      Logger.warn(\r\n        `[AnalyticsProductVariantClickObjectException] Action defaults to \"Product Variant Click\", currently [${data.action}] was provided`,\r\n        data,\r\n        false\r\n      );\r\n    }\r\n\r\n    this.label = 'Product Detail|Variant selection';\r\n    if (data.label) {\r\n      this.label = data.label;\r\n    }\r\n\r\n    if (!data.products || data.products.length === 0) {\r\n      Logger.error(\r\n        '[AnalyticsProductVariantClickObjectException] Product is required for productVariantClick',\r\n        data\r\n      );\r\n      throw new AnalyticsProductVariantClickObjectException(\r\n        'Product is required for productVariantClick'\r\n      );\r\n    }\r\n  }\r\n\r\n  initEcommerce() {\r\n    this.result.ecommerce = this.result.ecommerce || {};\r\n    this.result.ecommerce.detail = this.result.ecommerce.detail || {};\r\n  }\r\n\r\n  set category(category) {\r\n    this.result.eventCategory = this.setProperty(category, false);\r\n  }\r\n\r\n  set action(action) {\r\n    this.result.eventAction = this.setProperty(action, false);\r\n  }\r\n\r\n  set label(label) {\r\n    this.result.eventLabel = this.setProperty(label, false);\r\n  }\r\n  set event_name(event_name) {\r\n    this.result.event_name = this.setProperty(event_name, false);\r\n  }\r\n  set event_detail(value) {\r\n    this.result.event_detail = this.setProperty(value);\r\n  }\r\n  set value(value) {\r\n    this.result.eventValue = this.setProperty(value);\r\n  }\r\n  set productInfo(value) {\r\n    this.result.product_info = this.setProperty(value);\r\n  }\r\n\r\n  set products(products) {\r\n    products = products.map((product) => new ProductObject(product).toObject());\r\n\r\n    this.initEcommerce();\r\n\r\n    this.result.ecommerce.detail.products = products;\r\n  }\r\n\r\n  get products() {\r\n    return (this.result.ecommerce && this.result.ecommerce.detail.products) || [];\r\n  }\r\n\r\n  set list(list) {\r\n    this.initEcommerce();\r\n\r\n    this.result.ecommerce.detail.actionField = { list: this.setProperty(list) };\r\n  }\r\n}\r\n","import { AnalyticsPromotionImpressionObjectException } from '../errors/analyticsError';\r\nimport Logger from '../utils/analyticsLogger';\r\nimport DataObject from './DataObject';\r\nimport PromotionObject from './PromotionObject';\r\n\r\nexport default class PromotionImpressionObject extends DataObject {\r\n  constructor(data) {\r\n    super('nievent', data);\r\n\r\n    this.category = 'Ecommerce';\r\n    /* istanbul ignore else */\r\n    if (data.category) {\r\n      Logger.warn(\r\n        `[AnalyticsPromotionImpressionObjectException] Category always defaults to \"Ecommerce\" (L'Oréal guideline), currently [${data.category}] was provided`,\r\n        data,\r\n        false\r\n      );\r\n    }\r\n\r\n    this.action = 'Promotion Impressions';\r\n    /* istanbul ignore else */\r\n    if (data.action) {\r\n      Logger.warn(\r\n        `[AnalyticsPromotionImpressionObjectException] Action always defaults to \"Promotion Impressions\" (L'Oréal guideline), currently [${data.action}] was provided`,\r\n        data,\r\n        false\r\n      );\r\n    }\r\n\r\n    this.label = 'Promotion Impressions';\r\n    /* istanbul ignore else */\r\n    if (data.label) {\r\n      this.label = data.label;\r\n    }\r\n\r\n    /* istanbul ignore next */\r\n    if (!data.promotions || data.promotions.length === 0) {\r\n      Logger.error(\r\n        '[AnalyticsPromotionImpressionObjectException] Promotion(s) are required for a promotionImpression',\r\n        data\r\n      );\r\n      throw new AnalyticsPromotionImpressionObjectException(\r\n        'Promotion(s) are required for a promotionImpression'\r\n      );\r\n    }\r\n  }\r\n\r\n  initEcommerce() {\r\n    this.result.ecommerce = this.result.ecommerce || {};\r\n    this.result.ecommerce.promoView = this.result.ecommerce.promoView || {};\r\n  }\r\n\r\n  set category(category) {\r\n    this.result.eventCategory = this.setProperty(category, false);\r\n  }\r\n\r\n  set action(action) {\r\n    this.result.eventAction = this.setProperty(action, false);\r\n  }\r\n\r\n  set label(label) {\r\n    this.result.eventLabel = this.setProperty(label, false);\r\n  }\r\n\r\n  set value(value) {\r\n    this.result.eventValue = this.setProperty(value);\r\n  }\r\n\r\n  set promotions(promotions) {\r\n    this.initEcommerce();\r\n    this.result.ecommerce.promoView.promotions = promotions.map((promotion) =>\r\n      new PromotionObject(promotion).toObject()\r\n    );\r\n  }\r\n}\r\n","import { AnalyticsAddToCartObjectException } from '../errors/analyticsError';\r\nimport ProductObject from './ProductObject';\r\nimport Logger from '../utils/analyticsLogger';\r\nimport DataObject from './DataObject';\r\n\r\nexport default class AddToCartObjectObject extends DataObject {\r\n  constructor(data) {\r\n    if (data.eventtype) {\r\n      /* istanbul ignore next */\r\n      super(data.eventype, data);\r\n    } else {\r\n      super('addToCart', data);\r\n    }\r\n    if (!data.category) {\r\n      Logger.error(\r\n        \"[AnalyticsAddToCartObjectException] Category is required for uaevent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsAddToCartObjectException(\r\n        \"Category is required for uaevent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n\r\n    if (!data.action) {\r\n      Logger.error(\r\n        \"[AnalyticsAddToCartObjectException] Action is required for uaevent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsAddToCartObjectException(\r\n        \"Action is required for uaevent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n\r\n    if (!data.label) {\r\n      Logger.error(\r\n        \"[AnalyticsAddToCartObjectObjectException] Label is required for uaevent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsAddToCartObjectException(\r\n        \"Label is required for uaevent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n\r\n    if (!data.ecommerce) {\r\n      Logger.error('[AnalyticsAddToCartObjectException] ecommerce is required for AddToCart', data);\r\n      throw new AnalyticsAddToCartObjectException('ecommerce is required for AddToCart');\r\n    } else {\r\n      this.result.ecommerce = data.ecommerce;\r\n\r\n      if (!data.ecommerce.currencyCode) {\r\n        Logger.error(\r\n          '[AnalyticsAddToCartObjectException] currencyCode is required for AddToCart',\r\n          data\r\n        );\r\n        throw new AnalyticsAddToCartObjectException('currencyCode is required for AddToCart');\r\n\r\n        // unreachable code\r\n        // if (!data.ecommerce.products || data.ecommerce.products.length === 0) {\r\n        //   Logger.error('[AnalyticsAddToCartObjectException] Product is required for AddToCart', data);\r\n        //   throw new AnalyticsAddToCartObjectException('Product is required for AddToCart');\r\n        // }\r\n      }\r\n    }\r\n  }\r\n\r\n  set category(category = 'Ecommerce') {\r\n    this.result.eventCategory = category;\r\n  }\r\n\r\n  get category() {\r\n    return this.result.eventCategory;\r\n  }\r\n\r\n  set action(action) {\r\n    this.result.eventAction = this.setProperty(action);\r\n  }\r\n\r\n  get action() {\r\n    return this.result.eventAction;\r\n  }\r\n\r\n  set label(label) {\r\n    this.result.eventLabel = this.setProperty(label);\r\n  }\r\n\r\n  get label() {\r\n    return this.result.eventLabel;\r\n  }\r\n\r\n  set currencyCode(currencyCode) {\r\n    this.result.currencyCode = this.setProperty(currencyCode);\r\n  }\r\n\r\n  get currencyCode() {\r\n    return this.result.ecommerce.currencyCode;\r\n  }\r\n\r\n  set products(products) {\r\n    products = products.map((product) => new ProductObject(product).toObject());\r\n\r\n    this.result.ecommerce.products = products;\r\n  }\r\n\r\n  get products() {\r\n    return (this.result.ecommerce && this.result.ecommerce.products) || [];\r\n  }\r\n\r\n  set value(value) {\r\n    this.result.eventValue = this.setProperty(value);\r\n  }\r\n\r\n  set event_name(event_name) {\r\n    this.result.event_name = this.setProperty(event_name);\r\n  }\r\n\r\n  get event_name() {\r\n    return this.result.event_name;\r\n  }\r\n\r\n  set productInfo(productInfo) {\r\n    this.result.product_info = this.setProperty(productInfo);\r\n  }\r\n\r\n  get productInfo() {\r\n    return this.result.product_info;\r\n  }\r\n\r\n  set storeName(storeName) {\r\n    this.result.store_name = this.setProperty(storeName);\r\n  }\r\n\r\n  get storeName() {\r\n    return this.result.store_name;\r\n  }\r\n\r\n  set step(step) {\r\n    this.result.step = this.setProperty(step);\r\n  }\r\n\r\n  get step() {\r\n    return this.result.step;\r\n  }\r\n\r\n  set price(price) {\r\n    this.result.price = this.setProperty(price);\r\n  }\r\n\r\n  get price() {\r\n    return this.result.price;\r\n  }\r\n}\r\n","import { AnalyticsSocialIntEventObjectException } from '../errors/analyticsError';\r\nimport Logger from '../utils/analyticsLogger';\r\nimport DataObject from './DataObject';\r\n\r\nexport default class SocialIntEventObject extends DataObject {\r\n  constructor(data) {\r\n    super('socialInt', data);\r\n\r\n    if (!data.network) {\r\n      Logger.error(\r\n        \"[AnalyticsSocialIntEventObjectException] network is required for socialevent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsSocialIntEventObjectException(\r\n        \"network is required for socialevent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n\r\n    if (!data.action) {\r\n      Logger.error(\r\n        \"[AnalyticsSocialIntEventObjectException] socialaction is required for socialevent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsSocialIntEventObjectException(\r\n        \"socialaction is required for socialevent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n\r\n    if (!data.target) {\r\n      Logger.error(\r\n        \"[AnalyticsSocialIntEventObjectException] target is required for socialevent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsSocialIntEventObjectException(\r\n        \"target is required for socialevent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n\r\n    if (!data.ecommerce) {\r\n      Logger.error(\r\n        \"[AnalyticsSocialIntEventObjectException] ecommerce is required for socialevent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsSocialIntEventObjectException(\r\n        \"ecommerce is required for socialevent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n  }\r\n  set ecommerce(ecommerce) {\r\n    this.result.ecommerce = this.setProperty(ecommerce);\r\n  }\r\n\r\n  get ecommerce() {\r\n    return this.result.socialNetwork;\r\n  }\r\n\r\n  set event_name(event_name) {\r\n    this.result.event_name = this.setProperty(event_name);\r\n  }\r\n\r\n  get event_name() {\r\n    return this.result.event_name;\r\n  }\r\n\r\n  set network(network) {\r\n    this.result.socialNetwork = this.setProperty(network);\r\n  }\r\n\r\n  get network() {\r\n    return this.result.socialNetwork;\r\n  }\r\n\r\n  set social_network(social_network) {\r\n    this.result.social_network = this.setProperty(social_network);\r\n  }\r\n\r\n  get social_network() {\r\n    return this.result.social_network;\r\n  }\r\n\r\n  set action(action) {\r\n    this.result.socialAction = this.setProperty(action);\r\n  }\r\n\r\n  get action() {\r\n    return this.result.socialAction;\r\n  }\r\n\r\n  set social_action(social_action) {\r\n    this.result.social_action = this.setProperty(social_action);\r\n  }\r\n\r\n  get social_action() {\r\n    return this.result.social_action;\r\n  }\r\n\r\n  set target(target) {\r\n    this.result.socialTarget = this.setProperty(target);\r\n  }\r\n\r\n  get target() {\r\n    return this.result.socialTarget;\r\n  }\r\n\r\n  set value(value) {\r\n    this.result.eventValue = this.setProperty(value);\r\n  }\r\n}\r\n","import UserActionEventObject from './UserActionEventObject';\r\nimport NonInteractiveEventObject from './NonInteractiveEventObject';\r\nimport ProductClickObject from './ProductClickObject';\r\nimport VtoDetailObject from './VtoDetailObject';\r\nimport ProductVariantClickObject from './ProductVariantClickObject';\r\nimport ProductImpressionObject from './ProductImpressionObject';\r\nimport PromotionClickObject from './PromotionClickObject';\r\nimport PromotionImpressionObject from './PromotionImpressionObject';\r\nimport AddToCartObject from './AddToCartObject';\r\nimport SocialIntEventObject from './SocialIntEventObject';\r\nimport ConditionalEventObject from './ConditionalEventObject';\r\n\r\n/**\r\n * types\r\n * List of allowed data types\r\n * @type {object}\r\n * @member AnalyticsHandler#types\r\n */\r\nexport const TAGGING_TYPES = {\r\n  productClick: ProductClickObject,\r\n  vtoDetail: VtoDetailObject,\r\n  productVariantClick: ProductVariantClickObject,\r\n  productImpression: ProductImpressionObject,\r\n  userActionEvent: UserActionEventObject,\r\n  nonInteractiveEvent: NonInteractiveEventObject,\r\n  promotionClick: PromotionClickObject,\r\n  promotionImpression: PromotionImpressionObject,\r\n  addToCart: AddToCartObject,\r\n  socialIntEvent: SocialIntEventObject,\r\n  conditionalEvent: ConditionalEventObject,\r\n};\r\n\r\nexport const TAGGING_TYPES_ARRAY = Object.keys(TAGGING_TYPES);\r\n","/*eslint camelcase: [\"error\", {allow: [\"\"]}]*/\r\n\r\nimport { AnalyticsUserActionEventObjectException } from '../errors/analyticsError';\r\nimport Logger from '../utils/analyticsLogger';\r\nimport DataObject from './DataObject';\r\n\r\nexport default class UserActionEventObject extends DataObject {\r\n  constructor(data) {\r\n    if (data.eventtype) {\r\n      super(data.eventype, data);\r\n    } else {\r\n      super('uaevent', data);\r\n    }\r\n    if (!data.category) {\r\n      Logger.error(\r\n        \"[AnalyticsUserActionEventObjectException] Category is required for uaevent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsUserActionEventObjectException(\r\n        \"Category is required for uaevent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n\r\n    if (!data.action) {\r\n      Logger.error(\r\n        \"[AnalyticsUserActionEventObjectException] Action is required for uaevent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsUserActionEventObjectException(\r\n        \"Action is required for uaevent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n\r\n    if (!data.label) {\r\n      Logger.error(\r\n        \"[AnalyticsUserActionEventObjectException] Label is required for uaevent (L'Oréal guideline)\",\r\n        data\r\n      );\r\n      throw new AnalyticsUserActionEventObjectException(\r\n        \"Label is required for uaevent (L'Oréal guideline)\"\r\n      );\r\n    }\r\n\r\n    this.result.ecommerce = undefined;\r\n  }\r\n\r\n  set category(category) {\r\n    if (category != 'Ecommerce') {\r\n      this.result.eventCategory = this.setProperty(category);\r\n    } else {\r\n      this.result.eventCategory = 'Ecommerce';\r\n    }\r\n  }\r\n\r\n  get category() {\r\n    return this.result.eventCategory;\r\n  }\r\n\r\n  set action(action) {\r\n    this.result.eventAction = this.setProperty(action);\r\n  }\r\n\r\n  get action() {\r\n    return this.result.eventAction;\r\n  }\r\n\r\n  set event_name(event_name) {\r\n    this.result.event_name = this.setProperty(event_name);\r\n  }\r\n\r\n  get event_name() {\r\n    return this.result.event_name;\r\n  }\r\n\r\n  set referral(referral) {\r\n    this.result.referral = this.setProperty(referral);\r\n  }\r\n\r\n  get referral() {\r\n    return this.result.referral;\r\n  }\r\n\r\n  set article_name(value) {\r\n    this.result.article_name = this.setProperty(value);\r\n  }\r\n\r\n  get article_name() {\r\n    return this.result.article_name;\r\n  }\r\n\r\n  set module_name(value) {\r\n    this.result.module_name = this.setProperty(value);\r\n  }\r\n\r\n  get module_name() {\r\n    return this.result.module_name;\r\n  }\r\n\r\n  set service_name(service_name) {\r\n    this.result.service_name = this.setProperty(service_name);\r\n  }\r\n\r\n  get service_name() {\r\n    return this.result.service_name;\r\n  }\r\n\r\n  set service_category(value) {\r\n    this.result.service_category = this.setProperty(value);\r\n  }\r\n\r\n  get service_category() {\r\n    return this.result.service_category;\r\n  }\r\n\r\n  // uses only for VTO v1\r\n  // should be removed after moving to VTO v2, DSF app\r\n  set service_version(value) {\r\n    this.result.service_version = this.setProperty(value);\r\n  }\r\n\r\n  get service_version() {\r\n    return this.result.service_version;\r\n  }\r\n\r\n  set cta_name(cta_name) {\r\n    this.result.cta_name = this.setProperty(cta_name);\r\n  }\r\n\r\n  get cta_name() {\r\n    return this.result.cta_name;\r\n  }\r\n\r\n  set link_url(link_url) {\r\n    this.result.link_url = this.setProperty(link_url);\r\n  }\r\n\r\n  get link_url() {\r\n    return this.result.link_url;\r\n  }\r\n\r\n  set click_area(click_area) {\r\n    this.result.click_area = this.setProperty(click_area);\r\n  }\r\n\r\n  get click_area() {\r\n    return this.result.click_area;\r\n  }\r\n\r\n  set video_title(video_title) {\r\n    this.result.video_title = this.setProperty(video_title);\r\n  }\r\n\r\n  get video_title() {\r\n    return this.result.video_title;\r\n  }\r\n\r\n  set video_action(video_action) {\r\n    this.result.video_action = this.setProperty(video_action);\r\n  }\r\n\r\n  get video_action() {\r\n    return this.result.video_action;\r\n  }\r\n\r\n  set breadcrumb(value) {\r\n    this.result.breadcrumb = this.setProperty(value);\r\n  }\r\n\r\n  get breadcrumb() {\r\n    return this.result.breadcrumb;\r\n  }\r\n\r\n  set label(label) {\r\n    this.result.eventLabel = this.setProperty(label);\r\n  }\r\n\r\n  get label() {\r\n    return this.result.eventLabel;\r\n  }\r\n  set requestType(value) {\r\n    this.result.requestType = this.setProperty(value);\r\n  }\r\n\r\n  get requestType() {\r\n    return this.result.requestType;\r\n  }\r\n\r\n  set value(value) {\r\n    this.result.eventValue = this.setProperty(value);\r\n  }\r\n\r\n  set detail(event_detail) {\r\n    this.result.event_detail = this.setProperty(event_detail);\r\n  }\r\n\r\n  get detail() {\r\n    return this.result.event_detail;\r\n  }\r\n\r\n  set product_info(product_info) {\r\n    this.result.product_info = this.setProperty(product_info);\r\n  }\r\n\r\n  get product_info() {\r\n    return this.result.product_info;\r\n  }\r\n\r\n  set product_tab(product_tab) {\r\n    this.result.product_tab = this.setProperty(product_tab);\r\n  }\r\n\r\n  get product_tab() {\r\n    return this.result.product_tab;\r\n  }\r\n\r\n  set step(step) {\r\n    this.result.step = this.setProperty(step);\r\n  }\r\n\r\n  get step() {\r\n    return this.result.step;\r\n  }\r\n\r\n  set filter_type(filter_type) {\r\n    this.result.filter_type = this.setProperty(filter_type);\r\n  }\r\n\r\n  get filter_type() {\r\n    return this.result.filter_type;\r\n  }\r\n\r\n  set filter_value(filter_value) {\r\n    this.result.filter_value = this.setProperty(filter_value);\r\n  }\r\n\r\n  get filter_value() {\r\n    return this.result.filter_value;\r\n  }\r\n\r\n  set social_network(social_network) {\r\n    this.result.social_network = this.setProperty(social_network);\r\n  }\r\n\r\n  get social_network() {\r\n    return this.result.social_network;\r\n  }\r\n\r\n  set social_action(social_action) {\r\n    this.result.social_action = this.setProperty(social_action);\r\n  }\r\n\r\n  get social_action() {\r\n    return this.result.social_action;\r\n  }\r\n\r\n  set event_detail(event_detail) {\r\n    this.result.event_detail = this.setProperty(event_detail);\r\n  }\r\n\r\n  get event_detail() {\r\n    return this.result.event_detail;\r\n  }\r\n\r\n  set productInfo(product_info) {\r\n    this.result.product_info = this.setProperty(product_info);\r\n  }\r\n\r\n  get productInfo() {\r\n    return this.result.product_info;\r\n  }\r\n\r\n  set productTab(product_tab) {\r\n    this.result.product_tab = this.setProperty(product_tab);\r\n  }\r\n\r\n  get productTab() {\r\n    return this.result.product_tab;\r\n  }\r\n\r\n  set position(position) {\r\n    this.result.position = this.setProperty(position);\r\n  }\r\n\r\n  get position() {\r\n    return this.result.position;\r\n  }\r\n\r\n  set click_action(click_action) {\r\n    this.result.click_action = this.setProperty(click_action);\r\n  }\r\n\r\n  get click_action() {\r\n    return this.result.click_action;\r\n  }\r\n}\r\n","import { AnalyticsVtoDetailObjectException } from '../errors/analyticsError';\r\nimport Logger from '../utils/analyticsLogger';\r\nimport DataObject from './DataObject';\r\nimport ProductObject from './ProductObject';\r\n\r\nexport default class VtoDetailObject extends DataObject {\r\n  constructor(data) {\r\n    super('nievent', data);\r\n\r\n    this.category = 'Ecommerce';\r\n    if (data.category) {\r\n      Logger.warn(\r\n        `[AnalyticsVtoDetailObjectException] Category always defaults to \"Ecommerce\" (L'Oréal guideline), currently [${data.category}] was provided`,\r\n        data,\r\n        false\r\n      );\r\n    }\r\n\r\n    this.action = 'Product Detail|VTO Initialization';\r\n    if (data.action) {\r\n      Logger.warn(\r\n        `[AnalyticsVtoDetailObjectException] Action always defaults to \"VTO Detail\" (L'Oréal guideline), currently [${data.action}] was provided`,\r\n        data,\r\n        false\r\n      );\r\n    }\r\n\r\n    this.label = 'VtoDetailObject';\r\n    if (data.label) {\r\n      this.label = data.label;\r\n    }\r\n\r\n    if (!data.products || data.products.length === 0) {\r\n      Logger.error('[AnalyticsVtoDetailObjectException] Product is required for vtoDetail', data);\r\n      throw new AnalyticsVtoDetailObjectException('Product is required for vtoDetail');\r\n    }\r\n  }\r\n\r\n  initEcommerce() {\r\n    this.result.ecommerce = this.result.ecommerce || {};\r\n    this.result.ecommerce.detail = this.result.ecommerce.detail || {};\r\n  }\r\n\r\n  set category(category) {\r\n    this.result.eventCategory = this.setProperty(category, false);\r\n  }\r\n\r\n  set action(action) {\r\n    this.result.eventAction = this.setProperty(action, false);\r\n  }\r\n\r\n  set label(label) {\r\n    this.result.eventLabel = this.setProperty(label, false);\r\n  }\r\n\r\n  set value(value) {\r\n    this.result.eventValue = this.setProperty(value);\r\n  }\r\n\r\n  set products(products) {\r\n    products = products.map((product) => new ProductObject(product).toObject());\r\n\r\n    this.initEcommerce();\r\n\r\n    this.result.ecommerce.detail.products = products;\r\n  }\r\n\r\n  get products() {\r\n    return (this.result.ecommerce && this.result.ecommerce.detail.products) || [];\r\n  }\r\n}\r\n","/* eslint-disable no-console */\r\nimport { debug } from '../../env/env';\r\n\r\nconst style = 'padding: 2px 6px; background: #111; color: #eee';\r\n\r\n/**\r\n * Logger\r\n */\r\nexport default {\r\n  /**\r\n   * Logs to the console when in debug mode\r\n   * @param {string} text Message to log\r\n   * @param {string} text Type of log (can be log, warn, error)\r\n   * @param {object} data Optional data object to log\r\n   * @param type\r\n   */\r\n\r\n  log(text, data, type = 'log', showData) {\r\n    if (debug) {\r\n      const types = [\r\n        { type: 'log', color: '#68b6f1', state: 'LOG' },\r\n        { type: 'warn', color: '#ff8800', state: 'WARNING' },\r\n        { type: 'error', color: '#FF0000', state: 'ERROR' },\r\n      ];\r\n\r\n      const str = [\r\n        `%c${types.find((t) => t.type === type).state} %c${text}`,\r\n        `padding: 2px 6px; background: #111; color:${types.find((t) => t.type === type).color}`,\r\n        style,\r\n      ];\r\n\r\n      console.group('AnalyticsHandler');\r\n      console.log(...str);\r\n      if (data && showData) {\r\n        if (data.event === 'uaevent') {\r\n          if (console.table) {\r\n            console.table(data);\r\n          }\r\n          console.log('%cAssociated raw data:', style);\r\n          console.log(JSON.stringify(data, null, 2));\r\n        } else {\r\n          console.log('%cAssociated raw data:', style);\r\n          console.log(JSON.stringify(data, null, 2));\r\n        }\r\n      }\r\n      console.groupEnd();\r\n    }\r\n  },\r\n\r\n  info(text, data, showData = true) {\r\n    this.log(text, data, 'log', showData);\r\n  },\r\n\r\n  warn(text, data, showData = true) {\r\n    this.log(text, data, 'warn', showData);\r\n  },\r\n\r\n  error(text, data, showData = true) {\r\n    this.log(text, data, 'error', showData);\r\n  },\r\n};\r\n","import { nextTick } from 'vue';\r\n\r\nlet i = 0;\r\n\r\nexport const scrollCallback = (node, className) => {\r\n  const rect = node.getBoundingClientRect();\r\n  const top =\r\n    (window.scrollY || document.documentElement.scrollTop) -\r\n    (document.documentElement.clientTop || 0);\r\n  /* istanbul ignore else */\r\n  if (rect.bottom < window.innerHeight + 200 || (top <= 200 && i === 0)) {\r\n    i++;\r\n    node.classList.add(className);\r\n  }\r\n  window.removeEventListener('scroll', scrollCallback);\r\n};\r\n\r\nexport const animateOnInview = {\r\n  name: 'animate-on-inview',\r\n  beforeMount: (el, binding) => {\r\n    const className = binding.value.class; // eslint-disable-line\r\n    /**\r\n     * stop executing if className is missing\r\n     * element.classList.add() will throw an error if className is empty\r\n     */\r\n    if (!className) return;\r\n\r\n    // TODO: is this correct or should async/await be used?\r\n    nextTick(() => {\r\n      scrollCallback(el, className);\r\n    });\r\n\r\n    window.addEventListener(\r\n      'scroll',\r\n      () => {\r\n        scrollCallback(el, className);\r\n      },\r\n      false\r\n    );\r\n  },\r\n};\r\n","import { debounce, intersectionViewportObserver } from '../../utilities';\r\n\r\nexport const getWidth = () => {\r\n  return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;\r\n};\r\n\r\nexport const getBackground = (backgrounds, sizes, currentWidth = getWidth()) => {\r\n  if (typeof backgrounds === 'string') {\r\n    return backgrounds;\r\n  }\r\n  const lastMatchingKey = sizes.filter((size) => currentWidth >= size).shift();\r\n  return backgrounds[lastMatchingKey];\r\n};\r\n\r\nexport const updateBackground = (el, backgrounds, sizes) => {\r\n  el.style.backgroundImage = `url('${getBackground(backgrounds, sizes)}')`;\r\n};\r\n\r\nexport const addLoadedClass = (el, className = 'oap-v-background--lazyloaded', delay = 100) => {\r\n  setTimeout(() => {\r\n    el.classList.add(className);\r\n  }, delay);\r\n};\r\n\r\nexport const background = {\r\n  name: 'background',\r\n\r\n  beforeMount: (el, { value: backgrounds }) => {\r\n    if (backgrounds && Object.keys(backgrounds).length) {\r\n      const keys = Object.keys(backgrounds).reverse();\r\n      const updateBackgroundCallback = updateBackground.bind(null, el, backgrounds, keys);\r\n\r\n      el.classList.add('oap-v-background');\r\n\r\n      intersectionViewportObserver(el, { checkIsVisible: false }).then(() => {\r\n        updateBackgroundCallback();\r\n        addLoadedClass(el);\r\n        window.addEventListener('resize', debounce(updateBackgroundCallback, 200));\r\n      });\r\n    }\r\n  },\r\n};\r\n","import eventBus from '@loreal/eventbus-js';\r\n\r\nexport const bus = {\r\n  name: 'bus',\r\n  beforeMount: (el, { modifiers, value }) => {\r\n    if (!modifiers || 'object' !== typeof modifiers) return;\r\n\r\n    Object.keys(modifiers).forEach((eventName) => {\r\n      if (eventName !== 'prevent') {\r\n        el.addEventListener(eventName, (e) => {\r\n          if (eventName === 'click' && modifiers.prevent) {\r\n            e.preventDefault();\r\n          }\r\n          if (value.eventName) {\r\n            modifiers.withevent\r\n              ? eventBus.emit(value.eventName, { event: e, payload: value.payload })\r\n              : eventBus.emit(value.eventName, value.payload);\r\n          } else {\r\n            modifiers.withevent ? eventBus.emit(value, e) : eventBus.emit(value);\r\n          }\r\n        });\r\n      }\r\n    });\r\n  },\r\n};\r\n","import includes from 'lodash.includes';\r\nimport eventBus from '@loreal/eventbus-js';\r\n\r\nconst injectedUrls = [];\r\nconst bvReviewsContainerClass = '.bvReviews.reviews-container';\r\n\r\nexport function loaded(binding) {\r\n  const tag = document.createElement('script');\r\n  const head = document.getElementsByTagName('head')[0];\r\n\r\n  tag.src = binding.url;\r\n  tag.async = true;\r\n\r\n  if (binding.attributes) {\r\n    Object.keys(binding.attributes).forEach((key) => {\r\n      tag.setAttribute(key, binding.attributes[key]);\r\n    });\r\n  }\r\n\r\n  head.appendChild(tag);\r\n\r\n  /* istanbul ignore next */\r\n  tag.onload = () => fireLoadedEvent(binding.name, binding.url);\r\n}\r\n\r\nexport function bvReturnUrl() {\r\n  let lengthRW = document.querySelectorAll(bvReviewsContainerClass).length;\r\n  let enableRedirect =\r\n    lengthRW > 0\r\n      ? document.querySelector(bvReviewsContainerClass).getAttribute('data-enableredirect')\r\n      : '';\r\n  let dataReturnUrl =\r\n    lengthRW > 0\r\n      ? document.querySelector(bvReviewsContainerClass).getAttribute('data-returnurl')\r\n      : '';\r\n  if (\r\n    typeof $BV != 'undefined' &&\r\n    enableRedirect.toLowerCase() === 'true' &&\r\n    dataReturnUrl != null\r\n  ) {\r\n    $BV.configure('global', { returnUrl: dataReturnUrl });\r\n  }\r\n}\r\n\r\nexport function fireLoadedEvent(name, url) {\r\n  eventBus.emit('script.loaded', { name, url });\r\n  bvReturnUrl();\r\n}\r\n\r\nexport const loadscript = {\r\n  name: 'loadscript',\r\n  beforeMount: (el, binding) => {\r\n    if (binding.value && binding.value.url && !includes(injectedUrls, binding.value.url)) {\r\n      injectedUrls.push(binding.value.url);\r\n      loaded(binding.value);\r\n    }\r\n  },\r\n};\r\n","import { debounce } from '../../utilities/timing';\r\n\r\nconst OAP_ACCOUNT_NAVIGATION_CLASS = '.oap-account-navigation';\r\nconst OAP_HEADER_CLASS = '.oap-header';\r\nconst OAP_SIGNED_IN_ELEMENTS_CLASS = '.oap-header__signed-elements';\r\n\r\nexport const OAP_HEADER_HEIGHT_CSS_VARIABLE = '--oap-header-height';\r\nexport const OAP_HEADER_TOTAL_HEIGHT_CSS_VARIABLE = '--oap-header-total-height';\r\nexport const OAP_HEADER_MAIN_HEIGHT_CSS_VARIABLE = '--oap-header-main-height';\r\nconst LANGUAGE_SWITCHER_CLASS = '.languageSwitchBanner';\r\nconst COOKIE_BANNER_CLASS = '.cookie-banner';\r\nconst LIVESTREAM_CLASS = '.oap-livestream';\r\n\r\nconst MINIMUM_NAVIGATION_HEIGHT = 72;\r\n\r\nexport const getElementCurrentHeight = (el) => {\r\n  const elHeight = window.getComputedStyle(el).height;\r\n  return elHeight === 'auto' ? el.getBoundingClientRect().height : elHeight;\r\n};\r\n\r\nexport const updateCurrentNavigationHeight = (el) => {\r\n  const newHeight = Number.parseInt(getElementCurrentHeight(el));\r\n  let totalHeight = newHeight;\r\n  let mainHeaderHeight = newHeight;\r\n  const myAccountNavigation = el\r\n    .closest(OAP_HEADER_CLASS)\r\n    .querySelector(OAP_ACCOUNT_NAVIGATION_CLASS);\r\n  const signedInElements = el.querySelector(OAP_SIGNED_IN_ELEMENTS_CLASS);\r\n  const languageSwitcher = el.querySelector(LANGUAGE_SWITCHER_CLASS);\r\n  const cookiesBanner = el.querySelector(COOKIE_BANNER_CLASS);\r\n  const livestream = el.querySelector(LIVESTREAM_CLASS);\r\n\r\n  if (signedInElements) {\r\n    mainHeaderHeight =\r\n      Number.parseInt(newHeight) - Number.parseInt(getElementCurrentHeight(signedInElements));\r\n  }\r\n\r\n  if (languageSwitcher) {\r\n    mainHeaderHeight =\r\n      mainHeaderHeight - Number.parseInt(getElementCurrentHeight(languageSwitcher));\r\n  }\r\n  if (cookiesBanner) {\r\n    mainHeaderHeight = mainHeaderHeight - Number.parseInt(getElementCurrentHeight(cookiesBanner));\r\n  }\r\n\r\n  if (livestream) {\r\n    mainHeaderHeight = mainHeaderHeight - Number.parseInt(getElementCurrentHeight(livestream));\r\n  }\r\n\r\n  if (myAccountNavigation) {\r\n    totalHeight =\r\n      Number.parseInt(newHeight) + Number.parseInt(getElementCurrentHeight(myAccountNavigation));\r\n  }\r\n\r\n  return {\r\n    totalHeight: `${\r\n      totalHeight > MINIMUM_NAVIGATION_HEIGHT ? totalHeight : MINIMUM_NAVIGATION_HEIGHT\r\n    }px`,\r\n    mainHeight: `${\r\n      mainHeaderHeight > MINIMUM_NAVIGATION_HEIGHT ? mainHeaderHeight : MINIMUM_NAVIGATION_HEIGHT\r\n    }px`,\r\n    newHeight: `${newHeight > MINIMUM_NAVIGATION_HEIGHT ? newHeight : MINIMUM_NAVIGATION_HEIGHT}px`,\r\n  };\r\n};\r\n\r\nexport const updateVariablesFunction = (el) => {\r\n  const { totalHeight, mainHeight, newHeight } = updateCurrentNavigationHeight(el);\r\n  document.body.style.setProperty(OAP_HEADER_MAIN_HEIGHT_CSS_VARIABLE, mainHeight);\r\n\r\n  document.body.style.setProperty(OAP_HEADER_HEIGHT_CSS_VARIABLE, newHeight);\r\n\r\n  document.body.style.setProperty(OAP_HEADER_TOTAL_HEIGHT_CSS_VARIABLE, totalHeight);\r\n};\r\n\r\nexport const mounted = (el) => {\r\n  const languageSwitcher = el.querySelector(LANGUAGE_SWITCHER_CLASS);\r\n  const cookiesBanner = el.querySelector(COOKIE_BANNER_CLASS);\r\n  let resizeObserver;\r\n  if (languageSwitcher && Number.parseInt(getElementCurrentHeight(languageSwitcher))) {\r\n    resizeObserver = new ResizeObserver(\r\n      debounce(() => {\r\n        updateVariablesFunction(el);\r\n      }),\r\n      25\r\n    );\r\n\r\n    resizeObserver.observe(languageSwitcher);\r\n  } else if (cookiesBanner && Number.parseInt(getElementCurrentHeight(cookiesBanner))) {\r\n    resizeObserver = new ResizeObserver(\r\n      debounce(() => {\r\n        updateVariablesFunction(el);\r\n      }, 200)\r\n    );\r\n\r\n    resizeObserver.observe(cookiesBanner);\r\n  } else {\r\n    updateVariablesFunction(el);\r\n  }\r\n\r\n  setTimeout(() => {\r\n    updateVariablesFunction(el);\r\n  }, 700);\r\n};\r\n\r\nexport const navigationHeight = {\r\n  name: 'navigation-height',\r\n  mounted,\r\n};\r\n","export const toggleClass = {\r\n  name: 'toggle-class',\r\n\r\n  mounted: (el, { modifiers, value }) => {\r\n    const events = Object.keys(modifiers);\r\n    const { className } = value;\r\n    const trigger = value.trigger ? document.querySelector(value.trigger) : el;\r\n    const target = value.target ? document.querySelector(value.target) : null;\r\n\r\n    events.forEach((event) => {\r\n      trigger.addEventListener(event, () => {\r\n        target ? target.classList.toggle(className) : el.classList.toggle(className);\r\n      });\r\n    });\r\n  },\r\n};\r\n","/**\r\n * Profile\r\n * @type {boolean}\r\n */\r\nexport let debug = process.env.NODE_ENV === 'development';\r\n","window.$INJECTED_URLS = {};\r\n\r\n/**\r\n *\r\n */\r\nexport default {\r\n  /**\r\n   *\r\n   * @param url\r\n   * @returns {boolean}\r\n   */\r\n  hasScript(url) {\r\n    return window.$INJECTED_URLS[url];\r\n  },\r\n\r\n  /**\r\n   *\r\n   * @param url\r\n   * @param options\r\n   * @returns {*}\r\n   */\r\n  injectScript(url, options = {}) {\r\n    if (!this.hasScript(url)) {\r\n      const tag = document.createElement('script');\r\n      const head = document.getElementsByTagName('head')[0];\r\n\r\n      tag.src = url;\r\n      tag.async = options.async !== undefined ? options.async : true;\r\n      tag.type = 'application/javascript';\r\n\r\n      Object.keys(options)\r\n        .filter((key) => key !== 'async')\r\n        .forEach((key) => {\r\n          /* istanbul ignore else */\r\n          if (options[key]) {\r\n            tag.setAttribute(key, options[key]);\r\n          }\r\n        });\r\n\r\n      window.$INJECTED_URLS[url] = new Promise((resolve) => {\r\n        tag.addEventListener('load', resolve);\r\n        head.appendChild(tag);\r\n      });\r\n\r\n      return window.$INJECTED_URLS[url];\r\n    }\r\n\r\n    return Promise.resolve().then(() => window.$INJECTED_URLS[url]);\r\n  },\r\n};\r\n","import { intersectionViewportObserver } from '../../utilities/intersectionViewportObserver';\r\n\r\nexport const USER_INTERACTION_EVENT_TYPES_ALL = [\r\n  'mousemove',\r\n  'scroll',\r\n  'keyup',\r\n  'keydown',\r\n  'touchstart',\r\n  'click',\r\n];\r\nexport const USER_INTERACTION_EVENT_SCROLL = ['scroll', 'touchstart'];\r\n\r\nconst USER_INTERACTION_EVENT_COMPLETE = 'interacted';\r\n\r\nexport const userInteractionEvent = (eventTypes, node, onComplete) => {\r\n  eventTypes.forEach((event) => {\r\n    window.addEventListener(event, onComplete);\r\n  });\r\n};\r\n\r\nexport const isElementVisible = (node, options) => {\r\n  intersectionViewportObserver(node, options);\r\n};\r\n\r\nexport const userInteraction = {\r\n  name: 'user-interaction',\r\n  beforeMount: (el, bindings, vnode) => {\r\n    const { modifiers } = bindings;\r\n    const done = () => {\r\n      USER_INTERACTION_EVENT_TYPES_ALL.forEach((event) => {\r\n        window.removeEventListener(event, done);\r\n      });\r\n\r\n      if (vnode.componentInstance) {\r\n        vnode.componentInstance.$emit(USER_INTERACTION_EVENT_COMPLETE);\r\n      } else {\r\n        vnode.el.dispatchEvent(new CustomEvent(USER_INTERACTION_EVENT_COMPLETE));\r\n      }\r\n    };\r\n\r\n    if (modifiers.scroll) {\r\n      userInteractionEvent(USER_INTERACTION_EVENT_SCROLL, vnode, done);\r\n    } else if (modifiers.visible) {\r\n      const node = vnode.componentInstance || vnode.el;\r\n      isElementVisible(node, { callbackBeforeResolve: done });\r\n    } else {\r\n      userInteractionEvent(USER_INTERACTION_EVENT_TYPES_ALL, vnode, done);\r\n    }\r\n  },\r\n};\r\n","import InjectScript from '../../loadscript/injectscript';\r\nimport {\r\n  USER_INTERACTION_EVENT_TYPES_ALL,\r\n  USER_INTERACTION_EVENT_SCROLL,\r\n  userInteractionEvent,\r\n} from '../userInteraction/userInteraction';\r\nimport { intersectionViewportObserver } from '../../utilities/intersectionViewportObserver';\r\n\r\nconst ON_SCRIPT_LOAD = 'loaded';\r\n\r\nexport const injectScriptFunction = (value, vnode) => {\r\n  const { async, crossorigin, integrity, name, src, url } = value;\r\n\r\n  InjectScript.injectScript(src || url, {\r\n    async: async || true,\r\n    crossorigin,\r\n    integrity,\r\n    name,\r\n  }).then(() => {\r\n    if (vnode.componentInstance) {\r\n      vnode.componentInstance.$emit(ON_SCRIPT_LOAD);\r\n    } else {\r\n      vnode.elm?.dispatchEvent(new CustomEvent(ON_SCRIPT_LOAD));\r\n    }\r\n  });\r\n};\r\n\r\nexport const lazyScript = {\r\n  name: 'lazy-script',\r\n  beforeMount: (el, bindings, vnode) => {\r\n    const { value, modifiers } = bindings;\r\n    const onComplete = () => {\r\n      USER_INTERACTION_EVENT_TYPES_ALL.forEach((event) => {\r\n        window.removeEventListener(event, onComplete);\r\n      });\r\n\r\n      injectScriptFunction(value, vnode);\r\n    };\r\n\r\n    if (modifiers.scroll) {\r\n      userInteractionEvent(USER_INTERACTION_EVENT_SCROLL, vnode, onComplete);\r\n    } else if (modifiers.visible) {\r\n      intersectionViewportObserver(el, { checkIsVisible: true, threshold: [0.006] }).then(() => {\r\n        injectScriptFunction(value, vnode);\r\n      });\r\n    } else if (modifiers.onload) {\r\n      window.addEventListener('load', () => {\r\n        injectScriptFunction(value, vnode);\r\n        window.removeEventListener('load', onComplete);\r\n      });\r\n    } else {\r\n      userInteractionEvent(USER_INTERACTION_EVENT_TYPES_ALL, vnode, onComplete);\r\n    }\r\n  },\r\n};\r\n","/* istanbul ignore next */\r\nconst svgA11yHandlerInit = () => {\r\n  /* Find the element with id \"SvgjsSvg1001\" that SVG.js adds to the document */\r\n  const SVGjsSVG = document.getElementById('SvgjsSvg1001');\r\n\r\n  if (SVGjsSVG) {\r\n    if (SVGjsSVG.getAttribute('aria-hidden') !== undefined) {\r\n      /* To follow the a11y rules we need to add \"aria-hidden\" attribute to it */\r\n      SVGjsSVG.setAttribute('aria-hidden', true);\r\n    }\r\n  }\r\n};\r\n\r\n/* istanbul ignore next */\r\nexport const svgA11yHandler = (function () {\r\n  document.addEventListener('DOMContentLoaded', () => {\r\n    /* istanbul ignore next */\r\n    if (window.SVG) {\r\n      setTimeout(() => {\r\n        svgA11yHandlerInit();\r\n      }, 2000);\r\n    }\r\n  });\r\n})();\r\n","export const mixinParseURL = {\r\n  methods: {\r\n    /**\r\n     * URLHasKey\r\n     *\r\n     * parse URL search parameters and look for a given key.\r\n     *\r\n     * /!\\ URLSearchParams unsupported on ie.\r\n     *\r\n     * @param {string}   key          key to be found in search param (query string)\r\n     * @param {URL}      [URLObject]  Optional URL object to be parsed instead of window.location\r\n     *\r\n     * @return {boolean}\r\n     */\r\n    URLHasKey(key, URLObject) {\r\n      const url = URLObject || window.location,\r\n        searchString = url.search,\r\n        searchParams = new URLSearchParams(searchString);\r\n\r\n      return searchParams.has(key);\r\n    },\r\n  },\r\n};\r\n","import { debounce, intersectionViewportObserver } from '@Foundation';\r\n\r\nexport const getBackground = (backgrounds, windowWidth) => {\r\n  if (typeof backgrounds === 'string') {\r\n    return backgrounds;\r\n  }\r\n\r\n  const currentWidth = windowWidth || document.documentElement.clientWidth;\r\n  const keys = Object.keys(backgrounds).reverse();\r\n  const lastMatchingKey = keys.filter((key) => currentWidth >= key).shift();\r\n  return backgrounds[lastMatchingKey];\r\n};\r\n\r\nexport const getPicSize = (url) => {\r\n  const imgHQuery = url.match(/ch=(.*?)&/g) || null;\r\n  const imgWQuery = url.match(/cw=(.*?)&/g) || null;\r\n  let imgW = null;\r\n  let imgH = null;\r\n\r\n  /* istalbul ignore next */\r\n  if (!!imgWQuery && !!imgHQuery) {\r\n    imgH = imgHQuery[0].substring(3, imgHQuery[0].length - 1);\r\n    imgW = imgWQuery[0].substring(3, imgWQuery[0].length - 1);\r\n  }\r\n\r\n  return imgW && imgH ? `(${imgW}/${imgH})` : null;\r\n};\r\n\r\nexport const srcset = {\r\n  name: 'srcset',\r\n  mounted: (el, binding) => {\r\n    const updateBackground = () => {\r\n      const url = getBackground(binding.value);\r\n      if (el.tagName.toLowerCase() !== 'img') {\r\n        getPicSize(url) && el.classList.contains('image');\r\n        el.style.backgroundImage = `url('${url}')`;\r\n      } else {\r\n        getPicSize(url) && el.parentElement.classList.contains('image');\r\n        el.src = url;\r\n      }\r\n    };\r\n    if (window.location && window.location.hash) {\r\n      updateBackground();\r\n      setTimeout(() => {\r\n        el.classList.add('-loaded');\r\n      }, 100);\r\n    } else {\r\n      intersectionViewportObserver(el, { checkIsVisible: false, threshold: [0.006] }).then(() => {\r\n        updateBackground();\r\n\r\n        el.listener = debounce(updateBackground, 200);\r\n        window.addEventListener('resize', el.listener);\r\n\r\n        setTimeout(() => {\r\n          el.classList.add('-loaded');\r\n        }, 100);\r\n      });\r\n    }\r\n  },\r\n\r\n  unmounted(el) {\r\n    if (el.listener) {\r\n      window.removeEventListener('resize', el.listener);\r\n    }\r\n  },\r\n};\r\n","import eventBus from '@loreal/eventbus-js';\r\n\r\n/* istanbul ignore next */\r\ndocument.addEventListener('lazybeforeunveil', (event) =>\r\n  eventBus.emit('image.lazybeforeunveil', event)\r\n);\r\n\r\nexport const imageloaded = {\r\n  name: 'imageloaded',\r\n  beforeMount: (el) => {\r\n    const lazyImage = el.querySelector('.lazyload');\r\n\r\n    eventBus.on('image.lazybeforeunveil', (event) => {\r\n      /* istanbul ignore else */\r\n      if (event.target === lazyImage) {\r\n        el.classList.remove('image__loading');\r\n      }\r\n    });\r\n  },\r\n};\r\n","import { debounce } from '../../utilities/timing';\r\n\r\nexport const recommendedProducts = {\r\n  // eslint-disable-line\r\n  name: 'recommended-products',\r\n  beforeMount: (el) => {\r\n    const resizeTimer = 100;\r\n    const timeoutTimer = 200;\r\n    const maxWidthLimit = 580;\r\n    const itemToBeObserved = el.querySelectorAll('.slider__content');\r\n\r\n    const updateSliderPosition = () => {\r\n      const sliderFirstTile = el.querySelector('.slider__item');\r\n      const simplebarTrackHorizontal = el.querySelector('.simplebar-track.horizontal');\r\n\r\n      const articleHeading = document.querySelector('.articleHeader__heading');\r\n\r\n      let articleHeadingLeft =\r\n        articleHeading.getBoundingClientRect().x || articleHeading.getBoundingClientRect().left;\r\n\r\n      if (articleHeadingLeft > maxWidthLimit) {\r\n        articleHeadingLeft = maxWidthLimit;\r\n      }\r\n\r\n      sliderFirstTile.style.marginLeft = `${articleHeadingLeft}px`;\r\n      simplebarTrackHorizontal.style.transform = `translateX(${articleHeadingLeft}px)`;\r\n    };\r\n\r\n    setTimeout(() => {\r\n      updateSliderPosition();\r\n    }, timeoutTimer);\r\n\r\n    window.addEventListener(\r\n      'resize',\r\n      debounce(() => {\r\n        updateSliderPosition();\r\n      }, resizeTimer)\r\n    );\r\n\r\n    const observer = new MutationObserver(() => {\r\n      updateSliderPosition();\r\n    });\r\n\r\n    observer.observe(itemToBeObserved[1], { childList: true });\r\n  },\r\n};\r\n","// eslint-disable-next-line sonarjs/no-duplicate-string\r\nconst ARIA_SELECTED = 'aria-selected',\r\n  TABINDEX = 'tabindex';\r\n\r\nlet labels;\r\nlet currentLabelIndex = 0;\r\n\r\nexport const toggleTab = (index, labels) => {\r\n  labels.forEach((label) => {\r\n    label.setAttribute(TABINDEX, '-1');\r\n    label.setAttribute(ARIA_SELECTED, false);\r\n  });\r\n  labels[index].setAttribute(TABINDEX, 0);\r\n  labels[index].setAttribute(ARIA_SELECTED, true);\r\n  labels[index].focus();\r\n};\r\n\r\nexport const setChecked = (id) => {\r\n  const elem = document.querySelector(`#${id}`);\r\n  elem.checked = true;\r\n};\r\n\r\nexport const labelFocusHandler = (event) => {\r\n  event.target.addEventListener('keyup', (event) => {\r\n    /* istanbul ignore next */\r\n    if (event.code === 'ArrowLeft') {\r\n      if (currentLabelIndex !== 0) {\r\n        currentLabelIndex--;\r\n      } else if (currentLabelIndex === 0) {\r\n        currentLabelIndex = labels.length - 1;\r\n      }\r\n    } else if (event.code === 'ArrowRight') {\r\n      if (currentLabelIndex !== labels.length - 1) {\r\n        currentLabelIndex++;\r\n      } else if (currentLabelIndex === labels.length - 1) {\r\n        currentLabelIndex = 0;\r\n      }\r\n    }\r\n    /* istanbul ignore next */\r\n    setChecked(labels[currentLabelIndex].getAttribute('data-for'));\r\n    /* istanbul ignore next */\r\n    toggleTab(currentLabelIndex, labels);\r\n  });\r\n};\r\n\r\nexport const faqToggleActive = {\r\n  name: 'faq-toggle-active',\r\n  beforeMount: (elem) => {\r\n    labels = elem.querySelectorAll('li');\r\n    labels[0].setAttribute(ARIA_SELECTED, 'true');\r\n    labels.forEach((label) => {\r\n      /* istanbul ignore next */\r\n      label.addEventListener('click', (event) => {\r\n        const eventTargetIndex = Array.prototype.indexOf.call(labels, event.target),\r\n          offset = 30,\r\n          tabOffset = labels[eventTargetIndex].offsetLeft;\r\n\r\n        toggleTab(eventTargetIndex, labels);\r\n        setChecked(event.target.getAttribute('data-for'));\r\n        labels[eventTargetIndex].parentNode.scrollLeft = tabOffset ? tabOffset - offset : 0;\r\n      });\r\n      label.addEventListener('focus', labelFocusHandler);\r\n      /* istanbul ignore next */\r\n      label.addEventListener('blur', () => {\r\n        label.removeEventListener('focus', labelFocusHandler);\r\n        document.removeEventListener('keyup', labelFocusHandler);\r\n      });\r\n    });\r\n  },\r\n};\r\n","import { nextTick } from 'vue';\r\n\r\nexport const scrollCallback = (node, className, threshold = window.innerHeight / 2) => {\r\n  const rect = node.getBoundingClientRect();\r\n\r\n  if (rect.height < threshold) {\r\n    threshold = window.innerHeight / 5;\r\n  }\r\n\r\n  if (rect.bottom < threshold) {\r\n    node.classList.add(className);\r\n  } else {\r\n    node.classList.remove(className);\r\n  }\r\n};\r\n\r\nexport const animateOnScroll = {\r\n  name: 'animate-on-scroll',\r\n  beforeMount: (el, binding) => {\r\n    const className = binding.value.class; // eslint-disable-line\r\n\r\n    // TODO: is this correct or should async/await be used?\r\n    nextTick(() => {\r\n      scrollCallback(el, className);\r\n    });\r\n\r\n    window.addEventListener('scroll', () => {\r\n      /* istanbul ignore next */\r\n      scrollCallback(el, className);\r\n    });\r\n  },\r\n};\r\n","export const changeStyleOnHover = {\r\n  name: 'change-style-on-hover',\r\n\r\n  beforeMount: function (el, binding) {\r\n    el.addEventListener('mouseover', () => {\r\n      /* istanbul ignore next */\r\n      el.style[binding.arg] = binding.value;\r\n    });\r\n\r\n    el.addEventListener('mouseleave', () => {\r\n      /* istanbul ignore next */\r\n      el.style.removeProperty(binding.arg);\r\n    });\r\n  },\r\n};\r\n","export const clickextension = { // eslint-disable-line\r\n  beforeMount: (el, binding) => {\r\n    const element = el;\r\n    const clickableElements = binding.value.split(',');\r\n    let link = element.querySelector('a');\r\n\r\n    // if there is no link - let's query for a button then\r\n    if (!link) {\r\n      link = element.querySelector('button');\r\n    }\r\n\r\n    el.style.cursor = 'pointer';\r\n\r\n    clickableElements.forEach((elem) => {\r\n      let currentElements;\r\n      try {\r\n        currentElements = Array.from(element.querySelectorAll(elem));\r\n\r\n        if (!currentElements || currentElements.length === 0) return;\r\n\r\n        currentElements.forEach((el) => {\r\n          el.addEventListener('click', () => link.click());\r\n        });\r\n      } catch (ex) {\r\n        // fail silently\r\n      }\r\n    });\r\n  },\r\n};\r\n","import { debounce } from '../../utilities';\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { nextTick } from 'vue';\r\n\r\nexport const getSmallestOffsetHeightOf = (selector) =>\r\n  Math.min(...Array.from(document.querySelectorAll(selector)).map((el) => el.offsetHeight));\r\nexport const updateStickyOffsetProperty = (containerNode, itemsSelector) =>\r\n  containerNode.style.setProperty(\r\n    '--sticky-offset',\r\n    `calc(100vh - ${getSmallestOffsetHeightOf(itemsSelector)}px)`\r\n  );\r\n\r\nexport const stickyOffset = {\r\n  beforeMount: (el, { value }) => {\r\n    const update = updateStickyOffsetProperty.bind(null, el, value);\r\n\r\n    // TODO: is this correct or should async/await be used?\r\n    nextTick(() => {\r\n      update();\r\n      window.addEventListener('resize', debounce(update, 200));\r\n    });\r\n\r\n    eventBus.on('update-sticky-offset', (payload) => {\r\n      if (payload === value) update();\r\n    });\r\n  },\r\n};\r\n","import { nextTick } from 'vue';\r\nimport { debounce } from '../../utilities';\r\n\r\nexport const getOnViewState = (e) => {\r\n  const topIn = e.boundingClientRect.top >= 0 && e.boundingClientRect.top <= e.rootBounds.height;\r\n  const bottomIn =\r\n    e.boundingClientRect.bottom >= 0 && e.boundingClientRect.bottom <= e.rootBounds.height;\r\n\r\n  return {\r\n    // Not intersecting\r\n    'is-below': !e.isIntersecting && e.boundingClientRect.top > 0,\r\n    'is-above': !e.isIntersecting && e.boundingClientRect.top < 0,\r\n    // Intersecting\r\n    'is-on-view': e.isIntersecting,\r\n    'is-entering': e.isIntersecting && topIn && !bottomIn,\r\n    'is-covering':\r\n      e.isIntersecting && e.target.offsetHeight >= e.rootBounds.height && !topIn && !bottomIn,\r\n    'is-contained':\r\n      e.isIntersecting && e.target.offsetHeight < e.rootBounds.height && topIn && bottomIn,\r\n    'is-leaving': e.isIntersecting && !topIn && bottomIn,\r\n  };\r\n};\r\n\r\nexport const updateClassList = (prefix, node, state, context) => {\r\n  Object.entries(state).map(([key, value]) => {\r\n    node.classList.toggle(`${context !== 'element' ? prefix : ''}--${key}`, value);\r\n  });\r\n};\r\n\r\nexport const createObserver = function (el, config) {\r\n  const threshold = [0, 1];\r\n  const screenElRatio =\r\n    Math.max(document.documentElement.clientHeight || 0, window.innerHeight || 0) / el.offsetHeight;\r\n  // add steps to threshold so it observe when element covers the screen\r\n  if (screenElRatio < 1) threshold.push(screenElRatio);\r\n\r\n  const observer = new IntersectionObserver(\r\n    ([e]) => {\r\n      const state = getOnViewState(e);\r\n\r\n      Object.entries(config.classHelpers).map(([context, option]) => {\r\n        if (option.is === true) updateClassList(config.prefix, option.selector, state, context);\r\n      });\r\n    },\r\n    { threshold }\r\n  );\r\n\r\n  const resizeCallback = () => {\r\n    observer.unobserve(el);\r\n    window.removeEventListener('resize', resizeCallback);\r\n  };\r\n\r\n  observer.observe(el);\r\n  window.addEventListener('resize', resizeCallback);\r\n};\r\n\r\nexport const viewPositionHelper = {\r\n  beforeMount: (el, binding) => {\r\n    const config = { prefix: binding.value || el.id };\r\n\r\n    if (!config.prefix && binding.modifiers.body)\r\n      throw `${binding.name}: 'custom-identifier'|id is needed to prefix body classes`;\r\n\r\n    config.classHelpers = {\r\n      element: {\r\n        is: binding.modifiers.el,\r\n        selector: el,\r\n      },\r\n      body: {\r\n        is: binding.modifiers.body,\r\n        selector: document.body,\r\n      },\r\n    };\r\n\r\n    // TODO: is this correct or should async/await be used?\r\n    nextTick(createObserver.bind(null, el, config));\r\n\r\n    window.addEventListener('resize', debounce(createObserver.bind(null, el, config), 200));\r\n  },\r\n};\r\n","import { nextTick } from 'vue';\r\nconst mqlMap = new Map();\r\nconst entriesMap = new Map();\r\nconst handlers = { i: -1, arr: [] };\r\nconst screenSmallMax = '(max-width: 31.9375rem)';\r\nconst defaultConfig = {\r\n  mql: screenSmallMax,\r\n  group: 'default',\r\n};\r\n\r\nconst updateDom = (e) => {\r\n  const leftIn =\r\n    e.force !== undefined\r\n      ? e.force\r\n      : e.boundingClientRect.left >= 0 && e.boundingClientRect.left <= e.rootBounds.width;\r\n  const rightIn =\r\n    e.force !== undefined\r\n      ? e.force\r\n      : e.boundingClientRect.right >= 0 && e.boundingClientRect.right <= e.rootBounds.width;\r\n\r\n  e.target.classList.toggle(`is-intersecting`, leftIn && rightIn);\r\n};\r\n\r\nlet observer;\r\n\r\nconst mqlHandler = (mql, entries) => {\r\n  observer =\r\n    observer ||\r\n    new IntersectionObserver(\r\n      (entries) => {\r\n        for (let e of entries) {\r\n          updateDom(e);\r\n          // requestAnimationFrame(() => updateDom(e))\r\n          // requestIdleCallback(() => requestAnimationFrame(() => updateDom(e)));\r\n        }\r\n      },\r\n      { threshold: [1] }\r\n    );\r\n\r\n  for (let el of entries) {\r\n    if (mql.matches) {\r\n      observer.observe(el);\r\n    } else {\r\n      observer.unobserve(el);\r\n      updateDom({ target: el, force: false });\r\n    }\r\n  }\r\n};\r\n\r\nconst beforeMount = (el, { value = {} }) => {\r\n  const { mql = defaultConfig.mql, group = defaultConfig.group } = value;\r\n  const key = JSON.stringify({ mql, group });\r\n\r\n  if (!('IntersectionObserver' in window) || value.placeholder) return;\r\n\r\n  if (!mqlMap.get(key)) {\r\n    handlers.i++;\r\n    mqlMap.set(key, window.matchMedia(mql));\r\n    entriesMap.set(key, []);\r\n    handlers.arr.push(mqlHandler.bind(null, mqlMap.get(key), entriesMap.get(key)));\r\n    mqlMap.get(key).addListener(handlers.arr[handlers.i]);\r\n    nextTick(handlers.arr[handlers.i]);\r\n  }\r\n\r\n  entriesMap.get(key).push(el);\r\n};\r\n\r\nconst unmounted = (el, { value = {} }) => {\r\n  const { mql = defaultConfig.mql, group = defaultConfig.group } = value;\r\n  const key = JSON.stringify({ mql, group });\r\n\r\n  if (!('IntersectionObserver' in window) || value.placeholder) return;\r\n\r\n  if (mqlMap.get(key)) {\r\n    mqlMap.get(key).removeListener(handlers.arr[handlers.i]);\r\n    mqlMap.delete(key);\r\n    entriesMap.delete(key);\r\n    handlers.arr.splice(handlers.i, 1);\r\n    handlers.i--;\r\n  }\r\n};\r\n\r\nexport const isIntersectingX = {\r\n  name: 'is-intersecting-x',\r\n  beforeMount,\r\n  unmounted,\r\n};\r\n","export const toggle = (state, dataset, img, { currentTarget: el }) => {\r\n  let media;\r\n  state.play = !state.play;\r\n  media = state.play ? 'gif' : 'img';\r\n  img.src = dataset[media].src;\r\n  img.srcset = dataset[media].srcset;\r\n  el.classList.toggle('-paused', !state.play);\r\n};\r\n\r\nexport const beforeMount = (el) => {\r\n  /* istanbul ignore next */\r\n  const control = el.querySelector('.gif__control'),\r\n    img = el.querySelector('.gif_media'),\r\n    state = { play: true },\r\n    dataset = {\r\n      img: {\r\n        src: img.dataset.placeholder,\r\n        srcset: img.dataset.placeholder,\r\n      },\r\n      gif: {\r\n        src: img.dataset.src,\r\n        srcset: img.dataset.srcset,\r\n      },\r\n    };\r\n\r\n  /* istanbul ignore next */\r\n  control.addEventListener('click', toggle.bind(null, state, dataset, img));\r\n};\r\n\r\nexport const gifA11y = {\r\n  name: 'gifA11y',\r\n  beforeMount,\r\n};\r\n","import eventBus from '@loreal/eventbus-js';\r\n\r\nexport const resizeListener = {\r\n  name: 'resize-listener',\r\n  beforeMount: (el, { value }) => {\r\n    const resizeObserver = new ResizeObserver(() => {\r\n      eventBus.emit(value.eventName, value.payload);\r\n    });\r\n\r\n    resizeObserver.observe(el);\r\n  },\r\n};\r\n","import { scrollElementIntoView } from '../../utilities';\r\n\r\nexport const scrollIntoView = {\r\n  name: 'scroll-into-view',\r\n  beforeMount: (el, binding) => {\r\n    const { element, elementAttribute, scrollTrigger, behavior, delay } = binding.value;\r\n    const elements = el.querySelectorAll(element);\r\n\r\n    if (elements.length) {\r\n      elements.forEach((element) => {\r\n        if (scrollTrigger) {\r\n          element.addEventListener(scrollTrigger, () => {\r\n            if (elementAttribute && !element.hasAttribute(elementAttribute)) {\r\n              scrollElementIntoView(element, behavior, delay);\r\n            }\r\n          });\r\n        } else {\r\n          scrollElementIntoView(element, behavior, delay);\r\n        }\r\n      });\r\n    }\r\n  },\r\n};\r\n","import { throttle } from '@Foundation';\r\nimport eventBus from '@loreal/eventbus-js';\r\n\r\nexport const scrollPosition = () => {\r\n  return Math.round(\r\n    (window.scrollY / (document.documentElement.offsetHeight - window.innerHeight)) * 100\r\n  );\r\n};\r\n\r\nexport const scrollVisibilityTracker = {\r\n  name: 'scroll-visibility-tracker',\r\n  beforeMount: (el, { value }) => {\r\n    el.classList.add('is-hidden');\r\n\r\n    window.addEventListener(\r\n      'scroll',\r\n      throttle(() => {\r\n        const position = scrollPosition();\r\n\r\n        if (position >= value.scrollDepthPercentage && el.classList.contains('is-hidden')) {\r\n          el.classList.remove('is-hidden');\r\n          el.classList.add(value.classToShow ? value.classToShow : 'is-block');\r\n          eventBus.emit('scroll-tracking:reached');\r\n        }\r\n      }, 200)\r\n    );\r\n  },\r\n};\r\n","import eventBus from '@loreal/eventbus-js';\r\n\r\n// This timing should be aligned with css animation\r\nconst CSS_ANIMATION_DURATION = 2000;\r\n\r\nexport const toggleAnimationWithEvent = {\r\n  name: 'toggle-animation-with-event',\r\n\r\n  mounted: (el, { value }) => {\r\n    let animationShouldPlay = true;\r\n    let timer;\r\n    const { className, interval, logoAnimationStartEventName, logoAnimationStopEventName } = value;\r\n\r\n    eventBus.on(logoAnimationStartEventName, () => {\r\n      animationShouldPlay = true;\r\n      clearInterval(timer);\r\n      playAnimation();\r\n    });\r\n\r\n    eventBus.on(logoAnimationStopEventName, () => {\r\n      animationShouldPlay = false;\r\n      el.classList.remove(className);\r\n      clearInterval(timer);\r\n    });\r\n\r\n    if (animationShouldPlay) {\r\n      playAnimation();\r\n    }\r\n\r\n    function playAnimation() {\r\n      el.classList.add(className);\r\n\r\n      timer = setInterval(() => {\r\n        el.classList.remove(className);\r\n        // It's a trick to force the browser to reflow the element's layout.\r\n        // This is necessary because removing and then re-adding the class might not trigger the animation restart otherwise.\r\n        void el.offsetWidth;\r\n        el.classList.add(className);\r\n      }, interval * 1000 + CSS_ANIMATION_DURATION);\r\n    }\r\n  },\r\n};\r\n","import eventBus from '@loreal/eventbus-js';\r\n\r\nconst BODY_CLASSES = ['toolbar-tab-is-open', 'noScroll'];\r\nconst TRIGGER_STATE_ATTRIBUTE = 'data-state';\r\nconst ARIA_HIDDEN = 'aria-hidden';\r\nconst TRIGGER_TAB = {\r\n  OPEN: '[data-tab-open]',\r\n  OPEN_EXTERNAL: '[data-tab-open-external]',\r\n  CLOSE: '[data-tab-close]',\r\n};\r\n\r\nclass A11Y {\r\n  toggleAriaHidden(selector, add) {\r\n    const element = document.querySelector(selector);\r\n    add ? element?.setAttribute(ARIA_HIDDEN, 'true') : element?.removeAttribute(ARIA_HIDDEN);\r\n  }\r\n\r\n  focusElement(parentElement, selector) {\r\n    parentElement?.querySelector(selector)?.focus();\r\n  }\r\n}\r\n\r\nclass ToolbarTabs extends A11Y {\r\n  constructor(el, config) {\r\n    super();\r\n    this.el = el;\r\n    this.config = config;\r\n    this.URLKey = 'zapper';\r\n    this.openTriggers = document.querySelectorAll(TRIGGER_TAB.OPEN);\r\n    this.closeTriggers = [\r\n      ...document.querySelectorAll(TRIGGER_TAB.CLOSE),\r\n      ...document.querySelectorAll(TRIGGER_TAB.OPEN_EXTERNAL),\r\n    ];\r\n\r\n    this.attachEvents = this.attachEvents.bind(this);\r\n    this.setActiveTab = this.setActiveTab.bind(this);\r\n    this.resetActiveTab = this.resetActiveTab.bind(this);\r\n  }\r\n\r\n  get activeTab() {\r\n    return this.el.querySelector('li[role=\"tab\"][aria-selected=\"true\"]');\r\n  }\r\n\r\n  get activeTrigger() {\r\n    if (this.activeTab) {\r\n      return this.activeTab.querySelector(TRIGGER_TAB.OPEN);\r\n    }\r\n    return null;\r\n  }\r\n\r\n  get hasZapperInURL() {\r\n    const url = window.location,\r\n      searchString = url.search,\r\n      searchParams = new URLSearchParams(searchString);\r\n\r\n    return searchParams.has(this.URLKey);\r\n  }\r\n\r\n  setActiveTab(id) {\r\n    const trigger = this.el.querySelector(`li[role=\"tab\"][id=\"${id}\"]`);\r\n    const button = trigger?.querySelector(TRIGGER_TAB.OPEN);\r\n    if (this.activeTab === trigger) {\r\n      this.resetActiveTab();\r\n      button?.setAttribute(TRIGGER_STATE_ATTRIBUTE, 'collapsed');\r\n      document.body.classList.remove(...BODY_CLASSES);\r\n      eventBus.emit('tab:close', id);\r\n    } else {\r\n      this.resetActiveTab();\r\n      const triggerPanel = this.el.querySelector(`li[role=\"tabpanel\"][id=\"${trigger.id}\"]`);\r\n      if (trigger) {\r\n        trigger?.setAttribute('aria-selected', 'true');\r\n        button?.setAttribute(TRIGGER_STATE_ATTRIBUTE, 'expanded');\r\n      }\r\n      if (triggerPanel) {\r\n        triggerPanel?.setAttribute(ARIA_HIDDEN, 'false');\r\n      }\r\n      document.body.classList.add(...BODY_CLASSES);\r\n      this.toggleAriaHidden('main', true);\r\n      this.focusElement(triggerPanel, '[data-tab-a11y-focus]');\r\n      eventBus.emit('tab:open', id);\r\n    }\r\n  }\r\n\r\n  resetActiveTab() {\r\n    if (this.activeTrigger) {\r\n      this.activeTrigger.setAttribute(TRIGGER_STATE_ATTRIBUTE, 'collapsed');\r\n    }\r\n    if (this.activeTab) {\r\n      eventBus.emit('tab:close', this.activeTab.id);\r\n      this.activeTab.setAttribute('aria-selected', 'false');\r\n    }\r\n    const activeContent = this.el.querySelector(`li[role=\"tabpanel\"][aria-hidden=\"false\"]`);\r\n    if (activeContent) {\r\n      activeContent.setAttribute(ARIA_HIDDEN, 'true');\r\n    }\r\n    document.body.classList.remove(...BODY_CLASSES);\r\n    this.toggleAriaHidden('main', false);\r\n  }\r\n\r\n  attachEvents() {\r\n    this.closeTriggers.forEach((trigger) =>\r\n      trigger.addEventListener('click', () => {\r\n        this.resetActiveTab();\r\n      })\r\n    );\r\n    this.openTriggers.forEach((trigger) =>\r\n      trigger.addEventListener('click', () => {\r\n        this.setActiveTab(trigger.dataset.tabOpen);\r\n      })\r\n    );\r\n\r\n    eventBus.on('tab:open:external', this.setActiveTab);\r\n    document.addEventListener('keydown', (event) => {\r\n      if (this.activeTab) {\r\n        if (event.key === 'Escape') {\r\n          this.resetActiveTab();\r\n        }\r\n\r\n        if (event.key === 'ArrowRight' || event.key === 'ArrowLeft') {\r\n          const nextSibling = this.activeTab?.nextElementSibling;\r\n          const previousSibling = this.activeTab?.previousElementSibling;\r\n          if (nextSibling) {\r\n            this.setActiveTab(nextSibling.id);\r\n          }\r\n          if (previousSibling) {\r\n            this.setActiveTab(previousSibling.id);\r\n          }\r\n          this.focusElement(this.activeTab, TRIGGER_TAB.OPEN);\r\n        }\r\n      }\r\n    });\r\n\r\n    if (this.hasZapperInURL) {\r\n      this.setActiveTab('zapper-tab');\r\n    }\r\n  }\r\n\r\n  init() {\r\n    this.attachEvents();\r\n  }\r\n}\r\n\r\nexport const toolbarTabs = {\r\n  name: 'toolbar-tabs',\r\n\r\n  mounted: (el, binding) => {\r\n    const toolbarTabs = new ToolbarTabs(el, binding.value);\r\n    toolbarTabs.init();\r\n  },\r\n};\r\n","import { debounce } from '../../utilities/timing';\r\n\r\nexport const collapsibleList = {\r\n  name: 'collapsible-list',\r\n\r\n  mounted: (el) => {\r\n    const HIDDEN_CLASS = '-hidden';\r\n    const OPENED_CLASS = '-opened';\r\n    const state = { open: false };\r\n    const items = Array.from(el.querySelectorAll('li'));\r\n    const toggleButton = el.querySelector('[data-ref-v-collapsible-list-toggle]');\r\n    const toggleContainer = items.pop();\r\n\r\n    const render = () => {\r\n      let lastLineTop;\r\n      let lineTop = -1;\r\n      let lineIndex = 0;\r\n      const limit = 2;\r\n\r\n      const adjust = (index) => {\r\n        items[index].classList.add(HIDDEN_CLASS);\r\n\r\n        return toggleContainer.offsetTop <= lastLineTop || adjust(index - 1);\r\n      };\r\n\r\n      toggleContainer.classList.add(HIDDEN_CLASS);\r\n\r\n      items.forEach((item) => item.classList.toggle(HIDDEN_CLASS, !state.open));\r\n\r\n      items.some((item, index) => {\r\n        let itemTop;\r\n\r\n        if (!state.open) {\r\n          item.classList.remove(HIDDEN_CLASS);\r\n        }\r\n        itemTop = item.offsetTop;\r\n\r\n        if (lineTop < itemTop) {\r\n          lineIndex++;\r\n          lastLineTop = lineTop;\r\n          lineTop = itemTop;\r\n        }\r\n\r\n        if (lineIndex > limit) {\r\n          toggleButton.classList.toggle(OPENED_CLASS, state.open);\r\n          toggleContainer.classList.remove(HIDDEN_CLASS);\r\n\r\n          return state.open || adjust(index);\r\n        }\r\n      });\r\n    };\r\n\r\n    toggleButton.addEventListener('click', () => {\r\n      state.open = !state.open;\r\n      toggleButton.setAttribute('aria-expanded', state.open);\r\n      render();\r\n    });\r\n\r\n    render();\r\n\r\n    window.addEventListener('resize', debounce(render, 200));\r\n  },\r\n};\r\n","export function selectboxListener(el) {\r\n  const select = el.querySelector('select');\r\n  const selectedValueNode = el.querySelector('.selected-value');\r\n\r\n  /* istanbul ignore else */\r\n  if (selectedValueNode) {\r\n    /* istanbul ignore next */\r\n    select.addEventListener('change', () => {\r\n      /* istanbul ignore next */\r\n      selectedValueNode.innerText = select.value;\r\n    });\r\n\r\n    selectedValueNode.innerText = select.value;\r\n  }\r\n}\r\n\r\nexport default {\r\n  name: 'selectbox',\r\n  mounted: (el) => {\r\n    /* istanbul ignore next */\r\n    selectboxListener(el);\r\n  },\r\n};\r\n","const FORM_IMAGE_CLASS = 'oap-form-template__image';\r\nconst NO_IMAGE_FORM_CLASS = 'oap-form-template--no-image';\r\n\r\nconst FORM_COLUMNS_CLASS = 'oap-form-template__form--with-column';\r\nconst FULL_WIDTH_FORM_CLASS = 'oap-form-template--full-width';\r\n\r\nconst FORM_SECTIONS_CLASS = 'generic-form__section';\r\nconst FORM_SECTION_TITLE_CLASS = 'generic-form__section-title';\r\nconst FORM_MARGIN_TOP = 'oap-form-template--margin-top';\r\n\r\nexport const toggleImageclass = (el) => {\r\n  const image = el.querySelector(`.${FORM_IMAGE_CLASS}`);\r\n\r\n  if (!image) {\r\n    el.classList.add(NO_IMAGE_FORM_CLASS);\r\n  }\r\n};\r\n\r\nexport const toggleFormWidth = (el) => {\r\n  const image = el.querySelector(`.${FORM_IMAGE_CLASS}`);\r\n  const formMultiColumn = el.querySelector(`.${FORM_COLUMNS_CLASS}`);\r\n\r\n  if (!image && formMultiColumn) {\r\n    el.classList.add(FULL_WIDTH_FORM_CLASS);\r\n  }\r\n};\r\n\r\nexport const fixContentDistance = (el) => {\r\n  const sections = el.querySelectorAll(`.${FORM_SECTIONS_CLASS}`);\r\n  let addMargin = false;\r\n  sections.forEach((section) => {\r\n    if (section.querySelector(`.${FORM_SECTION_TITLE_CLASS}`)) {\r\n      addMargin = true;\r\n    }\r\n  });\r\n\r\n  if (addMargin) el.classList.add(FORM_MARGIN_TOP);\r\n};\r\n\r\nexport const mounted = (el) => {\r\n  toggleImageclass(el);\r\n  toggleFormWidth(el);\r\n  fixContentDistance(el);\r\n};\r\n\r\nexport const formModifier = {\r\n  name: 'form-modifier',\r\n  mounted,\r\n};\r\n","const defaultConfig = {\r\n  delay: 1000,\r\n  cookieName: 'test',\r\n};\r\n\r\nclass ShowOnCookieExpiration {\r\n  constructor(el, config) {\r\n    this.el = el;\r\n    this.config = config;\r\n\r\n    this.initTimer();\r\n  }\r\n\r\n  set config(newConfig) {\r\n    this._config = { ...defaultConfig, ...newConfig };\r\n  }\r\n\r\n  get cookie() {\r\n    return document.cookie.indexOf(this._config.cookieName) >= 0;\r\n  }\r\n\r\n  initTimer() {\r\n    this._timer = setInterval(() => {\r\n      if (this.cookie && !this.el.classList.contains('-hidden')) {\r\n        this.el.classList.add('-hidden');\r\n      } else if (!this.cookie && this.el.classList.contains('-hidden')) {\r\n        this.el.classList.remove('-hidden');\r\n        this.destroy();\r\n      } else if (!this.cookie && !this.el.classList.contains('-hidden')) {\r\n        this.destroy();\r\n      }\r\n    }, this._config.delay);\r\n  }\r\n\r\n  destroy() {\r\n    clearInterval(this._timer);\r\n  }\r\n}\r\n\r\nexport const showOnCookieExpiration = {\r\n  name: 'show-on-cookie-expiration',\r\n  beforeMount: (el, binding) => (el.__timeCookie__ = new ShowOnCookieExpiration(el, binding.value)),\r\n  unmounted: (el) => el.__timeCookie__.destroy(),\r\n};\r\n","export const DEFAULT_MODIFIERS = {\r\n  ELEMENT: 'element',\r\n  CLASS: 'class',\r\n};\r\n\r\nexport const searchOnDom = (selector, expression) => {\r\n  return document.querySelector(`${selector}${expression}`);\r\n};\r\n\r\nexport const updateItem = (element, id) => {\r\n  element.setAttribute('href', `#${id}`);\r\n  element.classList.remove('anchor-to');\r\n};\r\n\r\nexport const getSelector = (arg) => {\r\n  let selector = '#';\r\n\r\n  switch (arg) {\r\n    case DEFAULT_MODIFIERS.ELEMENT:\r\n      selector = '';\r\n      break;\r\n    case DEFAULT_MODIFIERS.CLASS:\r\n      selector = '.';\r\n      break;\r\n    default:\r\n      selector = '#';\r\n      break;\r\n  }\r\n\r\n  return selector;\r\n};\r\n\r\n/**\r\n * Modifiers: id, class, element\r\n */\r\nexport const anchorTo = {\r\n  name: 'anchor-to',\r\n  mounted: (el, binding) => {\r\n    const { arg, value } = binding;\r\n\r\n    if (el.tagName === 'A') {\r\n      const item = searchOnDom(getSelector(arg), value);\r\n\r\n      if (item) {\r\n        let { id } = item;\r\n\r\n        if (id) {\r\n          updateItem(el, id);\r\n        }\r\n      }\r\n    }\r\n  },\r\n};\r\n","import { intersectionViewportObserver } from '@Foundation';\r\n\r\nimport { ScrollSnapSlider } from 'scroll-snap-slider';\r\n\r\nconst IS_ACTIVE_CLASS = 'is-active';\r\nconst IS_HIDDEN_CLASS = 'is-hidden';\r\n\r\nconst DEFAULT_BREAKPOINT = {\r\n  itemsShown: 9,\r\n  resolution: 1920,\r\n};\r\n\r\nconst BREAKPOINTS = [\r\n  {\r\n    itemsShown: 3,\r\n    resolution: 650,\r\n  },\r\n  {\r\n    itemsShown: 5,\r\n    resolution: 999,\r\n  },\r\n  {\r\n    itemsShown: 7,\r\n    resolution: 1440,\r\n  },\r\n  DEFAULT_BREAKPOINT,\r\n];\r\n\r\nconst DIRECTIONS = {\r\n  FORWARD: 'FORWARD',\r\n  BACKWARDS: 'BACKWARDS',\r\n};\r\n\r\nclass SwipeEventDispatcher {\r\n  constructor(element) {\r\n    this.eventMap = {\r\n      SWIPE_LEFT: [],\r\n      SWIPE_UP: [],\r\n      SWIPE_DOWN: [],\r\n      SWIPE_RIGHT: [],\r\n    };\r\n\r\n    this.xDown = null;\r\n    this.yDown = null;\r\n    this.element = element;\r\n\r\n    element.addEventListener('touchstart', (event) => this.handleTouchStart(event), false);\r\n    element.addEventListener('touchend', (event) => this.handleTouchEnd(event), false);\r\n  }\r\n\r\n  on(event, callback) {\r\n    this.eventMap[event].push(callback);\r\n  }\r\n\r\n  off(event, lastCallback) {\r\n    this.eventMap[event] = this.eventMap[event].filter((callback) => callback !== lastCallback);\r\n  }\r\n\r\n  trigger(event, data) {\r\n    this.eventMap[event].map((handler) => handler(data));\r\n  }\r\n\r\n  handleTouchStart(event) {\r\n    this.xDown = event.touches[0].clientX;\r\n    this.yDown = event.touches[0].clientY;\r\n  }\r\n\r\n  handleTouchEnd(event) {\r\n    const deltaX = event.changedTouches[0].clientX - this.xDown;\r\n    const deltaY = event.changedTouches[0].clientY - this.yDown;\r\n\r\n    if (Math.abs(deltaX) > Math.abs(deltaY)) {\r\n      deltaX < 0 ? this.trigger('SWIPE_LEFT') : this.trigger('SWIPE_RIGHT');\r\n    } else {\r\n      deltaY > 0 ? this.trigger('SWIPE_UP') : this.trigger('SWIPE_DOWN');\r\n    }\r\n  }\r\n}\r\n\r\nclass HighlightedProducts {\r\n  constructor(el, config) {\r\n    this.el = el;\r\n    this.config = config;\r\n    this.list = el.querySelector('.oap-highlighted-products__list');\r\n    this.titleList = el.querySelector('.oap-highlighted-products__title-list');\r\n    this.listElements = Array.from(el.querySelectorAll('.oap-highlighted-products__item'));\r\n    this.nextButton = el.querySelector('.oap-highlighted-products__next');\r\n    this.previousButton = el.querySelector('.oap-highlighted-products__previous');\r\n\r\n    this.activeIndex = 0;\r\n    this.mainSlider = null;\r\n    this.titleSlider = null;\r\n\r\n    this.attachEvents = this.attachEvents.bind(this);\r\n    this.setActiveElements = this.setActiveElements.bind(this);\r\n    this.onNext = this.onNext.bind(this);\r\n    this.onPrevious = this.onPrevious.bind(this);\r\n    this.scrollToMiddleElement = this.scrollToMiddleElement.bind(this);\r\n\r\n    this.textPaths = el.querySelectorAll('svg textPath');\r\n    this.onMoveWithOffset = this.onMoveWithOffset.bind(this);\r\n\r\n    this.attachEvents();\r\n    this.scrollToMiddleElement();\r\n  }\r\n\r\n  get currentBreakpoint() {\r\n    return BREAKPOINTS.find((x) => window.innerWidth <= x.resolution) || DEFAULT_BREAKPOINT;\r\n  }\r\n\r\n  get isInline() {\r\n    return this.config.value.isInline;\r\n  }\r\n\r\n  get isAnimate() {\r\n    return this.config.value.isAnimate;\r\n  }\r\n\r\n  setActiveElements(event) {\r\n    event.target.classList.remove(IS_ACTIVE_CLASS);\r\n    if (event.isIntersecting) event.target.classList.add(IS_ACTIVE_CLASS);\r\n\r\n    return event.isIntersecting;\r\n  }\r\n\r\n  scrollToMiddleElement() {\r\n    let middleIndex = Math.floor(this.currentBreakpoint.itemsShown / 2);\r\n\r\n    if (this.listElements.length <= this.currentBreakpoint.itemsShown) {\r\n      middleIndex = Math.floor(this.listElements.length / 2);\r\n    }\r\n\r\n    this.mainSlider.slideTo(middleIndex);\r\n    if (this.isInline) {\r\n      this.titleSlider?.slideTo(middleIndex);\r\n    } else {\r\n      if (this.isAnimate) {\r\n        const activeTextPath = this.textPaths[middleIndex];\r\n        activeTextPath.querySelector('animate').beginElement();\r\n      }\r\n    }\r\n    this.activeIndex = middleIndex;\r\n  }\r\n\r\n  onNext() {\r\n    if (this.activeIndex >= 0 && this.activeIndex < this.mainSlider.element.children.length - 1) {\r\n      this.activeIndex = this.activeIndex + 1;\r\n\r\n      this.mainSlider.slideTo(this.activeIndex);\r\n\r\n      if (this.isInline) {\r\n        this.titleSlider?.slideTo(this.activeIndex);\r\n      } else {\r\n        if (this.isAnimate) {\r\n          this.onMoveWithOffset(DIRECTIONS.FORWARD);\r\n        }\r\n      }\r\n    }\r\n  }\r\n\r\n  onPrevious() {\r\n    if (this.activeIndex > 0 && this.activeIndex <= this.mainSlider.element.children.length) {\r\n      this.activeIndex = this.activeIndex - 1;\r\n\r\n      this.mainSlider.slideTo(this.activeIndex);\r\n\r\n      if (this.isInline) {\r\n        this.titleSlider?.slideTo(this.activeIndex);\r\n      } else {\r\n        if (this.isAnimate) {\r\n          this.onMoveWithOffset(DIRECTIONS.BACKWARDS);\r\n        }\r\n      }\r\n    }\r\n  }\r\n\r\n  onMoveWithOffset(DIRECTION = DIRECTIONS.FORWARD) {\r\n    const previousElement = this.textPaths[this.activeIndex].previousElementSibling;\r\n    const nextElement = this.textPaths[this.activeIndex].nextElementSibling;\r\n\r\n    if (DIRECTION === DIRECTIONS.FORWARD) {\r\n      previousElement?.querySelector('animate').setAttribute('from', '50%');\r\n      previousElement?.querySelector('animate').setAttribute('to', '-250%');\r\n      previousElement?.querySelector('animate').beginElement();\r\n\r\n      this.textPaths[this.activeIndex].querySelector('animate').setAttribute('from', '250%');\r\n      this.textPaths[this.activeIndex].querySelector('animate').setAttribute('to', '50%');\r\n      this.textPaths[this.activeIndex].querySelector('animate').beginElement();\r\n    } else {\r\n      nextElement?.querySelector('animate').setAttribute('from', '50%');\r\n      nextElement?.querySelector('animate').setAttribute('to', '250%');\r\n      nextElement?.querySelector('animate').beginElement();\r\n\r\n      this.textPaths[this.activeIndex].querySelector('animate').setAttribute('from', '-250%');\r\n      this.textPaths[this.activeIndex].querySelector('animate').setAttribute('to', '50%');\r\n      this.textPaths[this.activeIndex].querySelector('animate').beginElement();\r\n    }\r\n  }\r\n\r\n  attachIntersectionObserver() {\r\n    this.listElements.forEach((item) => {\r\n      intersectionViewportObserver(item, {\r\n        rootMargin: '40% -45% 40% -45%',\r\n        threshold: [0],\r\n        shouldUnobserve: false,\r\n        conditionCheckCallback: this.setActiveElements,\r\n      });\r\n    });\r\n  }\r\n\r\n  attachSwipeDispatcher() {\r\n    this.dispatcher = new SwipeEventDispatcher(this.list);\r\n\r\n    this.dispatcher.on('SWIPE_RIGHT', () => {\r\n      this.onPrevious();\r\n    });\r\n\r\n    this.dispatcher.on('SWIPE_LEFT', () => {\r\n      this.onNext();\r\n    });\r\n  }\r\n\r\n  attachEvents = () => {\r\n    this.attachIntersectionObserver();\r\n    this.attachSwipeDispatcher();\r\n    this.nextButton.addEventListener('click', this.onNext);\r\n    this.previousButton.addEventListener('click', this.onPrevious);\r\n\r\n    this.mainSlider = new ScrollSnapSlider({\r\n      element: this.list,\r\n    });\r\n\r\n    this.mainSlider.addEventListener('slide-stop', () => {\r\n      this.nextButton.classList.remove(IS_HIDDEN_CLASS);\r\n      this.previousButton.classList.remove(IS_HIDDEN_CLASS);\r\n      if (this.activeIndex === this.mainSlider.element.children.length - 1) {\r\n        this.nextButton.classList.add(IS_HIDDEN_CLASS);\r\n      }\r\n\r\n      if (this.activeIndex === 0) {\r\n        this.previousButton.classList.add(IS_HIDDEN_CLASS);\r\n      }\r\n    });\r\n\r\n    if (this.isInline) {\r\n      this.titleSlider = new ScrollSnapSlider({\r\n        element: this.titleList,\r\n      });\r\n    }\r\n  };\r\n}\r\n\r\nexport const highlightedProducts = {\r\n  name: 'highlighted-products',\r\n\r\n  mounted: (el, config) => {\r\n    new HighlightedProducts(el, config);\r\n  },\r\n};\r\n","/**\r\n * InputHandler listens to keyboard and mouse events on the document.\r\n * It adds a classname to the body while the user is using keyboard navigation.\r\n * It removes the keyboard using classname when the user uses the mouse again.\r\n * @class InputHandler\r\n */\r\nexport default class InputHandler {\r\n  /**\r\n   * InputHandler constructor.\r\n   * @constructs InputHandler\r\n   */\r\n  constructor() {\r\n    /**\r\n     * keyboardUsageClassName\r\n     * The classname which is added to the body while using the keyboard\r\n     * @type {string}\r\n     * @member InputHandler#keyboardUsageClassName\r\n     */\r\n    this.keyboardUsageClassName = 'isUsingKeyboard';\r\n\r\n    /**\r\n     * wasUsingTab\r\n     * using tab keyboard state\r\n     * @type {boolean}\r\n     * @member InputHandler#wasUsingTab\r\n     */\r\n    this.wasUsingTab = false;\r\n\r\n    /**\r\n     * wasBound\r\n     * eventListsners bound\r\n     * @type {boolean}\r\n     * @member InputHandler#wasBound\r\n     */\r\n    this.wasBound = false;\r\n\r\n    /**\r\n     * isTab\r\n     * is using tab\r\n     * @type {boolean}\r\n     * @member InputHandler#isTab\r\n     */\r\n    this.isTab = false;\r\n\r\n    // bind to keyboard and mouse events on init of the class\r\n    this.bind();\r\n  }\r\n\r\n  /**\r\n   * Binds event listeners for keydown and mousedown\r\n   */\r\n  bind() {\r\n    document.addEventListener('keydown', this.handleKeyboardInput.bind(this), true);\r\n    document.addEventListener('mousedown', this.handleMouseInput.bind(this), true);\r\n    this.wasBound = true;\r\n  }\r\n\r\n  /**\r\n   * Unbinds event listeners for keydown and mousedown\r\n   */\r\n  unbind() {\r\n    document.removeEventListener('keydown', this.handleKeyboardInput.bind(this), true);\r\n    document.removeEventListener('mousedown', this.handleMouseInput.bind(this), true);\r\n    this.wasBound = false;\r\n  }\r\n\r\n  /**\r\n   * listens to keyboard input and determines\r\n   * if this.keyboardUsageClassName needs to be added to the body\r\n   * @param {object} e - keyboard input event\r\n   */\r\n  handleKeyboardInput(e) {\r\n    /* istanbul ignore next */\r\n    this.isTab = e.key === 'Tab' || e.code === 'Tab' || e.keyCode === 9;\r\n    /* istanbul ignore next */\r\n    if (this.isTab && !this.wasUsingTab) {\r\n      document.body.classList.add(this.keyboardUsageClassName);\r\n    }\r\n    this.wasUsingTab = this.isTab;\r\n  }\r\n\r\n  /**\r\n   * listens to mouse input and determines\r\n   * if this.keyboardUsageClassName needs to be removed from the body\r\n   */\r\n  handleMouseInput() {\r\n    /* istanbul ignore next */\r\n    if (this.wasUsingTab) {\r\n      document.body.classList.remove(this.keyboardUsageClassName);\r\n    }\r\n    this.wasUsingTab = false;\r\n  }\r\n\r\n  static getInputHandler() {\r\n    this.$inputHandler = this.$inputHandler || new InputHandler();\r\n    return this.$inputHandler;\r\n  }\r\n}\r\n","/* eslint-disable no-new,dot-notation */\r\nimport { AnalyticsHandler } from '../analyticsHandler/AnalyticsHandler';\r\nimport { debug } from '../env/env';\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport InputHandlerService from '../inputHandler/InputHandler';\r\nimport MqHandler from '../mqHandler/MqHandler';\r\n\r\n// Export globally the content of this modules\r\n/* istanbul ignore next */\r\ntry {\r\n  /**\r\n   * @deprecated\r\n   * @type {any & {debug: boolean, AnalyticsHandler: *} & any}\r\n   */\r\n  window.wsf = Object.assign(window.wsf || {}, {\r\n    debug,\r\n    /**\r\n     * @deprecated\r\n     */\r\n    eventBus,\r\n    /**\r\n     * @deprecated\r\n     * Initiate AnalyticsHandler helper class.\r\n     * Is able to send events, product clicks and product impressions to google tag manager\r\n     */\r\n    AnalyticsHandler: AnalyticsHandler.getAnalyticsHandler(debug),\r\n    /**\r\n     * @deprecated\r\n     * Initiate InputHandler helper class.\r\n     * InputHandler listens to keyboard and mouse events on the document.\r\n     * It adds a classname to the body while the user is using keyboard navigation.\r\n     * It removes the keyboard using classname when the user uses the mouse again.\r\n     * Attached to window so it can be referenced on feature and project level\r\n     */\r\n    InputHandler: InputHandlerService.getInputHandler(),\r\n    /**\r\n     * @deprecated\r\n     * Initiate mqHander helper class.\r\n     * Will use the eventBus to emit mediaquery changes based on matchMedia listeners\r\n     * Also has functions to ask for the current media query or to get a matchMedia object by screensize\r\n     * Attached to window so it can be referenced on feature and project level\r\n     */\r\n    MqHandler: MqHandler.getMqHandler(),\r\n  });\r\n} catch (er) {\r\n  console.warn('unable to load wsf variable');\r\n}\r\n","<template>\r\n  <div class=\"oap-video\">\r\n    <!--  Optional slot for inner placeholder -->\r\n    <div\r\n      v-show=\"showPlaceholder\"\r\n      :key=\"placeholderBackgroundKey\"\r\n      v-background=\"placeholderBackgroundProxy\"\r\n      class=\"placeholder bg-placeholder\"\r\n      aria-hidden=\"true\"\r\n      :class=\"placeholderClass\"\r\n      @click=\"togglePlaying\"\r\n    ></div>\r\n    <div v-if=\"hasSources && videoSrc\" class=\"oap-video__container\">\r\n      <video\r\n        :key=\"videoSrc\"\r\n        ref=\"video\"\r\n        src=\"\"\r\n        :data-src=\"videoSrc\"\r\n        :class=\"{\r\n          '-wide': isVideoWide,\r\n        }\"\r\n        v-bind=\"{ autoplay: isAnimationEnabled, 'data-autoplay': isAnimationEnabled }\"\r\n        :playsinline=\"playsinline\"\r\n        :loop=\"loop\"\r\n        :muted=\"muted\"\r\n        type=\"video/mp4\"\r\n        preload=\"metadata\"\r\n        @click=\"togglePlaying\"\r\n      ></video>\r\n      <button\r\n        v-if=\"controls\"\r\n        ref=\"controls\"\r\n        class=\"oap-video__control\"\r\n        :class=\"`oap-video__control--is-${controlsPosition}`\"\r\n        :aria-pressed=\"playing.toString()\"\r\n        :title=\"playButtonTitle\"\r\n      >\r\n        <span class=\"oap-video__control-overlay\">\r\n          <img :src=\"playButtonSrc\" :alt=\"playButtonTitle\" />\r\n        </span>\r\n      </button>\r\n    </div>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport { AnalyticsHandler, intersectionViewportObserver } from '@Foundation';\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { makeVideoAccessible } from '../utilities/makeVideoAccessible';\r\nimport { mapGetters } from 'vuex';\r\nimport {\r\n  HERO_VIDEO_UPDATE,\r\n  HERO_VIDEO_PAUSE,\r\n  HERO_VIDEO_TOGGLE_PLAYING,\r\n  HERO_VIDEO_BACKGROUND_PLAYING,\r\n} from '@Feature/Filter/code/Scripts/constants/eventNames';\r\nimport { uniqueId } from '../utilities/uniqueId';\r\nimport {\r\n  ACCESSIBILITY_STORE_NAMESPACE,\r\n  GET_SITEWIDE_ANIMATIONS,\r\n} from '@Foundation/accessibilityStore/accessibilityStore';\r\n\r\nconst TUTORIAL_VIDEO = 'Tutorial';\r\n\r\nexport default {\r\n  name: 'OapVideo',\r\n\r\n  props: {\r\n    sources: { type: Object, default: null },\r\n\r\n    gaCategory: { type: String, default: '' },\r\n    gaLabel: { type: String, default: '' },\r\n    eventName: { type: String, default: 'video_interaction' },\r\n    linkUrl: { type: String, default: '' },\r\n\r\n    placeholderBackground: { type: Object, default: null },\r\n    playButtonTitle: { type: String, default: 'play or pause video' },\r\n\r\n    placeholderClass: { type: Array, default: () => [] },\r\n\r\n    autoplay: { type: Boolean, default: true },\r\n    playsinline: { type: Boolean, default: true },\r\n    loop: { type: Boolean, default: true },\r\n    muted: { type: Boolean, default: true },\r\n    controls: { type: Boolean, default: true },\r\n    controlsPosition: { type: String, default: 'top-right' },\r\n\r\n    pauseIfLeftViewport: { type: Boolean, default: false },\r\n    playIfIsInViewportOnMobile: { type: Boolean, default: false },\r\n    isInformative: { type: Boolean, default: false },\r\n    videoTitle: { type: String, default: '' },\r\n\r\n    lazyLoadTrigger: {\r\n      type: String,\r\n      default: 'eager',\r\n      validator: function (value) {\r\n        return ['eager', 'click', 'intersecting'].includes(value);\r\n      },\r\n    },\r\n\r\n    uniqueId: { type: String, default: '' },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      lgScreenMediaQuery: 721,\r\n      playing: this.autoplay,\r\n      forcePlay: false,\r\n      isLazyLoaded: false,\r\n      sourcesProxy: {},\r\n      placeholderBackgroundProxy: {},\r\n      placeholderBackgroundKey: uniqueId(),\r\n      autoplayProxy: this.autoplay,\r\n      showPlaceholder: true,\r\n      shouldPlayAsBackground: true,\r\n    };\r\n  },\r\n\r\n  computed: {\r\n    ...mapGetters('filterList', ['getFilterDataset']),\r\n    isAnimationEnabled() {\r\n      return this[GET_SITEWIDE_ANIMATIONS]() && this.autoplayProxy;\r\n    },\r\n    isVideoWide() {\r\n      return this.videoSrc === this.filteredSourceProxies?.lg;\r\n    },\r\n\r\n    isLargeScreen() {\r\n      return window.innerWidth > this.lgScreenMediaQuery;\r\n    },\r\n\r\n    videoSrc() {\r\n      return this.isLargeScreen\r\n        ? this.filteredSourceProxies?.lg\r\n        : this.filteredSourceProxies?.sm + this.shouldShowFrame;\r\n    },\r\n\r\n    playButtonSrc() {\r\n      return this.playing\r\n        ? '/frontend/static/images/media-gallery-pause.svg'\r\n        : '/frontend/static/images/media-gallery-play.svg';\r\n    },\r\n\r\n    hasSources() {\r\n      return this.filteredSourceProxies && Object.keys(this.filteredSourceProxies)?.length;\r\n    },\r\n\r\n    filteredSourceProxies() {\r\n      if (this.sourcesProxy && Object.keys(this.sourcesProxy).length) {\r\n        return Object.entries(this.sourcesProxy).reduce(\r\n          (acc, [k, v]) => (v ? { ...acc, [k]: v } : acc),\r\n          {}\r\n        );\r\n      }\r\n      return this.sources;\r\n    },\r\n\r\n    isOS() {\r\n      return /iPad|iPhone|iPod/.test(navigator.userAgent);\r\n    },\r\n\r\n    // add fix for displaying video preview for iOs devices\r\n    shouldShowFrame() {\r\n      // sets #t=0.001 for iOS to display the first frame\r\n      return this.isOS ? '#t=0.001' : '';\r\n    },\r\n\r\n    isTutorialVideo() {\r\n      return this.gaLabel === TUTORIAL_VIDEO;\r\n    },\r\n  },\r\n\r\n  watch: {\r\n    playing(val) {\r\n      val ? this.playVideo() : this.$refs.video.pause();\r\n    },\r\n    isAnimationEnabled(newValue) {\r\n      if (!newValue) this.pauseEventHandler();\r\n    },\r\n  },\r\n\r\n  created() {\r\n    this.sourcesProxy = this.sources;\r\n    this.placeholderBackgroundProxy = this.placeholderBackground;\r\n    this.showPlaceholder = Boolean(\r\n      this.placeholderBackgroundProxy && Object.keys(this.placeholderBackgroundProxy).length\r\n    );\r\n  },\r\n\r\n  mounted() {\r\n    if (this.sources === null || !Object.keys(this.sources).length) return;\r\n    this.$refs?.controls?.addEventListener('click', this.togglePlaying);\r\n\r\n    if (this.lazyLoadTrigger === 'eager') {\r\n      this.load();\r\n    }\r\n\r\n    if (!this.loop) {\r\n      this.$refs.video.addEventListener('ended', this.togglePlaying);\r\n    }\r\n\r\n    if (this.pauseIfLeftViewport) {\r\n      intersectionViewportObserver(this.$el, {\r\n        checkIsVisible: true,\r\n        delay: 300,\r\n        rootMargin: '0px',\r\n        threshold: 0,\r\n        shouldUnobserve: false,\r\n        conditionCheckCallback: this.intersectionConditionCheck,\r\n        callbackBeforeResolve: this.pauseEventHandler,\r\n      });\r\n    }\r\n\r\n    if (this.lazyLoadTrigger === 'intersecting') {\r\n      intersectionViewportObserver(this.$el, {\r\n        checkIsVisible: true,\r\n        delay: 300,\r\n        rootMargin: '200px',\r\n        threshold: 0,\r\n        shouldUnobserve: true,\r\n        callbackBeforeResolve: this.load,\r\n      });\r\n    }\r\n\r\n    if (this.playIfIsInViewportOnMobile && window.innerWidth < this.lgScreenMediaQuery) {\r\n      const videoContainer = this.$el.querySelector('.oap-video__container');\r\n      intersectionViewportObserver(videoContainer, {\r\n        threshold: 1.0,\r\n        shouldUnobserve: false,\r\n        conditionCheckCallback: (change) => change.isIntersecting,\r\n        callbackBeforeResolve: this.playVideo,\r\n      }).then(() => {\r\n        if (this.isTutorialVideo) {\r\n          this.onloadDataLayer();\r\n        }\r\n      });\r\n    }\r\n\r\n    /* istanbul ignore next */\r\n    eventBus.on(HERO_VIDEO_PAUSE, this.pauseEventHandler);\r\n    eventBus.on('oap-video::pause', this.pauseEventHandler);\r\n    eventBus.on(HERO_VIDEO_UPDATE, this.changeVideo);\r\n    eventBus.on(\r\n      `${HERO_VIDEO_TOGGLE_PLAYING + (this.uniqueId ? '::' + this.uniqueId : '')}`,\r\n      this.togglePlaying\r\n    );\r\n    eventBus.on(HERO_VIDEO_BACKGROUND_PLAYING, (shouldPlay) => {\r\n      if (this.shouldPlayAsBackground) {\r\n        shouldPlay ? this.$refs.video.play() : this.$refs.video.pause();\r\n      } else {\r\n        this.$refs.video.pause();\r\n      }\r\n    });\r\n\r\n    makeVideoAccessible(this.$refs.video, this.isInformative, this.videoTitle);\r\n  },\r\n\r\n  beforeUnmount() {\r\n    if (this.$refs?.controls) {\r\n      this.$refs?.controls?.removeEventListener('click', this.togglePlaying);\r\n    }\r\n  },\r\n\r\n  methods: {\r\n    ...mapGetters(ACCESSIBILITY_STORE_NAMESPACE, [GET_SITEWIDE_ANIMATIONS]),\r\n    load() {\r\n      if (this.$refs.video) {\r\n        this.$refs.video.src = this.$refs.video.dataset.src;\r\n      }\r\n      this.isLazyLoaded = true;\r\n    },\r\n\r\n    togglePlaying() {\r\n      this.pushAnalytics();\r\n      if (this.sources?.sm || this.sources?.lg) {\r\n        this.playing = !this.playing;\r\n        this.shouldPlayAsBackground = !this.shouldPlayAsBackground;\r\n      }\r\n    },\r\n\r\n    pauseEventHandler() {\r\n      if (!this.forcePlay && this.playing) {\r\n        this.$refs.video.pause();\r\n        this.shouldPlayAsBackground = false;\r\n        this.playing = false;\r\n\r\n        this.$el.closest('.oap-attraction-hero')?.classList.add('-pause');\r\n      }\r\n    },\r\n\r\n    playVideo() {\r\n      if (!this.isLazyLoaded) {\r\n        this.load();\r\n      }\r\n      this.forcePlay = true;\r\n      eventBus.emit('oap-video::pause');\r\n      this.forcePlay = false;\r\n      this.showPlaceholder = false;\r\n      this.$refs.video.play();\r\n      this.playing = true;\r\n      this.shouldPlayAsBackground = true;\r\n    },\r\n\r\n    changeVideo() {\r\n      const banner = this.getFilterDataset?.banner;\r\n\r\n      if (!banner) return;\r\n\r\n      const { video, background } = banner;\r\n\r\n      if (video && video?.sources) {\r\n        this.sourcesProxy = video.sources;\r\n\r\n        if (this.autoplayProxy) this.playing = true;\r\n      } else {\r\n        this.sourcesProxy = {};\r\n        this.autoplayProxy = false;\r\n      }\r\n\r\n      if (background) {\r\n        this.placeholderBackgroundProxy = background;\r\n        this.placeholderBackgroundKey = uniqueId();\r\n      }\r\n    },\r\n\r\n    intersectionConditionCheck(change) {\r\n      return change.isIntersecting && this.playing && !this.autoplayProxy;\r\n    },\r\n\r\n    pushAnalytics() {\r\n      const state = this.playing ? 'pause' : 'play';\r\n      let tag = {\r\n        event_name: 'video_interaction',\r\n        type: 'userActionEvent',\r\n        ecommerce: 'undefined',\r\n        category: this.gaCategory,\r\n        action: state,\r\n        label: this.gaLabel,\r\n      };\r\n\r\n      if (this.isTutorialVideo) {\r\n        tag.link_url = this.linkUrl;\r\n      } else {\r\n        tag.video_title = this.videoTitle;\r\n        tag.video_action = state;\r\n      }\r\n\r\n      try {\r\n        AnalyticsHandler.getAnalyticsHandler().push(tag);\r\n      } catch (e) {\r\n        /* istanbul ignore next */\r\n        console.warn('Could not push to dataLayer', e);\r\n      }\r\n    },\r\n\r\n    onloadDataLayer() {\r\n      const tag = {\r\n        event_name: this.eventName,\r\n        type: 'nonInteractiveEvent',\r\n        category: this.gaCategory,\r\n        action: 'video started',\r\n        label: this.gaLabel,\r\n        link_url: this.linkUrl,\r\n      };\r\n\r\n      try {\r\n        AnalyticsHandler.getAnalyticsHandler().push(tag);\r\n      } catch (e) {\r\n        /* istanbul ignore next */\r\n        console.warn('Could not push to dataLayer', e);\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./OapVideo.vue?vue&type=template&id=2e28ba65\"\nimport script from \"./OapVideo.vue?vue&type=script&lang=js\"\nexport * from \"./OapVideo.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div class=\"oap-lightningout-scheduler\">\r\n    <slot :click=\"click\" name=\"cta\" />\r\n    <OapPopup\r\n      :open=\"openModal\"\r\n      :hide-overflow=\"true\"\r\n      class=\"oap-lightningout-scheduler__modal\"\r\n      @closed=\"close\"\r\n    >\r\n      <iframe\r\n        v-if=\"openModal\"\r\n        class=\"oap-lightningout-scheduler__iframe\"\r\n        title=\"Lightning scheduler\"\r\n        :height=\"height\"\r\n        :src=\"iframePath\"\r\n      ></iframe>\r\n      <template #close>\r\n        <button :aria-label=\"closeButtonLabel\" class=\"channel-advisor-modal__exit\" @click=\"close\">\r\n          <svg class=\"icon\" aria-hidden=\"true\">\r\n            <use xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"#close\"></use>\r\n          </svg>\r\n        </button>\r\n      </template>\r\n    </OapPopup>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport OapPopup from '../../../../../Feature/OapPopup/code/Scripts/components/OapPopup.vue';\r\n\r\nexport default {\r\n  name: 'OapLightningoutScheduler',\r\n  components: {\r\n    OapPopup,\r\n  },\r\n  props: {\r\n    closeButtonLabel: {\r\n      type: String,\r\n      required: false,\r\n      default: 'Close modal',\r\n    },\r\n    iframePath: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    height: {\r\n      type: [Number, String],\r\n      required: false,\r\n      default: 640,\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      openModal: false,\r\n    };\r\n  },\r\n  methods: {\r\n    click(e) {\r\n      e.preventDefault();\r\n      if (!e.isTrusted) return;\r\n      this.openModal = true;\r\n      return false;\r\n    },\r\n    close() {\r\n      this.openModal = false;\r\n    },\r\n  },\r\n};\r\n</script>\r\n","<template>\r\n  <div :class=\"['oap-popup-wrapper', { 'oap-popup-wrapper--open': !hide }]\">\r\n    <div class=\"oap-popup-overlay\" @click=\"$emit('closed', true)\" />\r\n    <transition name=\"slide\">\r\n      <div\r\n        v-if=\"!hide\"\r\n        ref=\"oapPopup\"\r\n        :class=\"['oap-popup', { 'oap-popup--aside': aside }]\"\r\n        role=\"dialog\"\r\n        aria-modal=\"true\"\r\n        aria-labelledby=\"oap-popup-description\"\r\n      >\r\n        <header id=\"oap-popup-description\">\r\n          <slot v-if=\"$slots.heading\" name=\"heading\" />\r\n          <span v-else class=\"isSrOnly\">\r\n            {{ title }}\r\n          </span>\r\n        </header>\r\n        <slot></slot>\r\n        <slot name=\"close\" />\r\n        <h2 id=\"oap-popup-title\" class=\"isSrOnly\" v-text=\"title\" />\r\n        <p id=\"oap-popup-description\" class=\"isSrOnly\" v-text=\"description\" />\r\n      </div>\r\n    </transition>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n  name: 'OapPopup',\r\n\r\n  props: {\r\n    description: {\r\n      default: '',\r\n      type: String,\r\n    },\r\n    open: {\r\n      type: Boolean,\r\n      required: true,\r\n    },\r\n    showClose: {\r\n      type: Boolean,\r\n      required: false,\r\n    },\r\n    hideOverflow: {\r\n      type: Boolean,\r\n      required: false,\r\n      default: true,\r\n    },\r\n    aside: {\r\n      type: Boolean,\r\n      required: false,\r\n      default: false,\r\n    },\r\n    title: {\r\n      type: String,\r\n      required: false,\r\n      default: '',\r\n    },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      lastFocused: null,\r\n      triggerBtn: null,\r\n      hide: true,\r\n    };\r\n  },\r\n\r\n  watch: {\r\n    open: function (opened) {\r\n      this.removeEvents();\r\n      this.handleOpenModal(opened);\r\n      this.handleCloseModal(opened);\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    this.hide = !this.open;\r\n  },\r\n\r\n  methods: {\r\n    handleOpenModal(open) {\r\n      if (!open) {\r\n        return;\r\n      }\r\n\r\n      this.hide = false;\r\n      this.triggerBtn = document.activeElement;\r\n      this.setOverflow('hidden');\r\n      this.addEvents();\r\n      this.focusFirstElement();\r\n    },\r\n\r\n    handleCloseModal(open) {\r\n      if (open) {\r\n        return;\r\n      }\r\n\r\n      this.setOverflow('inherit');\r\n      this.hide = true;\r\n\r\n      if (this.triggerBtn) {\r\n        this.triggerBtn.focus();\r\n        this.removeEvents();\r\n      }\r\n    },\r\n\r\n    addEvents() {\r\n      document.addEventListener('focusin', this.changeFocus);\r\n      document.addEventListener('keyup', this.closeModal);\r\n    },\r\n\r\n    removeEvents() {\r\n      document.removeEventListener('focusin', this.changeFocus);\r\n      document.removeEventListener('keyup', this.closeModal);\r\n    },\r\n\r\n    focusFirstElement() {\r\n      /* istanbul ignore next */\r\n      this.$nextTick(() => {\r\n        const focusable = this.getFocusableElements(this.$refs.oapPopup);\r\n        return focusable[0] ? focusable[0].focus() : null;\r\n      });\r\n    },\r\n\r\n    closeModal(e) {\r\n      if (e.key !== 'Escape') {\r\n        return;\r\n      }\r\n\r\n      this.$emit('closed', true);\r\n      this.setOverflow('inherit');\r\n    },\r\n\r\n    setOverflow(overflow) {\r\n      return overflow === 'hidden'\r\n        ? document.body.classList.add('noScroll')\r\n        : document.body.classList.remove('noScroll');\r\n    },\r\n\r\n    changeFocus() {\r\n      let newFocused = document.activeElement;\r\n      /* istanbul ignore next */\r\n      if (newFocused !== this.lastFocused || !newFocused) {\r\n        const focusable = this.getFocusableElements(this.$refs.oapPopup);\r\n        newFocused = this.getNewFocusable(focusable, newFocused);\r\n        this.$nextTick(() => {\r\n          this.lastFocused = newFocused;\r\n          newFocused.focus();\r\n        });\r\n      }\r\n    },\r\n\r\n    getNewFocusable(focusable, newFocused) {\r\n      if (focusable.indexOf(newFocused) > -1) {\r\n        return newFocused;\r\n      }\r\n      return this.lastFocused === focusable[0] ? focusable[focusable.length - 1] : focusable[0];\r\n    },\r\n\r\n    getFocusableElements(element) {\r\n      if (!element) {\r\n        return;\r\n      }\r\n      /* istanbul ignore next */\r\n      return [].slice.call(\r\n        element.querySelectorAll(\r\n          `button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])`\r\n        )\r\n      );\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./OapPopup.vue?vue&type=template&id=ef2163cc\"\nimport script from \"./OapPopup.vue?vue&type=script&lang=js\"\nexport * from \"./OapPopup.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./OapLightningoutScheduler.vue?vue&type=template&id=89f1f8a8\"\nimport script from \"./OapLightningoutScheduler.vue?vue&type=script&lang=js\"\nexport * from \"./OapLightningoutScheduler.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div>\r\n    <slot :click-event=\"clickEvent\" />\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport { MqHandler } from '../mqHandler/index';\r\nimport { AnalyticsHandler } from '../analyticsHandler/AnalyticsHandler';\r\n\r\nexport default {\r\n  name: 'TaggingWrapper',\r\n  props: {\r\n    mobileTagging: {\r\n      type: [Object, Array],\r\n      required: true,\r\n    },\r\n    defaultTagging: {\r\n      type: [Object, Array],\r\n      required: true,\r\n    },\r\n    eventType: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      isMobile:\r\n        MqHandler.getMqHandler().getMqForSize('medium').selected ||\r\n        MqHandler.getMqHandler().getMqForSize('small').selected,\r\n    };\r\n  },\r\n  methods: {\r\n    clickEvent() {\r\n      const dataToPush = this.isMobile ? this.mobileTagging : this.defaultTagging;\r\n      AnalyticsHandler.getAnalyticsHandler().push({ ...dataToPush, type: this.eventType });\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./taggingWrapper.vue?vue&type=template&id=0a60fa7c\"\nimport script from \"./taggingWrapper.vue?vue&type=script&lang=js\"\nexport * from \"./taggingWrapper.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div class=\"readMoreLess\">\r\n    <!-- eslint-disable vue/no-v-html -->\r\n    <div v-html=\"getTruncatedText(content)\"></div>\r\n    <span v-if=\"!expanded && content.length > charLimit\">...</span>\r\n    <button id=\"textBtn\" @click=\"showText()\">\r\n      {{ expanded ? readlessText : readmoreText }}\r\n    </button>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n  name: 'ReadMoreLess',\r\n\r\n  props: {\r\n    content: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    readmoreCharLimiter: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    readmoreText: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    readlessText: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      buttonText: '',\r\n      expanded: false,\r\n      charLimit: this.readmoreCharLimiter,\r\n    };\r\n  },\r\n\r\n  methods: {\r\n    showText() {\r\n      this.expanded = !this.expanded;\r\n    },\r\n    getTruncatedText(text) {\r\n      if (this.expanded || text.length <= this.charLimit) {\r\n        return this.textToHTML(text);\r\n      } else if (!this.expanded || text.length >= this.charLimit) {\r\n        return this.textToHTML(text.slice(0, this.charLimit));\r\n      } else {\r\n        return this.textToHTML(text);\r\n      }\r\n    },\r\n    textToHTML(str) {\r\n      var dom = document.createElement('div');\r\n      dom.innerHTML = str;\r\n      return dom.innerHTML;\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./ReadMoreLess.vue?vue&type=template&id=0d39410e\"\nimport script from \"./ReadMoreLess.vue?vue&type=script&lang=js\"\nexport * from \"./ReadMoreLess.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div class=\"third-party-loader\">\r\n    <LoadScript\r\n      v-if=\"shouldLoadScript\"\r\n      :src=\"scriptToLoad\"\r\n      :name=\"scriptName\"\r\n      @loaded=\"setScriptLoaded\"\r\n    ></LoadScript>\r\n    <slot v-if=\"isScriptLoaded\" />\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport LoadScript from '../loadscript/loadscript.vue';\r\nimport { intersectionViewportObserver } from '@Foundation';\r\n\r\nexport default {\r\n  name: 'ThirdPartyLoader',\r\n  components: [LoadScript],\r\n  props: {\r\n    defaultScriptName: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    defaultScriptUrl: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    globalScriptName: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    globalScriptUrl: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    commonScriptClassName: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      scriptToLoad: this.defaultScriptUrl,\r\n      scriptName: this.defaultScriptName,\r\n      shouldLoadScript: false,\r\n      isScriptLoaded: false,\r\n    };\r\n  },\r\n  mounted() {\r\n    const thridParties = document.querySelectorAll(`.${this.commonScriptClassName}`);\r\n\r\n    if (thridParties.length > 1) {\r\n      this.scriptToLoad = this.globalScriptUrl;\r\n      this.scriptName = this.globalScriptName;\r\n    }\r\n\r\n    intersectionViewportObserver(this.$el, { checkIsVisible: true, threshold: [0.006] }).then(\r\n      () => {\r\n        this.shouldLoadScript = true;\r\n      }\r\n    );\r\n  },\r\n  methods: {\r\n    setScriptLoaded() {\r\n      this.isScriptLoaded = true;\r\n    },\r\n  },\r\n};\r\n</script>\r\n","<template>\r\n  <div v-if=\"loaded\">\r\n    <slot />\r\n  </div>\r\n</template>\r\n<script>\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport InjectScript from './injectscript';\r\n\r\n/* istanbul ignore next */\r\nexport default {\r\n  name: 'LoadScript',\r\n  props: {\r\n    name: {\r\n      type: String,\r\n      default: undefined,\r\n    },\r\n    src: {\r\n      type: String,\r\n      required: true,\r\n    },\r\n    integrity: {\r\n      type: String,\r\n      default: undefined,\r\n    },\r\n    crossorigin: {\r\n      type: String,\r\n      default: undefined,\r\n    },\r\n    async: {\r\n      type: Boolean,\r\n      default: true,\r\n    },\r\n    attributes: {\r\n      type: Object,\r\n      default: undefined,\r\n    },\r\n  },\r\n\r\n  data() {\r\n    /* istanbul ignore next */\r\n    return {\r\n      loaded: false,\r\n    };\r\n  },\r\n  created() {\r\n    /* istanbul ignore else */\r\n    if (this.src && !InjectScript.hasScript(this.src)) {\r\n      this.injectTheScript();\r\n    } else if (InjectScript.hasScript(this.src)) {\r\n      this.$emit('loaded');\r\n      eventBus.emit(`script.loaded.${this.name}`, {\r\n        name: this.name,\r\n        url: this.src,\r\n      });\r\n    }\r\n  },\r\n  methods: {\r\n    injectTheScript() {\r\n      InjectScript.injectScript(this.src, {\r\n        async: this.async,\r\n        integrity: this.integrity,\r\n        crossorigin: this.crossorigin,\r\n        ...(this.attributes || {}),\r\n      }).then(() => {\r\n        this.loaded = true;\r\n        this.$emit('loaded');\r\n\r\n        /* istanbul ignore else */\r\n        if (this.name) {\r\n          eventBus.emit(`script.loaded.${this.name}`, {\r\n            name: this.name,\r\n            url: this.src,\r\n          });\r\n        }\r\n      });\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./loadscript.vue?vue&type=template&id=cb54c508\"\nimport script from \"./loadscript.vue?vue&type=script&lang=js\"\nexport * from \"./loadscript.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./third-party-loader.vue?vue&type=template&id=54139cac\"\nimport script from \"./third-party-loader.vue?vue&type=script&lang=js\"\nexport * from \"./third-party-loader.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export const storageAvailable = function (type) {\r\n  let storage;\r\n  try {\r\n    storage = window[type];\r\n    let x = '__storage_test__';\r\n    storage.setItem(x, x);\r\n    storage.removeItem(x);\r\n    return true;\r\n  } catch (e) {\r\n    return (\r\n      e instanceof DOMException &&\r\n      // everything except Firefox\r\n      (e.code === 22 ||\r\n        // Firefox\r\n        e.code === 1014 ||\r\n        // test name field too, because code might not be present\r\n        // everything except Firefox\r\n        e.name === 'QuotaExceededError' ||\r\n        // Firefox\r\n        e.name === 'NS_ERROR_DOM_QUOTA_REACHED') &&\r\n      // acknowledge QuotaExceededError only if there's something already stored\r\n      storage &&\r\n      storage.length !== 0\r\n    );\r\n  }\r\n};\r\n\r\nexport const LOCAL_STORAGE_AVAILABLE = storageAvailable('localStorage');\r\n","import { lazyScript } from './directives/lazy-script/lazy-script';\r\nimport { svgA11yHandler } from './directives/svgHandler/svgA11yHandler';\r\nimport { tag } from './analyticsHandler/directives/tag';\r\nimport { mixinFetchData } from './mixins/fetchData/fetchData';\r\nimport { mixinParseURL } from './mixins/parseURL/parseURL';\r\nimport { background } from './directives/background/background';\r\nimport { srcset } from './directives/srcset/srcset';\r\nimport { imageloaded } from './directives/imageloaded/imageloaded';\r\nimport { loadscript } from './directives/loadscript/loadscript';\r\nimport { recommendedProducts } from './directives/helpers/recommendedProducts';\r\nimport { faqToggleActive } from './directives/faqToggleActive/faqToggleActive';\r\nimport { animateOnInview } from './directives/animateOnInview/animateOnInview';\r\nimport { animateOnScroll } from './directives/animateOnScroll/animateOnScroll';\r\nimport { changeStyleOnHover } from './directives/changeStyleOnHover/changeStyleOnHover';\r\nimport { clickextension } from './directives/clickextension/clickextension';\r\nimport { stickyOffset } from './directives/sticky-offset/sticky-offset';\r\nimport { viewPositionHelper } from './directives/view-position-helper/view-position-helper';\r\nimport { isIntersectingX } from './directives/is-intersecting-x/is-intersecting-x';\r\nimport { bus } from './directives/bus/bus';\r\nimport { gifA11y } from './directives/gifA11y/gifA11y';\r\nimport { resizeListener } from './directives/resize-listener/resize-listener';\r\nimport { scrollIntoView } from './directives/scrollIntoView/scrollIntoView';\r\nimport { scrollVisibilityTracker } from './directives/scrollVisibilityTracker/scrollVisibilityTracker';\r\nimport { toggleAnimationWithEvent } from '@Foundation/directives/toggleAnimationWithEvent/toggle-animation-with-event';\r\nimport { toggleClass } from './directives/toggle-class/toggle-class';\r\nimport { toolbarTabs } from './directives/toolbar-tabs/toolbar-tabs';\r\nimport { collapsibleList } from './directives/collapsible-list/collapsible-list';\r\nimport selectbox from './directives/selectbox/selectbox';\r\nimport { navigationHeight } from './directives/navigation-height/navigation-height';\r\nimport { formModifier } from './directives/form-modifier/form-modifier';\r\nimport { showOnCookieExpiration } from './directives/showOnCookieExpiration/show-on-cookie-expiration';\r\nimport { userInteraction } from './directives/userInteraction/userInteraction';\r\nimport { anchorTo } from './directives/anchorTo/anchorTo';\r\nimport { highlightedProducts } from './directives/highlighted-products/highlighted-products';\r\nimport './wsf/wsf';\r\n\r\nimport OapVideo from './OapVideo/OapVideo.vue';\r\nimport OapLightningoutScheduler from './OapLightningoutScheduler/OapLightningoutScheduler.vue';\r\nimport taggingWrapper from './taggingWrapper/taggingWrapper.vue';\r\nimport ReadMoreLess from './ReadMoreLess/ReadMoreLess.vue';\r\n\r\nimport ThirdPartyLoader from './ThirdPartyLoader/third-party-loader.vue';\r\n\r\nexport * from './env/env';\r\nexport * from './analyticsHandler';\r\nexport * from './mqHandler';\r\nexport * from './utilities';\r\nexport * from './storage';\r\n\r\nexport default {\r\n  directives: {\r\n    changeStyleOnHover,\r\n    lazyScript,\r\n    tag,\r\n    background,\r\n    srcset,\r\n    imageloaded,\r\n    loadscript,\r\n    clickextension,\r\n    stickyOffset,\r\n    viewPositionHelper,\r\n    animateOnInview,\r\n    animateOnScroll,\r\n    recommendedProducts,\r\n    faqToggleActive,\r\n    bus,\r\n    gifA11y,\r\n    resizeListener,\r\n    scrollIntoView,\r\n    scrollVisibilityTracker,\r\n    toggleAnimationWithEvent,\r\n    toggleClass,\r\n    collapsibleList,\r\n    isIntersectingX,\r\n    selectbox,\r\n    navigationHeight,\r\n    formModifier,\r\n    userInteraction,\r\n    showOnCookieExpiration,\r\n    toolbarTabs,\r\n    anchorTo,\r\n    highlightedProducts,\r\n    svgA11yHandler,\r\n  },\r\n\r\n  components: {\r\n    OapVideo,\r\n    OapLightningoutScheduler,\r\n    taggingWrapper,\r\n    ReadMoreLess,\r\n    ThirdPartyLoader,\r\n  },\r\n\r\n  mixins: {\r\n    mixinFetchData,\r\n    mixinParseURL,\r\n  },\r\n\r\n  filters: {\r\n    // ...\r\n  },\r\n\r\n  plugins: {\r\n    // KeySiteCore\r\n  },\r\n};\r\n","/**\r\n *  config object example:\r\n *  const config = {\r\n      method: 'POST',\r\n      body: {\r\n        \"key1\": \"value1\",\r\n        \"key2\": \"value2\"\r\n      },\r\n      headers: {'Content-Type': 'application/json'},\r\n      credentials: 'include',\r\n      cache: 'no-store'\r\n    };\r\n */\r\n\r\nexport const fetchData = (apiUrl, config, callback) => {\r\n  const checkStatus = (response) => {\r\n    if (response.status >= 200 && response.status < 300) {\r\n      return response;\r\n    }\r\n\r\n    const error = new Error(response.statusText);\r\n    error.response = response;\r\n    throw error;\r\n  };\r\n  const parseJSON = (response) => response.json();\r\n\r\n  fetch(apiUrl, config)\r\n    .then(checkStatus)\r\n    .then(parseJSON)\r\n    .then((data) => callback(data))\r\n    .catch((error) => console.warn(error));\r\n};\r\n\r\nexport const mixinFetchData = {\r\n  methods: {\r\n    fetchData,\r\n  },\r\n};\r\n","import eventBus from '@loreal/eventbus-js';\r\n\r\n/**\r\n * MqHandler will use the eventBus to emit mediaquery changes based on matchMedia listeners.\r\n * Also has functions to ask for the current media query or to get a matchMedia object by screensize.\r\n * @class MqHandler\r\n */\r\nexport default class MqHandler {\r\n  /**\r\n   * MqHandler constructor.\r\n   * @property {object} query - MediaQuery Object. Preferably taken from body:before { content: \"\" }\r\n   * @constructs MqHandler\r\n   */\r\n  constructor(mqs) {\r\n    if (!mqs) {\r\n      console.error('No media queries object given');\r\n      return;\r\n    }\r\n    /**\r\n     * MediaQuery Object.\r\n     * Preferably taken from body:before { content: \"\" }\r\n     * @type {object}\r\n     * @member MqHandler#mqs\r\n     */\r\n    this.mqs = mqs;\r\n\r\n    /**\r\n     * matchMediaItems Object with correctly mapped data.\r\n     * @type {object}\r\n     * @member MqHandler#matchMediaItems\r\n     */\r\n    this.matchMediaItems = this.createWorkingData();\r\n    this.bind();\r\n  }\r\n\r\n  /**\r\n   * Creates correct content for matchMediaItems\r\n   */\r\n  createWorkingData() {\r\n    return this.mqs.map((mq) => this.createMatchMediaItem(mq));\r\n  }\r\n\r\n  /**\r\n   * @typedef matchMediaItem\r\n   * @type {object}\r\n   * @property {string} query - the mediaquery as a string. For example: \"(min-width: 768px) and (max-width: 1023px)\"\r\n   * @property {boolean} selected - if this mediaquery is the selected one\r\n   * @property {string} size - The size identifier of the mediaquery. Can be: small, medium, large\r\n   * @property {object} matchMedia - The attached matchMedia object\r\n   */\r\n\r\n  /**\r\n   * Creates matchMediaItem\r\n   * @param {object} data - mediaquery data\r\n   * @return {matchMediaItem}\r\n   */\r\n  createMatchMediaItem(data) {\r\n    return {\r\n      query: data.mq,\r\n      selected: data.selected,\r\n      size: data.size,\r\n      matchMedia: window.matchMedia(data.mq),\r\n    };\r\n  }\r\n\r\n  /**\r\n   * Binds the matchMedia mediaquery listeners\r\n   */\r\n  /* istanbul ignore next */\r\n\r\n  // ignoring because of the fact the test runner can't use the addListener function\r\n  bind() {\r\n    this.matchMediaItems.forEach((mq) => {\r\n      mq.matchMedia.addListener(() => {\r\n        if (mq.matchMedia.matches) {\r\n          this.select(mq.query);\r\n        }\r\n      });\r\n    });\r\n  }\r\n\r\n  /**\r\n   * Selects the correct mediaquery based on the current matching matchMedia media query\r\n   * Sends an event over the window.eventBus\r\n   * @param {object} query - matchMediaItems item query string\r\n   */\r\n  select(query) {\r\n    this.unselectAll();\r\n    const selectedMq = this.matchMediaItems.find((mq) => mq.query === query);\r\n    selectedMq.selected = true;\r\n\r\n    eventBus.emit('mediaquery::changed', selectedMq);\r\n    return selectedMq;\r\n  }\r\n\r\n  /**\r\n   * loops over all matchMediaItems and unselects them\r\n   */\r\n  unselectAll() {\r\n    this.matchMediaItems.forEach((mq) => {\r\n      mq.selected = false;\r\n    });\r\n\r\n    // returns for unit testing purposes\r\n    return this.matchMediaItems;\r\n  }\r\n\r\n  /**\r\n   * Returns the currently selected matchMediaItems item\r\n   * @return {object} selected matchMediaItems item\r\n   */\r\n  getCurrentMq() {\r\n    return this.matchMediaItems.find((mq) => mq.selected === true);\r\n  }\r\n\r\n  /**\r\n   * Returns the matchMediaItems item for a size\r\n   * @param {string} size - can be small, medium, large\r\n   * @return {object} matchMediaItems item as per given size\r\n   */\r\n  getMqForSize(size) {\r\n    return this.matchMediaItems.find((mq) => mq.size === size);\r\n  }\r\n\r\n  static getMqHandler() {\r\n    if (!this.$mqHandler) {\r\n      const mqs = JSON.parse(\r\n        window\r\n          .getComputedStyle(document.body, ':before')\r\n          .getPropertyValue('content')\r\n          .replace(/\\\\/g, '')\r\n          .slice(1, -1)\r\n      );\r\n      this.$mqHandler = new MqHandler(mqs);\r\n    }\r\n    return this.$mqHandler;\r\n  }\r\n}\r\n","let ExperienceEditorVueBridge;\r\n\r\nconst _isExperienceEditor = () => window?.Sitecore?.PageModes?.PageEditor;\r\n\r\nif (_isExperienceEditor()) {\r\n  ExperienceEditorVueBridge = (await import('./ExperienceEditorVueBridge')).default;\r\n}\r\n\r\nexport default {\r\n  initializeVueApp(initVueApp) {\r\n    ExperienceEditorVueBridge?.persistPlaceholderKeys();\r\n    initVueApp();\r\n    ExperienceEditorVueBridge?.ensurePlaceholderKeys();\r\n  },\r\n};\r\n","const generateArrayOf = (n, item, settings = {}) =>\r\n  Array.from({ length: n }, (_, index) => item(index, settings));\r\n\r\nconst requireAll = (r) => {\r\n  r.keys().forEach(r);\r\n};\r\n\r\nmodule.exports = {\r\n  generateArrayOf,\r\n  requireAll,\r\n};\r\n","export function inViewport(element) {\r\n  const rect = element.getBoundingClientRect();\r\n\r\n  return (\r\n    rect.left >= 0 &&\r\n    rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&\r\n    rect.right <= (window.innerWidth || document.documentElement.clientWidth)\r\n  );\r\n}\r\n","export const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\r\n","export const isInstagram = navigator.userAgent.toLowerCase().trim().includes('instagram');\r\n","export function scrollElementIntoView(element, behavior = 'smooth', delay = 0) {\r\n  setTimeout(() => element.scrollIntoView({ behavior }), delay);\r\n}\r\n","export function urlHasKey(key, URLObject) {\r\n  const url = URLObject || window.location;\r\n  const searchString = url.search;\r\n  const searchParams = new URLSearchParams(searchString);\r\n\r\n  return searchParams.has(key);\r\n}\r\n","import { inViewport } from './inViewport';\r\nimport { isVisible } from './isVisible';\r\nimport { throttle } from './timing';\r\n\r\nexport function inViewportAndVisible(node, options, callback) {\r\n  return throttle(() => {\r\n    /* istanbul ignore else */\r\n    if (\r\n      (options.checkIsVisible && inViewport(node) && isVisible(node)) ||\r\n      (!options.checkIsVisible && inViewport(node))\r\n    ) {\r\n      callback();\r\n    }\r\n  }, options.delay);\r\n}\r\n\r\nexport function intersectionObserverFallback(node, delay) {\r\n  return new Promise((resolve) => {\r\n    const scrollListener = inViewportAndVisible(node, delay, () => {\r\n      window.removeEventListener('scroll', scrollListener);\r\n      window.removeEventListener('resize', scrollListener);\r\n      resolve();\r\n    });\r\n\r\n    window.addEventListener('scroll', scrollListener, false);\r\n    window.addEventListener('resize', scrollListener, false);\r\n\r\n    scrollListener();\r\n  });\r\n}\r\n\r\nconst defaultConditionCheckCallback = (change) => change.intersectionRatio > 0;\r\n\r\n/**\r\n * Create a new IntersectionObserver (or a fallback) and return a Promise which will be resolved when the node is\r\n * visible in the viewport.\r\n *\r\n * @param {HTMLElement} node\r\n * @param options\r\n * @param {Boolean}      options.checkIsVisible\r\n * @param {Number}       options.delay\r\n * @param {String}       options.rootMargin             [rootMargin docs]{@link https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/rootMargin}\r\n * @param {Number|Array} options.threshold              [thresholds docs]{@link https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/thresholds}\r\n * @param {Boolean}      options.shouldUnobserve\r\n * @param {Function}     options.conditionCheckCallback\r\n * @param {Function}     options.callbackBeforeResolve\r\n */\r\nexport function intersectionViewportObserver(node, options = {}) {\r\n  const {\r\n    checkIsVisible = true,\r\n    delay = 500,\r\n    rootMargin = '150px 150px 150px 150px',\r\n    threshold = [0],\r\n    shouldUnobserve = true,\r\n    conditionCheckCallback = defaultConditionCheckCallback,\r\n    callbackBeforeResolve = null,\r\n  } = options;\r\n\r\n  /* istanbul ignore else */\r\n  if ('IntersectionObserver' in window) {\r\n    return new Promise((resolve) => {\r\n      const observer = new IntersectionObserver(\r\n        (changes) => {\r\n          changes.forEach((change) => {\r\n            if (conditionCheckCallback(change)) {\r\n              if (callbackBeforeResolve && typeof callbackBeforeResolve === 'function')\r\n                callbackBeforeResolve();\r\n              if (shouldUnobserve) observer.unobserve(node);\r\n              resolve();\r\n            }\r\n          });\r\n        },\r\n        { rootMargin, threshold }\r\n      );\r\n\r\n      observer.observe(node);\r\n    });\r\n  } else {\r\n    return intersectionObserverFallback(node, { delay, checkIsVisible });\r\n  }\r\n}\r\n","export function isVisible(el) {\r\n  const elPosInfo = el.getBoundingClientRect();\r\n  const elCenter = {\r\n    x: elPosInfo.left + el.offsetWidth / 2,\r\n    y: elPosInfo.top + el.offsetHeight / 2,\r\n  };\r\n  let pointContainer = document.elementFromPoint(elCenter.x, elCenter.y);\r\n\r\n  if (\r\n    elCenter.x < 0 ||\r\n    elCenter.y < 0 ||\r\n    elCenter.x > (document.documentElement.clientWidth || window.innerWidth) ||\r\n    elCenter.y > (document.documentElement.clientHeight || window.innerHeight)\r\n  ) {\r\n    return false;\r\n  }\r\n\r\n  /* eslint-disable no-cond-assign */\r\n  do {\r\n    if (pointContainer === el) {\r\n      return true;\r\n    }\r\n  } while ((pointContainer = pointContainer?.parentNode));\r\n  /* eslint-enable no-cond-assign */\r\n\r\n  return false;\r\n}\r\n","export function makeVideoAccessible(element, isInformative, title) {\r\n  if (element) {\r\n    if (!isInformative) {\r\n      element.setAttribute('tabindex', -1);\r\n      element.setAttribute('aria-hidden', true);\r\n      element.removeAttribute('title');\r\n    } else {\r\n      element.setAttribute('title', title);\r\n    }\r\n  }\r\n}\r\n","export function debounce(func, delay) {\r\n  let inDebounce;\r\n  return function () {\r\n    const context = this;\r\n    const args = arguments; /* eslint-disable-line prefer-rest-params */\r\n    clearTimeout(inDebounce);\r\n    inDebounce = setTimeout(() => func.apply(context, args), delay);\r\n  };\r\n}\r\n\r\nexport function throttle(func, limit) {\r\n  let lastFunc;\r\n  let lastRan;\r\n  return function () {\r\n    const context = this;\r\n    const args = arguments; /* eslint-disable-line prefer-rest-params */\r\n    if (!lastRan) {\r\n      func.apply(context, args);\r\n      lastRan = Date.now();\r\n    } else {\r\n      clearTimeout(lastFunc);\r\n      lastFunc = setTimeout(() => {\r\n        if (Date.now() - lastRan >= limit) {\r\n          func.apply(context, args);\r\n          lastRan = Date.now();\r\n        }\r\n      }, limit - (Date.now() - lastRan));\r\n    }\r\n  };\r\n}\r\n","export const uniqueId = () => Math.random().toString(36).substring(2);\r\n","import 'lazysizes';\r\nimport { createApp } from 'vue';\r\n\r\n// Plugins for zone-level customizations\r\nimport loadZoneCustomizations from '@loreal/zone-plugin-loader';\r\nimport init from '@loreal/sisyphus';\r\n\r\n// Sitecore-Vue bridge\r\nimport SitecoreVueAdapter from '@Foundation/sitecore/SitecoreVueAdapter';\r\n\r\n// Helpers\r\nimport { requireAll } from '@Foundation/utilities/helpers';\r\n\r\n// Foundation\r\nimport eventBus, { exposeGlobals } from '@loreal/eventbus-js';\r\nimport { background } from '@Foundation/directives/background/background';\r\nimport { bus } from '@Foundation/directives/bus/bus';\r\nimport { navigationHeight } from '@Foundation/directives/navigation-height/navigation-height';\r\nimport { tag } from '@Foundation/analyticsHandler/directives/tag';\r\nimport { toggleClass } from '@Foundation/directives/toggle-class/toggle-class';\r\n\r\n// Feature\r\nimport CookieBanner from '@Feature/PageContentExt';\r\nimport GenericForm from '@Feature/GenericForm';\r\nimport HeaderLogo from '@Feature/HeaderLogo';\r\nimport Iframepopup from '@Feature/IframePopup';\r\nimport NavigationModule from '@Feature/Navigation';\r\nimport NewsletterModule from '@Feature/NewsLetter';\r\nimport OapAccountNavigation from '@Feature/OapAccountNavigation';\r\nimport OapBeautyGeniusWrapper from '@Feature/OapBeautyGeniusWrapper';\r\nimport OapCountdown from '@Feature/OapCountdown';\r\nimport OapCardPopin from '@Feature/OapCardPopin';\r\nimport OapEventfulTextInput from '@Feature/OapEventfulTextInput';\r\nimport OapIframe from '@Feature/OapIframe';\r\nimport OapPopin from '@Feature/OapPopin';\r\nimport OapPromoBar from '@Feature/OapPromoBar';\r\nimport OapSlider from '@Feature/OapSlider';\r\nimport OapStrikethroughScrolling from '@Feature/OapStrikethroughScrolling';\r\nimport OneTrustCookieHelper from '@Feature/OneTrust';\r\nimport Overlay from '@Feature/Overlay';\r\nimport Search from '@Feature/Search';\r\nimport SearchSuggestions from '@Feature/SearchSuggestions';\r\nimport Slider from '@Feature/Slider';\r\nimport VideoPlaceholder from '@Feature/VideoPlaceholder';\r\nimport OapPageNavigation from '@Feature/OapPageNavigation';\r\nimport OapCarouselControls from '@Feature/CarouselControls';\r\nimport FooterNewsletterSignupModal from '@Feature/FooterNewsletterSignupModal';\r\n\r\nexposeGlobals();\r\n\r\nconst app = createApp({});\r\napp.config.compilerOptions.whitespace = 'preserve';\r\napp.config.performance = true;\r\n\r\n// Register directives\r\nObject.entries({\r\n  ...NavigationModule.directives,\r\n  ...Search.directives,\r\n  background,\r\n  bus,\r\n  navigationHeight,\r\n  tag,\r\n  toggleClass,\r\n}).forEach(([name, directive]) => app.directive(name, directive));\r\n\r\n// Register components\r\nObject.entries({\r\n  ...CookieBanner.components,\r\n  ...GenericForm.components,\r\n  ...HeaderLogo.components,\r\n  ...Iframepopup.components,\r\n  ...NavigationModule.components,\r\n  ...NewsletterModule.components,\r\n  ...OapAccountNavigation.components,\r\n  ...OapBeautyGeniusWrapper.components,\r\n  ...OapCountdown.components,\r\n  ...OapCardPopin.components,\r\n  ...OapEventfulTextInput.components,\r\n  ...OapIframe.components,\r\n  ...OapSlider.components,\r\n  ...OapPopin.components,\r\n  ...OapPromoBar.components,\r\n  ...OapStrikethroughScrolling.components,\r\n  ...OneTrustCookieHelper.components,\r\n  ...Overlay.components,\r\n  ...SearchSuggestions.components,\r\n  ...Slider.components,\r\n  ...VideoPlaceholder.components,\r\n  ...OapPageNavigation.components,\r\n  ...OapCarouselControls.components,\r\n  ...FooterNewsletterSignupModal.components,\r\n}).forEach(([name, component]) => app.component(name, component));\r\n\r\n/**\r\n * Initialize any zone-level customizations.\r\n * Every zone/country can create their own Vue components and make them available\r\n * to their code through the use of a Vue.js Plugin\r\n *\r\n * @see https://vuejs.org/guide/reusability/plugins.html#writing-a-plugin\r\n * */\r\nloadZoneCustomizations(app, {});\r\n// Initialize third party loader\r\ninit();\r\n\r\nrequireAll(require.context('../../../Icons/', true, /\\.svg$/));\r\n\r\ndocument.addEventListener('lazybeforeunveil', (event) =>\r\n  eventBus.emit('image.lazybeforeunveil', event)\r\n);\r\nwindow.RefAppMctb && app.use(window.RefAppMctb);\r\nwindow.RefAppAmp && app.use(window.RefAppAmp);\r\nwindow.RefAppStoreLocator && app.use(window.RefAppStoreLocator);\r\nwindow.RefAppRatingsReviews && app.use(window.RefAppRatingsReviews);\r\nSitecoreVueAdapter.initializeVueApp(app.mount.bind(app, '#main-container'));\r\n","<template>\r\n  <transition name=\"modal\">\r\n    <div v-show=\"showModal\" class=\"modal__mask\">\r\n      <div v-if=\"focusTrap\" ref=\"topFocusGuard\" tabindex=\"0\"></div>\r\n      <button\r\n        v-if=\"hasCloseIcon\"\r\n        ref=\"closeButtonSmallScreen\"\r\n        class=\"modal__close -smallScreen\"\r\n        @blur=\"closeBtnBlurEvent\"\r\n        @click=\"closeModal\"\r\n        @keyup.esc=\"closeModal\"\r\n        @keyup.shift.tab=\"shiftTabKeyupEvent\"\r\n      >\r\n        <svg :aria-labelledby=\"modalIdentifierSmall\" class=\"icon\" role=\"img\">\r\n          <title :id=\"modalIdentifierSmall\">Close</title>\r\n          <use xlink:href=\"#close\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"></use>\r\n        </svg>\r\n      </button>\r\n\r\n      <div class=\"modal__layer\" @click=\"backdropClick\"></div>\r\n\r\n      <div class=\"modal__wrapper\">\r\n        <div class=\"modal__wrapperLayer\" @click=\"backdropClick\"></div>\r\n        <div class=\"modal__container\">\r\n          <button\r\n            v-if=\"hasCloseIcon\"\r\n            ref=\"closeButtonLargeScreen\"\r\n            class=\"modal__close -largeScreen\"\r\n            @blur=\"closeBtnBlurEvent\"\r\n            @click=\"closeModal\"\r\n            @keyup.esc=\"closeModal\"\r\n            @keyup.shift.tab=\"shiftTabKeyupEvent\"\r\n          >\r\n            <svg :aria-labelledby=\"modalIdentifierLarge\" class=\"icon\" role=\"img\">\r\n              <title :id=\"modalIdentifierLarge\">Close</title>\r\n              <use xlink:href=\"#close\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"></use>\r\n            </svg>\r\n          </button>\r\n\r\n          <div class=\"modal__body\">\r\n            <slot />\r\n          </div>\r\n        </div>\r\n      </div>\r\n      <div v-if=\"focusTrap\" ref=\"bottomFocusGuard\" tabindex=\"0\"></div>\r\n    </div>\r\n  </transition>\r\n</template>\r\n\r\n<script>\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport MqHandler from '../../../../../Foundation/Core/code/Scripts/mqHandler/MqHandler';\r\n\r\nexport default {\r\n  name: 'Modal',\r\n  props: {\r\n    hasBackdropClick: {\r\n      default: true,\r\n      type: Boolean,\r\n    },\r\n    modalidentifier: { type: String, default: 'default-modal-id' },\r\n    focusTrap: { type: Boolean, default: true },\r\n    hasCloseIcon: { type: Boolean, default: true },\r\n    domNodesToHide: { type: Array, default: () => ['header', 'footer', '#content'] },\r\n    isInZapper: { type: Boolean, default: false },\r\n  },\r\n  data() {\r\n    return {\r\n      showModal: false,\r\n      smallScreen: MqHandler.getMqHandler().getMqForSize('small').selected,\r\n      modalId: this.modalidentifier,\r\n      modalIdentifierSmall: `close-modal-icon-small-${Math.random()}`,\r\n      modalIdentifierLarge: `close-modal-icon-large-${Math.random()}`,\r\n    };\r\n  },\r\n  mounted() {\r\n    /* istanbul ignore next */\r\n    const defaultPayload = {\r\n      isFromUrlParam: false,\r\n      showModal: true,\r\n    };\r\n    eventBus.on(`modal:${this.modalId}`, ({ isFromUrlParam, showModal } = defaultPayload) => {\r\n      this.showModal = showModal;\r\n\r\n      if (this.showModal) {\r\n        if (!this.isInZapper || isFromUrlParam) {\r\n          document.querySelector('body').classList.add('noScroll');\r\n        }\r\n\r\n        this.setAriaHidden('true');\r\n\r\n        window.addEventListener('keyup', (e) => {\r\n          if (e.keyCode === 27) {\r\n            this.closeModal();\r\n          }\r\n        });\r\n      } else {\r\n        this.closeModal();\r\n      }\r\n\r\n      this.$nextTick(() => {\r\n        if (this.showModal) {\r\n          this.setButtonFocus();\r\n        }\r\n      });\r\n    });\r\n\r\n    /* istanbul ignore next */\r\n    eventBus.on('mediaquery::changed', (mq) => {\r\n      this.smallScreen = mq.size === 'small';\r\n    });\r\n\r\n    // right arrow in carousel blur event, focus on cross again.\r\n    /* istanbul ignore next */\r\n    eventBus.on('lastArrowBlur', () => {\r\n      this.setButtonFocus();\r\n    });\r\n\r\n    if (this.focusTrap) {\r\n      this.focusGuard();\r\n      this.toggleDomNodes(true);\r\n    }\r\n  },\r\n\r\n  beforeDestroy() {\r\n    window.removeEventListener('keyup');\r\n\r\n    if (this.focusTrap) {\r\n      this.$refs.topFocusGuard.removeEventListener('focus');\r\n      this.$refs.bottomFocusGuard.removeEventListener('focus');\r\n    }\r\n  },\r\n\r\n  methods: {\r\n    backdropClick() {\r\n      if (!this.hasBackdropClick) return;\r\n\r\n      this.closeModal();\r\n    },\r\n\r\n    setAriaHidden(value) {\r\n      const ariaHidden = 'aria-hidden';\r\n      const DOCUMENT_SELECTORS = {\r\n        BODY: document.querySelector('body'),\r\n        HEADER: document.querySelector('header'),\r\n        FOOTER: document.querySelector('footer'),\r\n        CONTENT: document.querySelector('#content'),\r\n      };\r\n\r\n      DOCUMENT_SELECTORS.HEADER ? DOCUMENT_SELECTORS.HEADER.setAttribute(ariaHidden, value) : false;\r\n      DOCUMENT_SELECTORS.FOOTER ? DOCUMENT_SELECTORS.FOOTER.setAttribute(ariaHidden, value) : false;\r\n      DOCUMENT_SELECTORS.CONTENT\r\n        ? DOCUMENT_SELECTORS.CONTENT.setAttribute(ariaHidden, value)\r\n        : false;\r\n    },\r\n    closeModal() {\r\n      this.showModal = false;\r\n\r\n      if (document.querySelector('.noScroll') && !this.isInZapper) {\r\n        document.querySelector('body').classList.remove('noScroll');\r\n      }\r\n\r\n      this.setAriaHidden('false');\r\n\r\n      eventBus.emit('modal:closed', this.modalidentifier);\r\n\r\n      this.toggleDomNodes(false);\r\n    },\r\n\r\n    closeBtnBlurEvent() {\r\n      if (this.shiftAndTabHappened && this.$el.querySelector('.carousel-navigation-button')) {\r\n        let buttonToFocus = this.$el.querySelector('.carousel-navigation-next');\r\n\r\n        if (buttonToFocus.disabled) {\r\n          buttonToFocus = this.$el.querySelector('.carousel-navigation-prev');\r\n        }\r\n\r\n        buttonToFocus.focus();\r\n\r\n        this.shiftAndTabHappened = false;\r\n      }\r\n    },\r\n\r\n    shiftTabKeyupEvent() {\r\n      this.shiftAndTabHappened = true;\r\n    },\r\n\r\n    focusGuard() {\r\n      this.$refs.topFocusGuard.addEventListener('focus', () => {\r\n        this.setButtonFocus();\r\n      });\r\n      this.$refs.bottomFocusGuard.addEventListener('focus', () => {\r\n        this.setButtonFocus();\r\n      });\r\n    },\r\n\r\n    toggleDomNodes(value) {\r\n      this.domNodesToHide.forEach((node) => {\r\n        let nodeInDom = document.querySelector(node);\r\n        if (nodeInDom) {\r\n          nodeInDom.setAttribute('aria-hidden', value);\r\n        }\r\n      });\r\n    },\r\n\r\n    setButtonFocus() {\r\n      if (this.hasCloseIcon) {\r\n        this.smallScreen\r\n          ? this.$refs.closeButtonSmallScreen?.focus()\r\n          : this.$refs.closeButtonLargeScreen?.focus();\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./modal.vue?vue&type=template&id=73ab9656\"\nimport script from \"./modal.vue?vue&type=script&lang=js\"\nexport * from \"./modal.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div\r\n    :is=\"$props.tagname\"\r\n    ref=\"collapseContainer\"\r\n    class=\"collapsable\"\r\n    :class=\"[\r\n      { 'collapsable--social': social },\r\n      { collapsable__contentExpanded: !collapsed && (isMobileView || hasTranscript) },\r\n    ]\"\r\n    :aria-labelledby=\"identifier\"\r\n  >\r\n    <template v-if=\"isMobileView || hasTranscript\">\r\n      <button\r\n        class=\"collapsable__titleWrapper\"\r\n        :aria-expanded=\"`${collapsed ? 'false' : 'true'}`\"\r\n        @click=\"onCollapse\"\r\n      >\r\n        <slot name=\"indicator\"></slot>\r\n        <slot name=\"title\"></slot>\r\n      </button>\r\n      <slot name=\"optional\"></slot>\r\n      <div\r\n        class=\"collapsable__contentWrapper\"\r\n        :class=\"{ collapsable__contentCollapsed: collapsed }\"\r\n      >\r\n        <slot name=\"content\"></slot>\r\n      </div>\r\n    </template>\r\n    <template v-else>\r\n      <slot name=\"title\"></slot>\r\n      <slot name=\"optional\"></slot>\r\n      <slot name=\"content\"></slot>\r\n    </template>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport { MqHandler } from '../../../../../Foundation/Core/code/Scripts/mqHandler';\r\nimport eventBus from '@loreal/eventbus-js';\r\n\r\nexport default {\r\n  name: 'Collapsable',\r\n  props: {\r\n    tagname: { type: String, default: 'div' },\r\n    social: { type: Boolean, default: false },\r\n    identifier: { type: String, required: true },\r\n    forceMobile: { type: Boolean, default: false },\r\n    hasTranscript: { type: Boolean, default: false },\r\n    isCollapsed: { type: Boolean, default: true },\r\n    currentIndex: { type: String, default: '' },\r\n  },\r\n  data() {\r\n    return {\r\n      smallScreen:\r\n        MqHandler.getMqHandler().getMqForSize('small').selected ||\r\n        MqHandler.getMqHandler().getMqForSize('medium').selected,\r\n      collapsed: true,\r\n    };\r\n  },\r\n\r\n  computed: {\r\n    isMobileView() {\r\n      return this.smallScreen || this.forceMobile;\r\n    },\r\n  },\r\n\r\n  watch: {\r\n    isCollapsed: {\r\n      handler(value) {\r\n        this.collapsed = value;\r\n      },\r\n      immediate: true,\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    eventBus.on('mediaquery::changed', (mq) => {\r\n      this.smallScreen = !!(mq.size === 'small' || mq.size === 'medium');\r\n      this.collapsed = !this.smallScreen;\r\n    });\r\n\r\n    eventBus.on('collapse', (index) => {\r\n      if (index !== this.currentIndex) {\r\n        this.collapsed = true;\r\n      }\r\n    });\r\n  },\r\n\r\n  methods: {\r\n    onCollapse() {\r\n      this.collapsed = !this.collapsed;\r\n      eventBus.emit('collapse', this.currentIndex);\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./collapsable.vue?vue&type=template&id=435fa048\"\nimport script from \"./collapsable.vue?vue&type=script&lang=js\"\nexport * from \"./collapsable.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div :id=\"id\" ref=\"root\" class=\"pop-in\" @keydown.esc=\"closePopIn\" @click=\"closePopIn\">\r\n    <div id=\"pop-in-card-content\" class=\"pop-in-content\">\r\n      <button class=\"close\" @click=\"closePopIn\"></button>\r\n      <div v-if=\"iframeOpened\">\r\n        <slot name=\"popup-content\"></slot>\r\n      </div>\r\n    </div>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\n// TODO Reduce the amount of DOM queries by caching elements into variables\r\nconst OPENED_CLASS = 'opened';\r\n\r\nexport default {\r\n  name: 'OapCardPopin',\r\n  props: {\r\n    id: {\r\n      type: String,\r\n      default: 'pop-in-card',\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      iframeOpened: false,\r\n    };\r\n  },\r\n  mounted() {\r\n    document.addEventListener('keyup', (evt) => {\r\n      if (evt.keyCode === 27 && this.$refs.root.classList.contains(OPENED_CLASS)) {\r\n        this.closePopIn();\r\n      }\r\n    });\r\n\r\n    const triggers = document.querySelectorAll('.newsletter-i-frame-link');\r\n\r\n    if (triggers.length) {\r\n      triggers.forEach((item) => {\r\n        item.addEventListener('click', () => {\r\n          if (item?.id === this.$refs.root.id) {\r\n            this.$refs.root.classList.add(OPENED_CLASS);\r\n            document.body.classList.add('noScroll');\r\n            this.iframeOpened = true;\r\n          }\r\n        });\r\n      });\r\n    }\r\n  },\r\n  beforeUnmount() {\r\n    if (this.$refs.root.classList.contains(OPENED_CLASS)) {\r\n      this.closePopIn();\r\n    }\r\n  },\r\n  methods: {\r\n    closePopIn() {\r\n      this.$refs.root.classList.remove(OPENED_CLASS);\r\n      document.body.classList.remove('noScroll');\r\n    },\r\n  },\r\n};\r\n</script>\r\n\r\n<style>\r\n.pop-in {\r\n  position: fixed;\r\n  top: 0;\r\n  bottom: 0;\r\n  left: 0;\r\n  right: 0;\r\n  z-index: 1001;\r\n  background: rgb(0 0 0 / 70%);\r\n  visibility: hidden;\r\n  text-align: center;\r\n}\r\n\r\n.pop-in.opened {\r\n  visibility: visible;\r\n  opacity: 1;\r\n  width: 100%;\r\n}\r\n\r\n.pop-in-content {\r\n  max-width: 630px;\r\n  width: 100%;\r\n}\r\n\r\n.pop-in .pop-in-content {\r\n  text-align: left;\r\n  position: relative;\r\n  margin: 66px auto;\r\n  padding: 16px;\r\n  background: #fff;\r\n  border-radius: 4px;\r\n  display: inline-block;\r\n  color: black;\r\n  height: calc(100% - 132px);\r\n  max-height: 745px;\r\n}\r\n\r\n.pop-in .pop-in-content .close {\r\n  display: block;\r\n  position: relative;\r\n  top: 2px;\r\n  right: 0;\r\n  float: right;\r\n  width: 30px;\r\n  height: 30px;\r\n  z-index: 999;\r\n  padding: 0;\r\n  border: 0;\r\n  cursor: pointer;\r\n  margin-bottom: 10px;\r\n}\r\n\r\n.pop-in .pop-in-content .close::before,\r\n.pop-in .pop-in-content .close::after {\r\n  position: absolute;\r\n  z-index: 100000;\r\n  left: 13px;\r\n  top: 0;\r\n  content: \"\";\r\n  height: 25px;\r\n  width: 2px;\r\n  background-color: black;\r\n}\r\n\r\n.pop-in .pop-in-content .close::before {\r\n  transform: rotate(45deg);\r\n}\r\n\r\n.pop-in .pop-in-content .close::after {\r\n  transform: rotate(-45deg);\r\n}\r\n\r\n.popin-container-content .btn-default {\r\n  background: #242424 !important;\r\n  color: #fff !important;\r\n  text-transform: uppercase;\r\n  font-size: 18px;\r\n  font-family: \"DINNextW01-CondensedBol\", serif;\r\n  letter-spacing: 0.3px;\r\n  border-radius: 0;\r\n}\r\n\r\n.popin-container-content .btn-default:active:focus {\r\n  background: #242424;\r\n  color: #fff;\r\n  text-transform: uppercase;\r\n  font-size: 18px;\r\n  font-family: \"DINNextW01-CondensedBol\", serif;\r\n  letter-spacing: 0.3px;\r\n  border-radius: 0;\r\n}\r\n\r\n#pop-in-card-content iframe {\r\n  margin-top: 30px;\r\n  height: 89%;\r\n  position: absolute;\r\n  width: calc(100% - 30px);\r\n}\r\n\r\n@media only screen and (max-width: 600px) {\r\n  .pop-in .pop-in-content {\r\n    margin: 0 auto;\r\n    height: 100vh;\r\n    max-height: 100%;\r\n  }\r\n\r\n  #pop-in-card-content iframe {\r\n    height: calc(100vh - 60px);\r\n  }\r\n}\r\n</style>\r\n","import { render } from \"./OapCardPopin.vue?vue&type=template&id=7e9dc9b1\"\nimport script from \"./OapCardPopin.vue?vue&type=script&lang=js\"\nexport * from \"./OapCardPopin.vue?vue&type=script&lang=js\"\n\nimport \"./OapCardPopin.vue?vue&type=style&index=0&id=7e9dc9b1&lang=css\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\r\n  <div class=\"oap-iframe-wrapper\">\r\n    <iframe\r\n      class=\"oap-iframe\"\r\n      :src=\"iframeSrc\"\r\n      :height=\"computedHeight\"\r\n      :title=\"title ? title : 'frame'\"\r\n    />\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport eventBus from '@loreal/eventbus-js';\r\nimport { intersectionViewportObserver } from '../../../../../Foundation/Core/code/Scripts/utilities/intersectionViewportObserver';\r\nimport { MqHandler } from '../../../../../Foundation/Core/code/Scripts/mqHandler';\r\n\r\nexport default {\r\n  name: 'OapIframe',\r\n\r\n  props: {\r\n    heightScreenLarge: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    heightScreenSmall: {\r\n      type: String,\r\n      default: '',\r\n    },\r\n    src: {\r\n      type: String,\r\n      required: true,\r\n      default: '',\r\n    },\r\n    title: {\r\n      type: String,\r\n      required: true,\r\n      default: '',\r\n    },\r\n  },\r\n\r\n  data() {\r\n    return {\r\n      iframeSrc: undefined,\r\n      isLargeScreen: false,\r\n    };\r\n  },\r\n\r\n  computed: {\r\n    computedHeight() {\r\n      return this.isLargeScreen ? this.heightScreenLarge : this.heightScreenSmall;\r\n    },\r\n  },\r\n\r\n  mounted() {\r\n    intersectionViewportObserver(this.$el, {\r\n      checkIsVisible: false,\r\n      threshold: [0.006],\r\n    }).then(() => {\r\n      this.iframeSrc = this.src;\r\n    });\r\n\r\n    this.checkAndWatchScreenSize();\r\n\r\n    window.addEventListener('load', () => {\r\n      this.$el.querySelector('.oap-iframe').setAttribute('scrolling', 'yes');\r\n    });\r\n  },\r\n\r\n  methods: {\r\n    checkAndWatchScreenSize() {\r\n      this.isLargeScreen = MqHandler.getMqHandler().getMqForSize('large').selected;\r\n\r\n      eventBus.on('mediaquery::changed', (mq) => {\r\n        this.isLargeScreen = mq.size === 'large';\r\n      });\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import { render } from \"./oap-iframe.vue?vue&type=template&id=7572cfca\"\nimport script from \"./oap-iframe.vue?vue&type=script&lang=js\"\nexport * from \"./oap-iframe.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","var map = {\n\t\"./arrow-back.svg\": 804,\n\t\"./arrow-icon.svg\": 1878,\n\t\"./arrow-next.svg\": 7438,\n\t\"./arrow-prev.svg\": 9922,\n\t\"./arrow-search.svg\": 7025,\n\t\"./arrow-top-right.svg\": 4007,\n\t\"./bag.svg\": 69,\n\t\"./burger.svg\": 7070,\n\t\"./carbon-footprint.svg\": 156,\n\t\"./check.svg\": 595,\n\t\"./close.svg\": 4695,\n\t\"./disabled.svg\": 2149,\n\t\"./disc.svg\": 1674,\n\t\"./discontinued.svg\": 9540,\n\t\"./edit-pencil.svg\": 4501,\n\t\"./email-white.svg\": 1279,\n\t\"./email.svg\": 6079,\n\t\"./exclamation.svg\": 4120,\n\t\"./favorite-heart-empty-pdp-max-lite.svg\": 9457,\n\t\"./favorite-heart-empty.svg\": 1050,\n\t\"./favorite-heart-full-pdp-max-lite.svg\": 1607,\n\t\"./favorite-heart-full.svg\": 5836,\n\t\"./favorite-heart-outlined-pdp-max-lite.svg\": 6560,\n\t\"./favorite-heart-outlined.svg\": 6473,\n\t\"./filter.svg\": 7339,\n\t\"./ico-arrow-up.svg\": 2006,\n\t\"./ico-facebook.svg\": 6765,\n\t\"./ico-instagram.svg\": 6935,\n\t\"./ico-mail.svg\": 7468,\n\t\"./ico-pinterest.svg\": 2125,\n\t\"./ico-tumblr.svg\": 7995,\n\t\"./ico-twitter.svg\": 8234,\n\t\"./ico-youtube.svg\": 7392,\n\t\"./icon-account.svg\": 4480,\n\t\"./icon-bell.svg\": 1980,\n\t\"./icon-burger-black.svg\": 6926,\n\t\"./icon-burger-close-black.svg\": 8949,\n\t\"./icon-chevron.svg\": 8596,\n\t\"./icon-earth.svg\": 6729,\n\t\"./icon-edit-black.svg\": 4521,\n\t\"./icon-edit-white.svg\": 8623,\n\t\"./icon-email.svg\": 4801,\n\t\"./icon-favorite-black-in-circle-white.svg\": 1784,\n\t\"./icon-favorite-black-on-transparent-background.svg\": 5897,\n\t\"./icon-favorite-thin.svg\": 5797,\n\t\"./icon-favorite-white.svg\": 5787,\n\t\"./icon-header-search.svg\": 4017,\n\t\"./icon-remove-black.svg\": 9797,\n\t\"./icon-remove-white.svg\": 2939,\n\t\"./icon-switch.svg\": 2679,\n\t\"./icon-tick.svg\": 5384,\n\t\"./loreal-paris-logo.svg\": 440,\n\t\"./media-pause-icon.svg\": 6108,\n\t\"./media-play-icon.svg\": 7948,\n\t\"./my-account.svg\": 9781,\n\t\"./open-new-window.svg\": 5193,\n\t\"./pause.svg\": 8245,\n\t\"./play-white-border.svg\": 9714,\n\t\"./play.svg\": 3871,\n\t\"./plus.svg\": 9913,\n\t\"./schedule.svg\": 5314,\n\t\"./search.svg\": 1717,\n\t\"./sound-available.svg\": 4452,\n\t\"./sound-muted.svg\": 3284,\n\t\"./sound-not-available.svg\": 7124,\n\t\"./tick.svg\": 4325,\n\t\"./trash-closed.svg\": 4370,\n\t\"./trash-opened.svg\": 6321,\n\t\"./water-footprint.svg\": 9944,\n\t\"./wow-badge-round.svg\": 6563,\n\t\"./wow-quotes.svg\": 2656\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 4191;","module.exports = Vue;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var webpackQueues = typeof Symbol === \"function\" ? Symbol(\"webpack queues\") : \"__webpack_queues__\";\nvar webpackExports = typeof Symbol === \"function\" ? Symbol(\"webpack exports\") : \"__webpack_exports__\";\nvar webpackError = typeof Symbol === \"function\" ? Symbol(\"webpack error\") : \"__webpack_error__\";\nvar resolveQueue = function(queue) {\n\tif(queue && queue.d < 1) {\n\t\tqueue.d = 1;\n\t\tqueue.forEach(function(fn) { fn.r--; });\n\t\tqueue.forEach(function(fn) { fn.r-- ? fn.r++ : fn(); });\n\t}\n}\nvar wrapDeps = function(deps) { return deps.map(function(dep) {\n\tif(dep !== null && typeof dep === \"object\") {\n\t\tif(dep[webpackQueues]) return dep;\n\t\tif(dep.then) {\n\t\t\tvar queue = [];\n\t\t\tqueue.d = 0;\n\t\t\tdep.then(function(r) {\n\t\t\t\tobj[webpackExports] = r;\n\t\t\t\tresolveQueue(queue);\n\t\t\t}, function(e) {\n\t\t\t\tobj[webpackError] = e;\n\t\t\t\tresolveQueue(queue);\n\t\t\t});\n\t\t\tvar obj = {};\n\t\t\tobj[webpackQueues] = function(fn) { fn(queue); };\n\t\t\treturn obj;\n\t\t}\n\t}\n\tvar ret = {};\n\tret[webpackQueues] = function() {};\n\tret[webpackExports] = dep;\n\treturn ret;\n}); };\n__webpack_require__.a = function(module, body, hasAwait) {\n\tvar queue;\n\thasAwait && ((queue = []).d = -1);\n\tvar depQueues = new Set();\n\tvar exports = module.exports;\n\tvar currentDeps;\n\tvar outerResolve;\n\tvar reject;\n\tvar promise = new Promise(function(resolve, rej) {\n\t\treject = rej;\n\t\touterResolve = resolve;\n\t});\n\tpromise[webpackExports] = exports;\n\tpromise[webpackQueues] = function(fn) { queue && fn(queue), depQueues.forEach(fn), promise[\"catch\"](function() {}); };\n\tmodule.exports = promise;\n\tbody(function(deps) {\n\t\tcurrentDeps = wrapDeps(deps);\n\t\tvar fn;\n\t\tvar getResult = function() { return currentDeps.map(function(d) {\n\t\t\tif(d[webpackError]) throw d[webpackError];\n\t\t\treturn d[webpackExports];\n\t\t}); }\n\t\tvar promise = new Promise(function(resolve) {\n\t\t\tfn = function() { resolve(getResult); };\n\t\t\tfn.r = 0;\n\t\t\tvar fnQueue = function(q) { q !== queue && !depQueues.has(q) && (depQueues.add(q), q && !q.d && (fn.r++, q.push(fn))); };\n\t\t\tcurrentDeps.map(function(dep) { dep[webpackQueues](fnQueue); });\n\t\t});\n\t\treturn fn.r ? promise : getResult();\n\t}, function(err) { (err ? reject(promise[webpackError] = err) : outerResolve(exports)), resolveQueue(queue); });\n\tqueue && queue.d < 0 && (queue.d = 0);\n};","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + \"a7931c71\" + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"wsf-master-oap:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/frontend/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t1: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkwsf_master_oap\"] = self[\"webpackChunkwsf_master_oap\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\n__webpack_require__.O(undefined, [0], function() { return __webpack_require__(7986); })\nvar __webpack_exports__ = __webpack_require__.O(undefined, [0], function() { return __webpack_require__(2630); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["class","$data","show","_createElementBlock","key","_normalizeClass","$props","type","layout","_Fragment","_renderList","items","id","index","intersectingItemIndex","href","$options","setAriaLabel","_hoisted_1","_createCommentVNode","_createElementVNode","_hoisted_2","disabled","prevItem","onClick","_cache","args","scrollToPrev","_hoisted_4","_toDisplayString","prevLabel","_hoisted_3","_hoisted_5","nextItem","scrollToNext","_hoisted_7","nextLabel","_hoisted_6","observer","parentElement","COMPARISON_GRID_CONTROL","name","props","itemSelector","String","required","scrollContainerSelector","default","mediaQueryList","mobileScreenWidthEnd","Number","ariaLabel","isInComparisonGrid","Boolean","forceMobile","analytics","Object","data","scrollContainer","currentActiveItemIndex","computed","this","isCurrentItemInViewport","length","inViewport","scrollItemsWidth","getItems","reduce","previousValue","currentValue","clientWidth","isMobile","window","innerWidth","scrollContainerPadding","element","$parent","$el","querySelector","style","getComputedStyle","parseInt","paddingLeft","watch","isShown","addComparisonGridClass","removeComparisonGridClass","mounted","IntersectionObserver","updateIntersectingItemIndex","threshold","mql","matchMedia","toggleControls","addEventListener","handleResize","debounce","beforeUnmount","removeEventListener","methods","document","Array","from","querySelectorAll","pushAnalytics","AnalyticsHandler","getAnalyticsHandler","push","event_name","action","category","label","product_info","setSliderStyleLeft","setSliderScrollLeft","left","scrollLeft","offsetLeft","matches","startObserver","stopObserver","e","isIntersecting","indexOf","target","forEach","item","observe","unobserve","classList","add","remove","scrollTo","__exports__","render","components","OapCarouselControls","HERO_VIDEO_UPDATE","HERO_VIDEO_PAUSE","HERO_VIDEO_TOGGLE_PLAYING","HERO_VIDEO_BACKGROUND_PLAYING","_createVNode","_component_modal","modalidentifier","modalId","_withCtx","modalTitle","modalLoaded","_component_OapLoader","isSubmited","innerHTML","feedbackContent","feedbackBtnLink","feedbackBtn","ref","onModalGfLoad","onKeyup","_withKeys","_renderSlot","_ctx","$slots","_","width","height","viewBox","version","xmlns","_createStaticVNode","modal","OapLoader","title","feedbackTitle","firstNameVal","lastNameVal","emailVal","onFooterGFSubmitted","eventBus","on","resetFooterForm","destroyed","openModal","emit","getFilledInfo","setTimeout","footerFormBtn","setHiddenFieldsVals","location","reload","footerForm","firstNVal","lastNVal","value","modalForm","firstN","lastN","email","firstName","lastName","$emit","FooterNewsletterSignupModal","formId","formAction","cssClassForm","novalidate","onSubmit","_withModifiers","submitEvent","header","validatedSections","section","_createBlock","_resolveDynamicComponent","titleTag","_createTextVNode","fields","field","fIndex","cssClass","typeMap","_mergeProps","modelValue","formData","$event","ref_for","readonly","readOnly","onResetErrors","resetErrors","_createSlots","helpText","fn","undefined","subSections","subSection","sIndex","description","subSectionField","sFIndex","newValue","hidden","footer","cssClassButton","submit","customClass","submitDisabled","_hoisted_9","buttonLabel","_hoisted_8","_hoisted_10","errorMessageList","errors","$key","_hoisted_11","showToasted","forcedShowServerMessage","hasRecaptcha","_hoisted_12","recaptcha","legalText","_hoisted_13","RECAPTHCA_URL","recaptchaError","loadRecaptchaOnInput","form","siteKey","loadScript","script","createElement","setAttribute","src","getElementsByTagName","appendChild","generateToken","Promise","resolve","grecaptcha","ready","execute","then","token","__default__","placeholder","min","max","step","minlength","maxlength","autocomplete","errorMessages","appendIcon","interacted","focus","passwordButtonAriaLabel","primary","maxlengthIfText","minlengthIfText","ariaDescriptionIds","hasDescription","computedErrors","helperText","materialHasErrors","computedClasses","showErrors","isLabelVisible","handleModelInput","event","handleFocus","focused","togglePassword","passwordInput","getElementById","secondary","__emit","combobox","__props","expanded","activeDescendant","hadFocus","invalid","hasErrors","hasSelectedOption","selectedOptions","some","option","getSelectedOption","customSelectedLabel","sort","join","setGridStyle","hasMultipleChildren","children","gridTemplateColumns","values","child","opacity","async","handleExpand","expand","redundantBlur","activeElement","isKeyboardSelectAction","KeyboardEvent","listBoxWrapper","firstOption","activeOption","focusedOption","getOptions","handleOnChange","multiSelect","focusSelectedOption","scrollTop","offsetTop","isMultiSelectClick","listboxId","getAttribute","clickTargetId","relatedTarget","setActiveDescendant","optionId","navigateList","preventDefault","pressedKey","lastOption","allChildren","isFirstOption","isLastOption","nextWrapper","nextElementSibling","previousWrapper","previousElementSibling","offsetHeight","collapseFromListbox","isKeyboardEvent","MouseEvent","contains","targetElement","regex","exec","listBox","onMounted","__expose","GenericDropdownContainer","options","displayType","itemsCopy","valid","started","legendKey","isEmpty","getOptionsLabel","selectedLabels","split","selected","keys","notCheckedYet","handleDefaultValue","selectedValues","checked","isChecked","getTarget","toggle","handleCheckedOptions","getSelectedOptions","handleValidation","eventTarget","optionKey","inputBlock","fieldset","closest","rawId","result","match","dataset","splice","reset","isSelected","includes","_normalizeStyle","hiddenDateFields","_component_GenericDropdownContainer","selectMonthId","selectedDate","month","getMonthLabel","dateFieldLabels","isInvalid","onHandleValidation","onHandleInput","handleInput","defaultDateLabels","tabindex","dateFieldPlaceholders","date","months","role","isDateHidden","selectDayId","day","defaultValue","days","selectYearId","year","years","error","startYear","dateFieldAutocomplete","pristine","emits","setup","dropdownDay","dropdownMonth","dropdownYear","triggerHideList","generateSelectDate","generateDays","generateMonths","generateYears","isMounted","handler","copyValue","deep","beforeMount","setDefaultValues","formattedDate","formatDate","hasYearMonthDay","monthLabel","refData","formattedValue","unselectedInputs","inputsUnselected","hasNullValue","hasDefaultValue","finalDate","dateHidden","charAt","toUpperCase","slice","roundNumber","listItem","isInvalidState","every","number","defaultDay","dObject","d","dateValue","defaultMonth","m","Date","toLocaleString","navigator","language","calculatedMonth","monthValue","currentYear","getUTCFullYear","defaultYear","y","selectedOption","getSelectedLabel","getDefaultValue","extractOptionData","alt","dropdownContainer","hasErrorMessages","activeOptionLabel","innerText","activeOptionImage","activeImage","listbox","isValidJson","optionItem","JSON","parse","string","mixins","messageTiming","isSingleNotification","settings","toastNotificationEventName","richTextError","GenericInput","GenericOptions","GenericDatepicker","GenericSelect","isFormValid","object","triggerErrorMessage","isFirstError","apiUrl","get","sections","set","nSections","successPage","validateFormData","created","loadTypeMap","init","$refs","forceValidation","checkHiddenFieldsVals","edited","GENERIC_INPUT_TYPE","GENERIC_OPTIONS_TYPE","GENERIC_DATEPICKER_TYPE","GENERIC_SELECT_TYPE","text","password","textarea","radio","checkbox","datepicker","dropdown","fieldArray","concat","fixFieldRequiredValidation","updateSubmitLabel","submitReadonly","requiredValidation","isRequired","requiredMessage","message","allDatesRequired","allFieldsRequired","missingDateMessage","dateValidation","minAge","minAgeValidationMessage","getUserIdentifier","payload","fieldIdentifier","find","isUserId","userIdFromPayload","formatFormData","recaptchaToken","userId","IsGpcEnabled","OneTrust","globalPrivacyControl","GetDomainData","Groups","fetch","method","headers","credentials","body","stringify","parseJSON","success","handlerAnalytics","eventTagging","handleCCPAReturn","info","handleSuccess","redirectUrl","successMessage","cta","successCta","handleValidationErrorMessages","errorMessage","errorCta","catch","console","submitErrorMessages","focusFirstInvalidField","hasValidationErrors","validationMessages","msg","mappedFields","sitecoreContextItemId","response","json","redirectPage","forceErrorVerification","validateFormItem","errorsBasedOnRegex","itemValue","validations","validation","regexp","RegExp","errorsBasedOnEquality","hasEqualityCheck","equalsValidation","referenceFieldId","referenceFieldValue","dateStringToObject","hasDateSelected","dateValues","errorsForDatepicker","validInputValue","hasAgeErrorVerification","dateSplitted","calculatedYear","currentDate","getTime","errorsForRequiredFields","hasRequiredMessage","isEmptyOrNull","fieldItem","$nextTick","firstInvalidField","start","requestLabel","isValidCcpaConsent","content","ccpa","consent","val","UpdateConsent","formError","warn","hasMissingProperties","prop","hasOwn","dataToSend","ecommerce","requestType","requesttype","referral","touchInput","currentForm","dataField","hasKey","prototype","hasOwnProperty","call","entries","GenericForm","actualLogo","actualAlt","logo","mexLogo","mexLogoAlt","colorsonicLogo","colorsonicLogoAlt","mexClassList","colorsonicClassList","hash","doc","imageLoad","lazySizes","loader","unveil","headerOffset","elementPosition","getBoundingClientRect","top","offsetPosition","scrollY","HeaderLogo","handleOpenModal","showpopup","styles","_component_OapIframe","handleCloseModal","OapIframe","popupheight","popupwidth","end","getDisplayStatus","immediate","getQueryParams","search","queryParams","URLSearchParams","callPopUpParam","dsfservice","referrer","Iframepopup","formattedItems","collapsable","_component_collapsable","currentIndex","tagname","identifier","onCollapse","indicator","yIndex","setButtonType","isIframe","tag","_component_OapCardPopin","OapCardPopin","map","uniqueId","panel1","panel2","tab1Selected","tab2Selected","which","switchPanel","switch1","switch2","panel1WrapperClass","panel2WrapperClass","taggingEvent","tabIndex","updateScroller","pushTaggingEvent","tab1","tab2","idPanel","toLowerCase","showSignedElements","NAVIGATION_LIST_CLASS","signedElements","cloneNode","append","NAVIGATION","NAVIGATION_LIST","NAVIGATION_LIST_ACTIVE","LIST_ITEM","ACTIVE","BURGER","BURGER_ACTIVE","TRIGGER","PANEL","PANEL_ACTIVE","NAVIGATION_BAR","HEADER_WRAPPER","HAS_MOBILE_NAVIGATION","NAVIGATION_BACK_LABEL","ARIA_EXPANDED","ARIA_HIDDEN","TRIGGER_PADDINGS","TOGGLE_PANEL","matchMedia999","matchMedia1025","matchMedia998","timerAnimation","OpeningTimer","lastFocusedEl","hasMobileNavigation","megamenuLastfocusedEl","MENU_IS_ACTIVE","NO_SCROLL","OPAQUE","emitEvent","toggleMenu","trigger","activeList","status","navId","removeAttribute","focusBurger","selector","selectedsubnaviLastElement","className","selectedmegamenuLastfocusedEl","closeMobilePanel","activePanel","display","button","close","backTabKey","node","onEscKey","keyCode","shiftKey","onResize","handleBarScroll","prevScrollpos","Math","round","isHiding","getHeaderHeight","headerMainHeight","accountNavigationHeight","headerMainChildren","accountNavigation","defaultHeightDistance","heightDistance","showBar","hideBar","scrollPos","currentScrollPos","innerHeight","togglePanel","panelIndex","active","selectedElement","MqHandler","getMqHandler","getMqForSize","bar","rect","selectedLastfocusedEl","bottom","megamenu","el","binding","arg","Switcher","Collapsable","OapAccordion","Navigation","directives","for","validateUser","validateState","gender","notDefined","genderDescription","_component_MaterialInput","firstNameErrorMessage","firstNamePlaceholder","lastNameErrorMessage","lastNamePlaceholder","emailErrorMessage","emailPlaceholder","birthdatePlaceholder","_component_Dropdown","birthDate","dates","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","wrongDateError","_hoisted_18","emptyDateError","_hoisted_19","showClearAll","clearAllFields","clearAllLabel","_hoisted_20","submitLabel","checkStatus","Error","statusText","namespaced","state","formSubmited","typeValue","getters","actions","submitForm","commit","formActionUrl","mutations","setTriggerNewsletterForm","isColorHovered","isDropdownHovered","isValid","descriptionId","onFocus","onBlur","setSelected","prevSelected","resetName","refSelect","colorHover","colorSwatch","timerMouseOut","colorDropdownItems","listItems","dropdownBlurHandler","toggler","activeElementClass","documentMode","test","userAgent","valueCopy","onInput","refInput","resetInput","currentURL","URL","searchParams","validity","NUMBER_OF_YEARS","Dropdown","MaterialInput","dayPlaceholder","monthPlaceholder","yearPlaceholder","firstNameError","lastNameError","emailError","submitErrorMessage","submitSuccessMessage","dateErrorMessage","genderErrorMessage","beforeCreate","$store","registerModule","store","showValidationMessages","refField","inputValue","mapActions","FormData","validateGender","validateFirstName","validateLastName","validateEmail","validateDate","messages","$toasted","icon","toastObject","goAway","monthLength","targetYear","emitArray","clearValidationMessages","validateFormBeforeSubmit","isEmailValid","emailInvalid","newAction","protocol","host","NewsletterForm","NewsletterSignin","isVisible","opened","smallScreen","enableNewLayout","greeting","textContent","expandIconAlt","_component_logout_refresh","logOutCookie","cookie","row","startsWith","logoutRefresh","loggedGreeting","authorizedRoutes","uname","currentPath","pathname","enabledRoute","mq","size","updateScroll","setAria","setAttributeTo","elem","OapAccountNavigation","BEAUTY_GENIUS_TYPE_IN_TAGGING_EVENT","BEAUTY_GENIUS_NAME_HIDE","BEAUTY_GENIUS_NAME_SHOW","BEAUTY_GENIUS_NAME_ASK_QUESTION","noScrollCustomClass","isBanner","isModalTop","isSlot","isNonBannerModal","isBannerModal","position","iframePosition","parentDomainPair","iframeDomainUrlParameter","iframeDomainUrl","iframeUrl","iframeBaseUrl","showIframeFirstTime","showIframe","isIframeLoaded","service_category","open","iframeWindowEventName","iframeWindowCloseEventType","dataLayer","interval","intervalCounter","setInterval","iframe","sendMessagesToIframe","onload","clearInterval","logoAnimationStopEventName","sendIframePostMessage","prompt","Optanon","getDataSubjectId","optanonGroups","checkPermissionGroups","groups","modalCloseEventName","iframeCloseEventName","logoAnimationStartEventName","openBannerOnCookieAbsence","bannerCookieName","iframeOpenEventName","bannerCookieValue","bannerCookieExpiration","bannerCookiePath","messageObject","contentWindow","postMessage","getCookie","trim","extractNonZeroValues","str","filter","pair","cookieValue","decodedcookieValue","decodeURIComponent","keyValuePairs","groupsString","optanonGroupsUpdateListener","eventName","detail","bannerVisibilityDelay","modalTopOpenEventName","modalOpenEventName","nextTick","urlHasKey","openServiceUrlParam","OapBeautyGeniusWrapper","estimatedTime","time","digit","translations","Timer","constructor","callback","ms","performance","now","stopped","tick","self","currentTime","currentTarget","currentInterval","stop","endDate","getFullYear","hours","minutes","seconds","timer","currentDuration","differenceInDays","clearDuration","formatNumberToArrayOfDigits","isDateBefore","isBefore","parsedEndDate","isTimerFinished","x","parseISO","intervalToDuration","differenceInCalendarDays","destroyTimer","padStart","OapCountdown","input","iframeTriggerEventName","link_url","OapEventfulTextInput","hasDesktopView","filteredItems","isButton","scrollToSection","anchor","activeSection","SCROLL_INDENT_FOR_NAVIGATION","scrollToTop","scrollPosition","highlightActiveSection","centerActiveNavigationItem","updateFilteredItems","intersectionViewportObserver","delay","rootMargin","conditionCheckCallback","toggleVisibilityClass","sectionId","targetSection","cleanAnchor","pageNavigation","toolbar","behavior","scrollIndent","sectionElement","floor","abs","pageNavigationList","activeNavigationItem","navigationWidth","offsetWidth","activeNavigationItemWidth","elementExists","replace","entry","newFilteredItems","OBSERVER_OPTIONS","taggingData","observerPool","sortedPool","intersectionPool","gsap","registerPlugin","ScrollToPlugin","ScrollTrigger","filterPool","filterFocusableElements","intersectionObserverCallback","intersectionRatio","a","b","domElement","cta_name","topOffset","allTriggers","getAll","disable","to","duration","offsetY","onStart","onComplete","enable","OapPageNavigation","OapPageNavigationForColorsonic","_component_OapFocusTrap","showPopin","_Transition","closePopin","isPopinSmall","hasSlot","popinData","download","getTabindex","handleFocusStart","handleFocusEnd","focusableElementsSelector","autoFocus","domNodesToHide","handleBodyScroll","alreadyFocused","autofocusDelay","toggleBodyScroll","nodeInDom","focusFirst","managePrevFocusElement","vflPrevFocusedElement","isAutoFocus","elements","getFocusableElements","focusableElements","focusLoop","CLOSE_DELAY","OAP_POPIN_IS_SHOWN","OapFocusTrap","popinId","popinType","hideContent","popin","popinHeader","popinText","popinButton","isUsedProps","togglePopin","OapPopin","Map","callbackHandler","ro","ResizeObserver","globalResizeObserver","debounceDelay","cb","delete","PROMO_BAR_BODY_CLASS","PROMO_BAR_EXPIRE_DATE_STORAGE","PROMO_BAR_HEIGHT_CSS_VARIABLE","autoplay","validator","obj","dismissTime","isInfinite","isScrollable","promoBarSelector","promoBar","autoplayFnReference","intersectionObservers","itemsElements","autoDismiss","updateBarVisibility","updateFocusableElementsVisibility","updateHeightCssVariable","setupMouseEvents","unobserveIntersectionObservers","stopAutoplay","deadline","localStorage","getItem","removeFromDom","removeItem","dismiss","setItem","getCoordinateToScroll","direction","scrollWidth","scrollLeftMax","isAtBeginning","isAtEnd","startAutoplay","scroll","clearTimeout","coordinate","scrollBy","setProperty","clientHeight","OapPromoBar","theme","engaged","ctaMobileTop","sliderId","skipLink","copy","_component_oap_scroller","onEngaged","engage","link","skippedText","bool","OapSlider","singleLineTexts","containerSelector","scrub","pin","animationsEnabled","impressionTag","tagFired","isOnViewport","strikethroughDelay","scrollPoints","bindAnimation","strikethroughElement","checkIsVisible","ease","scrollTrigger","onUpdate","progress","strikethroughIndex","i","linesList","OapStrikethroughScrolling","stateCodes","countryCodes","siteHasOptimizely","main","checkConsent","checkOptimizely","waitForResource","resource","maxChecks","counter","setCookie","c_name","exdays","exdate","setDate","getDate","c_value","encodeURIComponent","toUTCString","ocCookie","oabcCookie","frCookie","canClearOptanonCookie","currentState","getGeolocationData","currentCountry","country","inStateToCheck","RejectAll","consentGroups","OneTrustCookieHelper","isOverlayOpen","closeOverlay","OVERLAY_ACTIVE","parentNav","overlayOpen","closeNav","oBody","Overlay","socialShareData","url","iconClickHandler","srcset","iconSrc","iconAlt","showCopyTooltip","copyTooltipText","SOCIAL_SHARERS","facebook","param","twitter","triggerTooltip","copyURLToClipboard","toString","isOS","MSStream","queryCommandSupported","fontSize","lineHeight","copyTooltip","range","createRange","selectNodeContents","selection","getSelection","removeAllRanges","addRange","setSelectionRange","select","execCommand","err","removeChild","article_name","social_network","social_action","showLearnMore","learnMoreUrl","learnMoreButtonText","showClose","cookieCloseLabel","buttonText","editMode","createCookie","expires","setTime","toGMTString","existcookie","ArticleShareItem","CookieBanner","hasNoSuggestions","defaultLabel","collections","collection","list","suggestionsAction","removeTagWrapper","shouldShow","SEARCH_INPUT_SELECTOR","SEARCH_FORM_SELECTOR","SEARCH_CHECKBOX_SELECTOR","SEARCH_SUGGESTIONS_THROTTLING","RECENT_SEARCHES_STORAGE_KEY","suggestionsApiUrl","urlOrigin","origin","recommendedSearchesTitle","recentSearchesTitle","minQueryChar","maxRecentSearchItems","activeSearchQuery","recentSearchesList","suggestionsList","searchQueryValue","isActive","getSuggestionsList","bindFormListener","bindActiveListener","bindEventBusListener","getRecentSearchesList","updateRecentSearchesList","LOCAL_STORAGE_AVAILABLE","filteredRecentSearchesList","query","unshift","config","cache","fetchData","selectSuggestion","searchInput","searchForm","throttle","searchCheckbox","SearchSuggestions","ACTIVE_NAVIGATION_BURGER","ACTIVE_NAVIGATION_LIST","ACTIVE_NAVIGATION_PANEL_WRAPPER","OPENED_OVERLAY","DISABLED","SEARCH_IS_ACTIVE","SEARCH_FORM_ITEM","SEARCH_SUGGESTIONS_LINK","SEARCH_SUGGESTIONS_CLOSE_EVENT","searchButton","openSearch","closeSearch","clickOverlay","scrollTransparentHeaderPosition","onKeyupHandler","code","blur","onTimeout","hasAttribute","Search","_component_scroller","scaleFactor","onScrollX","onScroll","SimpleBar","_defineProperty","scrollXTicking","requestAnimationFrame","scrollX","scrollYTicking","showScrollbar","positionScrollbar","hideNativeScrollbar","scrollbarX","scrollbarY","flashTimeout","draggerY","draggerX","paddingForScroll","pageX","clientX","clientY","onDrag","eventOffset","track","scrollEl","currentAxis","pageY","trackY","scrollContentEl","trackX","contentEl","dragPos","offsetAttr","dragOffset","dragPerc","sizeAttr","scrollSizeAttr","scrollOffsetAttr","cursor","drag","onEndDrag","isEnabled","globalObserver","mutationObserver","resizeObserver","scrollbarWidth","assign","defaultOptions","isRtl","classNames","offsetSize","parentNodeWidth","parentNodeParentId","isVTO","recalculate","bind","autoHide","scrollContent","scrollbar","timeout","parentNode","initDOM","initListeners","firstChild","insertBefore","updateTrackSize","onMouseEnter","onMouseDown","onScrollY","onWindowResize","MutationObserver","mutation","isChildNode","addedNodes","attributes","childList","characterData","subtree","withScaleFactor","contentSizeX","contentSizeY","trackXSize","trackYSize","getEnabled","resizeScrollbar","toggleTrackVisibility","axis","contentSize","trackSize","scrollbarRatio","handleSize","scrolWidth","parentNodeUpdatedWidth","checkScrollSize","scrollOffset","handleSizePx","scrollPercent","handleOffset","transform","visibility","marginBottom","paddingBottom","hideScrollbars","getScrollElement","getContentElement","removeListeners","disconnect","unMount","isVto","Scroller","evt","scroller","activate","isFadedOut","forceSmall","parentComponent","faded","scrollTimeout","slides","positions","windowWidth","slideWidth","widthDivider","nodeToActivate","scrollDistance","scrollDistanceSmall","scrollableContent","random","shouldEmitScrollEvent","behaveAsSmallScreen","oldValue","newIndex","slider","slidesAnchors","setAriaHidden","handleWindowResize","goTo","moveSliderTo","elementWidth","ignoreListener","findActive","animate","stopAnimating","getClosestInArray","array","num","minDiff","slide","handleSmallScreenAnimation","setActive","animateIfClosest","animateTo","ariaHiddenAttribute","slidesAnchorTag","slidesAnchor","activeAnchortags","activeAnchortag","firstslides","firstslide","anime","targets","easing","complete","Slider","ariaHidden","infoPanelText","hasYoutubeParams","showPlayButton","playIconAltText","onClickOnce","play","videoId","playerId","YOUTUBE_SCRIPT_NAME","YOUTUBE_SCRIPT_URL","mixinSetupYouTube","setupYouTube","tries","reject","tryCount","YT","loaded","Player","TypeError","mixinTryPlayVideo","tryPlayVideo","player","isPlayerSet","playVideo","mixinSetupPlayerAndBindToEvents","setupPlayerAndBindToEvents","extraPlayerVars","playerVars","rel","modestbranding","loop","playlist","events","onReady","playerRendered","onStateChange","tagging","isInformative","videoTitle","youtubeExtraParams","shouldSetupPlayer","videoIFrame","getIframe","hasPoster","isAnimationEnabled","GET_SITEWIDE_ANIMATIONS","setupPlayer","pauseVideo","animatePlaceholderPanel","mapGetters","ACCESSIBILITY_STORE_NAMESPACE","loadYouTubeScript","loadscript","enablejsapi","makeVideoAccessible","infoPanel","isImmersive","toggleVideoPopin","loadAndSetupPlayer","subheader","author","hasTranscript","mixinToggleVideoPopin","showModal","videoIframe","animateOnInview","isWhiteCopy","hasBrandButton","destroy","playButton","_component_video_placeholder_transcript","videoTranscriptHeader","transcript","videoTranscript","desc","videoPlaceholderTranscript","triggerClass","triggers","triggerClickHandler","videoInformative","autoplaySetting","baseUrl","defaultSettings","landscape","autoOpen","eventIdModifier","setupPlayerAndToggleVideoPopin","listenToOpenEvent","VideoPlaceholder","VideoPlaceholderFullpage","VideoPlaceholderTiktok","VideoPlaceholderWrapper","VideoPlaceholderTranscript","OapVideoPopin","pushDataLayer","waitFor","readyState","condition","Logger","taggingObjectByType","TAGGING_TYPES_ARRAY","types","AnalyticsException","DataClass","TAGGING_TYPES","toObject","registerOnly","dataToPush","$analyticsHandler","getValueFromSelector","domNode","getValue","getTagValues","o","acc","createDataObjectBasedOnDom","dataFromDom","productsNodes","products","product","productInfo","currency","productName","productId","productCategory","productBrand","productPrice","productVariant","productPosition","productList","productDimension35","productDimension36","productDimension37","productDimension38","productDimension39","productDimension40","productDimension48","productDimension49","productDimension50","productDimension152","productDimension153","productDimension154","productDimension91","productDimensioncd176","brand","price","variant","dimension35","dimension36","dimension37","dimension38","dimension39","dimension40","dimension48","dimension49","dimension152","dimension153","dimension3154","dimension91","dimensioncd176","promotionNodes","promotions","promotion","promotionInfo","promotionName","promotionId","promotionCreative","promotionPosition","creative","productQuantity","productDimension59","quantity","handBuypageURL","handBuylastURL","has","dimension59","currencyCode","storeName","network","productInformation","productStep","clickArea","breadcrumb","articleName","moduleName","ctaName","linkUrl","serviceName","serviceCategory","eventDetail","click_area","event_detail","module_name","service_name","handleEvent","modifiers","isCurrentTarget","onEvent","dom","view","viewPort","er","debug","changes","change","scrollCallback","IntersectionObserverEntry","defineProperty","typeWhitelist","s","toLocaleLowerCase","eventType","AnalyticsTagDirectiveException","AnalyticsUserActionEventObjectException","AnalyticsAddToCartObjectException","AnalyticsNonInteractiveEventObjectException","AnalyticsProductImpressionObjectException","AnalyticsProductClickObjectException","AnalyticsVtoDetailObjectException","AnalyticsProductVariantClickObjectException","AnalyticsPromotionClickObjectException","AnalyticsProductObjectException","AnalyticsPromotionObjectException","AnalyticsPromotionImpressionObjectException","AnalyticsSocialIntEventObjectException","ConditionalEventObject","DataObject","super","conditionsTrack","generateConditionsTrack","conditions","attachEvents","_conditions","_conditionsTrack","findPropertyInDataLayer","property","eventCategory","eventAction","eventLabel","updateConditionsTrack","tryPushToDataLayer","conditionsMetCount","all","off","single","conditionalProperty","pageScrolledInPercentage","userOnPageInSeconds","documentElement","convertVariable","variable","variables","tmplVariable","isVariable","wsf","AnalyticsVariablesDynamic","toLower","res","NonInteractiveEventObject","eventValue","video_title","ProductClickObject","initEcommerce","click","ProductObject","actionField","ProductImpressionObject","impressions","dimensionKeys","dimensionKey","setDynamicProp","getDynamicProp","PromotionClickObject","promoClick","PromotionObject","ProductVariantClickObject","PromotionImpressionObject","promoView","AddToCartObjectObject","eventtype","eventype","store_name","SocialIntEventObject","socialNetwork","socialAction","socialTarget","productClick","vtoDetail","VtoDetailObject","productVariantClick","productImpression","userActionEvent","UserActionEventObject","nonInteractiveEvent","promotionClick","promotionImpression","addToCart","AddToCartObject","socialIntEvent","conditionalEvent","service_version","video_action","product_tab","filter_type","filter_value","productTab","click_action","log","showData","color","t","group","table","groupEnd","clientTop","getWidth","getBackground","backgrounds","sizes","currentWidth","lastMatchingKey","shift","updateBackground","backgroundImage","addLoadedClass","background","reverse","updateBackgroundCallback","bus","prevent","withevent","injectedUrls","bvReviewsContainerClass","head","fireLoadedEvent","bvReturnUrl","lengthRW","enableRedirect","dataReturnUrl","$BV","configure","returnUrl","OAP_ACCOUNT_NAVIGATION_CLASS","OAP_HEADER_CLASS","OAP_SIGNED_IN_ELEMENTS_CLASS","OAP_HEADER_HEIGHT_CSS_VARIABLE","OAP_HEADER_TOTAL_HEIGHT_CSS_VARIABLE","OAP_HEADER_MAIN_HEIGHT_CSS_VARIABLE","LANGUAGE_SWITCHER_CLASS","COOKIE_BANNER_CLASS","LIVESTREAM_CLASS","MINIMUM_NAVIGATION_HEIGHT","getElementCurrentHeight","elHeight","updateCurrentNavigationHeight","newHeight","totalHeight","mainHeaderHeight","myAccountNavigation","signedInElements","languageSwitcher","cookiesBanner","livestream","mainHeight","updateVariablesFunction","navigationHeight","toggleClass","process","$INJECTED_URLS","hasScript","injectScript","USER_INTERACTION_EVENT_TYPES_ALL","USER_INTERACTION_EVENT_SCROLL","USER_INTERACTION_EVENT_COMPLETE","userInteractionEvent","eventTypes","isElementVisible","userInteraction","bindings","vnode","done","componentInstance","dispatchEvent","CustomEvent","visible","callbackBeforeResolve","ON_SCRIPT_LOAD","injectScriptFunction","crossorigin","integrity","InjectScript","elm","lazyScript","svgA11yHandlerInit","SVGjsSVG","svgA11yHandler","SVG","mixinParseURL","URLHasKey","URLObject","searchString","getPicSize","imgHQuery","imgWQuery","imgW","imgH","substring","tagName","listener","unmounted","imageloaded","lazyImage","recommendedProducts","resizeTimer","timeoutTimer","maxWidthLimit","itemToBeObserved","updateSliderPosition","sliderFirstTile","simplebarTrackHorizontal","articleHeading","articleHeadingLeft","marginLeft","ARIA_SELECTED","TABINDEX","labels","currentLabelIndex","toggleTab","setChecked","labelFocusHandler","faqToggleActive","eventTargetIndex","offset","tabOffset","animateOnScroll","changeStyleOnHover","removeProperty","clickextension","clickableElements","currentElements","ex","getSmallestOffsetHeightOf","updateStickyOffsetProperty","containerNode","itemsSelector","stickyOffset","update","getOnViewState","topIn","boundingClientRect","rootBounds","bottomIn","updateClassList","prefix","context","createObserver","screenElRatio","classHelpers","is","resizeCallback","viewPositionHelper","mqlMap","entriesMap","handlers","arr","screenSmallMax","defaultConfig","updateDom","leftIn","force","rightIn","right","mqlHandler","addListener","removeListener","isIntersectingX","img","media","control","gif","gifA11y","resizeListener","scrollIntoView","elementAttribute","scrollElementIntoView","scrollVisibilityTracker","scrollDepthPercentage","classToShow","CSS_ANIMATION_DURATION","toggleAnimationWithEvent","animationShouldPlay","playAnimation","BODY_CLASSES","TRIGGER_STATE_ATTRIBUTE","TRIGGER_TAB","OPEN","OPEN_EXTERNAL","CLOSE","A11Y","toggleAriaHidden","focusElement","ToolbarTabs","URLKey","openTriggers","closeTriggers","setActiveTab","resetActiveTab","activeTab","activeTrigger","hasZapperInURL","triggerPanel","activeContent","tabOpen","nextSibling","previousSibling","toolbarTabs","collapsibleList","HIDDEN_CLASS","OPENED_CLASS","toggleButton","toggleContainer","pop","lastLineTop","lineTop","lineIndex","limit","adjust","itemTop","selectboxListener","selectedValueNode","FORM_IMAGE_CLASS","NO_IMAGE_FORM_CLASS","FORM_COLUMNS_CLASS","FULL_WIDTH_FORM_CLASS","FORM_SECTIONS_CLASS","FORM_SECTION_TITLE_CLASS","FORM_MARGIN_TOP","toggleImageclass","image","toggleFormWidth","formMultiColumn","fixContentDistance","addMargin","formModifier","cookieName","ShowOnCookieExpiration","initTimer","newConfig","_config","_timer","showOnCookieExpiration","__timeCookie__","DEFAULT_MODIFIERS","ELEMENT","CLASS","searchOnDom","expression","updateItem","getSelector","anchorTo","IS_ACTIVE_CLASS","IS_HIDDEN_CLASS","DEFAULT_BREAKPOINT","itemsShown","resolution","BREAKPOINTS","DIRECTIONS","FORWARD","BACKWARDS","SwipeEventDispatcher","eventMap","SWIPE_LEFT","SWIPE_UP","SWIPE_DOWN","SWIPE_RIGHT","xDown","yDown","handleTouchStart","handleTouchEnd","lastCallback","touches","deltaX","changedTouches","deltaY","HighlightedProducts","attachIntersectionObserver","attachSwipeDispatcher","nextButton","onNext","previousButton","onPrevious","mainSlider","ScrollSnapSlider","activeIndex","isInline","titleSlider","titleList","listElements","setActiveElements","scrollToMiddleElement","textPaths","onMoveWithOffset","currentBreakpoint","isAnimate","middleIndex","slideTo","activeTextPath","beginElement","DIRECTION","previousElement","nextElement","shouldUnobserve","dispatcher","highlightedProducts","InputHandler","keyboardUsageClassName","wasUsingTab","wasBound","isTab","handleKeyboardInput","handleMouseInput","unbind","getInputHandler","$inputHandler","InputHandlerService","placeholderBackgroundKey","placeholderClass","togglePlaying","showPlaceholder","placeholderBackgroundProxy","hasSources","videoSrc","isVideoWide","playsinline","muted","preload","controls","controlsPosition","playing","playButtonTitle","playButtonSrc","TUTORIAL_VIDEO","sources","gaCategory","gaLabel","placeholderBackground","pauseIfLeftViewport","playIfIsInViewportOnMobile","lazyLoadTrigger","lgScreenMediaQuery","forcePlay","isLazyLoaded","sourcesProxy","autoplayProxy","shouldPlayAsBackground","filteredSourceProxies","lg","isLargeScreen","sm","shouldShowFrame","k","v","isTutorialVideo","video","pause","pauseEventHandler","load","intersectionConditionCheck","videoContainer","onloadDataLayer","changeVideo","shouldPlay","banner","getFilterDataset","_component_OapPopup","onClosed","closeButtonLabel","iframePath","hide","aside","heading","hideOverflow","lastFocused","triggerBtn","removeEvents","setOverflow","addEvents","focusFirstElement","changeFocus","closeModal","focusable","oapPopup","overflow","newFocused","getNewFocusable","OapPopup","isTrusted","clickEvent","mobileTagging","defaultTagging","getTruncatedText","charLimit","showText","readlessText","readmoreText","readmoreCharLimiter","textToHTML","shouldLoadScript","_component_LoadScript","scriptToLoad","scriptName","onLoaded","setScriptLoaded","isScriptLoaded","injectTheScript","LoadScript","defaultScriptName","defaultScriptUrl","globalScriptName","globalScriptUrl","commonScriptClassName","thridParties","storageAvailable","storage","DOMException","mixinFetchData","mqs","matchMediaItems","createWorkingData","createMatchMediaItem","unselectAll","selectedMq","getCurrentMq","$mqHandler","getPropertyValue","ExperienceEditorVueBridge","_isExperienceEditor","Sitecore","PageModes","PageEditor","initializeVueApp","initVueApp","persistPlaceholderKeys","ensurePlaceholderKeys","generateArrayOf","n","requireAll","r","module","exports","inViewportAndVisible","intersectionObserverFallback","scrollListener","defaultConditionCheckCallback","elPosInfo","elCenter","pointContainer","elementFromPoint","func","inDebounce","arguments","apply","lastFunc","lastRan","exposeGlobals","app","createApp","compilerOptions","whitespace","NavigationModule","directive","NewsletterModule","component","loadZoneCustomizations","require","RefAppMctb","use","RefAppAmp","RefAppStoreLocator","RefAppRatingsReviews","SitecoreVueAdapter","mount","focusTrap","hasCloseIcon","closeBtnBlurEvent","shiftTabKeyupEvent","modalIdentifierSmall","backdropClick","modalIdentifierLarge","hasBackdropClick","isInZapper","defaultPayload","isFromUrlParam","setButtonFocus","focusGuard","toggleDomNodes","beforeDestroy","topFocusGuard","bottomFocusGuard","DOCUMENT_SELECTORS","BODY","HEADER","FOOTER","CONTENT","shiftAndTabHappened","buttonToFocus","closeButtonSmallScreen","closeButtonLargeScreen","social","collapsed","isMobileView","collapsable__contentCollapsed","isCollapsed","onKeydown","closePopIn","iframeOpened","root","iframeSrc","computedHeight","heightScreenLarge","heightScreenSmall","checkAndWatchScreenSize","webpackContext","req","webpackContextResolve","__webpack_require__","Vue","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","webpackQueues","Symbol","webpackExports","webpackError","resolveQueue","queue","wrapDeps","deps","dep","ret","hasAwait","currentDeps","outerResolve","depQueues","Set","promise","rej","getResult","fnQueue","q","deferred","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","getter","__esModule","definition","enumerable","f","chunkId","promises","u","miniCssF","g","globalThis","Function","inProgress","dataWebpackPrefix","l","needAttach","scripts","charset","nc","onScriptComplete","prev","onerror","doneFns","toStringTag","p","installedChunks","installedChunkData","loadingEnded","errorType","realSrc","request","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""}