1document.addEventListener("rebuy:ready",function(event){event.detail.widgets.forEach(widget=>{(widget.dom.closest('[data-rebuy-type="cross-sell"]')||widget.dom.querySelector('[data-rebuy-id*="cross-sell"]'))&&widget.dom.querySelectorAll(".rebuy-product-block").forEach(block=>{const productId=block.dataset.productId||block.getAttribute("data-product-id");productId&&fetch(`/products/${productId}.js`).then(response=>response.json()).then(product=>{const fourthImage=product.media?.[3]||product.featured_image;if(fourthImage){const imgElement=block.querySelector(".rebuy-product-image img");imgElement&&(imgElement.src=fourthImage.src||fourthImage,imgElement.srcset=`${fourthImage.src} 1x, ${fourthImage.src} 2x`)}}).catch(error=>console.warn("Rebuy cross-sell image update failed:",error))})})}); 2//# sourceMappingURL=/cdn/shop/t/2/assets/rebuyproductchange.js.map?v=82359385078141615061752005022
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.