1 var _0x59c3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x2E\x65\x76\x65\x6E\x74\x73","\x56\x6F\x69\x63\x65\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","\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","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x65\x70\x6F\x72\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","\x71\x75\x65\x75\x65","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x65\x6D\x69\x74","\x74\x68\x65\x6E","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\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","\x6E\x61\x6D\x65","\x6D\x61\x70","\x67\x65\x74\x56\x6F\x69\x63\x65\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","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x73\x63\x6F\x70\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x6F\x6C\x65"];_0x59c3[0];const ReportQueueEvents=require(_0x59c3[1]);const VoiceQueue=require(_0x59c3[3])[_0x59c3[2]];const User=require(_0x59c3[3])[_0x59c3[4]];const Util=require(_0x59c3[5]);const _=require(_0x59c3[6]);const Promise=require(_0x59c3[7]);var events=[_0x59c3[8],_0x59c3[9],_0x59c3[10]];exports[_0x59c3[11]]= function(_0x4628x8){for(var _0x4628x9=0,_0x4628xa=events[_0x59c3[12]];_0x4628x9< _0x4628xa;_0x4628x9++){var _0x4628xb=events[_0x4628x9];var _0x4628xc=createListener(_0x59c3[13]+ _0x4628xb,_0x4628x8);ReportQueueEvents[_0x59c3[14]](_0x4628xb,_0x4628xc);_0x4628x8[_0x59c3[14]](_0x59c3[15],removeListener(_0x4628xb,_0x4628xc))}};function createListener(_0x4628xb,_0x4628x8){return function(_0x4628xe){switch(_0x4628xb){case _0x59c3[16]:;case _0x59c3[25]:return Promise[_0x59c3[24]]([])[_0x59c3[23]](getVoiceQueues(_0x4628x8))[_0x59c3[23]](function(_0x4628x10){if(_[_0x59c3[21]](_0x4628x10,_0x4628xe[_0x59c3[20]])){_0x4628x8[_0x59c3[22]](_0x4628xb,_0x4628xe)}})[_0x59c3[19]](function(_0x4628xf){console[_0x59c3[18]](_0x59c3[17],_0x4628xf)});case _0x59c3[26]:_0x4628x8[_0x59c3[22]](_0x4628xb,_0x4628xe);break;default:}}}function removeListener(_0x4628xb,_0x4628xc){return function(){ReportQueueEvents[_0x59c3[27]](_0x4628xb,_0x4628xc)}}function getVoiceQueues(_0x4628x13){return function(){switch(_0x4628x13[_0x59c3[40]]){case _0x59c3[35]:return User[_0x59c3[34]](_0x4628x13[_0x59c3[32]],{attributes:[_0x59c3[33]]})[_0x59c3[23]](Util[_0x59c3[31]]())[_0x59c3[23]](function(_0x4628x10){return _[_0x59c3[30]](_0x4628x10[_0x59c3[28]],_0x59c3[29])});case _0x59c3[37]:return User[_0x59c3[38]](_0x59c3[37])[_0x59c3[34]](_0x4628x13[_0x59c3[32]])[_0x59c3[23]](function(_0x4628x15){return _0x4628x15[_0x59c3[36]]({attributes:[_0x59c3[29]]})})[_0x59c3[23]](function(_0x4628x14){return _[_0x59c3[30]](_0x4628x14,_0x59c3[29])});default:return VoiceQueue[_0x59c3[39]]()[_0x59c3[23]](function(_0x4628x10){return _[_0x59c3[30]](_0x4628x10,_0x59c3[29])})}}}