PageSourceSearch

https://leonardonetwork.es/wp-content/themes/vaximo/assets/js/main.js?ver=1791186446

js leonardonetwork.es collected 2026-10-08 20:51:40 UTC 10,265 bytes, 536 lines download raw bytes

1(function($) {
2	'use strict';
3	jQuery(document).on('ready', function () {
4		// Mean Menu JS
5		jQuery('.mean-menu').meanmenu({ 
6			meanScreenWidth: "991"
7		});
8
9		// Preloader JS
10		$(function() {
11			$('body').addClass('loaded');
12		});
13
14		// Nice Select JS
15		$('select').niceSelect();
16		
17		// Header Sticky JS
18		$(window).on('scroll', function() {
19			if ($(this).scrollTop() >150){  
20				$('.navbar-area').addClass("is-sticky");
21			}
22			else{
23				$('.navbar-area').removeClass("is-sticky");
24			}
25		});
26
27		//  Hero Slider Wrap JS
28		$('.hero-slider-wrap').owlCarousel({
29			loop:true,
30			margin:0,
31			nav:true,
32			mouseDrag: true,
33			items:1,
34			dots: false,
35			autoHeight: true,
36			autoplay: true,
37			smartSpeed:800,
38			autoplayHoverPause: true,
39			navText: [
40				"<i class='bx bx-chevrons-left'></i>",
41				"<i class='bx bx-chevrons-right'></i>",
42			],
43		});
44
45		// Odometer JS
46		$('.odometer').appear(function(e) {
47			var odo = $(".odometer");
48			odo.each(function() {
49				var countNumber = $(this).attr("data-count");
50				$(this).html(countNumber);
51			});
52		});
53
54		// Go to Top JS
55		// Scroll Event
56		$(window).on('scroll', function(){
57			var scrolled = $(window).scrollTop();
58			if (scrolled > 300) $('.go-top').addClass('active');
59			if (scrolled < 300) $('.go-top').removeClass('active');
60		});  
61
62		// Click Event JS
63		$('.go-top').on('click', function() {
64			$("html, body").animate({ scrollTop: "0" },  500);
65		});
66
67		// FAQ Accordion JS
68		$('.accordion').find('.accordion-title').on('click', function(){
69			// Adds Active Class
70			$(this).toggleClass('active');
71			// Expand or Collapse This Panel
72			$(this).next().slideToggle('fast');
73			// Hide The Other Panels
74			$('.accordion-content').not($(this).next()).slideUp('fast');
75			// Removes Active Class From Other Titles
76			$('.accordion-title').not($(this)).removeClass('active');		
77		});
78
79		// Animation JS
80		new WOW().init();
81			
82		// Popup Video JS
83		$('.popup-youtube, .popup-vimeo').magnificPopup({
84			disableOn: 300,
85			type: 'iframe',
86			mainClass: 'mfp-fade',
87			removalDelay: 160,
88			preloader: false,
89			fixedContentPos: false,
90		});
91
92		// Input Plus & Minus Number JS
93		$('.input-counter').each(function() {
94			var spinner = jQuery(this),
95			input = spinner.find('input[type="text"]'),
96			btnUp = spinner.find('.plus-btn'),
97			btnDown = spinner.find('.minus-btn'),
98			min = input.attr('min'),
99			max = input.attr('max');
100			
101			btnUp.on('click', function() {
102				var oldValue = parseFloat(input.val());
103				if (oldValue >= max) {
104					var newVal = oldValue;
105				} else {
106					var newVal = oldValue + 1;
107				}
108				spinner.find("input").val(newVal);
109				spinner.find("input").trigger("change");
110			});
111			btnDown.on('click', function() {
112				var oldValue = parseFloat(input.val());
113				if (oldValue <= min) {
114					var newVal = oldValue;
115				} else {
116					var newVal = oldValue - 1;
117				}
118				spinner.find("input").val(newVal);
119				spinner.find("input").trigger("change");
120			});
121		});
122
123		// Home Six JS
124
125		// Search Popup JS
126		$('.close-btn').on('click', function() {
127			$('.search-overlay').fadeOut();
128			$('.search-btn').show();
129			$('.close-btn').removeClass('active');
130		});
131		$('.search-btn').on('click', function() {
132			$(this).hide();
133			$('.search-overlay').fadeIn();
134			$('.close-btn').addClass('active');
135		});
136
137		// Sidebar Modal JS
138		$(".burger-menu").on('click',  function() {
139			$('.sidebar-modal').toggleClass('active');
140		});
141		$(".sidebar-modal-close-btn").on('click',  function() {
142			$('.sidebar-modal').removeClass('active');
143		});
144
145	});
146
147
148	$( window ).on( 'elementor/frontend/init', function() {
149        elementorFrontend.hooks.addAction( 'frontend/element_ready/widget', function( $scope ) {
150			// Success Projects Slides
151			$('.success-projects-slides').owlCarousel({
152				loop: true,
153				nav: false,
154				dots: true,
155				smartSpeed: 500,
156				margin: 25,
157				autoplayHoverPause: true,
158				autoplay: true,
159
160				responsive: {
161					0: {
162						items: 1
163					},
164					768: {
165						items: 2
166					},
167					1024: {
168						items: 2
169					},
170					1200: {
171						items: 3
172					}
173				}
174			});
175
176			// Testimonials Wrap JS
177			$('.testimonials-wrap-slides').owlCarousel({
178				loop: true,
179				margin: 25,
180				nav: false,
181				mouseDrag: true,
182				dots: true,
183				autoHeight: true,
184				autoplay: true,
185				smartSpeed: 1500,
186				autoplayHoverPause: true,
187				
188				responsive:{
189					0:{
190						items: 1,
191					},
192					576:{
193						items: 1,
194					},
195					768:{
196						items: 2,
197					},
198					992:{
199						items: 3,
200					},
201					1200:{
202						items: 3,
203					}
204				}
205			});
206
207			// Latest News JS
208			$('.latest-news-slides').owlCarousel({
209				loop: true,
210				margin: 25,
211				nav: true,
212				mouseDrag: true,
213				dots: false,
214				autoHeight: true,
215				autoplay: true,
216				autoplayHoverPause: true,
217
218				navText: [
219					"<i class='bx bx-left-arrow-alt'></i>",
220					"<i class='bx bx-right-arrow-alt'></i>",
221				],
222				responsive:{
223					0:{
224						items: 1,
225					},
226					576:{
227						items: 2,
228					},
229					768:{
230						items: 2,
231					},
232					992:{
233						items: 3,
234					},
235					1200:{
236						items: 4,
237					}
238				}
239			});
240
241			// Partner Slides
242			$('.partner-slides').owlCarousel({
243				nav: false,
244				margin: 25,
245				dots: false,
246				loop: true,
247				autoplay: true,
248				autoplayHoverPause: true,
249				
250				responsive: {
251					0: {
252						items: 2
253					},
254					576: {
255						items: 2
256					},
257					768: {
258						items: 3
259					},
260					992: {
261						items: 4
262					},
263					1200: {
264						items: 5
265					}
266				}
267			});
268			// Complete Website Security JS
269			$('.complete-website-security-slides').owlCarousel({
270				loop: true,
271				margin: 25,
272				nav: true,
273				mouseDrag: true,
274				dots: false,
275				autoHeight: true,
276				autoplay: true,
277				autoplayHoverPause: true,
278
279				navText: [
280					"<i class='bx bx-left-arrow-alt'></i>",
281					"<i class='bx bx-right-arrow-alt'></i>",
282				],
283				responsive:{
284					0:{
285						items: 1,
286					},
287					576:{
288						items: 2,
289					},
290					768:{
291						items: 2,
292					},
293					992:{
294						items: 3,
295					},
296					1200:{
297						items: 4,
298					}
299				}
300			});
301			// Odometer JS
302			$('.odometer').appear(function(e) {
303				var odo = $(".odometer");
304				odo.each(function() {
305					var countNumber = $(this).attr("data-count");
306					$(this).html(countNumber);
307				});
308			});
309
310			$('.partner-wrap').owlCarousel({
311				loop:true,
312				nav:false,
313				autoplay: true,
314				autoplayHoverPause: true,
315				mouseDrag: true,
316				margin: 0,
317				center: false,
318				dots: false,
319				smartSpeed:1500,
320				responsive:{
321					0:{
322						items:2
323					},
324					576:{
325						items:3
326					},
327					768:{
328						items:4
329					},
330					992:{
331						items:5
332					},
333					1200:{
334						items:5
335					}
336				}
337			});
338
339			// Partner Wrap JS
340			$('.partner-slider-six').owlCarousel({
341				loop: true,
342				nav: false,
343				autoplay: true,
344				autoplayHoverPause: true,
345				mouseDrag: true,
346				margin: 10,
347				center: false,
348				dots: false,
349				smartSpeed:1500,
350				responsive:{
351					0:{
352						items:1
353					},
354					576:{
355						items:2
356					},
357					768:{
358						items:2
359					},
360					992:{
361						items:3
362					},
363					1200:{
364						items:4
365					}
366				}
367			});
368
369			$('.new-main-home-slides').owlCarousel({
370				loop: true,
371				margin:0,
372				nav: true,
373				mouseDrag: true,
374				items: 1,
375				dots: false,
376				autoHeight: true,
377				autoplay: true,
378				animateIn: 'fadeIn',
379				animateOut: 'fadeOut',
380				smartSpeed: 500,
381				autoplayHoverPause: true,
382				
383				navText: [
384					"<i class='bx bx-left-arrow-alt'></i>",
385					"<i class='bx bx-right-arrow-alt'></i>",
386				],
387			});
388
389			$('.tab ul.tabs').addClass('active').find('> li:eq(0)').addClass('current');
390			$('.tab ul.tabs li').on('click', function (g) {
391				var tab = $(this).closest('.tab'), 
392				index = $(this).closest('li').index();
393				tab.find('ul.tabs > li').removeClass('current');
394				$(this).closest('li').addClass('current');
395				tab.find('.tab_content').find('div.tabs_item').not('div.tabs_item:eq(' + index + ')').slideUp();
396				tab.find('.tab_content').find('div.tabs_item:eq(' + index + ')').slideDown();
397				g.preventDefault();
398			});
399
400			// Services Slider
401			$('.services-tab-slider').owlCarousel({
402				items:1,
403				loop: true,
404				margin: 30,
405				nav: true,
406				mouseDrag: true,
407				items:1,
408				dots: false,
409				autoHeight: true,
410				autoplay: true,
411				smartSpeed:1500,
412				autoplayHoverPause: true,
413				center: true,
414				navText: [
415					"<i class='bx bx-left-arrow-alt'></i>",
416					"<i class='bx bx-right-arrow-alt'></i>",
417				],
418			});
419
420			$(window).on('scroll', function() {
421				$('.client-wrap').owlCarousel({
422					loop:true,
423					margin: 30,
424					nav:false,
425					mouseDrag: true,
426					items:1,
427					dots: false,
428					autoHeight: true,
429					autoplay: true,
430					smartSpeed:1500,
431					autoplayHoverPause: true,
432					center: true,
433					responsive:{
434						0:{
435							items:1,
436						},
437						576:{
438							items:1,
439						},
440						768:{
441							items:2,
442						},
443						992:{
444							items:3,
445						},
446						1200:{
447							items:3,
448						}
449					}
450				});
451			});
452
453			// Testimonials Slider JS
454			$('.testimonials-slider').owlCarousel({
455				items:1,
456				loop: true,
457				margin: 30,
458				nav: true,
459				mouseDrag: true,
460				items:1,
461				dots: false,
462				autoHeight: true,
463				autoplay: true,
464				smartSpeed:1500,
465				autoplayHoverPause: true,
466				center: true,
467				navText: [
468					"<i class='bx bx-left-arrow-alt'></i>",
469					"<i class='bx bx-right-arrow-alt'></i>",
470				],
471			});
472
473			$('.solutions-wrap').owlCarousel({
474				loop:true,
475				margin: 30,
476				nav:false,
477				mouseDrag: true,
478				items:1,
479				dots: false,
480				autoHeight: true,
481				autoplay: true,
482				smartSpeed:1500,
483				autoplayHoverPause: true,
484				center: true,
485				responsive:{
486					0:{
487						items:1,
488					},
489					576:{
490						items:1,
491					},
492					768:{
493						items:2,
494					},
495					992:{
496						items:3,
497					},
498					1200:{
499						items:3,
500					}
501				}
502			});
503
504			$('.single-security-wrap').owlCarousel({
505				loop:true,
506				margin: 30,
507				nav:false,
508				mouseDrag: true,
509				items:1,
510				dots: true,
511				autoHeight: true,
512				autoplay: true,
513				smartSpeed:1500,
514				autoplayHoverPause: true,
515				center: false,
516				responsive:{
517					0:{
518						items:1,
519					},
520					576:{
521						items:2,
522					},
523					768:{
524						items:2,
525					},
526					992:{
527						items:3,
528					},
529					1200:{
530						items:4,
531					}
532				}
533			});
534		});
535    });
536})(jQuery);

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.