1var module_213814365066=(function(){function dmInitHeader(){var header=document.querySelector(".header_sec");if(header){var inner=header.querySelector(".header_inner"),burger=header.querySelector(".menuTrigger"),srcMenu=header.querySelector(".header_menu");syncHeights(),window.addEventListener("resize",syncHeights,{passive:!0}),window.addEventListener("load",syncHeights),header.addEventListener("transitionend",syncHeights);var onScroll=function(){window.pageYOffset>=100?header.classList.add("head_sticky"):header.classList.remove("head_sticky"),syncHeights()};if(window.addEventListener("scroll",onScroll,{passive:!0}),onScroll(),burger&&srcMenu){var drawer=document.getElementById("sqedMnav");if(!drawer){(drawer=document.createElement("div")).className="sqed-mnav",drawer.id="sqedMnav",drawer.setAttribute("aria-hidden","true");var inner2=document.createElement("div");inner2.className="sqed-mnav__inner",inner2.innerHTML=srcMenu.innerHTML,drawer.appendChild(inner2),document.body.appendChild(drawer),drawer.querySelectorAll(".hs-item-has-children").forEach(function(li){var link=li.querySelector(":scope > a");if(link){var caret=document.createElement("span");caret.className="childTrigger",link.insertAdjacentElement("afterend",caret),caret.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation();var willOpen=!li.classList.contains("child-open"),siblings=li.parentNode?li.parentNode.children:[];Array.prototype.forEach.call(siblings,function(sib){if(sib!==li){sib.classList.remove("child-open");var sc=sib.querySelector(":scope > .childTrigger");sc&&sc.classList.remove("child-open")}}),li.classList.toggle("child-open",willOpen),caret.classList.toggle("child-open",willOpen)})}}),drawer.querySelectorAll("a[href]").forEach(function(a){a.addEventListener("click",function(){var h=a.getAttribute("href");h&&"#"!==h&&closeDrawer()})})}burger.addEventListener("click",function(e){e.preventDefault(),drawer.classList.contains("is-open")?closeDrawer():(syncHeights(),drawer.classList.add("is-open"),drawer.setAttribute("aria-hidden","false"),document.body.classList.add("mobile-open"),document.documentElement.classList.add("sqed-noscroll"),burger&&burger.setAttribute("aria-expanded","true"))});var mq=window.matchMedia("(min-width: 992px)"),onMQ=function(ev){ev.matches&&closeDrawer()};mq.addEventListener?mq.addEventListener("change",onMQ):mq.addListener&&mq.addListener(onMQ)}}function syncHeights(){var h=Math.round(header.getBoundingClientRect().height)||72;header.style.setProperty("--sqed-drop-top",(inner?Math.round(inner.getBoundingClientRect().height):h)+"px"),document.documentElement.style.setProperty("--sqed-hdr-h",h+"px")}function closeDrawer(){drawer.classList.remove("is-open"),drawer.setAttribute("aria-hidden","true"),document.body.classList.remove("mobile-open"),document.documentElement.classList.remove("sqed-noscroll"),burger&&burger.setAttribute("aria-expanded","false"),drawer.querySelectorAll(".child-open").forEach(function(el){el.classList.remove("child-open")})}}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",dmInitHeader):dmInitHeader()}(),$(function(){var cUrl=window.location.href;$(".header_menu ul li.hs-menu-item a").each(function(){$(this).attr("href")==cUrl&&$(this).parent("li").addClass("is-active")}),$(".hs-menu-children-wrapper a.headlist_link").each(function(){$(this).attr("href")==cUrl&&$(this).parent().addClass("is-active")}),$(".headmenu_lf, .headlist_col").hasClass("is-active")&&$(".headmenu_lf.is-active, .headlist_col.is-active").parents(".hs-item-has-children").addClass("is-active-branch")}),void function(){var canvas=document.getElementById("sqedHeaderCanvas");if(canvas)if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){var imgEl=canvas.closest(".header_sec").querySelector("[data-sqed-bg]");imgEl&&(canvas.style.backgroundImage="url("+imgEl.src+")",canvas.style.backgroundSize="cover",canvas.style.backgroundPosition="center")}else{var header=canvas.closest(".header_sec"),ctx=canvas.getContext("2d"),W=0,H=0,rafId=null,running=!1,tick=0,bgImg=null,imgSrc=header.querySelector("[data-sqed-bg]");imgSrc&&((bgImg=new Image).src=imgSrc.src);var N_STARS=180,stars=[];
1new IntersectionObserver(function(entries){entries.forEach(function(entry){entry.isIntersecting?(running=!0,rafId=requestAnimationFrame(sqedHdrDraw)):(running=!1,rafId&&(cancelAnimationFrame(rafId),rafId=null))})},{threshold:.01}).observe(header),sqedHdrResize(),window.addEventListener("resize",sqedHdrResize,{passive:!0})}function sqedHdrResize(){var dpr=window.devicePixelRatio||1,r=header.getBoundingClientRect();W=r.width,H=r.height,canvas.width=W*dpr,canvas.height=H*dpr,ctx.setTransform(dpr,0,0,dpr,0,0),function(){stars=[];for(var i=0;i<N_STARS;i++)stars.push({angle:i/N_STARS*Math.PI*2+.3*Math.random(),speed:.18+.55*Math.random(),phase:Math.random(),bright:160+95*Math.random(),tail:4+22*Math.random()})}()}function sqedHdrDraw(){if(running){rafId=requestAnimationFrame(sqedHdrDraw);var t=++tick%480/480,vpX=.5*W,vpY=.52*H,SKY=.6*H,maxR=Math.sqrt(Math.pow(Math.max(vpX,W-vpX),2)+Math.pow(Math.max(vpY,H-vpY),2));ctx.clearRect(0,0,W,H),bgImg&&bgImg.complete&&ctx.drawImage(bgImg,0,0,W,H);var pulse=.13*Math.sin(2*Math.PI*t)+.06*Math.sin(4*Math.PI*t),colorShift=Math.sin(2*Math.PI*t+1),warmA=Math.max(0,Math.min(1,.08+.06*pulse+.04*colorShift)),gWarm=ctx.createRadialGradient(.72*W,.22*H,0,.72*W,.22*H,.55*W);gWarm.addColorStop(0,"rgba(255,140,58,"+warmA+")"),gWarm.addColorStop(1,"rgba(255,140,58,0)"),ctx.fillStyle=gWarm,ctx.fillRect(0,0,W,SKY);var coolA=Math.max(0,Math.min(1,.07+.05*pulse-.03*colorShift)),gCool=ctx.createRadialGradient(.2*W,.18*H,0,.2*W,.18*H,.5*W);gCool.addColorStop(0,"rgba(58,180,255,"+coolA+")"),gCool.addColorStop(1,"rgba(58,180,255,0)"),ctx.fillStyle=gCool,ctx.fillRect(0,0,W,SKY);for(var glowDefs=[{cx:.36*W,cy:.34*H,r:.19*W,speed:1,rC:200,bC:230,a:.22},{cx:.36*W,cy:.34*H,r:.12*W,speed:-1.5,rC:230,bC:180,a:.16}],gi=0;gi<glowDefs.length;gi++){var gd=glowDefs[gi],ang=2*Math.PI*t*gd.speed+gi*Math.PI,gx=gd.cx+gd.r*Math.cos(ang),gy=gd.cy+.85*gd.r*Math.sin(ang);if(!(gy>SKY)){var gG=ctx.createRadialGradient(gx,gy,0,gx,gy,.2*W);gG.addColorStop(0,"rgba("+gd.rC+",200,"+gd.bC+","+gd.a+")"),gG.addColorStop(1,"rgba("+gd.rC+",200,"+gd.bC+",0)"),ctx.fillStyle=gG,ctx.fillRect(0,0,W,SKY)}}for(var groundY=.63*H,y=groundY;y<H;y+=2){var rowT=(y-groundY)/(H-groundY),wave=.1*Math.sin(2*Math.PI*t*2.5+10*rowT),wave2=.05*Math.sin(2*Math.PI*t*3.5+6*rowT+1.2),shimmer=Math.max(0,wave+wave2);ctx.fillStyle="rgba(60,180,255,"+.18*shimmer+")",ctx.fillRect(0,y,W,2)}var beamX=W*(.5+.35*Math.sin(2*Math.PI*t*.8)),gBeam=ctx.createLinearGradient(beamX-.18*W,0,beamX+.18*W,0);gBeam.addColorStop(0,"rgba(80,180,255,0)"),gBeam.addColorStop(.5,"rgba(80,180,255,0.10)"),gBeam.addColorStop(1,"rgba(80,180,255,0)"),ctx.fillStyle=gBeam,ctx.fillRect(0,groundY,W,H-groundY);for(var si=0;si<stars.length;si++){var star=stars[si],prog=(t*star.speed+star.phase)%1,ease=Math.pow(prog,1.6),rNow=ease*maxR,rTail=Math.max(0,ease-star.tail/maxR*.9)*maxR,x1=vpX+Math.cos(star.angle)*rNow,y1=vpY+Math.sin(star.angle)*rNow,x0=vpX+Math.cos(star.angle)*rTail,y0=vpY+Math.sin(star.angle)*rTail;if(!(y1>SKY||y0>SKY||x1<0||x1>W||y1<0||y1>H)){var alpha=Math.min(1,star.bright/255*Math.min(1,3*prog)),lw=Math.max(.5,2.5*ease),rb=Math.round(star.bright*alpha),bb=Math.min(255,rb+30);ctx.beginPath(),ctx.moveTo(x0,y0),ctx.lineTo(x1,y1),ctx.strokeStyle="rgba("+rb+","+rb+","+bb+","+alpha+")",ctx.lineWidth=lw,ctx.stroke()}}}}}()); 2//# sourceURL=https://6153617.fs1.hubspotusercontent-na1.net/hubfs/6153617/hub_generated/module_assets/1/213814365066/1783515823871/module_New_Website_Header_Pulse.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.