8e0efec3b1c36f2c82b9e619537f6e90a659df89
[motion.git] / server / api / report_chat / report_chat.socket.js
1 var _0x5c4e=["\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"];_0x5c4e[0];const ReportChatEvents=require(_0x5c4e[1]);var events=[_0x5c4e[2],_0x5c4e[3]];exports[_0x5c4e[4]]= function(_0x7422x3){for(var _0x7422x4=0,_0x7422x5=events[_0x5c4e[5]];_0x7422x4< _0x7422x5;_0x7422x4++){var _0x7422x6=events[_0x7422x4];var _0x7422x7=createListener(_0x5c4e[6]+ _0x7422x6,_0x7422x3);ReportChatEvents[_0x5c4e[7]](_0x7422x6,_0x7422x7);_0x7422x3[_0x5c4e[7]](_0x5c4e[8],removeListener(_0x7422x6,_0x7422x7))}};function createListener(_0x7422x6,_0x7422x3){return function(_0x7422x9){switch(_0x7422x6){case _0x5c4e[9]:;case _0x5c4e[15]:if(_0x7422x3[_0x5c4e[10]]=== _0x7422x9[_0x5c4e[11]]|| _0x7422x3[_0x5c4e[12]]=== _0x5c4e[13]){_0x7422x3[_0x5c4e[14]](_0x7422x6,_0x7422x9)};break;case _0x5c4e[16]:_0x7422x3[_0x5c4e[14]](_0x7422x6,_0x7422x9);break;default:}}}function removeListener(_0x7422x6,_0x7422x7){return function(){ReportChatEvents[_0x5c4e[17]](_0x7422x6,_0x7422x7)}}