PageSourceSearch

https://ticket-hcspart.ru/local/components/tickets/events.slider/templates/.default/themes/orange/script.js

js ticket-hcspart.ru collected 2026-10-08 14:36:18 UTC 1,455 bytes, 51 lines download raw bytes

1jQuery(document).ready(function () {
2
3    let windowWidth = window.innerWidth;
4    let params;
5
6    if (windowWidth <= 768) {
7        params = {
8            loop: true,
9            pagination: {
10                el: ".swiper-pagination",
11                clickable: true,
12            },
13            navigation: {
14                nextEl: ".swiper-button-next",
15                prevEl: ".swiper-button-prev",
16            },
17            autoplay: {
18                delay: 5000,
19                disableOnInteraction: false,
20            }
21        }
22        let swiper = new Swiper(".mySwiper", params);
23    } else if (windowWidth > 768) {
24        params = {
25            noSwiping: true,
26            effect: "cards",
27            cardsEffect: {
28                perSlideRotate: 0,
29                rotate: false,
30                perSlideOffset: 8,
31                slideShadows: true,
32            },
33            loop: true,
34            navigation: {
35                nextEl: ".swiper-button-next",
36                prevEl: ".swiper-button-prev",
37            },
38            autoplay: {
39                delay: 5000,
40                disableOnInteraction: false,
41            }
42        }
43        let swiper = new Swiper(".mySwiper", params);
44
45        // swiper.on('realIndexChange', function (e) {
46        //     let currentSlide2 = $(e.visibleSlides[0])
47        //     currentSlide2.animate({'opacity': 0}, 100).delay(0).animate({'opacity': 1}, 0)
48        // });
49    }
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.