PageSourceSearch

https://ceradel.fr/cdn/shop/t/5/assets/buttons-with-icon-list.js?v=42461639454458153731747754794

js ceradel.fr collected 2026-10-07 00:28:45 UTC 2,620 bytes, 2 lines download raw bytes

1if(!customElements.get("button-list")){class CollectionList extends HTMLElement{constructor(){super()}connectedCallback(){this.selectors={sliderWrapper:".button-list__items",nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},this.classes={grid:"f-flex",swiper:"swiper",swiperWrapper:"swiper-wrapper"},this.sectionId=this.dataset.sectionId,this.section=this.closest(`.section-${this.sectionId}`),this.sliderWrapper=this.querySelector(this.selectors.sliderWrapper),this.slides=this.sliderWrapper.querySelectorAll(".swiper-slide"),this.enableSlider=this.dataset.enableSlider==="true",this.sliderInstance=!1,this.enableSlider&&(this.init(),document.addEventListener("matchMobile",()=>{this.init()}),document.addEventListener("unmatchMobile",()=>{this.init()}))}init(){FoxTheme.config.mqlMobile?this.destroySlider():this.initSlider()}initSlider(){const columnGap=window.getComputedStyle(this.sliderWrapper).getPropertyValue("--column-gap"),sliderOptions={slidesPerView:"auto",centeredSlides:!1,spaceBetween:parseFloat(columnGap.replace("rem",""))*10||12,navigation:{nextEl:this.section.querySelector(this.selectors.nextEl),prevEl:this.section.querySelector(this.selectors.prevEl)},pagination:!1,threshold:2};typeof this.sliderInstance!="object"&&(this.classList.add(this.classes.swiper),this.sliderWrapper.classList.remove(this.classes.grid),this.sliderWrapper.classList.add(this.classes.swiperWrapper),this.sliderInstance=new window.FoxTheme.Carousel(this,sliderOptions),this.sliderInstance.init(),FoxTheme.a11y.getFocusableElements(this).forEach(element=>{element.addEventListener("focusin",()=>{const slide=element.closest(".swiper-slide");this.sliderInstance.slider.slideTo(this.sliderInstance.slider.slides.indexOf(slide))})}),this.sliderInstance.slider.on("progress",({progress})=>{this.updateSliderReach(progress===0?"begin":progress===1?"end":"progress")})),Shopify.designMode&&typeof this.sliderInstance=="object"&&document.addEventListener("shopify:block:select",e=>{if(e.detail.sectionId!=this.sectionId)return;let{target}=e;const index=Number(target.dataset.index);this.sliderInstance.slider.slideTo(index)})}destroySlider(){this.classList.remove(this.classes.swiper),this.sliderWrapper.classList.remove(this.classes.swiperWrapper),this.sliderWrapper.classList.add(this.classes.grid),typeof this.sliderInstance=="object"&&(this.sliderInstance.slider.destroy(),this.sliderInstance=!1)}updateSliderReach=position=>{this.dataset.sliderReach=position}}customElements.define("button-list",CollectionList)}
2//# sourceMappingURL=/cdn/shop/t/5/assets/buttons-with-icon-list.js.map?v=42461639454458153731747754794

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.