PageSourceSearch

https://www.cognism.com/hubfs/hub_generated/module_assets/1/211377…/module_br26-interactive-pricing.min.js

js cognism.com collected 2026-09-24 15:22:19 UTC 2,259 bytes, 2 lines download raw bytes

1var module_211377010831=void document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".cog-pricing-mockup").forEach(function(module){var tabs=module.querySelectorAll(".cog-pricing-mockup__tab"),panels=module.querySelectorAll(".cog-pricing-mockup__panel"),tabLinks=module.querySelectorAll(".js-tab-link"),tabsShell=module.querySelector(".cog-pricing-mockup__tabs-shell");function cleanTarget(value){if(!value)return"";var valueString=String(value).trim();return-1!==valueString.indexOf("#")&&(valueString=valueString.split("#").pop()),valueString.replace("#","").trim()}function moveActiveTabIntoView(activeTab){if(tabsShell&&activeTab&&!(window.innerWidth>767)){var shellRect=tabsShell.getBoundingClientRect(),tabRect=activeTab.getBoundingClientRect(),targetScroll=tabsShell.scrollLeft+(tabRect.left-shellRect.left)-6;tabsShell.scrollTo({left:Math.max(targetScroll,0),behavior:"smooth"})}}function activateTab(target){if(!(target=cleanTarget(target)))return!1;var activeTab=null,hasMatchedPanel=!1;return tabs.forEach(function(item){var isMatch=cleanTarget(item.getAttribute("data-tab-target"))===target;item.classList.toggle("is-active",isMatch),item.setAttribute("aria-selected",isMatch?"true":"false"),isMatch&&(activeTab=item)}),panels.forEach(function(panel){var isMatch=cleanTarget(panel.getAttribute("data-tab-panel"))===target;panel.classList.toggle("is-active",isMatch),isMatch&&(hasMatchedPanel=!0)}),hasMatchedPanel&&moveActiveTabIntoView(activeTab),hasMatchedPanel}tabs.forEach(function(tab){tab.addEventListener("click",function(){activateTab(tab.getAttribute("data-tab-target"))})}),tabLinks.forEach(function(link){link.addEventListener("click",function(event){var moduleTop;activateTab(link.getAttribute("data-tab-link")||link.getAttribute("href"))&&(event.preventDefault(),moduleTop=module.getBoundingClientRect().top+window.pageYOffset-80,window.scrollTo({top:Math.max(moduleTop,0),behavior:"smooth"}))})});var defaultActiveTab=module.querySelector(".cog-pricing-mockup__tab.is-active");defaultActiveTab&&moveActiveTabIntoView(defaultActiveTab)})});
2//# sourceURL=https://2340453.fs1.hubspotusercontent-na1.net/hubfs/2340453/hub_generated/module_assets/1/211377010831/1790237806641/module_br26-interactive-pricing.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.