1const o="preview-modal",l="template[data-preview-shell-template]",r=()=>document.getElementById(o),n=()=>document.querySelector(l),c=()=>{const e=r();if(!e)throw new Error(`preview: missing modal root "#${o}"`);if(e.childElementCount>0)return;const t=n();if(!t)throw new Error(`preview: missing modal shell template "${l}"`);e.replaceChildren(t.content.cloneNode(!0))};export{o as MODAL_ROOT_ID,c as ensureModalPreviewShell};
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.