PageSourceSearch

https://abadgrupoinmobiliario.es/wp-content/themes/portavoz/js/theme.js?ver=6abd74284eb4a

js abadgrupoinmobiliario.es collected 2026-09-30 20:42:55 UTC 1,671 bytes, 56 lines download raw bytes

1jQuery(function($) {
2	$(window).on( 'elementor/frontend/init', function() {
3		elementorFrontend.hooks.addFilter('frontend/handlers/menu_anchor/scroll_top_distance', function(scrollTop) {
4			return scrollTop-$('.elementor-location-header').height();
5		});
6	});
7})
8
9function check_email(email) {
10	var re = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
11	return re.test(email);
12}
13
14jQuery(window).on('load', function() {
15	jQuery('.map-wrapper').each(function() {
16		var t = jQuery(this),
17			i = t.attr('id').split('-')[1],
18			o = window['options_'+i],
19			m = o['markers'],
20			b = false;
21		if (o.hasOwnProperty('bounds')) {
22			b = o.bounds;
23			delete o['bounds'];
24		}
25		delete o['markers'];
26		o.container = t.attr('id');
27		mapboxgl.accessToken = o.token;
28		delete o['token'];
29		window['map_'+i] = new mapboxgl.Map(o);
30		var y = 1;
31		m.forEach(function(marker) {
32			var e = document.createElement('div'),
33				s = marker.icon.size[0];
34			e.style.width = s+'px';
35			e.style.height = s+'px';
36			e.style.marginLeft = (-s/2)*marker.icon.anchor[0]+'px';
37			e.style.marginTop = (-s/2)*marker.icon.anchor[1]+'px';
38			e.className = 'marker marker_'+i+'_'+y;
39			e.style.backgroundImage = 'url('+marker.icon.url+')';
40			if (marker.info.open == 'yes') {
41				e.innerHTML = '<div class="bubble">'+marker.info.text+'</div>';
42			}
43			new mapboxgl.Marker(e).setLngLat(marker.position).addTo(window['map_'+i]);
44			y++;
45		});
46		if (b != false) {
47			window['map_'+i].fitBounds(b, {
48				animate: false,
49				padding: o.padding[0]
50			});
51		}
52		window['map_'+i].addControl(new mapboxgl.NavigationControl({
53			zoomControl: o.zoomControl
54		}), 'top-left');
55	});
56});

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.