Built motion from commit d13e3c905.|1.0.24
[motion.git] / server / api / custom_report / custom_report.socket.js
1 var _0x2529=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\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","\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\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"];_0x2529[0];const CustomReportEvents=require(_0x2529[1]);var events=[_0x2529[2],_0x2529[3]];exports[_0x2529[4]]= function(_0xcfccx3){for(var _0xcfccx4=0,_0xcfccx5=events[_0x2529[5]];_0xcfccx4< _0xcfccx5;_0xcfccx4++){var _0xcfccx6=events[_0xcfccx4];var _0xcfccx7=createListener(_0x2529[6]+ _0xcfccx6,_0xcfccx3);CustomReportEvents[_0x2529[7]](_0xcfccx6,_0xcfccx7);_0xcfccx3[_0x2529[7]](_0x2529[8],removeListener(_0xcfccx6,_0xcfccx7))}};function createListener(_0xcfccx6,_0xcfccx3){return function(_0xcfccx9){_0xcfccx3[_0x2529[9]](_0xcfccx6,_0xcfccx9)}}function removeListener(_0xcfccx6,_0xcfccx7){return function(){CustomReportEvents[_0x2529[10]](_0xcfccx6,_0xcfccx7)}}