1import{r as w,C as g,R as S}from"./CInxtUI7.js";const p={orderBy:void 0,orderType:"Ascending",pageNumber:1,pageSize:25};function A(e={},n={}){const{useURLSearchParams:u=!1,persistKeys:c=[{key:"orderBy",parse:l},{key:"orderType",parse:l},{key:"pageNumber",parse:y}]}=n,a=w({...p,...e}),d=r=>a.value={...a.value,...r},m=()=>a.value={...p,...e};return u&&(g(()=>{const r=new URLSearchParams(window.location.search);for(const s of c)if(r.has(s.key)){const o=r.get(s.key);a.value[s.key]=o&&s.parse(o)}}),S(a,r=>{const s=new URLSearchParams(window.location.search);for(const[i,t]of Object.entries(r).filter(([f])=>c.some(({key:h})=>h===f)))!t||Array.isArray(t)&&!t.length?s.delete(i):s.set(i,t==null?void 0:t.toString());const o=decodeURIComponent(s==null?void 0:s.toString());window.history.pushState({},"",`${window.location.pathname}?${o}`)},{deep:!0})),{dataControls:a,setDataControls:d,resetDataControls:m}}const b=e=>e==="true",y=e=>parseInt(e),C=(e,n=",")=>e.split(n).map(y),l=e=>e;export{C as a,b,y as c,l as p,A 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.