PageSourceSearch

https://zamorskayalavka.com/bitrix/templates/responsive/js/reviews-block.js?17749513621611

js zamorskayalavka.com collected 2026-10-08 12:04:41 UTC 1,611 bytes, 51 lines download raw bytes

1'use strict';
2
3function reviewsBlockInit() {
4    let reviewsBlockArray = document.querySelectorAll('.js-reviews-block');
5    for (let i = 0; i < reviewsBlockArray.length; i++) {
6        reviewsBlockArray[i].classList.add('js-reviews-block-' + i);
7        window['reviewsBlockSlider' + i] = new Swiper('.js-reviews-block-' + i + ' > .swiper-container', {
8            speed: 800,
9            spaceBetween: 20,
10            watchSlidesVisibility: true,
11            watchSlidesProgress: true,
12            navigation: {
13                nextEl: '.js-reviews-block-' + i + ' .swiper-button-next',
14                prevEl: '.js-reviews-block-' + i + ' .swiper-button-prev',
15            },
16            pagination: {
17                el: '.js-reviews-block-' + i + ' .swiper-pagination',
18                clickable: true,
19            },
20            autoHeight: true,
21            breakpoints: {
22                0: {
23                  slidesPerView: 1,
24                  spaceBetween: 10,
25                  autoHeight: true,
26                },
27                768: {
28                  slidesPerView: 2,
29                  spaceBetween: 20,
30                  autoHeight: false,
31                },
32                992: {
33                  slidesPerView: 3,
34                  spaceBetween: 20,
35                  autoHeight: false,
36                },
37                1240: {
38                  slidesPerView: 3,
39                  spaceBetween: 20,
40                  autoHeight: false,
41                }
42            }
43        });
44    }
45}
46
47document.addEventListener('DOMContentLoaded', function(){
48    
49    reviewsBlockInit();
50    
51});

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.