1async function initSinglePropertyMap(){var e=$("#location-map");let a=e.hasClass("clusters");var r=(await import(propertyOwlVariables.scriptURLS.sharedFunctions))["getScript"];await r(propertyOwlVariables.scriptURLS["google-maps"]),a&&await r(propertyOwlVariables.scriptURLS["google-maps-clusters"]);let{initMap:t,getDefaultMarker:i,processMarkers:o,fitBoundsToMarkers:n,filterMapMarkers:s}=await import(propertyOwlVariables.scriptURLS.mapUtils);r={lat:parseFloat(e.data("lat")),lng:parseFloat(e.data("lng"))};let p=t(e[0],r);var e=e.data("maptype"),l=propertyOwlVariables.mapIconSize&&2===propertyOwlVariables.mapIconSize.length?propertyOwlVariables.mapIconSize:[38,38],e="experiences"==e?"getNearbyExperiences":"getNearbyProperties";let c=new google.maps.Marker({position:r,map:p,icon:i(propertyOwlVariables.markerURL,new google.maps.Size(l[0],l[1])),zIndex:999}),d={icon:i(propertyOwlVariables.markerURLSecondary||propertyOwlVariables.markerURL,new google.maps.Size(32,32))},w=new google.maps.InfoWindow({content:`<div class="card"><div class="card-body"><h2 class="h5 mb-0">${propertyData.title}</h2></div></div>`});return c.addListener("click",()=>{window.currentInfoWindow&&window.currentInfoWindow.close(),(window.currentInfoWindow=w).open({anchor:c,map:p,shouldFocus:!1})}),$(".location-map-filter").click(function(){$(this).toggleClass("active");let e=[];$(".location-map-filter.active").each(function(){e.push($(this).data("filter"))}),s(e,p)}),$.ajax({url:propertyOwlVariables.ajaxURL,method:"GET",data:{action:e,target_lat_lng:r,ID:property.id},success:function(e){e&&((e=$($.parseHTML(e)).find(".property-result")).each(function(){$(this).attr("icon")}),o(p,e,a,!0,d),window.propertyOwlMapMarkers.push(c),n(p))}})}window.$=jQuery,document.addEventListener("DOMContentLoaded",async function(e){async function a(){var e=(await import(propertyOwlVariables.scriptURLS.sharedFunctions))["isInViewport"];return!!e($("#location-map"))&&(document.removeEventListener("scroll",a),await initSinglePropertyMap(),!0)}await a()||document.addEventListener("scroll",a)});
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.