1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,46467,e=>{"use strict";let t="GenLeads_CookieConsent";function n(){try{let e=localStorage.getItem(t);if(!e)return!1;let n=JSON.parse(e),i=(Date.now()-n.timestamp)/864e5;return n.accepted&&i<365}catch(e){return console.warn("Error checking cookie consent:",e),!1}}function i(){try{let e=localStorage.getItem(t);if(!e)return null;return JSON.parse(e)}catch(e){return console.warn("Error getting cookie consent:",e),null}}function r(){return n()}e.s(["canUseStorage",()=>r,"getCookieConsent",()=>i,"hasCookieConsent",()=>n])},68010,e=>{"use strict";let t="GenLeads_UserSession";class n{session=null;heartbeatTimer=null;pathCheckTimer=null;currentPath="";currentEntry=null;maxScrollDepth=0;scrollThrottleTimer=null;productTimer=null;interactionListenerAttached=!1;init(){let e=this.getStoredSession();e&&this.isSameSession(e)?this.session=e:this.session=this.createNewSession(),this.currentPath=window.location.pathname,this.initializeCurrentPage(),this.startHeartbeat(),this.startPathMonitoring(),this.attachScrollListener(),this.attachInteractionListeners(),this.setupPageSpecificTracking(),this.attachPageUnloadListener(),this.attachRouteChangeListeners(),this.saveSession()}initializeCurrentPage(){let e=window.location.pathname,t=this.session?.journey.find(t=>t.path===e&&Date.now()-t.timestamp<6e4);t?(this.currentEntry=t,this.currentPath=e):(this.finalizeCurrentPage(),this.currentPath=e,this.currentEntry=this.createJourneyEntry(e),this.maxScrollDepth=0,this.session?.journey.push(this.currentEntry))}finalizeCurrentPage(){if(this.currentEntry){let e=(Date.now()-this.currentEntry.timestamp)/1e3;this.currentEntry.duration=e,this.currentEntry.scrollDepth=this.maxScrollDepth}}startPathMonitoring(){this.pathCheckTimer=setInterval(()=>{let e=window.location.pathname;e!==this.currentPath&&this.handleRouteChange(e)},500)}handleRouteChange(e){this.productTimer&&(clearTimeout(this.productTimer),this.productTimer=null),this.finalizeCurrentPage(),this.saveSession(),this.currentPath=e,this.maxScrollDepth=0,this.currentEntry=this.createJourneyEntry(e),this.session?.journey.push(this.currentEntry),this.setupPageSpecificTracking(),this.saveSession()}attachRouteChangeListeners(){window.addEventListener("popstate",()=>{this.handleRouteChange(window.location.pathname)});let e=history.pushState,t=history.replaceState;history.pushState=(...t)=>{e.apply(history,t),setTimeout(()=>{window.location.pathname!==this.currentPath&&this.handleRouteChange(window.location.pathname)},100)},history.replaceState=(...e)=>{t.apply(history,e),setTimeout(()=>{window.location.pathname!==this.currentPath&&this.handleRouteChange(window.location.pathname)},100)}}createNewSession(){return{sessionId:this.generateUUID(),startTime:Date.now(),referrer:document.referrer||"direct",journey:[],computedIntent:{primaryInterest:"General Lead Gen",engagementScore:20,painPoint:null}}}createJourneyEntry(e){return{path:e,timestamp:Date.now(),duration:0,scrollDepth:0,interactions:[],clicks:[]}}generateUUID(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}isSameSession(e){return Date.now()-e.startTime<18e5}getStoredSession(){try{let{canUseStorage:t}=e.r(46467);if(!t())return null}catch(e){}try{let e=sessionStorage.getItem(t);return e?JSON.parse(e):null}catch{return null}}saveSession(){try{let{canUseStorage:t}=e.r(46467);if(!t())return}catch(e){}try{sessionStorage.setItem(t,JSON.stringify(this.session))}catch(e){console.warn("Failed to save session:",e)}}startHeartbeat(){this.heartbeatTimer=setInterval(()=>{if(this.currentEntry){let e=(Date.now()-this.currentEntry.timestamp)/1e3;this.currentEntry.duration=e,this.currentEntry.scrollDepth=this.maxScrollDepth,this.saveSession()}},5e3)}attachScrollListener(){let e=0;window.addEventListener("scroll",()=>{let t=Date.now();if(t-e<200)return;e=t;let n=window.pageYOffset||document.documentElement.scrollTop,i=document.documentElement.scrollHeight-window.innerHeight,r=i>0?Math.min(100,Math.round(n/i*100)):0;this.maxScrollDepth=Math.max(this.maxScrollDepth,r),this.currentEntry&&(this.currentEntry.scrollDepth=this.maxScrollDepth)},{passive:!0})}attachInteractionListeners(){if(!this.interactionListenerAttached){let e=e=>{let t=e.target;t&&(this.recordClickEvent(t,e),"/solutions"===window.location.pathname&&this.handleSolutionsPageClick(t),this.trackCTAClicks(t))};document.addEventListener("click",e,!0),this.interactionListenerAttached=!0}}recordClickEvent(e,t){let n;if(!this.currentEntry)return;let i=e.closest('button, a, [role="button"], [onclick]')||e,r=i.tagName.toLowerCase(),s=this.getElementText(i),a=i.id||void 0;i.className&&(n="string"==typeof i.className?i.className:i.classList&&i.classList.toString?i.classList.toString():"object"==typeof i.className&&"baseVal"in i.className?i.className.baseVal||void 0:String(i.className));let o=i.href||void 0,c=this.identifySection(i),l=c?`${this.currentPath}#${c}`:this.currentPath,u={timestamp:Date.now(),elementType:r,elementText:s.substring(0,100),elementId:a,elementClass:n?n.substring(0,100):void 0,href:o?o.substring(0,200):void 0,clickCount:1,section:c,pathWithSection:l},h=this.currentEntry.clicks.find(e=>e.elementType===u.elementType&&e.elementText===u.elementText&&(e.elementId===u.elementId||!e.elementId&&!u.elementId)&&e.section===u.section);h?(h.clickCount++,h.timestamp=Date.now()):this.currentEntry.clicks.push(u),this.currentEntry.clicks.length>50&&(this.currentEntry.clicks=this.currentEntry.clicks.slice(-50)),this.saveSession()}identifySection(e){let t=e;for(;t&&t!==document.body;){if(t.id){let e=t.id.toLowerCase();if(e.includes("hero")||e.includes("header"))return"hero";if(e.includes("nav")||e.includes("navbar"))return"nav";if(e.includes("footer"))return"footer";if(e.includes("cta")||e.includes("call-to-action"))return"cta";if(e.includes("demo")||e.includes("interactive"))return"demo";if(e.includes("pricing"))return"pricing";if(e.includes("features")||e.includes("benefits"))return"features";if(e.includes("testimonial")||e.includes("review"))return"testimonials";if(e.includes("about")||e.includes("intro"))return"about";if(e.includes("product")||e.includes("solution"))return"product";if(e.length<30&&!e.includes("__"))return e}let e=t.getAttribute("data-section");if(e)return e.toLowerCase();let n=t.getAttribute("aria-label");if(n&&(n.toLowerCase().includes("section")||n.toLowerCase().includes("area")))return n.toLowerCase().replace(/\s+/g,"-").substring(0,30);if("SECTION"===t.tagName||"ARTICLE"===t.tagName||"ASIDE"===t.tagName){let e=t.id||t.className?.split(" ")[0];if(e)return e.toLowerCase().replace(/\s+/g,"-").substring(0,30)}let i=t.className;if("string"==typeof i){let e=i.toLowerCase();if(e.includes("hero")||e.includes("header"))return"hero";if(e.includes("nav")||e.includes("navbar"))return"nav";if(e.includes("footer"))return"footer";if(e.includes("cta")||e.includes("call-to-action"))return"cta";if(e.includes("demo")||e.includes("interactive"))return"demo";if(e.includes("pricing"))return"pricing";if(e.includes("features")||e.includes("benefits"))return"features";if(e.includes("testimonial")||e.includes("review"))return"testimonials"}t=t.parentElement}let n=document.querySelector('header, [role="banner"]'),i=document.querySelector('footer, [role="contentinfo"]');
1if(n&&n.contains(e))return"header";if(i&&i.contains(e))return"footer";let r=document.querySelector('main, [role="main"]');if(r&&r.contains(e)){let e=r.id||r.className?.split(" ")[0];return e?e.toLowerCase().replace(/\s+/g,"-").substring(0,30):"main"}}getElementText(e){return e.textContent?e.textContent.trim():e.getAttribute("aria-label")?e.getAttribute("aria-label")||"":e.title?e.title:e instanceof HTMLImageElement&&e.alt?e.alt:e.tagName.toLowerCase()}handleSolutionsPageClick(e){let t=e.closest("button");if(t){let e=t.textContent?.toLowerCase()||"";e.includes("auto insurance")||e.includes("auto")?this.recordInteraction("clicked_auto"):e.includes("home improvement")||e.includes("home")?this.recordInteraction("clicked_home"):e.includes("health")||e.includes("medicare")?this.recordInteraction("clicked_health"):e.includes("finance")||e.includes("investment")||e.includes("debt")?this.recordInteraction("clicked_finance"):(e.includes("legal services")||e.includes("legal"))&&this.recordInteraction("clicked_legal")}}trackCTAClicks(e){let t=e.closest("button, a");if(!t)return;let n=t.textContent?.toLowerCase()||"",i=t.className?.toLowerCase()||"";if((n.includes("advertise")||n.includes("demo")||i.includes("cta"))&&this.recordInteraction("clicked_cta_advertise"),(n.includes("get started")||n.includes("start now")||n.includes("sign up"))&&this.recordInteraction("clicked_cta_get_started"),(n.includes("learn more")||n.includes("read more"))&&this.recordInteraction("clicked_cta_learn_more"),"A"===t.tagName){let e=t.href;if(e)try{let t=new URL(e);t.pathname&&t.pathname!==window.location.pathname&&this.recordInteraction(`clicked_link_${t.pathname.replace(/\//g,"_")}`)}catch(e){}}}setupPageSpecificTracking(){"/product"===window.location.pathname&&this.currentEntry&&(this.productTimer=setTimeout(()=>{"/product"===window.location.pathname&&this.currentEntry&&this.recordInteraction("high_intent_product_view")},3e4))}recordInteraction(e){this.currentEntry&&!this.currentEntry.interactions.includes(e)&&(this.currentEntry.interactions.push(e),this.saveSession())}attachPageUnloadListener(){window.addEventListener("beforeunload",()=>{this.finalizeCurrentPage(),this.saveSession()}),document.addEventListener("visibilitychange",()=>{document.hidden?(this.finalizeCurrentPage(),this.saveSession()):this.currentEntry&&Date.now()-this.currentEntry.timestamp-1e3*this.currentEntry.duration>5e3&&(this.currentEntry.timestamp=Date.now()-1e3*this.currentEntry.duration)}),document.addEventListener("freeze",()=>{this.finalizeCurrentPage(),this.saveSession()}),document.addEventListener("resume",()=>{this.currentEntry&&Date.now()-this.currentEntry.timestamp-1e3*this.currentEntry.duration>5e3&&(this.currentEntry.timestamp=Date.now()-1e3*this.currentEntry.duration)})}getSession(){if(!this.session)return null;let e=JSON.parse(JSON.stringify(this.session));if(this.currentEntry&&this.currentPath){let t=-1,n=1/0;if(e.journey.forEach((e,i)=>{if(e.path===this.currentPath){let r=Math.abs(e.timestamp-this.currentEntry.timestamp);r<2e3&&r<n&&(n=r,t=i)}}),-1===t){for(let n=e.journey.length-1;n>=0;n--)if(e.journey[n].path===this.currentPath){t=n;break}}if(t>=0){let n=(Date.now()-this.currentEntry.timestamp)/1e3;n>=0&&n<3600&&(e.journey[t].duration=n,e.journey[t].scrollDepth=this.maxScrollDepth)}}return e}
1calculateIntent(){if(!this.session)return{primaryInterest:"General Lead Gen",engagementScore:20,painPoint:null};let e="General Lead Gen",t=20,n=null,i=this.session.journey.find(e=>"/solutions"===e.path);i&&i.duration>30&&(t+=30,i.interactions.includes("clicked_solar")?e="Solar":i.interactions.includes("clicked_finance")?e="Finance":i.interactions.includes("clicked_health")?e="Health & Medicare":i.interactions.includes("clicked_auto")?e="Auto Insurance":i.interactions.includes("clicked_legal")?e="Legal Services":i.interactions.includes("clicked_home")&&(e="Home Improvement"));let r=this.session.journey.find(e=>"/product"===e.path);return r&&(r.duration>30&&(t+=25),r.interactions.includes("high_intent_product_view")&&(t+=15)),this.session.journey.some(e=>e.scrollDepth>80)&&(t+=20),this.session.journey.reduce((e,t)=>e+t.duration,0)>120&&(t+=10),this.session.journey.find(e=>e.path.includes("privacy")||e.path.includes("ccpa")||e.path.includes("terms"))&&(n="Compliance",t+=5),{primaryInterest:e,engagementScore:t=Math.min(100,t),painPoint:n}}destroy(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.pathCheckTimer&&clearInterval(this.pathCheckTimer),this.scrollThrottleTimer&&clearTimeout(this.scrollThrottleTimer),this.productTimer&&clearTimeout(this.productTimer),this.finalizeCurrentPage(),this.saveSession()}}let i=null;function r(){return i?.getSession()||null}
1function s(){return i?.calculateIntent()||{primaryInterest:"General Lead Gen",engagementScore:20,painPoint:null}}(function(){try{let{canUseStorage:t}=e.r(46467);if(!t()){let t=()=>{let{canUseStorage:r}=e.r(46467);r()&&!i&&((i=new n).init(),window.removeEventListener("cookieConsentChanged",t))};window.addEventListener("cookieConsentChanged",t);return}}catch(e){}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{i||(i=new n).init()}):i||(i=new n).init()})(),e.s(["calculateIntent",()=>s,"getSessionData",()=>r])},61547,e=>{"use strict";let t="optout";function n(){let e=window.location.hostname;return"genleads.com"===e||e.endsWith(".genleads.com")}function i(e){let t=["path=/",`max-age=${e}`,"SameSite=None"];return"https:"===window.location.protocol&&t.push("Secure"),n()&&t.push("domain=.genleads.com"),t.join("; ")}function r(){return"1"===function(e){if("u"<typeof document)return null;let t=`${e}=`;for(let e of document.cookie.split(";")){let n=e.trim();if(n.startsWith(t))return decodeURIComponent(n.slice(t.length))}return null}(t)}function s(e){"u"<typeof document||(document.cookie=`${t}=${e?"1":"0"}; ${i(31536e3)}`,e&&(document.cookie=`__gluid_=; ${i(0)}`,function(){if("function"==typeof fetch&&n())try{fetch("https://pb.genleads.com/cm/optout",{method:"GET",mode:"no-cors",credentials:"include",cache:"no-store",keepalive:!0}).catch(()=>{})}catch{}}()))}function a(){return!("u"<typeof navigator)&&!0===navigator.globalPrivacyControl&&(r()||s(!0),!0)}e.s(["honorGpc",()=>a,"isOptedOut",()=>r,"setOptOut",()=>s])},23941,e=>{"use strict";var t=e.i(16786),n=e.i(25435),i=e.i(46467);function r({children:r}){let[s,a]=n.useState(!1);return n.useEffect(()=>{a((0,i.hasCookieConsent)());let t=t=>{a(t.detail.accepted),t.detail.accepted&&e.A(49630).then(()=>{console.log("Behavior tracker initialized after consent")})};return window.addEventListener("cookieConsentChanged",t),(0,i.hasCookieConsent)()&&e.A(49630).then(()=>{console.log("Behavior tracker initialized (consent already given)")}),()=>{window.removeEventListener("cookieConsentChanged",t)}},[]),(0,t.jsx)(t.Fragment,{children:r})}e.s(["BehaviorTrackerProvider",()=>r])},98916,e=>{"use strict";var t=e.i(16786),n=e.i(25435),i=e.i(18125),r=e.i(76816),s=e.i(90623);let a=(0,e.i(94069).default)("cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);var o=e.i(61008),c=e.i(36083);let l="GenLeads_CookieConsent";function u(){let[e,u]=n.useState(!1),[h,d]=n.useState(!1);n.useEffect(()=>{let e=setTimeout(()=>{(()=>{try{let e=localStorage.getItem(l);if(e){let t=JSON.parse(e),n=(Date.now()-t.timestamp)/864e5;if(t.accepted&&n<365)return void m(!0)}u(!0)}catch(e){console.warn("Error checking cookie consent:",e),u(!0)}})()},1e3);return()=>clearTimeout(e)},[]);let m=e=>{let t={accepted:e,timestamp:Date.now()};if(localStorage.setItem(l,JSON.stringify(t)),e){let e=new Date;e.setTime(e.getTime()+31536e6),document.cookie=`cookieConsent=accepted; expires=${e.toUTCString()}; path=/; SameSite=Lax`}else document.cookie=`cookieConsent=declined; expires=${new Date(0).toUTCString()}; path=/`;window.dispatchEvent(new CustomEvent("cookieConsentChanged",{detail:{accepted:e}}))},p=()=>{d(!0),m(!1),setTimeout(()=>{u(!1),d(!1)},300)};return e?(0,t.jsx)(r.AnimatePresence,{children:e&&(0,t.jsx)(i.motion.div,{initial:{y:100,opacity:0},animate:{y:0,opacity:1},exit:{y:100,opacity:0},transition:{type:"spring",damping:25,stiffness:200},className:(0,c.cn)("fixed bottom-0 left-0 right-0 z-[100] bg-white border-t border-brand-green/20 shadow-2xl","px-4 py-4 md:px-6 md:py-5"),children:(0,t.jsx)("div",{className:"container mx-auto max-w-6xl",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-start md:items-center gap-4",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("div",{className:"w-12 h-12 rounded-full bg-brand-green/10 flex items-center justify-center",children:(0,t.jsx)(a,{className:"w-6 h-6 text-brand-green"})})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"text-base font-bold text-text-warm mb-1",children:"We Value Your Privacy"}),(0,t.jsx)("p",{className:"text-sm text-text-warm-secondary leading-relaxed",children:'We use cookies and similar technologies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies. You can also choose to decline, but some features may not work properly.'}),(0,t.jsx)("p",{className:"text-xs text-text-warm-secondary/70 mt-2",children:(0,t.jsx)("a",{href:"/privacy#cookie",className:"text-brand-green hover:underline",target:"_blank",rel:"noopener noreferrer",children:"Learn more about our cookie policy"})})]}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 w-full md:w-auto flex-shrink-0",children:[(0,t.jsx)(o.Button,{onClick:p,variant:"outline",size:"sm",disabled:h,className:"border-text-warm-secondary/30 text-text-warm-secondary hover:bg-slate-50",children:"Decline"}),(0,t.jsx)(o.Button,{onClick:()=>{d(!0),m(!0),setTimeout(()=>{u(!1),d(!1)},300)},size:"sm",disabled:h,className:"bg-brand-green hover:bg-brand-green-hover text-white",children:"Accept All"})]}),(0,t.jsx)("button",{onClick:p,className:"absolute top-4 right-4 md:hidden p-1 text-text-warm-secondary/50 hover:text-text-warm transition-colors","aria-label":"Close",children:(0,t.jsx)(s.X,{className:"w-5 h-5"})})]})})})}):null}e.s(["CookieConsent",()=>u],98916)},86735,e=>{"use strict";var t=e.i(25435),n=e.i(61547);function i(){return t.useEffect(()=>{(0,n.honorGpc)()},[]),null}e.s(["GpcOptOut",()=>i])},49630,e=>{e.v(e=>Promise.resolve().then(()=>e(68010)))}]);
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.