PageSourceSearch

https://www.picussecurity.com/hubfs/hub_generated/module_assets/1/…/1768561090258/module_glossary-toc.min.js

js picussecurity.com collected 2026-09-24 08:48:44 UTC 1,941 bytes, 2 lines download raw bytes

1var module_115636353426=function(){const h2Elements=document.querySelectorAll(".blog-post__body h2"),tocContainer=document.getElementById("table-of-contents"),tocList=document.createElement("ul");let header=document.querySelector(".header"),_body=document.querySelector("body"),headerHeight=header.offsetHeight,display_toc=!0;0==h2Elements.length&&(display_toc=!1);const isDesktop=window.innerWidth>=1025;isDesktop||(display_toc=!1),isDesktop&&(h2Elements.forEach((h2,index)=>{const h2Text=h2.innerText;if(h2Text.length<=0)return;const h2Id=`${h2Text.replace(/\s+/g,"-").toLowerCase()}`;h2.id=h2Id;const tocItem=document.createElement("li"),tocLink=document.createElement("a");tocLink.href=`#${h2Id}`,tocLink.innerText=h2Text,tocLink.addEventListener("click",e=>{e.preventDefault(),console.log("clicked"),console.log("resetActiveElements"),document.querySelectorAll("div#table-of-contents li").forEach(link=>{link.classList.remove("active")}),console.log("ADD active"),e.target.parentElement.classList.add("active");const targetElement=document.getElementById(h2Id);history.replaceState(null,null,`#${h2Id}`),window.scrollTo({top:targetElement.getBoundingClientRect().top+window.pageYOffset-headerHeight,behavior:"smooth"})}),tocItem.appendChild(tocLink),tocList.appendChild(tocItem)}),tocContainer.appendChild(tocList)),display_toc?(console.log("display toc."),window.addEventListener("DOMContentLoaded",function(){const targetId=window.location.hash.substring(1);if(targetId){const targetElement=document.getElementById(targetId);targetElement&&setTimeout(()=>{window.scrollTo({top:targetElement.getBoundingClientRect().top+window.pageYOffset-headerHeight,behavior:"smooth"})},1500)}})):(console.log("hide toc."),tocContainer.classList.add("hidden"),_body.classList.add("no-toc"))}();
2//# sourceURL=https://7048931.fs1.hubspotusercontent-na1.net/hubfs/7048931/hub_generated/module_assets/1/115636353426/1768561090258/module_glossary-toc.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.