PageSourceSearch

http://www.paganinewportbeach.com/static/assets/libraries/ddc-tracking-helpers/1.0.0/es.js

js paganinewportbeach.com collected 2026-09-30 14:37:42 UTC 7,310 bytes, 13 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opens = _____WB$wombat$assign$function_____("opens");
10(()=>{const e=parseInt(document.getElementById("firehose-percentage").dataset.firehosePercentage,10);window.DDC=window.DDC||{},window.DDC.dataLayer=window.DDC.dataLayer||{},window.DDC.dataLayer.page=window.DDC.dataLayer.page||{};const t={"auto updated":"auto update",added:"add",applied:"apply",changed:"change",clicked:"click",collapsed:"collapse",completed:"complete",displayed:"display",expanded:"expand",impression:"view",navigated:"navigate",opened:"open",received:"receive",removed:"remove",saved:"save",selected:"select",submitted:"submit",swiped:"swipe",updated:"update",viewed:"view"},n=(e,t)=>{let n;return"string"==typeof e&&(n=e.toLowerCase().split(" ").map((e=>t[e]||e)).join(" ")),n},a=()=>window.crypto&&window.crypto.getRandomValues?(()=>{const e=new window.Uint32Array(24);window.crypto.getRandomValues(e);let t="";for(let n=0;n<e.length;n++){const a=Math.floor(e[n]/4294967296*62);t+=a>35?(a-26).toString(36).toUpperCase():a.toString(36)}return t})():Math.trunc(1e9*Math.random());window.DDC.dataLayer.page.generateId=a,window.DDC.dataLayer.page.pageViewId=a(),window.setNRAttr||(window.setNRAttr=(e,t)=>{var n;null!==(n=window)&&void 0!==n&&n.newrelic&&e&&t&&window.newrelic.setCustomAttribute(e,t)}),window.sendNRAction||(window.sendNRAction=(e,t)=>{var n;const a=t;null!==(n=window)&&void 0!==n&&n.newrelic&&e&&a&&(a.eventType="PageAction",window.newrelic.addPageAction(e,a))}),window.DDC.pushToFirehose=function(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(Math.ceil(100*Math.random())<=a){const{element:a,...i}=n||{},o="/api/widget/ws-tagging/firehose",d={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({eventCategory:e,eventName:t,payload:{...i,...Object.keys(i).length&&{eventData:i}}})};fetch(o,d).then((e=>e.json())).then((e=>{var t,n;null===(t=window)||void 0===t||null===(t=t.DDC)||void 0===t||null===(n=t.log)||void 0===n||n.call(t,"log",e)})).catch((e=>{var t,n;null===(t=window)||void 0===t||null===(t=t.DDC)||void 0===t||null===(n=t.log)||void 0===n||n.call(t,"warn",e)}))}},window.DDC.pushToPixall=function(t){var n;let{event:i,source:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const d=JSON.parse(JSON.stringify(t)),{pageViewId:l}=window.DDC.dataLayer.page;d.experimental=d.experimental||{},(!d.experimental.eventId||"cms-web-pixall-pageview"!==i&&d.experimental.eventId===l)&&(d.experimental.eventId=a()),d.experimental.pageViewId=l,window._pxam.push(d);const{category:r="",eventSource:s="",eventType:w=""}=d,v=i||[s,w,r].filter(Boolean).join("|");if(window.DDC.pushToFirehose("pixall",d.eventType||v,d,e||1),(()=>{const e=window.location.hostname;return e.includes(".web-np.")||e.includes(".localhost.")||Math.floor(100*Math.random()+1)<=10})()){const e=["category","contentType","description","eventSource","eventType","label"].reduce(((e,t)=>{if(Object.prototype.hasOwnProperty.call(d,t)){e[`pixall${t.charAt(0).toUpperCase()}${t.slice(1)}`]=d[t]}return e}),{});window.sendNRAction("pixall_send_data",{...o&&{mappingSource:o},eventId:d.experimental.eventId,pageViewId:d.experimental.pageViewId,eventName:v,...e})}var c,p;null!==(n=window)&&void 0!==n&&n.sendToEventViewer&&(null===(c=window)||void 0===c||null===(p=c.sendToEventViewer)||void 0===p||p.call(c,i,d,o))},window.DDC.pushToGtmDataLayer=(e,i)=>{var o;let d=!1;const l=e;if(null!==(o=window)&&void 0!==o&&null!==(o=o.dataLayer)&&void 0!==o&&o.push){var r;const{pageViewId:t}=window.DDC.dataLayer.page;if(null!=l&&null!==(r=l.event)&&void 0!==r&&r.includes("ddc.")){l.eventData=l.eventData||{},l.eventData.eventId="ddc.page.view"===l.event?t:a(),l.eventData.pageViewId=t;["event","eventName","eventType"].forEach((e=>{l.eventData[e]=l.eventData[e]||l.event})),e.eventData.year&&(l.eventData.modelYear=e.eventData.year)}else l.eventId="ddc.page.view"===l.event?t:a();window.dataLayer.push(l),d=!0}else{var s;null===(s=window)||void 0===s||null===(s=s.DDC)||void 0===s||s.log("dataLayer or dataLayer.push is undefined",l)}if(new Set(["ws-car-customizer","ws-inv-facets"]).has(e.widgetName)||window.DDC.Flags["cms-web-all-wue-to-cdl"]&&"widgetUserEvent"===e.event||window.DDC.Flags["cms-web-all-specialsEvent-to-cdl"]&&"specialsEvent"===e.event||window.DDC.Flags["cms-web-all-thirdPartyUserEvent-to-cdl"]&&"thirdPartyUserEvent"===e.event){var w,v;const{action:a,result:o,event:d,elementCTA:l,title:r,specialType:s,specialPlacementType:c,step:p,...u}=e;let g,D=o;if("string"==typeof D){D=n(o,t)||o;const e=(e=>{const t=/(https?:\/\/[^\s]+)/g,n=e.match(t);let a="";if(n)return[a]=n,{updatedString:e.replace(t,"destination url"),destinationUrl:a};return{updatedString:e,destinationUrl:""}})(D);D=e.updatedString,g=e.destinationUrl}const m={event:{...D&&{intention:D},elementText:l,gtmEvent:d,...u,..."string"!=typeof(null==u?void 0:u.element)&&{element:""},..."specialsEvent"===e.event&&{element:r||""},..."thirdPartyUserEvent"===e.event&&{element:`${e.element} ${p}`||""},...i,action:n(a||s,t)||a||s,...g&&{destinationUrl:g},...c&&{location:c}}};(e=>{let t=[];"specialsEvent"===e.event.gtmEvent&&(t=["specialPersonalized","title","specialId","specialAutoGen","promoIndex","customAsset","gtm.uniqueEventId","promoIndex","oemId","specialCategory"]),"widgetUserEvent"===e.event.gtmEvent&&(t=["formId","fieldValue","formEventId","sourceData","value","widgetState","gtm.uniqueEventId","uuid"]),"thirdPartyUserEvent"===e.event.gtmEvent&&(t=["gtm.uniqueEventId","intention","vehicleUuid","product","step"]),t.forEach((t=>{delete e.event[t]})),e.event.windowId&&(e.event.widgetId=e.event.windowId,delete e.event.windowId)})(m),null===(w=window.coxAutoDataLayer)||void 0===w||null===(v=w.push)||void 0===v||v.call(w,m)}return d},window.DDC.fireTrackingEvent=e=>{const{dataToExcludeFromWidgetUserEvent:t,...n}=e;jQuery(document).trigger("trackEvent",[n,t])},window.DDC.receiveTrackingEvent=e=>{jQuery(document).on("trackEvent",((t,n,a)=>{e(t,n,a)}))},window.DDC.pushEvent=e=>{var t;let{event:n,eventData:a}=e;if(((e,t)=>{if("string"!=typeof e||0===e.length)throw new Error(`${t} must be a non-zero length string. Got: ${e}.`)})(n,"event name"),!((null==a?void 0:a.element)instanceof Element))throw new Error("eventData.element must be a DOM Element.");null!==(t=window)&&void 0!==t&&null!==(t=t.DDC)&&void 0!==t&&null!==(t=t.WidgetData)&&void 0!==t&&null!==(t=t["ws-tracking"])&&void 0!==t&&t.pushEvent?window.DDC.WidgetData["ws-tracking"].pushEvent({event:n,eventData:a}):window.addEventListener("pushEventReady",(()=>{window.DDC.WidgetData["ws-tracking"].pushEvent({event:n,eventData:a})}))}})();
11//# sourceMappingURL=es.js.map
12
13}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.