1function e(e=document.body){let t=Array.from(e.querySelectorAll(`[data-faq-group]`)),n=Array.from(e.querySelectorAll(`[data-faq-rail-link]`));if(t.length===0||n.length===0)return;let r=e=>{for(let t of n){let n=t.dataset.faqRailLink===e;t.classList.toggle(`is-active`,n),n?t.setAttribute(`aria-current`,`true`):t.removeAttribute(`aria-current`)}},i=new IntersectionObserver(e=>{let t=e.filter(e=>e.isIntersecting).sort((e,t)=>t.intersectionRatio-e.intersectionRatio)[0];if(!t)return;let n=t.target.dataset.faqGroup;n&&r(n)},{root:null,rootMargin:`-25% 0px -55% 0px`,threshold:[.1,.25,.5]});for(let e of t)i.observe(e);let a=window.location.hash.replace(/^#/,``),o=t.find(e=>e.id===a)?.dataset.faqGroup??t[0]?.dataset.faqGroup;o&&r(o);for(let e of n)e.addEventListener(`click`,()=>{let t=e.dataset.faqRailLink;t&&r(t)})}export{e 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.