1$(document).ready(function () { 2 let newsSwiper = new Swiper(".news-slider", { 3 slidesPerView: 3, 4 slidesPerGroup: 3, 5 spaceBetween: 16, 6 speed: 600, 7 allowTouchMove: false, 8 grid: { 9 rows: 2, 10 fill: "row", 11 }, 12 navigation: { 13 nextEl: ".news-button-next", 14 prevEl: ".news-button-prev", 15 }, 16 }); 17 18 $('.see-more-news').on('click', function () { 19 $('.news-block-mobile').toggleClass('news-block-opened'); 20 }) 21 22 $('.news-box').on('click', function () { 23 var newsId = $(this).data('id'); 24 if (!detailList[newsId]) { 25 return false; 26 } 27 const imgSrc = $(this).find('.get-news-photo').attr('src'); 28 const title = $(this).find('.get-news-title').text(); 29 const text = detailList[newsId]; 30 31 $('.add-news-photo').attr('src', imgSrc); 32 $('.add-news-title').text(title); 33 $('.add-news-text').html(text); 34 35 $('.all-news-col').fadeIn(); 36 }); 37});
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.