function OnClientFileUploaded(n,t){var r=t.get_fileInfo(),i,u;r.ErrorMessage!=null&&(i=t.get_row(),n._updateRowImage(i,"fail"),n._updateCancelButton(i),u='<div class="uploadError"><span class="error-text">'+r.ErrorMessage+'<\/span><span class="extra-message">Please remove the file and try again<\/span><\/div>',$(i).append(u))}function OnClientFileUploadFailed(n,t){t.set_handled(!0)}function OnClientValidationFailed(n,t){var u=t.get_fileName().substring(t.get_fileName().lastIndexOf("."),t.get_fileName().length),f=t.get_row(),i="",r;i=t.get_fileName().lastIndexOf(".")!=-1?n.get_allowedFileExtensions().split(",").indexOf(u)==-1?"The file you've selected is an invalid file extension. Please re-check your file's type against the allowed list.":"The file you've selected exceeds the Max File Size. Please re-check your file's size against the Max Size Limit.":"There was an issue uploading the selected file. If the error persists please contact a Website Administrator.";r='<div class="uploadError"><span class="error-text">'+i+'<\/span><span class="extra-message">Please remove the file and try again<\/span><\/div>';$(f).append(r)}function initHandyHint(n){$('[data-hint-id="'+n+'"]').length>0&&$('[data-hint-id="'+n+'"]').tooltip()}
