1document.addEventListener('DOMContentLoaded', () => { 2 const sliderEl = document.querySelector('.hero-slider'); 3 if (!sliderEl) return; 4 5 const heroSwiper = new Swiper('.hero-slider', { 6 init: false, 7 loop: true, 8 lazy: false, 9 effect: 'fade', 10 speed: 700, 11 12 autoplay: { 13 delay: 4500, 14 disableOnInteraction: false 15 }, 16 17 navigation: { 18 nextEl: '.hero-next', 19 prevEl: '.hero-prev' 20 }, 21 22 pagination: { 23 el: '.hero-pagination', 24 clickable: true 25 }, 26 27 on: { 28 init() { 29 // ïîêàçûâàåì òîëüêî ïîñëå ïîëíîé èíèöèàëèçàöèè 30 sliderEl.classList.remove('is-loading'); 31 sliderEl.classList.add('is-ready'); 32 } 33 } 34 }); 35 36 heroSwiper.init(); 37});
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.