jQuery(document).ready(function(o){o("form#login_form").on("submit",function(a){o("#loginSubmit .fal").removeClass("fa-user").addClass("fa-spinner-third fa-spin"),o("form#login_form div.status").removeClass(function(a,o){return(o.match(/(^|\s)alert-\S+/g)||[]).join(" ")}),o("form#login_form div.status").show().text(ajax_login_object.loadingmessage).addClass(ajax_login_object.class),o.ajax({type:"POST",dataType:"json",url:ajax_login_object.ajaxurl,data:{action:"ajaxlogin",username:o("form#login_form #username").val(),password:o("form#login_form #password").val(),security:o("form#login_form #security").val(),"g-recaptcha-response":o("form#login_form .g-recaptcha-response").val()},success:function(a){o("form#login_form div.status").removeClass(function(a,o){return(o.match(/(^|\s)alert-\S+/g)||[]).join(" ")}),o("#loginSubmit .fal").removeClass("fa-spinner-third fa-spin").addClass("fa-user"),o("form#login_form div.status").text(a.message).addClass(a.class),1==a.loggedin?document.location.href=ajax_login_object.redirecturl:o("form#login_form .g-recaptcha-response")[0]&&grecaptcha.reset()}}),a.preventDefault()})});