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EAACc,EAAc7V,KACrC,IAAIgV,EAAiBa,EAAa7V,GAMlC,MAJ8B,iBAAnBgV,IACVA,EAAiBzC,KAAKC,MAAMwC,IAGtBA,CAAc,EAUSe,CAAeF,EAAc7V,IAC1D4V,EAAgB5V,GAAYsU,GAQ5B0B,EAAAA,EAAAA,SACC,oBAAC,EAAa,CACb3B,kBAAkB,EAClBC,MAAOA,EACPtU,SAAUA,IAEXsE,SAAS2R,eAAgB,GAAEjW,sBAKrB6V,EAAa7V,EAAS,GAC5B,EAGHkW,E","sources":["webpack://ws-tracking/webpack/runtime/load script","webpack://ws-tracking/./node_modules/ws-scripts/modules/common.js","webpack://ws-tracking/./src/global-constants.js","webpack://ws-tracking/./src/reducers/index.js","webpack://ws-tracking/./src/reducers/dlItems.js","webpack://ws-tracking/./src/actions/types.js","webpack://ws-tracking/./src/utils/findDialogTitle.js","webpack://ws-tracking/./src/utils/findWidgetName.js","webpack://ws-tracking/./src/utils/getElementAttributes.js","webpack://ws-tracking/./src/utils/getParamsForExtraInfo.js","webpack://ws-tracking/./src/utils/getSection.js","webpack://ws-tracking/./src/utils/getWidgetHeading.js","webpack://ws-tracking/./src/utils/findWidgetId.js","webpack://ws-tracking/./src/utils/findWidgetClasses.js","webpack://ws-tracking/./src/utils/findCustomTrackingData.js","webpack://ws-tracking/./src/utils/getCommonData.js","webpack://ws-tracking/./src/utils/isExternalUrl.js","webpack://ws-tracking/./src/utils/pushEvent.js","webpack://ws-tracking/./src/utils/getCookie.js","webpack://ws-tracking/./src/utils/setCookie.js","webpack://ws-tracking/./src/utils/trackingAttributesGenerator.js","webpack://ws-tracking/./src/utils/removeCookie.js","webpack://ws-tracking/./node_modules/ddc-new-relic/dist/es.js","webpack://ws-tracking/./src/utils/wsTrackNr.js","webpack://ws-tracking/external var \"DDC.WsmCommonData\"","webpack://ws-tracking/webpack/bootstrap","webpack://ws-tracking/webpack/runtime/compat get default export","webpack://ws-tracking/webpack/runtime/define property getters","webpack://ws-tracking/webpack/runtime/ensure chunk","webpack://ws-tracking/webpack/runtime/get javascript chunk filename","webpack://ws-tracking/webpack/runtime/get mini-css chunk filename","webpack://ws-tracking/webpack/runtime/hasOwnProperty shorthand","webpack://ws-tracking/webpack/runtime/make namespace object","webpack://ws-tracking/webpack/runtime/publicPath","webpack://ws-tracking/webpack/runtime/jsonp chunk loading","webpack://ws-tracking/external var \"ReactDOM\"","webpack://ws-tracking/external var \"React\"","webpack://ws-tracking/external var \"ReactRedux\"","webpack://ws-tracking/./src/ws-scripts/components/layout/WidgetHeading.jsx","webpack://ws-tracking/./src/ws-scripts/components/layout/Collapse.jsx","webpack://ws-tracking/./src/containers/Widget.jsx","webpack://ws-tracking/./src/utils/clickpathGenerator.js","webpack://ws-tracking/./src/utils/trackingAttributesInjector.js","webpack://ws-tracking/./src/ws-scripts/components/layout/WidgetWrapper.jsx","webpack://ws-tracking/external var \"RTK\"","webpack://ws-tracking/./src/middleware/index.js","webpack://ws-tracking/./src/ws-scripts/store.js","webpack://ws-tracking/./src/ws-scripts/reducers/request-data.js","webpack://ws-tracking/./src/ws-scripts/reducers/prefs.js","webpack://ws-tracking/./src/ws-scripts/reducers/labels.js","webpack://ws-tracking/./src/ws-scripts/reducers/sitemap.js","webpack://ws-tracking/./src/ws-scripts/reducers/flags.js","webpack://ws-tracking/./src/ws-scripts/browser.jsx"],"sourcesContent":["var inProgress = {};\nvar dataWebpackPrefix = \"ws-tracking:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (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 = (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((fn) => (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};","module.exports = {\n\t...require('wsm-common-data')\n};\n","// This file is intended for global constants that are shared across\n// the application. Use this file sparingly. For constants with a single\n// usage, it can be better to include them in the module scope of the\n// file they're used in.\nexport const TrackedInfo = {\n\tUSER_SESSION_ID: 'userSessionId',\n\tCONTACT_ID: 'contactId',\n\tSITE_ID: 'siteId',\n\tPORTAL_ID: 'portalId',\n\tSEM_ID: 'RlocalUID',\n\tPERMANENT_COOKIE_ID: 'permanentCookieId',\n\tSESSION_REFERRER: 'sessionReferrer',\n\tSESSION_REFERRER_DOMAIN: 'sessionReferrerDomain',\n\tREFERRER: 'referrer',\n\tTYPE: '0vt',\n\tEXTRA: '0ve',\n\tUSER_AGENT: 'userAgent',\n\tREMOTE_HOST: 'remoteHost',\n\tLOCALE: 'locale',\n\tREACHLOCAL_COOKIE: 'reachlocalCookie',\n\tKEYWORD_ID: 'keywordId',\n\tREGION_ID: 'regionId',\n\tTCD_KEYWORD_ID: 'tcdkwid',\n\tTCD_AD_ID: 'tcdadid',\n\tTCD_CAMPAIGN_ID: 'tcdcmpid',\n\tPLATFORM: 'platform',\n\tVERSION: 'version',\n\tSKIN: 'skin',\n\tTEMPLATE_EXTRA: 'templateExtra',\n\tUSER_PROFILE_ID: 'userProfileId',\n\tUNIVERSAL_USER_ID: 'userId',\n\tCAMPAIGN_PARAMS: 'campaignparams',\n\tPIXALL_ID: 'ddc_abc_cache',\n\n\tCLLC_BID: 'bid',\n\tCLLC_PID: 'pid',\n\tCLLC_ADID: 'adid',\n\tCLLC_RID: 'rid',\n\tCLLC_MKT_CODES: 'mktcodes',\n\n\tFMCCMP: 'fmccmp',\n\tALT_SOURCE: 'AltLeadSource',\n\tSECONDARY_LEAD_SOURCE: 'SecondaryLeadSource',\n\tT3_WEBSITE: 't3website',\n\tVINLENS_SESSION_ID: 'lmc',\n\n\tCID: 'cid',\n\tPDSRCH: 'pdsrch',\n\n\tREF_ID: 'refId',\n\n\tDDC_REF: 'ddcref',\n\tGC_LID: 'gclid',\n\n\tADOBE_CLOUD_ID: 'adobeCloudId',\n\n\tUTM_CAMPAIGN: 'utm_campaign',\n\tUTM_MEDIUM: 'utm_medium',\n\tUTM_SOURCE: 'utm_source',\n\tADS_ADGROUP: 'ads_adgroup',\n\tADS_ADID: 'ads_adid',\n\tADS_DIGADPROVIDER: 'ads_digadprovider',\n\n\tADP_FOUREYES: 'adpFoureyes',\n\n\tMARKETING_CODE: 'mktgCode',\n\tZIP: 'zip'\n};\n","import dlItems from './dlItems';\n\nconst root = {\n\tdlItems\n};\n\nexport default root;\n","import { SET_DL_ITEMS } from '../actions/types';\n\nexport default function dlItems(state = [], action) {\n\tif (!action.error && action.payload !== undefined) {\n\t\tswitch (action.type) {\n\t\t\tcase SET_DL_ITEMS:\n\t\t\t\treturn action.payload;\n\n\t\t\t// no default\n\t\t}\n\t}\n\n\treturn state;\n}\n","// This file should only contain action type constants.\n\nexport const SET_DL_ITEMS = 'SET_DL_ITEMS';\n","/**\n * Find the title from the closest .ui-dialog, .ddc-mobile-slidein, or\n * the .ui-dialog classed element with the attribute of ws-tracking-dialog-latest=\"true\"\n * @param {HTMLElement} element\n * @returns The title of the dialog from element or the one in the document with the correct attribute.\n */\nconst findDialogTitle = (dialog) => {\n\tconst dialogTitleEl =\n\t\tdialog?.querySelector?.('.ui-dialog-title') ||\n\t\tdialog?.querySelector?.('.ddc-heading-2') ||\n\t\tdialog?.querySelector?.('.ddc-mobile-slidein-content-inner h3');\n\n\treturn dialogTitleEl?.textContent?.trim?.() || '';\n};\n\nexport default findDialogTitle;\n","const findWidgetName = (element) =>\n\telement?.closest?.('[data-widget-name]')?.dataset?.widgetName;\n\nexport default findWidgetName;\n","/**\n * Returns an object containing the attributes of an HTML element.\n * @param {HTMLElement|jQuery} htmlElement - The HTML element to get attributes\n * from.\n * @returns {Object} An object containing the attributes of the HTML element.\n * Each attribute is a property of the object with the attribute name as the key\n * and the attribute value as the value.\n *\n * There are some properties that can be considered attributes that normally will not make it on the attribute property\n * These are manually added on a per case basis\n */\nconst getElementAttributes = (htmlElement = {}) => {\n\tlet element = htmlElement;\n\tif (htmlElement instanceof jQuery) {\n\t\telement = htmlElement.get(0);\n\t}\n\n\tconst attributeList = element?.attributes || {};\n\n\tconst attributeObject = Array.from(attributeList).reduce(\n\t\t(obj, attribute) => ({\n\t\t\t...obj,\n\t\t\t[attribute.name]: attribute.value\n\t\t}),\n\t\t{}\n\t);\n\n\tif (element?.tagName) {\n\t\tattributeObject.tagName = element.tagName;\n\t}\n\n\tif (element?.innerText) {\n\t\tattributeObject.innerText = element.innerText;\n\t}\n\tif (element?.type) {\n\t\tattributeObject.type = element.type;\n\t}\n\n\tif (element?.href) {\n\t\tattributeObject.rawHref = element.href; // this one includes the baseUrl\n\t}\n\n\treturn attributeObject;\n};\n\nexport default getElementAttributes;\n\n/*\n// Example usage:\nconst anchorElement = $('a.btn');\nconst attributeObject = getElementAttributes(anchorElement);\nconsole.log(attributeObject);\n*/\n","/**\n *\n * @param {Object} win\n * @param {String} prefParams\n * @returns\n */\nconst getParamsForExtraInfo = (win, prefParams) => {\n\tconst params = [];\n\n\tif (prefParams) {\n\t\tparams.push(prefParams);\n\t}\n\n\treturn params.length ? params.join(',').split(',') : [];\n};\n\nexport default getParamsForExtraInfo;\n","// I didn't include SELECT_MAKE selector, which has further logic,\n// nor the arroe selector which are on their own map\nconst widgetSectionSelectors = new Map([\n\t['datepicker', '#ui-datepicker-div'],\n\t['Vehicle Details Sidebar', '.vdp-sidebar'],\n\t['Carousel', '[data-widget-name=\"ws-vehicle-media\"]'],\n\t['Incentives', '[data-widget-name=\"incentives-search-detail\"]'],\n\t['Footer', '.ddc-footer'],\n\t['Global Nav', '.page-header, .navbar, .mycars-default'],\n\t['More Info', '[data-widget-name=\"ws-content-cta\"]'],\n\t[\n\t\t'amt',\n\t\t'.alias-sitebuilder-gm-protection-plans-1 [data-widget-id=\"content5\"]'\n\t],\n\t[\n\t\t'inventory-listing1',\n\t\t'.inventory-listing-default [data-widget-id=\"inventory-listing1\"]'\n\t]\n]);\n\nconst getSection = (element, DDC) => {\n\tlet returnValue;\n\tif (element instanceof Element) {\n\t\t// eslint-disable-next-line no-restricted-syntax\n\t\tfor (const [sectionName, selector] of widgetSectionSelectors) {\n\t\t\tif (element.closest(selector) !== null) {\n\t\t\t\treturn sectionName;\n\t\t\t}\n\t\t}\n\n\t\tlet widget = element.closest('[data-widget-name]');\n\t\t// could be vanilla javascript (if widget.dataset is truthy) or jquery (if widget.dataset is falsy)\n\t\tif (widget) {\n\t\t\t// If widget is not jQuery return widget else return first element of jQuery object\n\t\t\twidget = widget instanceof Node ? widget : widget[0];\n\n\t\t\tconst { widgetName } = widget.dataset;\n\t\t\tconst pageContainer = DDC?.client?.isMobile\n\t\t\t\t? '.ddc-page'\n\t\t\t\t: '.ddc-wrapper';\n\t\t\tconst dialogEl = element.closest('.ui-dialog');\n\n\t\t\tif (\n\t\t\t\t(dialogEl !== null || widget.closest(pageContainer) !== null) &&\n\t\t\t\twidgetName\n\t\t\t) {\n\t\t\t\t// If event triggering element was in a dialog, first look for dialog title and use that if we can\n\t\t\t\tif (dialogEl !== null) {\n\t\t\t\t\tconst dialogTitleEl =\n\t\t\t\t\t\tdialogEl.querySelector('.ui-dialog-title');\n\t\t\t\t\tif (dialogTitleEl) {\n\t\t\t\t\t\treturn dialogTitleEl.innerText;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// then fall back to widget heading of the widget that the event triggering element is in\n\t\t\t\tconst widgetHeadingEl = widget.querySelector('.widget-heading');\n\t\t\t\tconst widgetHeadingText =\n\t\t\t\t\twidgetHeadingEl && widgetHeadingEl.innerText;\n\n\t\t\t\tif (widgetName === 'promotions-listing') {\n\t\t\t\t\t// when event triggering element is a promo pagination dot, we need to append \"scroller dot\"\n\t\t\t\t\tif (element.closest('.slick-dots') !== null) {\n\t\t\t\t\t\treturn `${widgetHeadingText}:scroller dot`;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (widgetHeadingText) {\n\t\t\t\t\treturn widgetHeadingText;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// fall back to widgetId if no dialog title or widgetHeading\n\t\t\treturn widget.dataset && widget.dataset.widgetId;\n\t\t} else {\n\t\t\treturnValue = element.className;\n\t\t}\n\t}\n\treturn returnValue;\n};\n\nexport default getSection;\n","const getWidgetHeading = (htmlElement = {}) => {\n\tlet element = htmlElement;\n\tif (htmlElement instanceof jQuery) {\n\t\telement = htmlElement.get(0);\n\t}\n\n\treturn element\n\t\t?.closest?.('[data-widget-id]')\n\t\t?.querySelector('.widget-heading')\n\t\t?.textContent?.trim();\n};\n\nexport default getWidgetHeading;\n","const findWidgetId = (element) =>\n\telement?.closest?.('[data-widget-id]')?.dataset?.widgetId;\n\nexport default findWidgetId;\n","const findWidgetClasses = (element) =>\n\telement?.closest?.('[data-widget-id]')?.classList?.toString?.() || '';\n\nexport default findWidgetClasses;\n","const findCustomTrackingData = (element) => {\n\tlet matchResult = false;\n\tconst closestElement = element?.closest?.('[class*=\"tracking-\"]');\n\n\tif (closestElement) {\n\t\tconst classList = closestElement?.classList?.value;\n\t\tconst classes = classList.match(/tracking-(\\w+)-(\\w+)/g) || [];\n\t\tconst classObj = {};\n\n\t\tclasses.forEach((classStr) => {\n\t\t\tconst [_, key, value] = classStr.split('-');\n\t\t\tclassObj[key] = value;\n\t\t});\n\n\t\tif (Object.keys(classObj).length) {\n\t\t\tmatchResult = classObj;\n\t\t}\n\t}\n\n\treturn matchResult;\n};\n\nexport default findCustomTrackingData;\n","import findCustomTrackingData from './findCustomTrackingData';\n\nconst dataAttributes = {\n\tid: ['id', 'promoId'],\n\ttrackingLabel: ['trackingLabel', 'promoTrackingLabel']\n};\n\n// getCommonData will return an object with id, trackingLabel,\n// For more info go to https://coxautoinc.sharepoint.com/sites/teams-BurlingtonCodeFactory/SitePages/DDC%20Tracking%20Standardization.aspx\nconst getCommonData = (element) => {\n\tconst properties = {};\n\n\tObject.entries(dataAttributes).forEach(([commonName, attributes]) => {\n\t\tattributes.forEach((attribute) => {\n\t\t\tObject.assign(\n\t\t\t\tproperties,\n\t\t\t\telement?.dataset?.[attribute] && {\n\t\t\t\t\t[commonName]: element.dataset[attribute]\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t});\n\n\tconst customTrackingData = findCustomTrackingData(element) || {};\n\n\treturn Object.assign(properties, customTrackingData);\n};\n\nexport default getCommonData;\n","/**\n *\n * @param {*} baseURI - The origins site host (ex: roimotors.com)\n * @param {*} targetHost - The targets href host domain (ex: google.com)\n * @param {*} href - the full href included in the element\n * @returns bool; true if external, false if internal\n */\n\nconst isExternalUrl = (baseURI, targetHost, href) => {\n\tlet isExternal;\n\n\tif ([baseURI, targetHost, href].every((el) => typeof el !== 'undefined')) {\n\t\tisExternal =\n\t\t\tbaseURI && (!baseURI.includes(targetHost) || href.includes('tel:'));\n\t}\n\n\treturn isExternal;\n};\n\nexport default isExternalUrl;\n","import wsTrackNr from './wsTrackNr';\nimport getElementAttributes from './getElementAttributes';\nimport getWidgetHeading from './getWidgetHeading';\nimport findWidgetName from './findWidgetName';\nimport findWidgetId from './findWidgetId';\nimport findWidgetClasses from './findWidgetClasses';\nimport getCommonData from './getCommonData';\nimport isExternalUrl from './isExternalUrl';\nimport getSection from './getSection';\nimport findDialogTitle from './findDialogTitle';\n\n/**\n * Calls the DDC.pushToGtmDataLayer function on the win object\n * @param {Object} win global window object\n * @param {String} eventType name of the event\n * @param {Object} eventData properties to send for the event\n * @param {Set} eventTypes Set of event types that happend during the same browser event\n */\nconst pushEvent = (win, eventObject, eventTypes) => {\n\tif (eventObject) {\n\t\tconst { eventType, eventData, overrides = {} } = eventObject;\n\t\tconst hasEventData = eventData && !!Object.keys(eventData).length;\n\t\tconst element =\n\t\t\twin?.jQuery && eventData?.element instanceof win.jQuery\n\t\t\t\t? eventData.element[0]\n\t\t\t\t: eventData?.element;\n\n\t\tconst attributes = getElementAttributes(element);\n\t\tconst widgetHeading = getWidgetHeading(element);\n\t\tconst widgetName = findWidgetName(element);\n\t\tconst widgetId = findWidgetId(element);\n\t\tconst widgetClasses = findWidgetClasses(element);\n\t\tconst externalUrl = isExternalUrl(\n\t\t\twindow?.location?.host,\n\t\t\telement?.host,\n\t\t\telement?.href\n\t\t);\n\t\tconst trackingSection = getSection(element, win.DDC);\n\t\tconst dialogTitle = findDialogTitle(element);\n\n\t\tconst isTelephonicUrl = element?.href?.startsWith('tel:');\n\n\t\tlet isChecked;\n\t\tif (element && element.type === 'checkbox') {\n\t\t\tisChecked = element.checked ? 'checked' : 'unchecked';\n\t\t}\n\n\t\tconst eventTypesForSameAction =\n\t\t\thasEventData && eventTypes\n\t\t\t\t? Array.from(eventTypes)\n\t\t\t\t\t\t.filter(\n\t\t\t\t\t\t\t(eventTypeToRemove) =>\n\t\t\t\t\t\t\t\teventType !== eventTypeToRemove\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.join(',')\n\t\t\t\t: undefined;\n\n\t\twsTrackNr(eventType);\n\n\t\tconst payload = {\n\t\t\tevent: eventType,\n\t\t\t// only output this stuff if there is eventData\n\t\t\t// any event not passing eventData prior to this pushData function being made was not getting these properties\n\t\t\t...(hasEventData && {\n\t\t\t\teventData: {\n\t\t\t\t\t...eventData,\n\t\t\t\t\t// TODO: Find where things use event/eventName/eventType and see if we can have them all use the same variable\n\t\t\t\t\tevent: eventType,\n\t\t\t\t\teventName: overrides.eventName || eventType,\n\t\t\t\t\teventType: overrides.eventType || eventType,\n\t\t\t\t\t...(eventTypesForSameAction && {\n\t\t\t\t\t\teventTypesForSameAction\n\t\t\t\t\t}),\n\t\t\t\t\t...(Object.keys(attributes).length && {\n\t\t\t\t\t\tattributes\n\t\t\t\t\t}),\n\t\t\t\t\t...(widgetHeading && { widgetHeading }),\n\t\t\t\t\t...(widgetName && { widgetName }),\n\t\t\t\t\t...(widgetId && { widgetId }),\n\t\t\t\t\t...(widgetClasses && { widgetClasses }),\n\t\t\t\t\t...(dialogTitle && { dialogTitle }),\n\t\t\t\t\t...(typeof externalUrl === 'boolean' && {\n\t\t\t\t\t\texternalUrl\n\t\t\t\t\t}),\n\t\t\t\t\t...(typeof isTelephonicUrl === 'boolean' && {\n\t\t\t\t\t\tisTelephonicUrl\n\t\t\t\t\t}),\n\t\t\t\t\t...(isTelephonicUrl === true && {\n\t\t\t\t\t\tphoneNumber:\n\t\t\t\t\t\t\teventData.phoneNumber ||\n\t\t\t\t\t\t\teventData.url?.replace('tel:', '')\n\t\t\t\t\t}),\n\t\t\t\t\t...(trackingSection && { trackingSection }),\n\t\t\t\t\t...(isChecked && { isChecked }),\n\t\t\t\t\t// adding eventData.modelYear for consistency with what we call this in eventData.vehicle.modelYear and DDC.dataLayer.vehicles\n\t\t\t\t\t...(eventData?.year && { modelYear: eventData.year }),\n\t\t\t\t\t...getCommonData(element)\n\t\t\t\t}\n\t\t\t}),\n\t\t\t// this takes care of one situation where an event (ddc.map) sends an empty object for eventData\n\t\t\t// making sure that stays in place to not break anything relying on it being like that\n\t\t\t...(!hasEventData &&\n\t\t\t\teventData && {\n\t\t\t\t\teventData\n\t\t\t\t})\n\t\t};\n\n\t\twin.DDC.pushToGtmDataLayer(payload);\n\t}\n};\n\nexport default pushEvent;\n","export default (name) => {\n\tconst cookies = document.cookie.split(';');\n\tlet cookieValue = null;\n\n\tcookies.forEach((cookie) => {\n\t\tconst [cookieName, value] = cookie.split('=');\n\t\tif (cookieName.trim() === name) {\n\t\t\tcookieValue = value;\n\t\t}\n\t});\n\n\treturn cookieValue;\n};\n","export default (key, value, expirationDays = false, path = '/') => {\n\tlet expirationStr = '';\n\t/*\n\t\tIf they explicity set the expiration days to 0,\n\t\t\tthey intentionally did this to remove the cookie therefore lets create the expiration\n\t\tBut if the expiration is null, they probably meant to put false so lets skip the expiration\n\t\tAnd if they put undefined they intentionally wanted to use the default value (which is false),\n\t\t\tand false will be used and the expiration will not be created\n\t*/\n\tif (expirationDays || expirationDays === 0) {\n\t\tconst d = new Date();\n\t\td.setTime(d.getTime() + expirationDays * 24 * 60 * 60 * 1000);\n\t\texpirationStr = `expires=${d.toUTCString()};`;\n\t}\n\tdocument.cookie = `${key}=${value};${expirationStr}path=${path}`;\n};\n","import getCookie from './getCookie';\nimport setCookie from './setCookie';\nimport removeCookie from './removeCookie';\nimport { TrackedInfo } from '../global-constants';\n\n// TRACKING_COOKIES manages session parameters and their persistant cookies.\nconst TRACKING_COOKIES = new Set();\nTRACKING_COOKIES.add(TrackedInfo.TCD_KEYWORD_ID);\nTRACKING_COOKIES.add(TrackedInfo.TCD_CAMPAIGN_ID);\nTRACKING_COOKIES.add(TrackedInfo.TCD_AD_ID);\nTRACKING_COOKIES.add(TrackedInfo.DDC_REF);\nTRACKING_COOKIES.add(TrackedInfo.GC_LID);\nTRACKING_COOKIES.add(TrackedInfo.T3_WEBSITE);\nTRACKING_COOKIES.add(TrackedInfo.ADP_FOUREYES);\n\n// TRACKED_INFO_COOKIES lists 3rd party cookies included in TrackedInfo.\nconst TRACKED_INFO_COOKIES = new Set();\nTRACKED_INFO_COOKIES.add(TrackedInfo.CLLC_MKT_CODES);\nTRACKED_INFO_COOKIES.add(TrackedInfo.PERMANENT_COOKIE_ID);\nTRACKED_INFO_COOKIES.add(TrackedInfo.UNIVERSAL_USER_ID);\nTRACKED_INFO_COOKIES.add(TrackedInfo.USER_PROFILE_ID);\nTRACKED_INFO_COOKIES.add(TrackedInfo.T3_WEBSITE);\nTRACKED_INFO_COOKIES.add(TrackedInfo.PIXALL_ID);\nTRACKED_INFO_COOKIES.add(TrackedInfo.VINLENS_SESSION_ID);\n\n// TRACKED_PARAMETERS manages session parameters that are mersisted into local storage.\nconst TRACKED_PARAMETERS = new Set([...TRACKING_COOKIES]);\nTRACKED_PARAMETERS.add(TrackedInfo.CLLC_BID);\nTRACKED_PARAMETERS.add(TrackedInfo.CLLC_PID);\nTRACKED_PARAMETERS.add(TrackedInfo.CLLC_ADID);\nTRACKED_PARAMETERS.add(TrackedInfo.CLLC_RID);\n\n// Currently used for tracking FB promotions leads for FD.\nTRACKED_PARAMETERS.add(TrackedInfo.ALT_SOURCE);\n// Used to allows for more detailed tracking of leads submitted from custom forms\nTRACKED_PARAMETERS.add(TrackedInfo.SECONDARY_LEAD_SOURCE);\nTRACKED_PARAMETERS.add(TrackedInfo.FMCCMP);\n\n// Used for tracking Lexus promotions.\nTRACKED_PARAMETERS.add(TrackedInfo.CID);\nTRACKED_PARAMETERS.add(TrackedInfo.PDSRCH);\n\n// Used for tracking Volvo promotions\nTRACKED_PARAMETERS.add(TrackedInfo.REF_ID);\n\n// Used for tracking AOA leads\nTRACKED_PARAMETERS.add(TrackedInfo.ADOBE_CLOUD_ID);\n\n// Used for tracking honda leads\nTRACKED_PARAMETERS.add(TrackedInfo.UTM_CAMPAIGN);\nTRACKED_PARAMETERS.add(TrackedInfo.UTM_MEDIUM);\nTRACKED_PARAMETERS.add(TrackedInfo.UTM_SOURCE);\nTRACKED_PARAMETERS.add(TrackedInfo.ADS_ADGROUP);\nTRACKED_PARAMETERS.add(TrackedInfo.ADS_ADID);\nTRACKED_PARAMETERS.add(TrackedInfo.ADS_DIGADPROVIDER);\n\n// For Bank of America\nTRACKED_PARAMETERS.add(TrackedInfo.MARKETING_CODE);\nTRACKED_PARAMETERS.add(TrackedInfo.ZIP);\n\n// TRACKED_ATTRIBUTES is the list of all local storage attributes included in TrackedInfo.\nconst TRACKED_ATTRIBUTES = new Set([...TRACKED_PARAMETERS]);\nTRACKED_ATTRIBUTES.add(TrackedInfo.SESSION_REFERRER);\nTRACKED_ATTRIBUTES.add(TrackedInfo.SESSION_REFERRER_DOMAIN);\nTRACKED_ATTRIBUTES.add(TrackedInfo.CAMPAIGN_PARAMS);\nTRACKED_ATTRIBUTES.add(TrackedInfo.CONTACT_ID);\nTRACKED_ATTRIBUTES.add(TrackedInfo.REACHLOCAL_COOKIE);\nTRACKED_ATTRIBUTES.add(TrackedInfo.SEM_ID);\nTRACKED_ATTRIBUTES.add(TrackedInfo.REGION_ID);\nTRACKED_ATTRIBUTES.add(TrackedInfo.KEYWORD_ID);\n\nconst TRACKED_ATTRS_NAME = 'ddcstdata';\nconst V9_TYPE = 'v9';\n\nconst setSessionItem = (key, value) => {\n\tif (!value) {\n\t\treturn;\n\t}\n\tsessionStorage?.setItem(key, value);\n};\n\nconst getSessionItem = (key) => {\n\tconst validKey = key && key !== '';\n\tif (validKey) {\n\t\treturn sessionStorage?.getItem(key);\n\t} else {\n\t\treturn null;\n\t}\n};\n\nconst funcSafe = (func, arg) => {\n\tif (arg) {\n\t\ttry {\n\t\t\treturn func(arg);\n\t\t} catch (e) {\n\t\t\treturn '';\n\t\t}\n\t}\n\treturn '';\n};\n\nconst parseTrackedAttributeParameter = (urlParams) => {\n\tconst trackedData = urlParams[TRACKED_ATTRS_NAME];\n\tif (!trackedData) {\n\t\treturn;\n\t}\n\n\tconst attributes = funcSafe(atob, trackedData)\n\t\t.split('&')\n\t\t.map((data) => {\n\t\t\tconst dataArr = data.split('=');\n\t\t\treturn {\n\t\t\t\tkey: dataArr[0],\n\t\t\t\tvalue: dataArr[1]\n\t\t\t};\n\t\t});\n\n\tattributes.forEach(({ key, value }) => {\n\t\tif (TRACKED_ATTRIBUTES.has(key)) {\n\t\t\tconst trackValue = value ? decodeURI(value) : null;\n\t\t\tsessionStorage?.setItem(key, trackValue);\n\t\t} else if (TRACKED_INFO_COOKIES.has(key)) {\n\t\t\tconst trackValue = value ? decodeURI(value) : null;\n\t\t\tsetCookie(key, trackValue);\n\t\t}\n\t});\n};\n\nconst verifyRequestParams = (trackingNames, urlParams) => {\n\t// eslint-disable-next-line no-restricted-syntax\n\tfor (const trackName of trackingNames) {\n\t\tconst trackValue = urlParams[trackName];\n\t\tif (trackValue) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n};\n\nconst setTrackedDataFromParams = (trackingNames, urlParams) => {\n\ttrackingNames.forEach((trackName) => {\n\t\tconst trackValue = urlParams[trackName];\n\t\t// remove session if no tracValue found\n\t\tif (!trackValue) {\n\t\t\tsessionStorage?.removeItem(trackName);\n\t\t\t// Temp compat while the back-end still needs cookies\n\t\t\tremoveCookie(trackName);\n\t\t} else {\n\t\t\tsetSessionItem(trackName, trackValue);\n\t\t\t// Temp compat while the back-end still needs cookies\n\t\t\tsetCookie(trackName, trackValue, 30);\n\t\t}\n\t});\n};\n\nconst verifySessionAttrs = (trackingNames) => {\n\t// eslint-disable-next-line no-restricted-syntax\n\tfor (const trackName of trackingNames) {\n\t\tconst trackValue = getSessionItem(trackName);\n\t\tif (trackValue) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n};\n\nconst setTrackedDataFromCookies = (trackingNames) => {\n\ttrackingNames.forEach((trackName) => {\n\t\tconst trackValue = getCookie(trackName);\n\t\tsetSessionItem(trackName, trackValue);\n\t});\n};\n\nconst processTrackedData = (trackingNames, urlParams) => {\n\tif (verifyRequestParams(trackingNames, urlParams)) {\n\t\tsetTrackedDataFromParams(trackingNames, urlParams);\n\t}\n\n\tif (!verifySessionAttrs(trackingNames)) {\n\t\tsetTrackedDataFromCookies(trackingNames);\n\t}\n};\n\n/**\n *\n * @param {FormData} formData\n * @returns\n */\nconst getTrackedAttributes = (formData) => {\n\tconst attributes = new Map();\n\n\tattributes.set(TrackedInfo.REFERRER, document?.location?.href);\n\n\tTRACKED_ATTRIBUTES.forEach((key) => {\n\t\tconst attrValue = getSessionItem(key) || formData?.get?.(key);\n\t\tif (attrValue) {\n\t\t\tattributes.set(key, attrValue);\n\t\t}\n\t});\n\n\tTRACKED_INFO_COOKIES.forEach((key) => {\n\t\tconst cookieValue = getCookie(key);\n\t\tif (cookieValue) {\n\t\t\tattributes.set(key, cookieValue);\n\t\t}\n\t});\n\n\tif (!attributes.has(TrackedInfo.CONTACT_ID)) {\n\t\tconst contactIdCookieValue = getCookie(TrackedInfo.CONTACT_ID);\n\t\tif (contactIdCookieValue) {\n\t\t\tattributes.set(TrackedInfo.CONTACT_ID, contactIdCookieValue);\n\t\t}\n\t}\n\n\treturn attributes;\n};\n\n/**\n *\n * @param {FormData} formData\n * @returns\n */\nconst getTrackedAttributesString = (formData) => {\n\tconst attributes = getTrackedAttributes(formData);\n\n\treturn funcSafe(\n\t\tbtoa,\n\t\tArray.from(attributes.entries())\n\t\t\t.map(([key, value]) => `${key}=${encodeURIComponent(value)}`)\n\t\t\t.join('&')\n\t);\n};\n\nconst updateSession = (urlParams) => {\n\tparseTrackedAttributeParameter(urlParams);\n\tprocessTrackedData(TRACKING_COOKIES, urlParams);\n\n\t// Update session for TRACKED_PARAMETERS\n\tTRACKED_PARAMETERS.forEach((key) => {\n\t\tconst attrValue = urlParams[key];\n\t\tsetSessionItem(key, attrValue);\n\t});\n\n\tconst tcParam = urlParams.tc;\n\tsetSessionItem(TrackedInfo.SEM_ID, tcParam);\n\n\tconst kwParam = urlParams.kw;\n\tif (kwParam) {\n\t\tconst kwParamSplit = kwParam.split(':');\n\t\tif (kwParamSplit.length > 1) {\n\t\t\tsetSessionItem(TrackedInfo.REGION_ID, kwParamSplit[1]);\n\t\t}\n\t\tsetSessionItem(TrackedInfo.KEYWORD_ID, kwParamSplit[0]);\n\t}\n\n\tconst fromParam = urlParams.from;\n\tif (fromParam === 'AcuraInventory') {\n\t\tsetSessionItem(TrackedInfo.DDC_REF, fromParam);\n\t}\n\n\tconst semCookie = getCookie(TrackedInfo.SEM_ID);\n\tif (semCookie && semCookie.includes('tc=')) {\n\t\tconst start = semCookie.indexOf('tc=') + 3;\n\t\tconst end = semCookie.indexOf('&', start);\n\t\tlet dominatorid = null;\n\t\tif (end < 0) {\n\t\t\tdominatorid = semCookie.substring(start);\n\t\t} else {\n\t\t\tdominatorid = semCookie.substring(start, end);\n\t\t}\n\t\tsetSessionItem(TrackedInfo.SEM_ID, dominatorid);\n\t\tsetSessionItem(TrackedInfo.REACHLOCAL_COOKIE, semCookie);\n\t}\n\n\t// TODO Remove once all front-end consumers have migrated to\n\t// window.DDC.getTrackedAttributesString()\n\tsetSessionItem(TRACKED_ATTRS_NAME, getTrackedAttributesString());\n\n\twindow.dispatchEvent(new Event('ws-tracking-get-tracked-info-ready'));\n};\n\n// TODO: This probably doesn't belong here. The only consumer appears to be\n// v9/viewmodel/components/digital_retailing/cox\nconst getTrackedInfo = (locale = 'en_US', type = null) => {\n\tconst attributes = getTrackedAttributes();\n\tattributes.set(TrackedInfo.TYPE, `${type}`);\n\n\tattributes.set(\n\t\tTrackedInfo.USER_SESSION_ID,\n\t\tgetSessionItem(TrackedInfo.USER_SESSION_ID)\n\t);\n\tattributes.set(TrackedInfo.USER_AGENT, navigator?.userAgent);\n\t// TODO: Should move get REMOTE_HOST based on akamai\n\n\t// TODO: Considering to set/get LOCALE from Akamai\n\tattributes.set(TrackedInfo.LOCALE, locale);\n\n\t// TODO: Find the way to get other site property: PORTAL_ID\n\tconst { siteSettings, dataLayer } = window?.DDC;\n\tif (siteSettings) {\n\t\tattributes.set(TrackedInfo.SITE_ID, siteSettings?.siteId);\n\t\tattributes.set(TrackedInfo.PLATFORM, V9_TYPE);\n\t\tattributes.set(TrackedInfo.SKIN, dataLayer?.site?.design?.themekit);\n\t\tattributes.set(\n\t\t\tTrackedInfo.VERSION,\n\t\t\tdataLayer?.site?.design?.variationId\n\t\t);\n\t\t// TODO: condition to getHomepage then set TEMPLATE_EXTRA attribute\n\t}\n\n\t// TODO: consider add logic for Variant variant\n\n\tconst trackInfo = {};\n\ttrackInfo.timestamp = new Date();\n\ttrackInfo.attributes = attributes;\n\treturn trackInfo;\n};\n\nexport {\n\tupdateSession,\n\tgetTrackedAttributes,\n\tgetTrackedAttributesString,\n\tgetTrackedInfo\n};\n","import setCookie from './setCookie';\n\nexport default (key, path = '/') => {\n\t/*\n\t\tSetting a cookie's expiration to anything 0 or below \"expires\" the cookie immediately, which removes it.\n\t\tBecause the cookie will be immediate removed, the value does not matter, but it must be a string, convention is to use ''\n\t*/\n\tsetCookie(key, '', 0, path);\n};\n","const e=()=>\"undefined\"!=typeof window&&window.newrelic&&\"object\"==typeof window.newrelic,n=function(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;e()&&window.newrelic.addPageAction(n,i)},i=(n,i)=>{e()&&window.newrelic.setCustomAttribute(n,i)};export{n as addNewRelicPageAction,i as setNewRelicCustomAttribute};\n//# sourceMappingURL=es.js.map\n","import { addNewRelicPageAction } from 'ddc-new-relic';\n\nconst wsTrackNr = (eventType) => {\n\tif (Math.floor(Math.random() * (100 - 0) + 1) <= 10) {\n\t\taddNewRelicPageAction('wsTrackingDebug', {\n\t\t\teventName: eventType,\n\t\t\tuserSessionId: sessionStorage?.getItem('wsTrackingSessionId')\n\t\t});\n\t}\n};\n\nexport const wsTrackNrClickPathMissing = () => {\n\taddNewRelicPageAction('wsTrackingClickPathMissing', {\n\t\teventName: 'ddc.form.confirmation',\n\t\tuserSessionId: sessionStorage?.getItem('wsTrackingSessionId')\n\t});\n};\n\nexport const wsTrackNrBlockedFormConfirmation = (formEventId) => {\n\taddNewRelicPageAction('wsTrackNrBlockedFormConfirmation', {\n\t\teventName: 'ddc.form.confirmation',\n\t\tformEventId,\n\t\tuserSessionId: sessionStorage?.getItem('wsTrackingSessionId')\n\t});\n};\n\nexport default wsTrackNr;\n","module.exports = DDC.WsmCommonData;","// 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","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (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 = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((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 = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"bundle.\" + chunkId + \".\" + {\"430\":\"fd7b33a79a6c63d1acd3eb07a316eb25\",\"884\":\"5c237e5989d4e22af18f7d5f24c3e57f\"}[chunkId] + \".js\";\n};","// This function allow to reference all chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (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 = \"/static/ws/tracking/\";","// 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\t792: 0\n};\n\n__webpack_require__.f.j = (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((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 = (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// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\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((id) => (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\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunkws_tracking\"] = globalThis[\"webpackChunkws_tracking\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","const __WEBPACK_NAMESPACE_OBJECT__ = ReactDOM;","const __WEBPACK_NAMESPACE_OBJECT__ = React;","const __WEBPACK_NAMESPACE_OBJECT__ = ReactRedux;","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Common } from 'ws-scripts/modules/common'; // eslint-disable-line import/no-unresolved\n\nclass WidgetHeading extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.renderDelegate = this.renderDelegate.bind(this);\n\t}\n\n\trenderDelegate({ labels }) {\n\t\tconst {\n\t\t\tHeadingTag,\n\t\t\theadingText,\n\t\t\twidgetId,\n\t\t\ttoggleCollapse,\n\t\t\tshowIcon,\n\t\t\theadingClasses,\n\t\t\ticonClasses\n\t\t} = this.props;\n\n\t\tconst allIconClasses = [...iconClasses];\n\t\tlet collapseAttributes = {};\n\n\t\tif (toggleCollapse) {\n\t\t\tconst iconExpand = 'ddc-icon-expand';\n\n\t\t\tallIconClasses.push(iconExpand);\n\t\t\tallIconClasses.push('icon-style-collapse');\n\n\t\t\tcollapseAttributes = {\n\t\t\t\trole: 'button',\n\t\t\t\t'data-toggle': 'collapse',\n\t\t\t\t'data-target': `#${widgetId}-collapse`,\n\t\t\t\t'data-expand-icon-class': `${iconExpand}`,\n\t\t\t\t'data-collapse-icon-class': 'ddc-icon-collapse',\n\t\t\t\t'aria-expanded': 'false',\n\t\t\t\t'aria-controls': `${widgetId}-collapse`\n\t\t\t};\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{showIcon && (\n\t\t\t\t\t\n\t\t\t\t\t\t{' '}\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\t{labels.getHTML(headingText)}\n\t\t\t\n\t\t);\n\t}\n\n\trender() {\n\t\tif (\n\t\t\t!this.props.headingText ||\n\t\t\tthis.props.headingText.toUpperCase() === 'FALSE'\n\t\t) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\treturn ;\n\t\t}\n\t}\n}\n\nWidgetHeading.propTypes = {\n\tHeadingTag: PropTypes.string,\n\theadingText: PropTypes.string,\n\twidgetId: PropTypes.string.isRequired,\n\ttoggleCollapse: PropTypes.bool.isRequired,\n\tshowIcon: PropTypes.bool.isRequired,\n\theadingClasses: PropTypes.arrayOf(PropTypes.string).isRequired,\n\ticonClasses: PropTypes.arrayOf(PropTypes.string).isRequired\n};\n\nWidgetHeading.defaultProps = {\n\tHeadingTag: 'h3',\n\theadingText: ''\n};\n\nexport default WidgetHeading;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nconst Collapse = (props) => {\n\tconst { id, children, toggleCollapse } = props;\n\n\tif (toggleCollapse) {\n\t\treturn (\n\t\t\t
\n\t\t\t\t{children}\n\t\t\t
\n\t\t);\n\t}\n\n\treturn children;\n};\n\nCollapse.propTypes = {\n\tid: PropTypes.string.isRequired,\n\tchildren: PropTypes.element.isRequired,\n\ttoggleCollapse: PropTypes.bool\n};\n\nCollapse.defaultProps = {\n\ttoggleCollapse: false\n};\n\nexport default Collapse;\n","import React, { useEffect } from 'react';\nimport { useSelector } from 'react-redux';\nimport { useFlags, usePrefs, useRequestData } from 'wsm-common-data';\nimport clickpathGenerator from '../utils/clickpathGenerator';\nimport { updateSession as trackingAttributesGenerator } from '../utils/trackingAttributesGenerator';\nimport trackingAttributesInjector from '../utils/trackingAttributesInjector';\nimport getParamsForExtraInfo from '../utils/getParamsForExtraInfo';\nimport pushEvent from '../utils/pushEvent';\n\n// I think this is up here out of the widget component so it loads as fast as possible\n// but I don't remember\nif (typeof window !== 'undefined') {\n\timport('../utils/eventHandling/handleEvents.js').then((module) => {\n\t\tmodule.default(window);\n\t});\n\twindow.DDC = window.DDC || {};\n\twindow.DDC.WidgetData = window.DDC.WidgetData || {};\n\twindow.DDC.WidgetData['ws-tracking'] =\n\t\twindow.DDC.WidgetData['ws-tracking'] || {};\n\t// so that cms-web stuff can push through the pushEvent\n\twindow.DDC.WidgetData['ws-tracking'].pushEvent = (event) =>\n\t\tpushEvent(window, {\n\t\t\teventData: event.eventData,\n\t\t\teventType: event.event\n\t\t});\n\twindow.dispatchEvent(new Event('pushEventReady'));\n}\n\nconst Widget = () => {\n\tconst { dlItems } = useSelector((state) => state);\n\n\tconst { formChangeTypes, maxClickpathCount, paramsForExtraInfo } =\n\t\tusePrefs();\n\tconst { locale } = useRequestData();\n\tconst flags = useFlags();\n\n\tif (typeof window !== 'undefined') {\n\t\twindow.DDC.WidgetData = window.DDC.WidgetData || {};\n\t\twindow.DDC.WidgetData['ws-tracking'] =\n\t\t\twindow.DDC.WidgetData['ws-tracking'] || {};\n\t\twindow.DDC.WidgetData['ws-tracking'].formChangeTypes =\n\t\t\tformChangeTypes?.split(' ');\n\t\twindow.DDC.WidgetData['ws-tracking'].confirmationData = window.DDC\n\t\t\t.WidgetData['ws-tracking'].confirmationData || {\n\t\t\tform: { fields: {}, fieldsTrimmedLowerCase: {} }\n\t\t};\n\t\twindow.DDC.WidgetData['ws-tracking'].flags = flags;\n\t\t// if there are dlItems then we are on a confirm page and want to grab values\n\t\t// out of the submitted form from the previous page and add them to the confirmation object\n\t\tif (dlItems && Object.entries(dlItems)?.length) {\n\t\t\tObject.entries(dlItems).forEach(([item, itemValue]) => {\n\t\t\t\tlet valToUse = itemValue;\n\t\t\t\tif (itemValue === 'true') {\n\t\t\t\t\tvalToUse = true;\n\t\t\t\t} else if (itemValue === 'false') {\n\t\t\t\t\tvalToUse = false;\n\t\t\t\t}\n\t\t\t\twindow.DDC.WidgetData[\n\t\t\t\t\t'ws-tracking'\n\t\t\t\t].confirmationData.form.fields[item.replace('dl.', '')] =\n\t\t\t\t\tvalToUse;\n\t\t\t});\n\t\t}\n\t\twindow.DDC.WidgetData['ws-tracking'].paramsForExtraInfo =\n\t\t\tparamsForExtraInfo;\n\t\twindow.DDC.WidgetData['ws-tracking'].maxClickpathCount =\n\t\t\tmaxClickpathCount;\n\t}\n\n\tuseEffect(() => {\n\t\tclickpathGenerator();\n\n\t\tconst urlParams = window.DDC.getUrlParams() || {};\n\t\ttrackingAttributesGenerator(urlParams);\n\t\ttrackingAttributesInjector({ locale });\n\n\t\tgetParamsForExtraInfo(window, paramsForExtraInfo).forEach(\n\t\t\t(paramName) => {\n\t\t\t\tconst EXTRA_INFO_PARAM = `extra-info-param-${paramName}`;\n\t\t\t\tconst paramValue = window.DDC.getUrlParams()[paramName];\n\t\t\t\tif (paramValue) {\n\t\t\t\t\twindow.sessionStorage.setItem(EXTRA_INFO_PARAM, paramValue);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t\tconst params = new URLSearchParams(window.location.search);\n\t\t['gclid', 'fbclid', 'msclkid'].forEach((paramName) => {\n\t\t\tconst paramValue = params.get(paramName);\n\t\t\tif (paramValue) {\n\t\t\t\twindow.sessionStorage.setItem(paramName, paramValue);\n\t\t\t}\n\t\t});\n\t});\n\treturn ;\n};\n\nexport default Widget;\n","export default () => {\n\tconst timestamp = Date.now();\n\tconst clickPathFromSessionStorage = sessionStorage.getItem(\n\t\t'ws-tracking-clickpath'\n\t);\n\tlet clickPath;\n\n\t// this check is temporary while we roll this out from being stored as an object\n\tif (clickPathFromSessionStorage?.startsWith('{')) {\n\t\tconst clickPathObject = JSON.parse(clickPathFromSessionStorage);\n\t\tclickPath = Object.values(clickPathObject).map((value) => value);\n\t} else {\n\t\tclickPath = JSON.parse(\n\t\t\tsessionStorage.getItem('ws-tracking-clickpath') || '[]'\n\t\t);\n\t}\n\n\tconst uuid = window.DDC.dataLayer.vehicles[0]?.uuid;\n\tconst { isVdp } = window.DDC.dataLayer.page.pageInfo;\n\tclickPath.push({\n\t\tpath: window.location.href,\n\t\tviewType: 'page',\n\t\ttimestamp\n\t});\n\tif (isVdp && uuid) {\n\t\tclickPath.push({\n\t\t\tpath: uuid,\n\t\t\tviewType: 'vdp',\n\t\t\ttimestamp\n\t\t});\n\t}\n\tsessionStorage.setItem('ws-tracking-clickpath', JSON.stringify(clickPath));\n};\n","import {\n\tgetTrackedAttributes,\n\tgetTrackedAttributesString,\n\tgetTrackedInfo\n} from './trackingAttributesGenerator';\n\nexport default ({ locale }) => {\n\twindow.DDC.getTrackedAttributes = () => getTrackedAttributes();\n\n\twindow.DDC.getTrackedAttributesString = () => getTrackedAttributesString();\n\n\twindow.DDC.getTrackedInfo = (type) => getTrackedInfo(locale, type);\n};\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { Provider } from 'react-redux';\nimport WidgetHeading from './WidgetHeading';\nimport Collapse from './Collapse';\n// NOTE: The eslint-disable-line is needed because this file won't lint\n// when it's in the ws-scripts repo because the file only exists in the\n// widget. It's safe because the entire application won't work if the\n// file wasn't really resolved. It would be really apparent quickly.\nimport Widget from '../../../containers/Widget'; // eslint-disable-line import/no-unresolved\n\nconst getWidgetClasses = (widgetClasses, widgetName, toggleCollapse) => {\n\tconst classes = ['ddc-content', widgetName];\n\tconst wrapperClasses = '';\n\n\tif (widgetClasses) {\n\t\tclasses.push(widgetClasses);\n\t}\n\n\tif (toggleCollapse) {\n\t\tclasses.push('collapse-container');\n\t}\n\n\tif (wrapperClasses) {\n\t\tclasses.push(wrapperClasses);\n\t}\n\n\treturn classes;\n};\n\nconst getIconClasses = (prefs, showIcon, toggleCollapse) => {\n\tconst iconClasses = [];\n\tconst {\n\t\twidgetHeading,\n\t\theadingIconClasses,\n\t\theadingIconSize,\n\t\theadingIconStyle\n\t} = prefs;\n\n\tif (widgetHeading && showIcon) {\n\t\ticonClasses.push('ddc-icon');\n\n\t\tif (!toggleCollapse) {\n\t\t\ticonClasses.push(`ddc-icon-${headingIconStyle}`);\n\t\t}\n\t\tif (headingIconSize) {\n\t\t\ticonClasses.push(`ddc-icon-size-${headingIconSize}`);\n\t\t}\n\t\tif (headingIconClasses) {\n\t\t\ticonClasses.push(headingIconClasses);\n\t\t}\n\t}\n\n\treturn iconClasses;\n};\n\nconst getHeadingClasses = (prefs, deviceType, toggleCollapse) => {\n\tconst classes = [];\n\tconst { headingSize, headingStyles, headingClasses } = prefs;\n\n\tclasses.push('widget-heading');\n\n\tif (deviceType === 'MOBILE') {\n\t\tclasses.push('ddc-heading');\n\t}\n\tif (headingClasses) {\n\t\tclasses.push(headingClasses);\n\t}\n\tif (headingSize) {\n\t\tclasses.push(headingSize);\n\t}\n\tif (headingStyles) {\n\t\tclasses.push(`ddc-heading-${headingStyles}`);\n\t}\n\tif (toggleCollapse) {\n\t\tclasses.push('collapse-heading');\n\t}\n\n\treturn classes;\n};\n\nconst WidgetWrapper = ({ outputWrapperDiv, store, widgetId, widgetName }) => {\n\tconst state = store.getState();\n\n\tconst prefs = state.prefs || {};\n\n\tconst toggleCollapse =\n\t\t(prefs.widgetHeading && prefs.toggleCollapse === 'true') || false;\n\n\tconst showIcon = prefs.headingIconStyle ? true : toggleCollapse;\n\n\tconst isBrowser = typeof window !== 'undefined';\n\n\tif (process.env.NODE_ENV === 'development' && isBrowser) {\n\t\t(async () => {\n\t\t\tconst axe = require('@axe-core/react');\n\t\t\tconst widget = document.querySelectorAll(\n\t\t\t\t`[data-widget-id=\"${widgetId}\"]`\n\t\t\t);\n\t\t\tawait axe(React, ReactDOM, 1000, undefined, widget);\n\t\t})();\n\t}\n\n\tconst wrapping = (\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n\n\tif (outputWrapperDiv) {\n\t\tif (!widgetName) {\n\t\t\tthrow new Error(\n\t\t\t\t'widgetName is required if outputWrapperDiv is true.'\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{wrapping}\n\t\t\t\n\t\t);\n\t}\n\n\treturn wrapping;\n};\n\nWidgetWrapper.propTypes = {\n\toutputWrapperDiv: PropTypes.bool.isRequired,\n\tstore: PropTypes.shape({\n\t\tgetState: PropTypes.func.isRequired\n\t}).isRequired,\n\twidgetId: PropTypes.string.isRequired,\n\twidgetName: PropTypes.string\n};\n\nexport default WidgetWrapper;\n","const __WEBPACK_NAMESPACE_OBJECT__ = RTK;","export default [];\n","/*\n * WARNING: This file is owned by ws-scripts and can not be edited!\n *\n * NOTE: The eslint-disable-lines are needed because this file won't lint\n * when it's in the ws-scripts repo because those files only exist in the\n * widget. It's safe because the entire application won't work if those\n * weren't really resolved. It would be really apparent quickly.\n */\n\nimport {\n\tcombineReducers,\n\tconfigureStore as rtkConfigureStore\n} from '@reduxjs/toolkit';\nimport requestDataReducer from './reducers/request-data';\nimport prefsReducer from './reducers/prefs';\nimport labelsReducer from './reducers/labels';\nimport sitemapReducer from './reducers/sitemap';\nimport flagsReducer from './reducers/flags';\nimport customMiddleware from '../middleware'; // eslint-disable-line import/no-unresolved\n\nconst getReducers = () => {\n\tlet oldRootReducer = {};\n\tlet rootReducer = {};\n\tconst moduleDeps = [];\n\ttry {\n\t\toldRootReducer = require('../reducers').default; // eslint-disable-line import/no-unresolved\n\t\tmoduleDeps.push('../reducers');\n\t} catch (e) {\n\t\t// reducers does not exist in this widget\n\t}\n\ttry {\n\t\trootReducer = require('../features').default; // eslint-disable-line import/no-unresolved\n\t\tmoduleDeps.push('../features');\n\t} catch (e) {\n\t\t// features slices does not exist in this widget\n\t}\n\treturn [{ ...oldRootReducer, ...rootReducer }, moduleDeps];\n};\n\nconst providedReducers = {\n\trequestData: requestDataReducer,\n\tprefs: prefsReducer,\n\tlabels: labelsReducer,\n\tsitemap: sitemapReducer,\n\tflags: flagsReducer\n};\n\nconst isBrowser = typeof window !== 'undefined';\n\nif (process.env.NODE_ENV === 'development') {\n\tif (isBrowser) {\n\t\t// Note: This must be the last middleware in the chain so that it logs actions\n\t\t// instead of thunks or Promises.\n\n\t\t// Use an actionTransformer to get the widget name into the output since\n\t\t// we have multiple stores running on one page. It may seem like using\n\t\t// titleFormatter makes more sense for this purpose, but doing so loses the\n\t\t// readability improvement coloring added in 2.10.0 of redux-logger. As of\n\t\t// 3.0.6, there is no way to get colors without using the default title formatter.\n\t\t// With the below action transformer and default title formatter, we get:\n\t\t// action ws-example - MIDDLEWARE_TEST @ 17:47:41.612 (in 0.30 ms)\n\t\tconst actionTransformer = (action) => ({\n\t\t\t...action,\n\t\t\ttype: `ws-tracking - ${action.type}`\n\t\t});\n\n\t\tconst { createLogger } = require('redux-logger');\n\t\tconst logger = createLogger({ actionTransformer, duration: true });\n\t\tcustomMiddleware.push(logger);\n\t}\n}\n\nexport function configureStore(preloadedState) {\n\tconst [reducers, moduleDeps] = getReducers();\n\tconst store = rtkConfigureStore({\n\t\treducer: {\n\t\t\t...reducers,\n\t\t\t...providedReducers\n\t\t},\n\t\tmiddleware: (getDefaultMiddleware) =>\n\t\t\tgetDefaultMiddleware().concat(customMiddleware),\n\t\tpreloadedState\n\t});\n\n\tif (module.hot) {\n\t\t// 3rd arg callback errorHandler for module.hot.accept not functioning for resolution of uncaught error when directory is missing\n\t\t// instead, use above check for existence of reducers directories to determine which to provide to module depedencies array\n\t\tmodule.hot.accept(moduleDeps, () => {\n\t\t\tconst [reloadedReducers, _] = getReducers();\n\t\t\tstore.replaceReducer(\n\t\t\t\tcombineReducers({\n\t\t\t\t\t...reloadedReducers,\n\t\t\t\t\t...providedReducers\n\t\t\t\t})\n\t\t\t);\n\t\t});\n\t}\n\n\treturn store;\n}\n","export default function requestData(state = {}, action = null) {\n\tif (!action.error && action.payload) {\n\t\tswitch (action.type) {\n\t\t\tcase 'WS_SCRIPTS_SET_REQUEST_DATA':\n\t\t\t\treturn action.payload;\n\n\t\t\t// no default\n\t\t}\n\t}\n\n\treturn state;\n}\n","export default function prefs(state = {}, action = null) {\n\tif (!action.error && action.payload !== undefined) {\n\t\tswitch (action.type) {\n\t\t\tcase 'WS_SCRIPTS_SET_PREFS':\n\t\t\t\treturn action.payload;\n\n\t\t\t// no default\n\t\t}\n\t}\n\n\treturn state;\n}\n","export default function labels(state = {}, action = null) {\n\tif (!action.error && action.payload !== undefined) {\n\t\tswitch (action.type) {\n\t\t\tcase 'WS_SCRIPTS_ADD_LABELS':\n\t\t\t\treturn {\n\t\t\t\t\t...state,\n\t\t\t\t\t...action.payload\n\t\t\t\t};\n\n\t\t\t// no default\n\t\t}\n\t}\n\treturn state;\n}\n","export default function sitemap(state = {}, action = null) {\n\tif (!action.error && action.payload !== undefined) {\n\t\tswitch (action.type) {\n\t\t\tcase 'WS_SCRIPTS_ADD_SITEMAP':\n\t\t\t\treturn {\n\t\t\t\t\t...state,\n\t\t\t\t\t...action.payload\n\t\t\t\t};\n\n\t\t\t// no default\n\t\t}\n\t}\n\treturn state;\n}\n","export default function flags(state = {}, action = null) {\n\tif (!action.error && action.payload !== undefined) {\n\t\tswitch (action.type) {\n\t\t\tcase 'WS_SCRIPTS_SET_FEATURE_FLAGS':\n\t\t\t\treturn action.payload;\n\n\t\t\t// no default\n\t\t}\n\t}\n\n\treturn state;\n}\n","/*\n * WARNING: This file is owned by ws-scripts and can not be edited!\n *\n * This is the main entry point for our application when\n * executed in the browser. As such, it has some responsibilities:\n *\n * - Load server side rendered redux state\n * - Create the redux store with that state\n * - Kick off a React hydrate bound to the redux store\n *\n * We load our server side rendered state from an object\n * of the form:\n *\n *\twindow.DDC = {\n *\t\tWS: {\n *\t\t\tstate: {\n *\t\t\t\t\"ws-hours\": {\n *\t\t\t\t\t\"hours1\": {STATE}\n *\t\t\t\t\t\"hours2\": {STATE}\n *\t\t\t\t},\n *\t\t\t\t\"ws-quick-specs\": {\n *\t\t\t\t\t\"quick-specs1\": {STATE}\n *\t\t\t\t}\n *\t\t\t}\n *\t\t}\n *\t};\n *\n * In local development, the state will be a JSON object. When\n * loaded from CMS, it will be a string, since that reduces\n * serialization overhead but still avoids string concatenation.\n */\n\nimport { hydrate } from 'react-dom';\nimport WidgetWrapper from './components/layout/WidgetWrapper';\nimport { configureStore } from './store';\n\nconst getWidgetStatesByType = (widgetName) => {\n\tif (\n\t\t!window.DDC ||\n\t\t!window.DDC.WS ||\n\t\t!window.DDC.WS.state ||\n\t\t!window.DDC.WS.state[widgetName]\n\t) {\n\t\treturn {};\n\t}\n\n\treturn window.DDC.WS.state[widgetName];\n};\n\nconst getWidgetState = (widgetStates, widgetId) => {\n\tlet preloadedState = widgetStates[widgetId];\n\n\tif (typeof preloadedState === 'string') {\n\t\tpreloadedState = JSON.parse(preloadedState);\n\t}\n\n\treturn preloadedState;\n};\n\nconst widgetIdToStore = {};\n\nconst initializeWidgets = () => {\n\tconst widgetStates = getWidgetStatesByType('ws-tracking');\n\tconst widgetIds = Object.keys(widgetStates);\n\n\twidgetIds.forEach((widgetId) => {\n\t\tconst store = configureStore(getWidgetState(widgetStates, widgetId));\n\t\twidgetIdToStore[widgetId] = store;\n\n\t\t// When the widget is initially rendered server-side, render.jsx passes outputWrapperDiv\n\t\t// to render the widget wrapper div. Here, when hydrating, we pass outputWrapperDiv=false.\n\t\t// This is because hydrate takes a DOM element to hydrate into. We can't wrap the widget\n\t\t// in an extra div to target because there is a lot of styling in our system that\n\t\t// breaks. So, instead, we have to target the widget wrapper div and hydrate the\n\t\t// components inside of it.\n\t\thydrate(\n\t\t\t,\n\t\t\tdocument.getElementById(`${widgetId}-app-root`)\n\t\t);\n\n\t\t// We've initialized. We don't need to keep this data around anymore.\n\t\t// Deleting it ensures that we don't accidentally reinitialize later.\n\t\tdelete widgetStates[widgetId];\n\t});\n};\n\ninitializeWidgets();\n"],"names":["inProgress","dataWebpackPrefix","module","exports","require","TrackedInfo","USER_SESSION_ID","CONTACT_ID","SITE_ID","PORTAL_ID","SEM_ID","PERMANENT_COOKIE_ID","SESSION_REFERRER","SESSION_REFERRER_DOMAIN","REFERRER","TYPE","EXTRA","USER_AGENT","REMOTE_HOST","LOCALE","REACHLOCAL_COOKIE","KEYWORD_ID","REGION_ID","TCD_KEYWORD_ID","TCD_AD_ID","TCD_CAMPAIGN_ID","PLATFORM","VERSION","SKIN","TEMPLATE_EXTRA","USER_PROFILE_ID","UNIVERSAL_USER_ID","CAMPAIGN_PARAMS","PIXALL_ID","CLLC_BID","CLLC_PID","CLLC_ADID","CLLC_RID","CLLC_MKT_CODES","FMCCMP","ALT_SOURCE","SECONDARY_LEAD_SOURCE","T3_WEBSITE","VINLENS_SESSION_ID","CID","PDSRCH","REF_ID","DDC_REF","GC_LID","ADOBE_CLOUD_ID","UTM_CAMPAIGN","UTM_MEDIUM","UTM_SOURCE","ADS_ADGROUP","ADS_ADID","ADS_DIGADPROVIDER","ADP_FOUREYES","MARKETING_CODE","ZIP","dlItems","state","action","error","undefined","payload","type","dialog","dialogTitleEl","querySelector","textContent","trim","element","closest","dataset","widgetName","htmlElement","jQuery","get","attributeList","attributes","attributeObject","Array","from","reduce","obj","attribute","name","value","tagName","innerText","href","rawHref","win","prefParams","params","push","length","join","split","widgetSectionSelectors","Map","DDC","returnValue","Element","sectionName","selector","widget","Node","pageContainer","client","isMobile","dialogEl","widgetHeadingEl","widgetHeadingText","widgetId","className","classList","toString","matchResult","closestElement","classes","match","classObj","forEach","classStr","_","key","Object","keys","dataAttributes","id","trackingLabel","properties","entries","commonName","assign","customTrackingData","findCustomTrackingData","baseURI","targetHost","isExternal","every","el","includes","eventObject","eventTypes","eventType","eventData","overrides","hasEventData","getElementAttributes","widgetHeading","getWidgetHeading","findWidgetName","findWidgetId","widgetClasses","findWidgetClasses","externalUrl","isExternalUrl","window","location","host","trackingSection","getSection","dialogTitle","findDialogTitle","isTelephonicUrl","startsWith","isChecked","checked","eventTypesForSameAction","filter","eventTypeToRemove","wsTrackNr","event","eventName","phoneNumber","url","replace","year","modelYear","getCommonData","pushToGtmDataLayer","cookies","document","cookie","cookieValue","cookieName","expirationDays","path","expirationStr","d","Date","setTime","getTime","toUTCString","TRACKING_COOKIES","Set","add","TRACKED_INFO_COOKIES","TRACKED_PARAMETERS","TRACKED_ATTRIBUTES","TRACKED_ATTRS_NAME","setSessionItem","sessionStorage","setItem","getSessionItem","getItem","funcSafe","func","arg","e","setTrackedDataFromParams","trackingNames","urlParams","trackName","trackValue","setCookie","removeItem","removeCookie","processTrackedData","verifyRequestParams","verifySessionAttrs","getCookie","setTrackedDataFromCookies","getTrackedAttributes","formData","set","attrValue","has","contactIdCookieValue","getTrackedAttributesString","btoa","map","encodeURIComponent","updateSession","trackedData","atob","data","dataArr","decodeURI","parseTrackedAttributeParameter","tcParam","tc","kwParam","kw","kwParamSplit","fromParam","semCookie","start","indexOf","end","dominatorid","substring","dispatchEvent","Event","getTrackedInfo","locale","navigator","userAgent","siteSettings","dataLayer","siteId","site","design","themekit","variationId","trackInfo","timestamp","newrelic","n","i","arguments","addPageAction","wsTrackNrClickPathMissing","addNewRelicPageAction","userSessionId","wsTrackNrBlockedFormConfirmation","formEventId","Math","floor","random","WsmCommonData","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","call","m","getter","__esModule","a","definition","o","defineProperty","enumerable","f","chunkId","Promise","all","promises","u","miniCssF","prop","prototype","hasOwnProperty","l","done","script","needAttach","scripts","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","fn","setTimeout","bind","target","head","appendChild","r","Symbol","toStringTag","p","installedChunks","j","installedChunkData","promise","resolve","reject","Error","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","globalThis","ReactDOM","React","ReactRedux","WidgetHeading","constructor","props","super","this","renderDelegate","labels","HeadingTag","headingText","toggleCollapse","showIcon","headingClasses","iconClasses","allIconClasses","collapseAttributes","iconExpand","role","getHTML","render","toUpperCase","Common","defaultProps","Collapse","children","then","default","WidgetData","pushEvent","useSelector","formChangeTypes","maxClickpathCount","paramsForExtraInfo","usePrefs","useRequestData","flags","useFlags","confirmationData","form","fields","fieldsTrimmedLowerCase","item","itemValue","valToUse","useEffect","now","clickPathFromSessionStorage","clickPath","clickPathObject","JSON","parse","values","uuid","vehicles","isVdp","page","pageInfo","viewType","stringify","clickpathGenerator","getUrlParams","trackingAttributesGenerator","trackingAttributesInjector","getParamsForExtraInfo","paramName","EXTRA_INFO_PARAM","paramValue","URLSearchParams","search","getWidgetClasses","getIconClasses","prefs","headingIconClasses","headingIconSize","headingIconStyle","getHeadingClasses","deviceType","headingSize","headingStyles","outputWrapperDiv","store","getState","wrapping","Provider","headingTag","requestData","RTK","providedReducers","sitemap","configureStore","preloadedState","reducers","moduleDeps","oldRootReducer","rootReducer","getReducers","rtkConfigureStore","reducer","middleware","getDefaultMiddleware","concat","customMiddleware","widgetIdToStore","widgetStates","WS","getWidgetState","hydrate","getElementById","initializeWidgets"],"sourceRoot":""}