1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2/* modules/custom/basket_other/misc/basket_other.geolocation.js */ 3(function(){function setCookie(name,value,days){var expires="";if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));expires="; expires="+date.toUTCString();} 4document.cookie=name+"="+(value||"")+expires+"; path=/";} 5function getCookie(name){var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(nameEQ)==0)return c.substring(nameEQ.length,c.length);} 6return null;} 7function eraseCookie(name){document.cookie=name+'=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;';} 8document.addEventListener('DOMContentLoaded',function(){var geolocation=getCookie('xs');if(!geolocation){var langPath=drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix;Drupal.ajax({url:langPath+'api/geolocation',submit:{},progress:{type:'none'},}).execute();}});})(); 9/* !modules/custom/basket_other/misc/basket_other.geolocation.js */;
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.