7229a6d00450299b16b2c0029cf94a0df908245e
[motion.git] / server / api / report_mail / report_mail.socket.js
1 var _0x45bf=["\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"];_0x45bf[0];const ReportMailEvents=require(_0x45bf[1]);var events=[_0x45bf[2],_0x45bf[3],_0x45bf[4]];exports[_0x45bf[5]]= function(_0x8a3ex3){for(var _0x8a3ex4=0,_0x8a3ex5=events[_0x45bf[6]];_0x8a3ex4< _0x8a3ex5;_0x8a3ex4++){var _0x8a3ex6=events[_0x8a3ex4];var _0x8a3ex7=createListener(_0x45bf[7]+ _0x8a3ex6,_0x8a3ex3);ReportMailEvents[_0x45bf[8]](_0x8a3ex6,_0x8a3ex7);_0x8a3ex3[_0x45bf[8]](_0x45bf[9],removeListener(_0x8a3ex6,_0x8a3ex7))}};function createListener(_0x8a3ex6,_0x8a3ex3){return function(_0x8a3ex9){switch(_0x8a3ex6){case _0x45bf[10]:;case _0x45bf[16]:if(_0x8a3ex3[_0x45bf[11]]=== _0x8a3ex9[_0x45bf[12]]|| _0x8a3ex3[_0x45bf[13]]=== _0x45bf[14]){_0x8a3ex3[_0x45bf[15]](_0x8a3ex6,_0x8a3ex9)};break;case _0x45bf[17]:_0x8a3ex3[_0x45bf[15]](_0x8a3ex6,_0x8a3ex9);break;default:}}}function removeListener(_0x8a3ex6,_0x8a3ex7){return function(){ReportMailEvents[_0x45bf[18]](_0x8a3ex6,_0x8a3ex7)}}