1(()=>{"use strict";const t={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let e;const o=new Uint8Array(16);function n(){if(!e&&(e="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!e))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return e(o)}const r=[];for(let t=0;t<256;++t)r.push((t+256).toString(16).slice(1));function i(e,o,i){if(t.randomUUID&&!o&&!e)return t.randomUUID();const a=(e=e||{}).random||(e.rng||n)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,o){i=i||0;for(let t=0;t<16;++t)o[i+t]=a[t];return o}return function(t,e=0){return(r[t[e+0]]+r[t[e+1]]+r[t[e+2]]+r[t[e+3]]+"-"+r[t[e+4]]+r[t[e+5]]+"-"+r[t[e+6]]+r[t[e+7]]+"-"+r[t[e+8]]+r[t[e+9]]+"-"+r[t[e+10]]+r[t[e+11]]+r[t[e+12]]+r[t[e+13]]+r[t[e+14]]+r[t[e+15]]).toLowerCase()}(a)}const a=["utm_aid","utm_adgroup","utm_campaign","utm_campaigntype","utm_content","utm_device","utm_devicemodel","utm_document","utm_loc_physical_ms","utm_matchtype","utm_medium","utm_network","utm_origin","utm_source","utm_term","gclid","msclkid","tag"];class c{constructor(t="userinfo"){this.cookieName=t}buildChannelContext(){const t=new URLSearchParams(window.location.search),e=window.location.href,o=i(),n=a.some(e=>t.get(e));let r={utm_aid:t.get("utm_aid")||"",utm_adgroup:t.get("utm_adgroup")||"",utm_campaign:t.get("utm_campaign")||"",utm_campaigntype:t.get("utm_campaigntype")||"",utm_content:t.get("utm_content")||"",utm_device:t.get("utm_device")||"",utm_devicemodel:t.get("utm_devicemodel")||"",utm_document:t.get("utm_document")||"",utm_loc_physical_ms:t.get("utm_loc_physical_ms")||"",utm_matchtype:t.get("utm_matchtype")||"",utm_medium:t.get("utm_medium")||"",utm_network:t.get("utm_network")||"",utm_origin:t.get("utm_origin")||"",utm_source:t.get("utm_source")||"",utm_term:t.get("utm_term")||"",gclid:t.get("gclid")||"",msclkid:t.get("msclkid")||"",tag:t.get("tag")||""};if(!n&&document.referrer){const t=function(t){try{const e=new URL(t).hostname,o=e.split(".");return o.length>=2?"www"===o[0]?o[1]:o.slice(0,-1).join("."):e}catch(e){return console.warn("Invalid URL for domain extraction:",t),null}}(document.referrer);t&&(r.utm_source=t,r.utm_medium="organic")}return{...r,correlation_id:o,landing:e,referrer:document.referrer,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone}}generateCookie(){const t=this.buildChannelContext(),e=encodeURIComponent(JSON.stringify(t)),o=window.location.hostname.split("."),n=o.length>2?o.slice(-2).join("."):window.location.hostname,r=new Date;r.setDate(r.getDate()+30);const i=r.toUTCString();return document.cookie=`${this.cookieName}=${e};Domain=.${n};Expires=${i};SameSite=Lax;path=/`,this.saveToLocalStorage(t),t}getCookie(){const t=document.cookie;if(t.length>0){const e=t.indexOf(`${this.cookieName}=`);if(-1!==e){const o=t.indexOf(";",e);return t.substring(e+this.cookieName.length+1,-1===o?t.length:o)}}return null}getCookieData(){const t=this.getCookie();return t?JSON.parse(decodeURIComponent(t)):this.getFromLocalStorage()}saveToLocalStorage(t){try{const e={...t,_expiresAt:(new Date).getTime()+2592e6};localStorage.setItem(this.cookieName,JSON.stringify(e))}catch(t){console.warn("Could not save to localStorage:",t)}}getFromLocalStorage(){try{const t=localStorage.getItem(this.cookieName);if(!t)return null;const e=JSON.parse(t),o=(new Date).getTime();return e._expiresAt&&o>e._expiresAt?(localStorage.removeItem(this.cookieName),null):e}catch(t){return console.warn("Could not read from localStorage:",t),null}}shouldGenerateCookie(t){this.buildChannelContext();const e=new URLSearchParams(window.location.search),o=a.some(t=>e.get(t)),n=this.isExternalReferrer();return t?!!o||n:o||n}isExternalReferrer(){if(!document.referrer)return!1;try{const t=new URL(document.referrer),e=new URL(window.location.href),o=this.getRootDomain(t.hostname);return o!==this.getRootDomain(e.hostname)}catch(t){return!1}}getRootDomain(t){const e=t.split(".");return e.length>=2?e.slice(-2).join("."):t}}!function(t){try{const e=new c(t),o=e.getCookieData();e.shouldGenerateCookie(o)&&e.generateCookie()}catch(t){console.error("Error managing channel context:",t)}}()})();
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.