PageSourceSearch

https://securehealthcaresolutions.co.uk/wp-content/plugins/wpjm-jo…/assets/js/gjm.min.js?ver=1.8.1.1

js securehealthcaresolutions.co.uk collected 2026-10-09 00:13:07 UTC 6,210 bytes, 1 lines download raw bytes

1jQuery(document).ready(function(e){function t(e){function t(e){var t=new google.maps.Geocoder;t.geocode({latLng:new google.maps.LatLng(e.coords.latitude,e.coords.longitude)},function(e,t){t==google.maps.GeocoderStatus.OK?(r.val(e[0].formatted_address),s.val(e[0].formatted_address),d.val(e[0].geometry.location.lat()),l.val(e[0].geometry.location.lng()),setTimeout(function(){s.change(),m.fadeToggle("fast",function(){a.find("."+o+"-locator-btn").fadeToggle("fast")})},500)):alert("Geocoder failed due to: "+t)})}function c(e){if(!i)switch(e.code){case e.PERMISSION_DENIED:alert("User denied the request for Geolocation.");break;case e.POSITION_UNAVAILABLE:alert("Location information is unavailable.");break;case 3:alert("The request to get user location timed out.");break;case e.UNKNOWN_ERROR:alert("An unknown error occurred")}m.fadeToggle("fast",function(){a.find("."+o+"-locator-btn").fadeToggle("fast")})}a=e.closest("form"),o=a.find("#gjm_prefix").val(),n=e.closest("div.job_listings, div.resumes"),s=a.find("#search_location"),r=a.find("#gjm_prev_address"),d=a.find("#gjm_lat"),l=a.find("#gjm_lng");var m=a.find("."+o+"-locator-loader");a.find("."+o+"-locator-btn").fadeToggle("fast",function(){m.fadeToggle("fast")}),navigator.geolocation?navigator.geolocation.getCurrentPosition(t,c,{timeout:1e4}):alert("Sorry! Geolocation is not supported by this browser and we cannot locate you.")}var o="gjm",a=!1,n=!1,s=!1,r=!1,d=!1,l=!1,i=!1;e(".gjm-locator-btn-holder, .grm-locator-btn-holder").each(function(){e(this).children().detach().appendTo(e(this).closest("form").find(".search_location"))}),e(".gjm-autolocator-trigger, .grm-autolocator-trigger").each(function(){var o=e(this);e(window).on("load").on("load",function(){i=!0,t(o)})}),e(".gjm-map-wrapper, .grm-map-wrapper").each(function(){a=e(this).closest("form"),o=a.find("#gjm_prefix").val(),mapId=e(this).attr("data-map-id"),mapHolder=e("#"+o+"-results-map-holder-"+mapId),e("#"+o+"-results-map-holder-"+mapId).length?e(this).detach().appendTo("#"+o+"-results-map-holder-"+mapId):e(".results-map-holder").length&&e(this).detach().appendTo(".results-map-holder")}),e(".job_filters, .resume_filters").on("click",".reset",function(t){a=e(this).closest("form"),a.find(".gjm-filter option:first-child, .grm-filter option:first-child").attr("selected","selected"),a.find("#gjm_lat, #gjm_lng, #prev_address").val("")}),e(".job_listings").on("updated_results",function(t){t.target.lastChild.innerHTML.indexOf("no_job_listings_found")>-1&&(o=e(this).find("#gjm_prefix").val(),mapId=e(this).find("#gjm_element_id").val(),e("#"+o+"-map-wrapper-"+mapId+":visible").slideToggle())}),e("#search_keywords, #search_location, .job_types :input, #search_categories, .job-manager-filter").off("change").on("change",function(){return a=e(this).closest("form"),n=e(this).closest("div.job_listings, div.resumes"),s=a.find("#search_location"),r=a.find("#gjm_prev_address"),d=a.find("#gjm_lat"),l=a.find("#gjm_lng"),setTimeout(function(){if(newAddress=s.val(),prevAddress=a.find("#gjm_prev_address").val(),addressYes=e.trim(newAddress).length?!0:!1,addressYes){if(addressYes)if(e(".gjm-radius option:first-child").is(":selected")&&e(".gjm-radius option:last-child").attr("selected","selected"),newAddress!=prevAddress||""==d&&""==l){a.find(".gjm-country-code, .gjm-country-name, .gjm-state-name, .gjm-state-code").val(""),r.val(newAddress);var t=new google.maps.Geocoder;t.geocode({address:newAddress},function(e,t){t==google.maps.GeocoderStatus.OK?(1==e[0].address_components.length&&"country"==e[0].address_components[0].types[0]?(a.find(".gjm-country-name").val(e[0].address_components[0].long_name),a.find(".gjm-country-code").val(e[0].address_components[0].short_name)):2==e[0].address_components.length&&"administrative_area_level_1"==e[0].address_components[0].types[0]&&(a.find(".gjm-country-name").val(e[0].address_components[1].long_name),a.find(".gjm-country-code").val(e[0].address_components[1].short_name),a.find(".gjm-state-name").val(e[0].address_components[0].long_name),a.find(".gjm-state-code").val(e[0].address_components[0].short_name)),d.val(e[0].geometry.location.lat()),l.val(e[0].geometry.location.lng()),setTimeout(function(){n.triggerHandler("update_results",[1,!1])},500)):(d.val(""),l.val(""),r.val(""),alert("We could not find the address you entered. Please try a different address. Error message: "+t))})}else n.triggerHandler("update_results",[1,!1])}else d.val(""),l.val(""),r.val(""),n.triggerHandler("update_results",[1,!1])},500),!1}),e(".gjm-filter, .grm-filter").change(function(){a=e(this).closest("form"),locationField=a.find("#search_location"),(!e(this).hasClass("radius-filter")&&!e(this).hasClass("units-filter")||""!=locationField.val())&&(n=e(this).closest("div.job_listings, div.resumes"),n.trigger("update_results",[1,!1]))}),e(".gjm-autocomplete-trigger, .grm-autocomplete-trigger").each(function(){a=e(this).closest("form"),acField=e(this).closest("form").find("#search_location")[0],acCountry=e(this).attr("data-country"),resultsType=e(this).attr("data-results-type");var t={types:[resultsType]};""!=acCountry&&(t.componentRestrictions={country:acCountry});var o=new google.maps.places.Autocomplete(acField,t);google.maps.event.addListener(o,"place_changed",function(e){a.find(".gjm-country-code, .gjm-country-name, .gjm-state-name, .gjm-state-code").val("");var t=o.getPlace();t.geometry&&(1==t.address_components.length&&"country"==t.address_components[0].types[0]?(a.find(".gjm-country-name").val(t.address_components[0].long_name),a.find(".gjm-country-code").val(t.address_components[0].short_name)):2==t.address_components.length&&"administrative_area_level_1"==t.address_components[0].types[0]&&(a.find(".gjm-country-name").val(t.address_components[1].long_name),a.find(".gjm-country-code").val(t.address_components[1].short_name),a.find(".gjm-state-name").val(t.address_components[0].long_name),a.find(".gjm-state-code").val(t.address_components[0].short_name)),a.find("#gjm_lat").val(t.geometry.location.lat()),a.find("#gjm_lng").val(t.geometry.location.lng()),a.find("#gjm_prev_address").val(a.find("#search_location").val()))})}),e(".gjm-locator-btn, .grm-locator-btn").click(function(){i=!1,t(e(this))})});

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.