1function subscribeProductStockToKlaviyo(formElement){const co=formElement.querySelector('input[name="a"]').value,email=formElement.querySelector('input[name="email"]').value,variant=formElement.querySelector('input[name="variant"]').value,options={method:"POST",headers:{accept:"application/json",revision:"2024-07-15","content-type":"application/json"},body:JSON.stringify({data:{type:"back-in-stock-subscription",attributes:{profile:{data:{type:"profile",attributes:{email:email||""}}},channels:["EMAIL"]},relationships:{variant:{data:{type:"catalog-variant",id:`$shopify:::$default:::${variant}`}}}}})};let result;return fetch(`https://a.klaviyo.com/client/back-in-stock-subscriptions/?company_id=${co}`,options).then(response=>(result=response,result)).catch(err=>console.error(err))}window.subscribeProductStockToKlaviyo=subscribeProductStockToKlaviyo; 2//# sourceMappingURL=/cdn/shop/t/283/assets/klaviyo-scripts.js.map?v=36885657408684683711727961732
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.