55708c359a743cb1934c2bb90642b2f0c5f89f1b
[motion.git] / server / api / pause / pause.socket.js
1 var _0xb171=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x70\x61\x75\x73\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","\x70\x61\x75\x73\x65\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"];_0xb171[0];const PauseEvents=require(_0xb171[1]);var events=[_0xb171[2],_0xb171[3]];exports[_0xb171[4]]= function(_0xa37dx3){for(var _0xa37dx4=0,_0xa37dx5=events[_0xb171[5]];_0xa37dx4< _0xa37dx5;_0xa37dx4++){var _0xa37dx6=events[_0xa37dx4];var _0xa37dx7=createListener(_0xb171[6]+ _0xa37dx6,_0xa37dx3);PauseEvents[_0xb171[7]](_0xa37dx6,_0xa37dx7);_0xa37dx3[_0xb171[7]](_0xb171[8],removeListener(_0xa37dx6,_0xa37dx7))}};function createListener(_0xa37dx6,_0xa37dx3){return function(_0xa37dx9){_0xa37dx3[_0xb171[9]](_0xa37dx6,_0xa37dx9)}}function removeListener(_0xa37dx6,_0xa37dx7){return function(){PauseEvents[_0xb171[10]](_0xa37dx6,_0xa37dx7)}}