PageSourceSearch

https://katapult.com/wp-content/themes/katapult/library/dist/js/custom.js?ver=6ab577571da7d

js katapult.com collected 2026-09-24 19:26:23 UTC 1,097 bytes, 32 lines download raw bytes

1jQuery(document).ready(function() { 
2 
3    var HeroModalApp = (function() {
4        var closeModalButton = document.querySelector(".button-primary--got-it");
5        var modal = document.getElementById("modal-hero_mba");
6
7        if( !modal || !closeModalButton ) { return; }
8  
9        closeModalButton.setAttribute("data-dismiss", "modal");
10
11        function closeModalOnResize() {
12            if (window.innerWidth < 768 && modal && modal.classList.contains("in")) {
13                modal.classList.remove("in");
14                modal.style.display = "none";
15                const backdrop = document.querySelector(".modal-backdrop");
16                if (backdrop) {
17                    backdrop.remove();
18                }
19            }
20        }
21
22        window.addEventListener("resize", closeModalOnResize);
23
24        jQuery('.btn-open-modal-trigger a.button-primary, .btn-open-modal-trigger button').on('click', function(e) {
25            e.stopPropagation();
26            e.preventDefault();
27            jQuery('.hero-modal-sec .btn-open-modal').trigger('click');
28        });
29
30    })();
31
32});

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.