PageSourceSearch

https://thealliance.ai/hubfs/hub_generated/template_assets/1/209904587431/1782165019263/template_child.min.js

js thealliance.ai collected 2026-09-24 09:17:34 UTC 6,029 bytes, 2 lines download raw bytes

1const parent=document.querySelector(".header .cst-humburger-icon");if(parent){const svgNS="http://www.w3.org/2000/svg",svg=document.createElementNS(svgNS,"svg");svg.setAttribute("focusable","false"),svg.setAttribute("preserveAspectRatio","xMidYMid meet"),svg.setAttribute("fill","currentColor"),svg.setAttribute("aria-hidden","true"),svg.setAttribute("width","20"),svg.setAttribute("height","20"),svg.setAttribute("viewBox","0 0 20 20"),svg.setAttribute("slot","toggle-icon");const path=document.createElementNS(svgNS,"path");path.setAttribute("d","M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z"),svg.appendChild(path),parent.appendChild(svg)}function updateHeight(){var bodyHeight=$(".header-wrapper").outerHeight(!0);$(".header-outer-wrapper").css("min-height",bodyHeight+"px")}document.addEventListener("DOMContentLoaded",function(){const section=document.querySelector(".primary-section");section&&!section.querySelector(".header_overlay")&&section.insertAdjacentHTML("beforeend",'<div class="header_overlay"></div>')}),document.addEventListener("click",function(e){if(e.target.matches(".header.cs-header .primary-section .header_overlay")){document.body.classList.remove("mobile-menu-open");const wrapper=document.querySelector(".header.cs-header .primary-section .page-center .container-wrapper");wrapper&&wrapper.classList.remove("mobile-open"),document.documentElement.classList.remove("menu_op")}}),document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll("li.hs-menu-depth-1.hs-item-has-children").forEach(li=>{let header=li.querySelector(":scope > .menu-item-header"),link=li.querySelector(":scope > a"),icon=li.querySelector(":scope > .menu-toggle-icon");!header&&link&&(header=document.createElement("div"),header.className="menu-item-header",li.insertBefore(header,link),header.appendChild(link),icon||(icon=document.createElement("span"),icon.className="menu-toggle-icon",icon.innerHTML='\n                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">\n                        <path d="M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z"/>\n                    </svg>\n                '),header.appendChild(icon));const submenu=li.querySelector(":scope > ul.hs-menu-children-wrapper");header&&submenu&&header.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation();const isOpen=submenu.classList.contains("open");document.querySelectorAll(".hs-menu-children-wrapper.open").forEach(el=>{el!==submenu&&el.classList.remove("open")}),document.querySelectorAll(".hs-menu-depth-1.active").forEach(el=>{el!==li&&el.classList.remove("active")}),document.querySelectorAll(".hs-menu-depth-1 > .menu-item-header a").forEach(a=>a.setAttribute("aria-expanded","false")),isOpen?(submenu.classList.remove("open"),li.classList.remove("active"),link&&link.setAttribute("aria-expanded","false")):(submenu.classList.add("open"),li.classList.add("active"),link&&link.setAttribute("aria-expanded","true"))})})}),$(document).ready(function(){var nav=$(".header-wrapper"),lastposition=0;$(window).scroll(function(){$(this).scrollTop()>1?nav.addClass("fixed"):nav.removeClass("fixed");var currentPosition=$(window).scrollTop();0==currentPosition?($(nav).removeClass("header-show"),$(nav).removeClass("header-hide")):($(window).scrollTop()>144&&$(nav).addClass("header-hide"),currentPosition>lastposition?($(nav).removeClass("header-show"),0):($(nav).removeClass("header-hide"),$(nav).addClass("header-show"))),lastposition=currentPosition})}),updateHeight(),$(window).on("resize",updateHeight),document.querySelectorAll(".header.cs-header .cst-humburger-icon").forEach(el=>{el.insertAdjacentHTML("beforeend",'\n    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 32 32" fill="currentColor" aria-hidden="true">\n      <path d="M17.4141 16L24 9.4141 22.5859 8 16 14.5859 9.4143 8 8 9.4141 14.5859 16 8 22.5859 9.4143 24 16 17.4141 22.5859 24 24 22.5859 17.4141 16z"></path>\n    </svg>\n  ')}),$(document).ready(function(){$(".page-btm-sec .btn_row a.hs-button, .page-btm-sec .btn_row a.hs-sec-btn").each(function(){var $this=$(this),text=$this.text();$this.empty(),$this.append("<span>"+text+"</span>"),$this.append('\n      <svg xmlns="http://www.w3.org/2000/svg" class="cds--card__cta c4d-ce--cta__icon" width="20" height="20" focusable="false" fill="currentColor" viewBox="0 0 32 32" aria-hidden="true">\n        <path d="M26,28H6a2.0027,2.0027,0,0,1-2-2V6A2.0027,2.0027,0,0,1,6,4H16V6H6V26H26V16h2V26A2.0027,2.0027,0,0,1,26,28Z"></path>\n        <path d="M20 2L20 4 26.586 4 18 12.586 19.414 14 28 5.414 28 12 30 12 30 2 20 2z"></path>\n      </svg>\n    ')})}),$(window).on("load",function(){$(".two-col-content.cm-two-col-home .btn_item a.hs-sec-btn").each(function(){var text=$(this).text();$(this).empty().append("<span>"+text+"</span>"),$(this).append('\n      <svg focusable="false" preserveAspectRatio="xMidYMid meet"\n        xmlns="http://www.w3.org/2000/svg" fill="currentColor"\n        aria-hidden="true" width="20" height="20" viewBox="0 0 20 20"\n        class="c4d--card__cta c4d-ce--cta__icon">\n        <path d="M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z"></path>\n      </svg>\n    ')})}),$(function(){$(".two-col-content.cm-join .flex_row .btn_item > a").append('\n    <svg focusable="false" preserveAspectRatio="xMidYMid meet"\n      xmlns="http://www.w3.org/2000/svg" fill="currentColor"\n      aria-hidden="true" width="20" height="20" viewBox="0 0 32 32"\n      class="c4d--card__cta c4d-ce--cta__icon">\n      \n      <path d="M26,28H6a2.0027,2.0027,0,0,1-2-2V6A2.0027,2.0027,0,0,1,6,4H16V6H6V26H26V16h2V26A2.0027,2.0027,0,0,1,26,28Z"></path>\n      <path d="M20 2L20 4 26.586 4 18 12.586 19.414 14 28 5.414 28 12 30 12 30 2 20 2z"></path>\n    \n    </svg>\n  ')});
2//# sourceURL=https://44725920.fs1.hubspotusercontent-na1.net/hubfs/44725920/hub_generated/template_assets/1/209904587431/1782165019263/template_child.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.