PageSourceSearch

https://www.alta.org/js/site.js?1790907528739

js alta.org collected 2026-10-02 02:19:01 UTC 689 bytes, 21 lines download raw bytes

1document.addEventListener("DOMContentLoaded", () => {
2
3  const searchButton = document.querySelector(".site-search-trigger");
4  const buttonPressed = (e) => {
5    document.getElementsByClassName("site-search")[0].classList.toggle("open");
6    $('.site-search-form form').show();
7  };
8  if (searchButton) {
9    searchButton.addEventListener("click", buttonPressed);
10  }
11
12  // Accordion
13  const accordion = document.querySelectorAll(".accordion-group");
14
15  accordion.forEach((acc) => {
16    acc.addEventListener("click", (e) => {
17      if (!e.target.classList.contains("accordion__item__button")) return;
18      e.target.closest(".accordion__item").classList.toggle("show");
19    });
20  });
21});

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.