Built motion from commit a9fb64cc6defd8fb3a5cc199221f878e91c0e969. Version 3.0.0...
[motion-next.git] / server / services / email / realtime / index.js
index 0bf864f..ededdf2 100644 (file)
@@ -1 +1 @@
-const a1156_0x3b69=['mapKeys','prototype','isUndefined','undefined','../model/mailAccount','length','mailAccounts','merge','lodash','exports','mergeFromDatabase'];(function(_0xa7d56b,_0x3b6923){const _0x5dc592=function(_0x2e9a4e){while(--_0x2e9a4e){_0xa7d56b['push'](_0xa7d56b['shift']());}};_0x5dc592(++_0x3b6923);}(a1156_0x3b69,0x1c7));const a1156_0x5dc5=function(_0xa7d56b,_0x3b6923){_0xa7d56b=_0xa7d56b-0x0;let _0x5dc592=a1156_0x3b69[_0xa7d56b];return _0x5dc592;};const _0x28171b=a1156_0x5dc5;'use strict';const _=require(_0x28171b('0x4')),MailAccount=require(_0x28171b('0x0')),Realtime=function(){const _0x158649=_0x28171b;this[_0x158649('0x2')]={};};function freeIsNotKey(_0x2e9a4e,_0x5eef28,_0x2ce545){const _0x11730e=_0x28171b,_0x148c43=_[_0x11730e('0x7')](_0x2e9a4e,function(_0x6b68b6){return _0x6b68b6[_0x2ce545];});for(const _0x3f0c77 in _0x5eef28){typeof _0x5eef28[_0x3f0c77]!=='undefined'&&(!_0x148c43[_0x3f0c77]&&delete _0x5eef28[_0x3f0c77]);}}Realtime[_0x28171b('0x8')][_0x28171b('0x6')]=function(_0x1cfc5c,_0x18b5c5){const _0x9767be=_0x28171b;for(const _0x4278ea in _0x18b5c5){typeof _0x1cfc5c[_0x4278ea]!==_0x9767be('0xa')&&(_0x1cfc5c[_0x4278ea]=_0x18b5c5[_0x4278ea]);}},Realtime[_0x28171b('0x8')]['initMailAccounts']=function(){const _0x332a88=this;return function(_0x177b80){const _0x392b6d=a1156_0x5dc5;if(_0x177b80){freeIsNotKey(_0x177b80,_0x332a88[_0x392b6d('0x2')],'id');for(let _0x3ed50e=0x0,_0xcbf9ee={};_0x3ed50e<_0x177b80[_0x392b6d('0x1')];_0x3ed50e+=0x1){_0xcbf9ee=_0x177b80[_0x3ed50e],_[_0x392b6d('0x9')](_0x332a88[_0x392b6d('0x2')][_0xcbf9ee['id']])?_0x332a88[_0x392b6d('0x2')][_0xcbf9ee['id']]=new MailAccount(_0xcbf9ee):_[_0x392b6d('0x3')](_0x332a88['mailAccounts'][_0xcbf9ee['id']],_0xcbf9ee);}}return _0x332a88[_0x392b6d('0x2')];};},module[_0x28171b('0x5')]=Realtime;
\ No newline at end of file
+const a1156_0x1fa8=['length','initMailAccounts','merge','mapKeys','isUndefined','lodash','undefined','mergeFromDatabase','mailAccounts','exports','prototype'];(function(_0x319b53,_0x1fa852){const _0x436c40=function(_0x333bf6){while(--_0x333bf6){_0x319b53['push'](_0x319b53['shift']());}};_0x436c40(++_0x1fa852);}(a1156_0x1fa8,0x1cf));const a1156_0x436c=function(_0x319b53,_0x1fa852){_0x319b53=_0x319b53-0x0;let _0x436c40=a1156_0x1fa8[_0x319b53];return _0x436c40;};const _0x57618e=a1156_0x436c;'use strict';const _=require(_0x57618e('0x4')),MailAccount=require('../model/mailAccount'),Realtime=function(){const _0x1848ff=_0x57618e;this[_0x1848ff('0x7')]={};};function freeIsNotKey(_0x333bf6,_0x43c022,_0x276ba7){const _0xaa9f84=_0x57618e,_0x4ed597=_[_0xaa9f84('0x2')](_0x333bf6,function(_0x35c059){return _0x35c059[_0x276ba7];});for(const _0x507e65 in _0x43c022){typeof _0x43c022[_0x507e65]!==_0xaa9f84('0x5')&&(!_0x4ed597[_0x507e65]&&delete _0x43c022[_0x507e65]);}}Realtime[_0x57618e('0x9')][_0x57618e('0x6')]=function(_0x31e4a0,_0x48d66a){for(const _0x100646 in _0x48d66a){typeof _0x31e4a0[_0x100646]!=='undefined'&&(_0x31e4a0[_0x100646]=_0x48d66a[_0x100646]);}},Realtime[_0x57618e('0x9')][_0x57618e('0x0')]=function(){const _0x40b84d=this;return function(_0x2bc30a){const _0x2a93d8=a1156_0x436c;if(_0x2bc30a){freeIsNotKey(_0x2bc30a,_0x40b84d[_0x2a93d8('0x7')],'id');for(let _0x26d08f=0x0,_0x2c4808={};_0x26d08f<_0x2bc30a[_0x2a93d8('0xa')];_0x26d08f+=0x1){_0x2c4808=_0x2bc30a[_0x26d08f],_[_0x2a93d8('0x3')](_0x40b84d['mailAccounts'][_0x2c4808['id']])?_0x40b84d[_0x2a93d8('0x7')][_0x2c4808['id']]=new MailAccount(_0x2c4808):_[_0x2a93d8('0x1')](_0x40b84d[_0x2a93d8('0x7')][_0x2c4808['id']],_0x2c4808);}}return _0x40b84d[_0x2a93d8('0x7')];};},module[_0x57618e('0x8')]=Realtime;
\ No newline at end of file