1const f=/^(\d+)(?:\.(\d+))?$/,d=/^([+-])?(\d+)(?:\.(\d+))?$/;function g(r,n){const t=f.exec(r.trim());if(!t)return null;const[,e,o=""]=t;return o.length>n?null:BigInt(e+o.padEnd(n,"0"))}function l(r,n){const t=r.toString().padStart(n+1,"0");return n===0?t:`${t.slice(0,-n)}.${t.slice(-n)}`}function p(r,n){const t=d.exec(r.trim());if(!t)return null;const[,e,o,c=""]=t,u=BigInt(o+c.padEnd(n,"0").slice(0,n)),s=c.length>n&&Number(c[n])>=5?u+1n:u,i=l(s,n);return e==="-"&&s!==0n?`-${i}`:i}export{l as f,p as r,g 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.