Built motion from commit e5a90d2.|1.0.17
[motion.git] / server / api / mail_room / mail_room.socket.js
1 var _0x92de=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2E\x65\x76\x65\x6E\x74\x73","\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\x72\x6F\x6F\x6D\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x92de[0];const MailRoomEvents=require(_0x92de[1]);var events=[_0x92de[2],_0x92de[2],_0x92de[3]];exports[_0x92de[4]]= function(_0x777ex3){for(var _0x777ex4=0,_0x777ex5=events[_0x92de[5]];_0x777ex4< _0x777ex5;_0x777ex4++){var _0x777ex6=events[_0x777ex4];var _0x777ex7=createListener(_0x92de[6]+ _0x777ex6,_0x777ex3);MailRoomEvents[_0x92de[7]](_0x777ex6,_0x777ex7);_0x777ex3[_0x92de[7]](_0x92de[8],removeListener(_0x777ex6,_0x777ex7))}};function createListener(_0x777ex6,_0x777ex3){return function(_0x777ex9){_0x777ex3[_0x92de[9]](_0x777ex6,_0x777ex9)}}function removeListener(_0x777ex6,_0x777ex7){return function(){MailRoomEvents[_0x92de[10]](_0x777ex6,_0x777ex7)}}