PageSourceSearch

https://www.radiologische-allianz.de/typo3conf/ext/bra_projectfile…/Frontend/assets/accordion.6cea3225.js

js radiologische-allianz.de collected 2026-10-05 04:46:17 UTC 1,462 bytes, 2 lines download raw bytes

1function p(){console.log("[loaded] accordion"),document.querySelectorAll(".accordion__button").forEach(i=>{i.addEventListener("click",r)}),window.addEventListener("load",d);function r(i){let n=this,t=n.parentElement.nextElementSibling,e=n.getAttribute("aria-expanded")==="true"||!1;if(n.setAttribute("aria-expanded",!e),n.setAttribute("aria-hidden",e),e)t.style.setProperty("--accordion-height","0px");else{const o=t.scrollHeight;t.style.setProperty("--accordion-height",`${o}px`)}n.parentElement.classList.toggle("accordion__header--open"),t.classList.toggle("accordion__panel--open")}function d(i){if(document.location.hash.length!==0){const n=document.location.hash,t=document.querySelector(n);if(!t)return;const e=t.closest(".accordion__button");if(e){const c=e.parentElement.nextElementSibling,a=c.scrollHeight;c.style.setProperty("--accordion-height",`${a}px`),e.setAttribute("aria-expanded",!0),e.setAttribute("aria-hidden",!1),e.parentElement.classList.add("accordion__header--open"),c.classList.add("accordion__panel--open");return}const o=t.closest(".accordion__panel");if(o){const c=o.previousElementSibling,a=c.querySelector(".accordion__button");if(a){const s=o.scrollHeight;o.style.setProperty("--accordion-height",`${s}px`),a.setAttribute("aria-expanded",!0),a.setAttribute("aria-hidden",!1),c.classList.add("accordion__header--open"),o.classList.add("accordion__panel--open")}}}}}export{p as init};
2//# sourceMappingURL=accordion.6cea3225.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.