1function c(r,t){let s=e=>e!==null&&typeof e=="object"&&Object.keys(e).length>0;if(r&&"errors"in r){if(Array.isArray(r.errors)){let e=r.errors.filter(n=>typeof n=="string");if(e.length)return e}else if(s(r.errors)){let e=Object.values(r.errors).filter(n=>typeof n=="string");if(e.length)return e}}if(r.error&&typeof r.error=="object"){let e=i(r.error);if(e.length)return e}return[t||o(r.status)]}function o(r){switch(r){case 400:return"Invalid request. Please check your input.";case 401:return"Authentication required. Please log in again.";case 403:return"You do not have permission to perform this action.";case 404:return"The requested resource could not be found.";case 500:return"A server error occurred. Please try again later.";default:return"An unexpected error occurred. Please try again later."}}function i(r){return r.errors?typeof r.errors=="string"?[r.errors]:Array.isArray(r.errors)?r.errors.filter(t=>typeof t=="string"):u(r.errors)?Object.values(r.errors).filter(t=>typeof t=="string"):[]:[]}var u=r=>r!==null&&typeof r=="object"&&Object.keys(r).length>0;export{c as a};
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.