PageSourceSearch

https://supersonicfood.com/cdn/shop/t/767/assets/blog-carousel-custom.js?v=53711148319496434871775027244

js supersonicfood.com collected 2026-10-05 00:46:44 UTC 1,232 bytes, 1 lines download raw bytes

1(()=>{class e extends HTMLElement{constructor(){super(),this.splide=null,this.auto_rotate="true"===this.dataset.auto_rotate,this.speed=this.dataset.speed??5,this.bar=this.querySelector(".blog-carousel__progress-bar")}connectedCallback(){this.initializeSplide()}initializeSplide(){const e=this.querySelector(".splide");if(!e)return;this.splide=new Splide(e,{autoplay:this.auto_rotate,interval:1e3*(parseInt(this.speed)||5),pauseOnHover:!0,pauseOnFocus:!0,pagination:!1,keyboard:!0,arrows:!1,drag:!0,snap:!1,speed:600,focus:"left",easing:"cubic-bezier(0.25, 1, 0.5, 1)",perPage:2.75,gap:"24px",breakpoints:{991:{gap:"12px",perPage:1.15,padding:{left:"16px",right:"16px"}}}});const t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&this.auto_rotate?this.splide.Components.Autoplay.play():this.splide.Components.Autoplay.pause()})},{threshold:.2});this.splide.on("mounted move",function(){this.splide.Components.Controller;const e=this.splide.length,t=this.splide.options.perPage||1,s=(Math.ceil(e/t),this.splide.index),i=Math.min((s+t)/e,1);this.bar.style.width=100*i+"%"}.bind(this)),this.splide.mount(),t.observe(e)}disconnectedCallback(){this.splide&&this.splide.destroy()}}customElements.define("blog-carousel",e)})();

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.