1'use strict' 2 const menuIcon = document.querySelector(".menu__icon"); 3 if (menuIcon) { 4 const headMenu = document.querySelector(".main__nav-inner"); 5 const menuItems = document.querySelectorAll(".main__nav-inner li a"); 6 menuIcon.addEventListener("click", function (e){ 7 menuIcon.classList.toggle("_active"); 8 headMenu.classList.toggle("_actived"); 9 document.body.classList.toggle("_lock"); 10 }); 11 menuItems.forEach(function (item) { 12 item.addEventListener("click", function (e){ 13 menuIcon.classList.remove("_active"); 14 headMenu.classList.remove("_actived"); 15 document.body.classList.remove("_lock"); 16 }); 17 }); 18 19 20 } 21 22 23 24new Swiper(".main__content-container-swiper",{ 25 navigation:{ 26 prevEl: ".swiper-button-prev-custom", 27 nextEl: ".swiper-button-next-custom", 28 }, 29 loop:true, 30 autoplay: { 31 delay: 5000, 32 }, 33 34 35 slidesPerView:1, 36 37 38 39}); 40 41new Swiper(".section_questions-container-swiper",{ 42 navigation:{ 43 prevEl: ".swiper-button-prev-custom", 44 nextEl: ".swiper-button-next-custom", 45 }, 46 loop:true, 47 autoplay: { 48 delay: 5000, 49 }, 50 51 52 slidesPerView:1, 53 54 55 56 }); 57 new Swiper(".section__video-sponsors",{ 58 slidesPerView: "auto", 59 }); 60 61 62
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.