1!function(){const animatedClasses=[100,200,300,400,500,600,700,800,900],sections=document.querySelectorAll(".dnd-section");for(const section of sections){section.querySelectorAll(".dnd-row").forEach((element,index)=>{element.parentElement.classList.contains("active")||element.parentElement.classList.add("active"),element.classList.add("animated",`animate-${index+1}00`)})}const animatable=document.querySelectorAll(".animated"),observer=new IntersectionObserver((entries,observer)=>{entries.forEach(entry=>{entry.isIntersecting&&(animatedClasses.forEach((delay,index)=>{entry.target.classList.contains(`animate-${delay}`)&&entry.target.classList.add(`animated-${delay}`)}),observer.unobserve(entry.target))})},{root:null,threshold:0,rootMargin:"0px"});animatable.forEach(section=>{observer.observe(section)})}(),function(){if(window.hsInEditor)return;const sizeToTailwind={8:"text-[0.5rem]!",10:"text-[0.625rem]!",12:"text-xs!",14:"text-sm!",16:"text-base!",18:"text-lg!",20:"text-xl!",24:["sm:text-2xl!","text-xl!"],30:["sm:text-3xl!","text-2xl!"],36:["sm:text-4xl!","text-3xl!"],48:["sm:text-5xl!","text-4xl!"],60:["sm:text-6xl!","text-5xl!"],72:["sm:text-7xl!","text-6xl!"]};document.querySelectorAll('.hs_cos_wrapper_type_rich_text [style*="font-size"]').forEach(el=>{const pxValue=el.style.fontSize;if(pxValue&&pxValue.includes("px")){const size=parseFloat(pxValue),tailwindClass=sizeToTailwind[size];Array.isArray(tailwindClass)?el.classList.add(...tailwindClass,"rich-text-font-size"):el.classList.add(tailwindClass,"rich-text-font-size"),el.style.removeProperty("font-size")}})}(),function(){const btn=document.querySelector(".js-blog-copy-link");function showCopiedFeedback(){const label=btn.getAttribute("aria-label");btn.setAttribute("aria-label","Link copied"),btn.classList.add("bg-purple-light"),setTimeout(()=>{btn.setAttribute("aria-label",label),btn.classList.remove("bg-purple-light")},1500)}btn&&btn.addEventListener("click",()=>{const url=btn.getAttribute("data-url")||window.location.href;if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(url).then(showCopiedFeedback);else{const input=document.createElement("input");input.value=url,document.body.appendChild(input),input.select(),document.execCommand("copy"),document.body.removeChild(input),showCopiedFeedback()}})}(),function(){const preview=document.querySelector(".js-blog-gated-preview");if(!preview)return;const content=preview.querySelector(".js-blog-gated-preview__content");if(content&&(clipPreview(),preview.querySelectorAll("img").forEach(img=>{img.complete||img.addEventListener("load",clipPreview,{once:!0})}),"undefined"!=typeof ResizeObserver)){new ResizeObserver(clipPreview).observe(content)}function clipPreview(){const wordLimit=parseInt(preview.dataset.previewWords,10),totalWords=(content.textContent||"").trim().split(/\s+/).filter(Boolean).length;if(!totalWords)return;const ratio=wordLimit>0?Math.min(wordLimit/totalWords,1):.5;preview.style.maxHeight=Math.ceil(content.scrollHeight*ratio)+"px"}}(); 2//# sourceURL=https://242978186.fs1.hubspotusercontent-na2.net/hubfs/242978186/hub_generated/template_assets/1/317176091372/1790790852186/template_app.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.