1import{$ as e,A as t,D as n,E as r,J as i,L as a,O as o,Q as s,T as c,U as l,W as u,X as d,Y as f,Z as p,ct as m,ft as h,it as g,j as _,k as v,p as y,rt as b,st as x,v as S}from"./CSnXLx1e.js";import{r as C}from"./CZkCfGXt.js";import"./xihTtKlq.js";var w=()=>{let e=C;return{page:{subscribe:e.page.subscribe},navigating:{subscribe:e.navigating.subscribe},updated:e.updated}},T={subscribe(e){return w().page.subscribe(e)}},E=_(`<li><a> </a></li>`),D=_(`<nav aria-label="On this page" class="py-6 pl-4 pr-4"><p class="mb-3 pl-3 text-xs font-semibold uppercase tracking-wider text-neutral-500 dark:text-neutral-400">On this page</p> <ul class="border-l border-neutral-200 dark:border-neutral-800"></ul></nav>`);function O(_,C){m(C,!0);let w=()=>g(T,`$page`,O),[O,k]=b(),A=e(p([])),j=e(``),M=null;function N(){M?.();let e=Array.from(document.querySelectorAll(`article h2, article h3`)).filter(e=>e.id);if(s(A,e.map(e=>({id:e.id,text:e.textContent??``,level:Number(e.tagName[1])})),!0),e.length===0)return;s(j,e[0].id,!0);let t=new IntersectionObserver(()=>{let t=window.innerHeight/3,n=e.findLast(e=>e.getBoundingClientRect().top<=t);n&&s(j,n.id,!0)},{rootMargin:`0px 0px -50% 0px`,threshold:0});e.forEach(e=>t.observe(e)),M=()=>t.disconnect()}u(()=>(w().url.pathname,requestAnimationFrame(N),()=>M?.()));var P=t(),F=f(P),I=e=>{var t=D(),n=d(i(t),2);c(n,21,()=>a(A),r,(e,t)=>{var n=E(),r=i(n),s=i(r,!0);h(r),h(n),l(()=>{y(r,`href`,`#${a(t).id??``}`),S(r,1,`block truncate py-1 pl-3 leading-snug transition-colors border-l -ml-px text-[0.8125rem] 2 ${a(t).level===3?`pl-8`:``} 3 ${a(j)===a(t).id?`border-primary font-medium text-primary`:`border-transparent text-neutral-500 hover:border-neutral-400 hover:text-neutral-900 dark:text-neutral-400 dark:hover:border-neutral-500 dark:hover:text-neutral-100`}`),o(s,a(t).text)}),v(e,n)}),h(n),h(t),v(e,t)};n(F,e=>{a(A).length>0&&e(I)}),v(_,P),x(),k()}export{O as t};
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.