text: (function(n){n&&(n.validator.addMethod("customUsername",function(t){return t===n('input[name="EmailAddress"]').val()?!0:!n.validator.methods.email.apply(this,arguments)},abp.localization.localize("RegisterFormUserNameInvalidMessage","Repairis")),n(document).ready(function(){n(".register-form").validate({errorElement:"span",errorClass:"text-danger",focusInvalid:!1,ignore:"",rules:{UserName:{required:!0,customUsername:!0}},highlight:function(t){n(t).closest(".form-group").addClass("has-error")},success:function(n){n.closest(".form-group").removeClass("has-error");n.remove()},submitHandler:function(n){n.submit()}})}))})(jQuery);