Built motion from commit d127c62.|0.0.151
[motion.git] / server / api / chanspy / chanspy.socket.js
index 046346a..f57779b 100644 (file)
@@ -1 +1 @@
-var _0x65e1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x6E\x73\x70\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x6E\x73\x70\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0x65e1[0];var ChanSpy=require(_0x65e1[2])[_0x65e1[1]];exports[_0x65e1[3]]=function(_0x5746x2){ChanSpy[_0x65e1[4]](function(_0x5746x3){onSave(_0x5746x2,_0x5746x3)});ChanSpy[_0x65e1[5]](function(_0x5746x3){onRemove(_0x5746x2,_0x5746x3)})};function onSave(_0x5746x2,_0x5746x3,_0x5746x5){_0x5746x2[_0x65e1[7]](_0x65e1[6],_0x5746x3)}function onRemove(_0x5746x2,_0x5746x3,_0x5746x5){_0x5746x2[_0x65e1[7]](_0x65e1[8],_0x5746x3)}
\ No newline at end of file
+var _0x48c1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x6E\x73\x70\x79\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\x68\x61\x6E\x73\x70\x79\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"];_0x48c1[0];const ChanSpyEvents=require(_0x48c1[1]);var events=[_0x48c1[2],_0x48c1[3]];exports[_0x48c1[4]]= function(_0xa507x3){for(var _0xa507x4=0,_0xa507x5=events[_0x48c1[5]];_0xa507x4< _0xa507x5;_0xa507x4++){var _0xa507x6=events[_0xa507x4];var _0xa507x7=createListener(_0x48c1[6]+ _0xa507x6,_0xa507x3);ChanSpyEvents[_0x48c1[7]](_0xa507x6,_0xa507x7);_0xa507x3[_0x48c1[7]](_0x48c1[8],removeListener(_0xa507x6,_0xa507x7))}};function createListener(_0xa507x6,_0xa507x3){return function(_0xa507x9){_0xa507x3[_0x48c1[9]](_0xa507x6,_0xa507x9)}}function removeListener(_0xa507x6,_0xa507x7){return function(){ChanSpyEvents[_0x48c1[10]](_0xa507x6,_0xa507x7)}}
\ No newline at end of file