Built motion from commit 55324429e.|1.0.25
[motion.git] / server / api / mail_queue / mail_queue.socket.js
index 9dac5f8..2b4a8a8 100644 (file)
@@ -1 +1 @@
-var _0x18d1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2E\x65\x76\x65\x6E\x74\x73","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x73\x20\x61\x66\x74\x65\x72\x20\x71\x75\x65\x75\x65\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x74\x68\x65\x6E","\x72\x65\x73\x6F\x6C\x76\x65","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x75\x70\x64\x61\x74\x65","\x6C\x65\x61\x76\x65","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x72\x6F\x77\x73","\x6D\x61\x70","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x18d1[0];var MailQueueEvents=require(_0x18d1[1]);var MailQueue=require(_0x18d1[3])[_0x18d1[2]];var User=require(_0x18d1[3])[_0x18d1[4]];var Util=require(_0x18d1[5]);var _=require(_0x18d1[6]);var Promise=require(_0x18d1[7]);var events=[_0x18d1[8],_0x18d1[9]];exports[_0x18d1[10]]= function(_0x4bb2x8){for(var _0x4bb2x9=0,_0x4bb2xa=events[_0x18d1[11]];_0x4bb2x9< _0x4bb2xa;_0x4bb2x9++){var _0x4bb2xb=events[_0x4bb2x9];var _0x4bb2xc=createListener(_0x18d1[12]+ _0x4bb2xb,_0x4bb2x8);MailQueueEvents[_0x18d1[13]](_0x4bb2xb,_0x4bb2xc);_0x4bb2x8[_0x18d1[13]](_0x18d1[14],removeListener(_0x4bb2xb,_0x4bb2xc))}};function createListener(_0x4bb2xb,_0x4bb2x8){return function(_0x4bb2xe){switch(_0x4bb2xb){case _0x18d1[20]:if(_0x4bb2x8[_0x18d1[15]]=== _0x18d1[16]){_0x4bb2x8[_0x18d1[18]](_0x4bb2xe[_0x18d1[17]]);_0x4bb2x8[_0x18d1[19]](_0x4bb2xb,_0x4bb2xe)};break;case _0x18d1[27]:return Promise[_0x18d1[26]]()[_0x18d1[25]](getMailQueues(_0x4bb2x8))[_0x18d1[25]](function(_0x4bb2x10){if(_[_0x18d1[24]](_0x4bb2x10,_0x4bb2xe[_0x18d1[17]])){_0x4bb2x8[_0x18d1[19]](_0x4bb2xb,_0x4bb2xe)}})[_0x18d1[23]](function(_0x4bb2xf){console[_0x18d1[22]](_0x18d1[21],_0x4bb2xf)});break;case _0x18d1[29]:_0x4bb2x8[_0x18d1[28]](_0x4bb2xe[_0x18d1[17]]);_0x4bb2x8[_0x18d1[19]](_0x4bb2xb,_0x4bb2xe);break;default:}}}function removeListener(_0x4bb2xb,_0x4bb2xc){return function(){MailQueueEvents[_0x18d1[30]](_0x4bb2xb,_0x4bb2xc)}}function getMailQueues(_0x4bb2x13){return function(){switch(_0x4bb2x13[_0x18d1[15]]){case _0x18d1[37]:return User[_0x18d1[36]](_0x4bb2x13[_0x18d1[34]],{attributes:[_0x18d1[35]]})[_0x18d1[25]](Util[_0x18d1[33]]())[_0x18d1[25]](function(_0x4bb2x10){return _[_0x18d1[32]](_0x4bb2x10[_0x18d1[31]],_0x18d1[17])});case _0x18d1[16]:return MailQueue[_0x18d1[38]]()[_0x18d1[25]](function(_0x4bb2x14){return {rows:_0x4bb2x14}})[_0x18d1[25]](function(_0x4bb2x10){return _[_0x18d1[32]](_0x4bb2x10[_0x18d1[31]],_0x18d1[17])});default:return []}}}
\ No newline at end of file
+var _0x66df=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2E\x65\x76\x65\x6E\x74\x73","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x73\x20\x61\x66\x74\x65\x72\x20\x71\x75\x65\x75\x65\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x74\x68\x65\x6E","\x72\x65\x73\x6F\x6C\x76\x65","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x75\x70\x64\x61\x74\x65","\x6C\x65\x61\x76\x65","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x72\x6F\x77\x73","\x6D\x61\x70","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x66df[0];var MailQueueEvents=require(_0x66df[1]);var MailQueue=require(_0x66df[3])[_0x66df[2]];var User=require(_0x66df[3])[_0x66df[4]];var Util=require(_0x66df[5]);var _=require(_0x66df[6]);var Promise=require(_0x66df[7]);var events=[_0x66df[8],_0x66df[9]];exports[_0x66df[10]]= function(_0xf994x8){for(var _0xf994x9=0,_0xf994xa=events[_0x66df[11]];_0xf994x9< _0xf994xa;_0xf994x9++){var _0xf994xb=events[_0xf994x9];var _0xf994xc=createListener(_0x66df[12]+ _0xf994xb,_0xf994x8);MailQueueEvents[_0x66df[13]](_0xf994xb,_0xf994xc);_0xf994x8[_0x66df[13]](_0x66df[14],removeListener(_0xf994xb,_0xf994xc))}};function createListener(_0xf994xb,_0xf994x8){return function(_0xf994xe){switch(_0xf994xb){case _0x66df[20]:if(_0xf994x8[_0x66df[15]]=== _0x66df[16]){_0xf994x8[_0x66df[18]](_0xf994xe[_0x66df[17]]);_0xf994x8[_0x66df[19]](_0xf994xb,_0xf994xe)};break;case _0x66df[27]:return Promise[_0x66df[26]]()[_0x66df[25]](getMailQueues(_0xf994x8))[_0x66df[25]](function(_0xf994x10){if(_[_0x66df[24]](_0xf994x10,_0xf994xe[_0x66df[17]])){_0xf994x8[_0x66df[19]](_0xf994xb,_0xf994xe)}})[_0x66df[23]](function(_0xf994xf){console[_0x66df[22]](_0x66df[21],_0xf994xf)});break;case _0x66df[29]:_0xf994x8[_0x66df[28]](_0xf994xe[_0x66df[17]]);_0xf994x8[_0x66df[19]](_0xf994xb,_0xf994xe);break;default:}}}function removeListener(_0xf994xb,_0xf994xc){return function(){MailQueueEvents[_0x66df[30]](_0xf994xb,_0xf994xc)}}function getMailQueues(_0xf994x13){return function(){switch(_0xf994x13[_0x66df[15]]){case _0x66df[37]:return User[_0x66df[36]](_0xf994x13[_0x66df[34]],{attributes:[_0x66df[35]]})[_0x66df[25]](Util[_0x66df[33]]())[_0x66df[25]](function(_0xf994x10){return _[_0x66df[32]](_0xf994x10[_0x66df[31]],_0x66df[17])});case _0x66df[16]:return MailQueue[_0x66df[38]]()[_0x66df[25]](function(_0xf994x14){return {rows:_0xf994x14}})[_0x66df[25]](function(_0xf994x10){return _[_0x66df[32]](_0xf994x10[_0x66df[31]],_0x66df[17])});default:return []}}}
\ No newline at end of file