1window.addEventListener("load",()=>{document.querySelectorAll(".image-collection-grid-section").forEach(section=>{const prevButton=section.querySelector(".image-collection-grid__nav-button--prev"),nextButton=section.querySelector(".image-collection-grid__nav-button--next"),carousel=section.querySelector(".image-collection-grid__carousel");if(!carousel)return;prevButton.classList.add("hidden");function checkScrollEnd(){carousel.scrollLeft<=0?prevButton.classList.add("hidden"):prevButton.classList.remove("hidden"),carousel.scrollLeft+carousel.offsetWidth>=carousel.scrollWidth-1?nextButton.classList.add("hidden"):nextButton.classList.remove("hidden")}prevButton.addEventListener("click",()=>{const scrollAmount=carousel.offsetWidth;carousel.scrollBy({left:-scrollAmount,behavior:"smooth"}),setTimeout(checkScrollEnd,300)}),nextButton.addEventListener("click",()=>{const scrollAmount=carousel.offsetWidth;carousel.scrollBy({left:scrollAmount,behavior:"smooth"}),setTimeout(checkScrollEnd,300)}),carousel.addEventListener("scroll",checkScrollEnd),window.addEventListener("resize",checkScrollEnd)})}); 2//# sourceMappingURL=/cdn/shop/t/11/assets/image-collection-grid.js.map?v=27252716792655403701780649298
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.