1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1292],{4449:(e,t,l)=>{l.d(t,{G:()=>n.GP});var n=l(75150)},78911:(e,t,l)=>{l.d(t,{exportTableToPDF:()=>d,printHtmlAsPdf:()=>s});var n=l(88288),i=l(36941),a=l(4449),o=l(33887);let r={headerBg:[30,41,59],headerText:[255,255,255],altRow:[241,245,249],textDark:[15,23,42],textMuted:[100,116,139]};function d(e){let{title:t,subtitle:l,headers:o,rows:d,filename:s,organization:h,orientation:g="landscape",summary:m}=e;if(0===d.length)return;let p=new n.default({orientation:g,unit:"mm",format:"a4"}),x=p.internal.pageSize.getWidth(),c=15;if(p.setFillColor(...r.headerBg),p.rect(0,0,x,28,"F"),p.setTextColor(...r.headerText),p.setFontSize(16),p.setFont("helvetica","bold"),p.text("Sentinel by NetNeural",14,12),p.setFontSize(9),p.setFont("helvetica","normal"),p.text(`Generated ${(0,a.G)(new Date,"MMMM d, yyyy \xb7 h:mm a")}`,x-14,12,{align:"right"}),h&&p.text(h,x-14,18,{align:"right"}),c=36,p.setTextColor(...r.textDark),p.setFontSize(14),p.setFont("helvetica","bold"),p.text(t,14,c),c+=6,l&&(p.setFontSize(9),p.setFont("helvetica","normal"),p.setTextColor(...r.textMuted),p.text(l,14,c),c+=5),m&&m.length>0){c+=2,p.setFontSize(9);let e=(x-28)/Math.min(m.length,5);m.forEach((t,l)=>{let n=14+l*e;p.setFont("helvetica","normal"),p.setTextColor(...r.textMuted),p.text(t.label,n,c),p.setFont("helvetica","bold"),p.setTextColor(...r.textDark),p.text(t.value,n,c+4.5)}),c+=12}(0,i.default)(p,{startY:c,head:[o],body:d,theme:"grid",headStyles:{fillColor:r.headerBg,textColor:r.headerText,fontSize:8,fontStyle:"bold",halign:"left",cellPadding:3},bodyStyles:{fontSize:7.5,textColor:r.textDark,cellPadding:2.5,lineColor:[226,232,240],lineWidth:.1},alternateRowStyles:{fillColor:r.altRow},margin:{left:14,right:14},didDrawPage:e=>{let t=p.internal.getNumberOfPages(),l=e.pageNumber;p.setFontSize(7),p.setTextColor(...r.textMuted),p.text(`Page ${l} of ${t}`,x/2,p.internal.pageSize.getHeight()-8,{align:"center"}),p.text("Sentinel by NetNeural â Confidential",14,p.internal.pageSize.getHeight()-8)}});let f=p.lastAutoTable?.finalY??c+20;f<p.internal.pageSize.getHeight()-20&&(p.setFontSize(8),p.setTextColor(...r.textMuted),p.text(`Total rows: ${d.length}`,14,f+6)),p.save(`${s}-${(0,a.G)(new Date,"yyyy-MM-dd-HHmmss")}.pdf`)}function s(e,t,l){let n=`nn-pdf-${Date.now()}`,i=document.title,a=document.createElement("style");a.id=`${n}-style`,a.textContent=`@media print { 2 body > *:not(#${n}) { display: none !important; visibility: hidden !important; } 3 #${n} { display: block !important; visibility: visible !important; } 4 @page { margin: 1.5cm; size: A4; } 5} 6#${n} { 7 display: none; 8 font-family: Arial, Helvetica, sans-serif; 9 padding: 20px; color: #1e293b; 10} 11#${n} table { border-collapse: collapse; width: 100%; } 12#${n} td, #${n} th { padding: 6px 10px; border: 1px solid #e2e8f0; } 13#${n} th { background: #1e293b; color: white; text-align: left; } 14#${n} img { max-width: 100%; }`;let r=document.createElement("div");r.id=n,r.innerHTML=(0,o.p)(e),document.head.appendChild(a),document.body.appendChild(r);let d=!1,s=()=>{d||(d=!0,window.removeEventListener("afterprint",h),document.title=i,a.remove(),r.remove(),l?.())},h=()=>s();window.addEventListener("afterprint",h);let g=setTimeout(()=>s(),3e4);window.addEventListener("afterprint",()=>clearTimeout(g),{once:!0}),setTimeout(()=>{document.title=t,window.print()},100)}}}]);
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.