cdfce2d03e322796f5513b574b1c1d98864bd65d
[motion.git] / server / api / report_tiger_dial / report_tiger_dial.socket.js
1 var _0x1e0b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x74\x69\x67\x65\x72\x5F\x64\x69\x61\x6C\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\x74\x69\x67\x65\x72\x5F\x64\x69\x61\x6C\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x74\x69\x67\x65\x72\x5F\x64\x69\x61\x6C\x3A\x73\x61\x76\x65","\x72\x65\x70\x6F\x72\x74\x5F\x74\x69\x67\x65\x72\x5F\x64\x69\x61\x6C\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x1e0b[0];const ReportTigerDialEvents=require(_0x1e0b[1]);var events=[_0x1e0b[2],_0x1e0b[3]];exports[_0x1e0b[4]]= function(_0xaa31x3){for(var _0xaa31x4=0,_0xaa31x5=events[_0x1e0b[5]];_0xaa31x4< _0xaa31x5;_0xaa31x4++){var _0xaa31x6=events[_0xaa31x4];var _0xaa31x7=createListener(_0x1e0b[6]+ _0xaa31x6,_0xaa31x3);ReportTigerDialEvents[_0x1e0b[7]](_0xaa31x6,_0xaa31x7);_0xaa31x3[_0x1e0b[7]](_0x1e0b[8],removeListener(_0xaa31x6,_0xaa31x7))}};function createListener(_0xaa31x6,_0xaa31x3){return function(_0xaa31x9){switch(_0xaa31x6){case _0x1e0b[12]:if(_0xaa31x3[_0x1e0b[9]]!== _0x1e0b[10]){_0xaa31x3[_0x1e0b[11]](_0xaa31x6,_0xaa31x9)};break;case _0x1e0b[13]:_0xaa31x3[_0x1e0b[11]](_0xaa31x6,_0xaa31x9);break;default:}}}function removeListener(_0xaa31x6,_0xaa31x7){return function(){ReportTigerDialEvents[_0x1e0b[14]](_0xaa31x6,_0xaa31x7)}}