1jQuery(function($){function loadGoogleMapsScript(mapId){initMap(mapId)} 2function initIntersectionObserver(mapContainerId){var observer=new IntersectionObserver(function(entries){entries.forEach(function(entry){if(entry.isIntersecting&&entry.intersectionRatio>0){loadGoogleMapsScript(mapContainerId);observer.disconnect()}})},{rootMargin:'500px'});var mapContainer=document.getElementById(mapContainerId);if(mapContainer){observer.observe(mapContainer)}else{console.log('Map container element not found.')}} 3var mapIds=[];jQuery(document).ready(function(){const sections=document.querySelectorAll('.multiple-map');sections.forEach(section=>{const mapElements=section.querySelectorAll('[id^="tp-map-n"]');mapElements.forEach(mapElement=>{mapIds.push(mapElement.id);initIntersectionObserver(mapElement.id)})})});window.addEventListener('load',function(){if(mapIds.length>0){mapIds.forEach(mapId=>{if(document.getElementById(mapId)){initMap(mapId)}})}});var infoWindow;window.initMap=function(mapId){var mapElement=document.getElementById(mapId);if(!mapElement){return} 4var visibilityValue=map_label_option_vars.mapLabelOption;var isFeatureEnabled=map_zoom_level_vars.isFeatureEnabled;var mapZoomLevelDesktop=parseInt(map_zoom_level_vars.mapZoomLevelDesktop,10);var mapZoomLevelMobile=parseInt(map_zoom_level_vars.mapZoomLevelMobile,10);mapZoomLevelDesktop=parseInt(mapElement.getAttribute("zoom-desktop"));mapZoomLevelMobile=parseInt(mapElement.getAttribute("zoom-mobile"));var $markers=$('.'+mapId+'.acftp-map .marker').filter(function(){return $(this).data('lat')&&$(this).data('lng')});googleMapStyle=[{"elementType":"geometry","stylers":[{"color":"#f5f5f5"}]},{"elementType":"labels","stylers":[{"visibility":visibilityValue}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"elementType":"labels.text.fill","stylers":[{"color":"#616161"}]},{"elementType":"labels.text.stroke","stylers":[{"color":"#f5f5f5"}]},{"featureType":"administrative","elementType":"labels.icon","stylers":[{"visibility":visibilityValue==="off"?"off":"on"}]},{"featureType":"administrative.land_parcel","stylers":[{"visibility":"off"}]},{"featureType":"administrative.land_parcel","elementType":"labels.text.fill","stylers":[{"color":"#bdbdbd"}]},{"featureType":"administrative.neighborhood","stylers":[{"visibility":"off"}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#eeeeee"}]},{"featureType":"poi","elementType":"labels.text.fill","stylers":[{"color":"#757575"}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#e5e5e5"}]},{"featureType":"poi.park","elementType":"labels.text.fill","stylers":[{"color":"#9e9e9e"}]},{"featureType":"road","elementType":"geometry","stylers":[{"color":"#ffffff"}]},{"featureType":"road.arterial","elementType":"labels.text.fill","stylers":[{"color":"#757575"}]},{"featureType":"road.highway","elementType":"geometry","stylers":[{"color":"#dadada"}]},{"featureType":"road.highway","elementType":"labels.text.fill","stylers":[{"color":"#616161"}]},{"featureType":"road.local","elementType":"labels.text.fill","stylers":[{"color":"#9e9e9e"}]},{"featureType":"transit.line","elementType":"geometry","stylers":[{"color":"#e5e5e5"}]},{"featureType":"transit.station","elementType":"geometry","stylers":[{"color":"#eeeeee"}]},{"featureType":"water","elementType":"geometry","stylers":[{"color":"#c9c9c9"}]},{"featureType":"water","elementType":"labels.text.fill","stylers":[{"color":"#9e9e9e"}]}];$cLat=document.querySelector('.marker').getAttribute('data-lat');$cLng=document.querySelector('.marker').getAttribute('data-lng');var mapArgs={zoom:10,scrollwheel:!1,streetViewControl:!1,mapTypeControl:!1,fullscreenControl:!1,zoomControl:!0,navigationControl:!1,mapTypeId:google.maps.MapTypeId.ROADMAP,center:new google.maps.LatLng($cLat,$cLng),styles:googleMapStyle};if(window.matchMedia("(max-width: 767px)").matches){mapArgs.zoom=mapZoomLevelMobile}else if(window.matchMedia("(min-width: 768px)").matches){mapArgs.zoom=mapZoomLevelDesktop} 5var map=new google.maps.Map(mapElement,mapArgs);infoWindow=new google.maps.InfoWindow();map.markers=[];$markers.each(function(){initMarker($(this),map)});
5centerMap(map);return map} 6function initMarker($marker,map){var lat=$marker.data('lat');var lng=$marker.data('lng');var label=$marker.data('title');var latLng={lat:parseFloat(lat),lng:parseFloat(lng)};var point=new google.maps.LatLng(parseFloat(lat),parseFloat(lng));var iconSize=new google.maps.Size(43,56);var iconShadowSize=new google.maps.Size(22,20);var iconHotSpotOffset=new google.maps.Point(23,47);var iconPosition=new google.maps.Point(0,0);var infoWindowAnchor=new google.maps.Point(9,2);var infoShadowAnchor=new google.maps.Point(18,25);var visibilityValue=map_label_option_vars.mapLabelOption;var markerColor=marker_color_vars.markerColor;var iconSvg='<svg xmlns="http://www.w3.org/2000/svg" height="44" viewBox="0 -960 960 960" width="44"><path d="M480-480q33 0 56.5-23.5T560-560q0-33-23.5-56.5T480-640q-33 0-56.5 23.5T400-560q0 33 23.5 56.5T480-480Zm0 400Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80Z" fill="'+markerColor+'"/></svg>';var markerOptions={position:point,map:map,icon:{url:'data:image/svg+xml;charset=UTF-8,'+encodeURIComponent(iconSvg),},cursor:'grab'};if(visibilityValue==="off"){markerOptions.label={text:String(label),className:"markerClass",color:"black",fontWeight:"bold",fontSize:"19px"}} 7var marker=new google.maps.Marker(markerOptions);map.markers.push(marker);if($marker.html()){google.maps.event.addListener(marker,'notclick',function(){infoWindow.open(map,marker);infoWindow.setContent($marker.html());aTrigger();updateMarkerColors(map,marker)})}} 8function aTrigger(){google.maps.event.addListener(infoWindow,'domready',function(){$(".default-cta").click(function(e){e.preventDefault();console.log('hi');ScheduleEngine.show()})})} 9function updateMarkerColors(map,marker){map.markers.forEach(function(marker){marker.setOpacity(0.5)});infoWindow.addListener('closeclick',()=>{map.markers.forEach(function(marker){marker.setOpacity(1)})});marker.setOpacity(1)} 10function centerMap(map){var bounds=new google.maps.LatLngBounds();map.markers.forEach(function(marker){bounds.extend({lat:marker.position.lat(),lng:marker.position.lng()})});map.setCenter(bounds.getCenter());if(map.markers.length==1){map.setCenter(bounds.getCenter())}else{}}})
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.