PageSourceSearch

https://www.chorleybs.co.uk/scripts/components/ISA.92dae4cf.js

js chorleybs.co.uk collected 2026-10-04 07:50:53 UTC 1,174 bytes, 25 lines download raw bytes

1document.addEventListener("DOMContentLoaded", ()=>{
2    const accordionBtns = document.querySelectorAll(".accordion");
3    accordionBtns.forEach((accordion, index)=>{
4        accordion.onclick = function(ev) {
5            const isOpen = this.classList.toggle("is-open");
6            let content = this.nextElementSibling;
7            if (content) {
8                if (content.style.display === "block" && content.style.maxHeight) {
9                    content.style.display = "none";
10                    content.style.maxHeight = null;
11                    this.setAttribute("aria-expanded", "false");
12                } else {
13                    content.style.display = "block";
14                    content.style.maxHeight = content.scrollHeight + "px";
15                    this.setAttribute("aria-expanded", "true");
16                    this.blur();
17                    const firstFocusableElement = content.querySelector('p, a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])');
18                    if (firstFocusableElement) firstFocusableElement.focus();
19                }
20            }
21        };
22    });
23});
24
25//# sourceMappingURL=ISA.92dae4cf.js.map

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.