1import{r as e}from"./rolldown-runtime-hePW80VL.js";import{i as t,r as n}from"./framework-DTZGTDtF.js";import{t as r}from"./index-CHxTN_Hk.js";import i from"./script-Bgu8GYgi.js";var a=e(t(),1),o=n();function s(e){let t=new URL(e.href,window.location.href),n=t.origin===window.location.origin&&t.pathname===`/demo`,r=t.origin===`https://app.rightmessage.com`&&t.pathname===`/register`;return e.dataset.cta===`demo`&&n?{ctaType:`demo`,destination:t}:e.dataset.cta===`trial`&&r?{ctaType:`trial`,destination:t}:n?{ctaType:`demo`,destination:t}:r?{ctaType:`trial`,destination:t}:null}var c=` 2 window.dataLayer = window.dataLayer || []; 3 window.gtag = function gtag() { 4 window.dataLayer.push(arguments); 5 }; 6 window.gtag('js', new Date()); 7 window.gtag('config', 'AW-17087238070'); 8`,l=`https://www.googletagmanager.com/gtag/js?id=AW-17087238070`,u=`
vendor: 417 bytes, lines 8-17
8 9 !function(f,b,e,v,n,t,s) 10 {if(f.fbq)return;n=f.fbq=function(){n.callMethod? 11 n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 12 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 13 n.queue=[];t=b.createElement(e);t.async=!0; 14 t.src=v;s=b.getElementsByTagName(e)[0]; 15 s.parentNode.insertBefore(t,s)}(window, document,'script', 16 'https://connect.facebook.net/en_US/fbevents.js'); 17 fbq('init', '
171514706329557686
vendor: 32 bytes, lines 17-18
17'); 18 fbq('track', 'PageView');
19`,d=` 20 _linkedin_partner_id = "8020442"; 21 window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || []; 22 window._linkedin_data_partner_ids.push(_linkedin_partner_id); 23 (function(l) { 24 if (l) return; 25 window.lintrk = function(a, b) { 26 window.lintrk.q.push([a, b]); 27 }; 28 window.lintrk.q = []; 29 l = document.createElement("script"); 30 l.type = "text/javascript"; 31 l.async = true; 32 l.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js"; 33 document.getElementsByTagName("script")[0].parentNode.insertBefore(l, document.getElementsByTagName("script")[0]); 34 })(window.lintrk); 35`,f=` 36 window.addEventListener('bento:ready', function () { 37 if (typeof bento$ === 'undefined') return; 38 39 bento$(function () { 40 bento.view(); 41 42 var timezone = Intl.DateTimeFormat().resolvedOptions().timeZone; 43 if (timezone) { 44 window.rmTimezone = timezone; 45 bento.updateFields({ timezone: timezone }); 46 } 47 }); 48 }); 49 50`;function p({enabled:e}){let[t,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=e=>{if(!(e.target instanceof Element))return;let t=e.target.closest(`a`);if(!(t instanceof HTMLAnchorElement))return;let n=s(t);if(!n)return;let i=t.closest(`[data-cta-placement]`)?.getAttribute(`data-cta-placement`)??(t.closest(`header`)?`site_header`:t.closest(`[data-pricing-plan]`)?`pricing_plan`:`page`);r.capture(`marketing_cta_clicked`,{cta_type:n.ctaType,cta_text:(t.textContent??``).replace(/\s+/g,` `).trim(),cta_placement:i,cta_destination:`${n.destination.pathname}${n.destination.search}`,page_path:window.location.pathname})};return document.addEventListener(`click`,e),()=>document.removeEventListener(`click`,e)},[]),(0,a.useEffect)(()=>{if(!e)return;let t=window,r,i,a=()=>{i=window.setTimeout(()=>{t.requestIdleCallback?r=t.requestIdleCallback(()=>n(!0),{timeout:2e3}):i=window.setTimeout(()=>n(!0),0)},3e3)};return document.readyState===`complete`?a():window.addEventListener(`load`,a,{once:!0}),()=>{window.removeEventListener(`load`,a),i!==void 0&&window.clearTimeout(i),r!==void 0&&t.cancelIdleCallback?.(r)}},[e]),e?(0,o.jsx)(o.Fragment,{children:t?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i,{id:`google-ads`,src:l,strategy:`afterInteractive`}),(0,o.jsx)(i,{dangerouslySetInnerHTML:{__html:c},id:`google-ads-config`,strategy:`afterInteractive`}),(0,o.jsx)(i,{dangerouslySetInnerHTML:{__html:u},id:`meta-pixel`,strategy:`afterInteractive`}),(0,o.jsx)(i,{dangerouslySetInnerHTML:{__html:d},id:`linkedin-insight`,strategy:`afterInteractive`}),(0,o.jsx)(i,{dangerouslySetInnerHTML:{__html:f},id:`bento-config`,strategy:`afterInteractive`}),(0,o.jsx)(i,{id:`bento`,src:`https://app.bentonow.com/ca7e8cbdf186656c652b26f11a0750d7.js`,strategy:`afterInteractive`}),(0,o.jsx)(i,{"data-site":`XXJVSKLJ`,"data-spa":`auto`,id:`fathom-analytics`,src:`https://cdn.usefathom.com/script.js`,strategy:`afterInteractive`})]}):null}):null}export{p as TrackingScripts};
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.