PageSourceSearch

https://fatoni.shop/assets/waterline/controllers/carousel_multiple…58c0abeff48535f47de9c2f5afca6894c870fa6c.js

js fatoni.shop collected 2026-10-06 19:38:38 UTC 713 bytes, 1 lines download raw bytes

1import{Controller}from"@hotwired/stimulus";import{Carousel}from"bootstrap";export default class extends Controller{static targets=["carouselItem"];connect(){this.carousel=Carousel.getOrCreateInstance(this.element),this.#e()}disconnect(){this.carousel.dispose()}#e(){var e=Math.max(...this.#t())-1;this.carouselItemTargets.forEach((t=>{for(let o=1;o<=e;o++){var s=(s??t).nextElementSibling;if(null==s)s=t.parentNode.querySelector(".carousel-item");var l=s.querySelector(".carousel-slide").cloneNode(!0);l.id=`${t.id}_${l.dataset.domId}`,document.getElementById(l.id)||t.append(l)}}))}#t(){const e=getComputedStyle(this.element);return["xs","sm","md","lg","xl","xxl"].map((t=>e.getPropertyValue(`--slides-${t}`)))}}

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.