PageSourceSearch

https://www.karlchevrolet.com/resources/taggbaa/chunks/bs-listener-incubeta.1e84bea02f2f0e1d6e06.js

js karlchevrolet.com collected 2026-09-26 10:37:12 UTC 1,996 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktaggbaa=self.webpackChunktaggbaa||[]).push([[719],{2099:function(e,t,n){n.r(t),n.d(t,{load:function(){return c}});var a=n(9312),r=n(585),o=n(8092);const i={[o.u.ClickToCall]:e=>{const t=(e?.department??"").toLocaleLowerCase();return t?{event:`phone_${t}`}:null},[o.u.TrackApexCta]:e=>({event:"digital_retail_step",step_name:"start"}),[o.u.TrackApexPageView]:e=>{const t=e?.stepName??e?.step_name??e?.taggingEvent??"";return t?{event:"digital_retail_step",step_name:t}:null},[o.u.CtaInteraction]:e=>({event:`buy_online_${(e?.additionalData??e?.vehicleType??e?.taggingAdditionalData??"unknown").toLowerCase()}_vehicle`})},s={async load(e,t,n){const{pageKey:o,replayFrom:s,overrides:c}=n,l={},u=new Set([...Object.keys(i),...Object.keys(l),...Object.keys(c??{})]),p={};for(const e of u){const t=c?.[e]??l[e]??i[e];t&&(p[e]=e=>{const n=e?.payload??e;r.s.fire(t(n))})}t.debug(`incubetaTracker: loaded for page="${o}", ${u.size} event(s) wired, replaying ${s?.length??0}`),await(0,a.$)(e,t,p,{replayFrom:s}).initialize()}};async function c(e,t,n){const a=e.getStoreState(),r=a?.oemEvents??[];t.debug(`IncubetaListenerModule: bootstrapping incubeta tracker for page="${n}", replay=${r.length}`),await s.load(e,t,{pageKey:n,replayFrom:r})}},9312:function(e,t,n){function a(e,t,n,a){return{async initialize(){const r=e.getStoreState();if(!r)return void t.warn("createTrackerListener: store is unavailable");for(const e of a?.replayFrom??[]){const a=n[e.event];if(a)try{a(e)}catch(n){t.error(`Listener replay: ${e.event} threw`,n)}}let o=r.latestOemEvent??{};e.subscribeOem(()=>{const a=e.getStoreState()?.latestOemEvent;if(a===o)return;o=a;const r=a?.event;if(!r)return;const i=n[r];if(i)try{i(a)}catch(e){t.error(`Listener: ${r} threw`,e)}})}}}n.d(t,{$:function(){return a}})},585:function(e,t,n){n.d(t,{s:function(){return a}});const a={fire(e){var t;if(!e)return;const n=(t=window).dataLayer??(t.dataLayer=[]),a=Array.isArray(e)?e:[e];for(const e of a)e&&n.push(e)}}}}]);

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.