1var module_137640532396=function(){const{addTOC:addTOC}=window.blogPostOptions||{},post=document.querySelector(".blog-post"),postInner=post?.querySelector(".blog-post__inner");if(addTOC&&postInner){const headings=document.querySelectorAll("#hs_cos_wrapper_post_body > h2");if(headings.length>0){const toc=document.createElement("nav");toc.className="blog-post__table-of-contents",toc.setAttribute("aria-label","Table of Contents");const list=document.createElement("ol"),tocHeading=document.createElement("h4");tocHeading.className="blog-post__toc-heading",tocHeading.innerText="Table Of Content",list.appendChild(tocHeading),headings.forEach(heading=>{heading.id||(heading.id=heading.innerText.toLowerCase().replace(/[^\w\s]/g,"").replace(/\s+/g,"-"));const li=document.createElement("li"),a=document.createElement("a");a.href=`#${heading.id}`,a.innerText=heading.innerText,li.appendChild(a),list.appendChild(li)}),toc.appendChild(list),postInner.insertAdjacentElement("afterbegin",toc);const setHeight=()=>{post.style.setProperty("--toc-height",`${list.clientHeight}px`)};setHeight(),window.addEventListener("resize",setHeight);const tocElements=document.querySelectorAll(".blog-post__table-of-contents ol li a"),setInactive=()=>{tocElements.forEach(item=>item.classList.remove("active"))};tocElements.forEach((item,index)=>{0===index&&item.classList.add("active"),item.addEventListener("click",event=>{setInactive(),event.target.classList.add("active")})})}}window.addEventListener("load",function(){const body=document.querySelector(".blog-post__table-of-contents ol");if(!body||document.getElementById("toc-hubspot-form"))return;const formWrapper=document.createElement("div");formWrapper.id="toc-hubspot-form",body.appendChild(formWrapper);const createForm=()=>{hbspt.forms.create({portalId:"8150749",formId:"29d527f7-977d-48f6-b83c-851856df291a",region:"na1",target:"#toc-hubspot-form"})};if(window.hbspt?.forms)createForm();else{const script=document.createElement("script");script.src="https://js.hsforms.net/forms/embed/v2.js",script.onload=createForm,document.head.appendChild(script)}})}(); 2//# sourceURL=https://8150749.fs1.hubspotusercontent-na1.net/hubfs/8150749/hub_generated/module_assets/1/137640532396/1782220230251/module_blog_post_options.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.