PageSourceSearch

https://fr.melvita.com/cdn/shop/t/4/assets/ax-product-slider.js?v=135989042043708014381787222692

js melvita.com collected 2026-09-25 18:53:17 UTC 1,348 bytes, 2 lines download raw bytes

1class AxAutoplayCarousel extends HTMLElement{connectedCallback(){this.interval=parseInt(this.getAttribute("autoplay"),10),this.carousel=this.querySelector("scroll-carousel"),!(!this.interval||!this.carousel||this.carousel.cells.length<2)&&(this.start=this.start.bind(this),this.stop=this.stop.bind(this),this.onVisibilityChange=()=>document.hidden?this.stop():this.start(),this.addEventListener("pointerenter",this.stop),this.addEventListener("pointerleave",this.start),this.addEventListener("focusin",this.stop),this.addEventListener("focusout",this.start),document.addEventListener("visibilitychange",this.onVisibilityChange),!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&this.start())}disconnectedCallback(){this.stop(),document.removeEventListener("visibilitychange",this.onVisibilityChange)}start(){this.stop(),this.timer=setInterval(()=>{if(!this.carousel.isScrollable)return;const last=this.carousel.cells.length-1;this.carousel.selectedIndex>=last?this.carousel.select(0):this.carousel.next()},this.interval)}stop(){this.timer&&(clearInterval(this.timer),this.timer=null)}}["ax-product-slider","ax-autoplay-carousel"].forEach(tag=>{customElements.get(tag)||customElements.define(tag,class extends AxAutoplayCarousel{})});
2//# sourceMappingURL=/cdn/shop/t/4/assets/ax-product-slider.js.map?v=135989042043708014381787222692

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.