PageSourceSearch

https://www.thinslices.com/hubfs/hub_generated/module_assets/1/154…/1788436100890/module_sections-menu.min.js

js thinslices.com collected 2026-10-02 18:41:58 UTC 1,277 bytes, 2 lines download raw bytes

1var module_154747738149=function(){window.addEventListener("load",()=>{const e=document.querySelector("#section-menu"),t=document.querySelector("#section-menu-wrapper"),n=t.querySelector(".section-menu-placeholder"),o=document.querySelector(".js-ts-header"),r=e.querySelectorAll("[data-section]");let s,i;const d=()=>{s=o?o.offsetHeight:0,i=e.offsetHeight};d(),window.addEventListener("resize",d);const c=()=>{frameRendered||((()=>{const o=t.getBoundingClientRect().top;n.style.height=`${e.offsetHeight}px`,s>=o?(t.classList.add("is-fixed"),e.style.top=`${s}px`):(t.classList.remove("is-fixed"),e.style.removeProperty("top"));let d=null;r.forEach(e=>{const t=(e=>{const t=e.dataset.section;return document.querySelector(`#${t}`)})(e);if(!t)return;const n=Math.round(t.getBoundingClientRect().top);e.parentElement.classList.remove("is-active"),s+i>=n&&(d=e)}),d&&d.parentElement.classList.add("is-active")})(),frameRendered=!0),window.requestAnimationFrame(c)};window.requestAnimationFrame(c)});let scrollY=window.scrollY,frameRendered=!1;window.addEventListener("scroll",()=>{scrollY=window.scrollY,frameRendered=!1})}();
2//# sourceURL=https://3430683.fs1.hubspotusercontent-na1.net/hubfs/3430683/hub_generated/module_assets/1/154747738149/1788436100890/module_sections-menu.js

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.