1var initContentTextImageSlider = async function() { 2 if (typeof Swiper !== 'function') { 3 lazy.loadScript('/res/js/swiper/swiper-bundle.css') 4 await lazy.loadScript('/res/js/swiper/swiper-bundle.min.js') 5 } 6 sliderMini() 7} 8 9function sliderMini() { 10 document.querySelectorAll('.slider-mini').forEach(item => { 11 const parent = item.closest('.container-slider-mini'); 12 13 new Swiper(item, { 14 speed: 400, 15 spaceBetween: 10, 16 slidesPerView: 1.2, 17 preventClicks: true, 18 preventClicksPropagation: true, 19 loop: true, 20 breakpoints: { 21 680: { 22 slidesPerView: 1.9, 23 spaceBetween: 10, 24 }, 25 1200: { 26 slidesPerView: 1.7, 27 spaceBetween: 10, 28 }, 29 }, 30 navigation: { 31 nextEl: parent.querySelector('.button-next'), 32 prevEl: parent.querySelector('.button-prev') 33 }, 34 }); 35 }); 36}
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.