1fab4ecda1d4e6e1617c9eb5accdf916606f2941
[motion.git] / server / api / interval / interval.socket.js
1 var _0x827a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x69\x6E\x74\x65\x72\x76\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","\x69\x6E\x74\x65\x72\x76\x61\x6C\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"];_0x827a[0];const IntervalEvents=require(_0x827a[1]);var events=[_0x827a[2],_0x827a[3]];exports[_0x827a[4]]= function(_0x121ex3){for(var _0x121ex4=0,_0x121ex5=events[_0x827a[5]];_0x121ex4< _0x121ex5;_0x121ex4++){var _0x121ex6=events[_0x121ex4];var _0x121ex7=createListener(_0x827a[6]+ _0x121ex6,_0x121ex3);IntervalEvents[_0x827a[7]](_0x121ex6,_0x121ex7);_0x121ex3[_0x827a[7]](_0x827a[8],removeListener(_0x121ex6,_0x121ex7))}};function createListener(_0x121ex6,_0x121ex3){return function(_0x121ex9){_0x121ex3[_0x827a[9]](_0x121ex6,_0x121ex9)}}function removeListener(_0x121ex6,_0x121ex7){return function(){IntervalEvents[_0x827a[10]](_0x121ex6,_0x121ex7)}}