1window.addEventListener("DOMContentLoaded", function () { 2 const $megaMenuWrapper = document.querySelectorAll(".menu-block, .menu-only"); 3 4 if ($megaMenuWrapper.length) { 5 for (let i = 0; i < $megaMenuWrapper.length; i++) { 6 $megaMenuWrapper[i].addEventListener("mouseover", function () { 7 // calculate menu items position 8 $megaMenuWrapper[i].querySelector(".mega-menu").classList.add("visible"); 9 CheckTopVisibleMenu(); 10 InitMenuNavigationAim(); 11 12 // init banner 13 const $bannerMenu = $megaMenuWrapper[i].querySelectorAll('.owl-carousel-hover'); 14 if ($bannerMenu.length) { 15 $bannerMenu.forEach($el => { 16 $el.classList.remove("owl-carousel-hover"); 17 $el.classList.add("owl-carousel"); 18 19 setTimeout(function () { 20 InitOwlSlider(); 21 $el.classList.remove("loader_circle"); 22 }, 1); 23 }) 24 } 25 }, { 26 once: true 27 }); 28 } 29 } 30});
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.