1(function(){"use strict";function initHero(section){var slides=section.querySelectorAll("[data-hero-slide]");if(slides.length<2||section.dataset.heroInited==="1")return;section.dataset.heroInited="1";var prevBtn=section.querySelector("[data-hero-prev]"),nextBtn=section.querySelector("[data-hero-next]"),pauseBtn=section.querySelector("[data-hero-pause]"),autoplayMs=parseInt(section.dataset.autoplay,10)||0,pauseOnHover=section.dataset.pauseOnHover==="true",currentIndex=0,autoplayTimer=null,isPaused=!1;function positionControls(){[prevBtn,nextBtn,pauseBtn].forEach(function(el){el&&(el.style.top="")})}var motionQuery=window.matchMedia?window.matchMedia("(prefers-reduced-motion: reduce)"):null;function prefersReducedMotion(){return!!(motionQuery&&motionQuery.matches)}if(prefersReducedMotion()&&(isPaused=!0,pauseBtn&&(pauseBtn.setAttribute("aria-pressed","true"),pauseBtn.setAttribute("aria-label","Play slideshow"))),motionQuery){var onMotionChange=function(){prefersReducedMotion()&&(isPaused=!0,stopAutoplay(),pauseBtn&&(pauseBtn.setAttribute("aria-pressed","true"),pauseBtn.setAttribute("aria-label","Play slideshow")))};motionQuery.addEventListener?motionQuery.addEventListener("change",onMotionChange):motionQuery.addListener&&motionQuery.addListener(onMotionChange)}function goToSlide(index){slides[currentIndex].classList.remove("is-active"),slides[currentIndex].setAttribute("aria-hidden","true"),currentIndex=(index+slides.length)%slides.length,slides[currentIndex].classList.add("is-active"),slides[currentIndex].setAttribute("aria-hidden","false")}function next(){goToSlide(currentIndex+1)}function prev(){goToSlide(currentIndex-1)}function startAutoplay(){autoplayMs<=0||isPaused||(stopAutoplay(),autoplayTimer=setInterval(next,autoplayMs))}function stopAutoplay(){autoplayTimer&&(clearInterval(autoplayTimer),autoplayTimer=null)}function restartAutoplay(){isPaused||(stopAutoplay(),startAutoplay())}if(prevBtn&&prevBtn.addEventListener("click",function(){prev(),restartAutoplay()}),nextBtn&&nextBtn.addEventListener("click",function(){next(),restartAutoplay()}),pauseBtn&&pauseBtn.addEventListener("click",function(){isPaused=!isPaused,pauseBtn.setAttribute("aria-pressed",String(isPaused)),pauseBtn.setAttribute("aria-label",isPaused?"Play slideshow":"Pause slideshow"),isPaused?stopAutoplay():startAutoplay()}),pauseOnHover&&(section.addEventListener("mouseenter",stopAutoplay),section.addEventListener("mouseleave",function(){isPaused||startAutoplay()})),section.addEventListener("keydown",function(e){e.key==="ArrowLeft"?(prev(),restartAutoplay()):e.key==="ArrowRight"&&(next(),restartAutoplay())}),"IntersectionObserver"in window){var io=new IntersectionObserver(function(entries){entries.forEach(function(entry){entry.isIntersecting?isPaused||startAutoplay():stopAutoplay()})},{threshold:.1});io.observe(section)}else startAutoplay();positionControls(),window.addEventListener("resize",positionControls),window.addEventListener("load",positionControls);var heroImg=section.querySelector(".hero-2026__image");heroImg&&!heroImg.complete&&heroImg.addEventListener("load",positionControls)}function initAll(scope){for(var root=scope||document,sections=root.querySelectorAll(".hero-2026[data-slides-count]"),i=0;i<sections.length;i++){var count=parseInt(sections[i].dataset.slidesCount,10)||0;count>1&&initHero(sections[i])}}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",function(){initAll()}):initAll(),document.addEventListener("shopify:section:load",function(e){initAll(e.target)})})(); 2//# sourceMappingURL=/cdn/shop/t/1009/assets/hero-banner-2026.js.map?v=82253049029416828161789651959
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.