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AoC,WAC7C,IAyBgBC,EAAMC,EAzBlBC,GAyBYF,EAzBa,IAAIG,KAyBXF,EAzBmBG,SAASpE,EAAQgB,GAAG,CAACqD,0BAA0B,EA0BjF,IAAIF,KAAKH,EAAKM,OAAO,GAAKL,IAAAA,IAzBjC1D,aAAaiD,OAAO,CAAC,4BAA6BU,EACtD,EAEaK,EAAuC,WAChDhE,aAAamD,UAAU,CAAC,4BAC5B,EAGac,EAAqC,WAC9C,IAG2CC,EAAAC,EAAAC,EAAAC,EAHvCC,EAAiBtE,aAAaC,OAAO,CAAC,6BACvCqE,IAC0B,IAAIV,KAAKU,GACR,IAAIV,OAC1B,OAAAM,CAAAA,EAAInG,MAAAA,EAAM,aAAAoG,CAAAA,EAAND,EAAQK,OAAO,eAAAH,CAAAA,EAAfD,EAAiBK,OAAO,eAAAH,CAAAA,EAAxBD,EAA0BK,EAAE,SAA5BJ,EAA8BK,iBAAiB,GAC/C3G,OAAOwG,OAAO,CAACC,OAAO,CAACC,EAAE,CAACC,iBAAiB,GAC3CC,CAAAA,EAAAA,EAAAA,CAAAA,EAAWlF,EAAQgB,GAAG,CAACmE,kBAAkB,IAEzCrB,IACAxF,OAAO8G,QAAQ,CAACC,MAAM,KAItC,sECnOO,IAAMH,EAAa,SAACI,CAAG,EAC1BhH,OAAOiH,OAAO,CAACC,YAAY,CAAC,KAAM,KAAMF,GACxChH,OAAO8G,QAAQ,CAACK,IAAI,CAAGH,CAC3B,wBCHAI,EAAAC,OAAA,CAAAC,EAAA","sources":["webpack://_N_E/./components/GTMScriptFunction/index.js","webpack://_N_E/./components/Janrain/helpers/localstorage.helpers.js","webpack://_N_E/./components/Janrain/helpers/redirect.helpers.js","webpack://_N_E/./node_modules/next/script.js"],"sourcesContent":["import React, { Fragment } from 'react';\nimport { OrganizationConstants } from '../../adapters/helpers/Constants';\nimport Script from 'next/script';\nimport { setProfileData } from '../Janrain/helpers/localstorage.helpers';\nimport DOMPurify from 'isomorphic-dompurify';\n\nconst GTMScriptFunction = (props) => {\n    if(typeof window !== 'undefined' && !window && !window.PGdataLayer && !window.PGdataLayer.user){\n        setProfileData();\n    }\n    const { languageCode, countryCode, productVariant = undefined, isDisableCookieConsent = false } = props;\n    var PGdataLayer;\n    return (\n        <Fragment>\n            <Script strategy='afterInteractive' id='gtm-script' type='text/javascript' dangerouslySetInnerHTML={{\n                __html: DOMPurify.sanitize(`\n                var interval=setInterval(()=>{\n                if(document.readyState === 'complete'){\n                    PGdataLayer = {\n                        'page' : {\n                            'url' : '',\n                            'title' : '',\n                          },\n                          'GTM': {\n                            'SiteCountry':'${countryCode}',\n                            'GoogleAnalyticsSiteSpeedSampleRate':'regular',\n                            'GoogleAnalyticsAllowLinker':'false',\n                            'GoogleAnalyticsOptimizeContainerID':'${process.env.GA_OPTIMIZE_CONTAINER_ID}',\n                            'GoogleReCaptcha':'false',\n                            'GoogleAnalyticsReportingView':'${process.env.GA_REPORTING_VIEW}',\n                            'GhosteryOverlay': '',\n                            'GhosteryOverlayID': '',\n                            'SiteHost': 'Azure Devops',\n                            'SiteEnvironment': '${process.env.SITE_ENVIRONMENT}',\n                            'SiteCountryISO3': '${process.env.SITE_ENVIRONMENT_ISO3}',\n                            'SiteTechnicalAgency': 'Mindtree',\n                            'SiteLocalContainer': '${process.env.SITE_LOCALCONTAINER}',\n                            'GoogleAnalyticsLocal': '${process.env.GA_TRACKING_CODE}',\n                            'ConsentOverlay': '${isDisableCookieConsent ? '' : process.env.CONSENT_OVERLAY}',\n                            'ConsentOverlayID': '${isDisableCookieConsent ? '' : process.env.CONSENT_OVERLAY_ID}',\n                            'SitePrivacyProtection': '${isDisableCookieConsent ? '' : process.env.SITE_PRIVACY_PROTECTION}',\n                            'SiteTouchpoint': '${process.env.DL_TOUCHPOINT_ID}',\n                            'SiteBrand':  'OralB',\n                            'SiteLanguage':  '${languageCode}',\n                            'SitePlatform': 'ModernWeb',\n                            'SiteStatus': '${process.env.DL_SITE_STATUS}',\n                            'FacebookRemarketingID': '${process.env.FACEBOOK_REMARKETING_ID}',\n                            'Segment': '${process.env.PG_DATA_LAYER_GTM_SEGMENT}',\n                            'Lytics': '${process.env.PG_DATA_LAYER_GTM_LYTICS}',\n                            'GoogleAnalyticsGA4MeasurementID': '${process.env.GOOGLE_ANALYTICS_GA4_MEASUREMENT_ID}'\n                        }\n                    };\n                    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.defer=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','${process.env.GTM_TRACKING_ID}');\n                    clearInterval(interval)\n                }},3500)\n            `)}} />\n            {productVariant &&\n                <Script strategy='afterInteractive' id='product-variant' type='text/javascript' dangerouslySetInnerHTML={{\n                __html: `\n                    var interval=setInterval(()=>{\n                    if(document.readyState === 'complete'){\n                        PGdataLayer.product = {\n                            'gtin': '${productVariant?.fields?.sku || ''}',\n                            'name': '${productVariant?.fields?.name || ''}',\n                            'brand': '${OrganizationConstants.brand || ''}',\n                            'upc': '${productVariant?.fields?.sku || ''}'\n                        };\n                    clearInterval(interval)\n                    }},3500)\n                `}} />\n            }\n        </Fragment>\n    )\n}\n\nexport default GTMScriptFunction;","/*\n* A common place to set, get and delete local storage items used in the login/register/profile process\n* This reduces the risk of misspelling strings and making other mistakes\n*/\n\nimport {JanrainConstants} from '../../../adapters/helpers/Constants';\nimport {redirectTo} from './redirect.helpers';\n\nexport const setProfileData = () =>{\n  let userData = localStorage.getItem('janrainCaptureProfileData');\n  if(userData) {\n      const profileData = JSON.parse(userData);\n      // Hardcoding value of marketingProgramNbr for Italy \n      const profileObject = {\n        id:profileData.consumerID || profileData.uuid,\n        marketingProgramNbr: process.env.MARKET && process.env.MARKET.trim() =='it-it' ? process.env.PG_DATA_LAYER_USER_MARKETING_PROGRAM_NBR :profileData.marketingProgramNbr,\n        sourceID: process.env.PG_DATA_LAYER_USER_SOURCE_ID,\n        type:'member'\n      }\n      if(window.PGdataLayer && !window.PGdataLayer.user){\n          window.PGdataLayer.user = {}\n      }\n      if (typeof Object.assign != 'function') {\n        Object.assign = function(target) {\n          'use strict';\n          if (target == null) {\n            throw new TypeError('Cannot convert undefined or null to object');\n          }\n      \n          target = Object(target);\n          for (var index = 1; index < arguments.length; index++) {\n            var source = arguments[index];\n            if (source != null) {\n              for (var key in source) {\n                if (Object.prototype.hasOwnProperty.call(source, key)) {\n                  target[key] = source[key];\n                }\n              }\n            }\n          }\n          return target;\n        };\n      } else {\n        Object.assign(window.PGdataLayer.user,profileObject)\n      }\n    } else {\n      const profileObject = {\n        marketingProgramNbr: process.env.PG_DATA_LAYER_USER_MARKETING_PROGRAM_NBR || '',\n        sourceID: process.env.PG_DATA_LAYER_USER_SOURCE_ID,\n        type:'anonymous'\n      }\n      if(window.PGdataLayer && !window.PGdataLayer.user){\n        window.PGdataLayer.user = {}\n    }\n    if (typeof Object.assign != 'function') {\n      Object.assign = function(target) {\n        'use strict';\n        if (target == null) {\n          throw new TypeError('Cannot convert undefined or null to object');\n        }\n    \n        target = Object(target);\n        for (var index = 1; index < arguments.length; index++) {\n          var source = arguments[index];\n          if (source != null) {\n            for (var key in source) {\n              if (Object.prototype.hasOwnProperty.call(source, key)) {\n                target[key] = source[key];\n              }\n            }\n          }\n        }\n        return target;\n      };\n    } else {\n      Object.assign(window.PGdataLayer.user,profileObject)\n    }\n\n    }\n}\n\nconst triggerEvent = (\n    eventCategory,\n    eventAction,\n    eventLabel = '',\n    callback,\n  ) => {\n    window.dataLayer.push({\n      event: 'customEvent',\n      GAeventCategory: eventCategory,\n      GAeventAction: eventAction,\n      GAeventLabel: eventLabel,\n      GAeventValue: 0,\n      GAeventNonInteraction: false,\n      eventCallback: callback,\n    })\n  }\n\nexport const triggerLoginEvent = () => {\n    // eslint-disable-next-line no-console\n    try {\n      triggerEvent(\n        'event_crm_action',\n        'event_profile_login_complete',\n        'oralb_successful_login',\n      )\n    } catch (error) {\n      console.error('GA is not loaded...')\n    }\n  }\n\nexport const triggerRegisiterEvent = () => {\n    // eslint-disable-next-line no-console\n    try {\n      /** Promise to make sure Login is called only after registration\n       *  dont use EventCallout\n       */\n      new Promise((resolve) => triggerEvent(\n        'event_crm_action',\n        'event_profile_register_complete',\n        'oralb_successful_register',\n        resolve(),\n      )).then(() => {\n        triggerEvent(\n          'event_crm_action',\n          'event_profile_login_complete',\n          'oralb_successful_login',\n        )\n      })\n    } catch (error) {\n      console.error('GA is not loaded...')\n    }\n  }\n  \nexport const triggerLogoutEvent = () => {\n    if (!(window.PGdataLayer && window.PGdataLayer.user)) return\n    if (!window.PGdataLayer.user.id) return\n    // eslint-disable-next-line no-console\n    try {\n      triggerEvent(\n        'event_crm_action',\n        'event_profile_logout',\n        'oralb_successful_logout',\n      )\n    } catch (error) {\n      console.error('GA is not loaded...')\n    }\n  }\nexport const getOralbProductListFromLocalStorage = (uuid) => {\n    let key = JanrainConstants.productListLocalStorageKeyPrefix + uuid;\n    return localStorage.getItem(key) || '[]';\n};\n\nexport const setOralbProductListToLocalStorage = (productList, uuid) => {\n    let key = JanrainConstants.productListLocalStorageKeyPrefix + uuid;\n    localStorage.setItem(key, productList);\n};\n\nexport const getOralbBenefitPreferenceListFromLocalStorage = (uuid) => {\n    let key = JanrainConstants.benefitListLocalStorageKeyPrefix + uuid;\n    return localStorage.getItem(key) || '[]';\n};\n\nexport const setOralbBenefitPreferenceListToLocalStorage = (benefitPreferenceList, uuid) => {\n    let key = JanrainConstants.benefitListLocalStorageKeyPrefix + uuid;\n    localStorage.setItem(key, benefitPreferenceList);\n};\n\nexport const getIsCreatingAccountFromLocalStorage = () => {\n    return localStorage.getItem('isCreatingAccount') || '';\n};\n\nexport const setIsCreatingAccountToLocalStorage = value => {\n    localStorage.setItem('isCreatingAccount', value);\n};\n\nexport const deleteIsCreatingAccountFromLocalStorage = () => {\n    localStorage.removeItem('isCreatingAccount');\n};\n\nexport const getJanrainCaptureProfileDataFromLocalStorage = () => {\n    return localStorage.getItem('janrainCaptureProfileData') || '{}';\n};\n\nexport const getJanrainCaptureTokenExpiresFromLocalStorage = () => {\n    return localStorage.getItem('janrainCaptureToken_Expires') || '';\n};\n\nexport const getJanrainCaptureTokenFromLocalStorage = () => {\n    return localStorage.getItem('janrainCaptureToken') || '';\n};\n\nexport const deleteJanrainCaptureProfileDataFromLocalStorage = () => {\n    localStorage.removeItem('janrainCaptureToken');\n    localStorage.removeItem('janrainFailedLogins');\n    localStorage.removeItem('janrainCaptureReturnExperienceData');\n    localStorage.removeItem('janrainCaptureProfileData');\n    localStorage.removeItem('janrainCaptureToken_Expires');\n    localStorage.removeItem('janrainCaptureReturnExperienceData_Expires');\n    localStorage.removeItem('janrainCaptureProfileData_Expires');\n    localStorage.removeItem('janrainSessionTimeoutDate');\n};\n\nexport const setSessionTimeoutFromLocalStorage = () => {\n    let timeoutDate = addMinutes(new Date(), parseInt(process.env.JANRAIN_SESSION_TIMOUT_MIN));\n    localStorage.setItem('janrainSessionTimeoutDate', timeoutDate);\n};\n\nexport const removeSessionTimeoutFromLocalStorage = () => {\n    localStorage.removeItem('janrainSessionTimeoutDate');\n};\n\n// session timeout layer added to invalidate janrain session if user is pass this timeout\nexport const validateCustomSessionTimeoutActive = () => {\n    let sessionTimeout = localStorage.getItem('janrainSessionTimeoutDate');\n    if(sessionTimeout) {\n        let sessionTimeoutDate = new Date(sessionTimeout);\n        if(!(sessionTimeoutDate > new Date())) {\n            if (window?.janrain?.capture?.ui?.endCaptureSession) {\n                window.janrain.capture.ui.endCaptureSession();\n                redirectTo(process.env.JANRAIN_LOGIN_PATH);\n            } else {\n                deleteJanrainCaptureProfileDataFromLocalStorage();\n                window.location.reload();\n            }\n        }\n    }\n};\n\nfunction addMinutes(date, minutes) {\n    return new Date(date.getTime() + minutes*60000);\n}\n","export const redirectTo = (url) => {\n    window.history.replaceState(null, null, url)\n    window.location.href = url\n}\n","module.exports = require('./dist/client/script')\n"],"names":["__webpack_exports__","props","window","PGdataLayer","user","setProfileData","_productVariant$field","_productVariant$field2","_productVariant$field3","languageCode","countryCode","_props$productVariant","productVariant","undefined","_props$isDisableCooki","isDisableCookieConsent","_jsxs","Fragment","children","_jsx","Script","strategy","id","type","dangerouslySetInnerHTML","__html","DOMPurify","concat","process","fields","sku","name","OrganizationConstants","brand","userData","localStorage","getItem","profileData","JSON","parse","profileObject","consumerID","uuid","marketingProgramNbr","env","MARKET","trim","sourceID","Object","assign","target","index","arguments","length","source","key","prototype","hasOwnProperty","call","triggerEvent","eventCategory","eventAction","eventLabel","callback","dataLayer","push","event","GAeventCategory","GAeventAction","GAeventLabel","GAeventValue","GAeventNonInteraction","eventCallback","triggerLoginEvent","error","console","triggerRegisiterEvent","Promise","resolve","then","triggerLogoutEvent","getIsCreatingAccountFromLocalStorage","setIsCreatingAccountToLocalStorage","value","setItem","deleteIsCreatingAccountFromLocalStorage","removeItem","getJanrainCaptureProfileDataFromLocalStorage","getJanrainCaptureTokenExpiresFromLocalStorage","getJanrainCaptureTokenFromLocalStorage","deleteJanrainCaptureProfileDataFromLocalStorage","setSessionTimeoutFromLocalStorage","date","minutes","timeoutDate","Date","parseInt","JANRAIN_SESSION_TIMOUT_MIN","getTime","removeSessionTimeoutFromLocalStorage","validateCustomSessionTimeoutActive","_window","_window$janrain","_window$janrain$captu","_window$janrain$captu2","sessionTimeout","janrain","capture","ui","endCaptureSession","redirectTo","JANRAIN_LOGIN_PATH","location","reload","url","history","replaceState","href","module","exports","__webpack_require__"],"sourceRoot":""}