var swiper = new Swiper('.js-news-swiper', { slidesPerView: 'auto', centeredSlides: true, spaceBetween: 20, speed: 1500, pagination: { el: '.swiper-pagination', clickable: true }, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev' }, autoplay: { delay: 2000, disableOnInteraction: false }, loop: true, watchSlidesProgress: true });