text: 'use strict';document.addEventListener('DOMContentLoaded',function(){function a(e){1023<window.innerWidth||('left'===e?(d.style.left='20px',d.style.transform='translateX(0%)'):(d.style.left='50%',d.style.transform='translateX(-50%)'))}var b=!1,c=document.getElementsByTagName('nav')[0],d=document.querySelector('.header-logo');0===window.scrollY?c.classList.remove('active'):c.classList.add('active'),document.addEventListener('scroll',function(){0===window.scrollY?(a('center'),c.classList.remove('active')):!c.classList.contains('active')&&(c.classList.add('active'),a('left'))}),window.addEventListener('resize',function(){1024>window.innerWidth?(c.style.height='60px',d.style.left='50%',d.style.transform='translateX(-50%)'):(c.style.height='90px',c.classList.remove('slided-down'),d.style.left='0',d.style.transform='none')},!1),document.querySelector('.header-nav-icon').addEventListener('click',function(){1023<window.innerWidth||b||(b=!0,setTimeout(function(){b=!1},1e3),this.classList.contains('cross')?(this.classList.remove('cross'),this.classList.add('bars'),c.style.height='60px',a('center'),setTimeout(function(){c.classList.remove('slided-down')},1e3)):(this.classList.remove('bars'),this.classList.add('cross'),c.classList.add('slided-down'),c.style.height='432px',a('left')))})});
  