Built motion from commit 9e1399f3.|2.5.37
[motion2.git] / server / services / email / lib / utils.js
index ac3c6a7..86bc95d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4e28=['_IMG','body','textAsHtml','<a\x20target=\x22_blank\x22\x20','message','originTo','originCc','bcc','attach','type','attachment','format','now','root','server/files/attachments/','writeFileSync','contentType','parser','from','inReplyTo','YYYY-MM-DD\x20HH:mm:ss','filter','application/ms-tnef','info','Email\x20message\x20%s\x20is\x20in\x20TNEF\x20format:\x20message\x20content\x20will\x20be\x20converted\x20by\x20the\x20system','messageId','parseBuffer','first','content','Attachments','Title','Data','gmail','imap.gmail.com','yahoo','imap.mail.yahoo.com','imap-mail.outlook.com','outlook365','outlook.office365.com','127.0.0.1','lodash','moment','randomstring','util','node-tnef','../../../config/logger','email','../../../config/environment','head','value','address','anonymous','generate','@xcally.com','name','split','length','slice','join','pop','isEmpty','test','html','includes','<img','attachments','forEach','push','filename','replace','_SRC'];(function(_0x1da8f5,_0xc052c4){var _0x2973a4=function(_0x260e37){while(--_0x260e37){_0x1da8f5['push'](_0x1da8f5['shift']());}};_0x2973a4(++_0xc052c4);}(_0x4e28,0x6f));var _0x84e2=function(_0x2de547,_0x1d68be){_0x2de547=_0x2de547-0x0;var _0x2dbd80=_0x4e28[_0x2de547];return _0x2dbd80;};'use strict';var _=require(_0x84e2('0x0'));var moment=require(_0x84e2('0x1'));var random=require(_0x84e2('0x2'));var fs=require('fs');var path=require('path');var util=require(_0x84e2('0x3'));var tnef=require(_0x84e2('0x4'));var logger=require(_0x84e2('0x5'))(_0x84e2('0x6'));var config=require(_0x84e2('0x7'));function getAddress(_0x3fa089){var _0x58f5bf=_[_0x84e2('0x8')](_0x3fa089[_0x84e2('0x9')]);return _0x58f5bf&&_0x58f5bf[_0x84e2('0xa')]?_0x58f5bf[_0x84e2('0xa')]:_0x84e2('0xb')+random[_0x84e2('0xc')](0x6)+_0x84e2('0xd');}function getFirstName(_0x535146){var _0x4b1220=_[_0x84e2('0x8')](_0x535146[_0x84e2('0x9')]);if(_0x4b1220&&_0x4b1220[_0x84e2('0xe')]){var _0x3e7458=_0x4b1220[_0x84e2('0xe')][_0x84e2('0xf')](/\s+/);return _0x3e7458[_0x84e2('0x10')]?_0x3e7458[_0x84e2('0x11')](0x0,-0x1)[_0x84e2('0x12')]('\x20'):_0x4b1220[_0x84e2('0xe')];}return'Anonymous';}function getLastName(_0x123eb6){var _0x2dd235=_[_0x84e2('0x8')](_0x123eb6['value']);if(_0x2dd235&&_0x2dd235[_0x84e2('0xe')]){var _0x16cfd1=_0x2dd235['name']['split'](/\s+/);return _0x16cfd1[_0x84e2('0x10')]>0x1?_0x16cfd1[_0x84e2('0x13')]():'';}return'';}function getMails(_0xa18fc6,_0x50bea3){var _0xa840a8='';for(var _0x189f38=0x0;_0x189f38<_0x50bea3[_0x84e2('0x9')]['length'];_0x189f38+=0x1){if(_0x50bea3[_0x84e2('0x9')][_0x189f38][_0x84e2('0xa')]!==_0xa18fc6){if(!_[_0x84e2('0x14')](_0xa840a8)){_0xa840a8+=',';}_0xa840a8+=_0x50bea3[_0x84e2('0x9')][_0x189f38][_0x84e2('0xe')]||_0x50bea3[_0x84e2('0x9')][_0x189f38][_0x84e2('0xa')]||'';_0xa840a8+='\x20<';_0xa840a8+=_0x50bea3[_0x84e2('0x9')][_0x189f38][_0x84e2('0xa')]?_0x50bea3[_0x84e2('0x9')][_0x189f38][_0x84e2('0xa')]:_0x84e2('0xb')+random[_0x84e2('0xc')](0x6)+'@xcally.com';_0xa840a8+='>';}}return _0xa840a8;}function parseEmail(_0x1b17f3,_0x5ecc31,_0x732843){if(_0x5ecc31['html']){var _0x16e307=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;while(_0x16e307[_0x84e2('0x15')](_0x5ecc31[_0x84e2('0x16')])){_0x5ecc31[_0x84e2('0x16')]=_0x5ecc31[_0x84e2('0x16')]['replace'](_0x16e307,'');}if(_0x5ecc31[_0x84e2('0x16')][_0x84e2('0x17')](_0x84e2('0x18'))){var _0xd8f3ef=[];_0x5ecc31[_0x84e2('0x19')][_0x84e2('0x1a')](_0x52cb93=>{_0xd8f3ef[_0x84e2('0x1b')](_0x52cb93[_0x84e2('0x1c')]);});var _0xa83103=/<img.*? _SRC(.*?)[^\>]+>/g;var _0x1214a0=/src=\"data:image\/([a-zA-Z]*);base64,([^\"]*)\"/g;var _0x5a57aa=_0x5ecc31['html'][_0x84e2('0x1d')](_0x1214a0,_0x84e2('0x1e'));var _0x29df65=_0x5a57aa[_0x84e2('0x1d')](_0xa83103,_0x84e2('0x1f'));for(let _0x253d04=0x0;_0x253d04<_0xd8f3ef[_0x84e2('0x10')];_0x253d04++){var _0x5931ec=_0x29df65[_0x84e2('0x1d')](_0x84e2('0x1f'),'<span\x20style=font-weight:bold>\x20[Attachment:\x20'+_0xd8f3ef[_0x253d04]+'\x20]</span>');_0x29df65=_0x5931ec;}_0x5ecc31[_0x84e2('0x16')]=_0x29df65;}_0x732843[_0x84e2('0x20')]=_0x5ecc31[_0x84e2('0x16')];}else{_0x732843[_0x84e2('0x20')]=_0x5ecc31[_0x84e2('0x21')];}if(_0x732843['body']){_0x732843[_0x84e2('0x20')]=_0x732843[_0x84e2('0x20')][_0x84e2('0x1d')](/<a\s+/gi,_0x84e2('0x22'));}if(_0x5ecc31['to']){_0x732843[_0x84e2('0x23')][_0x84e2('0x24')]=getMails(null,_0x5ecc31['to']);var _0x578981=getMails(_0x1b17f3[_0x84e2('0x6')],_0x5ecc31['to']);if(!_[_0x84e2('0x14')](_0x578981)){_0x732843['message']['cc']+=_0x578981;}}if(_0x5ecc31['cc']){_0x732843['message'][_0x84e2('0x25')]=getMails(null,_0x5ecc31['cc']);var _0x55ce4f=getMails(_0x1b17f3[_0x84e2('0x6')],_0x5ecc31['cc']);if(!_[_0x84e2('0x14')](_0x55ce4f)){if(!_['isEmpty'](_0x732843[_0x84e2('0x23')]['cc'])){_0x732843['message']['cc']+=',';}_0x732843[_0x84e2('0x23')]['cc']+=_0x55ce4f;}}if(!_[_0x84e2('0x17')](_0x732843[_0x84e2('0x23')][_0x84e2('0x24')],_0x1b17f3[_0x84e2('0x6')])&&!_[_0x84e2('0x17')](_0x732843['message']['originCc'],_0x1b17f3[_0x84e2('0x6')])){_0x732843[_0x84e2('0x23')][_0x84e2('0x26')]=_0x1b17f3[_0x84e2('0x6')];}if(_0x5ecc31[_0x84e2('0x19')]&&_0x5ecc31['attachments']['length']){_0x732843[_0x84e2('0x23')][_0x84e2('0x27')]=_0x5ecc31[_0x84e2('0x19')][_0x84e2('0x10')];for(var _0x39cbb4=0x0,_0x4916cb,_0x2eb389,_0x5adc6e;_0x39cbb4<_0x5ecc31[_0x84e2('0x19')][_0x84e2('0x10')];_0x39cbb4+=0x1){if(_0x5ecc31[_0x84e2('0x19')][_0x39cbb4][_0x84e2('0x28')]===_0x84e2('0x29')){_0x5adc6e=_0x5ecc31[_0x84e2('0x19')][_0x39cbb4][_0x84e2('0x1c')]||'attachment-'+_0x39cbb4;_0x4916cb=util[_0x84e2('0x2a')]('%s-%s',Date[_0x84e2('0x2b')](),_0x5adc6e);_0x2eb389=path[_0x84e2('0x12')](config[_0x84e2('0x2c')],_0x84e2('0x2d'),_0x4916cb);fs[_0x84e2('0x2e')](_0x2eb389,_0x5ecc31['attachments'][_0x39cbb4]['content']);_0x732843['message'][_0x84e2('0x19')][_0x84e2('0x1b')]({'name':_0x5adc6e,'basename':_0x4916cb,'type':_0x5ecc31[_0x84e2('0x19')][_0x39cbb4][_0x84e2('0x2f')],'filepath':_0x2eb389});}}}return _0x732843;}exports[_0x84e2('0x30')]=function(_0x9eb183,_0x1ba697,_0x79b719){var _0x35a0a7={'from':getAddress(_0x1ba697['from']),'firstName':getFirstName(_0x1ba697[_0x84e2('0x31')]),'lastName':getLastName(_0x1ba697['from']),'mapKey':_0x84e2('0x6'),'message':{'from':getMails(_0x9eb183[_0x84e2('0x6')],_0x1ba697['from']),'to':_0x9eb183[_0x84e2('0x6')],'cc':'','subject':_0x1ba697['subject']||'','messageId':_0x1ba697['messageId'],'inReplyTo':_0x1ba697[_0x84e2('0x32')],'sentAt':moment(_0x1ba697['date'])[_0x84e2('0x2a')](_0x84e2('0x33')),'attach':![],'attachments':[]}};if(!_0x1ba697[_0x84e2('0x16')]&&!_0x1ba697[_0x84e2('0x21')]){var _0x2df0b0=_[_0x84e2('0x34')](_0x1ba697[_0x84e2('0x19')],{'contentType':_0x84e2('0x35')});if(_0x2df0b0[_0x84e2('0x10')]){logger[_0x84e2('0x36')](util[_0x84e2('0x2a')](_0x84e2('0x37'),_0x1ba697[_0x84e2('0x38')]));tnef[_0x84e2('0x39')](_[_0x84e2('0x3a')](_0x2df0b0)[_0x84e2('0x3b')],function(_0x5c7916,_0x51fdb2){if(_0x51fdb2){_0x1ba697[_0x84e2('0x16')]=_0x51fdb2['BodyHTML']||'<p>Empty\x20message</p>';if(_0x51fdb2['Attachments']){for(var _0x3ee377=0x0;_0x3ee377<_0x51fdb2[_0x84e2('0x3c')][_0x84e2('0x10')];_0x3ee377++){var _0x12bc6a=_0x51fdb2[_0x84e2('0x3c')][_0x3ee377];_0x35a0a7[_0x84e2('0x23')]['attachments'][_0x84e2('0x1b')]({'filename':_0x12bc6a[_0x84e2('0x3d')],'content':new Buffer(_0x12bc6a[_0x84e2('0x3e')])});}}}_0x79b719(parseEmail(_0x9eb183,_0x1ba697,_0x35a0a7));});}else{_0x1ba697[_0x84e2('0x16')]='<p>Empty\x20message</p>';_0x79b719(parseEmail(_0x9eb183,_0x1ba697,_0x35a0a7));}}else{_0x79b719(parseEmail(_0x9eb183,_0x1ba697,_0x35a0a7));}};exports['getHost']=function(_0x278e9a){switch(_0x278e9a){case _0x84e2('0x3f'):return _0x84e2('0x40');case _0x84e2('0x41'):return _0x84e2('0x42');case'hotmail':return _0x84e2('0x43');case _0x84e2('0x44'):return _0x84e2('0x45');}return _0x84e2('0x46');};
\ No newline at end of file
+var _0x0a93=['contentType','headerLines','Auto-Submitted:\x20auto-replied','X-Auto-Response-Suppress:\x20All','line','isAutoreply','from','subject','messageId','inReplyTo','date','YYYY-MM-DD\x20HH:mm:ss','filter','application/ms-tnef','Email\x20message\x20%s\x20is\x20in\x20TNEF\x20format:\x20message\x20content\x20will\x20be\x20converted\x20by\x20the\x20system','first','content','BodyHTML','<p>Empty\x20message</p>','Attachments','Title','Data','getHost','yahoo','imap.mail.yahoo.com','hotmail','imap-mail.outlook.com','outlook365','outlook.office365.com','127.0.0.1','lodash','moment','randomstring','util','node-tnef','../../../config/logger','email','address','@xcally.com','value','name','substring','indexOf','split','length','slice','join','Anonymous','head','pop','isEmpty','anonymous','generate','html','test','includes','forEach','push','filename','replace','_SRC','_IMG','\x20]</span>','body','textAsHtml','<a\x20target=\x22_blank\x22\x20','message','bcc','attachments','attach','type','format','%s-%s','now','root','writeFileSync'];(function(_0x209941,_0x5c9988){var _0x1e8729=function(_0x51a9b8){while(--_0x51a9b8){_0x209941['push'](_0x209941['shift']());}};_0x1e8729(++_0x5c9988);}(_0x0a93,0x6a));var _0x30a9=function(_0x321180,_0x1c5f6c){_0x321180=_0x321180-0x0;var _0x4a5869=_0x0a93[_0x321180];return _0x4a5869;};'use strict';var _=require(_0x30a9('0x0'));var moment=require(_0x30a9('0x1'));var random=require(_0x30a9('0x2'));var fs=require('fs');var path=require('path');var util=require(_0x30a9('0x3'));var tnef=require(_0x30a9('0x4'));var logger=require(_0x30a9('0x5'))(_0x30a9('0x6'));var config=require('../../../config/environment');function getAddress(_0x53e03b){var _0x54321d=_['head'](_0x53e03b['value']);return _0x54321d&&_0x54321d[_0x30a9('0x7')]?_0x54321d[_0x30a9('0x7')]:'anonymous'+random['generate'](0x6)+_0x30a9('0x8');}function getFirstName(_0x3a3f7e){var _0x315b4c=_['head'](_0x3a3f7e[_0x30a9('0x9')]);if(_0x315b4c&&_0x315b4c[_0x30a9('0xa')]){if(_0x315b4c[_0x30a9('0xa')]==_0x315b4c[_0x30a9('0x7')]){return _0x315b4c[_0x30a9('0xa')][_0x30a9('0xb')](0x0,_0x315b4c[_0x30a9('0xa')][_0x30a9('0xc')]('@'));}var _0x30fdef=_0x315b4c['name'][_0x30a9('0xd')](/\s+/);return _0x30fdef[_0x30a9('0xe')]>0x1?_0x30fdef[_0x30a9('0xf')](0x0,-0x1)[_0x30a9('0x10')]('\x20'):_0x315b4c['name'];}return _0x30a9('0x11');}function getLastName(_0x5a56fc){var _0x2f995c=_[_0x30a9('0x12')](_0x5a56fc['value']);if(_0x2f995c&&_0x2f995c['name']){var _0x44fdd4=_0x2f995c[_0x30a9('0xa')]['split'](/\s+/);return _0x44fdd4[_0x30a9('0xe')]>0x1?_0x44fdd4[_0x30a9('0x13')]():'';}return'';}function getMails(_0x3c50d1,_0x17fec2){var _0x39cee7='';for(var _0x1e7927=0x0;_0x1e7927<_0x17fec2['value'][_0x30a9('0xe')];_0x1e7927+=0x1){if(_0x17fec2[_0x30a9('0x9')][_0x1e7927][_0x30a9('0x7')]!==_0x3c50d1){if(!_[_0x30a9('0x14')](_0x39cee7)){_0x39cee7+=',';}_0x39cee7+=_0x17fec2[_0x30a9('0x9')][_0x1e7927][_0x30a9('0xa')]||_0x17fec2[_0x30a9('0x9')][_0x1e7927][_0x30a9('0x7')]||'';_0x39cee7+='\x20<';_0x39cee7+=_0x17fec2[_0x30a9('0x9')][_0x1e7927][_0x30a9('0x7')]?_0x17fec2['value'][_0x1e7927][_0x30a9('0x7')]:_0x30a9('0x15')+random[_0x30a9('0x16')](0x6)+_0x30a9('0x8');_0x39cee7+='>';}}return _0x39cee7;}function parseEmail(_0x553532,_0x510594,_0x40691d){if(_0x510594[_0x30a9('0x17')]){var _0x541b86=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;while(_0x541b86[_0x30a9('0x18')](_0x510594['html'])){_0x510594[_0x30a9('0x17')]=_0x510594[_0x30a9('0x17')]['replace'](_0x541b86,'');}if(_0x510594[_0x30a9('0x17')][_0x30a9('0x19')]('<img')){var _0x25eb85=[];_0x510594['attachments'][_0x30a9('0x1a')](_0x43f47d=>{_0x25eb85[_0x30a9('0x1b')](_0x43f47d[_0x30a9('0x1c')]);});var _0x405744=/<img.*? _SRC(.*?)[^>]+>/g;var _0x45cfc3=/src="data:image\/([a-zA-Z]*);base64,([^"]*)"/g;var _0x3e216f=_0x510594['html'][_0x30a9('0x1d')](_0x45cfc3,_0x30a9('0x1e'));var _0x1bf9a3=_0x3e216f[_0x30a9('0x1d')](_0x405744,_0x30a9('0x1f'));for(let _0x90e388=0x0;_0x90e388<_0x25eb85[_0x30a9('0xe')];_0x90e388++){var _0xddd59b=_0x1bf9a3[_0x30a9('0x1d')](_0x30a9('0x1f'),'<span\x20style=font-weight:bold>\x20[Attachment:\x20'+_0x25eb85[_0x90e388]+_0x30a9('0x20'));_0x1bf9a3=_0xddd59b;}_0x510594['html']=_0x1bf9a3;}_0x40691d[_0x30a9('0x21')]=_0x510594[_0x30a9('0x17')];}else{_0x40691d[_0x30a9('0x21')]=_0x510594[_0x30a9('0x22')];}if(_0x40691d[_0x30a9('0x21')]){_0x40691d[_0x30a9('0x21')]=_0x40691d[_0x30a9('0x21')][_0x30a9('0x1d')](/<a\s+/gi,_0x30a9('0x23'));}if(_0x510594['to']){_0x40691d[_0x30a9('0x24')]['originTo']=getMails(null,_0x510594['to']);var _0x4092cc=getMails(_0x553532['email'],_0x510594['to']);if(!_[_0x30a9('0x14')](_0x4092cc)){_0x40691d[_0x30a9('0x24')]['cc']+=_0x4092cc;}}if(_0x510594['cc']){_0x40691d[_0x30a9('0x24')]['originCc']=getMails(null,_0x510594['cc']);var _0x3dcd7c=getMails(_0x553532[_0x30a9('0x6')],_0x510594['cc']);if(!_[_0x30a9('0x14')](_0x3dcd7c)){if(!_[_0x30a9('0x14')](_0x40691d['message']['cc'])){_0x40691d[_0x30a9('0x24')]['cc']+=',';}_0x40691d['message']['cc']+=_0x3dcd7c;}}if(!_['includes'](_0x40691d[_0x30a9('0x24')]['originTo'],_0x553532[_0x30a9('0x6')])&&!_[_0x30a9('0x19')](_0x40691d[_0x30a9('0x24')]['originCc'],_0x553532[_0x30a9('0x6')])){_0x40691d[_0x30a9('0x24')][_0x30a9('0x25')]=_0x553532[_0x30a9('0x6')];}if(_0x510594['attachments']&&_0x510594[_0x30a9('0x26')][_0x30a9('0xe')]){_0x40691d['message'][_0x30a9('0x27')]=_0x510594[_0x30a9('0x26')][_0x30a9('0xe')];for(var _0x5b3f9f=0x0,_0x1b9090,_0x5e3db8,_0x445e16;_0x5b3f9f<_0x510594[_0x30a9('0x26')][_0x30a9('0xe')];_0x5b3f9f+=0x1){if(_0x510594[_0x30a9('0x26')][_0x5b3f9f][_0x30a9('0x28')]==='attachment'){_0x445e16=_0x510594[_0x30a9('0x26')][_0x5b3f9f][_0x30a9('0x1c')]||'attachment-'+_0x5b3f9f;_0x1b9090=util[_0x30a9('0x29')](_0x30a9('0x2a'),Date[_0x30a9('0x2b')](),_0x445e16);_0x5e3db8=path[_0x30a9('0x10')](config[_0x30a9('0x2c')],'server/files/attachments/',_0x1b9090);fs[_0x30a9('0x2d')](_0x5e3db8,_0x510594[_0x30a9('0x26')][_0x5b3f9f]['content']);_0x40691d[_0x30a9('0x24')]['attachments']['push']({'name':_0x445e16,'basename':_0x1b9090,'type':_0x510594[_0x30a9('0x26')][_0x5b3f9f][_0x30a9('0x2e')],'filepath':_0x5e3db8});}}}if(_0x510594[_0x30a9('0x2f')]&&_0x510594['headerLines'][_0x30a9('0xe')]>0x0){var _0x5aff76=[_0x30a9('0x30'),_0x30a9('0x31'),'Precedence:\x20auto_reply'];for(var _0x110b7a=0x0;_0x110b7a<_0x510594[_0x30a9('0x2f')][_0x30a9('0xe')];_0x110b7a++){var _0x214fdd=_[_0x30a9('0xc')](_0x5aff76,_0x510594['headerLines'][_0x110b7a][_0x30a9('0x32')]);if(_0x214fdd>=0x0){_0x40691d[_0x30a9('0x33')]=!![];}}}return _0x40691d;}exports['parser']=function(_0x425c72,_0x210085,_0x3dfb6d){var _0x1fead1={'from':getAddress(_0x210085[_0x30a9('0x34')]),'firstName':getFirstName(_0x210085['from']),'lastName':getLastName(_0x210085['from']),'mapKey':_0x30a9('0x6'),'message':{'from':getMails(_0x425c72['email'],_0x210085[_0x30a9('0x34')]),'to':_0x425c72[_0x30a9('0x6')],'cc':'','subject':_0x210085[_0x30a9('0x35')]||'','messageId':_0x210085[_0x30a9('0x36')],'inReplyTo':_0x210085[_0x30a9('0x37')],'sentAt':moment(_0x210085[_0x30a9('0x38')])[_0x30a9('0x29')](_0x30a9('0x39')),'attach':![],'attachments':[]}};if(!_0x210085[_0x30a9('0x17')]&&!_0x210085[_0x30a9('0x22')]){var _0x2b3efa=_[_0x30a9('0x3a')](_0x210085[_0x30a9('0x26')],{'contentType':_0x30a9('0x3b')});if(_0x2b3efa[_0x30a9('0xe')]){logger['info'](util[_0x30a9('0x29')](_0x30a9('0x3c'),_0x210085[_0x30a9('0x36')]));tnef['parseBuffer'](_[_0x30a9('0x3d')](_0x2b3efa)[_0x30a9('0x3e')],function(_0x2d47c6,_0x30166f){if(_0x30166f){_0x210085['html']=_0x30166f[_0x30a9('0x3f')]||_0x30a9('0x40');if(_0x30166f['Attachments']){for(var _0x39e40c=0x0;_0x39e40c<_0x30166f[_0x30a9('0x41')][_0x30a9('0xe')];_0x39e40c++){var _0x18e0c4=_0x30166f[_0x30a9('0x41')][_0x39e40c];_0x1fead1['message']['attachments'][_0x30a9('0x1b')]({'filename':_0x18e0c4[_0x30a9('0x42')],'content':Buffer['from'](_0x18e0c4[_0x30a9('0x43')])});}}}_0x3dfb6d(parseEmail(_0x425c72,_0x210085,_0x1fead1));});}else{_0x210085['html']=_0x30a9('0x40');_0x3dfb6d(parseEmail(_0x425c72,_0x210085,_0x1fead1));}}else{_0x3dfb6d(parseEmail(_0x425c72,_0x210085,_0x1fead1));}};exports[_0x30a9('0x44')]=function(_0x1a45ec){switch(_0x1a45ec){case'gmail':return'imap.gmail.com';case _0x30a9('0x45'):return _0x30a9('0x46');case _0x30a9('0x47'):return _0x30a9('0x48');case _0x30a9('0x49'):return _0x30a9('0x4a');}return _0x30a9('0x4b');};
\ No newline at end of file