PageSourceSearch

https://tactiv.net/hubfs/hub_generated/template_assets/1/266102584779/1791445119439/template_main.min.js

js tactiv.net collected 2026-10-09 23:28:57 UTC 3,402 bytes, 2 lines download raw bytes

1if(function(){document.querySelector(".header__navigation");var callback,langSwitcher=document.querySelector(".header__language-switcher"),allToggles=(document.querySelector(".header__search"),document.querySelectorAll(".header--toggle")),navToggle=document.querySelector(".header__navigation--toggle"),langToggle=document.querySelector(".header__language-switcher--toggle"),closeToggle=(document.querySelector(".header__search--toggle"),document.querySelector(".header__close--toggle")),allElements=document.querySelectorAll(".header--element, .header--toggle"),emailGlobalUnsub=document.querySelector('input[name="globalunsub"]');function toggleNav(){allToggles.forEach(function(toggle){toggle.classList.toggle("hide")}),$(".header__navigation").slideToggle(300),navToggle.classList.toggle("open"),closeToggle.classList.toggle("show")}function toggleLang(){allToggles.forEach(function(toggle){toggle.classList.toggle("hide")}),langSwitcher.classList.toggle("open"),langToggle.classList.toggle("open"),closeToggle.classList.toggle("show")}function closeAll(){allElements.forEach(function(element){element.classList.remove("hide","open")}),closeToggle.classList.remove("show")}function toggleDisabled(){document.querySelectorAll("#email-prefs-form .item").forEach(function(item){var emailSubItemInput=item.querySelector("input");emailGlobalUnsub.checked?(item.classList.add("disabled"),emailSubItemInput.setAttribute("disabled","disabled"),emailSubItemInput.checked=!1):(item.classList.remove("disabled"),emailSubItemInput.removeAttribute("disabled"))})}callback=function(){document.body&&(langSwitcher&&langToggle.addEventListener("click",toggleLang),navToggle&&navToggle.addEventListener("click",toggleNav),closeToggle&&closeToggle.addEventListener("click",closeAll),emailGlobalUnsub&&emailGlobalUnsub.addEventListener("change",toggleDisabled))},["interactive","complete"].indexOf(document.readyState)>=0?callback():document.addEventListener("DOMContentLoaded",callback)}(),$.fn.inViewport=function(cb){return this.each(function(i,el){function visPx(){var elH=$(el).outerHeight(),H=$(window).height(),r=el.getBoundingClientRect(),t=r.top,b=r.bottom;return cb.call(el,Math.max(0,t>0?Math.min(elH,H-t):Math.min(b,H)))}visPx(),$(window).on("resize scroll",visPx)})},$("[data-animation]").length){var delay=0;$("[data-animation]").each(function(index,element){$(element).inViewport(function(px){if(px>0){let $el=$(element),animation=$el.data("animation")||"fadeIn";$el.hasClass("animated")||(setTimeout(function(){element.classList.add("animated",animation)},delay),delay+=100)}else delay=0})})}$(function(){$(".postListing__itemInfo h4").matchHeight({byRow:!0,property:"height"}),$('a[href^="#"]:not(.playBtn, .inlineVideo__popup, .popupForm)').on("click",function(e){e.preventDefault();const target=$(this).attr("href");$(target).length&&$("html, body").animate({scrollTop:$(target).offset().top},1e3)}),$(window).scroll(function(){$(window).scrollTop()>0?$("body").addClass("page-scrolled"):$("body").removeClass("page-scrolled")})}),$(document).on("mfpOpen",function(){$.magnificPopup.instance.content.find(".hs-form").length&&$("html, body").addClass("no-scroll")}),$(document).on("mfpClose",function(){$("html, body").removeClass("no-scroll")});
2//# sourceURL=https://20296568.fs1.hubspotusercontent-ap1.net/hubfs/20296568/hub_generated/template_assets/1/266102584779/1791445119439/template_main.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.