1if(typeof AnnouncementBar!="function"){class AnnouncementBar2 extends HTMLElement{constructor(){super(),this.slider=this.querySelector("[data-js-slider]"),this.content=this.querySelectorAll(".announcement"),this.nextButton=this.querySelector(".announcement-bar__content-nav--right"),this.prevButton=this.querySelector(".announcement-bar__content-nav--left"),this.index=0,this.length=this.content.length,this.nextButton&&this.nextButton.addEventListener("click",()=>{this.changeSlide("next")}),this.prevButton&&this.prevButton.addEventListener("click",()=>{this.changeSlide("prev")})}changeSlide(direction){this.nextButton.classList.remove("announcement-bar__content-nav--disabled"),this.prevButton.classList.remove("announcement-bar__content-nav--disabled"),direction=="next"?this.index++:direction=="prev"&&this.index--,this.index==this.length-1?this.nextButton.classList.add("announcement-bar__content-nav--disabled"):this.index==0&&this.prevButton.classList.add("announcement-bar__content-nav--disabled"),this.slider.scrollTo({top:0,left:this.content[this.index].offsetLeft,behavior:"smooth"})}}typeof customElements.get("announcement-bar")>"u"&&customElements.define("announcement-bar",AnnouncementBar2)} 2//# sourceMappingURL=/cdn/shop/t/3/assets/section-announcement-bar.js.map?v=123650352326433034491717154377
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.