1(function () { 2 'use strict'; 3 4 const TWO_YEARS_IN_SECONDS = 2 * 365 * 24 * 60 * 60; 5 6 let sid = document.cookie.match(/hpbi=([^;]+)/)?.[1]; 7 8 if (!sid) { 9 sid = Math.random().toString(36).substring(2, 18); 10 document.cookie = `hpbi=${sid};max-age=${TWO_YEARS_IN_SECONDS};path=/;SameSite=Lax`; 11 } 12 13 navigator.sendBeacon(hippooBI.rest_url, JSON.stringify({ 14 url: location.pathname + location.search, 15 ref: document.referrer || '', 16 sid: sid, 17 pid: hippooBI.product_id || null 18 })); 19})();
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.