1import{h as y}from"./hash-set-CXYJz-Gf.js";const a="â",g="+",l=300,h=new Set;function f(t,i,e){t.style.transition="",t.style.display=e?"":"none",t.style.height=e?"auto":"0",t.style.opacity=e?"1":"0",i&&(i.textContent=e?a:g)}function m(t,i){if(i){t.style.display="",t.style.height="0",t.style.opacity="0",t.offsetHeight,t.style.transition=`all ${l}ms ease`,requestAnimationFrame(()=>{t.style.height=`${t.scrollHeight}px`,t.style.opacity="1"});const e=s=>{s.propertyName==="height"&&(t.style.height="auto",t.style.transition="",t.removeEventListener("transitionend",e))};t.addEventListener("transitionend",e)}else{t.style.height=`${t.scrollHeight}px`,t.style.opacity="1",t.offsetHeight,t.style.transition=`all ${l}ms ease`,t.style.height="0",t.style.opacity="0";const e=s=>{s.propertyName==="height"&&(t.style.display="none",t.style.transition="",t.removeEventListener("transitionend",e))};t.addEventListener("transitionend",e)}}function v(t,i){const e=i??{},s=t.querySelector(".accordion-toggle"),r=t.querySelector(".multimedia-items");if(!s||!r)return;const c=t.querySelector(".toggle-icon"),n=e.hashKey??"";let o=n&&y.has(n)?!0:!!e.open;f(r,c,o);const d=()=>{o=!o,m(r,o),c&&(c.textContent=o?a:g),n&&(o?y.add(n):y.remove(n))};s.addEventListener("click",d),h.add({toggle:s,onClick:d})}function E(){for(const{toggle:t,onClick:i}of h)t.removeEventListener("click",i);h.clear()}export{E as destroy,v as initialize};
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.