Built motion from commit 7db97eb.|0.0.116
[motion.git] / server / config / ami / action.js
1 var _0x21e8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x62\x6C\x75\x65\x62\x69\x72\x64","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x41\x63\x74\x69\x6F\x6E","\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","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x41\x63\x74\x69\x6F\x6E\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x76\x6F\x69\x63\x65","\x63\x68\x61\x74","\x6D\x61\x69\x6C","\x66\x61\x78","\x73\x6D\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x74\x68\x65\x6E","\x63\x68\x61\x6E\x6E\x65\x6C","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x74\x79\x70\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x62\x65\x66\x6F\x72\x65\x43\x72\x65\x61\x74\x65","\x6E\x61\x6D\x65","\x25\x73\x2F\x25\x73","\x53\x49\x50","\x50\x41\x55\x53\x45","\x62\x6F\x64\x79","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x64\x61\x74\x61\x34","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x51\x75\x65\x75\x65\x50\x61\x75\x73\x65","\x61\x63\x74\x69\x6F\x6E","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x41\x6C\x72\x65\x61\x64\x79\x20\x50\x61\x75\x73\x65\x20\x4F\x66\x66","\x66\x69\x6E\x64\x4F\x6E\x65","\x25\x73\x25\x73","\x50\x61\x75\x73\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x4C\x4F\x47\x49\x4E","\x51\x75\x65\x75\x65\x41\x64\x64","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x51\x75\x65\x75\x65\x52\x65\x6D\x6F\x76\x65","\x69\x64","\x53\x49\x50\x2F\x25\x73","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x71\x75\x65\x75\x65\x73","\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x71\x75\x65\x75\x65","\x64\x65\x73\x74\x72\x6F\x79","\x71\x75\x65\x75\x65\x49\x64","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x41\x67\x65\x6E\x74","\x61\x67\x65\x6E\x74","\x66\x69\x6E\x64\x42\x79\x49\x64","\x70\x61\x75\x73\x65","\x75\x6E\x70\x61\x75\x73\x65","\x6C\x6F\x67\x69\x6E","\x6C\x6F\x67\x6F\x75\x74","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x41\x63\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0x21e8[0];var moment=require(_0x21e8[1]);var util=require(_0x21e8[2]);var Promise=require(_0x21e8[3]);var Sequelize=require(_0x21e8[5])[_0x21e8[4]];var ReportMember=require(_0x21e8[5])[_0x21e8[6]];var _Action=require(_0x21e8[5])[_0x21e8[7]];var Agent=require(_0x21e8[5])[_0x21e8[8]];var VoiceQueue=require(_0x21e8[5])[_0x21e8[9]];var UserHasVoiceQueue=require(_0x21e8[5])[_0x21e8[10]];var UserHasChatQueue=require(_0x21e8[5])[_0x21e8[11]];var UserHasMailQueue=require(_0x21e8[5])[_0x21e8[12]];var UserHasFaxQueue=require(_0x21e8[5])[_0x21e8[13]];var UserHasSmsQueue=require(_0x21e8[5])[_0x21e8[14]];function Action(_0x7b79xf){console[_0x21e8[16]](_0x21e8[15]);var _0x7b79x10=[_0x21e8[17],_0x21e8[18],_0x21e8[19],_0x21e8[20],_0x21e8[21]];_Action[_0x21e8[22]](function(_0x7b79x11,_0x7b79x12){return _0x7b79x30(_0x7b79x11,_0x7b79x12,_0x7b79xf)});ReportMember[_0x21e8[35]](function(_0x7b79x11,_0x7b79x12){return ReportMember[_0x21e8[34]]({where:{channel:_0x7b79x11[_0x21e8[30]],membername:_0x7b79x11[_0x21e8[31]],interface:_0x7b79x11[_0x21e8[32]],type:_0x7b79x11[_0x21e8[33]],exitAt:null}})[_0x21e8[29]](function(_0x7b79x13){var _0x7b79x14=[];_0x7b79x13[_0x21e8[27]](function(_0x7b79x15){_0x7b79x14[_0x21e8[26]](_0x7b79x15[_0x21e8[25]]({exitAt:moment()[_0x21e8[24]](_0x21e8[23])}))});return Promise[_0x21e8[28]](_0x7b79x14)})});function _0x7b79x16(_0x7b79x12,_0x7b79x17){return function(_0x7b79x18){return Promise[_0x21e8[51]](_0x7b79xf[_0x21e8[50]])({action:_0x21e8[49],interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]]),paused:true,reason:_0x7b79x12[_0x21e8[40]][_0x21e8[33]]|| _0x7b79x17[_0x21e8[41]]})[_0x21e8[29]](function(_0x7b79x1b){return _0x7b79x18[_0x21e8[25]]({voicePause:true,chatPause:true,mailPause:true,faxPause:true,smsPause:true,pauseType:_0x7b79x12[_0x21e8[40]][_0x21e8[33]]|| _0x7b79x17[_0x21e8[41]],lastPauseAt:moment()[_0x21e8[24]](_0x21e8[23])},{transaction:_0x7b79x12[_0x21e8[47]]|| null})})[_0x21e8[29]](function(_0x7b79x18){var _0x7b79x19=[];_0x7b79x10[_0x21e8[27]](function(_0x7b79x1a){_0x7b79x19[_0x21e8[26]]({channel:_0x7b79x1a,membername:_0x7b79x18[_0x21e8[36]],interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]]),type:_0x21e8[39],enterAt:moment()[_0x21e8[24]](_0x21e8[23]),data1:_0x7b79x12[_0x21e8[40]][_0x21e8[33]]|| _0x7b79x17[_0x21e8[41]],data2:_0x7b79x17[_0x21e8[42]],data3:_0x7b79x17[_0x21e8[43]],data4:_0x7b79x17[_0x21e8[44]],role:_0x7b79x18[_0x21e8[45]],internal:_0x7b79x18[_0x21e8[46]]})});return ReportMember[_0x21e8[48]](_0x7b79x19,{individualHooks:true,transaction:_0x7b79x12[_0x21e8[47]]|| null})})}}function _0x7b79x1c(_0x7b79x12,_0x7b79x17){return function(_0x7b79x18){if(!_0x7b79x12[_0x21e8[40]]){_0x7b79x12[_0x21e8[40]]= {}};switch(_0x7b79x12[_0x21e8[40]][_0x21e8[30]]){case _0x21e8[17]:return Promise[_0x21e8[51]](_0x7b79xf[_0x21e8[50]])({action:_0x21e8[49],interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]]),paused:false,reason:_0x7b79x12[_0x21e8[40]][_0x21e8[33]]})[_0x21e8[29]](function(){return _0x7b79x18[_0x21e8[25]]({voicePause:false},{transaction:_0x7b79x12[_0x21e8[47]]|| null})})[_0x21e8[29]](function(_0x7b79x18){return ReportMember[_0x21e8[53]]({where:{channel:_0x7b79x12[_0x21e8[40]][_0x21e8[30]],membername:_0x7b79x18[_0x21e8[36]],interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]]),type:_0x21e8[39],exitAt:null}})})[_0x21e8[29]](_0x7b79x2d({message:_0x21e8[52]}))[_0x21e8[29]](function(_0x7b79x1d){return _0x7b79x1d[_0x21e8[25]]({exitAt:moment()[_0x21e8[24]](_0x21e8[23])},{individualHooks:true,transaction:_0x7b79x12[_0x21e8[47]]|| null})})[_0x21e8[29]](function(){return _0x7b79x18});case _0x21e8[18]:;case _0x21e8[19]:;case _0x21e8[20]:;case _0x21e8[21]:var _0x7b79x1e={};_0x7b79x1e[util[_0x21e8[24]](_0x21e8[54],_0x7b79x12[_0x21e8[40]][_0x21e8[30]],_0x21e8[55])]= false;return _0x7b79x18[_0x21e8[25]](_0x7b79x1e,{transaction:_0x7b79x12[_0x21e8[47]]|| null})[_0x21e8[29]](function(_0x7b79x18){return ReportMember[_0x21e8[53]]({where:{channel:_0x7b79x12[_0x21e8[40]][_0x21e8[30]],membername:_0x7b79x18[_0x21e8[36]],interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]]),type:_0x21e8[39],exitAt:null}})})[_0x21e8[29]](_0x7b79x2d({message:_0x21e8[52]}))[_0x21e8[29]](function(_0x7b79x1d){return _0x7b79x1d[_0x21e8[25]]({exitAt:moment()[_0x21e8[24]](_0x21e8[23])},{individualHooks:true,transaction:_0x7b79x12[_0x21e8[47]]|| null})})[_0x21e8[29]](function(){return _0x7b79x18});default:var _0x7b79x17=Promise[_0x21e8[51]](_0x7b79xf[_0x21e8[50]]);return _0x7b79x17({action:_0x21e8[49],interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]]),paused:false})[_0x21e8[57]](function(_0x7b79x22){console[_0x21e8[56]](_0x7b79x22)})[_0x21e8[29]](function(){return _0x7b79x18[_0x21e8[25]]({voicePause:false,mailPause:false,chatPause:false,faxPause:false,smsPause:false},{transaction:_0x7b79x12[_0x21e8[47]]|| null})})[_0x21e8[29]](function(_0x7b79x18){return ReportMember[_0x21e8[34]]({where:{membername:_0x7b79x18[_0x21e8[36]],interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]]),type:_0x21e8[39],exitAt:null}})})[_0x21e8[29]](function(_0x7b79x1f){var _0x7b79x20=[];_0x7b79x1f[_0x21e8[27]](function(_0x7b79x21){_0x7b79x20[_0x21e8[26]](_0x7b79x21[_0x21e8[25]]({exitAt:moment()[_0x21e8[24]](_0x21e8[23])}))});return Promise[_0x21e8[28]](_0x7b79x20)})[_0x21e8[29]](function(){return _0x7b79x18})}}}function _0x7b79x23(_0x7b79x12,_0x7b79x17){return function(_0x7b79x18){return _0x7b79x18[_0x21e8[60]]()[_0x21e8[29]](function(_0x7b79x24){var _0x7b79x25=[];_0x7b79x24[_0x21e8[27]](function(_0x7b79x26){_0x7b79x25[_0x21e8[26]](_0x7b79xf[_0x21e8[50]]({action:_0x21e8[59],queue:_0x7b79x26[_0x21e8[36]],interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]]),membername:_0x7b79x18[_0x21e8[36]]}))});return Promise[_0x21e8[28]](_0x7b79x25)})[_0x21e8[29]](function(_0x7b79x1b){var _0x7b79x19=[];_0x7b79x10[_0x21e8[27]](function(_0x7b79x1a){_0x7b79x19[_0x21e8[26]]({channel:_0x7b79x1a,membername:_0x7b79x18[_0x21e8[36]],interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]]),type:_0x21e8[58],enterAt:moment()[_0x21e8[24]](_0x21e8[23]),role:_0x7b79x18[_0x21e8[45]],internal:_0x7b79x18[_0x21e8[46]]})});return ReportMember[_0x21e8[48]](_0x7b79x19,{individualHooks:true})})}}function _0x7b79x27(_0x7b79x12,_0x7b79x17){return function(_0x7b79x18){return VoiceQueue[_0x21e8[34]]()[_0x21e8[29]](function(_0x7b79x24){var _0x7b79x25=[];_0x7b79x24[_0x21e8[27]](function(_0x7b79x26){_0x7b79x25[_0x21e8[26]](_0x7b79xf[_0x21e8[50]]({action:_0x21e8[61],queue:_0x7b79x26[_0x21e8[36]],interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]])}))});return Promise[_0x21e8[28]](_0x7b79x25)[_0x21e8[57]](function(_0x7b79x22){console[_0x21e8[56]](_0x7b79x22)})})[_0x21e8[29]](function(_0x7b79x1b){return ReportMember[_0x21e8[34]]({where:{membername:_0x7b79x18[_0x21e8[36]],interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]]),type:_0x21e8[58],exitAt:null}})})[_0x21e8[29]](function(_0x7b79x1f){var _0x7b79x20=[];_0x7b79x1f[_0x21e8[27]](function(_0x7b79x21){_0x7b79x20[_0x21e8[26]](_0x7b79x21[_0x21e8[25]]({exitAt:moment()[_0x21e8[24]](_0x21e8[23])}))});return Promise[_0x21e8[28]](_0x7b79x20)})}}function _0x7b79x28(_0x7b79x12,_0x7b79x17){return function(_0x7b79x18){var _0x7b79x29=[];switch(_0x7b79x12[_0x21e8[40]][_0x21e8[30]]){case _0x21e8[17]:_0x7b79x12[_0x21e8[40]][_0x21e8[65]][_0x21e8[27]](function(_0x7b79x2a){_0x7b79x29[_0x21e8[26]](UserHasVoiceQueue[_0x21e8[64]]({where:{UserId:_0x7b79x18[_0x21e8[62]],queue:_0x7b79x2a},defaults:{queue:_0x7b79x2a,location:util[_0x21e8[24]](_0x21e8[63],_0x7b79x18[_0x21e8[36]]),membername:_0x7b79x18[_0x21e8[36]],UserId:_0x7b79x18[_0x21e8[62]]},transaction:_0x7b79x12[_0x21e8[47]]|| null}))});return Promise[_0x21e8[28]](_0x7b79x29)[_0x21e8[29]](function(){var _0x7b79x25=[];_0x7b79x12[_0x21e8[40]][_0x21e8[65]][_0x21e8[27]](function(_0x7b79x2a){_0x7b79x25[_0x21e8[26]](_0x7b79xf[_0x21e8[50]]({action:_0x21e8[59],queue:_0x7b79x2a,interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]]),membername:_0x7b79x18[_0x21e8[36]]}))});return Promise[_0x21e8[28]](_0x7b79x25)})[_0x21e8[57]](function(_0x7b79x22){console[_0x21e8[56]](_0x7b79x22)});case _0x21e8[18]:_0x7b79x12[_0x21e8[40]][_0x21e8[65]][_0x21e8[27]](function(_0x7b79x2a){_0x7b79x29[_0x21e8[26]](UserHasChatQueue[_0x21e8[64]]({where:{UserId:_0x7b79x18[_0x21e8[62]],ChatQueueId:_0x7b79x2a[_0x21e8[62]]},defaults:{ChatQueueId:_0x7b79x2a[_0x21e8[62]],queue:_0x7b79x2a[_0x21e8[36]],UserId:_0x7b79x18[_0x21e8[62]]},transaction:_0x7b79x12[_0x21e8[47]]|| null}))});return Promise[_0x21e8[28]](_0x7b79x29)[_0x21e8[57]](function(_0x7b79x22){console[_0x21e8[16]](_0x7b79x22)});case _0x21e8[19]:_0x7b79x12[_0x21e8[40]][_0x21e8[65]][_0x21e8[27]](function(_0x7b79x2a){_0x7b79x29[_0x21e8[26]](UserHasMailQueue[_0x21e8[64]]({where:{UserId:_0x7b79x18[_0x21e8[62]],MailQueueId:_0x7b79x2a[_0x21e8[62]]},defaults:{MailQueueId:_0x7b79x2a[_0x21e8[62]],queue:_0x7b79x2a[_0x21e8[36]],UserId:_0x7b79x18[_0x21e8[62]]},transaction:_0x7b79x12[_0x21e8[47]]|| null}))});return Promise[_0x21e8[28]](_0x7b79x29)[_0x21e8[57]](function(_0x7b79x22){console[_0x21e8[16]](_0x7b79x22)});case _0x21e8[21]:_0x7b79x12[_0x21e8[40]][_0x21e8[65]][_0x21e8[27]](function(_0x7b79x2a){_0x7b79x29[_0x21e8[26]](UserHasSmsQueue[_0x21e8[64]]({where:{UserId:_0x7b79x18[_0x21e8[62]],SmsQueueId:_0x7b79x2a[_0x21e8[62]]},defaults:{SmsQueueId:_0x7b79x2a[_0x21e8[62]],queue:_0x7b79x2a[_0x21e8[36]],UserId:_0x7b79x18[_0x21e8[62]]},transaction:_0x7b79x12[_0x21e8[47]]|| null}))});return Promise[_0x21e8[28]](_0x7b79x29)[_0x21e8[57]](function(_0x7b79x22){console[_0x21e8[16]](_0x7b79x22)});case _0x21e8[20]:_0x7b79x12[_0x21e8[40]][_0x21e8[65]][_0x21e8[27]](function(_0x7b79x2a){_0x7b79x29[_0x21e8[26]](UserHasFaxQueue[_0x21e8[64]]({where:{UserId:_0x7b79x18[_0x21e8[62]],FaxQueueId:_0x7b79x2a[_0x21e8[62]]},defaults:{faxQueueId:_0x7b79x2a[_0x21e8[62]],queue:_0x7b79x2a[_0x21e8[36]],UserId:_0x7b79x18[_0x21e8[62]]},transaction:_0x7b79x12[_0x21e8[47]]|| null}))});return Promise[_0x21e8[28]](_0x7b79x29)[_0x21e8[57]](function(_0x7b79x22){console[_0x21e8[16]](_0x7b79x22)});default:}}}function _0x7b79x2b(_0x7b79x12,_0x7b79x17){return function(_0x7b79x18){switch(_0x7b79x12[_0x21e8[40]][_0x21e8[30]]){case _0x21e8[17]:return UserHasVoiceQueue[_0x21e8[68]]({where:{UserId:_0x7b79x18[_0x21e8[62]],queue:_0x7b79x12[_0x21e8[40]][_0x21e8[67]]},transaction:_0x7b79x12[_0x21e8[47]]|| null,individualHooks:true})[_0x21e8[29]](function(){var _0x7b79x2c=Promise[_0x21e8[51]](_0x7b79xf[_0x21e8[50]]);return _0x7b79x2c({action:_0x21e8[61],queue:_0x7b79x12[_0x21e8[40]][_0x21e8[67]],interface:util[_0x21e8[24]](_0x21e8[37],_0x21e8[38],_0x7b79x18[_0x21e8[36]])})})[_0x21e8[57]](function(_0x7b79x22){console[_0x21e8[56]](_0x21e8[66],_0x7b79x22)});case _0x21e8[18]:return UserHasChatQueue[_0x21e8[68]]({where:{UserId:_0x7b79x18[_0x21e8[62]],ChatQueueId:_0x7b79x12[_0x21e8[40]][_0x21e8[69]]},transaction:_0x7b79x12[_0x21e8[47]]|| null,individualHooks:true})[_0x21e8[57]](function(_0x7b79x22){console[_0x21e8[56]](_0x21e8[66],_0x7b79x22)});case _0x21e8[19]:return UserHasMailQueue[_0x21e8[68]]({where:{UserId:_0x7b79x18[_0x21e8[62]],MailQueueId:_0x7b79x12[_0x21e8[40]][_0x21e8[69]]},transaction:_0x7b79x12[_0x21e8[47]]|| null,individualHooks:true})[_0x21e8[57]](function(_0x7b79x22){console[_0x21e8[56]](_0x21e8[66],_0x7b79x22)});case _0x21e8[21]:return UserHasSmsQueue[_0x21e8[68]]({where:{UserId:_0x7b79x18[_0x21e8[62]],SmsQueueId:_0x7b79x12[_0x21e8[40]][_0x21e8[69]]},transaction:_0x7b79x12[_0x21e8[47]]|| null,individualHooks:true})[_0x21e8[57]](function(_0x7b79x22){console[_0x21e8[56]](_0x21e8[66],_0x7b79x22)});case _0x21e8[20]:return UserHasFaxQueue[_0x21e8[68]]({where:{UserId:_0x7b79x18[_0x21e8[62]],FaxQueueId:_0x7b79x12[_0x21e8[40]][_0x21e8[69]]},transaction:_0x7b79x12[_0x21e8[47]]|| null,individualHooks:true})[_0x21e8[57]](function(_0x7b79x22){console[_0x21e8[56]](_0x21e8[66],_0x7b79x22)});default:}}}function _0x7b79x2d(_0x7b79x2e){return function(_0x7b79x2f){if(!_0x7b79x2f){throw _0x7b79x2e};return _0x7b79x2f}}function _0x7b79x30(_0x7b79x17,_0x7b79x12,_0x7b79xf){switch(_0x7b79x17[_0x21e8[36]]){case _0x21e8[73]:return Agent[_0x21e8[72]](_0x7b79x12[_0x21e8[40]][_0x21e8[71]])[_0x21e8[29]](_0x7b79x2d({message:_0x21e8[70]}))[_0x21e8[29]](_0x7b79x16(_0x7b79x12,_0x7b79x17));case _0x21e8[74]:return Agent[_0x21e8[72]](_0x7b79x12[_0x21e8[40]][_0x21e8[71]])[_0x21e8[29]](_0x7b79x2d({message:_0x21e8[70]}))[_0x21e8[29]](_0x7b79x1c(_0x7b79x12,_0x7b79x17));case _0x21e8[75]:return Agent[_0x21e8[72]](_0x7b79x17[_0x21e8[41]])[_0x21e8[29]](_0x7b79x2d({message:_0x21e8[70]}))[_0x21e8[29]](_0x7b79x23(_0x7b79x12,_0x7b79x17));case _0x21e8[76]:return Agent[_0x21e8[72]](_0x7b79x17[_0x21e8[41]])[_0x21e8[29]](_0x7b79x2d({message:_0x21e8[70]}))[_0x21e8[29]](_0x7b79x1c(_0x7b79x12,_0x7b79x17))[_0x21e8[29]](_0x7b79x27(_0x7b79x12,_0x7b79x17));case _0x21e8[59]:return Agent[_0x21e8[72]](_0x7b79x12[_0x21e8[40]][_0x21e8[71]])[_0x21e8[29]](_0x7b79x2d({message:_0x21e8[70]}))[_0x21e8[29]](_0x7b79x28(_0x7b79x12,_0x7b79x17));case _0x21e8[61]:return Agent[_0x21e8[72]](_0x7b79x12[_0x21e8[40]][_0x21e8[71]])[_0x21e8[29]](_0x7b79x2d({message:_0x21e8[70]}))[_0x21e8[29]](_0x7b79x2b(_0x7b79x12,_0x7b79x17));default:throw {message:_0x21e8[77]}}}return {}}module[_0x21e8[78]]= Action