PageSourceSearch

https://220svet.ru/local/templates/new2023/js/modules/categories_line.js

js 220svet.ru collected 2026-10-04 15:10:09 UTC 651 bytes, 18 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function(event) {
2    
3    
4    document.querySelectorAll(".categories-line").forEach(function (el) {
5        const cat = el,
6            catPrev = cat.closest(".categories-line__wrap").querySelector(".swiper-button-prev"),
7            catNext = cat.closest(".categories-line__wrap").querySelector(".swiper-button-next"),
8            catSlider = new Swiper(cat, {
9                slidesPerView: 'auto',
10                spaceBetween: 16,
11                navigation: {
12                    nextEl: catNext,
13                    prevEl: catPrev,
14                },
15            });
16    });
17
18});

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.