Built motion from commit 54a160d.|0.0.140
[motion.git] / server / api / user_has_openchannel_queue / user_has_openchannel_queue_permit.socket.js
1 var _0x9b5d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\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\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x9b5d[0];const UserHasOpenchannelQueuePermitEvents=require(_0x9b5d[1]);var events=[_0x9b5d[2],_0x9b5d[3]];exports[_0x9b5d[4]]= function(_0xb147x3){for(var _0xb147x4=0,_0xb147x5=events[_0x9b5d[5]];_0xb147x4< _0xb147x5;_0xb147x4++){var _0xb147x6=events[_0xb147x4];var _0xb147x7=createListener(_0x9b5d[6]+ _0xb147x6,_0xb147x3);UserHasOpenchannelQueuePermitEvents[_0x9b5d[7]](_0xb147x6,_0xb147x7);_0xb147x3[_0x9b5d[7]](_0x9b5d[8],removeListener(_0xb147x6,_0xb147x7))}};function createListener(_0xb147x6,_0xb147x3){return function(_0xb147x9){if(_0xb147x3[_0x9b5d[9]]=== _0xb147x9[_0x9b5d[10]]){_0xb147x3[_0x9b5d[12]](_0x9b5d[11])}}}function removeListener(_0xb147x6,_0xb147x7){return function(){UserHasOpenchannelQueuePermitEvents[_0x9b5d[13]](_0xb147x6,_0xb147x7)}}