PageSourceSearch

https://laoficinacultural.org/wp-content/themes/bridge/js/default_dynamic.js?ver=1741176564

js laoficinacultural.org collected 2026-10-02 10:12:46 UTC 3,769 bytes, 146 lines download raw bytes

1		
2		var header_height = 100;
3		var min_header_height_scroll = 57;
4		var min_header_height_fixed_hidden = 50;
5		var min_header_height_sticky = 60;
6		var scroll_amount_for_sticky = 85;
7		var content_line_height = 60;
8		var header_bottom_border_weight = 1;
9		var scroll_amount_for_fixed_hiding = 200;
10		var paspartu_width_init = 0.02;
11        var add_for_admin_bar = jQuery('body').hasClass('admin-bar') ? 32 : 0;
12
13						header_height = 118;
14																	
15		var logo_height = 130; // proya logo height
16		var logo_width = 280; // proya logo width
17								logo_height = 156;
18						logo_width = 220;
19
20											header_top_height = 0;
21					var loading_text;
22				loading_text = 'Loading new posts...';
23				var finished_text;
24		finished_text = 'No more posts';
25		
26			var piechartcolor;
27			piechartcolor	= "#1abc9c";
28							piechartcolor = "#04ea04";
29			
30			var geocoder;
31			var map;
32
33			function initialize() {
34			"use strict";
35			// Create an array of styles.
36						var mapStyles = [
37			{
38			stylers: [
39			{hue: "#324156" },
40			{saturation: "-60"},
41			{lightness: "-20"},
42			{gamma: 1.51}
43			]
44			}
45			];
46			var qodeMapType = new google.maps.StyledMapType(mapStyles,
47			{name: "Qode Map"});
48
49			geocoder = new google.maps.Geocoder();
50			var latlng = new google.maps.LatLng(-34.397, 150.644);
51			var myOptions = {
52						zoom: 12,
53							scrollwheel: false,
54						center: latlng,
55			zoomControl: true,
56			zoomControlOptions: {
57			style: google.maps.ZoomControlStyle.SMALL,
58			position: google.maps.ControlPosition.RIGHT_CENTER
59			},
60			scaleControl: false,
61			scaleControlOptions: {
62			position: google.maps.ControlPosition.LEFT_CENTER
63			},
64			streetViewControl: false,
65			streetViewControlOptions: {
66			position: google.maps.ControlPosition.LEFT_CENTER
67			},
68			panControl: false,
69			panControlOptions: {
70			position: google.maps.ControlPosition.LEFT_CENTER
71			},
72			mapTypeControl: false,
73			mapTypeControlOptions: {
74			mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'],
75			style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
76			position: google.maps.ControlPosition.LEFT_CENTER
77			},
78										mapTypeId: 'qode_style'
79						};
80			map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
81							map.mapTypes.set('qode_style', qodeMapType);
82						}
83
84			function codeAddress(data) {
85			"use strict";
86
87			if (data === '')
88			return;
89
90			var contentString = '<div id="content">'+
91				'<div id="siteNotice">'+
92					'</div>'+
93				'<div id="bodyContent">'+
94					'<p>'+data+'</p>'+
95					'</div>'+
96				'</div>';
97			var infowindow = new google.maps.InfoWindow({
98			content: contentString
99			});
100			geocoder.geocode( { 'address': data}, function(results, status) {
101			if (status === google.maps.GeocoderStatus.OK) {
102			map.setCenter(results[0].geometry.location);
103			var marker = new google.maps.Marker({
104			map: map,
105			position: results[0].geometry.location,
106							icon:  'http://www.laoficinacultural.org/wp-content/themes/bridge/img/pin.png',
107						title: data['store_title']
108			});
109			google.maps.event.addListener(marker, 'click', function() {
110			infowindow.open(map,marker);
111			});
112			//infowindow.open(map,marker);
113			}
114			});
115			}
116
117			var $j = jQuery.noConflict();
118
119			$j(document).ready(function() {
120			"use strict";
121
122			showContactMap();
123			});
124			
125		function showContactMap() {
126		"use strict";
127
128		if($j("#map_canvas").length > 0){
129		initialize();
130		codeAddress("");
131		codeAddress("");
132		codeAddress("");
133		codeAddress("");
134		codeAddress("");
135		}
136		}
137
138		var no_ajax_pages = [];
139		var qode_root = 'https://laoficinacultural.org/';
140		var theme_root = 'https://laoficinacultural.org/wp-content/themes/bridge/';
141					var header_style_admin = "";
142				if(typeof no_ajax_obj !== 'undefined') {
143		no_ajax_pages = no_ajax_obj.no_ajax_pages;
144		}
145
146	

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.