1const e=async(r,o)=>{let s=`https://nominatim.openstreetmap.org/search.php?q=${r}&limit=1&format=jsonv2`;o&&(s+=`&viewbox=${o}`);const t=await fetch(s);if(!t.ok)throw new Error(`Response status: ${t.status}`);const n=await t.json();if(n[0]===void 0)throw new Error("No result found");return n[0]};export{e as searchLocation};
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.