1window.addEventListener("hashchange",function(){if(window.location.hash.startsWith("#kl-")){let popupId=window.location.hash.replace("#kl-","");history.replaceState(null,"",window.location.pathname),window._klOnsite=window._klOnsite||[],window._klOnsite.push(["openForm",popupId])}else if(window.location.hash==="#free-samples")openSamplesPopup();else if(window.location.hash==="#hide-popup"){const observer=new MutationObserver(()=>{const styleElement=document.getElementById("site-blocker");styleElement&&(styleElement.remove(),observer.disconnect())});observer.observe(document.documentElement,{childList:!0,subtree:!0})}}),document.addEventListener("DOMContentLoaded",function(){if(window.location.hash==="#select-samples"&&openSamplesPopup(),window.location.hash.startsWith("#kl-")){let popupId=window.location.hash.replace("#kl-","");setTimeout(()=>{window._klOnsite=window._klOnsite||[],window._klOnsite.push(["openForm",popupId])},2e3)}});function openSamplesPopup(){const freeSampleButton=document.querySelector('a[data-action="select-samples"]');freeSampleButton?(document.querySelector(".needsclick")?.parentNode?.remove(),freeSampleButton.click()):console.warn("No free sample button found to trigger.")}const swatchInterestFired=new Set;function getViewedProductForSwatchInterest(){const dataScript=document.getElementById("track-product-view-data");if(!dataScript)return null;let item;try{item=JSON.parse(dataScript.textContent).item}catch{return null}return!item||!item.product||!item.product.id?null:{id:item.product.id,name:item.product.title,url:toAbsoluteUrl(item.product.url),image:toAbsoluteUrl(item.product.image),handle:item.product.handle,description:item.product.description,price:item.price?item.price.amount/100:null}}function toAbsoluteUrl(url){return url&&(url.startsWith("//")?`https:${url}`:url.startsWith("/")?`${window.location.origin}${url}`:url)}function trackSwatchInterest(){try{const product=getViewedProductForSwatchInterest();if(!product||swatchInterestFired.has(product.id))return;const klaviyo=window.klaviyo=window.klaviyo||[];if(typeof klaviyo.push!="function")return;klaviyo.push(["track","Added Swatches For Product",{ProductID:product.id,ProductName:product.name,ProductURL:product.url,ProductImage:product.image,ProductHandle:product.handle,ProductDescription:product.description,Price:product.price}]),klaviyo.push(["identify",{"Last Swatch Product Name":product.name,"Last Swatch Product URL":product.url,"Last Swatch Product Image":product.image,"Last Swatch Product Description":product.description,"Last Swatch Product Price":product.price}]),swatchInterestFired.add(product.id)}catch(error){console.warn("Swatch interest tracking failed",error)}}window.trackSwatchInterest=trackSwatchInterest; 2//# sourceMappingURL=/cdn/shop/t/11/assets/klaviyo-extensions.js.map?v=170921065763284649451785161127
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.