1(function($){$(document).ready(function(){checkForLocationRequests();document.addEventListener('ifso_ajax_content_loaded',checkForLocationRequests)}) 2function checkForLocationRequests(){if(typeof(ifso_scope.getCookie)==='undefined')return;var getLocationTags=$('IfsoGetBrowserLocation');if(getLocationTags.length>0){for(tag of getLocationTags){if(tag.getAttribute('ignore_cache')==='true'||(!hasAnyOverrideData())){getBrowserGeolocation();return}}} 3if(ifso_scope.getCookie(requestBrowserLocCookieName)!==null&&!hasAnyOverrideData()){getBrowserGeolocation();ifso_scope.createCookie(requestBrowserLocCookieName,'',-1);return}} 4function getBrowserGeolocation(){if(navigator.geolocation){navigator.geolocation.getCurrentPosition(rememberPosition)}} 5function hasAnyOverrideData(){return(hasGeoOverrideData(geoOverrideCookieName)||hasGeoOverrideData(browserLocationCookieName))} 6function hasGeoOverrideData(cname){if(ifso_scope.getCookie(cname)){try{var geoOverrideObj=JSON.parse(ifso_scope.getCookie(cname));return!0}catch{return!1}} 7return!1} 8function rememberPosition(position){var coordsString=position.coords.latitude+','+position.coords.longitude;var geoObject={lat:position.coords.latitude,long:position.coords.longitude};ifso_scope.createCookie(browserLocationCookieName,JSON.stringify(geoObject),0);window.location.reload()}})(jQuery)
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.