PageSourceSearch

https://www.lazionews24.com/wp-content/cache/min/1/wp-content/them…/js/navigation.js?ver=1790690960

js lazionews24.com collected 2026-10-02 19:48:18 UTC 2,193 bytes, 7 lines download raw bytes

1(function(){'use strict';function initNav(){var flyoutContainer=document.querySelector('.flyout-menu-container, #flyout-navigation');if(!flyoutContainer)return;function checkMobileClose(){var existingBtn=document.getElementById('mobile-flyout-close');if(window.innerWidth<=991){if(!existingBtn){var closeBtn=document.createElement('button');closeBtn.id='mobile-flyout-close';closeBtn.type='button';closeBtn.setAttribute('aria-label','Chiudi menu');closeBtn.innerHTML='&times;';closeBtn.addEventListener('click',function(e){e.preventDefault();e.stopPropagation();toggleFlyout(!1)});flyoutContainer.appendChild(closeBtn)}}else if(existingBtn){existingBtn.remove()}}
2function toggleFlyout(show){window.requestAnimationFrame(function(){var menuToggles=document.querySelectorAll('.js-menu-toggle');if(show){checkMobileClose();flyoutContainer.classList.add('is-open','toggled')}else{flyoutContainer.classList.remove('is-open','toggled')}
3menuToggles.forEach(function(btn){if(show){btn.classList.add('toggled');btn.setAttribute('aria-expanded','true')}else{btn.classList.remove('toggled');btn.setAttribute('aria-expanded','false')}})})}
4document.addEventListener('click',function(e){var toggleBtn=e.target.closest('.js-menu-toggle');
4if(toggleBtn){e.preventDefault();e.stopPropagation();var isOpen=flyoutContainer.classList.contains('is-open');toggleFlyout(!isOpen);return}
5var searchToggle=e.target.closest('.js-search-toggle');var searchDropdown=document.querySelector('.header-search-dropdown');if(searchToggle&&searchDropdown){e.preventDefault();e.stopPropagation();var isSearchOpen=searchDropdown.classList.contains('is-open')||searchDropdown.style.display==='block';window.requestAnimationFrame(function(){if(isSearchOpen){searchDropdown.classList.remove('is-open');searchDropdown.style.display='none'}else{searchDropdown.classList.add('is-open');searchDropdown.style.display='block'}});return}
6if(flyoutContainer.classList.contains('is-open')&&!flyoutContainer.contains(e.target)){toggleFlyout(!1)}});checkMobileClose();window.addEventListener('resize',checkMobileClose,{passive:!0})}
7if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',initNav)}else{initNav()}})()

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.