');e.output.push(c)}$(t).html(e.output.join("")),n.target.value=null}));var i=document.getElementById("alireview_file_upload_target");i&&i.addEventListener("dragover",(function(e){i.classList.add("dragging"),e.preventDefault()})),i&&i.addEventListener("dragleave",(function(e){e.preventDefault(),i.classList.remove("dragging")})),i&&i.addEventListener("drop",(function(n){n.preventDefault(),i.classList.remove("dragging");var r=n.dataTransfer.files;if(parseInt($("li",t).length+r.length)>5){var s=$(a).addClass("alireview_error_image error_file_count").css({display:"block","margin-bottom":"4px"});return s=$(s).text(o.warning_limit_attachments),0==$(".alireview_error_image.error_file_count").length&&$(s).insertAfter($("#alireview_file_upload_target")),!1}if(!r)return!1;if(!(window.File&&window.FileReader&&window.FileList&&window.Blob))return alert("The File APIs are not fully supported in this browser."),!1;for(var l=0;l x \n \n