1fc80bed47ec6402c698817924d7a92b9d6b53e4
[motion.git] / server / api / report_chat / report_chat.socket.js
1 var _0x93d4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\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","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\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\x63\x68\x61\x74\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x93d4[0];const ReportChatEvents=require(_0x93d4[1]);var events=[_0x93d4[2],_0x93d4[3]];exports[_0x93d4[4]]= function(_0x64f8x3){for(var _0x64f8x4=0,_0x64f8x5=events[_0x93d4[5]];_0x64f8x4< _0x64f8x5;_0x64f8x4++){var _0x64f8x6=events[_0x64f8x4];var _0x64f8x7=createListener(_0x93d4[6]+ _0x64f8x6,_0x64f8x3);ReportChatEvents[_0x93d4[7]](_0x64f8x6,_0x64f8x7);_0x64f8x3[_0x93d4[7]](_0x93d4[8],removeListener(_0x64f8x6,_0x64f8x7))}};function createListener(_0x64f8x6,_0x64f8x3){return function(_0x64f8x9){switch(_0x64f8x6){case _0x93d4[9]:;case _0x93d4[15]:if(_0x64f8x3[_0x93d4[10]]=== _0x64f8x9[_0x93d4[11]]|| _0x64f8x3[_0x93d4[12]]=== _0x93d4[13]){_0x64f8x3[_0x93d4[14]](_0x64f8x6,_0x64f8x9)};break;case _0x93d4[16]:_0x64f8x3[_0x93d4[14]](_0x64f8x6,_0x64f8x9);break;default:}}}function removeListener(_0x64f8x6,_0x64f8x7){return function(){ReportChatEvents[_0x93d4[17]](_0x64f8x6,_0x64f8x7)}}