05f04145b404037343cdf1311bde9c4f0e0c475d
[motion.git] / server / api / user_has_team / user_has_team.socket.js
1 var _0x6520=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\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","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\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"];_0x6520[0];const UserHasTeamEvents=require(_0x6520[1]);var events=[_0x6520[2],_0x6520[3]];exports[_0x6520[4]]= function(_0x126bx3){for(var _0x126bx4=0,_0x126bx5=events[_0x6520[5]];_0x126bx4< _0x126bx5;_0x126bx4++){var _0x126bx6=events[_0x126bx4];var _0x126bx7=createListener(_0x6520[6]+ _0x126bx6,_0x126bx3);UserHasTeamEvents[_0x6520[7]](_0x126bx6,_0x126bx7);_0x126bx3[_0x6520[7]](_0x6520[8],removeListener(_0x126bx6,_0x126bx7))}};function createListener(_0x126bx6,_0x126bx3){return function(_0x126bx9){_0x126bx3[_0x6520[9]](_0x126bx6,_0x126bx9)}}function removeListener(_0x126bx6,_0x126bx7){return function(){UserHasTeamEvents[_0x6520[10]](_0x126bx6,_0x126bx7)}}