1import{ct as e,it as t,tt as n,vn as r}from"./CJOrt7RF.js";import{t as i}from"./Dbp03RRV2.js";var a=`details, .lightbox`,o=()=>{let{createAccordions:o}=i(),s=r(null),c=null,l=e=>{s.value=e.target.href||e.target.parentNode?.href||e.target.src,e.preventDefault()},u=()=>{document.querySelectorAll(`.lightbox`).forEach(e=>{e.addEventListener(`click`,l),e.removeAttribute(`target`),e.removeAttribute(`rel`)})},d=()=>{document.querySelectorAll(`.lightbox`).forEach(e=>{e.removeEventListener(`click`,l)})},f=()=>{o(),u()},p=e=>e.some(e=>[...e.addedNodes].some(e=>e.nodeType===Node.ELEMENT_NODE&&(e.matches(a)||e.querySelector(a))));return e(()=>{n(f),c=new MutationObserver(e=>{p(e)&&f()}),c.observe(document.body,{childList:!0,subtree:!0})}),t(()=>{c?.disconnect(),c=null,d()}),{modalImage:s}};export{o as t};
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.