https://www.maryruthorganics.com/cdn/shop/t/796/assets/scrolling-p…?v=132629124446671915101783022038
1(async()=>{if(!customElements.get("scrolling-promotion")){class ScrollingPromotion extends HTMLElement{constructor(){super(),this.config={moveTime:parseFloat(this.dataset.speed),space:100},this.promotion=this.querySelector(".promotion"),this.init()}init(){if(this.childElementCount===1){this.promotion.classList.add("promotion--animated");for(let index=0;index<10;index++){this.clone=this.promotion.cloneNode(!0),this.clone.setAttribute("aria-hidden",!0),this.appendChild(this.clone);const imageWrapper=this.clone.querySelector(".media-wrapper");imageWrapper&&imageWrapper.classList.remove("loading")}const animationTimeFrame=this.promotion.clientWidth/this.config.space*this.config.moveTime;this.style.setProperty("--duration",`${animationTimeFrame}s`),new IntersectionObserver((entries,_observer)=>{entries.forEach(entry=>{entry.isIntersecting?this.scrollingPlay():this.scrollingPause()})},{rootMargin:"0px 0px 50px 0px"}).observe(this)}}scrollingPlay(){this.classList.remove("scrolling-promotion--paused")}scrollingPause(){this.classList.add("scrolling-promotion--paused")}}window.ScrollingPromotion=ScrollingPromotion,customElements.define("scrolling-promotion",ScrollingPromotion)}})(); 2//# sourceMappingURL=/cdn/shop/t/796/assets/scrolling-promotion-img.js.map?v=132629124446671915101783022038
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.