1jQuery(document).ready(function($){$('.wpmega-user-login-form').on('click',function(e){$(this).find('.wpmm-login-form').addClass('wpmm_show_form');$('form#wpmm_login').show();$('form#wpmm_register').hide()});$('.wpmega-user-register-form').on('click',function(){$(this).find('.wpmm-login-form').addClass('wpmm_show_form');$('form#wpmm_register').show();$('form#wpmm_login').hide()});$(document).on('click','.wpmm_login_overlay, .close',function(){$('.ajax-auth').fadeOut();$('.wpmm-login-form').removeClass('wpmm_show_form')});$('form#wpmm_login, form#wpmm_register').on('submit',function(e){if(!$(this).valid())return!1;$('p.status',this).show().text(wp_megamenu_ajax_auth_object.loadingmessage);action='ajaxlogin';username=$('form#wpmm_login #username').val();password=$('form#wpmm_login #password').val();email='';security=$('form#wpmm_login #security').val();if($(this).attr('id')=='wpmm_register'){action='ajaxregister';username=$('#signonname').val();password=$('#signonpassword').val();email=$('#email').val();security=$('#signonsecurity').val()} 2ctrl=$(this);$.ajax({type:'POST',dataType:'json',url:wp_megamenu_ajax_auth_object.ajaxurl,data:{'action':action,'username':username,'password':password,'email':email,'security':security},success:function(data){$('p.status',ctrl).text(data.message);if(data.loggedin==!0){document.location.href=wp_megamenu_ajax_auth_object.redirecturl}}});e.preventDefault()});if(jQuery("#wpmm_register").length) 3jQuery("#wpmm_register").validate({rules:{password2:{equalTo:'#signonpassword'}}});else if(jQuery("#wpmm_login").length) 4jQuery("#wpmm_login").validate()})
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.