08f2bb2d6a53d698288f912099f7908e68be1ad4
[motion.git] / server / api / report_square / report_square.socket.js
1 var _0x5185=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\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\x73\x71\x75\x61\x72\x65\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\x73\x71\x75\x61\x72\x65\x3A\x73\x61\x76\x65","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x5185[0];const ReportSquareEvents=require(_0x5185[1]);var events=[_0x5185[2],_0x5185[3]];exports[_0x5185[4]]= function(_0x237cx3){for(var _0x237cx4=0,_0x237cx5=events[_0x5185[5]];_0x237cx4< _0x237cx5;_0x237cx4++){var _0x237cx6=events[_0x237cx4];var _0x237cx7=createListener(_0x5185[6]+ _0x237cx6,_0x237cx3);ReportSquareEvents[_0x5185[7]](_0x237cx6,_0x237cx7);_0x237cx3[_0x5185[7]](_0x5185[8],removeListener(_0x237cx6,_0x237cx7))}};function createListener(_0x237cx6,_0x237cx3){return function(_0x237cx9){switch(_0x237cx6){case _0x5185[12]:if(_0x237cx3[_0x5185[9]]!== _0x5185[10]){_0x237cx3[_0x5185[11]](_0x237cx6,_0x237cx9)};break;case _0x5185[13]:_0x237cx3[_0x5185[11]](_0x237cx6,_0x237cx9);break;default:}}}function removeListener(_0x237cx6,_0x237cx7){return function(){ReportSquareEvents[_0x5185[14]](_0x237cx6,_0x237cx7)}}