1var module_417776768236=void document.addEventListener("DOMContentLoaded",function(){for(var e=document.getElementsByClassName("tabs-horizontal-module"),t=function(){var t=e[a],n=t.querySelector(".tabs-wrapper"),s=t.querySelectorAll(".tab"),i=t.querySelectorAll(".tab-button"),l=t.querySelector("select[name='tabs-buttons']"),o=t.getElementsByClassName("video-wrapper");function r(e){for(var t=0;t<s.length;t++)s[t].classList.remove("active"),s[t].dataset.index==e&&(s[t].classList.add("active"),n.style.height=s[t].offsetHeight+"px");for(var a=0;a<i.length;a++)i[a].classList.remove("active"),i[a].dataset.index==e&&i[a].classList.add("active");l&&(l.value=e)}for(var c=function(e){var t=o[e].getElementsByClassName("video-cover")[0],a=o[e].getElementsByTagName("iframe")[0],n=o[e].getElementsByTagName("video")[0];t&&t.addEventListener("click",function(){o[e].classList.add("playing"),a?a.src=a.dataset.src:n&&n.play()})},d=0;d<o.length;d++)c(d);for(var v=function(e){i[e].addEventListener("click",function(){r(i[e].dataset.index)})},u=0;u<i.length;u++)v(u);l&&l.addEventListener("change",function(){r(l.value)}),setTimeout(function(){r(1)},300)},a=0;a<e.length;a++)t()}); 2//# sourceURL=https://20136081.fs1.hubspotusercontent-eu1.net/hubfs/20136081/hub_generated/module_assets/1/417776768236/1790586402558/module_tabs-horizontal.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.