Built motion from commit 503e72f.|0.0.143
[motion.git] / server / api / voice_queue / voice_queue.controller.js
index eb14f6c..d165a36 100644 (file)
@@ -1 +1 @@
-var _0xb440=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6E\x61\x6D\x65","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74","\x69\x64","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x71\x75\x65\x75\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x50\x52\x49\x4D\x41\x52\x59","\x66\x69\x65\x6C\x64\x73","\x6D\x65\x73\x73\x61\x67\x65","\x4E\x61\x6D\x65\x20\x6D\x75\x73\x74\x20\x62\x65\x20\x75\x6E\x69\x71\x75\x65","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x53\x49\x50\x2F\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x70\x65\x6E\x61\x6C\x74\x79","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x6C\x65\x6E\x67\x74\x68","\x51\x75\x65\x75\x65\x20\x52\x6F\x75\x74\x65\x20\x41\x73\x73\x6F\x63\x69\x61\x74\x65","\x69\x64\x73"];_0xb440[0];var _=require(_0xb440[1]);var util=require(_0xb440[2]);var Util=require(_0xb440[3]);var sequelize=require(_0xb440[5])[_0xb440[4]];var User=require(_0xb440[5])[_0xb440[6]];var VoiceQueue=require(_0xb440[5])[_0xb440[7]];var UserHasVoiceQueue=require(_0xb440[5])[_0xb440[8]];var VoiceExtension=require(_0xb440[5])[_0xb440[9]];exports[_0xb440[10]]=function(_0xf9c9x9,_0xf9c9xa){return VoiceQueue[_0xb440[17]](Util[_0xb440[16]](_0xf9c9x9[_0xb440[15]]))[_0xb440[14]](function(_0xf9c9xc){_0xf9c9xa[_0xb440[13]](200)[_0xb440[12]](_0xf9c9xc)})[_0xb440[11]](function(_0xf9c9xb){return handleError(_0xf9c9xa,_0xf9c9xb)})};exports[_0xb440[18]]=function(_0xf9c9x9,_0xf9c9xa){return VoiceQueue[_0xb440[22]](_0xf9c9x9[_0xb440[21]][_0xb440[20]])[_0xb440[14]](function(_0xf9c9xd){if(!_0xf9c9xd){return _0xf9c9xa[_0xb440[19]](404)};return _0xf9c9xa[_0xb440[12]](_0xf9c9xd)})[_0xb440[11]](function(_0xf9c9xb){return handleError(_0xf9c9xa,_0xf9c9xb)})};exports[_0xb440[23]]=function(_0xf9c9x9,_0xf9c9xa){return VoiceQueue[_0xb440[22]](_0xf9c9x9[_0xb440[21]][_0xb440[20]])[_0xb440[14]](function(_0xf9c9xf){if(!_0xf9c9xf){return _0xf9c9xa[_0xb440[19]](404)};return _0xf9c9xf[_0xb440[28]]({where:{role:_0xb440[24]},attributes:[_0xb440[25],_0xb440[20],_0xb440[26],_0xb440[27]]})})[_0xb440[14]](function(_0xf9c9xe){return _0xf9c9xa[_0xb440[13]](200)[_0xb440[12]](_0xf9c9xe)})[_0xb440[11]](function(_0xf9c9xb){return handleError(_0xf9c9xa,_0xf9c9xb)})};exports[_0xb440[29]]=function(_0xf9c9x9,_0xf9c9xa){return VoiceQueue[_0xb440[31]]({where:{name:_0xf9c9x9[_0xb440[30]][_0xb440[20]]}})[_0xb440[14]](function(_0xf9c9xd){if(!_0xf9c9xd){return _0xf9c9xa[_0xb440[19]](404)};return _0xf9c9xa[_0xb440[12]](_0xf9c9xd)})[_0xb440[11]](function(_0xf9c9xb){return handleError(_0xf9c9xa,_0xf9c9xb)})};exports[_0xb440[32]]=function(_0xf9c9x9,_0xf9c9xa){return VoiceQueue[_0xb440[32]](_0xf9c9x9[_0xb440[30]])[_0xb440[14]](function(_0xf9c9xd){return _0xf9c9xa[_0xb440[13]](201)[_0xb440[12]](_0xf9c9xd)})[_0xb440[11]](sequelize.UniqueConstraintError,function(_0xf9c9xb){if(_0xf9c9xb[_0xb440[34]][_0xb440[33]]){_0xf9c9xb[_0xb440[35]]=_0xb440[36]};return handleError(_0xf9c9xa,_0xf9c9xb)})[_0xb440[11]](function(_0xf9c9xb){return handleError(_0xf9c9xa,_0xf9c9xb)})};exports[_0xb440[37]]=function(_0xf9c9x9,_0xf9c9xa){if(_0xf9c9x9[_0xb440[30]][_0xb440[20]]){delete _0xf9c9x9[_0xb440[30]][_0xb440[20]]};return VoiceQueue[_0xb440[22]](_0xf9c9x9[_0xb440[21]][_0xb440[20]])[_0xb440[14]](function(_0xf9c9xd){if(!_0xf9c9xd){return _0xf9c9xa[_0xb440[19]](404)};var _0xf9c9x10=_[_0xb440[39]](_0xf9c9xd,_0xf9c9x9[_0xb440[30]]);return _0xf9c9x10[_0xb440[40]]()})[_0xb440[14]](function(_0xf9c9xd){return _0xf9c9xa[_0xb440[13]](200)[_0xb440[12]](_0xf9c9xd)})[_0xb440[11]](function(_0xf9c9xb){console[_0xb440[38]](_0xf9c9xb);return handleError(_0xf9c9xa,_0xf9c9xb)})};exports[_0xb440[41]]=function(_0xf9c9x9,_0xf9c9xa,_0xf9c9x11){return User[_0xb440[31]]({where:{id:{$in:_0xf9c9x9[_0xb440[30]][_0xb440[47]]}}})[_0xb440[14]](function(_0xf9c9x12){var _0xf9c9x13=_[_0xb440[45]](_0xf9c9x12,function(_0xf9c9x14){return {queue:_0xf9c9x9[_0xb440[21]][_0xb440[20]],location:util[_0xb440[43]](_0xb440[42],_0xf9c9x14[_0xb440[20]]),membername:_0xf9c9x14[_0xb440[20]],VoiceQueueName:_0xf9c9x9[_0xb440[21]][_0xb440[20]],UserId:_0xf9c9x14[_0xb440[25]],penalty:_0xf9c9x9[_0xb440[30]][_0xb440[44]]}});return UserHasVoiceQueue[_0xb440[46]](_0xf9c9x13,{individualHooks:true})})[_0xb440[14]](function(){return _0xf9c9xa[_0xb440[19]](200)})[_0xb440[11]](function(_0xf9c9xb){return _0xf9c9x11(_0xf9c9xb)})};exports[_0xb440[48]]=function(_0xf9c9x9,_0xf9c9xa,_0xf9c9x11){return VoiceQueue[_0xb440[22]](_0xf9c9x9[_0xb440[21]][_0xb440[20]])[_0xb440[14]](function(_0xf9c9xf){if(!_0xf9c9xf){return _0xf9c9xa[_0xb440[19]](404)};return _0xf9c9xf[_0xb440[49]](_0xf9c9x9[_0xb440[15]][_0xb440[47]])})[_0xb440[14]](function(){return _0xf9c9xa[_0xb440[19]](202)})[_0xb440[11]](function(_0xf9c9xb){return _0xf9c9x11(_0xf9c9xb)})};exports[_0xb440[50]]=function(_0xf9c9x9,_0xf9c9xa){return VoiceQueue[_0xb440[22]](_0xf9c9x9[_0xb440[21]][_0xb440[20]])[_0xb440[14]](function(_0xf9c9xd){if(!_0xf9c9xd){return _0xf9c9xa[_0xb440[19]](404)};return _0xf9c9xd[_0xb440[50]]()})[_0xb440[14]](function(){return _0xf9c9xa[_0xb440[19]](204)})[_0xb440[11]](function(_0xf9c9xb){return handleError(_0xf9c9xa,_0xf9c9xb)})};exports[_0xb440[51]]=function(_0xf9c9x9,_0xf9c9xa){return VoiceQueue[_0xb440[31]]({where:{name:_0xf9c9x9[_0xb440[15]][_0xb440[54]]}})[_0xb440[14]](function(_0xf9c9x16){if(!_0xf9c9x16){return _0xf9c9xa[_0xb440[19]](404)};var _0xf9c9x17=_[_0xb440[45]](_0xf9c9x16,_0xb440[20]);return VoiceExtension[_0xb440[31]]({where:{queue:_0xf9c9x17}})})[_0xb440[14]](function(_0xf9c9x15){if(_0xf9c9x15[_0xb440[52]]>0){return _0xf9c9xa[_0xb440[13]](500)[_0xb440[12]]({message:_0xb440[53]})};return VoiceQueue[_0xb440[50]]({where:{name:_0xf9c9x9[_0xb440[15]][_0xb440[54]]},individualHooks:true})})[_0xb440[14]](function(){return _0xf9c9xa[_0xb440[19]](204)})[_0xb440[11]](function(_0xf9c9xb){return handleError(_0xf9c9xa,_0xf9c9xb)})};function handleError(_0xf9c9xa,_0xf9c9xb){return _0xf9c9xa[_0xb440[13]](500)[_0xb440[12]](_0xf9c9xb)}
\ No newline at end of file
+var _0xf6bc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x6C\x6F\x67","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x67\x65\x74\x52\x65\x61\x6C\x74\x69\x6D\x65\x51\x75\x65\x75\x65\x73","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x72\x67\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x50\x52\x49\x4D\x41\x52\x59","\x70\x61\x74\x68","\x65\x72\x72\x6F\x72\x73","\x20\x6D\x75\x73\x74\x20\x62\x65\x20\x75\x6E\x69\x71\x75\x65","\x6D\x65\x73\x73\x61\x67\x65","\x6A\x6F\x69\x6E","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x51\x55\x45\x55\x45","\x61\x67\x65\x6E\x74\x73","\x62\x6F\x64\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x61\x64\x64\x55\x73\x65\x72\x73","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x53\x49\x50\x2F\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xf6bc[0];var _=require(_0xf6bc[1]);var util=require(_0xf6bc[2]);var Util=require(_0xf6bc[3]);var sequelize=require(_0xf6bc[5])[_0xf6bc[4]];var User=require(_0xf6bc[5])[_0xf6bc[6]];var VoiceQueue=require(_0xf6bc[5])[_0xf6bc[7]];var UserHasVoiceQueue=require(_0xf6bc[5])[_0xf6bc[8]];var VoiceExtension=require(_0xf6bc[5])[_0xf6bc[9]];exports[_0xf6bc[10]]= function(_0x97c2x9,_0x97c2xa){switch(_0x97c2x9[_0xf6bc[18]][_0xf6bc[23]]){case _0xf6bc[18]:return User[_0xf6bc[19]](_0x97c2x9[_0xf6bc[18]][_0xf6bc[17]],{attributes:[_0xf6bc[17]]})[_0xf6bc[14]](Util[_0xf6bc[16]](_0x97c2x9[_0xf6bc[15]]))[_0xf6bc[14]](function(_0x97c2xc){_0x97c2xa[_0xf6bc[13]](200)[_0xf6bc[12]](_0x97c2xc)})[_0xf6bc[11]](function(_0x97c2xb){return handleError(_0x97c2xa,_0x97c2xb)});default:return VoiceQueue[_0xf6bc[22]](Util[_0xf6bc[21]](_0x97c2x9[_0xf6bc[15]]))[_0xf6bc[14]](function(_0x97c2xc){_0x97c2xa[_0xf6bc[13]](200)[_0xf6bc[12]](_0x97c2xc)})[_0xf6bc[11]](function(_0x97c2xb){console[_0xf6bc[20]](_0x97c2xb);return handleError(_0x97c2xa,_0x97c2xb)})}};exports[_0xf6bc[24]]= function(_0x97c2x9,_0x97c2xa,_0x97c2xd){switch(_0x97c2x9[_0xf6bc[18]][_0xf6bc[23]]){case _0xf6bc[18]:var _0x97c2xe=[];return User[_0xf6bc[19]](_0x97c2x9[_0xf6bc[18]][_0xf6bc[17]],{attributes:[_0xf6bc[17]]})[_0xf6bc[14]](Util[_0xf6bc[16]]({},{attributes:[_0xf6bc[26]],include:[{raw:true,model:User,attributes:[_0xf6bc[17]]}]}))[_0xf6bc[14]](function(_0x97c2xf){var _0x97c2x10=_[_0xf6bc[27]](_0x97c2xf[_0xf6bc[25]],_0xf6bc[26]);_0x97c2xf[_0xf6bc[25]][_0xf6bc[29]](function(_0x97c2x11){_0x97c2xe= _[_0xf6bc[28]](_0x97c2xe,_[_0xf6bc[27]](_0x97c2x11.Users,_0xf6bc[17]))});return VoiceQueue[_0xf6bc[22]](_[_0xf6bc[30]](Util[_0xf6bc[21]](_0x97c2x9[_0xf6bc[15]],{name:_0x97c2x10}),{include:[{model:User,where:{id:_0x97c2xe},required:false}]}))})[_0xf6bc[14]](function(_0x97c2xc){return _0x97c2xa[_0xf6bc[13]](200)[_0xf6bc[12]](_0x97c2xc)})[_0xf6bc[11]](function(_0x97c2xb){console[_0xf6bc[20]](_0x97c2xb);return handleError(_0x97c2xa,_0x97c2xb)});default:return VoiceQueue[_0xf6bc[22]](_[_0xf6bc[30]](Util[_0xf6bc[21]](_0x97c2x9[_0xf6bc[15]]),{include:[{model:User,required:false}]}))[_0xf6bc[14]](function(_0x97c2xc){return _0x97c2xa[_0xf6bc[13]](200)[_0xf6bc[12]](_0x97c2xc)})[_0xf6bc[11]](function(_0x97c2xb){console[_0xf6bc[20]](_0x97c2xb);return handleError(_0x97c2xa,_0x97c2xb)})}};exports[_0xf6bc[31]]= function(_0x97c2x9,_0x97c2xa){return VoiceQueue[_0xf6bc[19]](_0x97c2x9[_0xf6bc[33]][_0xf6bc[26]])[_0xf6bc[14]](function(_0x97c2x12){if(!_0x97c2x12){return _0x97c2xa[_0xf6bc[32]](404)};return _0x97c2xa[_0xf6bc[12]](_0x97c2x12)})[_0xf6bc[11]](function(_0x97c2xb){return handleError(_0x97c2xa,_0x97c2xb)})};exports[_0xf6bc[34]]= function(_0x97c2x9,_0x97c2xa){return VoiceQueue[_0xf6bc[19]](_0x97c2x9[_0xf6bc[33]][_0xf6bc[26]])[_0xf6bc[14]](function(_0x97c2x11){if(!_0x97c2x11){return _0x97c2xa[_0xf6bc[32]](404)};return _0x97c2x11[_0xf6bc[39]]({where:{role:_0xf6bc[36]},attributes:[_0xf6bc[17],_0xf6bc[26],_0xf6bc[37],_0xf6bc[38]]})})[_0xf6bc[14]](function(_0x97c2xe){return _0x97c2xa[_0xf6bc[13]](200)[_0xf6bc[12]]({rows:_0x97c2xe,count:_0x97c2xe[_0xf6bc[35]]})})[_0xf6bc[11]](function(_0x97c2xb){return handleError(_0x97c2xa,_0x97c2xb)})};exports[_0xf6bc[40]]= function(_0x97c2x9,_0x97c2xa){var _0x97c2x13;return VoiceQueue[_0xf6bc[40]](_0x97c2x9[_0xf6bc[51]])[_0xf6bc[14]](function(_0x97c2x12){_0x97c2x13= _0x97c2x12;if(_0x97c2x9[_0xf6bc[51]][_0xf6bc[50]]){return _0x97c2x13[_0xf6bc[53]](_0x97c2x9[_0xf6bc[51]][_0xf6bc[50]],{penalty:_0x97c2x9[_0xf6bc[51]][_0xf6bc[52]]|| 0})}})[_0xf6bc[14]](function(){return _0x97c2xa[_0xf6bc[13]](201)[_0xf6bc[12]](_0x97c2x13)})[_0xf6bc[11]](sequelize.UniqueConstraintError,function(_0x97c2xb){var _0x97c2x14=[];_0x97c2xb[_0xf6bc[44]][_0xf6bc[29]](function(_0x97c2x15){switch(_0x97c2x15[_0xf6bc[43]]){case _0xf6bc[42]:_0x97c2x14[_0xf6bc[41]](_0xf6bc[26]);break;default:_0x97c2x14[_0xf6bc[41]](_0x97c2x15[_0xf6bc[43]])}});_0x97c2x14[_0xf6bc[41]](_0xf6bc[45]);_0x97c2xb[_0xf6bc[46]]= _0x97c2x14[_0xf6bc[47]]();_0x97c2xb[_0xf6bc[48]]= _0xf6bc[49];return _0x97c2xa[_0xf6bc[13]](500)[_0xf6bc[12]](_0x97c2xb)})[_0xf6bc[11]](function(_0x97c2xb){return handleError(_0x97c2xa,_0x97c2xb)})};exports[_0xf6bc[54]]= function(_0x97c2x9,_0x97c2xa){if(_0x97c2x9[_0xf6bc[51]][_0xf6bc[26]]){delete _0x97c2x9[_0xf6bc[51]][_0xf6bc[26]]};return VoiceQueue[_0xf6bc[19]](_0x97c2x9[_0xf6bc[33]][_0xf6bc[26]])[_0xf6bc[14]](function(_0x97c2x12){if(!_0x97c2x12){return _0x97c2xa[_0xf6bc[32]](404)};var _0x97c2x16=_[_0xf6bc[30]](_0x97c2x12,_0x97c2x9[_0xf6bc[51]]);return _0x97c2x16[_0xf6bc[55]]()})[_0xf6bc[14]](function(_0x97c2x12){return _0x97c2xa[_0xf6bc[13]](200)[_0xf6bc[12]](_0x97c2x12)})[_0xf6bc[11]](function(_0x97c2xb){console[_0xf6bc[20]](_0x97c2xb);return handleError(_0x97c2xa,_0x97c2xb)})};exports[_0xf6bc[56]]= function(_0x97c2x9,_0x97c2xa,_0x97c2xd){return User[_0xf6bc[60]]({where:{id:{$in:_0x97c2x9[_0xf6bc[51]][_0xf6bc[50]]}}})[_0xf6bc[14]](function(_0x97c2x17){var _0x97c2x18=_[_0xf6bc[27]](_0x97c2x17,function(_0x97c2x19){return {queue:_0x97c2x9[_0xf6bc[33]][_0xf6bc[26]],interface:util[_0xf6bc[58]](_0xf6bc[57],_0x97c2x19[_0xf6bc[26]]),stateinterface:util[_0xf6bc[58]](_0xf6bc[57],_0x97c2x19[_0xf6bc[26]]),membername:_0x97c2x19[_0xf6bc[26]],UserId:_0x97c2x19[_0xf6bc[17]],penalty:_0x97c2x9[_0xf6bc[51]][_0xf6bc[52]]}});return UserHasVoiceQueue[_0xf6bc[59]](_0x97c2x18,{individualHooks:true})})[_0xf6bc[14]](function(){return _0x97c2xa[_0xf6bc[32]](200)})[_0xf6bc[11]](function(_0x97c2xb){console[_0xf6bc[20]](_0x97c2xb);return _0x97c2xd(_0x97c2xb)})};exports[_0xf6bc[61]]= function(_0x97c2x9,_0x97c2xa,_0x97c2xd){return UserHasVoiceQueue[_0xf6bc[62]]({where:{UserId:_0x97c2x9[_0xf6bc[15]][_0xf6bc[50]],queue:_0x97c2x9[_0xf6bc[33]][_0xf6bc[26]]},individualHooks:true})[_0xf6bc[14]](function(){return _0x97c2xa[_0xf6bc[32]](202)})[_0xf6bc[11]](function(_0x97c2xb){return _0x97c2xd(_0x97c2xb)})};exports[_0xf6bc[62]]= function(_0x97c2x9,_0x97c2xa){return VoiceQueue[_0xf6bc[62]]({where:{name:_0x97c2x9[_0xf6bc[33]][_0xf6bc[26]]},individualHooks:true})[_0xf6bc[14]](function(){return _0x97c2xa[_0xf6bc[32]](204)})[_0xf6bc[11]](function(_0x97c2xb){return handleError(_0x97c2xa,_0x97c2xb)})};exports[_0xf6bc[63]]= function(_0x97c2x9,_0x97c2xa){return VoiceQueue[_0xf6bc[62]]({where:{name:_0x97c2x9[_0xf6bc[15]][_0xf6bc[64]]},individualHooks:true})[_0xf6bc[14]](function(){return _0x97c2xa[_0xf6bc[32]](204)})[_0xf6bc[11]](function(_0x97c2xb){return handleError(_0x97c2xa,_0x97c2xb)})};function handleError(_0x97c2xa,_0x97c2xb){return _0x97c2xa[_0xf6bc[13]](500)[_0xf6bc[12]](_0x97c2xb)}
\ No newline at end of file