PageSourceSearch

https://www.freebc.org/assets/visitorBootstrap-Y4scAR2D.js

js freebc.org collected 2026-10-07 12:34:29 UTC 1,190 bytes, 1 lines download raw bytes

1import{V as r}from"./constants-DAWul56a.js";import{V as e,a as n,i as o,b as s}from"./index-BbN0-VeI.js";function p(t,d){if(t)for(const f of t.split(";")){const[l,...I]=f.trim().split("=");if(l===d)try{return decodeURIComponent(I.join("="))}catch{return}}}let i=null;function c(){return i||(i=fetch("/api/visitor",{method:"GET",credentials:"include"}).then(async t=>t.ok?await t.json():null).catch(()=>null).finally(()=>{i=null}),i)}function y(){try{return sessionStorage.getItem(e)}catch{return null}}function u(t){try{sessionStorage.setItem(e,t)}catch{}}function a(t){t?.visitorId&&(u(t.visitorId),n(t.visitorId,t.cookieConsent),o(t.visitorId),s())}function h(t){typeof window<"u"&&"requestIdleCallback"in window?requestIdleCallback(t,{timeout:2e3}):setTimeout(t,0)}function w(){if(typeof window>"u")return;const t=y();if(t){n(t),o(t),s();return}h(()=>{requestAnimationFrame(()=>{(async()=>a(await c()))()})})}async function v(){if(!(typeof window>"u")){try{sessionStorage.removeItem(e)}catch{}a(await c())}}function S(){if(typeof window>"u")return;let t;try{t=p(document.cookie,r)}catch{return}t&&(document.cookie=`${r}=; Max-Age=0; path=/`,u(t),n(t),o(t))}export{S as a,v as r,w as s};

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.