95527ae41be9858819e9249ddb35131b14f27ff7
[motion.git] / server / api / report_fax / report_fax.socket.js
1 var _0x82f4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\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\x66\x61\x78\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x73\x61\x76\x65","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x82f4[0];const ReportFaxEvents=require(_0x82f4[1]);var events=[_0x82f4[2],_0x82f4[3],_0x82f4[4]];exports[_0x82f4[5]]= function(_0xbbb1x3){for(var _0xbbb1x4=0,_0xbbb1x5=events[_0x82f4[6]];_0xbbb1x4< _0xbbb1x5;_0xbbb1x4++){var _0xbbb1x6=events[_0xbbb1x4];var _0xbbb1x7=createListener(_0x82f4[7]+ _0xbbb1x6,_0xbbb1x3);ReportFaxEvents[_0x82f4[8]](_0xbbb1x6,_0xbbb1x7);_0xbbb1x3[_0x82f4[8]](_0x82f4[9],removeListener(_0xbbb1x6,_0xbbb1x7))}};function createListener(_0xbbb1x6,_0xbbb1x3){return function(_0xbbb1x9){switch(_0xbbb1x6){case _0x82f4[10]:;case _0x82f4[16]:if(_0xbbb1x3[_0x82f4[11]]=== _0xbbb1x9[_0x82f4[12]]|| _0xbbb1x3[_0x82f4[13]]!== _0x82f4[14]){_0xbbb1x3[_0x82f4[15]](_0xbbb1x6,_0xbbb1x9)};break;case _0x82f4[17]:_0xbbb1x3[_0x82f4[15]](_0xbbb1x6,_0xbbb1x9);break;default:}}}function removeListener(_0xbbb1x6,_0xbbb1x7){return function(){ReportFaxEvents[_0x82f4[18]](_0xbbb1x6,_0xbbb1x7)}}