1(function($){__=wp.i18n.__;function resetToggle($button,show){$button.attr({'aria-label':show?__('Show password'):__('Hide password')}).find('.text').text(show?__('Show'):__('Hide')).end().find('.dashicons').removeClass(show?'dashicons-hidden':'dashicons-visibility').addClass(show?'dashicons-visibility':'dashicons-hidden');} 2$(document).ready(function(){$('body').on('click','button.mp-hide-pw',function(){var $button=$(this),$pass=$button.siblings('#user_pass');if(!$pass.length){$pass=$button.parent('div.mp-hide-pw').find('input');} 3if(!$pass.length){return;} 4if('password'===$pass.attr('type')){$pass.attr('type','text');resetToggle($button,false);}else{$pass.attr('type','password');resetToggle($button,true);}});if($('#mepro-login-hero').length){if($('#mepr_loginform').length){$("#user_login, #user_pass").on("input",function(){if($('#user_login').val().length>0&&$('#user_pass').val().length>0){$('#wp-submit').removeClass('disabled');}})}} 5const $usernameInput=$('#user_login');const $passwordInput=$('#user_pass');const $usernameLabel=$usernameInput.closest('.mp-form-row').find('label');const $passwordLabel=$passwordInput.closest('.mp-form-row').find('label');handleFormLabels(null,$usernameInput,$usernameLabel);handleFormLabels(null,$passwordInput,$passwordLabel);$usernameInput.on('keyup',function(event){handleFormLabels(event,$usernameInput,$usernameLabel);});$passwordInput.on('keyup',function(event){handleFormLabels(event,$passwordInput,$passwordLabel);});function handleFormLabels(event,input,label){if(input.val()===''){label.removeClass('active');}else{label.addClass('active');}}});})(jQuery);
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.