1(()=>{"use strict";const t=(t,e)=>{const n="is-active",r="true"===e.dataset.sticky,o=r?e:null;let s=null;if(e.querySelectorAll(".hs-toc-item").forEach(e=>{const r=e.querySelector("a");(r?r.getAttribute("href")?.slice(1):null)===t?(s=e,e.classList.add(n),r&&r.setAttribute("aria-current","true")):(e.classList.remove(n),r&&r.removeAttribute("aria-current"))}),r&&s&&o){const t=o.getBoundingClientRect(),e=s.getBoundingClientRect();e.top<t.top?o.scrollTop-=t.top-e.top+8:e.bottom>t.bottom&&(o.scrollTop+=e.bottom-t.bottom+8)}},e=e=>{if(!e||"true"===e.dataset.ready)return;const n=parseInt(e.dataset.startLevel||"2",10),r=parseInt(e.dataset.depth||"3",10),o=Math.min(6,n+r-1),s=Array.from({length:o-n+1}).map((t,e)=>`h${n+e}`).join(", ");if(!s)return;const a=e.closest(".wp-block-highsoft-table-of-contents"),c=(()=>{if(a){const t=a.closest("[data-hs-toc-context], .data-hs-toc-context");if(t)return t}const t=e.closest("[data-hs-toc-context], .data-hs-toc-context");if(t&&(n=t)&&(n.hasAttribute("data-hs-toc-context")||n.classList.contains("data-hs-toc-context")))return t;var n;const r=document.querySelectorAll("[data-hs-toc-context], .data-hs-toc-context");return r.length>0?r[0]:null})(),i=[];c&&c.querySelectorAll(s).forEach(t=>{const n=null!==t.closest("footer"),r=null!==t.closest("header");!c.contains(t)||e.contains(t)||n||r||i.push(t)}),((t,e)=>{const n=e.querySelector(".hs-toc-list");if(!n)return;n.innerHTML="";const r=new Set,o=parseInt(e.dataset.startLevel||"2",10);t.forEach(t=>{const e=parseInt(t.tagName.replace("H",""),10),s=((t,e)=>{const n=t.getAttribute("id");if(n&&!e.has(n))return e.add(n),n;const r=(t.textContent||"").toString().toLowerCase().trim().replace(/[\s_]+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-{2,}/g,"-").replace(/^-+|-+$/g,"");if(!r)return null;let o=r,s=2;for(;e.has(o);)o=`${r}-${s}`,s+=1;return t.id=o,e.add(o),o})(t,r);if(!s)return;const a=(t.textContent||"").trim();if(!a)return;const c=document.createElement("li");c.className=`hs-toc-item hs-toc-level-${e}`;const i=Math.max(0,e-o);c.style.paddingLeft=`calc(${i} * var(--hs-toc-indent-step, 1rem))`;const l=document.createElement("a");l.href=`#${s}`,l.textContent=a,c.appendChild(l),n.appendChild(c)}),0===n.children.length?(e.setAttribute("hidden","hidden"),e.setAttribute("data-empty","true")):(e.removeAttribute("hidden"),e.setAttribute("data-empty","false"),n.setAttribute("data-populated","true"))})(i,e);const l=((e,n)=>{if(!e.length)return()=>{};if("false"===n.dataset.trackActive)return()=>{};const r=()=>{const r=(()=>{let t=e.length>0?e[0].id:null;for(const n of e)n.getBoundingClientRect().top-160<=0&&(t=n.id);return t})();r&&t(r,n)};let o=!1;const s=()=>{o||(o=!0,window.requestAnimationFrame(()=>{o=!1,r()}))};return window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("resize",s,{passive:!0}),r(),()=>{window.removeEventListener("scroll",s),window.removeEventListener("resize",s)}})(i,e);e.addEventListener("click",n=>{const r=n.target;if(!(r instanceof HTMLElement))return;const o=r.closest('a[href^="#"]');if(!o)return;const s=o.getAttribute("href")?.slice(1);s&&t(s,e)}),e.addEventListener("hs-toc-destroy",()=>{l()}),e.dataset.ready="true"},n=()=>{document.querySelectorAll("nav.hs-toc[data-start-level]").forEach(e)};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):n()})();
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.