28666bb0a59a8963f272d7154d800ad0be074f93
[motion.git] / server / api / fax_message / fax_message.socket.js
1 var _0x3c0b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\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","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\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"];_0x3c0b[0];const FaxMessageEvents=require(_0x3c0b[1]);var events=[_0x3c0b[2],_0x3c0b[3]];exports[_0x3c0b[4]]= function(_0xc225x3){for(var _0xc225x4=0,_0xc225x5=events[_0x3c0b[5]];_0xc225x4< _0xc225x5;_0xc225x4++){var _0xc225x6=events[_0xc225x4];var _0xc225x7=createListener(_0x3c0b[6]+ _0xc225x6,_0xc225x3);FaxMessageEvents[_0x3c0b[7]](_0xc225x6,_0xc225x7);_0xc225x3[_0x3c0b[7]](_0x3c0b[8],removeListener(_0xc225x6,_0xc225x7))}};function createListener(_0xc225x6,_0xc225x3){return function(_0xc225x9){_0xc225x3[_0x3c0b[9]](_0xc225x6,_0xc225x9)}}function removeListener(_0xc225x6,_0xc225x7){return function(){FaxMessageEvents[_0x3c0b[10]](_0xc225x6,_0xc225x7)}}