1import{r as e}from"./jsx-runtime-DUAcabCT.js";var t=e({GOOGLE_ADS_ID:()=>n,gtagAddToCart:()=>l,gtagConversion:()=>s,gtagEvent:()=>o,gtagPageview:()=>a,gtagViewItem:()=>c,initGoogleAds:()=>i}),n=`AW-591603269`,r=!1;function i(){if(!(typeof window>`u`||r)){if(r=!0,window.dataLayer=window.dataLayer||[],window.gtag||(window.gtag=function(){window.dataLayer.push(arguments)}),!document.querySelector(`script[src*="googletagmanager.com/gtag/js"]`)){let e=document.createElement(`script`);e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${n}`,document.head.appendChild(e)}window.gtag(`js`,new Date),window.gtag(`config`,n,{send_page_view:!1})}}function a(e){if(!(typeof window>`u`))try{window.gtag?.(`config`,n,{page_path:e})}catch(e){console.warn(`[google-ads] pageview failed`,e)}}function o(e,t){if(!(typeof window>`u`))try{window.gtag?.(`event`,e,t??{})}catch(e){console.warn(`[google-ads] event failed`,e)}}function s(e,t){o(`conversion`,{send_to:`${n}/${e}`,...t})}function c(e){let t=[{item_id:e.handle,item_name:e.title,item_category:e.category,item_variant:e.variant,price:e.price,quantity:1}];o(`view_item`,{value:e.price,currency:e.currency,items:t})}function l(e){let t=[{item_id:e.handle,item_name:e.title,item_category:e.category,item_variant:e.variantTitle||e.variantId,price:e.price,quantity:e.quantity}];o(`add_to_cart`,{value:e.price*e.quantity,currency:e.currency,items:t})}export{c as a,o as i,l as n,s as r,t};
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.