PageSourceSearch

https://devourtours.com/wp-content/themes/devourtours/assets/js/mobile-nav.min.js

js devourtours.com collected 2026-09-25 04:09:03 UTC 2,788 bytes, 1 lines download raw bytes

1function closeHamburger() { const mobileHamburger = document.getElementById('navbar-mobile'); mobileHamburger.classList.remove('show'); mobileHamburger.classList.remove('in') } function togglePanel(panelId) { const panel = document.getElementById(panelId); const content = panel.querySelector('.mobile-nav-content'); if (!content) { return } const isToggled = content.classList.toggle('active'); const leftIcon = panel.querySelector('.nav-left-icon'); const rightIcon = panel.querySelector('.nav-icon-right'); if (isToggled) { leftIcon.style.display = 'inline'; rightIcon.style.display = 'none'; panel.classList.add('set-position'); } else { leftIcon.style.display = 'none'; rightIcon.style.display = 'inline'; panel.classList.remove('set-position'); } } function toggleContinentPanel(continentId) { const panel = document.querySelector(`[ref="${continentId}"]`); const container = document.getElementById(continentId); const leftIcon = panel.querySelector('.nav-item-heading-content .nav-left-icon'); const rightIcon = panel.querySelector('.nav-icon'); panel.classList.toggle('set-position'); container.classList.toggle('offscreen'); if (container.classList.contains('offscreen')) { leftIcon.style.display = 'none'; rightIcon.style.display = 'inline'; } else { leftIcon.style.display = 'inline'; rightIcon.style.display = 'none'; } } function toggleCountryPanel(countryId) { const citiesContainer = document.getElementById(`cities-${countryId}`); const panel = document.querySelector(`[ref="${countryId}"]`); const topIcon = panel.querySelector('.nav-top-icon'); const rightIcon = panel.querySelector('.nav-right-icon'); if (citiesContainer.style.display === 'none') { citiesContainer.style.display = 'block'; topIcon.style.display = 'inline'; rightIcon.style.display = 'none'; } else { citiesContainer.style.display = 'none'; topIcon.style.display = 'none'; rightIcon.style.display = 'inline'; } } function toggleCountryNav(countryId) { const menu = document.getElementById('toggle-mobile-nav'); const button = document.getElementById('nav-button'); const bg = document.getElementById('bg-nav'); const body = document.getElementById('body'); const wrapper = document.getElementById('wrapper'); wrapper.classList.remove('lock-scroll'); body.classList.remove('lock-scroll'); button.classList.toggle('is-active'); bg.classList.remove('show'); bg.classList.remove('open'); menu.classList.remove('slide-in'); const citiesContainer = document.getElementById(`cities-${countryId}`); if (citiesContainer) { citiesContainer.style.display = 'none'; } const panel = document.querySelector(`[ref="${countryId}"]`).closest('.continent-panel'); if (panel) { const container = panel.querySelector('.country-container'); container.classList.add('offscreen'); panel.classList.remove('set-position'); } }

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.