1import{r as e}from"./standalone-app-Bj-IdwrG.js";var t={openPrintWindow(t,n){let r=window.open();r.generateCanvas=e=>{let t=document.createElement(`canvas`),n=t.getContext(`2d`);return new Promise((i,a)=>{let o=document.createElement(`img`);o.onload=()=>{let e=r.document.createElement(`img`);return t.height=o.height,t.width=o.width,n.drawImage(o,0,0,o.width,o.height),e.src=t.toDataURL(),i(e)},o.onerror=()=>a(Error(`Image not loaded.`)),o.src=e})};let i=r.document.createElement(`div`);i.style.display=`flex`,i.style.maxWidth=`800px`,i.style.margin=`8px auto`,i.style.alignItems=`center`;let a=r.document.createElement(`div`);n.split(/<br\s*\/?>/i).forEach((e,t)=>{t>0&&a.appendChild(r.document.createElement(`br`)),a.appendChild(r.document.createTextNode(e))});let o=e.config.images.logos.default.light;r.generateCanvas(o).then(e=>{e.style.width=`180px`,e.style.height=`53px`,e.style.marginRight=`auto`,i.appendChild(e),i.appendChild(a)}),r.document.body.appendChild(i);let s=r.document.createElement(`div`);r.document.body.appendChild(s),Promise.all(t.map(e=>r.generateCanvas(e).then(e=>{e.style.width=`100%`,s.appendChild(e)}))).then(()=>{r.print()})}};export{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.