PageSourceSearch

https://www.meteorologia.gov.py/wp-content/themes/dmh/assets/js/project.js?ver=201811281612

js meteorologia.gov.py collected 2026-09-24 09:10:56 UTC 2,741 bytes, 178 lines download raw bytes

1$.noConflict();
2
3// function initAOS{
4	// if( window.innerWidth > 768 ){
5		AOS.init({
6			// anchor: '.off-canvas-container',
7			disable: 'mobile',
8			once: true
9		});
10	// }
11// }
12
13// initAOS();
14
15
16(function($){
17'use strict';
18
19
20
21// $(window).resize(initAOS);
22
23
24
25if( $('.navbar-toggler')[0] ){
26
27	$('.navbar-toggler').on('click', function(){
28		$('.off-canvas-wrapper').addClass('in');
29	});
30
31}
32
33
34
35
36
37
38
39
40/*---------------------------------------------------------*/
41/*	REPORTE
42/*---------------------------------------------------------*/
43if( $('.hero')[0] ){
44
45
46	$('.hero .report .btn').on('click', function(){
47		$('.full-report').addClass('active');
48		scrollToTop();
49	});
50
51	$('.full-report .close').on('click', function(){
52		$('.full-report').removeClass('active');
53	});
54
55
56	function scrollToTop(){
57		$('body').animate({scrollTop:0},200);
58	}
59
60
61
62	// $(document).ready(function(){
63
64		$('.hero .forecast').owlCarousel({
65			items: 				1,
66			loop: 				true,
67			smartSpeed: 	1200,
68			dots: 				false,
69			mouseDrag: 		false,
70			autoHeight: 	true,
71			animateIn: 		'fadeIn',
72			animateOut: 	'fadeOut'
73		});
74
75	// });
76
77
78	setTimeout(function(){
79		$('.hero .forecast').trigger('refresh.owl.carousel');
80	},100);
81
82
83	$('.hero .owl-control a').on('click', function(e){
84		if($(this).attr('href') == '#') {
85			e.preventDefault();
86		}
87
88		var i = $(this).index();
89
90		$('.hero .owl-control a').removeClass('active');
91		$(this).addClass('active');
92
93		$('.hero .forecast').trigger('to.owl.carousel', i);
94	});
95
96
97}//hero
98
99
100
101
102
103if( $('.mobile')[0] ){
104
105	$('.mobile .screens').owlCarousel({
106		items: 						1,
107		loop: 						true,
108		smartSpeed: 			600,
109		dots: 						false,
110		nav: 							false,
111		mouseDrag: 				false,
112		autoplay: 				true,
113		autoplayTimeout: 	3000,
114		animateIn: 				'fadeIn',
115		animateOut: 			'fadeOut'
116	});
117
118}
119
120
121
122
123/*---------------------------------------------------------*/
124/*	STATIONS
125/*---------------------------------------------------------*/
126if( $('.stations-slider')[0] ){
127
128	$('.stations-slider').owlCarousel({
129		items: 				1,
130		loop: 				true,
131		smartSpeed: 	600,
132		mouseDrag: 		false,
133		animateIn: 		'fadeIn',
134		animateOut: 	'fadeOut',
135		dots: 				false,
136		autoplay: 					true,
137		autoplayTimeout: 		4000,
138		autoplayHoverPause: true,
139		responsive:{
140			768:{
141				dots: true
142			}
143		}
144
145	});
146
147}
148
149
150
151
152
153/*---------------------------------------------------------*/
154/*	FORECAST
155/*---------------------------------------------------------*/
156if( $('.forecasts-cols .owl-carousel')[0] ){
157
158	$('.forecasts-cols .owl-carousel').owlCarousel({
159		items: 				1,
160		loop: 				false,
161		margin: 			30,
162		smartSpeed: 	600,
163		mouseDrag: 		true,
164		dots: 				true,
165		responsive:{
166			500:{
167				items: 2
168			},
169			768:{
170				// dots: true,
171				items: 3
172			}
173		}
174	});
175
176}
177
178})(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.