1function getTrackingCookies(){const cookies=document.cookie.split(";").reduce((acc,cookie)=>{const[name,value]=cookie.trim().split("=");return acc[name]=value,acc},{});return{fbp:cookies._fbp||"",fbc:cookies._fbc||"",gclid:cookies._gcl_aw||""}}function syncTrackingCookies(){const{fbp,fbc,gclid}=getTrackingCookies(),attributes={};fbp&&(attributes._fbp=fbp),fbc&&(attributes._fbc=fbc),gclid&&(attributes._gclid=gclid),Object.keys(attributes).length!==0&&fetch("/cart/update.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({attributes})}).catch(err=>console.error("Failed to sync tracking cookies",err))}document.addEventListener("DOMContentLoaded",function(){const form=document.querySelector('form[action^="/cart/add"]');form&&form.addEventListener("submit",function(){typeof syncTrackingCookies=="function"&&syncTrackingCookies()})}); 2//# sourceMappingURL=/cdn/shop/t/185/assets/tracking-cookies.js.map?v=116513679928092859461790009801
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.