PageSourceSearch

https://lib.portalidea.com.br/js/min/accordion.min.js

js portalidea.com.br collected 2026-10-01 15:42:05 UTC 791 bytes, 1 lines download raw bytes

1const accordions=[...document.querySelectorAll(".accordion")];if(accordions&&accordions.length>0){let e=e=>{let t=e.parentNode,c=t.parentNode,i=e.nextElementSibling,o=i.scrollHeight,a=()=>{let e=c.querySelector(".accordion__item.active");null!==e&&(e.querySelector(".accordion__item__body").style.maxHeight="0px",e.classList.remove("active"))};t.classList.contains("active")?(t.classList.remove("active"),i.style.maxHeight="0px"):(a(),t.classList.add("active"),i.style.maxHeight=`${o}px`)};accordions.forEach(t=>{[...t.querySelectorAll(".accordion__item")].map(t=>{let c=t.querySelector(".accordion__item__action");if(t.classList.contains("active")){let i=t.querySelector(".accordion__item__body");i.style.maxHeight=`${i.scrollHeight}px`}c.addEventListener("click",function(t){e(this)})})})}

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.