1 var _0xf3cb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\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\x74\x5F\x71\x75\x65\x75\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x73\x20\x61\x66\x74\x65\x72\x20\x71\x75\x65\x75\x65\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x74\x68\x65\x6E","\x72\x65\x73\x6F\x6C\x76\x65","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x75\x70\x64\x61\x74\x65","\x6C\x65\x61\x76\x65","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x72\x6F\x77\x73","\x6D\x61\x70","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C"];_0xf3cb[0];var ChatQueueEvents=require(_0xf3cb[1]);var ChatQueue=require(_0xf3cb[3])[_0xf3cb[2]];var User=require(_0xf3cb[3])[_0xf3cb[4]];var Util=require(_0xf3cb[5]);var _=require(_0xf3cb[6]);var Promise=require(_0xf3cb[7]);var events=[_0xf3cb[8],_0xf3cb[9]];exports[_0xf3cb[10]]= function(_0xd7a2x8){for(var _0xd7a2x9=0,_0xd7a2xa=events[_0xf3cb[11]];_0xd7a2x9< _0xd7a2xa;_0xd7a2x9++){var _0xd7a2xb=events[_0xd7a2x9];var _0xd7a2xc=createListener(_0xf3cb[12]+ _0xd7a2xb,_0xd7a2x8);ChatQueueEvents[_0xf3cb[13]](_0xd7a2xb,_0xd7a2xc);_0xd7a2x8[_0xf3cb[13]](_0xf3cb[14],removeListener(_0xd7a2xb,_0xd7a2xc))}};function createListener(_0xd7a2xb,_0xd7a2x8){return function(_0xd7a2xe){switch(_0xd7a2xb){case _0xf3cb[20]:if(_0xd7a2x8[_0xf3cb[15]]=== _0xf3cb[16]){_0xd7a2x8[_0xf3cb[18]](_0xd7a2xe[_0xf3cb[17]]);_0xd7a2x8[_0xf3cb[19]](_0xd7a2xb,_0xd7a2xe)};break;case _0xf3cb[27]:return Promise[_0xf3cb[26]]()[_0xf3cb[25]](getChatQueues(_0xd7a2x8))[_0xf3cb[25]](function(_0xd7a2x10){if(_[_0xf3cb[24]](_0xd7a2x10,_0xd7a2xe[_0xf3cb[17]])){_0xd7a2x8[_0xf3cb[19]](_0xd7a2xb,_0xd7a2xe)}})[_0xf3cb[23]](function(_0xd7a2xf){console[_0xf3cb[22]](_0xf3cb[21],_0xd7a2xf)});break;case _0xf3cb[29]:_0xd7a2x8[_0xf3cb[28]](_0xd7a2xe[_0xf3cb[17]]);_0xd7a2x8[_0xf3cb[19]](_0xd7a2xb,_0xd7a2xe);break;default:}}}function removeListener(_0xd7a2xb,_0xd7a2xc){return function(){ChatQueueEvents[_0xf3cb[30]](_0xd7a2xb,_0xd7a2xc)}}function getChatQueues(_0xd7a2x13){return function(){switch(_0xd7a2x13[_0xf3cb[15]]){case _0xf3cb[37]:return User[_0xf3cb[36]](_0xd7a2x13[_0xf3cb[34]],{attributes:[_0xf3cb[35]]})[_0xf3cb[25]](Util[_0xf3cb[33]]())[_0xf3cb[25]](function(_0xd7a2x10){return _[_0xf3cb[32]](_0xd7a2x10[_0xf3cb[31]],_0xf3cb[17])});case _0xf3cb[16]:return ChatQueue[_0xf3cb[38]]()[_0xf3cb[25]](function(_0xd7a2x14){return {rows:_0xd7a2x14}})[_0xf3cb[25]](function(_0xd7a2x10){return _[_0xf3cb[32]](_0xd7a2x10[_0xf3cb[31]],_0xf3cb[17])});default:return []}}}