25caeae66d05bc288fd29dd053339e0ef1223789
[motion.git] / server / api / report_chat / report_chat.socket.js
1 var _0x7d30=["\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"];_0x7d30[0];const ReportChatEvents=require(_0x7d30[1]);var events=[_0x7d30[2],_0x7d30[3]];exports[_0x7d30[4]]= function(_0x4451x3){for(var _0x4451x4=0,_0x4451x5=events[_0x7d30[5]];_0x4451x4< _0x4451x5;_0x4451x4++){var _0x4451x6=events[_0x4451x4];var _0x4451x7=createListener(_0x7d30[6]+ _0x4451x6,_0x4451x3);ReportChatEvents[_0x7d30[7]](_0x4451x6,_0x4451x7);_0x4451x3[_0x7d30[7]](_0x7d30[8],removeListener(_0x4451x6,_0x4451x7))}};function createListener(_0x4451x6,_0x4451x3){return function(_0x4451x9){switch(_0x4451x6){case _0x7d30[9]:;case _0x7d30[15]:if(_0x4451x3[_0x7d30[10]]=== _0x4451x9[_0x7d30[11]]|| _0x4451x3[_0x7d30[12]]=== _0x7d30[13]){_0x4451x3[_0x7d30[14]](_0x4451x6,_0x4451x9)};break;case _0x7d30[16]:_0x4451x3[_0x7d30[14]](_0x4451x6,_0x4451x9);break;default:}}}function removeListener(_0x4451x6,_0x4451x7){return function(){ReportChatEvents[_0x7d30[17]](_0x4451x6,_0x4451x7)}}