!function(e){var t={};function c(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,c),o.l=!0,o.exports}c.m=e,c.c=t,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){“undefined”!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:”Module”}),Object.defineProperty(e,”__esModule”,{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&”object”==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,”default”,{enumerable:!0,value:e}),2&t&&”string”!=typeof e)for(var o in e)c.d(n,o,function(t){return e[t]}.bind(null,o));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,”a”,t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p=””,c(c.s=0)}([function(e,t){var c=document.querySelectorAll(“.flags__item”),n=document.querySelector(“.sidebar”),o=document.querySelector(“.burger”),r=document.querySelector(“.overlay”),a=document.querySelector(“.page”)||document.querySelector(“.page-home”);if(a.classList.contains(“page-home”)&&c.forEach((function(e){e.addEventListener(“mouseenter”,(function(t){var c=document.querySelectorAll(“.active”),n=document.querySelectorAll(“.ru”),b=document.querySelectorAll(“.ua”),o=document.querySelectorAll(“.en”),r=document.querySelectorAll(“.de”),a=document.querySelectorAll(“.fr”),l=document.querySelectorAll(“.it”),s=document.querySelectorAll(“.es”),i=document.querySelectorAll(“.pt”),u=document.querySelectorAll(“.pl”),d=document.querySelectorAll(“.tr”),f=document.querySelectorAll(“.ar”);c.forEach((function(e){e.classList.remove(“active”)})),e.classList.contains(“flag-ru”)&&n.forEach((function(e){e.classList.add(“active”)})),e.classList.contains(“flag-ua”)&&b.forEach((function(e){e.classList.add(“active”)})),e.classList.contains(“flag-en”)&&o.forEach((function(e){e.classList.add(“active”)})),e.classList.contains(“flag-de”)&&r.forEach((function(e){e.classList.add(“active”)})),e.classList.contains(“flag-fr”)&&a.forEach((function(e){e.classList.add(“active”)})),e.classList.contains(“flag-it”)&&l.forEach((function(e){e.classList.add(“active”)})),e.classList.contains(“flag-es”)&&s.forEach((function(e){e.classList.add(“active”)})),e.classList.contains(“flag-pt”)&&i.forEach((function(e){e.classList.add(“active”)})),e.classList.contains(“flag-pl”)&&u.forEach((function(e){e.classList.add(“active”)})),e.classList.contains(“flag-tr”)&&d.forEach((function(e){e.classList.add(“active”)})),e.classList.contains(“flag-ar”)&&f.forEach((function(e){e.classList.add(“active”)}))}))})),a.classList.contains(“page”)){var l=n.querySelectorAll(“.sub-menu”);window.addEventListener(“scroll”,(function(e){window.scrollY>=10?n.style.top=0:n.style.top=”8.3rem”})),l.forEach((function(e){!function(e){var t=e.getBoundingClientRect(),c=t.top+t.height,n=window.innerHeight-c;n<0&&(n-=20,e.style.transform=”translateY(“.concat(n,”px)”));e.style.display=”none”}(e)}))}document.querySelector(“.burger”)&&(o.addEventListener(“click”,(function(e){document.querySelector(“body”).classList.toggle(“burger-active”)})),r.addEventListener(“click”,(function(e){document.querySelector(“body”).classList.remove(“burger-active”)})))}]);let header=document.querySelectorAll(“.header__menu .menu-item-has-children”);header.forEach(el=>{el.querySelector(“a”).addEventListener(“click”,e=>{e.preventDefault();document.body.classList.toggle(“sub-menu-active”)})})
document.querySelector(“.overlay”).addEventListener(“click”,e=>{document.body.classList.remove(“sub-menu-active”)})
I don’t have enough knowledge to analyze it on my own.
gb1964 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.