PageSourceSearch

https://www.naropa.edu/wp-content/themes/naropa-elementor-theme/in…/accordion/assets/main.js?ver=1.0.11

js naropa.edu collected 2026-10-01 10:35:00 UTC 1,053 bytes, 39 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function () {
2  const items = document.querySelectorAll(".epicd-accordion-item");
3
4  items.forEach(item => {
5      const title = item.querySelector(".epicd-tab-title");
6
7      title.addEventListener("click", function (e) {
8          e.preventDefault();
9
10          items.forEach(i => {
11              if (i !== item) {
12                  i.classList.remove("open");
13              }
14          });
15
16          item.classList.toggle("open");
17      });
18  });
19});
20
21document.addEventListener('DOMContentLoaded', function () {
22    const hash = window.location.hash.substring(1);
23    if (hash) {
24      const target = document.getElementById(hash);
25      if (target) {
26        const headerOffset = 150; 
27        const elementPosition = target.getBoundingClientRect().top;
28        const offsetPosition = elementPosition + window.pageYOffset - headerOffset;
29  
30        window.scrollTo({
31          top: offsetPosition,
32          behavior: 'smooth'
33        });
34  
35        target.classList.add('open');
36      }
37    }
38  });
39  

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.