804e49dd5067d619a54bae5013706aa7c0eb984c
[motion.git] / server / api / openchannel_message / openchannel_message.socket.js
1 var _0xb13d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x75\x70\x64\x61\x74\x65","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xb13d[0];const OpenchannelMessageEvents=require(_0xb13d[1]);var events=[_0xb13d[2],_0xb13d[3],_0xb13d[4]];exports[_0xb13d[5]]= function(_0xbc7bx3){for(var _0xbc7bx4=0,_0xbc7bx5=events[_0xb13d[6]];_0xbc7bx4< _0xbc7bx5;_0xbc7bx4++){var _0xbc7bx6=events[_0xbc7bx4];var _0xbc7bx7=createListener(_0xb13d[7]+ _0xbc7bx6,_0xbc7bx3);OpenchannelMessageEvents[_0xb13d[8]](_0xbc7bx6,_0xbc7bx7);_0xbc7bx3[_0xb13d[8]](_0xb13d[9],removeListener(_0xbc7bx6,_0xbc7bx7))}};function createListener(_0xbc7bx6,_0xbc7bx3){return function(_0xbc7bx9){switch(_0xbc7bx6){case _0xb13d[11]:_0xbc7bx3[_0xb13d[10]](_0xbc7bx6,_0xbc7bx9);break;case _0xb13d[14]:if(_0xbc7bx9[_0xb13d[13]](_0xb13d[12])){_0xbc7bx3[_0xb13d[10]](_0xbc7bx6,_0xbc7bx9)};break;case _0xb13d[15]:_0xbc7bx3[_0xb13d[10]](_0xbc7bx6,_0xbc7bx9);break;default:}}}function removeListener(_0xbc7bx6,_0xbc7bx7){return function(){OpenchannelMessageEvents[_0xb13d[16]](_0xbc7bx6,_0xbc7bx7)}}