Built motion from commit d127c62.|0.0.151
[motion.git] / server / api / custom_report / custom_report.socket.js
1 var _0x343a=["\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"];_0x343a[0];const CustomReportEvents=require(_0x343a[1]);var events=[_0x343a[2],_0x343a[3]];exports[_0x343a[4]]= function(_0xceddx3){for(var _0xceddx4=0,_0xceddx5=events[_0x343a[5]];_0xceddx4< _0xceddx5;_0xceddx4++){var _0xceddx6=events[_0xceddx4];var _0xceddx7=createListener(_0x343a[6]+ _0xceddx6,_0xceddx3);CustomReportEvents[_0x343a[7]](_0xceddx6,_0xceddx7);_0xceddx3[_0x343a[7]](_0x343a[8],removeListener(_0xceddx6,_0xceddx7))}};function createListener(_0xceddx6,_0xceddx3){return function(_0xceddx9){_0xceddx3[_0x343a[9]](_0xceddx6,_0xceddx9)}}function removeListener(_0xceddx6,_0xceddx7){return function(){CustomReportEvents[_0x343a[10]](_0xceddx6,_0xceddx7)}}