PageSourceSearch

https://light-print.ru/local/components/platform/carousel/templates/four-slides/script.js

js light-print.ru collected 2026-10-04 20:13:37 UTC 1,009 bytes, 45 lines download raw bytes

1(function (window, $) {
2  /* global Swiper */
3  document.addEventListener('DOMContentLoaded', setup)
4  function setup() {
5
6    if (!window.Swiper) {
7      return console.warn('swiper not found')
8    }
9    var swiper_carousel = new Swiper('.swiper-carousel', {
10      //loop: true,
11      slidesPerView: 4,
12      spaceBetween: 10,
13      slidesPerGroup: 1,
14      speed: 4000,
15      autoplay: {
16        delay: 2000,
17      },
18      navigation: {
19        nextEl: '.swiper-button-next',
20        prevEl: '.swiper-button-prev'
21      },
22      pagination: {
23        el: '.swiper-pagination-production',
24        clickable: true,
25        dynamicBullets: true
26      },
27      breakpoints: {
28        768: {
29          slidesPerView: 3,
30          spaceBetween: 10,
31        },
32        640: {
33          slidesPerView: 2,
34          spaceBetween: 10,
35          speed: 2000
36        },
37        480: {
38          slidesPerView: 1,
39          spaceBetween: 10,
40          speed: 2000
41        }
42      }
43    })
44  }
45})(window, window.jQuery);

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.