d8755cafe645c2c0edbb378e2f8e102515d973b7
[motion.git] / server / api / report_mail / report_mail.socket.js
1 var _0x2f56=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x3A\x73\x61\x76\x65","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x2f56[0];const ReportMailEvents=require(_0x2f56[1]);var events=[_0x2f56[2],_0x2f56[3],_0x2f56[4]];exports[_0x2f56[5]]= function(_0x61ecx3){for(var _0x61ecx4=0,_0x61ecx5=events[_0x2f56[6]];_0x61ecx4< _0x61ecx5;_0x61ecx4++){var _0x61ecx6=events[_0x61ecx4];var _0x61ecx7=createListener(_0x2f56[7]+ _0x61ecx6,_0x61ecx3);ReportMailEvents[_0x2f56[8]](_0x61ecx6,_0x61ecx7);_0x61ecx3[_0x2f56[8]](_0x2f56[9],removeListener(_0x61ecx6,_0x61ecx7))}};function createListener(_0x61ecx6,_0x61ecx3){return function(_0x61ecx9){switch(_0x61ecx6){case _0x2f56[10]:;case _0x2f56[16]:if(_0x61ecx3[_0x2f56[11]]=== _0x61ecx9[_0x2f56[12]]|| _0x61ecx3[_0x2f56[13]]=== _0x2f56[14]){_0x61ecx3[_0x2f56[15]](_0x61ecx6,_0x61ecx9)};break;case _0x2f56[17]:_0x61ecx3[_0x2f56[15]](_0x61ecx6,_0x61ecx9);break;default:}}}function removeListener(_0x61ecx6,_0x61ecx7){return function(){ReportMailEvents[_0x2f56[18]](_0x61ecx6,_0x61ecx7)}}