Built motion from commit 4d2cf597c.|1.0.26
[motion.git] / server / api / mail_queue / mail_queue.socket.js
index 76af857..31a24f3 100644 (file)
@@ -1 +1 @@
-var _0xf88d=["\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"];_0xf88d[0];var MailQueueEvents=require(_0xf88d[1]);var MailQueue=require(_0xf88d[3])[_0xf88d[2]];var User=require(_0xf88d[3])[_0xf88d[4]];var Util=require(_0xf88d[5]);var _=require(_0xf88d[6]);var Promise=require(_0xf88d[7]);var events=[_0xf88d[8],_0xf88d[9]];exports[_0xf88d[10]]= function(_0x14bex8){for(var _0x14bex9=0,_0x14bexa=events[_0xf88d[11]];_0x14bex9< _0x14bexa;_0x14bex9++){var _0x14bexb=events[_0x14bex9];var _0x14bexc=createListener(_0xf88d[12]+ _0x14bexb,_0x14bex8);MailQueueEvents[_0xf88d[13]](_0x14bexb,_0x14bexc);_0x14bex8[_0xf88d[13]](_0xf88d[14],removeListener(_0x14bexb,_0x14bexc))}};function createListener(_0x14bexb,_0x14bex8){return function(_0x14bexe){switch(_0x14bexb){case _0xf88d[20]:if(_0x14bex8[_0xf88d[15]]=== _0xf88d[16]){_0x14bex8[_0xf88d[18]](_0x14bexe[_0xf88d[17]]);_0x14bex8[_0xf88d[19]](_0x14bexb,_0x14bexe)};break;case _0xf88d[27]:return Promise[_0xf88d[26]]()[_0xf88d[25]](getMailQueues(_0x14bex8))[_0xf88d[25]](function(_0x14bex10){if(_[_0xf88d[24]](_0x14bex10,_0x14bexe[_0xf88d[17]])){_0x14bex8[_0xf88d[19]](_0x14bexb,_0x14bexe)}})[_0xf88d[23]](function(_0x14bexf){console[_0xf88d[22]](_0xf88d[21],_0x14bexf)});break;case _0xf88d[29]:_0x14bex8[_0xf88d[28]](_0x14bexe[_0xf88d[17]]);_0x14bex8[_0xf88d[19]](_0x14bexb,_0x14bexe);break;default:}}}function removeListener(_0x14bexb,_0x14bexc){return function(){MailQueueEvents[_0xf88d[30]](_0x14bexb,_0x14bexc)}}function getMailQueues(_0x14bex13){return function(){switch(_0x14bex13[_0xf88d[15]]){case _0xf88d[37]:return User[_0xf88d[36]](_0x14bex13[_0xf88d[34]],{attributes:[_0xf88d[35]]})[_0xf88d[25]](Util[_0xf88d[33]]())[_0xf88d[25]](function(_0x14bex10){return _[_0xf88d[32]](_0x14bex10[_0xf88d[31]],_0xf88d[17])});case _0xf88d[16]:return MailQueue[_0xf88d[38]]()[_0xf88d[25]](function(_0x14bex14){return {rows:_0x14bex14}})[_0xf88d[25]](function(_0x14bex10){return _[_0xf88d[32]](_0x14bex10[_0xf88d[31]],_0xf88d[17])});default:return []}}}
\ No newline at end of file
+var _0x243d=["\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"];_0x243d[0];var MailQueueEvents=require(_0x243d[1]);var MailQueue=require(_0x243d[3])[_0x243d[2]];var User=require(_0x243d[3])[_0x243d[4]];var Util=require(_0x243d[5]);var _=require(_0x243d[6]);var Promise=require(_0x243d[7]);var events=[_0x243d[8],_0x243d[9]];exports[_0x243d[10]]= function(_0x3a35x8){for(var _0x3a35x9=0,_0x3a35xa=events[_0x243d[11]];_0x3a35x9< _0x3a35xa;_0x3a35x9++){var _0x3a35xb=events[_0x3a35x9];var _0x3a35xc=createListener(_0x243d[12]+ _0x3a35xb,_0x3a35x8);MailQueueEvents[_0x243d[13]](_0x3a35xb,_0x3a35xc);_0x3a35x8[_0x243d[13]](_0x243d[14],removeListener(_0x3a35xb,_0x3a35xc))}};function createListener(_0x3a35xb,_0x3a35x8){return function(_0x3a35xe){switch(_0x3a35xb){case _0x243d[20]:if(_0x3a35x8[_0x243d[15]]=== _0x243d[16]){_0x3a35x8[_0x243d[18]](_0x3a35xe[_0x243d[17]]);_0x3a35x8[_0x243d[19]](_0x3a35xb,_0x3a35xe)};break;case _0x243d[27]:return Promise[_0x243d[26]]()[_0x243d[25]](getMailQueues(_0x3a35x8))[_0x243d[25]](function(_0x3a35x10){if(_[_0x243d[24]](_0x3a35x10,_0x3a35xe[_0x243d[17]])){_0x3a35x8[_0x243d[19]](_0x3a35xb,_0x3a35xe)}})[_0x243d[23]](function(_0x3a35xf){console[_0x243d[22]](_0x243d[21],_0x3a35xf)});break;case _0x243d[29]:_0x3a35x8[_0x243d[28]](_0x3a35xe[_0x243d[17]]);_0x3a35x8[_0x243d[19]](_0x3a35xb,_0x3a35xe);break;default:}}}function removeListener(_0x3a35xb,_0x3a35xc){return function(){MailQueueEvents[_0x243d[30]](_0x3a35xb,_0x3a35xc)}}function getMailQueues(_0x3a35x13){return function(){switch(_0x3a35x13[_0x243d[15]]){case _0x243d[37]:return User[_0x243d[36]](_0x3a35x13[_0x243d[34]],{attributes:[_0x243d[35]]})[_0x243d[25]](Util[_0x243d[33]]())[_0x243d[25]](function(_0x3a35x10){return _[_0x243d[32]](_0x3a35x10[_0x243d[31]],_0x243d[17])});case _0x243d[16]:return MailQueue[_0x243d[38]]()[_0x243d[25]](function(_0x3a35x14){return {rows:_0x3a35x14}})[_0x243d[25]](function(_0x3a35x10){return _[_0x243d[32]](_0x3a35x10[_0x243d[31]],_0x243d[17])});default:return []}}}
\ No newline at end of file