1var WPEMGoogleMaps=function(){return{init:function(){jQuery(".event_filters .wpem-location-container").length>0&&(jQuery(".event_filters .wpem-location-container .wpem-my-location").remove(),jQuery(".event_filters .wpem-location-container").append(wpem_google_maps.i18n_current_location_button_html)),jQuery("body").on("click",".event_filters .wpem-location-container .wpem-my-location",WPEMGoogleMaps.actions.updateCurrentUserLocation),jQuery("#search_within_radius , #search_orderby , #search_distance_units").change(function(){var e=jQuery(this).closest("div.event_listings");e.triggerHandler("update_event_listings",[1,!1]),EventAjaxFilters.event_manager_store_state(e,1)}).on("keyup",function(e){13===e.which&&jQuery(this).trigger("change")}),jQuery(".event_listings").on("reset",WPEMGoogleMaps.actions.resetGoogleMapFilters),jQuery(".wpem-my-location").on("click",function(){jQuery("#search_within_radius").prop("selectedIndex",1)})},actions:{updateCurrentUserLocation:function(e){navigator.geolocation.getCurrentPosition(function(e){var t=e.coords;jQuery("#google_map_lat").val(t.latitude),jQuery("#google_map_lng").val(t.longitude),jQuery.ajax({url:wpem_google_maps.ajax_url.toString().replace("%%endpoint%%","get_formatted_address_from_cordinates"),type:"POST",dataType:"JSON",data:{security:wpem_google_maps.security,coords:t},success:function(e){e.formatted_address.length>0&&jQuery("#search_location").val(e.formatted_address),jQuery("#search_location").trigger("change")}})},function(){console.warn("ERROR(${err.code}): ${err.message}")},{enableHighAccuracy:!0,timeout:5e3,maximumAge:0})},resetGoogleMapFilters:function(e){jQuery("#search_within_radius").prop("selectedIndex",0),jQuery("#search_distance_units").prop("selectedIndex",0),jQuery("#search_orderby").prop("selectedIndex",0)}}}};WPEMGoogleMaps=WPEMGoogleMaps(),jQuery(document).ready(function(e){WPEMGoogleMaps.init()});
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.