1import{w as o,aF as c}from"./CYT7WipP.js";const u=10,n=o([]),t={add:e=>{n.update(r=>[e,...r].slice(0,u))},update:e=>{n.update(r=>r.map(d=>d.id===e.id?{...d,...e}:d))},upsert:e=>{c(n).find(r=>r.id===e.id)?t.update(e):t.add(e)},remove:e=>{n.update(r=>r.filter(d=>d.id!==e))}};let l=0;function a(e){return(r,d={})=>{const s=d.id||l++;return t.upsert({id:s,type:e,message:r,...d}),s}}const i=a("blank");i.success=a("success");i.error=a("error");i.warning=a("warning");i.info=a("info");i.loading=a("loading");i.close=e=>t.remove(e);export{n as a,i as 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.