1import{ay as p,aC as y,c as m,q as d}from"./B1HgvGcc.js";const r="pagina",a=1e4;function q(f={}){const{onNavigate:n}=f,u=p(),s=y();function o(e){if(typeof e=="number")return Number.isInteger(e)&&e>1?Math.min(e,a):1;if(typeof e!="string"||!/^\d+$/.test(e.trim()))return 1;const t=Number(e);return t>1?Math.min(t,a):1}function i(e){const t={...u.query};return e<=1?delete t[r]:t[r]=String(e),t}const c=m({get:()=>o(u.query[r]),set:e=>{const t=o(e);s.push({query:i(t),hash:u.hash}).then(h=>{h||n==null||n()})}});return d(()=>{u.query[r]!==void 0&&c.value===1&&s.replace({query:i(1),hash:u.hash})}),{page:c}}export{q 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.