1var e=`#e5e7eb`,t=e=>{let t=e.trim().replace(/^#/,``);return/^[0-9a-fA-F]{3}$/.test(t)?{red:parseInt(t[0]+t[0],16),green:parseInt(t[1]+t[1],16),blue:parseInt(t[2]+t[2],16)}:/^[0-9a-fA-F]{6}$/.test(t)?{red:parseInt(t.substring(0,2),16),green:parseInt(t.substring(2,4),16),blue:parseInt(t.substring(4,6),16)}:null},n=({red:e,green:t,blue:n})=>{let r=e=>{let t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};return .2126*r(e)+.7152*r(t)+.0722*r(n)},r=(e,t)=>{let r=Math.max(n(e),n(t)),i=Math.min(n(e),n(t));return(r+.05)/(i+.05)},i=(e,t,n)=>({red:Math.round(e.red+(t.red-e.red)*n),green:Math.round(e.green+(t.green-e.green)*n),blue:Math.round(e.blue+(t.blue-e.blue)*n)}),a=({red:e,green:t,blue:n})=>{let r=e=>Math.max(0,Math.min(255,e)).toString(16).padStart(2,`0`);return`#${r(e)}${r(t)}${r(n)}`},o=(e,n,o=4.5)=>{let s=t(e),c=t(n);if(!s||!c||r(s,c)>=o)return e;let l={red:0,green:0,blue:0},u={red:255,green:255,blue:255},d=r(l,c)>=r(u,c)?l:u,f=0,p=1;for(let e=0;e<12;e+=1){let e=(f+p)/2;r(i(s,d,e),c)>=o?p=e:f=e}return a(i(s,d,p))},s=e=>{let r=t(e);return r?n(r)>.7:!1},c=(e,t)=>t&&s(e)?`#111827`:e;export{c as i,s as n,o as r,e 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.