1var initSliderSimpleImages = async function() { 2 if (typeof Swiper !== 'function') { 3 if (!document.querySelector("link[href='/res/js/swiper/swiper-bundle.css']")) { 4 lazy.loadScript('/res/js/swiper/swiper-bundle.css') 5 } 6 await lazy.loadScript('/res/js/swiper/swiper-bundle.min.js') 7 } 8 sliderSimple() 9} 10 11const sliderSimple = () => { 12 document.querySelectorAll('.slider-simple-images').forEach(item => { 13 if (window.matchMedia("(max-width: 1280px)").matches) { 14 new Swiper(item, { 15 speed: 400, 16 spaceBetween: 10, 17 slidesPerView: 1.2, 18 breakpoints: { 19 764: { 20 slidesPerView: 4, 21 spaceBetween: 10, 22 }, 23 }, 24 loop: true, 25 navigation: { 26 nextEl: item.querySelector('.button-next'), 27 prevEl: item.querySelector('.button-prev') 28 }, 29 }); 30 } 31 }); 32}
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.