var navItems=document.getElementsByClassName("nav__item"),setMenu=!1;Array.prototype.forEach.call(navItems,function(n){n.onmouseenter=function(){var n=this,t=n.classList.contains("nav__item--parent");window.clearTimeout(n.hovertimeout);n.hovertimeout=window.setTimeout(function(){t&&setMenu&&setMenu("*","close");n.classList.add("nav__item--hover")},100)};n.onmouseleave=function(){var n=this;window.clearTimeout(n.hovertimeout);n.hovertimeout=window.setTimeout(function(){n.classList.remove("nav__item--hover")},100)}})