1const r=Object.freeze([".",".."]);function s(t,...e){const n=new URL(t);if(e.find(c=>r.includes(c)))throw new TypeError("pathSegments must not include '.' or '..'");const o=e.map(encodeURIComponent).join("/"),a=n.pathname.endsWith("/")?n.pathname:n.pathname+"/";return n.pathname=a+o,n}export{s as b};
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.