Built motion from commit 3c8c97999.|1.0.21
[motion.git] / server / api / sound / sound.socket.js
1 var _0x6fd8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x73\x6F\x75\x6E\x64\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","\x73\x6F\x75\x6E\x64\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"];_0x6fd8[0];const SoundEvents=require(_0x6fd8[1]);var events=[_0x6fd8[2],_0x6fd8[3]];exports[_0x6fd8[4]]= function(_0xa94cx3){for(var _0xa94cx4=0,_0xa94cx5=events[_0x6fd8[5]];_0xa94cx4< _0xa94cx5;_0xa94cx4++){var _0xa94cx6=events[_0xa94cx4];var _0xa94cx7=createListener(_0x6fd8[6]+ _0xa94cx6,_0xa94cx3);SoundEvents[_0x6fd8[7]](_0xa94cx6,_0xa94cx7);_0xa94cx3[_0x6fd8[7]](_0x6fd8[8],removeListener(_0xa94cx6,_0xa94cx7))}};function createListener(_0xa94cx6,_0xa94cx3){return function(_0xa94cx9){_0xa94cx3[_0x6fd8[9]](_0xa94cx6,_0xa94cx9)}}function removeListener(_0xa94cx6,_0xa94cx7){return function(){SoundEvents[_0x6fd8[10]](_0xa94cx6,_0xa94cx7)}}