1function getCookie(name){const parts=("; "+document.cookie).split("; "+name+"=");return 2===parts.length?parts.pop().split(";").shift():null}function setCookie(name,value,days){const expires=new Date(Date.now()+864e5*days).toUTCString();document.cookie=`${name}=${value}; expires=${expires}; path=/; SameSite=Lax`}function showContent(){console.log("show"),document.getElementById("gate").style.display="none",document.body.style.overflow="auto",document.documentElement.style.overflow="auto"}gsap.registerPlugin(ScrollTrigger),document.addEventListener("DOMContentLoaded",function(){const header=document.querySelector("header");function checkScroll(){window.scrollY>50?header.classList.add("scrolled"):header.classList.remove("scrolled")}checkScroll(),window.addEventListener("scroll",checkScroll)}),document.querySelectorAll(".fancy-link").forEach(link=>{const underline=link.querySelector(".underline");link.addEventListener("mouseenter",()=>{gsap.fromTo(underline,{scaleX:1,transformOrigin:"right center"},{scaleX:0,duration:.3,ease:"power2.out",onComplete:()=>{gsap.to(underline,{scaleX:1,transformOrigin:"left center",duration:.3,ease:"power2.in"})}})})}),document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&(document.querySelectorAll(".hero video.hero-video-autoplay").forEach(function(v){v.paused&&v.play().catch(function(){})}),document.querySelectorAll("iframe").forEach(function(iframe){try{(iframe.contentDocument||iframe.contentWindow.document).querySelectorAll(".hero video.hero-video-autoplay").forEach(function(v){v.paused&&v.play().catch(function(){})})}catch(e){}}))}),document.addEventListener("DOMContentLoaded",function(){const gate=document.getElementById("gate");gate&&null!==gate.offsetParent?(document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden"):(document.body.style.overflow="",document.documentElement.style.overflow=""),getCookie("content_gate")&&showContent()}); 2//# sourceURL=https://148385621.fs1.hubspotusercontent-eu1.net/hubfs/148385621/hub_generated/template_assets/1/419766073532/1790250460993/template_diaceutics.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.