1document.querySelectorAll('.swiper[data-swiper]').forEach((el) => { 2 3 const {swiper: mainSwiperId} = el.dataset; 4 5 const thumbs = new Swiper(el, { 6 loop: true, 7 spaceBetween: 10, 8 slidesPerView: 4, 9 freeMode: true, 10 watchSlidesProgress: true, 11 }); 12 13 const mainSwiperElement = document.getElementById(mainSwiperId); 14 15 const swiper = new Swiper(mainSwiperElement, { 16 loop: true, 17 spaceBetween: 10, 18 pagination: { 19 el: '.swiper-pagination', 20 type: 'fraction' 21 }, 22 navigation: { 23 nextEl: ".swiper-button-next", 24 prevEl: ".swiper-button-prev", 25 }, 26 thumbs: { 27 swiper: thumbs, 28 }, 29 }) 30 31})
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.