PageSourceSearch

https://www.laprairie.com/cdn/shop/t/98/assets/section-announcement-bar.js?v=70184043547069164021782478114

js laprairie.com collected 2026-09-24 17:53:01 UTC 1,664 bytes, 2 lines download raw bytes

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")}),this.length>1&&this.startAutoPlay(2e3,4e3)}changeSlide(direction){this.length!==0&&(this.nextButton&&this.nextButton.classList.remove("announcement-bar__content-nav--disabled"),this.prevButton&&this.prevButton.classList.remove("announcement-bar__content-nav--disabled"),direction=="next"?this.index=(this.index+1)%this.length:direction=="prev"&&(this.index=(this.index-1+this.length)%this.length),this.slider.scrollTo({top:0,left:this.content[this.index].offsetLeft,behavior:"smooth"}))}startAutoPlay(delayMs=2e3,intervalMs=2e3){this.stopAutoPlay(),this._autoPlayStart=setTimeout(()=>{this._autoPlayInterval=setInterval(()=>{this.changeSlide("next")},intervalMs)},delayMs)}stopAutoPlay(){this._autoPlayStart&&(clearTimeout(this._autoPlayStart),this._autoPlayStart=null),this._autoPlayInterval&&(clearInterval(this._autoPlayInterval),this._autoPlayInterval=null)}}typeof customElements.get("announcement-bar")>"u"&&customElements.define("announcement-bar",AnnouncementBar2)}
2//# sourceMappingURL=/cdn/shop/t/98/assets/section-announcement-bar.js.map?v=70184043547069164021782478114

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.