1import{j as u}from"./jsx-runtime-u17CrQMm.js";import{r as e}from"./chunk-JZWAC4HX-C2o5kXPq.js";const r=e.createContext(void 0),L=({children:t})=>{const[o,s]=e.useState(),n=e.useCallback(a=>{s(a.sort((i,c)=>c.label.localeCompare(i.label)))},[]);return u.jsx(r.Provider,{value:{alternateUrls:o,setLocation:n},children:t})},d=t=>{const o=e.useContext(r);if(!o)throw new Error("useSetAlternateUrls must be used within a LocationProvider");return e.useEffect(()=>{t&&o.setLocation(t)},[t]),o.setLocation},m=()=>{const t=e.useContext(r);if(!t)throw new Error("useAlternateUrls must be used within a LocationProvider");return t.alternateUrls};export{L,m as a,d as u};
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.