1const tab_trigger_el=document.querySelectorAll("[go-to-tab]");for(var i=0;i<tab_trigger_el.length;i++)tab_trigger_el[i].addEventListener("click",function(){go_to_tab(this.getAttribute("go-to-tab"))});function go_to_tab(id){const tab_target=document.getElementById(id);if(tab_target){const component=tab_target.closest(".tabs"),buttons=component.querySelectorAll(".tabs__btn"),tabs=component.querySelectorAll(".tabs__tab"),button_target=component.querySelectorAll('.tabs__btn[go-to-tab="'+id+'"]'),button_inactive_class=component.getAttribute("data-tabs-inactive").split(" "),button_active_class=component.getAttribute("data-tabs-active").split(" ");for(component.classList.add("tabs--active"),i=0;i<tabs.length;i++)tabs[i].classList.remove("tabs__tab--active");for(tab_target.classList.add("tabs__tab--active"),i=0;i<buttons.length;i++){for(buttons[i].classList.remove("tabs__btn--active"),n=0;n<button_active_class.length;n++)buttons[i].classList.remove(button_active_class[n]);for(n=0;n<button_inactive_class.length;n++)buttons[i].classList.add(button_inactive_class[n])}for(i=0;i<button_target.length;i++){for(button_target[i].classList.add("tabs__btn--active"),n=0;n<button_inactive_class.length;n++)button_target[i].classList.remove(button_inactive_class[n]);for(n=0;n<button_active_class.length;n++)button_target[i].classList.add(button_active_class[n]);if(window.innerWidth<act.sm){const scroll_where=act.getOffsetTop(button_target[1])-act.scroll_offset.get();window.scroll({top:scroll_where,left:0,behavior:"smooth"})}}}} 2//# sourceURL=https://2597094.fs1.hubspotusercontent-na1.net/hubfs/2597094/hub_generated/template_assets/1/212746129804/1789045783248/template_tabs.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.