1function u(t){return t>=1e3?`${(t/1e3).toFixed(1)}K`:t.toString()}function f(t){return t==="DAILY"?"Daily":t==="WEEKLY"?"Weekly":"One-off"}function o(t){const e=t?.trim();return e?e.replace(/\s+/g," ").toLowerCase():null}function a(t,e){const r=o(e);return t.filter((i,l)=>{const n=o(i.title),c=o(i.body);return!n&&!c?!1:!(l===0&&r&&c===r&&(!n||n==="how to score"))})}function d(t,e,r=3){return a(t,e).map(i=>i.body?.trim()||i.title?.trim()||"").filter(Boolean).slice(0,r)}export{d as a,u as f,f as g};
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.