1function showNewsletterResponse(xhr) 2{success=(xhr.status===200&&xhr.responseText=='OK');message=xhr.responseText;if(message=='OK') 3{message="Email added successfully.";} 4panel=document.getElementById('nl-info-panel');if(panel&&message.length>0) 5{if(success) 6{panel.classList.remove('alert-danger');panel.classList.add('alert-success');} 7else 8{panel.classList.add('alert-danger');panel.classList.remove('alert-success');} 9let content='';if(success) 10content+='<i class="bi bi-check-circle-fill"></i> ';else 11content+='<i class="bi bi-exclamation-triangle-fill"></i><b> ERROR:</b> ';content+=message;panel.innerHTML=content;panel.classList.remove('collapse');panel.scrollIntoView();}}
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.