haxorqt
Home
Console
Upload
information
Create File
Create Folder
About
:
/
home
/
sc1jaqa5103
/
prod.puv-editions.fr
/
wp-content
/
litespeed
/
js
/
Filename :
6c418fbbe8a31631f2a86d66e4082817.js
back
Copy
(function(){'use strict';var LAYOUT_CLASSES=['elementor-nav-menu--layout-horizontal','elementor-nav-menu--layout-vertical','elementor-nav-menu--layout-dropdown',];function getBreakpoints(){var cfg=window.elementorFrontendConfig;var bp=cfg&&cfg.responsive&&cfg.responsive.breakpoints||{};return{mobile:(bp.mobile&&bp.mobile.value)||767,tablet:(bp.tablet&&bp.tablet.value)||1024,}} function getActiveLayout(el,bp){var w=window.innerWidth;if(w<=bp.mobile&&el.classList.contains('elementor-nav-menu--dropdown-mobile')){return'dropdown'} if(w<=bp.tablet&&el.classList.contains('elementor-nav-menu--dropdown-tablet')){return'dropdown'} var style=window.getComputedStyle(el);var mainDisplay=style.getPropertyValue('--ecs-nav-main-display').trim();var mainDir=style.getPropertyValue('--ecs-nav-main-dir').trim();if(mainDisplay==='none'){return'dropdown'} if(mainDir==='column'){return'vertical'} return'horizontal'} function syncAll(){var bp=getBreakpoints();var els=document.querySelectorAll('.ecs-nav-layout-horizontal,.ecs-nav-layout-vertical,.ecs-nav-layout-dropdown');els.forEach(function(el){var layout=getActiveLayout(el,bp);LAYOUT_CLASSES.forEach(function(c){el.classList.remove(c)});el.classList.add('elementor-nav-menu--layout-'+layout)})} document.addEventListener('DOMContentLoaded',syncAll);window.addEventListener('resize',syncAll)})() ;