1document.addEventListener( 2 "wpcf7submit", 3 function (event) { 4 if (event.detail.status == "validation_failed") { 5 Swal.fire({ 6 title: "", 7 text: event.detail.apiResponse.message, 8 width: cf7windowWidth, 9 icon: "error", 10 showCloseButton: true, 11 timer: cf7simplePopupAutoClose, 12 timerProgressBar: true, 13 didOpen: () => { 14 Swal.showLoading(); 15 const b = Swal.getHtmlContainer().querySelector("b"); 16 timerInterval = setInterval(() => { 17 b.textContent = Swal.getTimerLeft(); 18 }, 100); 19 }, 20 willClose: () => { 21 clearInterval(timerInterval); 22 }, 23 }); 24 } else { 25 Swal.fire({ 26 title: "", 27 text: event.detail.apiResponse.message, 28 width: cf7windowWidth, 29 icon: "success", 30 showCloseButton: true, 31 timer: cf7simplePopupAutoClose, 32 timerProgressBar: true, 33 didOpen: () => { 34 Swal.showLoading(); 35 const b = Swal.getHtmlContainer().querySelector("b"); 36 timerInterval = setInterval(() => { 37 b.textContent = Swal.getTimerLeft(); 38 }, 100); 39 }, 40 willClose: () => { 41 clearInterval(timerInterval); 42 }, 43 }); 44 } 45 }, 46 false 47);
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.