PageSourceSearch

https://www.baker.edu/wp-content/themes/bc-theme/dist/js/accordion.js?ver=1.4.22

js baker.edu collected 2026-10-02 03:12:31 UTC 1,573 bytes, 1 lines download raw bytes

1Array.from(document.querySelectorAll('[aria-controls*="accordion"]')).forEach((e=>{e.addEventListener("click",(()=>{!function(e){let t=document.getElementById("accordion");const r=e.getAttribute("aria-controls");let o="true";t&&(o=t.getAttribute("data-collapse-all")),e.closest(".is-style-tab-accordion")&&(t=e.closest(".is-style-tab-accordion"),o="false");const a="true"===document.getElementById(r).getAttribute("aria-expanded");if(!0===a&&"false"===o)return!1;"false"===o&&t?(t.querySelectorAll('[aria-selected="true"]').forEach((function(e){e.setAttribute("aria-selected","false")})),t.querySelectorAll('[aria-expanded="true"]').forEach((function(e){e.setAttribute("aria-expanded","false")}))):(document.querySelectorAll("[aria-controls="+r+"]").forEach((function(e){e.setAttribute("aria-selected","false")})),document.getElementById(r).setAttribute("aria-expanded","false")),a||(document.querySelectorAll("[aria-controls="+r+"]").forEach((function(e){e.setAttribute("aria-selected","true")})),document.getElementById(r).setAttribute("aria-expanded","true"),document.getElementById(r).querySelector(".wp-block-button__link")?.focus()),window.innerWidth<1024&&(e.scrollIntoView(),window.scrollTo(0,window.scrollY-document.querySelector(".main-header").clientHeight-20))}(e)}))})),window.innerWidth>1023&&document.querySelectorAll('[data-show-all-on-desktop="true"]').forEach((e=>{e.querySelectorAll("[aria-controls]").forEach((e=>{e.setAttribute("aria-selected","true")})),e.querySelectorAll(".accordion__item").forEach((e=>{e.setAttribute("aria-expanded","true")}))}));

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.