Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / services / agi / vertices.js
index 320ed84..685287d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8ebe=['aws_access_key_id','aws_secret_access_key','aws_polly_region','Amy','awsLex','aws_lex_region','aws_bot_name','googleASR','google_asr_language','tildeASR','appid','clear','includes','clone','hasOwnProperty','replaceObjectAllVariables','replaceAllVariables','recursiveNodeIndex','isArray','length','isString','saveRestApiResult','%s.%s','setVariable','replaceAll','extra','getAndSetVariable','result','isConfigured','maxRetry','retry','mrcpsynth','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','noop','Executed\x20command\x20MRCPSynth\x20%s','mrcprecog','no\x20grammar\x20configured','grammar','MRCPRecog','RECOG_CONFIDENCE()','MRCP_RECOG_TRANSCRIPT','RECOG_INSTANCE()','MRCP_RECOG_INSTANCE','Enter\x20in\x20AGI\x20(%s)\x20block','command','args','answer','Enter\x20in\x20ANSWER\x20(%s)\x20block','wait','Enter\x20in\x20CALLBACK\x20(%s)\x20block','no\x20list\x20selected','delay','add','minutes','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','application','no\x20text\x20configured','MRCPSynth','sestektts','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','lumenvoxasr','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','LUMENVOX_ASR_CONFIDENCE','RECOG_INPUT()','LUMENVOX_ASR_TRANSCRIPT','LUMENVOX_ASR_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','sestekasr','Enter\x20in\x20SESTEKASR\x20(%s)\x20block','SESTEK_ASR_CONFIDENCE','SESTEK_ASR_INSTANCE','database','Enter\x20in\x20DATABASE\x20(%s)\x20block','odbc_id','no\x20odbc\x20database\x20found','no\x20query\x20configured','query:\x20%s','variable_id','no\x20variable\x20selected\x20for\x20the\x20result','no\x20variable\x20found','keys','forEach','%s_ROWS_COUNT','variable\x20%s\x20set','dial','debug','Enter\x20in\x20DIAL\x20(%s)\x20block','sip_id','SIP/%s','Executed\x20command\x20%s','DIAL','dialogflow','Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block','bot','Trying\x20Dialogflow:\x20%s','DIALOGFLOW_%s','speech','out','Dialogflow\x20is\x20unreachable','dialogflowV2','Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block','dialogflowV2_project_id','no\x20project_id\x20configured','no\x20anguage\x20configured','Trying\x20DialogflowV2:\x20%s','providerResponse','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','ndauth_url','no\x20ndauth\x20url\x20configured','no\x20username\x20configured','password','ndassistant_url','Trying\x20SestekNDA:\x20%s','SESTEK_NDA_%s','sesteknda','audiofile','unlink','.wav','SestekNDA\x20Result\x20%s','SestekNDA\x20is\x20unreachable','end','Enter\x20in\x20END\x20(%s)\x20block','ext_dial','trunk_id','no\x20trunk\x20selected','getTrunk','no\x20trunk\x20found','trunk_name','opts','finally','Enter\x20in\x20FINALLY\x20(%s)\x20block','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','file_id','no\x20file\x20audio\x20selected','getData','maxdigit','mindigit','hiddendigitsnum','generate','hiddendigitspos','first','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','goal','Enter\x20in\x20GOAL\x20(%s)\x20block','goalname','GOAL\x20%s','awspolly','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','no\x20valid\x20credentials\x20configured','Trying\x20aws\x20Polly\x20%s','aws\x20Polly\x20%s\x20file\x20created','streamFile','aws\x20Polly\x20is\x20unreachable','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','Trying\x20Amazon\x20Lex:\x20%s','AWS_LEX_%s','amazonlex','Amazon\x20Lex\x20Result\x20%s','Amazon\x20Lex\x20is\x20unreachable','googleasr','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','no\x20key\x20configured','wav','%s/recordings/%s','NOBEEP','recordFile','intKey','GoogleASR\x20Result\x20%s','tildeasr','Enter\x20in\x20TILDEASR\x20(%s)\x20block','appsecret','no\x20appsecret\x20configured','beep','tilde\x20%s\x20file\x20created','TILDE_ASR_%s','TildeASR\x20Result\x20%s','gotoc','Enter\x20in\x20GOTO\x20(%s)\x20block','continueAt','gotoif','Enter\x20in\x20GOTOIF\x20(%s)\x20block','condition','no\x20condition\x20configured','false','gotoiftime','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','interval_id','no\x20interval\x20configured','getIntervals','no\x20intervals\x20found','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','true','Enter\x20in\x20HANGUP\x20(%s)\x20block','ispeechasr','Enter\x20in\x20ISPEECHASR\x20(%s)\x20block','ispeech\x20%s\x20file\x20created','IspeechASR\x20Result\x20%s','Trying\x20ispeech\x20TTS\x20%s','ispeech\x20TTS\x20is\x20unreachable','Enter\x20in\x20LOGIN\x20(%s)\x20block','findBy','no\x20find\x20by\x20configured','FIND\x20AGENT\x20%s\x20BY\x20%s','AGENT\x20%s\x20FOUND\x20BY','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','logout','Enter\x20in\x20LOGOUT\x20(%s)\x20block','math','operation','no\x20operation\x20configured','math\x20%s','%s[%s]','Enter\x20in\x20MENU\x20(%s)\x20block','response','digit','output','pause','getPause','pause_id','playback','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','no\x20file\x20audio\x20found','Executed\x20command\x20%s\x20%s','PLAYBACK','queue','Enter\x20in\x20QUEUE\x20(%s)\x20block','queue_id','no\x20queue\x20selected','no\x20queue\x20found','indexOf','XMCS-QUEUE','toLowerCase','QUEUE','macro','position','recordingFormat','%s_%s','%s/recordings/%s.%s','RECORDING_SAVENAME','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','restapi','no\x20url\x20configured','%s_STATUS_CODE','200','%s_STATUS_MESSAGE','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','sayDigits','digits','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayNumber','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','sayPhonetic','sendMail','no\x20mail\x20account\x20found','\x22%s\x22\x20<%s>','email','bcc','subject','host','Smtp','secure','auth','user','pass','template_id','sendMail\x20message','account_id','Trying\x20SendMail\x20with\x20account\x20%s','Mail\x20message\x20added\x20to\x20outgoing\x20process','SENDFAX\x20block\x20not\x20implemented','sendSMS','Enter\x20in\x20SENDSMS\x20(%s)\x20block','sms_account_id','no\x20sms\x20account\x20configured','getSmsAccount','no\x20sms\x20account\x20found','sms_text','sendSMS\x20message','Trying\x20SendSMS\x20with\x20account\x20%s','Sms\x20message\x20added\x20to\x20outgoing\x20process','Enter\x20in\x20SET\x20(%s)\x20block','no\x20variable\x20selected','variable_value','start','Enter\x20in\x20START\x20(%s)\x20block','Answer','subproject','Enter\x20in\x20SUBPROJECT\x20(%s)\x20block','getSquareProject','no\x20subproject\x20found\x20with\x20id\x20%d','project_id','AGI','agi://%s/square,\x22%s\x22,\x22%s\x22','127.0.0.1','system','Enter\x20in\x20SYSTEM\x20(%s)\x20block','sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s','sh\x20command:\x20%s\x20result\x20no\x20stored','Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block','no\x20apiKey\x20configured','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','Google\x20Cloud\x20TTS\x20is\x20unreachable','tts','Enter\x20in\x20GOOGLETTS\x20(%s)\x20block','Trying\x20Google\x20TTS\x20%s','Google\x20TTS\x20%s\x20file\x20created','Google\x20TTS\x20is\x20unreachable','unpause','voicemail','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','mailbox','vswitch','Enter\x20in\x20SWITCH\x20(%s)\x20block','split','join','lodash','shelljs','odbc','request-promise','../../config/logger','agi','/var/opt/motion2/server/files','rawHeaders','rawBody','menu','getdigits','getsecretdigits','channel','mailRpc','getVariable','getVariableById','then','name','getVoiceQueue','rpc','getVoiceQueueById','catch','prototype','getSquareProjectById','getSquareOdbc','getSquareOdbcById','dsn','getUser','getUserById','getSound','getSoundPath','getMailAccount','getMailAccountById','sendMailMessage','getIntervalById','IntervalId','interval','map','format','%s/sounds/converted/%s','getQueryOdbc','error','info','ODBC\x20connection\x20successfully','query','Error\x20executing\x20query\x20%s','Query\x20executed\x20correctly\x20%s','close','createSmsMessage','createSquareDetailsReport','uniqueid','label','agicommand','arg_1','callerid','createSquareRecording','calleridname','context','extension','priority','accountcode','dnid','file','createSquareMessage','createCmContact','isEmpty','isNil','random','lastName','phone','list_id','callback','scheduledAt','toString','callback_priority','getPauseById','agentPause','agent','agentUnpause','agentLogout','internal','%s/%s@from-sip/n','LOCAL','agentLogin','shellCommand','exec','trim','replace','googleCloudTTS','apiKey','google_cloud_tts_text_type','languageCode','en-US','ssmlGender','MALE','audioEncoding','googleTTS','text','google_tts_language','restAPI','url','method','timeout','number','POST','toUpperCase','parse','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','headers','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','computedVariables','sync','uri','render','body','stringify','statusCode','statusMessage','message','500\x20-\x20Internal\x20Server\x20Error','options','googleDialogflow','key','dialogflow_language','googleDialogflowV2','client_email','private_key','dialogflowV2_language','sestekNDA','ispeechTTS','speed','ispeechASR','model','awsPolly'];(function(_0x3a4a84,_0x5c612a){var _0x245112=function(_0xd5f6a0){while(--_0xd5f6a0){_0x3a4a84['push'](_0x3a4a84['shift']());}};_0x245112(++_0x5c612a);}(_0x8ebe,0x145));var _0xe8eb=function(_0x44a329,_0x45f280){_0x44a329=_0x44a329-0x0;var _0x45f2a3=_0x8ebe[_0x44a329];return _0x45f2a3;};'use strict';var fs=require('fs');var path=require('path');var util=require('util');var _=require(_0xe8eb('0x0'));var sh=require(_0xe8eb('0x1'));var odbc=require(_0xe8eb('0x2'))();var rs=require('randomstring');var moment=require('moment');var Mustache=require('mustache');var rp=require(_0xe8eb('0x3'));var logger=require(_0xe8eb('0x4'))(_0xe8eb('0x5'));var config=require('../../config/environment');var scripts=require('./scripts');var FILES_PATH=_0xe8eb('0x6');var recursiveMapAttributes=[_0xe8eb('0x7'),_0xe8eb('0x8')];var verticesWithRetry=[_0xe8eb('0x9'),_0xe8eb('0xa'),_0xe8eb('0xb')];var AGIVertices=function(_0x5b3378,_0x5c3d83,_0x51e301){this[_0xe8eb('0xc')]=_0x5b3378;this['rpc']=_0x5c3d83;this[_0xe8eb('0xd')]=_0x51e301;};AGIVertices['prototype'][_0xe8eb('0xe')]=function(_0x3c7a00,_0x56285f){this['rpc'][_0xe8eb('0xf')](_0x3c7a00)[_0xe8eb('0x10')](function(_0x4b435d){_0x56285f(null,_0x4b435d?_0x4b435d[_0xe8eb('0x11')]:![]);})['catch'](function(_0x6aebfd){_0x56285f(_0x6aebfd);});};AGIVertices['prototype'][_0xe8eb('0x12')]=function(_0x33f45e,_0x55e59d){this[_0xe8eb('0x13')][_0xe8eb('0x14')](_0x33f45e)[_0xe8eb('0x10')](function(_0x443cd4){_0x55e59d(null,_0x443cd4?_0x443cd4[_0xe8eb('0x11')]:![]);})[_0xe8eb('0x15')](function(_0x162a00){_0x55e59d(_0x162a00);});};AGIVertices[_0xe8eb('0x16')]['getSquareProject']=function(_0x591c6f,_0x3e0e9){this[_0xe8eb('0x13')][_0xe8eb('0x17')](_0x591c6f)['then'](function(_0x492305){_0x3e0e9(null,_0x492305?_0x492305['name']:![]);})[_0xe8eb('0x15')](function(_0x2c2f4c){_0x3e0e9(_0x2c2f4c);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x18')]=function(_0x1ca72a,_0x297526){this['rpc'][_0xe8eb('0x19')](_0x1ca72a)[_0xe8eb('0x10')](function(_0x9cc501){_0x297526(null,_0x9cc501?_0x9cc501[_0xe8eb('0x1a')]:![]);})[_0xe8eb('0x15')](function(_0x3f1a4c){_0x297526(_0x3f1a4c);});};AGIVertices['prototype'][_0xe8eb('0x1b')]=function(_0xf33cf9,_0x4c3bff){this['rpc'][_0xe8eb('0x1c')](_0xf33cf9)[_0xe8eb('0x10')](function(_0x41867e){_0x4c3bff(null,_0x41867e?_0x41867e[_0xe8eb('0x11')]:![]);})['catch'](function(_0x41aa88){_0x4c3bff(_0x41aa88);});};AGIVertices[_0xe8eb('0x16')]['getTrunk']=function(_0x3a93c8,_0x826760){this[_0xe8eb('0x13')]['getTrunkById'](_0x3a93c8)[_0xe8eb('0x10')](function(_0x406a84){_0x826760(null,_0x406a84?_0x406a84['name']:![]);})['catch'](function(_0xa6a32f){_0x826760(_0xa6a32f);});};AGIVertices['prototype'][_0xe8eb('0x1d')]=function(_0xcb15b6,_0x524a33){var _0x3db027=this;this['rpc']['getSoundById'](_0xcb15b6)[_0xe8eb('0x10')](function(_0x1890d0){_0x524a33(null,_0x1890d0?_0x3db027[_0xe8eb('0x1e')](_0x1890d0['save_name']):![]);})[_0xe8eb('0x15')](function(_0x29e8e4){_0x524a33(_0x29e8e4);});};AGIVertices['prototype'][_0xe8eb('0x1f')]=function(_0xd563ea,_0x38887d){this[_0xe8eb('0x13')][_0xe8eb('0x20')](_0xd563ea)[_0xe8eb('0x10')](function(_0x2c40a4){_0x38887d(null,_0x2c40a4?_0x2c40a4:![]);})[_0xe8eb('0x15')](function(_0x2f65d6){_0x38887d(_0x2f65d6);});};AGIVertices['prototype'][_0xe8eb('0x21')]=function(_0x30ab40,_0x7a3302,_0x5ec750){this[_0xe8eb('0xd')][_0xe8eb('0x21')](_0x30ab40,_0x7a3302)[_0xe8eb('0x10')](function(){_0x5ec750(null);})['catch'](function(_0x5c23c8){_0x5ec750(_0x5c23c8);});};AGIVertices['prototype']['getIntervals']=function(_0x302704,_0x2df79b){this['rpc'][_0xe8eb('0x22')](_0x302704)[_0xe8eb('0x10')](function(_0x346955){if(_0x346955){if(_0x346955[_0xe8eb('0x23')]){_0x2df79b(null,[_0x346955[_0xe8eb('0x24')]]);}else{_0x2df79b(null,_[_0xe8eb('0x25')](_0x346955['Intervals'],_0xe8eb('0x24')));}}else{_0x2df79b(null,![]);}})[_0xe8eb('0x15')](function(_0x39fe3c){_0x2df79b(_0x39fe3c);});};AGIVertices[_0xe8eb('0x16')]['getSoundPath']=function(_0x477574){return util[_0xe8eb('0x26')](_0xe8eb('0x27'),FILES_PATH,_0x477574);};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x28')]=function(_0xed2123,_0x55880b,_0x249898){odbc['open'](_0xed2123,function(_0x59522c){if(_0x59522c){logger[_0xe8eb('0x29')]('Error\x20getting\x20ODBC\x20connection\x20%s',_0x59522c);_0x249898(_0x59522c);}else{logger[_0xe8eb('0x2a')](_0xe8eb('0x2b'));odbc[_0xe8eb('0x2c')](_0x55880b,function(_0x3371c3,_0x345d83){if(_0x3371c3){logger['info'](_0xe8eb('0x2d'),_0x55880b);_0x249898(_0x3371c3);}else{logger[_0xe8eb('0x2a')](_0xe8eb('0x2e'),_0x55880b);odbc[_0xe8eb('0x2f')](function(_0x28cacc){if(_0x28cacc){logger['error']('Error\x20closing\x20connection\x20to\x20odbc\x20%s',_0x28cacc);}_0x249898(null,_0x345d83);});}});}});};AGIVertices[_0xe8eb('0x16')]['getSmsAccount']=function(_0x24a02f,_0x25298b){this[_0xe8eb('0x13')]['getSmsAccountById'](_0x24a02f)[_0xe8eb('0x10')](function(_0x1b9061){_0x25298b(null,_0x1b9061?_0x1b9061:![]);})[_0xe8eb('0x15')](function(_0x9de97){_0x25298b(_0x9de97);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x30')]=function(_0x481be1,_0x295d50){this[_0xe8eb('0x13')][_0xe8eb('0x30')](_0x481be1)['then'](function(_0x3fdcd2){_0x295d50(null,_0x3fdcd2);})[_0xe8eb('0x15')](function(_0x8a5376){_0x295d50(_0x8a5376);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x31')]=function(_0x16182e,_0x1546bf,_0x22f2b1){this[_0xe8eb('0x13')][_0xe8eb('0x31')]({'uniqueid':this[_0xe8eb('0xc')][_0xe8eb('0x32')],'node':_0x16182e[_0xe8eb('0x33')],'application':_0x16182e[_0xe8eb('0x34')],'data':_0x1546bf||null,'project_name':this[_0xe8eb('0xc')][_0xe8eb('0x35')],'callerid':this['channel'][_0xe8eb('0x36')]})[_0xe8eb('0x10')](function(_0x2e8747){if(_0x22f2b1){_0x22f2b1(null,_0x2e8747);}})['catch'](function(_0x39cb01){if(_0x22f2b1){_0x22f2b1(_0x39cb01);}});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x37')]=function(_0x2eeaad,_0x761992,_0x45ee60,_0x27250d){this['rpc'][_0xe8eb('0x37')]({'uniqueid':this[_0xe8eb('0xc')][_0xe8eb('0x32')],'callerid':this[_0xe8eb('0xc')]['callerid'],'calleridname':this['channel'][_0xe8eb('0x38')],'context':this['channel'][_0xe8eb('0x39')],'extension':this[_0xe8eb('0xc')][_0xe8eb('0x3a')],'priority':this['channel'][_0xe8eb('0x3b')],'accountcode':this[_0xe8eb('0xc')][_0xe8eb('0x3c')],'dnid':this[_0xe8eb('0xc')][_0xe8eb('0x3d')],'projectName':this[_0xe8eb('0xc')][_0xe8eb('0x35')],'saveName':_0x761992,'filename':_0x2eeaad[_0xe8eb('0x3e')]||_0x761992,'savePath':_0x45ee60})[_0xe8eb('0x10')](function(_0xf3c5c1){_0x27250d(null,_0xf3c5c1);})['catch'](function(_0x442225){_0x27250d(_0x442225);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x3f')]=function(_0x4309d2,_0x526c0a,_0xbf92c9,_0x35f679,_0x361776){this[_0xe8eb('0x13')]['createSquareMessage']({'uniqueid':this[_0xe8eb('0xc')][_0xe8eb('0x32')],'body':_0x4309d2,'direction':_0x526c0a,'providerName':_0xbf92c9,'providerResponse':_0x35f679})['then'](function(_0x384411){if(_0x361776){_0x361776(null,_0x384411);}})[_0xe8eb('0x15')](function(_0x37fd9c){if(_0x361776){_0x361776(_0x37fd9c);}});};AGIVertices[_0xe8eb('0x16')]['createCmContact']=function(_0x480c59,_0x69fb7b){this[_0xe8eb('0x13')][_0xe8eb('0x40')]({'firstName':_[_0xe8eb('0x41')](_0x480c59['name'])||_[_0xe8eb('0x42')](_0x480c59[_0xe8eb('0x11')])?'callback_'+Math[_0xe8eb('0x43')]():_0x480c59[_0xe8eb('0x11')],'lastName':_[_0xe8eb('0x41')](_0x480c59[_0xe8eb('0x44')])||_[_0xe8eb('0x42')](_0x480c59[_0xe8eb('0x44')])?null:_0x480c59[_0xe8eb('0x44')],'phone':_0x480c59[_0xe8eb('0x45')],'ListId':_0x480c59[_0xe8eb('0x46')],'scheduledat':_0x480c59['scheduledAt'],'callbackUniqueid':this[_0xe8eb('0xc')][_0xe8eb('0x32')],'tags':_0xe8eb('0x47'),'description':'Callback\x20scheduled\x20at\x20'+_0x480c59[_0xe8eb('0x48')][_0xe8eb('0x49')](),'priority':_0x480c59[_0xe8eb('0x4a')]})[_0xe8eb('0x10')](function(_0x364f13){_0x69fb7b(null,_0x364f13);})[_0xe8eb('0x15')](function(_0x34f4fe){_0x69fb7b(_0x34f4fe);});};AGIVertices['prototype']['getPause']=function(_0xba79d8,_0x20a80a){this['rpc'][_0xe8eb('0x4b')](_0xba79d8)[_0xe8eb('0x10')](function(_0x40eb97){_0x20a80a(null,_0x40eb97?_0x40eb97[_0xe8eb('0x11')]:![]);})['catch'](function(_0x37142b){_0x20a80a(_0x37142b);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x4c')]=function(_0x2c9744,_0x7d6b95,_0x4677f6){var _0xd3c01e={'role':_0xe8eb('0x4d')};_0xd3c01e[_0x2c9744]=this[_0xe8eb('0xc')][_0xe8eb('0x36')];this[_0xe8eb('0x13')]['agentPause'](_0xd3c01e,_0x7d6b95,this[_0xe8eb('0xc')]['uniqueid'])[_0xe8eb('0x10')](function(_0x3511ac){_0x4677f6(null,_['isNil'](_0x3511ac)?![]:!![]);})[_0xe8eb('0x15')](function(_0x531ce0){logger[_0xe8eb('0x29')](_0x531ce0);_0x4677f6(null,![]);});};AGIVertices['prototype'][_0xe8eb('0x4e')]=function(_0x1b935e,_0x6cd9ed){var _0x493bee={'role':_0xe8eb('0x4d')};_0x493bee[_0x1b935e]=this[_0xe8eb('0xc')][_0xe8eb('0x36')];this['rpc']['agentUnpause'](_0x493bee)[_0xe8eb('0x10')](function(_0x3c2297){_0x6cd9ed(null,_[_0xe8eb('0x42')](_0x3c2297)?![]:!![]);})[_0xe8eb('0x15')](function(_0xa60489){logger['error'](_0xa60489);_0x6cd9ed(null,![]);});};AGIVertices[_0xe8eb('0x16')]['agentLogout']=function(_0x2ca12f,_0x508a25){var _0x380877={'role':_0xe8eb('0x4d')};_0x380877[_0x2ca12f]=this['channel'][_0xe8eb('0x36')];this[_0xe8eb('0x13')][_0xe8eb('0x4f')](_0x380877)[_0xe8eb('0x10')](function(_0x31b01b){_0x508a25(null,_[_0xe8eb('0x42')](_0x31b01b)?![]:!![]);})['catch'](function(_0x20158a){logger[_0xe8eb('0x29')](_0x20158a);_0x508a25(null,![]);});};AGIVertices[_0xe8eb('0x16')]['agentLogin']=function(_0x4bc9e0,_0x35d248){var _0x1ee4d7={'role':_0xe8eb('0x4d')};_0x1ee4d7[_0x4bc9e0]=this[_0xe8eb('0xc')]['callerid'];var _0x1bf90d=_0x4bc9e0!=_0xe8eb('0x50')?util['format'](_0xe8eb('0x51'),_0xe8eb('0x52'),this[_0xe8eb('0xc')]['callerid']):undefined;this['rpc'][_0xe8eb('0x53')](_0x1ee4d7,_0x1bf90d)[_0xe8eb('0x10')](function(_0x43c221){_0x35d248(null,_[_0xe8eb('0x42')](_0x43c221)?![]:!![]);})[_0xe8eb('0x15')](function(_0x11500b){logger[_0xe8eb('0x29')](_0x11500b);_0x35d248(null,![]);});};AGIVertices['prototype'][_0xe8eb('0x54')]=function(_0x2456e2,_0x3816b7){sh[_0xe8eb('0x55')](_[_0xe8eb('0x56')](_0x2456e2),function(_0xbde611,_0x87464e){var _0xa9e6d2=_0x87464e[_0xe8eb('0x57')](/(\r\n|\n|\r)/gm,'');_0x3816b7(null,_0xa9e6d2);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x58')]=function(_0x343987,_0x3aa243){scripts[_0xe8eb('0x58')](_0x343987[_0xe8eb('0x59')],_0x343987[_0xe8eb('0x5a')]||'text',_0x343987['text'],_0x343987[_0xe8eb('0x5b')]||_0xe8eb('0x5c'),_0x343987[_0xe8eb('0x5d')]||_0xe8eb('0x5e'),_0x343987[_0xe8eb('0x5f')]||'MP3')[_0xe8eb('0x10')](function(_0x258f95){_0x3aa243(null,_0x258f95);})[_0xe8eb('0x15')](function(_0x41c8fe){_0x3aa243(_0x41c8fe);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x60')]=function(_0x3736e7,_0x38f339){scripts['googleTTS'](_0x3736e7[_0xe8eb('0x61')],_0x3736e7[_0xe8eb('0x62')]||'en',0x1)['then'](function(_0x42d6cd){_0x38f339(null,_0x42d6cd);})['catch'](function(_0x5940f7){_0x38f339(_0x5940f7);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x63')]=function(_0xc0e30f,_0x1c7324){var _0xdfd61a={'uri':_0xc0e30f[_0xe8eb('0x64')],'method':_0xc0e30f[_0xe8eb('0x65')],'json':!![],'resolveWithFullResponse':!![],'timeout':typeof parseInt(_0xc0e30f[_0xe8eb('0x66')])===_0xe8eb('0x67')&&parseInt(_0xc0e30f[_0xe8eb('0x66')])>=0x1?parseInt(_0xc0e30f['timeout'])*0x3e8:0x5*0x3e8};if(_['includes']([_0xe8eb('0x68'),'PUT'],_0xdfd61a[_0xe8eb('0x65')][_0xe8eb('0x69')]())){try{_0xdfd61a['body']=_0xc0e30f[_0xe8eb('0x8')]?JSON[_0xe8eb('0x6a')](_0xc0e30f[_0xe8eb('0x8')]):{};}catch(_0x2e5dc4){logger[_0xe8eb('0x29')](_0xe8eb('0x6b'),_0x2e5dc4);}}try{_0xdfd61a[_0xe8eb('0x6c')]=_0xc0e30f['rawHeaders']?JSON[_0xe8eb('0x6a')](_0xc0e30f[_0xe8eb('0x7')]):{};}catch(_0x1a7e07){logger[_0xe8eb('0x29')](_0xe8eb('0x6d'),_0x1a7e07);}if(_0xc0e30f[_0xe8eb('0x6e')]){try{var _0x5101c3=require(_0xc0e30f[_0xe8eb('0x6e')])[_0xe8eb('0x6f')](this,_0xdfd61a);_0xdfd61a[_0xe8eb('0x70')]=Mustache[_0xe8eb('0x71')](_0xc0e30f[_0xe8eb('0x64')],_0x5101c3,{},['$$','$$']);if(_0xdfd61a[_0xe8eb('0x6c')]){_0xdfd61a[_0xe8eb('0x6c')]=JSON['parse'](Mustache[_0xe8eb('0x71')](JSON['stringify'](_0xdfd61a[_0xe8eb('0x6c')]),_0x5101c3,{},['$$','$$']));}if(_0xdfd61a['body']){_0xdfd61a[_0xe8eb('0x72')]=JSON['parse'](Mustache[_0xe8eb('0x71')](JSON[_0xe8eb('0x73')](_0xdfd61a[_0xe8eb('0x72')]),_0x5101c3,{},['$$','$$']));}}catch(_0x3788b4){logger[_0xe8eb('0x29')]('An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function',_0x3788b4);}}rp(_0xdfd61a)[_0xe8eb('0x10')](function(_0x5d8552){var _0x49da50={'statusCode':_0x5d8552[_0xe8eb('0x74')]||0xc8,'statusMessage':_0x5d8552[_0xe8eb('0x75')]||'OK','headers':_0x5d8552[_0xe8eb('0x6c')]||{},'body':_0x5d8552['body']||{}};_0x1c7324(null,_0x49da50);})[_0xe8eb('0x15')](function(_0x1017f1){var _0x21128a={'statusCode':_0x1017f1[_0xe8eb('0x74')]||0x1f4,'statusMessage':_0x1017f1[_0xe8eb('0x76')]||_0xe8eb('0x77'),'headers':_0x1017f1[_0xe8eb('0x78')][_0xe8eb('0x6c')]||{},'body':_0x1017f1[_0xe8eb('0x78')][_0xe8eb('0x72')]||{}};_0x1c7324(null,_0x21128a);});};AGIVertices['prototype'][_0xe8eb('0x79')]=function(_0x5248b6,_0x3deeb6){scripts[_0xe8eb('0x79')](this[_0xe8eb('0xc')][_0xe8eb('0x32')],_0x5248b6[_0xe8eb('0x7a')],_0x5248b6['text'],_0x5248b6[_0xe8eb('0x7b')]||'en')['then'](function(_0x41f0fc){_0x3deeb6(null,_0x41f0fc);})[_0xe8eb('0x15')](function(_0x1fc761){_0x3deeb6(_0x1fc761);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x7c')]=function(_0x48c99d,_0x29f88a){scripts[_0xe8eb('0x7c')](this[_0xe8eb('0xc')][_0xe8eb('0x32')],_0x48c99d['dialogflowV2_project_id'],_0x48c99d[_0xe8eb('0x7d')],_0x48c99d[_0xe8eb('0x7e')],_0x48c99d[_0xe8eb('0x61')],_0x48c99d[_0xe8eb('0x7f')]||'en')['then'](function(_0x35a38e){_0x29f88a(null,_0x35a38e);})['catch'](function(_0x1777df){_0x29f88a(_0x1777df);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x80')]=function(_0x4207d6,_0xea8491){scripts[_0xe8eb('0x80')](this[_0xe8eb('0xc')],_0x4207d6)[_0xe8eb('0x10')](function(_0x2b016e){_0xea8491(null,_0x2b016e);})[_0xe8eb('0x15')](function(_0x140e5e){_0xea8491(_0x140e5e);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x81')]=function(_0x342e2e,_0x5b2caa){scripts[_0xe8eb('0x81')](_0x342e2e['key'],_0x342e2e[_0xe8eb('0x61')],_0x342e2e['ispeech_tts_language']||_0xe8eb('0x5c'),_0x342e2e[_0xe8eb('0x82')])['then'](function(_0x448e52){_0x5b2caa(null,_0x448e52);})[_0xe8eb('0x15')](function(_0x1d8577){_0x5b2caa(_0x1d8577);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x83')]=function(_0xa6d79e,_0x148158,_0x15fe31){scripts[_0xe8eb('0x83')](_0x148158,_0xa6d79e[_0xe8eb('0x7a')],_0xa6d79e['ispeech_asr_language']||_0xe8eb('0x5c'),this['isConfigured'](_0xa6d79e[_0xe8eb('0x84')])?_0xa6d79e[_0xe8eb('0x84')]:undefined)[_0xe8eb('0x10')](function(_0x51d37a){_0x15fe31(null,_0x51d37a);})[_0xe8eb('0x15')](function(_0x1f8d5c){_0x15fe31(_0x1f8d5c);});};AGIVertices[_0xe8eb('0x16')]['awsPolly']=function(_0xf552e,_0x5e28ab){scripts[_0xe8eb('0x85')](_0xf552e[_0xe8eb('0x86')],_0xf552e[_0xe8eb('0x87')],_0xf552e[_0xe8eb('0x88')],_0xf552e['aws_polly_voice']||_0xe8eb('0x89'),_0xf552e[_0xe8eb('0x61')],_0xf552e['aws_text_type']||_0xe8eb('0x61'))[_0xe8eb('0x10')](function(_0x1377ee){_0x5e28ab(null,_0x1377ee);})['catch'](function(_0x166f20){_0x5e28ab(_0x166f20);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x8a')]=function(_0x558e6a,_0x1a575f){scripts['awsLex'](this[_0xe8eb('0xc')][_0xe8eb('0x32')],_0x558e6a[_0xe8eb('0x86')],_0x558e6a[_0xe8eb('0x87')],_0x558e6a[_0xe8eb('0x8b')],_0x558e6a[_0xe8eb('0x61')],_0x558e6a[_0xe8eb('0x8c')])[_0xe8eb('0x10')](function(_0x23e2ea){_0x1a575f(null,_0x23e2ea);})[_0xe8eb('0x15')](function(_0x304cb3){_0x1a575f(_0x304cb3);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x8d')]=function(_0x329c79,_0x430a76,_0x358dbf){scripts[_0xe8eb('0x8d')](_0x430a76,_0x329c79['key'],_0x329c79[_0xe8eb('0x8e')]||_0xe8eb('0x5c'))['then'](function(_0x19318b){_0x358dbf(null,_0x19318b);})[_0xe8eb('0x15')](function(_0x576a97){_0x358dbf(_0x576a97);});};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x8f')]=function(_0x5bce77,_0x2d134e,_0x561907){scripts[_0xe8eb('0x8f')](_0x2d134e,_0x5bce77[_0xe8eb('0x90')],_0x5bce77['appsecret'],_0x5bce77[_0xe8eb('0x70')])[_0xe8eb('0x10')](function(_0x409bfa){_0x561907(null,_0x409bfa);})['catch'](function(_0x2b96ce){_0x561907(_0x2b96ce);});};AGIVertices['prototype'][_0xe8eb('0x91')]=function(_0x13c917){var _0x69bc8=_[_0xe8eb('0x92')](verticesWithRetry,_0x13c917[_0xe8eb('0x34')])?_0x13c917:_[_0xe8eb('0x93')](_0x13c917);for(var _0x35c94b in _0x69bc8){if(_0x69bc8[_0xe8eb('0x94')](_0x35c94b)){if(_0x69bc8[_0x35c94b]&&_['isString'](_0x69bc8[_0x35c94b])){if(_['includes'](recursiveMapAttributes,_0x35c94b)){_0x69bc8[_0x35c94b]=this[_0xe8eb('0x95')](_0x69bc8[_0x35c94b]);}else{_0x69bc8[_0x35c94b]=this[_0xe8eb('0x96')](_0x69bc8[_0x35c94b]);}}}}return _0x69bc8;};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x97')]=function(_0x729b76){for(var _0x4919a1 in _0x729b76){if(_0x729b76['hasOwnProperty'](_0x4919a1)){if(_['isPlainObject'](_0x729b76[_0x4919a1])){this['recursiveNodeIndex'](_0x729b76[_0x4919a1]);}else if(_[_0xe8eb('0x98')](_0x729b76[_0x4919a1])){for(var _0x4d708b=0x0;_0x4d708b<_0x729b76[_0x4919a1][_0xe8eb('0x99')];_0x4d708b++){this['recursiveNodeIndex'](_0x729b76[_0x4919a1][_0x4d708b]);}}else if(_[_0xe8eb('0x9a')](_0x729b76[_0x4919a1])){_0x729b76[_0x4919a1]=this[_0xe8eb('0x96')](_0x729b76[_0x4919a1]);}}}};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x9b')]=function(_0x5d491f,_0x31f040){for(var _0x194838 in _0x5d491f){if(_0x5d491f[_0xe8eb('0x94')](_0x194838)){if(_['isPlainObject'](_0x5d491f[_0x194838])){if(!_[_0xe8eb('0x41')](_0x5d491f[_0x194838])){this[_0xe8eb('0x9b')](_0x5d491f[_0x194838],util[_0xe8eb('0x26')](_0xe8eb('0x9c'),_0x31f040,_0x194838));}}else if(_[_0xe8eb('0x98')](_0x5d491f[_0x194838])){for(var _0x5f04e0=0x0;_0x5f04e0<_0x5d491f[_0x194838]['length'];_0x5f04e0++){this['saveRestApiResult'](_0x5d491f[_0x194838][_0x5f04e0],util[_0xe8eb('0x26')](_0xe8eb('0x9c'),_0x31f040,_0x194838+'['+_0x5f04e0+']'));}}else{if(!_[_0xe8eb('0x42')](_0x5d491f[_0x194838])){this[_0xe8eb('0xc')][_0xe8eb('0x9d')](util[_0xe8eb('0x26')]('%s.%s',_0x31f040,_0x194838),_0x5d491f[_0x194838]);}}}}};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x95')]=function(_0x51b259){try{var _0xa07a82=JSON[_0xe8eb('0x6a')](_0x51b259);this['recursiveNodeIndex'](_0xa07a82);return JSON['stringify'](_0xa07a82);}catch(_0x4e93d2){return this['replaceAllVariables'](_0x51b259);}};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x96')]=function(_0x34ab78){var _0x29972f=_0x34ab78['split']('{');for(var _0x58985d=0x1;_0x58985d<_0x29972f[_0xe8eb('0x99')];_0x58985d+=0x1){var _0x45da39=_0x29972f[_0x58985d]['split']('}');if(_0x45da39[_0xe8eb('0x99')]>0x1){_0x34ab78=_0x34ab78[_0xe8eb('0x9e')]('{'+_0x45da39[0x0]+'}',this['channel']['getVariable'](_0x45da39[0x0])[_0xe8eb('0x9f')]||_0x45da39[0x0]);}}if(_0x29972f['length']===0x1){return _0x34ab78[_0xe8eb('0x49')]();}return this[_0xe8eb('0x96')](_0x34ab78);};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xa0')]=function(_0x1a5bbe,_0x421c98){var _0x8f2e0=this[_0xe8eb('0xc')][_0xe8eb('0xe')](_0x1a5bbe);if(_0x8f2e0[_0xe8eb('0xa1')]===-0x1){return _0x8f2e0;}logger[_0xe8eb('0x2a')](util['format']('The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s',_0x421c98,_0x8f2e0[_0xe8eb('0x9f')]));return this[_0xe8eb('0xc')][_0xe8eb('0x9d')](_0x421c98,_0x8f2e0[_0xe8eb('0x9f')]);};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xa2')]=function(_0x333e3a){return _0x333e3a&&_0x333e3a!=='0'&&_0x333e3a!=='-1'&&_0x333e3a!=='';};AGIVertices['prototype'][_0xe8eb('0xa3')]=function(_0x54293f){this[_0xe8eb('0x31')][_0xe8eb('0x6f')](this,_0x54293f,'-');_0x54293f[_0xe8eb('0xa4')]=_0x54293f['maxRetry'];return{'code':0xc8,'result':'-'};};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xa5')]=function(_0x1ceffd){logger['info'](util[_0xe8eb('0x26')](_0xe8eb('0xa6'),_0x1ceffd[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x1ceffd[_0xe8eb('0x61')])){return this[_0xe8eb('0xc')]['noop']('no\x20text\x20configured');}var _0x3c3ea3='\x22'+_0x1ceffd['text']+'\x22';if(this[_0xe8eb('0xa2')](_0x1ceffd[_0xe8eb('0x78')])){_0x3c3ea3+=','+_0x1ceffd[_0xe8eb('0x78')];}var _0x28514e=this[_0xe8eb('0xc')][_0xe8eb('0x55')]('MRCPSynth',_0x3c3ea3);if(_0x28514e[_0xe8eb('0xa1')]===-0x1){return _0x28514e;}return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0xa8'),_0x3c3ea3));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xa9')]=function(_0x23d848){logger['info'](util[_0xe8eb('0x26')]('Enter\x20in\x20MRCPRecog\x20(%s)\x20block',_0x23d848[_0xe8eb('0x33')]));if(!this['isConfigured'](_0x23d848['grammar'])){return this['channel'][_0xe8eb('0xa7')](_0xe8eb('0xaa'));}var _0x4f9b1b=_0x23d848[_0xe8eb('0xab')];if(this['isConfigured'](_0x23d848[_0xe8eb('0x78')])){_0x4f9b1b+=','+_0x23d848[_0xe8eb('0x78')];}var _0x351cb9=this[_0xe8eb('0xc')][_0xe8eb('0x55')](_0xe8eb('0xac'),_0x4f9b1b);if(_0x351cb9[_0xe8eb('0xa1')]===-0x1){return _0x351cb9;}var _0x3987d8=this[_0xe8eb('0xa0')](_0xe8eb('0xad'),'MRCP_RECOG_CONFIDENCE');if(_0x3987d8[_0xe8eb('0xa1')]===-0x1){return _0x3987d8;}var _0x52bdd7=this[_0xe8eb('0xa0')]('RECOG_INPUT()',_0xe8eb('0xae'));if(_0x52bdd7['result']===-0x1){return _0x52bdd7;}var _0x31309a=this[_0xe8eb('0xa0')](_0xe8eb('0xaf'),_0xe8eb('0xb0'));if(_0x31309a['result']===-0x1){return _0x31309a;}return this['channel'][_0xe8eb('0xa7')](util[_0xe8eb('0x26')]('Executed\x20command\x20MRCPRecog\x20%s',_0x4f9b1b));};AGIVertices[_0xe8eb('0x16')]['agi']=function(_0x267613){logger['info'](util[_0xe8eb('0x26')](_0xe8eb('0xb1'),_0x267613[_0xe8eb('0x33')]));return this[_0xe8eb('0xc')][_0xe8eb('0x5')]([_0x267613[_0xe8eb('0xb2')],_0x267613[_0xe8eb('0xb3')]]);};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xb4')]=function(_0xa5b2ea){logger[_0xe8eb('0x2a')](util['format'](_0xe8eb('0xb5'),_0xa5b2ea[_0xe8eb('0x33')]));if(this[_0xe8eb('0xa2')](_0xa5b2ea['timeout'])){logger['info'](util['format']('Wait\x20%s\x20seconds\x20before\x20answer',_0xa5b2ea['timeout']));var _0x86b17d=this[_0xe8eb('0xc')][_0xe8eb('0xb6')](_0xa5b2ea[_0xe8eb('0x66')]);if(_0x86b17d[_0xe8eb('0xa1')]===-0x1){return _0x86b17d;}}return this['channel'][_0xe8eb('0xb4')]();};AGIVertices['prototype'][_0xe8eb('0x47')]=function(_0x2d593a){logger['info'](util[_0xe8eb('0x26')](_0xe8eb('0xb7'),_0x2d593a['label']));if(!this['isConfigured'](_0x2d593a[_0xe8eb('0x46')])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x2d593a,_0xe8eb('0xb8'));}_0x2d593a[_0xe8eb('0x48')]=moment();if(this[_0xe8eb('0xa2')](_0x2d593a[_0xe8eb('0xb9')])){_0x2d593a['scheduledAt']=moment()[_0xe8eb('0xba')](_0x2d593a[_0xe8eb('0xb9')],_0xe8eb('0xbb'));}if(!this[_0xe8eb('0xa2')](_0x2d593a[_0xe8eb('0x4a')])){_0x2d593a[_0xe8eb('0x4a')]=0x2;}this['createCmContact'][_0xe8eb('0x6f')](this,_0x2d593a);return this['channel']['noop'](util[_0xe8eb('0x26')](_0xe8eb('0xbc'),_0x2d593a['phone'],_0x2d593a[_0xe8eb('0x46')],_0x2d593a[_0xe8eb('0x48')]));};AGIVertices[_0xe8eb('0x16')]['custom_app']=function(_0x5122e5){logger[_0xe8eb('0x2a')](util['format'](_0xe8eb('0xbd'),_0x5122e5[_0xe8eb('0x33')]));var _0x22e9cd=this[_0xe8eb('0xc')][_0xe8eb('0x55')](_0x5122e5[_0xe8eb('0xbe')],_0x5122e5[_0xe8eb('0x78')]);if(_0x22e9cd[_0xe8eb('0xa1')]===-0x1){return _0x22e9cd;}return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')]('Executed\x20command\x20%s\x20%s',_0x5122e5[_0xe8eb('0xbe')],_0x5122e5['options']));};AGIVertices['prototype']['lumenvoxtts']=function(_0x42201f){logger[_0xe8eb('0x2a')](util['format']('Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block',_0x42201f[_0xe8eb('0x33')]));if(!this['isConfigured'](_0x42201f['text'])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0xbf'));}var _0x17fb85='\x22'+_0x42201f['text']+'\x22';if(this['isConfigured'](_0x42201f['options'])){_0x17fb85+=','+_0x42201f[_0xe8eb('0x78')];}var _0x26b2c2=this[_0xe8eb('0xc')][_0xe8eb('0x55')](_0xe8eb('0xc0'),_0x17fb85);if(_0x26b2c2[_0xe8eb('0xa1')]===-0x1){return _0x26b2c2;}return this['channel'][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0xa8'),_0x17fb85));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xc1')]=function(_0x60355b){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0xc2'),_0x60355b[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x60355b['text'])){return this['channel'][_0xe8eb('0xa7')]('no\x20text\x20configured');}var _0x52f22b='\x22'+_0x60355b[_0xe8eb('0x61')]+'\x22';if(this[_0xe8eb('0xa2')](_0x60355b[_0xe8eb('0x78')])){_0x52f22b+=','+_0x60355b[_0xe8eb('0x78')];}var _0x1a9978=this[_0xe8eb('0xc')][_0xe8eb('0x55')](_0xe8eb('0xc0'),_0x52f22b);if(_0x1a9978[_0xe8eb('0xa1')]===-0x1){return _0x1a9978;}return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0xa8'),_0x52f22b));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xc3')]=function(_0x5be623){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0xc4'),_0x5be623[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x5be623[_0xe8eb('0xab')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0xaa'));}var _0x279274=_0x5be623['grammar'];if(this[_0xe8eb('0xa2')](_0x5be623[_0xe8eb('0x78')])){_0x279274+=','+_0x5be623[_0xe8eb('0x78')];}var _0x33b536=this['channel']['exec'](_0xe8eb('0xac'),_0x279274);if(_0x33b536[_0xe8eb('0xa1')]===-0x1){return _0x33b536;}var _0x319a83=this[_0xe8eb('0xa0')](_0xe8eb('0xad'),_0xe8eb('0xc5'));if(_0x319a83[_0xe8eb('0xa1')]===-0x1){return _0x319a83;}var _0xd85b47=this[_0xe8eb('0xa0')](_0xe8eb('0xc6'),_0xe8eb('0xc7'));if(_0xd85b47[_0xe8eb('0xa1')]===-0x1){return _0xd85b47;}var _0x2df7ac=this[_0xe8eb('0xa0')](_0xe8eb('0xaf'),_0xe8eb('0xc8'));if(_0x2df7ac[_0xe8eb('0xa1')]===-0x1){return _0x2df7ac;}return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0xc9'),_0x279274));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xca')]=function(_0x31fe5b){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0xcb'),_0x31fe5b[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x31fe5b['grammar'])){return this[_0xe8eb('0xc')]['noop'](_0xe8eb('0xaa'));}var _0x8b33fa=_0x31fe5b[_0xe8eb('0xab')];if(this[_0xe8eb('0xa2')](_0x31fe5b[_0xe8eb('0x78')])){_0x8b33fa+=','+_0x31fe5b['options'];}var _0x54d687=this[_0xe8eb('0xc')][_0xe8eb('0x55')](_0xe8eb('0xac'),_0x8b33fa);if(_0x54d687[_0xe8eb('0xa1')]===-0x1){return _0x54d687;}var _0x448f2c=this[_0xe8eb('0xa0')](_0xe8eb('0xad'),_0xe8eb('0xcc'));if(_0x448f2c[_0xe8eb('0xa1')]===-0x1){return _0x448f2c;}var _0x2039aa=this[_0xe8eb('0xa0')]('RECOG_INPUT()','SESTEK_ASR_TRANSCRIPT');if(_0x2039aa[_0xe8eb('0xa1')]===-0x1){return _0x2039aa;}var _0x4bb07d=this[_0xe8eb('0xa0')](_0xe8eb('0xaf'),_0xe8eb('0xcd'));if(_0x4bb07d['result']===-0x1){return _0x4bb07d;}return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util['format'](_0xe8eb('0xc9'),_0x8b33fa));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xce')]=function(_0x5c4533){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0xcf'),_0x5c4533[_0xe8eb('0x33')]));if(!this['isConfigured'](_0x5c4533[_0xe8eb('0xd0')])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x5c4533,'no\x20database\x20selected');}var _0x5c6347=this[_0xe8eb('0x18')][_0xe8eb('0x6f')](this,_0x5c4533[_0xe8eb('0xd0')]);if(!_0x5c6347){return this['channel'][_0xe8eb('0x29')](_0x5c4533,_0xe8eb('0xd1'));}if(!this[_0xe8eb('0xa2')](_0x5c4533[_0xe8eb('0x2c')])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x5c4533,_0xe8eb('0xd2'));}var _0x517858=_0x5c4533['query']['replace'](/(\r\n|\n|\r)/gm,'\x20');this['channel'][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0xd3'),_0x517858));var _0x4eb8a9=this[_0xe8eb('0x28')]['sync'](this,_0x5c6347,_0x517858);this[_0xe8eb('0x31')][_0xe8eb('0x6f')](this,_0x5c4533,_0x517858);if(!this[_0xe8eb('0xa2')](_0x5c4533[_0xe8eb('0xd4')])){return this[_0xe8eb('0xc')]['noop'](_0xe8eb('0xd5'));}var _0x1e72f4=this[_0xe8eb('0xe')][_0xe8eb('0x6f')](this,_0x5c4533['variable_id']);if(!_0x1e72f4){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x5c4533,_0xe8eb('0xd6'));}var _0x3ef0e0=this;_0x4eb8a9['forEach'](function(_0x4d089f,_0x46a4d1){Object[_0xe8eb('0xd7')](_0x4d089f)[_0xe8eb('0xd8')](function(_0x3490cb){_0x3ef0e0[_0xe8eb('0xc')][_0xe8eb('0x9d')](util['format']('%s[%s][%s]',_0x1e72f4,_0x46a4d1,_0x3490cb),_0x4d089f[_0x3490cb]);});});this[_0xe8eb('0xc')][_0xe8eb('0x9d')](util[_0xe8eb('0x26')](_0xe8eb('0xd9'),_0x1e72f4),_0x4eb8a9[_0xe8eb('0x99')]);return this['channel'][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0xda'),_0x1e72f4));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xdb')]=function(_0x323c87){logger[_0xe8eb('0xdc')](util[_0xe8eb('0x26')](_0xe8eb('0xdd'),_0x323c87[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x323c87[_0xe8eb('0xde')])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x323c87,'no\x20user\x20selected');}var _0x4c52fd=this['getUser'][_0xe8eb('0x6f')](this,_0x323c87[_0xe8eb('0xde')]);if(!_0x4c52fd){return this[_0xe8eb('0xc')]['error'](_0x323c87,'no\x20user\x20found');}var _0x16b994=this['channel']['exec']('DIAL',[util[_0xe8eb('0x26')](_0xe8eb('0xdf'),_0x4c52fd),_0x323c87[_0xe8eb('0x66')],_0x323c87['opts'],_0x323c87['url']]);if(_0x16b994[_0xe8eb('0xa1')]===-0x1){return _0x16b994;}return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util['format'](_0xe8eb('0xe0'),_0xe8eb('0xe1')));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xe2')]=function(_0x5b4d6b){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0xe3'),_0x5b4d6b[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x5b4d6b[_0xe8eb('0x7a')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')]('no\x20key\x20configured');}if(!this['isConfigured'](_0x5b4d6b[_0xe8eb('0x61')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0xbf'));}this['channel'][_0xe8eb('0xe4')]=!![];this[_0xe8eb('0x31')](_0x5b4d6b);this[_0xe8eb('0x3f')](_0x5b4d6b['text'],'in','','');this['channel'][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0xe5'),_0x5b4d6b['text']));var _0x3593e9=this[_0xe8eb('0x79')]['sync'](this,_0x5b4d6b);if(_0x3593e9){for(var _0x2483d6 in _0x3593e9){if(_0x3593e9[_0xe8eb('0x94')](_0x2483d6)){this[_0xe8eb('0xc')][_0xe8eb('0x9d')](util[_0xe8eb('0x26')](_0xe8eb('0xe6'),_0x2483d6[_0xe8eb('0x69')]()),_0x3593e9[_0x2483d6]);}}this['createSquareMessage'](_0x3593e9[_0xe8eb('0xe7')],_0xe8eb('0xe8'),_0xe8eb('0xe2'),'');return this['channel'][_0xe8eb('0xa7')](util[_0xe8eb('0x26')]('Dialogflow\x20Result\x20%s',_0x3593e9[_0xe8eb('0xe7')]));}return this['channel'][_0xe8eb('0x29')](_0x5b4d6b,_0xe8eb('0xe9'));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xea')]=function(_0x3f6632){logger[_0xe8eb('0x2a')](util['format'](_0xe8eb('0xeb'),_0x3f6632[_0xe8eb('0x33')]));if(!this['isConfigured'](_0x3f6632[_0xe8eb('0xec')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0xed'));}if(!this[_0xe8eb('0xa2')](_0x3f6632[_0xe8eb('0x7d')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')]('no\x20client_email\x20configured');}if(!this[_0xe8eb('0xa2')](_0x3f6632[_0xe8eb('0x7e')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')]('no\x20private_key\x20configured');}if(!this['isConfigured'](_0x3f6632['dialogflowV2_language'])){return this['channel'][_0xe8eb('0xa7')](_0xe8eb('0xee'));}if(!this[_0xe8eb('0xa2')](_0x3f6632[_0xe8eb('0x61')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0xbf'));}this[_0xe8eb('0xc')][_0xe8eb('0xe4')]=!![];this[_0xe8eb('0x31')](_0x3f6632);this[_0xe8eb('0x3f')](_0x3f6632[_0xe8eb('0x61')],'in','','');this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0xef'),_0x3f6632[_0xe8eb('0x61')]));var _0x33edae=this[_0xe8eb('0x7c')][_0xe8eb('0x6f')](this,_0x3f6632);if(_0x33edae){for(var _0x56a788 in _0x33edae){if(_0x33edae[_0xe8eb('0x94')](_0x56a788)){if(_0x56a788!==_0xe8eb('0xf0')){this['channel']['setVariable'](util[_0xe8eb('0x26')](_0xe8eb('0xe6'),_0x56a788[_0xe8eb('0x69')]()),_0x33edae[_0x56a788]);}}}this['createSquareMessage'](_0x33edae[_0xe8eb('0xe7')],_0xe8eb('0xe8'),_0xe8eb('0xea'),_0x33edae[_0xe8eb('0xf0')]);return this['channel'][_0xe8eb('0xa7')](util[_0xe8eb('0x26')]('DialogflowV2\x20Result\x20%s',_0x33edae['speech']));}return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x3f6632,'DialogflowV2\x20is\x20unreachable');};AGIVertices[_0xe8eb('0x16')]['sesteknda']=function(_0x5d474d){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0xf1'),_0x5d474d['label']));if(!this[_0xe8eb('0xa2')](_0x5d474d[_0xe8eb('0xf2')])){return this['channel']['noop'](_0xe8eb('0xf3'));}if(!this[_0xe8eb('0xa2')](_0x5d474d['username'])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0xf4'));}if(!this['isConfigured'](_0x5d474d[_0xe8eb('0xf5')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')]('no\x20password\x20configured');}if(!this['isConfigured'](_0x5d474d[_0xe8eb('0xf6')])){return this['channel']['noop'](_0xe8eb('0xbf'));}this[_0xe8eb('0xc')][_0xe8eb('0xe4')]=!![];this[_0xe8eb('0x31')](_0x5d474d);this['createSquareMessage'](_0x5d474d[_0xe8eb('0x61')],'in','','');this['channel'][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0xf7'),_0x5d474d[_0xe8eb('0x61')]));var _0x14fd52=this['sestekNDA'][_0xe8eb('0x6f')](this,_0x5d474d);if(_0x14fd52){for(var _0x53d56e in _0x14fd52){if(_0x14fd52[_0xe8eb('0x94')](_0x53d56e)){this[_0xe8eb('0xc')]['setVariable'](util[_0xe8eb('0x26')](_0xe8eb('0xf8'),_0x53d56e[_0xe8eb('0x69')]()),_0x14fd52[_0x53d56e]);}}this[_0xe8eb('0x3f')](_0x14fd52['speech'],'out',_0xe8eb('0xf9'),'');if(_0x14fd52[_0xe8eb('0xfa')]){this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')]('Sestek\x20NDA\x20%s\x20file\x20created',_0x14fd52[_0xe8eb('0xfa')]));var _0x2b8358=this[_0xe8eb('0xc')]['streamFile'](_0x14fd52[_0xe8eb('0xfa')]);try{fs[_0xe8eb('0xfb')](_0x14fd52['audiofile']+_0xe8eb('0xfc'));}catch(_0x31b7e0){logger[_0xe8eb('0x29')](_0x31b7e0);}return _0x2b8358;}else{return this[_0xe8eb('0xc')]['noop'](util['format'](_0xe8eb('0xfd'),_0x14fd52[_0xe8eb('0xe7')]));}}return this['channel']['error'](_0x5d474d,_0xe8eb('0xfe'));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xff')]=function(_0x1fbc0a){logger['info'](util[_0xe8eb('0x26')](_0xe8eb('0x100'),_0x1fbc0a[_0xe8eb('0x33')]));return this['channel']['noop'](_0xe8eb('0xff'));};AGIVertices['prototype'][_0xe8eb('0x101')]=function(_0x59af0f){logger['info'](util[_0xe8eb('0x26')]('Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block',_0x59af0f[_0xe8eb('0x33')]));var _0x12637e='';if(_0x59af0f[_0xe8eb('0x102')]){if(!this['isConfigured'](_0x59af0f[_0xe8eb('0x102')])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x59af0f,_0xe8eb('0x103'));}else{var _0x18b6e9=parseInt(_0x59af0f[_0xe8eb('0x102')],0xa);if(isNaN(_0x18b6e9)){_0x12637e=_0x59af0f[_0xe8eb('0x102')];}else{_0x12637e=this[_0xe8eb('0x104')][_0xe8eb('0x6f')](this,_0x59af0f['trunk_id']);if(!_0x12637e){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x59af0f,_0xe8eb('0x105'));}}}}else if(_0x59af0f[_0xe8eb('0x106')]){_0x12637e=_0x59af0f[_0xe8eb('0x106')];}else{return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x59af0f,_0xe8eb('0x103'));}var _0x3281de=this[_0xe8eb('0xc')][_0xe8eb('0x55')](_0xe8eb('0xe1'),[util['format']('SIP/%s/%s',_0x12637e,_0x59af0f[_0xe8eb('0x45')]),_0x59af0f['timeout'],_0x59af0f[_0xe8eb('0x107')],_0x59af0f[_0xe8eb('0x64')]]);if(_0x3281de[_0xe8eb('0xa1')]===-0x1){return _0x3281de;}return this[_0xe8eb('0xc')]['noop'](util[_0xe8eb('0x26')](_0xe8eb('0xe0'),_0xe8eb('0xe1')));};AGIVertices['prototype'][_0xe8eb('0x108')]=function(_0x5cb089){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x109'),_0x5cb089['label']));return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0x108'));};AGIVertices['prototype'][_0xe8eb('0xa')]=function(_0x216fb6){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x10a'),_0x216fb6[_0xe8eb('0x33')]));if(_0x216fb6[_0xe8eb('0xa4')]===0x0){return this['maxRetry'](_0x216fb6);}_0x216fb6[_0xe8eb('0xa4')]-=0x1;if(!this[_0xe8eb('0xa2')](_0x216fb6[_0xe8eb('0x10b')])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x216fb6,_0xe8eb('0x10c'));}var _0x457ffa=this[_0xe8eb('0x1d')]['sync'](this,_0x216fb6[_0xe8eb('0x10b')]);if(!_0x457ffa){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x216fb6,'no\x20file\x20audio\x20found');}if(!this[_0xe8eb('0xa2')](_0x216fb6['variable_id'])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0xe8eb('0xd5'));}var _0x4b7757=this[_0xe8eb('0xc')][_0xe8eb('0x10d')](_0x457ffa,_0x216fb6['response'],_0x216fb6[_0xe8eb('0x10e')]);var _0x1dd088=_0x4b7757[_0xe8eb('0xa1')]?_0x4b7757['result'][_0xe8eb('0x49')]():'';logger[_0xe8eb('0x2a')]('test',JSON[_0xe8eb('0x73')](_0x4b7757));if(_0x4b7757[_0xe8eb('0xa1')]===-0x1){this[_0xe8eb('0x31')]['sync'](this,_0x216fb6,_0x1dd088);return _0x4b7757;}else if(_0x4b7757[_0xe8eb('0x9f')]===_0xe8eb('0x66')){_0x4b7757[_0xe8eb('0xa1')]=_0x1dd088['length']>=parseInt(_0x216fb6['mindigit'])?'x':'i';}else{_0x4b7757[_0xe8eb('0xa1')]=_0x1dd088['length']>=parseInt(_0x216fb6[_0xe8eb('0x10f')])&&_0x1dd088[_0xe8eb('0x99')]<=parseInt(_0x216fb6['maxdigit'])?'x':'i';}var _0x145b2b=this[_0xe8eb('0xe')][_0xe8eb('0x6f')](this,_0x216fb6[_0xe8eb('0xd4')]);if(!_0x145b2b){return this['channel'][_0xe8eb('0x29')](_0x216fb6,'no\x20variable\x20found');}this[_0xe8eb('0xc')][_0xe8eb('0x9d')](_0x145b2b,_0x1dd088);if(this[_0xe8eb('0xa2')](_0x216fb6[_0xe8eb('0x110')])){var _0x5d9a7e=parseInt(_0x216fb6[_0xe8eb('0x110')],0xa);var _0x3966dd=rs[_0xe8eb('0x111')]({'charset':'*','length':_0x5d9a7e});var _0x360723=_0x1dd088['length'];if(_0x360723>0x0){if(_0x360723>_0x5d9a7e){this['createSquareDetailsReport'][_0xe8eb('0x6f')](this,_0x216fb6,_0x216fb6[_0xe8eb('0x112')]===_0xe8eb('0x113')?_0x3966dd+_0x1dd088['substr'](_0x5d9a7e):_0x1dd088['substr'](0x0,_0x360723-_0x5d9a7e)+_0x3966dd);}else{this[_0xe8eb('0x31')][_0xe8eb('0x6f')](this,_0x216fb6,rs[_0xe8eb('0x111')]({'charset':'*','length':_0x360723}));}}else{this['createSquareDetailsReport'][_0xe8eb('0x6f')](this,_0x216fb6,'');}}else{this[_0xe8eb('0x31')][_0xe8eb('0x6f')](this,_0x216fb6,_0x1dd088);}return _0x4b7757;};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0xb')]=function(_0x4be9ec){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x114'),_0x4be9ec[_0xe8eb('0x33')]));return this[_0xe8eb('0xa')](_0x4be9ec);};AGIVertices['prototype'][_0xe8eb('0x115')]=function(_0x40109a){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x116'),_0x40109a[_0xe8eb('0x33')]));this[_0xe8eb('0x31')][_0xe8eb('0x6f')](this,_0x40109a,_0x40109a[_0xe8eb('0x117')]);return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util['format'](_0xe8eb('0x118'),_0x40109a[_0xe8eb('0x117')]));};AGIVertices['prototype'][_0xe8eb('0x119')]=function(_0x411031){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x11a'),_0x411031[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x411031[_0xe8eb('0x86')])||!this[_0xe8eb('0xa2')](_0x411031[_0xe8eb('0x87')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0x11b'));}if(!this[_0xe8eb('0xa2')](_0x411031[_0xe8eb('0x61')])){return this[_0xe8eb('0xc')]['noop'](_0xe8eb('0xbf'));}this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x11c'),_0x411031[_0xe8eb('0x61')]));var _0x50f955=this[_0xe8eb('0x85')]['sync'](this,_0x411031);if(_0x50f955){this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util['format'](_0xe8eb('0x11d'),_0x50f955));var _0x2670dd=this[_0xe8eb('0xc')][_0xe8eb('0x11e')](_0x50f955);try{fs['unlink'](_0x50f955+_0xe8eb('0xfc'));}catch(_0x35d144){logger[_0xe8eb('0x29')](_0x35d144);}return _0x2670dd;}return this['channel'][_0xe8eb('0x29')](_0x411031,_0xe8eb('0x11f'));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x120')]=function(_0xeb65e6){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x121'),_0xeb65e6['label']));if(!this[_0xe8eb('0xa2')](_0xeb65e6[_0xe8eb('0x86')])||!this[_0xe8eb('0xa2')](_0xeb65e6[_0xe8eb('0x87')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')]('no\x20valid\x20credentials\x20configured');}if(!this[_0xe8eb('0xa2')](_0xeb65e6['aws_bot_name'])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')]('no\x20bot\x20name\x20configured');}if(!this[_0xe8eb('0xa2')](_0xeb65e6[_0xe8eb('0x61')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')]('no\x20text\x20configured');}this[_0xe8eb('0xc')][_0xe8eb('0xe4')]=!![];this[_0xe8eb('0x31')](_0xeb65e6);this[_0xe8eb('0x3f')](_0xeb65e6[_0xe8eb('0x61')],'in','','');this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x122'),_0xeb65e6[_0xe8eb('0x61')]));var _0x55b1d5=this['awsLex']['sync'](this,_0xeb65e6);if(_0x55b1d5){for(var _0x51a37a in _0x55b1d5){if(_0x55b1d5[_0xe8eb('0x94')](_0x51a37a)&&_[_0xe8eb('0x9a')](_0x55b1d5[_0x51a37a])){this[_0xe8eb('0xc')]['setVariable'](util['format'](_0xe8eb('0x123'),_0x51a37a[_0xe8eb('0x69')]()),_0x55b1d5[_0x51a37a]);}}if(_[_0xe8eb('0x42')](_0x55b1d5['message'])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')]('Amazon\x20Lex\x20ready\x20for\x20fulfillment');}else{this[_0xe8eb('0x3f')](_0x55b1d5[_0xe8eb('0x76')],_0xe8eb('0xe8'),_0xe8eb('0x124'),'');return this['channel'][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x125'),_0x55b1d5['message']));}}return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0xeb65e6,_0xe8eb('0x126'));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x127')]=function(_0x458055){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x128'),_0x458055[_0xe8eb('0x33')],_0x458055[_0xe8eb('0x66')]));if(!this[_0xe8eb('0xa2')](_0x458055[_0xe8eb('0x7a')])){return this['channel'][_0xe8eb('0xa7')](_0xe8eb('0x129'));}var _0x24972e=_0xe8eb('0x12a');var _0x5697f0=util[_0xe8eb('0x26')](_0xe8eb('0x12b'),FILES_PATH,rs[_0xe8eb('0x111')](0x4));var _0x4599af=util[_0xe8eb('0x26')](_0xe8eb('0x9c'),_0x5697f0,_0x24972e);var _0x251e53=!![];if(_0x458055['beep']===_0xe8eb('0x12c')){_0x251e53=![];}var _0x4e0b68=this[_0xe8eb('0xc')][_0xe8eb('0x12d')](_0x5697f0,_0x24972e,_0x458055[_0xe8eb('0x12e')],_0x458055[_0xe8eb('0x66')],undefined,_0x251e53);if(_0x4e0b68[_0xe8eb('0xa1')]!==-0x1){this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')]('google\x20%s\x20file\x20created',_0x4599af));var _0xc891e9=this[_0xe8eb('0x8d')][_0xe8eb('0x6f')](this,_0x458055,_0x4599af);if(_0xc891e9){for(var _0x2edf56 in _0xc891e9){if(_0xc891e9[_0xe8eb('0x94')](_0x2edf56)){this[_0xe8eb('0xc')][_0xe8eb('0x9d')](util[_0xe8eb('0x26')]('GOOGLE_ASR_%s',_0x2edf56[_0xe8eb('0x69')]()),_0xc891e9[_0x2edf56]);}}return this['channel'][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x12f'),JSON[_0xe8eb('0x73')](_0xc891e9)));}}return _0x4e0b68;};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x130')]=function(_0x463242){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x131'),_0x463242[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x463242[_0xe8eb('0x90')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')]('no\x20appid\x20configured');}if(!this[_0xe8eb('0xa2')](_0x463242[_0xe8eb('0x132')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0x133'));}var _0xb90909='wav';var _0xddfd18=util[_0xe8eb('0x26')]('%s/recordings/%s',FILES_PATH,rs[_0xe8eb('0x111')](0x4));var _0x355868=util[_0xe8eb('0x26')]('%s.%s',_0xddfd18,_0xb90909);var _0x34fff2=!![];if(_0x463242[_0xe8eb('0x134')]===_0xe8eb('0x12c')){_0x34fff2=![];}var _0x2b1c92=this['channel'][_0xe8eb('0x12d')](_0xddfd18,_0xb90909,_0x463242[_0xe8eb('0x12e')],_0x463242['timeout'],undefined,_0x34fff2);if(_0x2b1c92['result']!==-0x1){this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x135'),_0x355868));var _0x4a31b8=this['tildeASR'][_0xe8eb('0x6f')](this,_0x463242,_0x355868);if(_0x4a31b8){for(var _0x596a39 in _0x4a31b8){if(_0x4a31b8[_0xe8eb('0x94')](_0x596a39)){this[_0xe8eb('0xc')][_0xe8eb('0x9d')](util[_0xe8eb('0x26')](_0xe8eb('0x136'),_0x596a39[_0xe8eb('0x69')]()),_0x4a31b8[_0x596a39]);}}return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x137'),JSON['stringify'](_0x4a31b8)));}}return _0x2b1c92;};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x138')]=function(_0x2caac2){logger['info'](util['format'](_0xe8eb('0x139'),_0x2caac2[_0xe8eb('0x33')]));return this[_0xe8eb('0xc')][_0xe8eb('0x13a')](_0x2caac2['context'],_0x2caac2[_0xe8eb('0x3a')],_0x2caac2[_0xe8eb('0x3b')]);};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x13b')]=function(_0x4477ad){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x13c'),_0x4477ad[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x4477ad[_0xe8eb('0x13d')])){return this['channel'][_0xe8eb('0x29')](_0x4477ad,_0xe8eb('0x13e'));}try{var _0x39cacf=eval(_0x4477ad[_0xe8eb('0x13d')])?'true':_0xe8eb('0x13f');this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')]('EVAL\x20CONDITION\x20%s\x20%s',_0x4477ad['condition'],_0x39cacf));return{'code':0xc8,'result':_0x39cacf};}catch(_0x5b7853){return{'code':0xc8,'result':_0xe8eb('0x13f')};}};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x140')]=function(_0xe14ed4){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x141'),_0xe14ed4['label']));if(!this[_0xe8eb('0xa2')](_0xe14ed4[_0xe8eb('0x142')])){return this['channel'][_0xe8eb('0x29')](_0xe14ed4,_0xe8eb('0x143'));}var _0x39ef23=this[_0xe8eb('0x144')][_0xe8eb('0x6f')](this,_0xe14ed4[_0xe8eb('0x142')]);if(!_0x39ef23){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0xe14ed4,_0xe8eb('0x145'));}for(var _0x45f53b=0x0;_0x45f53b<_0x39ef23[_0xe8eb('0x99')];_0x45f53b+=0x1){var _0x5c2971=this[_0xe8eb('0xc')][_0xe8eb('0xe')](util[_0xe8eb('0x26')](_0xe8eb('0x146'),_0x39ef23[_0x45f53b]));if(_0x5c2971[_0xe8eb('0xa1')]===-0x1){return _0x5c2971;}logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x147'),_0x39ef23[_0x45f53b],_0x5c2971[_0xe8eb('0x9f')]));if(_0x5c2971[_0xe8eb('0x9f')]==='true'){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')]('IFTIME\x20%s\x20%s',_0x39ef23[_0x45f53b],_0xe8eb('0x148')));this['channel']['noop'](util[_0xe8eb('0x26')](_0xe8eb('0x147'),_0x39ef23[_0x45f53b],_0xe8eb('0x148')));return{'code':0xc8,'result':_0xe8eb('0x148')};}else{logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x147'),_0x39ef23[_0x45f53b],_0xe8eb('0x13f')));this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x147'),_0x39ef23[_0x45f53b],_0xe8eb('0x13f')));}}return{'code':0xc8,'result':_0xe8eb('0x13f')};};AGIVertices[_0xe8eb('0x16')]['hangup']=function(_0x3b0cfb){logger[_0xe8eb('0x2a')](util['format'](_0xe8eb('0x149'),_0x3b0cfb['label']));return this[_0xe8eb('0xc')]['hangup']();};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x14a')]=function(_0x316041){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x14b'),_0x316041[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x316041[_0xe8eb('0x7a')])){return this[_0xe8eb('0xc')]['noop'](_0xe8eb('0x129'));}var _0x374bd6=_0xe8eb('0x12a');var _0x2337d3=util[_0xe8eb('0x26')](_0xe8eb('0x12b'),FILES_PATH,rs['generate'](0x4));var _0x5217dc=util[_0xe8eb('0x26')]('%s.%s',_0x2337d3,_0x374bd6);var _0x5844b3=!![];if(_0x316041[_0xe8eb('0x134')]===_0xe8eb('0x12c')){_0x5844b3=![];}var _0x517f5c=this[_0xe8eb('0xc')][_0xe8eb('0x12d')](_0x2337d3,_0x374bd6,_0x316041['intKey'],_0x316041['timeout'],undefined,_0x5844b3);if(_0x517f5c[_0xe8eb('0xa1')]!==-0x1){this[_0xe8eb('0xc')]['noop'](util[_0xe8eb('0x26')](_0xe8eb('0x14c'),_0x5217dc));var _0x52f1d6=this['ispeechASR'][_0xe8eb('0x6f')](this,_0x316041,_0x5217dc);if(_0x52f1d6){for(var _0x44fcf9 in _0x52f1d6){if(_0x52f1d6[_0xe8eb('0x94')](_0x44fcf9)){this['channel'][_0xe8eb('0x9d')](util[_0xe8eb('0x26')]('ISPEECH_ASR_%s',_0x44fcf9['toUpperCase']()),_0x52f1d6[_0x44fcf9]);}}return this[_0xe8eb('0xc')]['noop'](util[_0xe8eb('0x26')](_0xe8eb('0x14d'),JSON[_0xe8eb('0x73')](_0x52f1d6)));}}return _0x517f5c;};AGIVertices[_0xe8eb('0x16')]['ispeechtts']=function(_0x41f425){logger[_0xe8eb('0x2a')](util['format']('Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block',_0x41f425[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x41f425['key'])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0x129'));}if(!this['isConfigured'](_0x41f425[_0xe8eb('0x61')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0xbf'));}this[_0xe8eb('0xc')]['noop'](util[_0xe8eb('0x26')](_0xe8eb('0x14e'),_0x41f425[_0xe8eb('0x61')]));var _0x3548db=this['ispeechTTS']['sync'](this,_0x41f425);if(_0x3548db){this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x14c'),_0x3548db));var _0x1e1ca7=this[_0xe8eb('0xc')][_0xe8eb('0x11e')](_0x3548db,_0x41f425[_0xe8eb('0x12e')]);try{fs['unlink'](_0x3548db+_0xe8eb('0xfc'));}catch(_0x47337c){logger[_0xe8eb('0x29')](_0x47337c);}return _0x1e1ca7;}return this['channel'][_0xe8eb('0x29')](_0x41f425,_0xe8eb('0x14f'));};AGIVertices[_0xe8eb('0x16')]['login']=function(_0x28f84a){logger['info'](util['format'](_0xe8eb('0x150'),_0x28f84a[_0xe8eb('0x33')]));if(!this['isConfigured'](_0x28f84a[_0xe8eb('0x151')])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x28f84a,_0xe8eb('0x152'));}logger['info'](util[_0xe8eb('0x26')](_0xe8eb('0x153'),this[_0xe8eb('0xc')][_0xe8eb('0x36')],_0x28f84a[_0xe8eb('0x151')]));var _0x4f950d=this[_0xe8eb('0x53')]['sync'](this,_0x28f84a[_0xe8eb('0x151')]);if(_0x4f950d){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x154'),this[_0xe8eb('0xc')][_0xe8eb('0x36')],_0x28f84a[_0xe8eb('0x151')]));this['channel'][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x154'),this[_0xe8eb('0xc')][_0xe8eb('0x36')],_0x28f84a[_0xe8eb('0x151')]));return{'code':0xc8,'result':_0xe8eb('0x155')};}else{logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x156'),this[_0xe8eb('0xc')]['callerid'],_0x28f84a[_0xe8eb('0x151')]));this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x156'),this[_0xe8eb('0xc')][_0xe8eb('0x36')],_0x28f84a[_0xe8eb('0x151')]));return{'code':0xc8,'result':_0xe8eb('0x157')};}};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x158')]=function(_0x44e13b){logger['info'](util[_0xe8eb('0x26')](_0xe8eb('0x159'),_0x44e13b[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x44e13b[_0xe8eb('0x151')])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x44e13b,_0xe8eb('0x152'));}logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x153'),this['channel'][_0xe8eb('0x36')],_0x44e13b[_0xe8eb('0x151')]));var _0x2970c1=this[_0xe8eb('0x4f')][_0xe8eb('0x6f')](this,_0x44e13b[_0xe8eb('0x151')]);if(_0x2970c1){logger[_0xe8eb('0x2a')](util['format'](_0xe8eb('0x154'),this[_0xe8eb('0xc')][_0xe8eb('0x36')],_0x44e13b[_0xe8eb('0x151')]));this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x154'),this['channel'][_0xe8eb('0x36')],_0x44e13b['findBy']));return{'code':0xc8,'result':_0xe8eb('0x155')};}else{logger[_0xe8eb('0x2a')](util['format'](_0xe8eb('0x156'),this[_0xe8eb('0xc')]['callerid'],_0x44e13b[_0xe8eb('0x151')]));this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this['channel']['callerid'],_0x44e13b[_0xe8eb('0x151')]));return{'code':0xc8,'result':_0xe8eb('0x157')};}};AGIVertices['prototype'][_0xe8eb('0x15a')]=function(_0x4f91cf){logger[_0xe8eb('0x2a')](util['format']('Enter\x20in\x20MATH\x20(%s)\x20block',_0x4f91cf['label']));if(!this[_0xe8eb('0xa2')](_0x4f91cf[_0xe8eb('0x15b')])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x4f91cf,_0xe8eb('0x15c'));}this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x15d'),_0x4f91cf[_0xe8eb('0x15b')]));var _0xfc8b67=eval(_0x4f91cf[_0xe8eb('0x15b')]);if(!this['isConfigured'](_0x4f91cf[_0xe8eb('0xd4')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0xd5'));}var _0x14465c=this['getVariable'][_0xe8eb('0x6f')](this,_0x4f91cf[_0xe8eb('0xd4')]);if(!_0x14465c){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x4f91cf,_0xe8eb('0xd6'));}if(_[_0xe8eb('0x98')](_0xfc8b67)){var _0xaa34b9=this;_0xfc8b67[_0xe8eb('0xd8')](function(_0x5b7886,_0x20feff){_0xaa34b9[_0xe8eb('0xc')][_0xe8eb('0x9d')](util[_0xe8eb('0x26')](_0xe8eb('0x15e'),_0x14465c,_0x20feff),_0x5b7886);});return this[_0xe8eb('0xc')]['noop'](util[_0xe8eb('0x26')]('variable\x20%s[key]\x20set',_0x14465c));}else{return this[_0xe8eb('0xc')][_0xe8eb('0x9d')](_0x14465c,_0xfc8b67);}};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x9')]=function(_0xadf9cb){logger['info'](util[_0xe8eb('0x26')](_0xe8eb('0x15f'),_0xadf9cb[_0xe8eb('0x33')]));if(_0xadf9cb[_0xe8eb('0xa4')]===0x0){return this['maxRetry'](_0xadf9cb);}_0xadf9cb['retry']-=0x1;if(!this[_0xe8eb('0xa2')](_0xadf9cb[_0xe8eb('0x10b')])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0xadf9cb,_0xe8eb('0x10c'));}var _0x4a157f=this[_0xe8eb('0x1d')][_0xe8eb('0x6f')](this,_0xadf9cb[_0xe8eb('0x10b')]);if(!_0x4a157f){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0xadf9cb,'no\x20file\x20audio\x20found');}var _0x3077d8=this[_0xe8eb('0xc')][_0xe8eb('0x10d')](_0x4a157f,_0xadf9cb[_0xe8eb('0x160')],_0xadf9cb[_0xe8eb('0x161')]);var _0x3948d2=_0x3077d8[_0xe8eb('0xa1')];if(_0x3077d8[_0xe8eb('0xa1')]===-0x1){this[_0xe8eb('0x31')][_0xe8eb('0x6f')](this,_0xadf9cb,'-1');return _0x3077d8;}else if(_0x3077d8[_0xe8eb('0x9f')]==='timeout'){_0x3077d8[_0xe8eb('0xa1')]=_0x3077d8[_0xe8eb('0xa1')][_0xe8eb('0x99')]>0x0?_0x3077d8[_0xe8eb('0xa1')]:'t';}else if(_['isEmpty'](_0x3077d8[_0xe8eb('0xa1')])){_0x3077d8[_0xe8eb('0xa1')]='#';_0x3948d2='#';}if(!this[_0xe8eb('0xa2')](_0xadf9cb[_0xe8eb('0xd4')])){this[_0xe8eb('0xc')]['noop'](_0xe8eb('0xd5'));}else{var _0x218845=this[_0xe8eb('0xe')]['sync'](this,_0xadf9cb['variable_id']);if(!_0x218845){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0xadf9cb,'no\x20variable\x20found');}this[_0xe8eb('0xc')]['setVariable'](_0x218845,_0x3948d2);}this['createSquareDetailsReport'][_0xe8eb('0x6f')](this,_0xadf9cb,_0x3948d2);return _0x3077d8;};AGIVertices['prototype'][_0xe8eb('0xa7')]=function(_0x4b6f5f){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')]('Enter\x20in\x20NOOP\x20(%s)\x20block',_0x4b6f5f[_0xe8eb('0x33')]));return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0x4b6f5f[_0xe8eb('0x162')]||_0x4b6f5f[_0xe8eb('0x33')]);};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x163')]=function(_0x3c4f3a){logger['info'](util['format']('Enter\x20in\x20PAUSE\x20(%s)\x20block',_0x3c4f3a[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x3c4f3a[_0xe8eb('0x151')])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x3c4f3a,'no\x20find\x20by\x20configured');}logger[_0xe8eb('0x2a')](util['format'](_0xe8eb('0x153'),this[_0xe8eb('0xc')][_0xe8eb('0x36')],_0x3c4f3a['findBy']));var _0x2b2972=this[_0xe8eb('0x164')][_0xe8eb('0x6f')](this,_0x3c4f3a[_0xe8eb('0x165')]);var _0x56a5ca=this[_0xe8eb('0x4c')][_0xe8eb('0x6f')](this,_0x3c4f3a[_0xe8eb('0x151')],_0x2b2972);if(_0x56a5ca){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x154'),this[_0xe8eb('0xc')][_0xe8eb('0x36')],_0x3c4f3a[_0xe8eb('0x151')]));this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')]('AGENT\x20%s\x20FOUND\x20BY',this[_0xe8eb('0xc')]['callerid'],_0x3c4f3a[_0xe8eb('0x151')]));return{'code':0xc8,'result':_0xe8eb('0x155')};}else{logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x156'),this['channel'][_0xe8eb('0x36')],_0x3c4f3a[_0xe8eb('0x151')]));this[_0xe8eb('0xc')]['noop'](util[_0xe8eb('0x26')]('AGENT\x20%s\x20FOUND\x20BY',this[_0xe8eb('0xc')]['callerid'],_0x3c4f3a['findBy']));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x166')]=function(_0x3be43c){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x167'),_0x3be43c[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x3be43c['file_id'])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x3be43c,_0xe8eb('0x10c'));}var _0x5c01ad=this[_0xe8eb('0x1d')][_0xe8eb('0x6f')](this,_0x3be43c['file_id']);if(!_0x5c01ad){return this[_0xe8eb('0xc')]['error'](_0x3be43c,_0xe8eb('0x168'));}var _0x59d759=this[_0xe8eb('0xc')]['exec']('PLAYBACK',[_0x5c01ad,_0x3be43c['opts']]);if(_0x59d759[_0xe8eb('0xa1')]===-0x1){return _0x59d759;}return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x169'),_0xe8eb('0x16a'),_0x5c01ad));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x16b')]=function(_0x3c66b0){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x16c'),_0x3c66b0['label']));if(!this['isConfigured'](_0x3c66b0[_0xe8eb('0x16d')])){return this[_0xe8eb('0xc')]['error'](_0x3c66b0,_0xe8eb('0x16e'));}var _0x352ffc='';var _0x5146d4=parseInt(_0x3c66b0[_0xe8eb('0x16d')],0xa);if(isNaN(_0x5146d4)){_0x352ffc=_0x3c66b0[_0xe8eb('0x16d')];}else{_0x352ffc=this[_0xe8eb('0x12')][_0xe8eb('0x6f')](this,_0x3c66b0['queue_id']);if(!_0x352ffc){return this['channel'][_0xe8eb('0x29')](_0x3c66b0,_0xe8eb('0x16f'));}}var _0x59a93e='';if(this[_0xe8eb('0xa2')](_0x3c66b0[_0xe8eb('0x10b')])){var _0x1ebadc=this['getSound'][_0xe8eb('0x6f')](this,_0x3c66b0[_0xe8eb('0x10b')]);if(_0x1ebadc){_0x59a93e=_0x1ebadc;}}this[_0xe8eb('0x31')][_0xe8eb('0x6f')](this,_0x3c66b0,_0x352ffc);if(_0x3c66b0[_0xe8eb('0x107')]['indexOf']('x')<0x0){_0x3c66b0[_0xe8eb('0x107')]+='x';}if(_0x3c66b0['opts'][_0xe8eb('0x170')]('X')<0x0){_0x3c66b0[_0xe8eb('0x107')]+='X';}this[_0xe8eb('0xc')][_0xe8eb('0x9d')](_0xe8eb('0x171'),_0x352ffc?_0x352ffc[_0xe8eb('0x172')]():'');var _0x4dce55=this[_0xe8eb('0xc')][_0xe8eb('0x55')](_0xe8eb('0x173'),[_0x352ffc,_0x3c66b0[_0xe8eb('0x107')],_0x3c66b0[_0xe8eb('0x64')],_0x59a93e,_0x3c66b0[_0xe8eb('0x66')],_0x3c66b0[_0xe8eb('0x5')],_0x3c66b0[_0xe8eb('0x174')],_0x3c66b0['gosub'],'',_0x3c66b0[_0xe8eb('0x175')]]);if(_0x4dce55[_0xe8eb('0xa1')]===-0x1){return _0x4dce55;}return this['channel']['noop'](util[_0xe8eb('0x26')]('Executed\x20command\x20%s\x20%s','QUEUE',_0x352ffc));};AGIVertices['prototype']['record']=function(_0x23caac){logger['info'](util[_0xe8eb('0x26')]('Enter\x20in\x20RECORD\x20(%s)\x20block',_0x23caac[_0xe8eb('0x33')]));var _0x4945a8=_0x23caac[_0xe8eb('0x176')]||_0xe8eb('0x12a');var _0x26c424=util['format'](_0xe8eb('0x177'),this[_0xe8eb('0xc')][_0xe8eb('0x32')],rs['generate'](0x5));var _0xc165a8=util[_0xe8eb('0x26')](_0xe8eb('0x178'),FILES_PATH,_0x26c424,_0x4945a8);var _0x7803a6=util['format'](_0xe8eb('0x12b'),FILES_PATH,_0x26c424);this[_0xe8eb('0x37')]['sync'](this,_0x23caac,_0x26c424,_0xc165a8);this[_0xe8eb('0xc')][_0xe8eb('0x9d')](_0xe8eb('0x179'),_0x26c424);logger['info'](_0xe8eb('0x17a'),_0x7803a6,_0x4945a8,_0x23caac['escape_digits'],_0x23caac[_0xe8eb('0x66')]);return this[_0xe8eb('0xc')][_0xe8eb('0x12d')](_0x7803a6,_0x4945a8,_0x23caac[_0xe8eb('0x17b')],_0x23caac['timeout'],undefined,!![]);};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x17c')]=function(_0x270a90){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')]('Enter\x20in\x20RESTAPI\x20(%s)\x20block',_0x270a90['label']));if(!this['isConfigured'](_0x270a90[_0xe8eb('0x64')])){return this[_0xe8eb('0xc')]['noop'](_0xe8eb('0x17d'));}var _0x7d48a0=this[_0xe8eb('0x63')][_0xe8eb('0x6f')](this,_0x270a90);logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')]('Response:',util['inspect'](_0x7d48a0,{'showHidden':![],'depth':null})));if(!this[_0xe8eb('0xa2')](_0x270a90['variable_id'])){return this[_0xe8eb('0xc')]['noop']('no\x20variable\x20selected\x20for\x20the\x20response');}var _0x16ebb8=this[_0xe8eb('0xe')][_0xe8eb('0x6f')](this,_0x270a90[_0xe8eb('0xd4')]);if(!_0x16ebb8){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x270a90,_0xe8eb('0xd6'));}this['channel']['setVariable'](util[_0xe8eb('0x26')](_0xe8eb('0x17e'),_0x16ebb8),_0x7d48a0[_0xe8eb('0x74')]?_0x7d48a0[_0xe8eb('0x74')]:_0xe8eb('0x17f'));this['channel'][_0xe8eb('0x9d')](util[_0xe8eb('0x26')](_0xe8eb('0x180'),_0x16ebb8),_0x7d48a0[_0xe8eb('0x75')]?_0x7d48a0[_0xe8eb('0x75')]:'OK');if(_0x7d48a0['body']){try{this[_0xe8eb('0x9b')](_0x7d48a0[_0xe8eb('0x72')],_0x16ebb8);}catch(_0x5848e5){logger[_0xe8eb('0x29')](util[_0xe8eb('0x26')](_0xe8eb('0x181'),_0x16ebb8));}}return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0xda'),_0x16ebb8));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x182')]=function(_0x3e4e71){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x183'),_0x3e4e71['label']));return this[_0xe8eb('0xc')][_0xe8eb('0x184')](_0x3e4e71[_0xe8eb('0x185')][_0xe8eb('0x57')](/\s+/g,''),_0x3e4e71[_0xe8eb('0x17b')]);};AGIVertices[_0xe8eb('0x16')]['saynumber']=function(_0x1113cb){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x186'),_0x1113cb['label']));return this[_0xe8eb('0xc')][_0xe8eb('0x187')](_0x1113cb[_0xe8eb('0x67')][_0xe8eb('0x57')](/\s+/g,''),_0x1113cb[_0xe8eb('0x17b')]);};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x188')]=function(_0x40276c){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x189'),_0x40276c[_0xe8eb('0x33')]));return this[_0xe8eb('0xc')][_0xe8eb('0x18a')](_0x40276c[_0xe8eb('0x61')],_0x40276c[_0xe8eb('0x17b')]);};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x18b')]=function(_0x581faa){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')]('Enter\x20in\x20SENDMAIL\x20(%s)\x20block',_0x581faa[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x581faa['account_id'])){return this['channel'][_0xe8eb('0xa7')]('no\x20mail\x20account\x20configured');}var _0x20fe9f=this[_0xe8eb('0x1f')][_0xe8eb('0x6f')](this,_0x581faa['account_id']);if(!_0x20fe9f||!_0x20fe9f['Smtp']){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x581faa,_0xe8eb('0x18c'));}var _0x28b4e0={'from':util['format'](_0xe8eb('0x18d'),_0x20fe9f[_0xe8eb('0x11')],_0x20fe9f[_0xe8eb('0x18e')]||_0x20fe9f['Smtp']['user']),'to':_0x581faa['to']||'','cc':_0x581faa['cc']||'','bcc':_0x581faa[_0xe8eb('0x18f')]||'','subject':_0x581faa[_0xe8eb('0x190')],'html':_0x581faa['text'],'text':_0x581faa[_0xe8eb('0x61')]};var _0x1f8124={'tls':{'rejectUnauthorized':![]}};if(_0x20fe9f['Smtp']['service']){_0x1f8124['service']=_0x20fe9f['Smtp']['service'];}else{_0x1f8124[_0xe8eb('0x191')]=_0x20fe9f[_0xe8eb('0x192')]['host'];_0x1f8124['port']=_0x20fe9f[_0xe8eb('0x192')]['port'];_0x1f8124[_0xe8eb('0x193')]=_0x20fe9f[_0xe8eb('0x192')][_0xe8eb('0x193')];}if(_0x20fe9f['Smtp']['authentication']){_0x1f8124[_0xe8eb('0x194')]={'user':_0x20fe9f['Smtp'][_0xe8eb('0x195')],'pass':_0x20fe9f[_0xe8eb('0x192')][_0xe8eb('0x196')]};}if(this[_0xe8eb('0xa2')](_0x581faa[_0xe8eb('0x197')])){}logger[_0xe8eb('0xdc')](_0xe8eb('0x198'),JSON['stringify'](_0x28b4e0));this[_0xe8eb('0x31')][_0xe8eb('0x6f')](this,_0x581faa,_0x581faa[_0xe8eb('0x199')]);this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x19a'),_0x20fe9f['name']));this[_0xe8eb('0x21')]['sync'](this,_0x1f8124,_0x28b4e0);return this['channel'][_0xe8eb('0xa7')](_0xe8eb('0x19b'));};AGIVertices['prototype']['sendFax']=function(_0x2c0204){logger[_0xe8eb('0x2a')](util['format']('Enter\x20in\x20SENDFAX\x20(%s)\x20block',_0x2c0204[_0xe8eb('0x33')]));return this['channel'][_0xe8eb('0xa7')](_0xe8eb('0x19c'));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x19d')]=function(_0x5da528){logger[_0xe8eb('0x2a')](util['format'](_0xe8eb('0x19e'),_0x5da528[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x5da528[_0xe8eb('0x19f')])){return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](_0xe8eb('0x1a0'));}var _0xd6b5a0=this[_0xe8eb('0x1a1')][_0xe8eb('0x6f')](this,_0x5da528[_0xe8eb('0x19f')]);if(!_0xd6b5a0){return this['channel'][_0xe8eb('0x29')](_0x5da528,_0xe8eb('0x1a2'));}var _0x38560e={'body':_0x5da528[_0xe8eb('0x1a3')],'phone':_0x5da528['to']||'','SmsAccountId':_0xd6b5a0['id']};logger['debug'](_0xe8eb('0x1a4'),JSON[_0xe8eb('0x73')](_0x38560e));this[_0xe8eb('0x31')][_0xe8eb('0x6f')](this,_0x5da528,_0x5da528[_0xe8eb('0x19f')]);this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x1a5'),_0xd6b5a0[_0xe8eb('0x11')]));this[_0xe8eb('0x30')]['sync'](this,_0x38560e);return this[_0xe8eb('0xc')]['noop'](_0xe8eb('0x1a6'));};AGIVertices['prototype']['set']=function(_0x4d4cc8){logger['info'](util[_0xe8eb('0x26')](_0xe8eb('0x1a7'),_0x4d4cc8['label']));if(!this[_0xe8eb('0xa2')](_0x4d4cc8['variable_id'])){return this['channel'][_0xe8eb('0x29')](_0x4d4cc8,_0xe8eb('0x1a8'));}var _0x4c414d=this[_0xe8eb('0xe')][_0xe8eb('0x6f')](this,_0x4d4cc8[_0xe8eb('0xd4')]);if(!_0x4c414d){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x4d4cc8,_0xe8eb('0xd6'));}return this[_0xe8eb('0xc')]['setVariable'](_0x4c414d,_0x4d4cc8[_0xe8eb('0x1a9')]);};AGIVertices['prototype'][_0xe8eb('0x1aa')]=function(_0x2e6d5f){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x1ab'),_0x2e6d5f[_0xe8eb('0x33')]));this[_0xe8eb('0xc')][_0xe8eb('0xa7')]('START\x20CALLY\x20SQUARE');if(_0x2e6d5f[_0xe8eb('0xb4')]==='yes'){this['channel'][_0xe8eb('0xa7')](_0xe8eb('0x1ac'));return this['channel']['answer']();}return this['channel'][_0xe8eb('0xa7')]('Skipped\x20Answer');};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x1ad')]=function(_0x587b59){logger[_0xe8eb('0x2a')](util['format'](_0xe8eb('0x1ae'),_0x587b59[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x587b59['project_id'])){return this['channel'][_0xe8eb('0x29')](_0x587b59,'no\x20subproject\x20selected');}var _0x60b18f=this[_0xe8eb('0x1af')][_0xe8eb('0x6f')](this,_0x587b59['project_id']);if(!this['isConfigured'](_0x60b18f)){return this['channel'][_0xe8eb('0x29')](_0x587b59,util[_0xe8eb('0x26')](_0xe8eb('0x1b0'),_0x587b59[_0xe8eb('0x1b1')]));}if(_0x60b18f===this[_0xe8eb('0xc')]['arg_1']){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x587b59,'project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project');}this[_0xe8eb('0x31')][_0xe8eb('0x6f')](this,_0x587b59,_0x60b18f);var _0x12c1ad=this[_0xe8eb('0xc')][_0xe8eb('0x55')](_0xe8eb('0x1b2'),util[_0xe8eb('0x26')](_0xe8eb('0x1b3'),config[_0xe8eb('0x5')][_0xe8eb('0x191')]||_0xe8eb('0x1b4'),_0x60b18f,this[_0xe8eb('0xc')][_0xe8eb('0x35')]));if(_0x12c1ad['result']===-0x1){return _0x12c1ad;}return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util['format']('Executed\x20command\x20%s\x20%s','AGI',_0x60b18f));};AGIVertices['prototype'][_0xe8eb('0x1b5')]=function(_0x4f2a87){logger['info'](util[_0xe8eb('0x26')](_0xe8eb('0x1b6'),_0x4f2a87[_0xe8eb('0x33')]));var _0x3e7ec8=this[_0xe8eb('0x54')][_0xe8eb('0x6f')](this,_0x4f2a87['command']);this[_0xe8eb('0x31')]['sync'](this,_0x4f2a87,_0x4f2a87['command']);if(this[_0xe8eb('0xa2')](_0x4f2a87[_0xe8eb('0xd4')])){var _0x51893c=this[_0xe8eb('0xe')][_0xe8eb('0x6f')](this,_0x4f2a87['variable_id']);if(_0x51893c){this[_0xe8eb('0xc')][_0xe8eb('0x9d')](_0x51893c,_0x3e7ec8);return this[_0xe8eb('0xc')]['noop'](util[_0xe8eb('0x26')](_0xe8eb('0x1b7'),_0x4f2a87[_0xe8eb('0xb2')],_0x51893c));}}return this[_0xe8eb('0xc')]['noop'](util['format'](_0xe8eb('0x1b8'),_0x4f2a87['command']));};AGIVertices['prototype']['google_cloud_tts']=function(_0x11a3bd){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x1b9'),_0x11a3bd[_0xe8eb('0x33')]));_0x11a3bd[_0xe8eb('0x61')]=_0x11a3bd[_0xe8eb('0x61')]['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this['isConfigured'](_0x11a3bd[_0xe8eb('0x59')])){return this['channel'][_0xe8eb('0xa7')](_0xe8eb('0x1ba'));}if(!this['isConfigured'](_0x11a3bd[_0xe8eb('0x61')])){return this[_0xe8eb('0xc')]['noop'](_0xe8eb('0xbf'));}this['channel']['noop'](util[_0xe8eb('0x26')]('Trying\x20Google\x20Cloud\x20TTS\x20%s',_0x11a3bd[_0xe8eb('0x61')]));var _0x2df377=this[_0xe8eb('0x58')]['sync'](this,_0x11a3bd);if(_0x2df377){this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x1bb'),_0x2df377));var _0x49f397=this['channel'][_0xe8eb('0x11e')](_0x2df377);try{fs[_0xe8eb('0xfb')](_0x2df377+_0xe8eb('0xfc'));}catch(_0x5de451){logger['error'](_0x5de451);}return _0x49f397;}return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x11a3bd,_0xe8eb('0x1bc'));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x1bd')]=function(_0x10dbe0){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x1be'),_0x10dbe0['label']));_0x10dbe0[_0xe8eb('0x61')]=_0x10dbe0[_0xe8eb('0x61')]['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this['isConfigured'](_0x10dbe0[_0xe8eb('0x61')])){return this['channel'][_0xe8eb('0xa7')](_0xe8eb('0xbf'));}this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x1bf'),_0x10dbe0[_0xe8eb('0x61')]));var _0x12e184=this[_0xe8eb('0x60')]['sync'](this,_0x10dbe0);if(_0x12e184){this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x1c0'),_0x12e184));var _0x232af8=this[_0xe8eb('0xc')][_0xe8eb('0x11e')](_0x12e184);try{}catch(_0x219971){logger[_0xe8eb('0x29')](_0x219971);}return _0x232af8;}return this['channel']['error'](_0x10dbe0,_0xe8eb('0x1c1'));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x1c2')]=function(_0x428b8c){logger['info'](util[_0xe8eb('0x26')]('Enter\x20in\x20UNPAUSE\x20(%s)\x20block',_0x428b8c['label']));if(!this[_0xe8eb('0xa2')](_0x428b8c[_0xe8eb('0x151')])){return this['channel'][_0xe8eb('0x29')](_0x428b8c,_0xe8eb('0x152'));}logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this['channel'][_0xe8eb('0x36')],_0x428b8c[_0xe8eb('0x151')]));var _0x1a437a=this['agentUnpause'][_0xe8eb('0x6f')](this,_0x428b8c[_0xe8eb('0x151')]);if(_0x1a437a){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x154'),this['channel'][_0xe8eb('0x36')],_0x428b8c[_0xe8eb('0x151')]));this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x154'),this[_0xe8eb('0xc')][_0xe8eb('0x36')],_0x428b8c[_0xe8eb('0x151')]));return{'code':0xc8,'result':'success'};}else{logger[_0xe8eb('0x2a')](util['format'](_0xe8eb('0x156'),this[_0xe8eb('0xc')][_0xe8eb('0x36')],_0x428b8c[_0xe8eb('0x151')]));this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x156'),this['channel'][_0xe8eb('0x36')],_0x428b8c[_0xe8eb('0x151')]));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x1c3')]=function(_0x40b02){logger[_0xe8eb('0x2a')](util[_0xe8eb('0x26')](_0xe8eb('0x1c4'),_0x40b02[_0xe8eb('0x33')]));var _0x7ae919=this[_0xe8eb('0xc')][_0xe8eb('0x55')](_0xe8eb('0x1c5'),[_0x40b02['mailbox'],_0x40b02[_0xe8eb('0x78')]]);if(_0x7ae919[_0xe8eb('0xa1')]===-0x1){return _0x7ae919;}return this[_0xe8eb('0xc')][_0xe8eb('0xa7')](util[_0xe8eb('0x26')](_0xe8eb('0x169'),'VOICEMAIL',_0x40b02[_0xe8eb('0x1c6')]));};AGIVertices[_0xe8eb('0x16')][_0xe8eb('0x1c7')]=function(_0x5c94a3){logger[_0xe8eb('0x2a')](util['format'](_0xe8eb('0x1c8'),_0x5c94a3[_0xe8eb('0x33')]));if(!this[_0xe8eb('0xa2')](_0x5c94a3[_0xe8eb('0xd4')])){return this[_0xe8eb('0xc')][_0xe8eb('0x29')](_0x5c94a3,_0xe8eb('0x1a8'));}var _0x1a6525=this[_0xe8eb('0xe')][_0xe8eb('0x6f')](this,_0x5c94a3[_0xe8eb('0xd4')]);if(!_0x1a6525){return this[_0xe8eb('0xc')]['error'](_0x5c94a3,_0xe8eb('0xd6'));}var _0x120111=this[_0xe8eb('0xc')][_0xe8eb('0xe')](_0x1a6525);return{'code':0xc8,'result':_0x120111[_0xe8eb('0x9f')]?_0x120111[_0xe8eb('0x9f')]:'-'};};String[_0xe8eb('0x16')][_0xe8eb('0x9e')]=function(_0x26d8af,_0x3c089e){return this[_0xe8eb('0x1c9')](_0x26d8af)[_0xe8eb('0x1ca')](_0x3c089e);};module['exports']=AGIVertices;
\ No newline at end of file
+var _0x4ccb=['Enter\x20in\x20GOOGLETTS\x20(%s)\x20block','Trying\x20Google\x20TTS\x20%s','unpause','voicemail','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','mailbox','Enter\x20in\x20SWITCH\x20(%s)\x20block','join','exports','path','util','lodash','shelljs','odbc','randomstring','moment','mustache','request-promise','../../config/logger','agi','../../config/environment','/var/opt/motion2/server/files','rawHeaders','rawBody','menu','getdigits','getsecretdigits','channel','getVariable','rpc','getVariableById','name','catch','getVoiceQueueById','then','prototype','getSquareProject','getSquareProjectById','getSquareOdbc','getSquareOdbcById','dsn','getUser','getUserById','getTrunkById','getSound','getSoundPath','save_name','getMailAccountById','mailRpc','getIntervals','getIntervalById','interval','map','Intervals','format','getQueryOdbc','open','error','Error\x20getting\x20ODBC\x20connection\x20%s','info','ODBC\x20connection\x20successfully','query','Error\x20executing\x20query\x20%s','Query\x20executed\x20correctly\x20%s','close','Error\x20closing\x20connection\x20to\x20odbc\x20%s','getSmsAccount','createSmsMessage','createSquareDetailsReport','uniqueid','label','arg_1','createSquareRecording','callerid','calleridname','context','accountcode','dnid','file','createSquareMessage','createCmContact','isEmpty','isNil','callback_','random','lastName','phone','list_id','scheduledAt','callback','Callback\x20scheduled\x20at\x20','callback_priority','getPauseById','agentPause','agentUnpause','agent','agentLogout','internal','%s/%s@from-sip/n','agentLogin','shellCommand','exec','trim','replace','googleCloudTTS','apiKey','google_cloud_tts_text_type','text','languageCode','en-US','ssmlGender','MALE','MP3','googleTTS','google_tts_language','restAPI','url','method','timeout','number','includes','POST','PUT','body','parse','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','headers','computedVariables','sync','uri','stringify','message','500\x20-\x20Internal\x20Server\x20Error','options','googleDialogflow','key','dialogflow_language','googleDialogflowV2','dialogflowV2_project_id','client_email','private_key','dialogflowV2_language','sestekNDA','ispeechTTS','ispeech_tts_language','speed','ispeechASR','ispeech_asr_language','isConfigured','model','awsPolly','aws_access_key_id','aws_secret_access_key','aws_text_type','awsLex','aws_lex_region','aws_bot_name','googleASR','google_asr_language','tildeASR','appsecret','clear','agicommand','clone','hasOwnProperty','replaceObjectAllVariables','replaceAllVariables','recursiveNodeIndex','isPlainObject','isArray','length','isString','saveRestApiResult','%s.%s','split','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','extra','maxRetry','mrcpsynth','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','noop','no\x20text\x20configured','MRCPSynth','result','Executed\x20command\x20MRCPSynth\x20%s','mrcprecog','Enter\x20in\x20MRCPRecog\x20(%s)\x20block','grammar','no\x20grammar\x20configured','getAndSetVariable','RECOG_CONFIDENCE()','MRCP_RECOG_TRANSCRIPT','RECOG_INSTANCE()','MRCP_RECOG_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','Enter\x20in\x20AGI\x20(%s)\x20block','command','args','answer','Wait\x20%s\x20seconds\x20before\x20answer','wait','Enter\x20in\x20CALLBACK\x20(%s)\x20block','no\x20list\x20selected','delay','add','minutes','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','lumenvoxtts','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','sestektts','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','lumenvoxasr','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','LUMENVOX_ASR_CONFIDENCE','RECOG_INPUT()','LUMENVOX_ASR_TRANSCRIPT','LUMENVOX_ASR_INSTANCE','sestekasr','Enter\x20in\x20SESTEKASR\x20(%s)\x20block','MRCPRecog','SESTEK_ASR_TRANSCRIPT','database','Enter\x20in\x20DATABASE\x20(%s)\x20block','no\x20database\x20selected','odbc_id','no\x20query\x20configured','query:\x20%s','no\x20variable\x20selected\x20for\x20the\x20result','variable_id','keys','setVariable','%s_ROWS_COUNT','variable\x20%s\x20set','dial','Enter\x20in\x20DIAL\x20(%s)\x20block','sip_id','DIAL','opts','dialogflow','Trying\x20Dialogflow:\x20%s','DIALOGFLOW_%s','speech','out','Dialogflow\x20Result\x20%s','Dialogflow\x20is\x20unreachable','dialogflowV2','Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block','no\x20project_id\x20configured','no\x20anguage\x20configured','bot','providerResponse','toUpperCase','DialogflowV2\x20Result\x20%s','DialogflowV2\x20is\x20unreachable','sesteknda','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','ndauth_url','no\x20ndauth\x20url\x20configured','username','no\x20username\x20configured','password','no\x20password\x20configured','Trying\x20SestekNDA:\x20%s','SESTEK_NDA_%s','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','unlink','.wav','SestekNDA\x20Result\x20%s','SestekNDA\x20is\x20unreachable','end','ext_dial','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','trunk_id','getTrunk','no\x20trunk\x20found','trunk_name','no\x20trunk\x20selected','Executed\x20command\x20%s','finally','Enter\x20in\x20FINALLY\x20(%s)\x20block','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','retry','file_id','no\x20file\x20audio\x20selected','no\x20file\x20audio\x20found','getData','response','maxdigit','test','mindigit','no\x20variable\x20found','hiddendigitsnum','generate','hiddendigitspos','first','substr','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','goalname','GOAL\x20%s','awspolly','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','no\x20valid\x20credentials\x20configured','aws\x20Polly\x20%s\x20file\x20created','streamFile','aws\x20Polly\x20is\x20unreachable','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','no\x20bot\x20name\x20configured','Trying\x20Amazon\x20Lex:\x20%s','AWS_LEX_%s','Amazon\x20Lex\x20ready\x20for\x20fulfillment','amazonlex','Amazon\x20Lex\x20is\x20unreachable','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','no\x20key\x20configured','wav','%s/recordings/%s','beep','NOBEEP','recordFile','intKey','GOOGLE_ASR_%s','Enter\x20in\x20TILDEASR\x20(%s)\x20block','no\x20appsecret\x20configured','tilde\x20%s\x20file\x20created','TILDE_ASR_%s','TildeASR\x20Result\x20%s','gotoc','Enter\x20in\x20GOTO\x20(%s)\x20block','extension','priority','gotoif','Enter\x20in\x20GOTOIF\x20(%s)\x20block','condition','no\x20condition\x20configured','false','gotoiftime','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','interval_id','no\x20interval\x20configured','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','true','ispeechasr','ISPEECH_ASR_%s','IspeechASR\x20Result\x20%s','Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block','Trying\x20ispeech\x20TTS\x20%s','ispeech\x20%s\x20file\x20created','ispeech\x20TTS\x20is\x20unreachable','Enter\x20in\x20LOGIN\x20(%s)\x20block','findBy','no\x20find\x20by\x20configured','FIND\x20AGENT\x20%s\x20BY\x20%s','AGENT\x20%s\x20FOUND\x20BY','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','logout','Enter\x20in\x20LOGOUT\x20(%s)\x20block','failure','math','Enter\x20in\x20MATH\x20(%s)\x20block','operation','no\x20operation\x20configured','math\x20%s','forEach','%s[%s]','variable\x20%s[key]\x20set','Enter\x20in\x20MENU\x20(%s)\x20block','digit','Enter\x20in\x20NOOP\x20(%s)\x20block','output','Enter\x20in\x20PAUSE\x20(%s)\x20block','playback','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','PLAYBACK','Executed\x20command\x20%s\x20%s','queue','Enter\x20in\x20QUEUE\x20(%s)\x20block','queue_id','no\x20queue\x20selected','getVoiceQueue','indexOf','XMCS-QUEUE','macro','gosub','position','record','Enter\x20in\x20RECORD\x20(%s)\x20block','%s_%s','%s/recordings/%s.%s','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','Enter\x20in\x20RESTAPI\x20(%s)\x20block','no\x20url\x20configured','Response:','inspect','no\x20variable\x20selected\x20for\x20the\x20response','%s_STATUS_CODE','statusCode','statusMessage','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','digits','saynumber','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','sayPhonetic','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','account_id','no\x20mail\x20account\x20configured','getMailAccount','Smtp','no\x20mail\x20account\x20found','\x22%s\x22\x20<%s>','email','user','bcc','service','host','port','secure','authentication','pass','template_id','sendMail\x20message','Trying\x20SendMail\x20with\x20account\x20%s','sendMailMessage','sendFax','sendSMS','Enter\x20in\x20SENDSMS\x20(%s)\x20block','sms_account_id','no\x20sms\x20account\x20configured','no\x20sms\x20account\x20found','sms_text','debug','sendSMS\x20message','Trying\x20SendSMS\x20with\x20account\x20%s','Sms\x20message\x20added\x20to\x20outgoing\x20process','set','Enter\x20in\x20SET\x20(%s)\x20block','no\x20variable\x20selected','variable_value','Enter\x20in\x20START\x20(%s)\x20block','START\x20CALLY\x20SQUARE','yes','Answer','Skipped\x20Answer','subproject','Enter\x20in\x20SUBPROJECT\x20(%s)\x20block','no\x20subproject\x20selected','project_id','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','AGI','agi://%s/square,\x22%s\x22,\x22%s\x22','127.0.0.1','sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s','google_cloud_tts','Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block','no\x20apiKey\x20configured','Trying\x20Google\x20Cloud\x20TTS\x20%s','Google\x20Cloud\x20TTS\x20is\x20unreachable','tts'];(function(_0x52e33c,_0xe10046){var _0x450503=function(_0x4436c9){while(--_0x4436c9){_0x52e33c['push'](_0x52e33c['shift']());}};_0x450503(++_0xe10046);}(_0x4ccb,0x1db));var _0xb4cc=function(_0x42e1e4,_0x355e50){_0x42e1e4=_0x42e1e4-0x0;var _0x357b9c=_0x4ccb[_0x42e1e4];return _0x357b9c;};'use strict';var fs=require('fs');var path=require(_0xb4cc('0x0'));var util=require(_0xb4cc('0x1'));var _=require(_0xb4cc('0x2'));var sh=require(_0xb4cc('0x3'));var odbc=require(_0xb4cc('0x4'))();var rs=require(_0xb4cc('0x5'));var moment=require(_0xb4cc('0x6'));var Mustache=require(_0xb4cc('0x7'));var rp=require(_0xb4cc('0x8'));var logger=require(_0xb4cc('0x9'))(_0xb4cc('0xa'));var config=require(_0xb4cc('0xb'));var scripts=require('./scripts');var FILES_PATH=_0xb4cc('0xc');var recursiveMapAttributes=[_0xb4cc('0xd'),_0xb4cc('0xe')];var verticesWithRetry=[_0xb4cc('0xf'),_0xb4cc('0x10'),_0xb4cc('0x11')];var AGIVertices=function(_0x5391c6,_0x46b79f,_0x69cb8c){this[_0xb4cc('0x12')]=_0x5391c6;this['rpc']=_0x46b79f;this['mailRpc']=_0x69cb8c;};AGIVertices['prototype'][_0xb4cc('0x13')]=function(_0x1cffdc,_0xfcbede){this[_0xb4cc('0x14')][_0xb4cc('0x15')](_0x1cffdc)['then'](function(_0x15f7ba){_0xfcbede(null,_0x15f7ba?_0x15f7ba[_0xb4cc('0x16')]:![]);})[_0xb4cc('0x17')](function(_0x7c6c15){_0xfcbede(_0x7c6c15);});};AGIVertices['prototype']['getVoiceQueue']=function(_0x484146,_0x444c93){this[_0xb4cc('0x14')][_0xb4cc('0x18')](_0x484146)[_0xb4cc('0x19')](function(_0xb2acbd){_0x444c93(null,_0xb2acbd?_0xb2acbd[_0xb4cc('0x16')]:![]);})[_0xb4cc('0x17')](function(_0x43321f){_0x444c93(_0x43321f);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x1b')]=function(_0x391e61,_0x25c366){this['rpc'][_0xb4cc('0x1c')](_0x391e61)[_0xb4cc('0x19')](function(_0x20215a){_0x25c366(null,_0x20215a?_0x20215a['name']:![]);})[_0xb4cc('0x17')](function(_0x4a7294){_0x25c366(_0x4a7294);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x1d')]=function(_0x1f910f,_0x25cf66){this[_0xb4cc('0x14')][_0xb4cc('0x1e')](_0x1f910f)['then'](function(_0x18ea1c){_0x25cf66(null,_0x18ea1c?_0x18ea1c[_0xb4cc('0x1f')]:![]);})[_0xb4cc('0x17')](function(_0x19c570){_0x25cf66(_0x19c570);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x20')]=function(_0x3e7a9d,_0x2de528){this['rpc'][_0xb4cc('0x21')](_0x3e7a9d)[_0xb4cc('0x19')](function(_0x3ef865){_0x2de528(null,_0x3ef865?_0x3ef865[_0xb4cc('0x16')]:![]);})['catch'](function(_0x207065){_0x2de528(_0x207065);});};AGIVertices['prototype']['getTrunk']=function(_0x43c912,_0x165647){this[_0xb4cc('0x14')][_0xb4cc('0x22')](_0x43c912)[_0xb4cc('0x19')](function(_0x37843d){_0x165647(null,_0x37843d?_0x37843d[_0xb4cc('0x16')]:![]);})[_0xb4cc('0x17')](function(_0x3d37da){_0x165647(_0x3d37da);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x23')]=function(_0x3fe4b0,_0x3099fb){var _0x4dc35e=this;this['rpc']['getSoundById'](_0x3fe4b0)[_0xb4cc('0x19')](function(_0x43c64d){_0x3099fb(null,_0x43c64d?_0x4dc35e[_0xb4cc('0x24')](_0x43c64d[_0xb4cc('0x25')]):![]);})[_0xb4cc('0x17')](function(_0x7a53b7){_0x3099fb(_0x7a53b7);});};AGIVertices['prototype']['getMailAccount']=function(_0x5dccd1,_0x80ef6c){this['rpc'][_0xb4cc('0x26')](_0x5dccd1)[_0xb4cc('0x19')](function(_0xafc32b){_0x80ef6c(null,_0xafc32b?_0xafc32b:![]);})[_0xb4cc('0x17')](function(_0x5545a2){_0x80ef6c(_0x5545a2);});};AGIVertices[_0xb4cc('0x1a')]['sendMailMessage']=function(_0x406b20,_0x46a7e7,_0xae7b85){this[_0xb4cc('0x27')]['sendMailMessage'](_0x406b20,_0x46a7e7)[_0xb4cc('0x19')](function(){_0xae7b85(null);})[_0xb4cc('0x17')](function(_0x318505){_0xae7b85(_0x318505);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x28')]=function(_0x3ed095,_0x27e231){this[_0xb4cc('0x14')][_0xb4cc('0x29')](_0x3ed095)[_0xb4cc('0x19')](function(_0x3b65ec){if(_0x3b65ec){if(_0x3b65ec['IntervalId']){_0x27e231(null,[_0x3b65ec[_0xb4cc('0x2a')]]);}else{_0x27e231(null,_[_0xb4cc('0x2b')](_0x3b65ec[_0xb4cc('0x2c')],'interval'));}}else{_0x27e231(null,![]);}})[_0xb4cc('0x17')](function(_0x5cb8fb){_0x27e231(_0x5cb8fb);});};AGIVertices['prototype'][_0xb4cc('0x24')]=function(_0x2186e8){return util[_0xb4cc('0x2d')]('%s/sounds/converted/%s',FILES_PATH,_0x2186e8);};AGIVertices['prototype'][_0xb4cc('0x2e')]=function(_0x45d674,_0x5ac5c5,_0x245ac5){odbc[_0xb4cc('0x2f')](_0x45d674,function(_0x3fa216){if(_0x3fa216){logger[_0xb4cc('0x30')](_0xb4cc('0x31'),_0x3fa216);_0x245ac5(_0x3fa216);}else{logger[_0xb4cc('0x32')](_0xb4cc('0x33'));odbc[_0xb4cc('0x34')](_0x5ac5c5,function(_0xfeb423,_0x58bccf){if(_0xfeb423){logger[_0xb4cc('0x32')](_0xb4cc('0x35'),_0x5ac5c5);_0x245ac5(_0xfeb423);}else{logger[_0xb4cc('0x32')](_0xb4cc('0x36'),_0x5ac5c5);odbc[_0xb4cc('0x37')](function(_0x1cdb21){if(_0x1cdb21){logger['error'](_0xb4cc('0x38'),_0x1cdb21);}_0x245ac5(null,_0x58bccf);});}});}});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x39')]=function(_0x2a4b06,_0x2fad49){this[_0xb4cc('0x14')]['getSmsAccountById'](_0x2a4b06)[_0xb4cc('0x19')](function(_0x3d44ff){_0x2fad49(null,_0x3d44ff?_0x3d44ff:![]);})[_0xb4cc('0x17')](function(_0x57609c){_0x2fad49(_0x57609c);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x3a')]=function(_0x36f7a6,_0x2b3001){this[_0xb4cc('0x14')]['createSmsMessage'](_0x36f7a6)['then'](function(_0x8e9a95){_0x2b3001(null,_0x8e9a95);})[_0xb4cc('0x17')](function(_0x2e4d58){_0x2b3001(_0x2e4d58);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x3b')]=function(_0x42fb4e,_0x57785c,_0xbb95a0){this['rpc'][_0xb4cc('0x3b')]({'uniqueid':this[_0xb4cc('0x12')][_0xb4cc('0x3c')],'node':_0x42fb4e[_0xb4cc('0x3d')],'application':_0x42fb4e['agicommand'],'data':_0x57785c||null,'project_name':this['channel'][_0xb4cc('0x3e')],'callerid':this['channel']['callerid']})[_0xb4cc('0x19')](function(_0x4a2cbf){if(_0xbb95a0){_0xbb95a0(null,_0x4a2cbf);}})[_0xb4cc('0x17')](function(_0x1147ed){if(_0xbb95a0){_0xbb95a0(_0x1147ed);}});};AGIVertices[_0xb4cc('0x1a')]['createSquareRecording']=function(_0x3b0255,_0x3238f4,_0x5226f1,_0x45f954){this[_0xb4cc('0x14')][_0xb4cc('0x3f')]({'uniqueid':this['channel']['uniqueid'],'callerid':this['channel'][_0xb4cc('0x40')],'calleridname':this[_0xb4cc('0x12')][_0xb4cc('0x41')],'context':this[_0xb4cc('0x12')][_0xb4cc('0x42')],'extension':this[_0xb4cc('0x12')]['extension'],'priority':this[_0xb4cc('0x12')]['priority'],'accountcode':this[_0xb4cc('0x12')][_0xb4cc('0x43')],'dnid':this[_0xb4cc('0x12')][_0xb4cc('0x44')],'projectName':this[_0xb4cc('0x12')][_0xb4cc('0x3e')],'saveName':_0x3238f4,'filename':_0x3b0255[_0xb4cc('0x45')]||_0x3238f4,'savePath':_0x5226f1})[_0xb4cc('0x19')](function(_0x54bf3d){_0x45f954(null,_0x54bf3d);})[_0xb4cc('0x17')](function(_0x381d5c){_0x45f954(_0x381d5c);});};AGIVertices[_0xb4cc('0x1a')]['createSquareMessage']=function(_0xdd649,_0x3b3955,_0x7cb826,_0x4a027e,_0x3d4710){this[_0xb4cc('0x14')][_0xb4cc('0x46')]({'uniqueid':this[_0xb4cc('0x12')][_0xb4cc('0x3c')],'body':_0xdd649,'direction':_0x3b3955,'providerName':_0x7cb826,'providerResponse':_0x4a027e})[_0xb4cc('0x19')](function(_0x2fdf00){if(_0x3d4710){_0x3d4710(null,_0x2fdf00);}})[_0xb4cc('0x17')](function(_0x1e7b71){if(_0x3d4710){_0x3d4710(_0x1e7b71);}});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x47')]=function(_0x2325b8,_0x36afe5){this[_0xb4cc('0x14')][_0xb4cc('0x47')]({'firstName':_[_0xb4cc('0x48')](_0x2325b8[_0xb4cc('0x16')])||_[_0xb4cc('0x49')](_0x2325b8['name'])?_0xb4cc('0x4a')+Math[_0xb4cc('0x4b')]():_0x2325b8[_0xb4cc('0x16')],'lastName':_['isEmpty'](_0x2325b8[_0xb4cc('0x4c')])||_[_0xb4cc('0x49')](_0x2325b8[_0xb4cc('0x4c')])?null:_0x2325b8[_0xb4cc('0x4c')],'phone':_0x2325b8[_0xb4cc('0x4d')],'ListId':_0x2325b8[_0xb4cc('0x4e')],'scheduledat':_0x2325b8[_0xb4cc('0x4f')],'callbackUniqueid':this[_0xb4cc('0x12')][_0xb4cc('0x3c')],'tags':_0xb4cc('0x50'),'description':_0xb4cc('0x51')+_0x2325b8[_0xb4cc('0x4f')]['toString'](),'priority':_0x2325b8[_0xb4cc('0x52')]})[_0xb4cc('0x19')](function(_0x1b1a68){_0x36afe5(null,_0x1b1a68);})['catch'](function(_0x9e5195){_0x36afe5(_0x9e5195);});};AGIVertices['prototype']['getPause']=function(_0x397016,_0x32fb8f){this[_0xb4cc('0x14')][_0xb4cc('0x53')](_0x397016)[_0xb4cc('0x19')](function(_0x10b1b7){_0x32fb8f(null,_0x10b1b7?_0x10b1b7['name']:![]);})[_0xb4cc('0x17')](function(_0x1f675f){_0x32fb8f(_0x1f675f);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x54')]=function(_0x488a7d,_0x27894c,_0x314fd7){var _0x4d8e82={'role':'agent'};_0x4d8e82[_0x488a7d]=this[_0xb4cc('0x12')]['callerid'];this['rpc'][_0xb4cc('0x54')](_0x4d8e82,_0x27894c,this[_0xb4cc('0x12')][_0xb4cc('0x3c')])[_0xb4cc('0x19')](function(_0xd127a4){_0x314fd7(null,_['isNil'](_0xd127a4)?![]:!![]);})[_0xb4cc('0x17')](function(_0x37e4f8){logger[_0xb4cc('0x30')](_0x37e4f8);_0x314fd7(null,![]);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x55')]=function(_0x2ab564,_0x2413e3){var _0x2bf24b={'role':_0xb4cc('0x56')};_0x2bf24b[_0x2ab564]=this[_0xb4cc('0x12')]['callerid'];this['rpc']['agentUnpause'](_0x2bf24b)['then'](function(_0x19e7fc){_0x2413e3(null,_['isNil'](_0x19e7fc)?![]:!![]);})['catch'](function(_0x64fee3){logger[_0xb4cc('0x30')](_0x64fee3);_0x2413e3(null,![]);});};AGIVertices[_0xb4cc('0x1a')]['agentLogout']=function(_0x5ca3b5,_0x388065){var _0x502f32={'role':'agent'};_0x502f32[_0x5ca3b5]=this['channel'][_0xb4cc('0x40')];this[_0xb4cc('0x14')][_0xb4cc('0x57')](_0x502f32)[_0xb4cc('0x19')](function(_0x29e91b){_0x388065(null,_[_0xb4cc('0x49')](_0x29e91b)?![]:!![]);})[_0xb4cc('0x17')](function(_0xbe2dd9){logger[_0xb4cc('0x30')](_0xbe2dd9);_0x388065(null,![]);});};AGIVertices[_0xb4cc('0x1a')]['agentLogin']=function(_0x47291f,_0x4449ca){var _0x397858={'role':_0xb4cc('0x56')};_0x397858[_0x47291f]=this[_0xb4cc('0x12')][_0xb4cc('0x40')];var _0x6fa25f=_0x47291f!=_0xb4cc('0x58')?util[_0xb4cc('0x2d')](_0xb4cc('0x59'),'LOCAL',this[_0xb4cc('0x12')]['callerid']):undefined;this[_0xb4cc('0x14')][_0xb4cc('0x5a')](_0x397858,_0x6fa25f)[_0xb4cc('0x19')](function(_0x6d0d17){_0x4449ca(null,_[_0xb4cc('0x49')](_0x6d0d17)?![]:!![]);})[_0xb4cc('0x17')](function(_0x5270ed){logger['error'](_0x5270ed);_0x4449ca(null,![]);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x5b')]=function(_0x11a530,_0x1deddf){sh[_0xb4cc('0x5c')](_[_0xb4cc('0x5d')](_0x11a530),function(_0x18b473,_0x1c22eb){var _0x3d3732=_0x1c22eb[_0xb4cc('0x5e')](/(\r\n|\n|\r)/gm,'');_0x1deddf(null,_0x3d3732);});};AGIVertices[_0xb4cc('0x1a')]['googleCloudTTS']=function(_0x3b9634,_0x19bb43){scripts[_0xb4cc('0x5f')](_0x3b9634[_0xb4cc('0x60')],_0x3b9634[_0xb4cc('0x61')]||'text',_0x3b9634[_0xb4cc('0x62')],_0x3b9634[_0xb4cc('0x63')]||_0xb4cc('0x64'),_0x3b9634[_0xb4cc('0x65')]||_0xb4cc('0x66'),_0x3b9634['audioEncoding']||_0xb4cc('0x67'))[_0xb4cc('0x19')](function(_0x5e2ccd){_0x19bb43(null,_0x5e2ccd);})[_0xb4cc('0x17')](function(_0x57a980){_0x19bb43(_0x57a980);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x68')]=function(_0x2e5577,_0x6e49e){scripts['googleTTS'](_0x2e5577[_0xb4cc('0x62')],_0x2e5577[_0xb4cc('0x69')]||'en',0x1)[_0xb4cc('0x19')](function(_0x4c5390){_0x6e49e(null,_0x4c5390);})[_0xb4cc('0x17')](function(_0x47a10b){_0x6e49e(_0x47a10b);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x6a')]=function(_0x580b53,_0xe8cb6b){var _0x5f2098={'uri':_0x580b53[_0xb4cc('0x6b')],'method':_0x580b53[_0xb4cc('0x6c')],'json':!![],'resolveWithFullResponse':!![],'timeout':typeof parseInt(_0x580b53[_0xb4cc('0x6d')])===_0xb4cc('0x6e')&&parseInt(_0x580b53[_0xb4cc('0x6d')])>=0x1?parseInt(_0x580b53['timeout'])*0x3e8:0x5*0x3e8};if(_[_0xb4cc('0x6f')]([_0xb4cc('0x70'),_0xb4cc('0x71')],_0x5f2098[_0xb4cc('0x6c')]['toUpperCase']())){try{_0x5f2098[_0xb4cc('0x72')]=_0x580b53[_0xb4cc('0xe')]?JSON[_0xb4cc('0x73')](_0x580b53['rawBody']):{};}catch(_0x6df534){logger[_0xb4cc('0x30')](_0xb4cc('0x74'),_0x6df534);}}try{_0x5f2098[_0xb4cc('0x75')]=_0x580b53['rawHeaders']?JSON[_0xb4cc('0x73')](_0x580b53[_0xb4cc('0xd')]):{};}catch(_0x7a7898){logger[_0xb4cc('0x30')]('An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function',_0x7a7898);}if(_0x580b53[_0xb4cc('0x76')]){try{var _0x478810=require(_0x580b53[_0xb4cc('0x76')])[_0xb4cc('0x77')](this,_0x5f2098);_0x5f2098[_0xb4cc('0x78')]=Mustache['render'](_0x580b53[_0xb4cc('0x6b')],_0x478810,{},['$$','$$']);if(_0x5f2098['headers']){_0x5f2098[_0xb4cc('0x75')]=JSON['parse'](Mustache['render'](JSON[_0xb4cc('0x79')](_0x5f2098['headers']),_0x478810,{},['$$','$$']));}if(_0x5f2098['body']){_0x5f2098[_0xb4cc('0x72')]=JSON[_0xb4cc('0x73')](Mustache['render'](JSON[_0xb4cc('0x79')](_0x5f2098[_0xb4cc('0x72')]),_0x478810,{},['$$','$$']));}}catch(_0x1c31e0){logger[_0xb4cc('0x30')]('An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function',_0x1c31e0);}}rp(_0x5f2098)[_0xb4cc('0x19')](function(_0x26951c){var _0x58d54d={'statusCode':_0x26951c['statusCode']||0xc8,'statusMessage':_0x26951c['statusMessage']||'OK','headers':_0x26951c['headers']||{},'body':_0x26951c[_0xb4cc('0x72')]||{}};_0xe8cb6b(null,_0x58d54d);})[_0xb4cc('0x17')](function(_0x57e083){var _0x38393b={'statusCode':_0x57e083['statusCode']||0x1f4,'statusMessage':_0x57e083[_0xb4cc('0x7a')]||_0xb4cc('0x7b'),'headers':_0x57e083[_0xb4cc('0x7c')]['headers']||{},'body':_0x57e083['options'][_0xb4cc('0x72')]||{}};_0xe8cb6b(null,_0x38393b);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x7d')]=function(_0xcf98b8,_0x453d85){scripts[_0xb4cc('0x7d')](this[_0xb4cc('0x12')][_0xb4cc('0x3c')],_0xcf98b8[_0xb4cc('0x7e')],_0xcf98b8[_0xb4cc('0x62')],_0xcf98b8[_0xb4cc('0x7f')]||'en')['then'](function(_0x5da19f){_0x453d85(null,_0x5da19f);})[_0xb4cc('0x17')](function(_0x15584d){_0x453d85(_0x15584d);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x80')]=function(_0xfcad46,_0x4c02ec){scripts[_0xb4cc('0x80')](this[_0xb4cc('0x12')][_0xb4cc('0x3c')],_0xfcad46[_0xb4cc('0x81')],_0xfcad46[_0xb4cc('0x82')],_0xfcad46[_0xb4cc('0x83')],_0xfcad46['text'],_0xfcad46[_0xb4cc('0x84')]||'en')['then'](function(_0xc24ac0){_0x4c02ec(null,_0xc24ac0);})[_0xb4cc('0x17')](function(_0x328523){_0x4c02ec(_0x328523);});};AGIVertices[_0xb4cc('0x1a')]['sestekNDA']=function(_0x58cedb,_0x550ec7){scripts[_0xb4cc('0x85')](this[_0xb4cc('0x12')],_0x58cedb)[_0xb4cc('0x19')](function(_0x23bd43){_0x550ec7(null,_0x23bd43);})[_0xb4cc('0x17')](function(_0x56648a){_0x550ec7(_0x56648a);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x86')]=function(_0x3ef327,_0x29bb5f){scripts[_0xb4cc('0x86')](_0x3ef327['key'],_0x3ef327[_0xb4cc('0x62')],_0x3ef327[_0xb4cc('0x87')]||_0xb4cc('0x64'),_0x3ef327[_0xb4cc('0x88')])[_0xb4cc('0x19')](function(_0x52e932){_0x29bb5f(null,_0x52e932);})[_0xb4cc('0x17')](function(_0x277006){_0x29bb5f(_0x277006);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x89')]=function(_0xdd199e,_0x7aac74,_0x3d9efe){scripts[_0xb4cc('0x89')](_0x7aac74,_0xdd199e[_0xb4cc('0x7e')],_0xdd199e[_0xb4cc('0x8a')]||_0xb4cc('0x64'),this[_0xb4cc('0x8b')](_0xdd199e[_0xb4cc('0x8c')])?_0xdd199e[_0xb4cc('0x8c')]:undefined)[_0xb4cc('0x19')](function(_0x3c9264){_0x3d9efe(null,_0x3c9264);})[_0xb4cc('0x17')](function(_0x1a3ec4){_0x3d9efe(_0x1a3ec4);});};AGIVertices['prototype']['awsPolly']=function(_0x31fc3d,_0x4a730b){scripts[_0xb4cc('0x8d')](_0x31fc3d[_0xb4cc('0x8e')],_0x31fc3d[_0xb4cc('0x8f')],_0x31fc3d['aws_polly_region'],_0x31fc3d['aws_polly_voice']||'Amy',_0x31fc3d[_0xb4cc('0x62')],_0x31fc3d[_0xb4cc('0x90')]||_0xb4cc('0x62'))[_0xb4cc('0x19')](function(_0x413011){_0x4a730b(null,_0x413011);})[_0xb4cc('0x17')](function(_0x2cb400){_0x4a730b(_0x2cb400);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x91')]=function(_0xe38028,_0x59b207){scripts[_0xb4cc('0x91')](this[_0xb4cc('0x12')][_0xb4cc('0x3c')],_0xe38028['aws_access_key_id'],_0xe38028[_0xb4cc('0x8f')],_0xe38028[_0xb4cc('0x92')],_0xe38028[_0xb4cc('0x62')],_0xe38028[_0xb4cc('0x93')])[_0xb4cc('0x19')](function(_0x5a1eed){_0x59b207(null,_0x5a1eed);})[_0xb4cc('0x17')](function(_0x4a710e){_0x59b207(_0x4a710e);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x94')]=function(_0x1c6e25,_0x1749dc,_0x5d9095){scripts[_0xb4cc('0x94')](_0x1749dc,_0x1c6e25[_0xb4cc('0x7e')],_0x1c6e25[_0xb4cc('0x95')]||_0xb4cc('0x64'))[_0xb4cc('0x19')](function(_0xd631e){_0x5d9095(null,_0xd631e);})[_0xb4cc('0x17')](function(_0x471568){_0x5d9095(_0x471568);});};AGIVertices[_0xb4cc('0x1a')]['tildeASR']=function(_0x56a92c,_0x3c7d8b,_0x146d03){scripts[_0xb4cc('0x96')](_0x3c7d8b,_0x56a92c['appid'],_0x56a92c[_0xb4cc('0x97')],_0x56a92c['uri'])[_0xb4cc('0x19')](function(_0x2aa368){_0x146d03(null,_0x2aa368);})[_0xb4cc('0x17')](function(_0x4e663c){_0x146d03(_0x4e663c);});};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x98')]=function(_0x24fd8f){var _0x1707eb=_['includes'](verticesWithRetry,_0x24fd8f[_0xb4cc('0x99')])?_0x24fd8f:_[_0xb4cc('0x9a')](_0x24fd8f);for(var _0x3756bf in _0x1707eb){if(_0x1707eb[_0xb4cc('0x9b')](_0x3756bf)){if(_0x1707eb[_0x3756bf]&&_['isString'](_0x1707eb[_0x3756bf])){if(_[_0xb4cc('0x6f')](recursiveMapAttributes,_0x3756bf)){_0x1707eb[_0x3756bf]=this[_0xb4cc('0x9c')](_0x1707eb[_0x3756bf]);}else{_0x1707eb[_0x3756bf]=this[_0xb4cc('0x9d')](_0x1707eb[_0x3756bf]);}}}}return _0x1707eb;};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x9e')]=function(_0x28f685){for(var _0x2e3a43 in _0x28f685){if(_0x28f685[_0xb4cc('0x9b')](_0x2e3a43)){if(_[_0xb4cc('0x9f')](_0x28f685[_0x2e3a43])){this['recursiveNodeIndex'](_0x28f685[_0x2e3a43]);}else if(_[_0xb4cc('0xa0')](_0x28f685[_0x2e3a43])){for(var _0xcf4291=0x0;_0xcf4291<_0x28f685[_0x2e3a43][_0xb4cc('0xa1')];_0xcf4291++){this[_0xb4cc('0x9e')](_0x28f685[_0x2e3a43][_0xcf4291]);}}else if(_[_0xb4cc('0xa2')](_0x28f685[_0x2e3a43])){_0x28f685[_0x2e3a43]=this['replaceAllVariables'](_0x28f685[_0x2e3a43]);}}}};AGIVertices['prototype'][_0xb4cc('0xa3')]=function(_0x16842e,_0x4bfbb8){for(var _0x11ae75 in _0x16842e){if(_0x16842e[_0xb4cc('0x9b')](_0x11ae75)){if(_[_0xb4cc('0x9f')](_0x16842e[_0x11ae75])){if(!_[_0xb4cc('0x48')](_0x16842e[_0x11ae75])){this['saveRestApiResult'](_0x16842e[_0x11ae75],util[_0xb4cc('0x2d')](_0xb4cc('0xa4'),_0x4bfbb8,_0x11ae75));}}else if(_[_0xb4cc('0xa0')](_0x16842e[_0x11ae75])){for(var _0x44c223=0x0;_0x44c223<_0x16842e[_0x11ae75][_0xb4cc('0xa1')];_0x44c223++){this[_0xb4cc('0xa3')](_0x16842e[_0x11ae75][_0x44c223],util[_0xb4cc('0x2d')](_0xb4cc('0xa4'),_0x4bfbb8,_0x11ae75+'['+_0x44c223+']'));}}else{if(!_['isNil'](_0x16842e[_0x11ae75])){this[_0xb4cc('0x12')]['setVariable'](util[_0xb4cc('0x2d')]('%s.%s',_0x4bfbb8,_0x11ae75),_0x16842e[_0x11ae75]);}}}}};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x9c')]=function(_0x2ea107){try{var _0x25ad5e=JSON['parse'](_0x2ea107);this[_0xb4cc('0x9e')](_0x25ad5e);return JSON[_0xb4cc('0x79')](_0x25ad5e);}catch(_0x48c0e6){return this[_0xb4cc('0x9d')](_0x2ea107);}};AGIVertices['prototype']['replaceAllVariables']=function(_0x1e25dc){var _0x1b031d=_0x1e25dc[_0xb4cc('0xa5')]('{');for(var _0x23b1fc=0x1;_0x23b1fc<_0x1b031d[_0xb4cc('0xa1')];_0x23b1fc+=0x1){var _0xefcc8d=_0x1b031d[_0x23b1fc][_0xb4cc('0xa5')]('}');if(_0xefcc8d[_0xb4cc('0xa1')]>0x1){_0x1e25dc=_0x1e25dc['replaceAll']('{'+_0xefcc8d[0x0]+'}',this[_0xb4cc('0x12')]['getVariable'](_0xefcc8d[0x0])['extra']||_0xefcc8d[0x0]);}}if(_0x1b031d[_0xb4cc('0xa1')]===0x1){return _0x1e25dc['toString']();}return this[_0xb4cc('0x9d')](_0x1e25dc);};AGIVertices[_0xb4cc('0x1a')]['getAndSetVariable']=function(_0x2814d2,_0x325703){var _0x402902=this[_0xb4cc('0x12')]['getVariable'](_0x2814d2);if(_0x402902['result']===-0x1){return _0x402902;}logger['info'](util[_0xb4cc('0x2d')](_0xb4cc('0xa6'),_0x325703,_0x402902['extra']));return this[_0xb4cc('0x12')]['setVariable'](_0x325703,_0x402902[_0xb4cc('0xa7')]);};AGIVertices[_0xb4cc('0x1a')]['isConfigured']=function(_0x204f30){return _0x204f30&&_0x204f30!=='0'&&_0x204f30!=='-1'&&_0x204f30!=='';};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0xa8')]=function(_0x3486de){this['createSquareDetailsReport'][_0xb4cc('0x77')](this,_0x3486de,'-');_0x3486de['retry']=_0x3486de['maxRetry'];return{'code':0xc8,'result':'-'};};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0xa9')]=function(_0x396ebf){logger['info'](util[_0xb4cc('0x2d')](_0xb4cc('0xaa'),_0x396ebf['label']));if(!this[_0xb4cc('0x8b')](_0x396ebf['text'])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0xac'));}var _0x171fdb='\x22'+_0x396ebf[_0xb4cc('0x62')]+'\x22';if(this[_0xb4cc('0x8b')](_0x396ebf['options'])){_0x171fdb+=','+_0x396ebf['options'];}var _0x308ae6=this['channel'][_0xb4cc('0x5c')](_0xb4cc('0xad'),_0x171fdb);if(_0x308ae6[_0xb4cc('0xae')]===-0x1){return _0x308ae6;}return this['channel'][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0xaf'),_0x171fdb));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0xb0')]=function(_0x257ad4){logger['info'](util[_0xb4cc('0x2d')](_0xb4cc('0xb1'),_0x257ad4[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x257ad4[_0xb4cc('0xb2')])){return this['channel'][_0xb4cc('0xab')](_0xb4cc('0xb3'));}var _0x25bbb7=_0x257ad4['grammar'];if(this['isConfigured'](_0x257ad4[_0xb4cc('0x7c')])){_0x25bbb7+=','+_0x257ad4['options'];}var _0x452771=this['channel'][_0xb4cc('0x5c')]('MRCPRecog',_0x25bbb7);if(_0x452771['result']===-0x1){return _0x452771;}var _0x326227=this[_0xb4cc('0xb4')](_0xb4cc('0xb5'),'MRCP_RECOG_CONFIDENCE');if(_0x326227[_0xb4cc('0xae')]===-0x1){return _0x326227;}var _0x5aece1=this[_0xb4cc('0xb4')]('RECOG_INPUT()',_0xb4cc('0xb6'));if(_0x5aece1[_0xb4cc('0xae')]===-0x1){return _0x5aece1;}var _0x26390c=this[_0xb4cc('0xb4')](_0xb4cc('0xb7'),_0xb4cc('0xb8'));if(_0x26390c[_0xb4cc('0xae')]===-0x1){return _0x26390c;}return this['channel']['noop'](util[_0xb4cc('0x2d')](_0xb4cc('0xb9'),_0x25bbb7));};AGIVertices[_0xb4cc('0x1a')]['agi']=function(_0xff4575){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0xba'),_0xff4575['label']));return this[_0xb4cc('0x12')]['agi']([_0xff4575[_0xb4cc('0xbb')],_0xff4575[_0xb4cc('0xbc')]]);};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0xbd')]=function(_0x41449b){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')]('Enter\x20in\x20ANSWER\x20(%s)\x20block',_0x41449b[_0xb4cc('0x3d')]));if(this[_0xb4cc('0x8b')](_0x41449b['timeout'])){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0xbe'),_0x41449b[_0xb4cc('0x6d')]));var _0x1f4044=this['channel'][_0xb4cc('0xbf')](_0x41449b[_0xb4cc('0x6d')]);if(_0x1f4044[_0xb4cc('0xae')]===-0x1){return _0x1f4044;}}return this['channel'][_0xb4cc('0xbd')]();};AGIVertices[_0xb4cc('0x1a')]['callback']=function(_0x71b110){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0xc0'),_0x71b110[_0xb4cc('0x3d')]));if(!this['isConfigured'](_0x71b110[_0xb4cc('0x4e')])){return this['channel'][_0xb4cc('0x30')](_0x71b110,_0xb4cc('0xc1'));}_0x71b110[_0xb4cc('0x4f')]=moment();if(this[_0xb4cc('0x8b')](_0x71b110[_0xb4cc('0xc2')])){_0x71b110['scheduledAt']=moment()[_0xb4cc('0xc3')](_0x71b110['delay'],_0xb4cc('0xc4'));}if(!this[_0xb4cc('0x8b')](_0x71b110['callback_priority'])){_0x71b110[_0xb4cc('0x52')]=0x2;}this[_0xb4cc('0x47')][_0xb4cc('0x77')](this,_0x71b110);return this[_0xb4cc('0x12')]['noop'](util[_0xb4cc('0x2d')](_0xb4cc('0xc5'),_0x71b110['phone'],_0x71b110['list_id'],_0x71b110[_0xb4cc('0x4f')]));};AGIVertices[_0xb4cc('0x1a')]['custom_app']=function(_0x1c80f8){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')]('Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block',_0x1c80f8[_0xb4cc('0x3d')]));var _0x2aff3a=this['channel'][_0xb4cc('0x5c')](_0x1c80f8['application'],_0x1c80f8[_0xb4cc('0x7c')]);if(_0x2aff3a[_0xb4cc('0xae')]===-0x1){return _0x2aff3a;}return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util['format']('Executed\x20command\x20%s\x20%s',_0x1c80f8['application'],_0x1c80f8[_0xb4cc('0x7c')]));};AGIVertices['prototype'][_0xb4cc('0xc6')]=function(_0x16a76b){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0xc7'),_0x16a76b[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x16a76b['text'])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0xac'));}var _0x2a593b='\x22'+_0x16a76b[_0xb4cc('0x62')]+'\x22';if(this[_0xb4cc('0x8b')](_0x16a76b[_0xb4cc('0x7c')])){_0x2a593b+=','+_0x16a76b['options'];}var _0x11f02d=this[_0xb4cc('0x12')]['exec']('MRCPSynth',_0x2a593b);if(_0x11f02d[_0xb4cc('0xae')]===-0x1){return _0x11f02d;}return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0xaf'),_0x2a593b));};AGIVertices['prototype'][_0xb4cc('0xc8')]=function(_0x459672){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0xc9'),_0x459672[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x459672[_0xb4cc('0x62')])){return this['channel'][_0xb4cc('0xab')](_0xb4cc('0xac'));}var _0x502e3d='\x22'+_0x459672['text']+'\x22';if(this[_0xb4cc('0x8b')](_0x459672[_0xb4cc('0x7c')])){_0x502e3d+=','+_0x459672[_0xb4cc('0x7c')];}var _0x36345f=this[_0xb4cc('0x12')]['exec'](_0xb4cc('0xad'),_0x502e3d);if(_0x36345f[_0xb4cc('0xae')]===-0x1){return _0x36345f;}return this['channel'][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0xaf'),_0x502e3d));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0xca')]=function(_0x5edaab){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0xcb'),_0x5edaab[_0xb4cc('0x3d')]));if(!this['isConfigured'](_0x5edaab[_0xb4cc('0xb2')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0xb3'));}var _0x3040fc=_0x5edaab['grammar'];if(this[_0xb4cc('0x8b')](_0x5edaab[_0xb4cc('0x7c')])){_0x3040fc+=','+_0x5edaab[_0xb4cc('0x7c')];}var _0x5d5b9f=this[_0xb4cc('0x12')][_0xb4cc('0x5c')]('MRCPRecog',_0x3040fc);if(_0x5d5b9f['result']===-0x1){return _0x5d5b9f;}var _0xcd5d64=this[_0xb4cc('0xb4')](_0xb4cc('0xb5'),_0xb4cc('0xcc'));if(_0xcd5d64[_0xb4cc('0xae')]===-0x1){return _0xcd5d64;}var _0x27bfc8=this['getAndSetVariable'](_0xb4cc('0xcd'),_0xb4cc('0xce'));if(_0x27bfc8[_0xb4cc('0xae')]===-0x1){return _0x27bfc8;}var _0x315a71=this[_0xb4cc('0xb4')]('RECOG_INSTANCE()',_0xb4cc('0xcf'));if(_0x315a71[_0xb4cc('0xae')]===-0x1){return _0x315a71;}return this['channel']['noop'](util[_0xb4cc('0x2d')](_0xb4cc('0xb9'),_0x3040fc));};AGIVertices['prototype'][_0xb4cc('0xd0')]=function(_0x258e12){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0xd1'),_0x258e12[_0xb4cc('0x3d')]));if(!this['isConfigured'](_0x258e12[_0xb4cc('0xb2')])){return this['channel'][_0xb4cc('0xab')]('no\x20grammar\x20configured');}var _0x3ba399=_0x258e12[_0xb4cc('0xb2')];if(this['isConfigured'](_0x258e12['options'])){_0x3ba399+=','+_0x258e12[_0xb4cc('0x7c')];}var _0x1337d1=this['channel'][_0xb4cc('0x5c')](_0xb4cc('0xd2'),_0x3ba399);if(_0x1337d1[_0xb4cc('0xae')]===-0x1){return _0x1337d1;}var _0x1b1234=this[_0xb4cc('0xb4')](_0xb4cc('0xb5'),'SESTEK_ASR_CONFIDENCE');if(_0x1b1234[_0xb4cc('0xae')]===-0x1){return _0x1b1234;}var _0x38281b=this['getAndSetVariable'](_0xb4cc('0xcd'),_0xb4cc('0xd3'));if(_0x38281b[_0xb4cc('0xae')]===-0x1){return _0x38281b;}var _0x137f4b=this[_0xb4cc('0xb4')](_0xb4cc('0xb7'),'SESTEK_ASR_INSTANCE');if(_0x137f4b[_0xb4cc('0xae')]===-0x1){return _0x137f4b;}return this[_0xb4cc('0x12')]['noop'](util[_0xb4cc('0x2d')]('Executed\x20command\x20MRCPRecog\x20%s',_0x3ba399));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0xd4')]=function(_0x5340fd){logger['info'](util['format'](_0xb4cc('0xd5'),_0x5340fd[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x5340fd['odbc_id'])){return this[_0xb4cc('0x12')]['error'](_0x5340fd,_0xb4cc('0xd6'));}var _0x42826c=this[_0xb4cc('0x1d')][_0xb4cc('0x77')](this,_0x5340fd[_0xb4cc('0xd7')]);if(!_0x42826c){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x5340fd,'no\x20odbc\x20database\x20found');}if(!this[_0xb4cc('0x8b')](_0x5340fd[_0xb4cc('0x34')])){return this['channel'][_0xb4cc('0x30')](_0x5340fd,_0xb4cc('0xd8'));}var _0x10f751=_0x5340fd[_0xb4cc('0x34')][_0xb4cc('0x5e')](/(\r\n|\n|\r)/gm,'\x20');this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0xd9'),_0x10f751));var _0x530a26=this['getQueryOdbc'][_0xb4cc('0x77')](this,_0x42826c,_0x10f751);this['createSquareDetailsReport'][_0xb4cc('0x77')](this,_0x5340fd,_0x10f751);if(!this[_0xb4cc('0x8b')](_0x5340fd['variable_id'])){return this['channel'][_0xb4cc('0xab')](_0xb4cc('0xda'));}var _0x222437=this[_0xb4cc('0x13')][_0xb4cc('0x77')](this,_0x5340fd[_0xb4cc('0xdb')]);if(!_0x222437){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x5340fd,'no\x20variable\x20found');}var _0x2611cb=this;_0x530a26['forEach'](function(_0x2b9e0a,_0x4ac391){Object[_0xb4cc('0xdc')](_0x2b9e0a)['forEach'](function(_0x13058c){_0x2611cb[_0xb4cc('0x12')][_0xb4cc('0xdd')](util[_0xb4cc('0x2d')]('%s[%s][%s]',_0x222437,_0x4ac391,_0x13058c),_0x2b9e0a[_0x13058c]);});});this[_0xb4cc('0x12')][_0xb4cc('0xdd')](util[_0xb4cc('0x2d')](_0xb4cc('0xde'),_0x222437),_0x530a26['length']);return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util['format'](_0xb4cc('0xdf'),_0x222437));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0xe0')]=function(_0x149ce6){logger['debug'](util[_0xb4cc('0x2d')](_0xb4cc('0xe1'),_0x149ce6['label']));if(!this['isConfigured'](_0x149ce6[_0xb4cc('0xe2')])){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x149ce6,'no\x20user\x20selected');}var _0x85938=this['getUser'][_0xb4cc('0x77')](this,_0x149ce6['sip_id']);if(!_0x85938){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x149ce6,'no\x20user\x20found');}var _0x8ec29f=this[_0xb4cc('0x12')][_0xb4cc('0x5c')](_0xb4cc('0xe3'),[util[_0xb4cc('0x2d')]('SIP/%s',_0x85938),_0x149ce6[_0xb4cc('0x6d')],_0x149ce6[_0xb4cc('0xe4')],_0x149ce6[_0xb4cc('0x6b')]]);if(_0x8ec29f[_0xb4cc('0xae')]===-0x1){return _0x8ec29f;}return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')]('Executed\x20command\x20%s',_0xb4cc('0xe3')));};AGIVertices['prototype'][_0xb4cc('0xe5')]=function(_0x429d9c){logger[_0xb4cc('0x32')](util['format']('Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block',_0x429d9c[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x429d9c[_0xb4cc('0x7e')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')]('no\x20key\x20configured');}if(!this['isConfigured'](_0x429d9c[_0xb4cc('0x62')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0xac'));}this['channel']['bot']=!![];this[_0xb4cc('0x3b')](_0x429d9c);this['createSquareMessage'](_0x429d9c['text'],'in','','');this['channel'][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0xe6'),_0x429d9c['text']));var _0x5aa5dc=this[_0xb4cc('0x7d')][_0xb4cc('0x77')](this,_0x429d9c);if(_0x5aa5dc){for(var _0xeb19c5 in _0x5aa5dc){if(_0x5aa5dc[_0xb4cc('0x9b')](_0xeb19c5)){this[_0xb4cc('0x12')]['setVariable'](util[_0xb4cc('0x2d')](_0xb4cc('0xe7'),_0xeb19c5['toUpperCase']()),_0x5aa5dc[_0xeb19c5]);}}this['createSquareMessage'](_0x5aa5dc[_0xb4cc('0xe8')],_0xb4cc('0xe9'),'dialogflow','');return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util['format'](_0xb4cc('0xea'),_0x5aa5dc[_0xb4cc('0xe8')]));}return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x429d9c,_0xb4cc('0xeb'));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0xec')]=function(_0x12d9c6){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0xed'),_0x12d9c6[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x12d9c6['dialogflowV2_project_id'])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0xee'));}if(!this[_0xb4cc('0x8b')](_0x12d9c6[_0xb4cc('0x82')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')]('no\x20client_email\x20configured');}if(!this['isConfigured'](_0x12d9c6['private_key'])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')]('no\x20private_key\x20configured');}if(!this[_0xb4cc('0x8b')](_0x12d9c6['dialogflowV2_language'])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0xef'));}if(!this[_0xb4cc('0x8b')](_0x12d9c6[_0xb4cc('0x62')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0xac'));}this[_0xb4cc('0x12')][_0xb4cc('0xf0')]=!![];this[_0xb4cc('0x3b')](_0x12d9c6);this['createSquareMessage'](_0x12d9c6['text'],'in','','');this[_0xb4cc('0x12')]['noop'](util[_0xb4cc('0x2d')]('Trying\x20DialogflowV2:\x20%s',_0x12d9c6['text']));var _0x498330=this[_0xb4cc('0x80')][_0xb4cc('0x77')](this,_0x12d9c6);if(_0x498330){for(var _0xf45f85 in _0x498330){if(_0x498330[_0xb4cc('0x9b')](_0xf45f85)){if(_0xf45f85!==_0xb4cc('0xf1')){this[_0xb4cc('0x12')][_0xb4cc('0xdd')](util['format'](_0xb4cc('0xe7'),_0xf45f85[_0xb4cc('0xf2')]()),_0x498330[_0xf45f85]);}}}this['createSquareMessage'](_0x498330['speech'],_0xb4cc('0xe9'),'dialogflowV2',_0x498330[_0xb4cc('0xf1')]);return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0xf3'),_0x498330[_0xb4cc('0xe8')]));}return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x12d9c6,_0xb4cc('0xf4'));};AGIVertices['prototype'][_0xb4cc('0xf5')]=function(_0xaf5b8b){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0xf6'),_0xaf5b8b['label']));if(!this[_0xb4cc('0x8b')](_0xaf5b8b[_0xb4cc('0xf7')])){return this[_0xb4cc('0x12')]['noop'](_0xb4cc('0xf8'));}if(!this['isConfigured'](_0xaf5b8b[_0xb4cc('0xf9')])){return this['channel'][_0xb4cc('0xab')](_0xb4cc('0xfa'));}if(!this[_0xb4cc('0x8b')](_0xaf5b8b[_0xb4cc('0xfb')])){return this['channel']['noop'](_0xb4cc('0xfc'));}if(!this[_0xb4cc('0x8b')](_0xaf5b8b['ndassistant_url'])){return this['channel'][_0xb4cc('0xab')](_0xb4cc('0xac'));}this[_0xb4cc('0x12')][_0xb4cc('0xf0')]=!![];this[_0xb4cc('0x3b')](_0xaf5b8b);this[_0xb4cc('0x46')](_0xaf5b8b['text'],'in','','');this['channel'][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0xfd'),_0xaf5b8b[_0xb4cc('0x62')]));var _0x36b8f3=this[_0xb4cc('0x85')][_0xb4cc('0x77')](this,_0xaf5b8b);if(_0x36b8f3){for(var _0x50ee94 in _0x36b8f3){if(_0x36b8f3['hasOwnProperty'](_0x50ee94)){this[_0xb4cc('0x12')]['setVariable'](util[_0xb4cc('0x2d')](_0xb4cc('0xfe'),_0x50ee94[_0xb4cc('0xf2')]()),_0x36b8f3[_0x50ee94]);}}this['createSquareMessage'](_0x36b8f3['speech'],'out',_0xb4cc('0xf5'),'');if(_0x36b8f3[_0xb4cc('0xff')]){this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x100'),_0x36b8f3[_0xb4cc('0xff')]));var _0x30be36=this[_0xb4cc('0x12')]['streamFile'](_0x36b8f3[_0xb4cc('0xff')]);try{fs[_0xb4cc('0x101')](_0x36b8f3['audiofile']+_0xb4cc('0x102'));}catch(_0x28e3e0){logger[_0xb4cc('0x30')](_0x28e3e0);}return _0x30be36;}else{return this['channel'][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x103'),_0x36b8f3[_0xb4cc('0xe8')]));}}return this[_0xb4cc('0x12')]['error'](_0xaf5b8b,_0xb4cc('0x104'));};AGIVertices['prototype'][_0xb4cc('0x105')]=function(_0x4e7007){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')]('Enter\x20in\x20END\x20(%s)\x20block',_0x4e7007[_0xb4cc('0x3d')]));return this[_0xb4cc('0x12')]['noop'](_0xb4cc('0x105'));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x106')]=function(_0x2d8892){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x107'),_0x2d8892[_0xb4cc('0x3d')]));var _0x5a9ac='';if(_0x2d8892[_0xb4cc('0x108')]){if(!this['isConfigured'](_0x2d8892[_0xb4cc('0x108')])){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x2d8892,'no\x20trunk\x20selected');}else{var _0x9d8412=parseInt(_0x2d8892[_0xb4cc('0x108')],0xa);if(isNaN(_0x9d8412)){_0x5a9ac=_0x2d8892[_0xb4cc('0x108')];}else{_0x5a9ac=this[_0xb4cc('0x109')][_0xb4cc('0x77')](this,_0x2d8892[_0xb4cc('0x108')]);if(!_0x5a9ac){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x2d8892,_0xb4cc('0x10a'));}}}}else if(_0x2d8892[_0xb4cc('0x10b')]){_0x5a9ac=_0x2d8892['trunk_name'];}else{return this[_0xb4cc('0x12')]['error'](_0x2d8892,_0xb4cc('0x10c'));}var _0x33a54f=this[_0xb4cc('0x12')][_0xb4cc('0x5c')](_0xb4cc('0xe3'),[util[_0xb4cc('0x2d')]('SIP/%s/%s',_0x5a9ac,_0x2d8892[_0xb4cc('0x4d')]),_0x2d8892['timeout'],_0x2d8892[_0xb4cc('0xe4')],_0x2d8892[_0xb4cc('0x6b')]]);if(_0x33a54f[_0xb4cc('0xae')]===-0x1){return _0x33a54f;}return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x10d'),_0xb4cc('0xe3')));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x10e')]=function(_0x26548b){logger['info'](util[_0xb4cc('0x2d')](_0xb4cc('0x10f'),_0x26548b[_0xb4cc('0x3d')]));return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0x10e'));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x10')]=function(_0x362bed){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x110'),_0x362bed[_0xb4cc('0x3d')]));if(_0x362bed[_0xb4cc('0x111')]===0x0){return this[_0xb4cc('0xa8')](_0x362bed);}_0x362bed[_0xb4cc('0x111')]-=0x1;if(!this[_0xb4cc('0x8b')](_0x362bed[_0xb4cc('0x112')])){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x362bed,_0xb4cc('0x113'));}var _0x2eb700=this[_0xb4cc('0x23')][_0xb4cc('0x77')](this,_0x362bed['file_id']);if(!_0x2eb700){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x362bed,_0xb4cc('0x114'));}if(!this[_0xb4cc('0x8b')](_0x362bed[_0xb4cc('0xdb')])){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0xb4cc('0xda'));}var _0x533e2b=this[_0xb4cc('0x12')][_0xb4cc('0x115')](_0x2eb700,_0x362bed[_0xb4cc('0x116')],_0x362bed[_0xb4cc('0x117')]);var _0x4b0af4=_0x533e2b[_0xb4cc('0xae')]?_0x533e2b[_0xb4cc('0xae')]['toString']():'';logger['info'](_0xb4cc('0x118'),JSON[_0xb4cc('0x79')](_0x533e2b));if(_0x533e2b[_0xb4cc('0xae')]===-0x1){this[_0xb4cc('0x3b')][_0xb4cc('0x77')](this,_0x362bed,_0x4b0af4);return _0x533e2b;}else if(_0x533e2b[_0xb4cc('0xa7')]===_0xb4cc('0x6d')){_0x533e2b[_0xb4cc('0xae')]=_0x4b0af4[_0xb4cc('0xa1')]>=parseInt(_0x362bed[_0xb4cc('0x119')])?'x':'i';}else{_0x533e2b[_0xb4cc('0xae')]=_0x4b0af4[_0xb4cc('0xa1')]>=parseInt(_0x362bed[_0xb4cc('0x119')])&&_0x4b0af4[_0xb4cc('0xa1')]<=parseInt(_0x362bed[_0xb4cc('0x117')])?'x':'i';}var _0x471680=this[_0xb4cc('0x13')][_0xb4cc('0x77')](this,_0x362bed['variable_id']);if(!_0x471680){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x362bed,_0xb4cc('0x11a'));}this['channel']['setVariable'](_0x471680,_0x4b0af4);if(this['isConfigured'](_0x362bed[_0xb4cc('0x11b')])){var _0x10c85f=parseInt(_0x362bed[_0xb4cc('0x11b')],0xa);var _0x92822a=rs[_0xb4cc('0x11c')]({'charset':'*','length':_0x10c85f});var _0x379ec9=_0x4b0af4[_0xb4cc('0xa1')];if(_0x379ec9>0x0){if(_0x379ec9>_0x10c85f){this[_0xb4cc('0x3b')]['sync'](this,_0x362bed,_0x362bed[_0xb4cc('0x11d')]===_0xb4cc('0x11e')?_0x92822a+_0x4b0af4[_0xb4cc('0x11f')](_0x10c85f):_0x4b0af4[_0xb4cc('0x11f')](0x0,_0x379ec9-_0x10c85f)+_0x92822a);}else{this[_0xb4cc('0x3b')][_0xb4cc('0x77')](this,_0x362bed,rs['generate']({'charset':'*','length':_0x379ec9}));}}else{this[_0xb4cc('0x3b')][_0xb4cc('0x77')](this,_0x362bed,'');}}else{this['createSquareDetailsReport'][_0xb4cc('0x77')](this,_0x362bed,_0x4b0af4);}return _0x533e2b;};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x11')]=function(_0x122105){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x120'),_0x122105[_0xb4cc('0x3d')]));return this[_0xb4cc('0x10')](_0x122105);};AGIVertices['prototype']['goal']=function(_0x3b8968){logger[_0xb4cc('0x32')](util['format']('Enter\x20in\x20GOAL\x20(%s)\x20block',_0x3b8968['label']));this[_0xb4cc('0x3b')][_0xb4cc('0x77')](this,_0x3b8968,_0x3b8968[_0xb4cc('0x121')]);return this['channel'][_0xb4cc('0xab')](util['format'](_0xb4cc('0x122'),_0x3b8968['goalname']));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x123')]=function(_0x2ac032){logger['info'](util[_0xb4cc('0x2d')](_0xb4cc('0x124'),_0x2ac032[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x2ac032[_0xb4cc('0x8e')])||!this[_0xb4cc('0x8b')](_0x2ac032[_0xb4cc('0x8f')])){return this[_0xb4cc('0x12')]['noop'](_0xb4cc('0x125'));}if(!this[_0xb4cc('0x8b')](_0x2ac032[_0xb4cc('0x62')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0xac'));}this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')]('Trying\x20aws\x20Polly\x20%s',_0x2ac032[_0xb4cc('0x62')]));var _0xc83ffa=this[_0xb4cc('0x8d')][_0xb4cc('0x77')](this,_0x2ac032);if(_0xc83ffa){this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x126'),_0xc83ffa));var _0x484cab=this['channel'][_0xb4cc('0x127')](_0xc83ffa);try{fs[_0xb4cc('0x101')](_0xc83ffa+_0xb4cc('0x102'));}catch(_0x1a5768){logger[_0xb4cc('0x30')](_0x1a5768);}return _0x484cab;}return this['channel'][_0xb4cc('0x30')](_0x2ac032,_0xb4cc('0x128'));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x129')]=function(_0x37da96){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x12a'),_0x37da96[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x37da96[_0xb4cc('0x8e')])||!this['isConfigured'](_0x37da96[_0xb4cc('0x8f')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0x125'));}if(!this[_0xb4cc('0x8b')](_0x37da96[_0xb4cc('0x93')])){return this['channel']['noop'](_0xb4cc('0x12b'));}if(!this['isConfigured'](_0x37da96[_0xb4cc('0x62')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0xac'));}this['channel'][_0xb4cc('0xf0')]=!![];this[_0xb4cc('0x3b')](_0x37da96);this[_0xb4cc('0x46')](_0x37da96[_0xb4cc('0x62')],'in','','');this['channel'][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x12c'),_0x37da96[_0xb4cc('0x62')]));var _0x4f85ba=this[_0xb4cc('0x91')][_0xb4cc('0x77')](this,_0x37da96);if(_0x4f85ba){for(var _0x9368d in _0x4f85ba){if(_0x4f85ba['hasOwnProperty'](_0x9368d)&&_['isString'](_0x4f85ba[_0x9368d])){this[_0xb4cc('0x12')][_0xb4cc('0xdd')](util[_0xb4cc('0x2d')](_0xb4cc('0x12d'),_0x9368d['toUpperCase']()),_0x4f85ba[_0x9368d]);}}if(_[_0xb4cc('0x49')](_0x4f85ba['message'])){return this['channel'][_0xb4cc('0xab')](_0xb4cc('0x12e'));}else{this[_0xb4cc('0x46')](_0x4f85ba[_0xb4cc('0x7a')],_0xb4cc('0xe9'),_0xb4cc('0x12f'),'');return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util['format']('Amazon\x20Lex\x20Result\x20%s',_0x4f85ba[_0xb4cc('0x7a')]));}}return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x37da96,_0xb4cc('0x130'));};AGIVertices['prototype']['googleasr']=function(_0x92ca52){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x131'),_0x92ca52['label'],_0x92ca52[_0xb4cc('0x6d')]));if(!this['isConfigured'](_0x92ca52[_0xb4cc('0x7e')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0x132'));}var _0x143078=_0xb4cc('0x133');var _0x5f219f=util[_0xb4cc('0x2d')](_0xb4cc('0x134'),FILES_PATH,rs[_0xb4cc('0x11c')](0x4));var _0x21ad82=util[_0xb4cc('0x2d')](_0xb4cc('0xa4'),_0x5f219f,_0x143078);var _0x4f16e3=!![];if(_0x92ca52[_0xb4cc('0x135')]===_0xb4cc('0x136')){_0x4f16e3=![];}var _0x6b7409=this[_0xb4cc('0x12')][_0xb4cc('0x137')](_0x5f219f,_0x143078,_0x92ca52[_0xb4cc('0x138')],_0x92ca52[_0xb4cc('0x6d')],undefined,_0x4f16e3);if(_0x6b7409[_0xb4cc('0xae')]!==-0x1){this[_0xb4cc('0x12')][_0xb4cc('0xab')](util['format']('google\x20%s\x20file\x20created',_0x21ad82));var _0x1d2bfb=this[_0xb4cc('0x94')][_0xb4cc('0x77')](this,_0x92ca52,_0x21ad82);if(_0x1d2bfb){for(var _0x9641ee in _0x1d2bfb){if(_0x1d2bfb['hasOwnProperty'](_0x9641ee)){this['channel'][_0xb4cc('0xdd')](util[_0xb4cc('0x2d')](_0xb4cc('0x139'),_0x9641ee[_0xb4cc('0xf2')]()),_0x1d2bfb[_0x9641ee]);}}return this[_0xb4cc('0x12')]['noop'](util[_0xb4cc('0x2d')]('GoogleASR\x20Result\x20%s',JSON[_0xb4cc('0x79')](_0x1d2bfb)));}}return _0x6b7409;};AGIVertices[_0xb4cc('0x1a')]['tildeasr']=function(_0x5f08bd){logger[_0xb4cc('0x32')](util['format'](_0xb4cc('0x13a'),_0x5f08bd[_0xb4cc('0x3d')]));if(!this['isConfigured'](_0x5f08bd['appid'])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')]('no\x20appid\x20configured');}if(!this[_0xb4cc('0x8b')](_0x5f08bd[_0xb4cc('0x97')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0x13b'));}var _0x130412=_0xb4cc('0x133');var _0x31721f=util[_0xb4cc('0x2d')](_0xb4cc('0x134'),FILES_PATH,rs['generate'](0x4));var _0x2c63d3=util[_0xb4cc('0x2d')](_0xb4cc('0xa4'),_0x31721f,_0x130412);var _0x22991a=!![];if(_0x5f08bd[_0xb4cc('0x135')]===_0xb4cc('0x136')){_0x22991a=![];}var _0x12a036=this[_0xb4cc('0x12')][_0xb4cc('0x137')](_0x31721f,_0x130412,_0x5f08bd['intKey'],_0x5f08bd[_0xb4cc('0x6d')],undefined,_0x22991a);if(_0x12a036[_0xb4cc('0xae')]!==-0x1){this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x13c'),_0x2c63d3));var _0xe2d4e7=this[_0xb4cc('0x96')][_0xb4cc('0x77')](this,_0x5f08bd,_0x2c63d3);if(_0xe2d4e7){for(var _0x18586d in _0xe2d4e7){if(_0xe2d4e7['hasOwnProperty'](_0x18586d)){this[_0xb4cc('0x12')][_0xb4cc('0xdd')](util[_0xb4cc('0x2d')](_0xb4cc('0x13d'),_0x18586d['toUpperCase']()),_0xe2d4e7[_0x18586d]);}}return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x13e'),JSON[_0xb4cc('0x79')](_0xe2d4e7)));}}return _0x12a036;};AGIVertices['prototype'][_0xb4cc('0x13f')]=function(_0x25dcd){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x140'),_0x25dcd['label']));return this[_0xb4cc('0x12')]['continueAt'](_0x25dcd[_0xb4cc('0x42')],_0x25dcd[_0xb4cc('0x141')],_0x25dcd[_0xb4cc('0x142')]);};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x143')]=function(_0x17667b){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x144'),_0x17667b[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x17667b[_0xb4cc('0x145')])){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x17667b,_0xb4cc('0x146'));}try{var _0x329316=eval(_0x17667b[_0xb4cc('0x145')])?'true':_0xb4cc('0x147');this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')]('EVAL\x20CONDITION\x20%s\x20%s',_0x17667b[_0xb4cc('0x145')],_0x329316));return{'code':0xc8,'result':_0x329316};}catch(_0x18a372){return{'code':0xc8,'result':'false'};}};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x148')]=function(_0x5ded1e){logger[_0xb4cc('0x32')](util['format'](_0xb4cc('0x149'),_0x5ded1e[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x5ded1e[_0xb4cc('0x14a')])){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x5ded1e,_0xb4cc('0x14b'));}var _0x4a2f3d=this['getIntervals'][_0xb4cc('0x77')](this,_0x5ded1e[_0xb4cc('0x14a')]);if(!_0x4a2f3d){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x5ded1e,'no\x20intervals\x20found');}for(var _0x26c532=0x0;_0x26c532<_0x4a2f3d[_0xb4cc('0xa1')];_0x26c532+=0x1){var _0x3fad8d=this[_0xb4cc('0x12')][_0xb4cc('0x13')](util['format'](_0xb4cc('0x14c'),_0x4a2f3d[_0x26c532]));if(_0x3fad8d[_0xb4cc('0xae')]===-0x1){return _0x3fad8d;}logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x14d'),_0x4a2f3d[_0x26c532],_0x3fad8d[_0xb4cc('0xa7')]));if(_0x3fad8d[_0xb4cc('0xa7')]===_0xb4cc('0x14e')){logger[_0xb4cc('0x32')](util['format'](_0xb4cc('0x14d'),_0x4a2f3d[_0x26c532],_0xb4cc('0x14e')));this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x14d'),_0x4a2f3d[_0x26c532],'true'));return{'code':0xc8,'result':_0xb4cc('0x14e')};}else{logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x14d'),_0x4a2f3d[_0x26c532],_0xb4cc('0x147')));this[_0xb4cc('0x12')]['noop'](util['format'](_0xb4cc('0x14d'),_0x4a2f3d[_0x26c532],_0xb4cc('0x147')));}}return{'code':0xc8,'result':_0xb4cc('0x147')};};AGIVertices[_0xb4cc('0x1a')]['hangup']=function(_0x42d1e8){logger[_0xb4cc('0x32')](util['format']('Enter\x20in\x20HANGUP\x20(%s)\x20block',_0x42d1e8[_0xb4cc('0x3d')]));return this[_0xb4cc('0x12')]['hangup']();};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x14f')]=function(_0x29ebbc){logger['info'](util[_0xb4cc('0x2d')]('Enter\x20in\x20ISPEECHASR\x20(%s)\x20block',_0x29ebbc[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x29ebbc[_0xb4cc('0x7e')])){return this[_0xb4cc('0x12')]['noop']('no\x20key\x20configured');}var _0x202318=_0xb4cc('0x133');var _0x216eec=util[_0xb4cc('0x2d')](_0xb4cc('0x134'),FILES_PATH,rs['generate'](0x4));var _0x56d1a1=util['format'](_0xb4cc('0xa4'),_0x216eec,_0x202318);var _0x4bb380=!![];if(_0x29ebbc[_0xb4cc('0x135')]===_0xb4cc('0x136')){_0x4bb380=![];}var _0x459cfa=this[_0xb4cc('0x12')]['recordFile'](_0x216eec,_0x202318,_0x29ebbc[_0xb4cc('0x138')],_0x29ebbc[_0xb4cc('0x6d')],undefined,_0x4bb380);if(_0x459cfa[_0xb4cc('0xae')]!==-0x1){this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')]('ispeech\x20%s\x20file\x20created',_0x56d1a1));var _0x3b4184=this[_0xb4cc('0x89')][_0xb4cc('0x77')](this,_0x29ebbc,_0x56d1a1);if(_0x3b4184){for(var _0x3dd894 in _0x3b4184){if(_0x3b4184[_0xb4cc('0x9b')](_0x3dd894)){this['channel']['setVariable'](util['format'](_0xb4cc('0x150'),_0x3dd894[_0xb4cc('0xf2')]()),_0x3b4184[_0x3dd894]);}}return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util['format'](_0xb4cc('0x151'),JSON['stringify'](_0x3b4184)));}}return _0x459cfa;};AGIVertices[_0xb4cc('0x1a')]['ispeechtts']=function(_0x657971){logger['info'](util[_0xb4cc('0x2d')](_0xb4cc('0x152'),_0x657971[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x657971['key'])){return this['channel'][_0xb4cc('0xab')]('no\x20key\x20configured');}if(!this['isConfigured'](_0x657971[_0xb4cc('0x62')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0xac'));}this['channel'][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x153'),_0x657971['text']));var _0x35f5e6=this[_0xb4cc('0x86')]['sync'](this,_0x657971);if(_0x35f5e6){this[_0xb4cc('0x12')]['noop'](util[_0xb4cc('0x2d')](_0xb4cc('0x154'),_0x35f5e6));var _0xe2b09e=this[_0xb4cc('0x12')][_0xb4cc('0x127')](_0x35f5e6,_0x657971[_0xb4cc('0x138')]);try{fs[_0xb4cc('0x101')](_0x35f5e6+_0xb4cc('0x102'));}catch(_0x576d1d){logger[_0xb4cc('0x30')](_0x576d1d);}return _0xe2b09e;}return this['channel']['error'](_0x657971,_0xb4cc('0x155'));};AGIVertices[_0xb4cc('0x1a')]['login']=function(_0x457b8c){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x156'),_0x457b8c[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x457b8c[_0xb4cc('0x157')])){return this['channel'][_0xb4cc('0x30')](_0x457b8c,_0xb4cc('0x158'));}logger['info'](util[_0xb4cc('0x2d')](_0xb4cc('0x159'),this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x457b8c[_0xb4cc('0x157')]));var _0x4514bb=this[_0xb4cc('0x5a')]['sync'](this,_0x457b8c[_0xb4cc('0x157')]);if(_0x4514bb){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x15a'),this[_0xb4cc('0x12')]['callerid'],_0x457b8c[_0xb4cc('0x157')]));this['channel'][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x15a'),this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x457b8c[_0xb4cc('0x157')]));return{'code':0xc8,'result':_0xb4cc('0x15b')};}else{logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x15c'),this['channel']['callerid'],_0x457b8c[_0xb4cc('0x157')]));this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x15c'),this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x457b8c['findBy']));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x15d')]=function(_0x46e8b9){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x15e'),_0x46e8b9[_0xb4cc('0x3d')]));if(!this['isConfigured'](_0x46e8b9['findBy'])){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x46e8b9,_0xb4cc('0x158'));}logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x46e8b9[_0xb4cc('0x157')]));var _0x2581fd=this['agentLogout'][_0xb4cc('0x77')](this,_0x46e8b9['findBy']);if(_0x2581fd){logger[_0xb4cc('0x32')](util['format']('AGENT\x20%s\x20FOUND\x20BY',this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x46e8b9[_0xb4cc('0x157')]));this[_0xb4cc('0x12')]['noop'](util[_0xb4cc('0x2d')](_0xb4cc('0x15a'),this['channel'][_0xb4cc('0x40')],_0x46e8b9[_0xb4cc('0x157')]));return{'code':0xc8,'result':'success'};}else{logger[_0xb4cc('0x32')](util['format'](_0xb4cc('0x15c'),this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x46e8b9[_0xb4cc('0x157')]));this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x46e8b9[_0xb4cc('0x157')]));return{'code':0xc8,'result':_0xb4cc('0x15f')};}};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x160')]=function(_0x2e5bff){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x161'),_0x2e5bff[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x2e5bff[_0xb4cc('0x162')])){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x2e5bff,_0xb4cc('0x163'));}this['channel']['noop'](util[_0xb4cc('0x2d')](_0xb4cc('0x164'),_0x2e5bff['operation']));var _0x511746=eval(_0x2e5bff[_0xb4cc('0x162')]);if(!this[_0xb4cc('0x8b')](_0x2e5bff[_0xb4cc('0xdb')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')]('no\x20variable\x20selected\x20for\x20the\x20result');}var _0x4b1912=this[_0xb4cc('0x13')]['sync'](this,_0x2e5bff[_0xb4cc('0xdb')]);if(!_0x4b1912){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x2e5bff,_0xb4cc('0x11a'));}if(_[_0xb4cc('0xa0')](_0x511746)){var _0x4afd41=this;_0x511746[_0xb4cc('0x165')](function(_0x2f1e47,_0x308ffa){_0x4afd41[_0xb4cc('0x12')][_0xb4cc('0xdd')](util['format'](_0xb4cc('0x166'),_0x4b1912,_0x308ffa),_0x2f1e47);});return this['channel'][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x167'),_0x4b1912));}else{return this[_0xb4cc('0x12')][_0xb4cc('0xdd')](_0x4b1912,_0x511746);}};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0xf')]=function(_0x2d3fcb){logger[_0xb4cc('0x32')](util['format'](_0xb4cc('0x168'),_0x2d3fcb[_0xb4cc('0x3d')]));if(_0x2d3fcb[_0xb4cc('0x111')]===0x0){return this[_0xb4cc('0xa8')](_0x2d3fcb);}_0x2d3fcb['retry']-=0x1;if(!this[_0xb4cc('0x8b')](_0x2d3fcb['file_id'])){return this['channel'][_0xb4cc('0x30')](_0x2d3fcb,_0xb4cc('0x113'));}var _0x169747=this[_0xb4cc('0x23')][_0xb4cc('0x77')](this,_0x2d3fcb[_0xb4cc('0x112')]);if(!_0x169747){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x2d3fcb,'no\x20file\x20audio\x20found');}var _0xc3b096=this[_0xb4cc('0x12')]['getData'](_0x169747,_0x2d3fcb[_0xb4cc('0x116')],_0x2d3fcb[_0xb4cc('0x169')]);var _0x59f5c2=_0xc3b096['result'];if(_0xc3b096['result']===-0x1){this[_0xb4cc('0x3b')]['sync'](this,_0x2d3fcb,'-1');return _0xc3b096;}else if(_0xc3b096[_0xb4cc('0xa7')]===_0xb4cc('0x6d')){_0xc3b096['result']=_0xc3b096[_0xb4cc('0xae')][_0xb4cc('0xa1')]>0x0?_0xc3b096[_0xb4cc('0xae')]:'t';}else if(_[_0xb4cc('0x48')](_0xc3b096[_0xb4cc('0xae')])){_0xc3b096['result']='#';_0x59f5c2='#';}if(!this[_0xb4cc('0x8b')](_0x2d3fcb[_0xb4cc('0xdb')])){this[_0xb4cc('0x12')]['noop'](_0xb4cc('0xda'));}else{var _0x2a342e=this[_0xb4cc('0x13')][_0xb4cc('0x77')](this,_0x2d3fcb[_0xb4cc('0xdb')]);if(!_0x2a342e){return this[_0xb4cc('0x12')]['error'](_0x2d3fcb,_0xb4cc('0x11a'));}this[_0xb4cc('0x12')][_0xb4cc('0xdd')](_0x2a342e,_0x59f5c2);}this['createSquareDetailsReport'][_0xb4cc('0x77')](this,_0x2d3fcb,_0x59f5c2);return _0xc3b096;};AGIVertices[_0xb4cc('0x1a')]['noop']=function(_0xaa08e8){logger[_0xb4cc('0x32')](util['format'](_0xb4cc('0x16a'),_0xaa08e8[_0xb4cc('0x3d')]));return this[_0xb4cc('0x12')]['noop'](_0xaa08e8[_0xb4cc('0x16b')]||_0xaa08e8['label']);};AGIVertices[_0xb4cc('0x1a')]['pause']=function(_0x1719ba){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x16c'),_0x1719ba[_0xb4cc('0x3d')]));if(!this['isConfigured'](_0x1719ba[_0xb4cc('0x157')])){return this['channel'][_0xb4cc('0x30')](_0x1719ba,'no\x20find\x20by\x20configured');}logger[_0xb4cc('0x32')](util['format']('FIND\x20AGENT\x20%s\x20BY\x20%s',this['channel']['callerid'],_0x1719ba[_0xb4cc('0x157')]));var _0x835739=this['getPause'][_0xb4cc('0x77')](this,_0x1719ba['pause_id']);var _0x5ba82f=this[_0xb4cc('0x54')][_0xb4cc('0x77')](this,_0x1719ba[_0xb4cc('0x157')],_0x835739);if(_0x5ba82f){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x15a'),this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x1719ba[_0xb4cc('0x157')]));this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x15a'),this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x1719ba[_0xb4cc('0x157')]));return{'code':0xc8,'result':_0xb4cc('0x15b')};}else{logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x15c'),this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x1719ba[_0xb4cc('0x157')]));this[_0xb4cc('0x12')]['noop'](util[_0xb4cc('0x2d')]('AGENT\x20%s\x20FOUND\x20BY',this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x1719ba[_0xb4cc('0x157')]));return{'code':0xc8,'result':_0xb4cc('0x15f')};}};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x16d')]=function(_0x1af111){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x16e'),_0x1af111[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x1af111['file_id'])){return this['channel'][_0xb4cc('0x30')](_0x1af111,_0xb4cc('0x113'));}var _0x1e3211=this[_0xb4cc('0x23')][_0xb4cc('0x77')](this,_0x1af111['file_id']);if(!_0x1e3211){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x1af111,_0xb4cc('0x114'));}var _0x16004b=this[_0xb4cc('0x12')][_0xb4cc('0x5c')](_0xb4cc('0x16f'),[_0x1e3211,_0x1af111[_0xb4cc('0xe4')]]);if(_0x16004b[_0xb4cc('0xae')]===-0x1){return _0x16004b;}return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util['format'](_0xb4cc('0x170'),_0xb4cc('0x16f'),_0x1e3211));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x171')]=function(_0x3dc76d){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x172'),_0x3dc76d['label']));if(!this[_0xb4cc('0x8b')](_0x3dc76d[_0xb4cc('0x173')])){return this[_0xb4cc('0x12')]['error'](_0x3dc76d,_0xb4cc('0x174'));}var _0x2a6d17='';var _0x4cab05=parseInt(_0x3dc76d['queue_id'],0xa);if(isNaN(_0x4cab05)){_0x2a6d17=_0x3dc76d[_0xb4cc('0x173')];}else{_0x2a6d17=this[_0xb4cc('0x175')][_0xb4cc('0x77')](this,_0x3dc76d[_0xb4cc('0x173')]);if(!_0x2a6d17){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x3dc76d,'no\x20queue\x20found');}}var _0x3134e7='';if(this[_0xb4cc('0x8b')](_0x3dc76d[_0xb4cc('0x112')])){var _0x2dcd82=this[_0xb4cc('0x23')][_0xb4cc('0x77')](this,_0x3dc76d[_0xb4cc('0x112')]);if(_0x2dcd82){_0x3134e7=_0x2dcd82;}}this[_0xb4cc('0x3b')]['sync'](this,_0x3dc76d,_0x2a6d17);if(_0x3dc76d[_0xb4cc('0xe4')][_0xb4cc('0x176')]('x')<0x0){_0x3dc76d['opts']+='x';}if(_0x3dc76d['opts'][_0xb4cc('0x176')]('X')<0x0){_0x3dc76d[_0xb4cc('0xe4')]+='X';}this[_0xb4cc('0x12')]['setVariable'](_0xb4cc('0x177'),_0x2a6d17?_0x2a6d17['toLowerCase']():'');var _0x53f83f=this[_0xb4cc('0x12')][_0xb4cc('0x5c')]('QUEUE',[_0x2a6d17,_0x3dc76d[_0xb4cc('0xe4')],_0x3dc76d[_0xb4cc('0x6b')],_0x3134e7,_0x3dc76d[_0xb4cc('0x6d')],_0x3dc76d[_0xb4cc('0xa')],_0x3dc76d[_0xb4cc('0x178')],_0x3dc76d[_0xb4cc('0x179')],'',_0x3dc76d[_0xb4cc('0x17a')]]);if(_0x53f83f['result']===-0x1){return _0x53f83f;}return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x170'),'QUEUE',_0x2a6d17));};AGIVertices['prototype'][_0xb4cc('0x17b')]=function(_0x176940){logger['info'](util[_0xb4cc('0x2d')](_0xb4cc('0x17c'),_0x176940[_0xb4cc('0x3d')]));var _0x14ae19=_0x176940['recordingFormat']||'wav';var _0x4d1452=util[_0xb4cc('0x2d')](_0xb4cc('0x17d'),this[_0xb4cc('0x12')]['uniqueid'],rs['generate'](0x5));var _0x1051dd=util[_0xb4cc('0x2d')](_0xb4cc('0x17e'),FILES_PATH,_0x4d1452,_0x14ae19);var _0x2d4912=util[_0xb4cc('0x2d')](_0xb4cc('0x134'),FILES_PATH,_0x4d1452);this[_0xb4cc('0x3f')][_0xb4cc('0x77')](this,_0x176940,_0x4d1452,_0x1051dd);this['channel'][_0xb4cc('0xdd')]('RECORDING_SAVENAME',_0x4d1452);logger['info'](_0xb4cc('0x17f'),_0x2d4912,_0x14ae19,_0x176940[_0xb4cc('0x180')],_0x176940[_0xb4cc('0x6d')]);return this[_0xb4cc('0x12')]['recordFile'](_0x2d4912,_0x14ae19,_0x176940[_0xb4cc('0x180')],_0x176940[_0xb4cc('0x6d')],undefined,!![]);};AGIVertices[_0xb4cc('0x1a')]['restapi']=function(_0x74a90e){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x181'),_0x74a90e[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x74a90e[_0xb4cc('0x6b')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0x182'));}var _0x514c55=this[_0xb4cc('0x6a')]['sync'](this,_0x74a90e);logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x183'),util[_0xb4cc('0x184')](_0x514c55,{'showHidden':![],'depth':null})));if(!this[_0xb4cc('0x8b')](_0x74a90e[_0xb4cc('0xdb')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0x185'));}var _0x44280a=this['getVariable']['sync'](this,_0x74a90e[_0xb4cc('0xdb')]);if(!_0x44280a){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x74a90e,_0xb4cc('0x11a'));}this['channel']['setVariable'](util[_0xb4cc('0x2d')](_0xb4cc('0x186'),_0x44280a),_0x514c55[_0xb4cc('0x187')]?_0x514c55['statusCode']:'200');this[_0xb4cc('0x12')][_0xb4cc('0xdd')](util[_0xb4cc('0x2d')]('%s_STATUS_MESSAGE',_0x44280a),_0x514c55[_0xb4cc('0x188')]?_0x514c55[_0xb4cc('0x188')]:'OK');if(_0x514c55[_0xb4cc('0x72')]){try{this[_0xb4cc('0xa3')](_0x514c55[_0xb4cc('0x72')],_0x44280a);}catch(_0x4fd355){logger[_0xb4cc('0x30')](util[_0xb4cc('0x2d')](_0xb4cc('0x189'),_0x44280a));}}return this['channel'][_0xb4cc('0xab')](util['format'](_0xb4cc('0xdf'),_0x44280a));};AGIVertices[_0xb4cc('0x1a')]['saydigits']=function(_0x912058){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')]('Enter\x20in\x20SAYDIGITS\x20(%s)\x20block',_0x912058[_0xb4cc('0x3d')]));return this[_0xb4cc('0x12')]['sayDigits'](_0x912058[_0xb4cc('0x18a')][_0xb4cc('0x5e')](/\s+/g,''),_0x912058[_0xb4cc('0x180')]);};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x18b')]=function(_0x1cbdd1){logger['info'](util[_0xb4cc('0x2d')](_0xb4cc('0x18c'),_0x1cbdd1[_0xb4cc('0x3d')]));return this[_0xb4cc('0x12')]['sayNumber'](_0x1cbdd1['number'][_0xb4cc('0x5e')](/\s+/g,''),_0x1cbdd1['escape_digits']);};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x18d')]=function(_0x448e27){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x18e'),_0x448e27[_0xb4cc('0x3d')]));return this[_0xb4cc('0x12')][_0xb4cc('0x18f')](_0x448e27[_0xb4cc('0x62')],_0x448e27['escape_digits']);};AGIVertices[_0xb4cc('0x1a')]['sendMail']=function(_0x213a33){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x190'),_0x213a33[_0xb4cc('0x3d')]));if(!this['isConfigured'](_0x213a33[_0xb4cc('0x191')])){return this[_0xb4cc('0x12')]['noop'](_0xb4cc('0x192'));}var _0x1f5dd2=this[_0xb4cc('0x193')]['sync'](this,_0x213a33[_0xb4cc('0x191')]);if(!_0x1f5dd2||!_0x1f5dd2[_0xb4cc('0x194')]){return this[_0xb4cc('0x12')]['error'](_0x213a33,_0xb4cc('0x195'));}var _0xa29e43={'from':util[_0xb4cc('0x2d')](_0xb4cc('0x196'),_0x1f5dd2[_0xb4cc('0x16')],_0x1f5dd2[_0xb4cc('0x197')]||_0x1f5dd2['Smtp'][_0xb4cc('0x198')]),'to':_0x213a33['to']||'','cc':_0x213a33['cc']||'','bcc':_0x213a33[_0xb4cc('0x199')]||'','subject':_0x213a33['subject'],'html':_0x213a33[_0xb4cc('0x62')],'text':_0x213a33[_0xb4cc('0x62')]};var _0x3ef167={'tls':{'rejectUnauthorized':![]}};if(_0x1f5dd2['Smtp']['service']){_0x3ef167[_0xb4cc('0x19a')]=_0x1f5dd2['Smtp'][_0xb4cc('0x19a')];}else{_0x3ef167[_0xb4cc('0x19b')]=_0x1f5dd2[_0xb4cc('0x194')][_0xb4cc('0x19b')];_0x3ef167[_0xb4cc('0x19c')]=_0x1f5dd2[_0xb4cc('0x194')][_0xb4cc('0x19c')];_0x3ef167[_0xb4cc('0x19d')]=_0x1f5dd2['Smtp'][_0xb4cc('0x19d')];}if(_0x1f5dd2[_0xb4cc('0x194')][_0xb4cc('0x19e')]){_0x3ef167['auth']={'user':_0x1f5dd2[_0xb4cc('0x194')]['user'],'pass':_0x1f5dd2[_0xb4cc('0x194')][_0xb4cc('0x19f')]};}if(this[_0xb4cc('0x8b')](_0x213a33[_0xb4cc('0x1a0')])){}logger['debug'](_0xb4cc('0x1a1'),JSON[_0xb4cc('0x79')](_0xa29e43));this[_0xb4cc('0x3b')][_0xb4cc('0x77')](this,_0x213a33,_0x213a33[_0xb4cc('0x191')]);this['channel'][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x1a2'),_0x1f5dd2[_0xb4cc('0x16')]));this[_0xb4cc('0x1a3')]['sync'](this,_0x3ef167,_0xa29e43);return this[_0xb4cc('0x12')]['noop']('Mail\x20message\x20added\x20to\x20outgoing\x20process');};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x1a4')]=function(_0x4b72e8){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')]('Enter\x20in\x20SENDFAX\x20(%s)\x20block',_0x4b72e8[_0xb4cc('0x3d')]));return this[_0xb4cc('0x12')][_0xb4cc('0xab')]('SENDFAX\x20block\x20not\x20implemented');};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x1a5')]=function(_0x3d8f73){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x1a6'),_0x3d8f73[_0xb4cc('0x3d')]));if(!this['isConfigured'](_0x3d8f73[_0xb4cc('0x1a7')])){return this[_0xb4cc('0x12')]['noop'](_0xb4cc('0x1a8'));}var _0x424bab=this[_0xb4cc('0x39')][_0xb4cc('0x77')](this,_0x3d8f73[_0xb4cc('0x1a7')]);if(!_0x424bab){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x3d8f73,_0xb4cc('0x1a9'));}var _0x337fa7={'body':_0x3d8f73[_0xb4cc('0x1aa')],'phone':_0x3d8f73['to']||'','SmsAccountId':_0x424bab['id']};logger[_0xb4cc('0x1ab')](_0xb4cc('0x1ac'),JSON[_0xb4cc('0x79')](_0x337fa7));this[_0xb4cc('0x3b')][_0xb4cc('0x77')](this,_0x3d8f73,_0x3d8f73[_0xb4cc('0x1a7')]);this[_0xb4cc('0x12')][_0xb4cc('0xab')](util['format'](_0xb4cc('0x1ad'),_0x424bab[_0xb4cc('0x16')]));this[_0xb4cc('0x3a')][_0xb4cc('0x77')](this,_0x337fa7);return this['channel']['noop'](_0xb4cc('0x1ae'));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x1af')]=function(_0x3a331f){logger['info'](util[_0xb4cc('0x2d')](_0xb4cc('0x1b0'),_0x3a331f[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x3a331f['variable_id'])){return this[_0xb4cc('0x12')]['error'](_0x3a331f,_0xb4cc('0x1b1'));}var _0x552d14=this[_0xb4cc('0x13')]['sync'](this,_0x3a331f['variable_id']);if(!_0x552d14){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x3a331f,_0xb4cc('0x11a'));}return this[_0xb4cc('0x12')][_0xb4cc('0xdd')](_0x552d14,_0x3a331f[_0xb4cc('0x1b2')]);};AGIVertices[_0xb4cc('0x1a')]['start']=function(_0x4afc00){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x1b3'),_0x4afc00[_0xb4cc('0x3d')]));this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0x1b4'));if(_0x4afc00[_0xb4cc('0xbd')]===_0xb4cc('0x1b5')){this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0x1b6'));return this[_0xb4cc('0x12')][_0xb4cc('0xbd')]();}return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0x1b7'));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x1b8')]=function(_0x2475da){logger[_0xb4cc('0x32')](util['format'](_0xb4cc('0x1b9'),_0x2475da['label']));if(!this[_0xb4cc('0x8b')](_0x2475da['project_id'])){return this['channel'][_0xb4cc('0x30')](_0x2475da,_0xb4cc('0x1ba'));}var _0x4068ea=this[_0xb4cc('0x1b')][_0xb4cc('0x77')](this,_0x2475da[_0xb4cc('0x1bb')]);if(!this[_0xb4cc('0x8b')](_0x4068ea)){return this[_0xb4cc('0x12')]['error'](_0x2475da,util['format']('no\x20subproject\x20found\x20with\x20id\x20%d',_0x2475da[_0xb4cc('0x1bb')]));}if(_0x4068ea===this[_0xb4cc('0x12')][_0xb4cc('0x3e')]){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x2475da,_0xb4cc('0x1bc'));}this[_0xb4cc('0x3b')]['sync'](this,_0x2475da,_0x4068ea);var _0x331eb5=this[_0xb4cc('0x12')]['exec'](_0xb4cc('0x1bd'),util[_0xb4cc('0x2d')](_0xb4cc('0x1be'),config[_0xb4cc('0xa')][_0xb4cc('0x19b')]||_0xb4cc('0x1bf'),_0x4068ea,this[_0xb4cc('0x12')]['arg_1']));if(_0x331eb5[_0xb4cc('0xae')]===-0x1){return _0x331eb5;}return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')]('Executed\x20command\x20%s\x20%s',_0xb4cc('0x1bd'),_0x4068ea));};AGIVertices[_0xb4cc('0x1a')]['system']=function(_0xa527d1){logger['info'](util[_0xb4cc('0x2d')]('Enter\x20in\x20SYSTEM\x20(%s)\x20block',_0xa527d1[_0xb4cc('0x3d')]));var _0x35ef7e=this[_0xb4cc('0x5b')][_0xb4cc('0x77')](this,_0xa527d1[_0xb4cc('0xbb')]);this[_0xb4cc('0x3b')][_0xb4cc('0x77')](this,_0xa527d1,_0xa527d1['command']);if(this[_0xb4cc('0x8b')](_0xa527d1['variable_id'])){var _0x31b449=this[_0xb4cc('0x13')][_0xb4cc('0x77')](this,_0xa527d1['variable_id']);if(_0x31b449){this[_0xb4cc('0x12')][_0xb4cc('0xdd')](_0x31b449,_0x35ef7e);return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util['format'](_0xb4cc('0x1c0'),_0xa527d1[_0xb4cc('0xbb')],_0x31b449));}}return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util['format']('sh\x20command:\x20%s\x20result\x20no\x20stored',_0xa527d1['command']));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x1c1')]=function(_0x254594){logger[_0xb4cc('0x32')](util['format'](_0xb4cc('0x1c2'),_0x254594[_0xb4cc('0x3d')]));_0x254594['text']=_0x254594[_0xb4cc('0x62')][_0xb4cc('0x5e')](/(\r\n|\n|\r)/gm,'\x20');if(!this['isConfigured'](_0x254594[_0xb4cc('0x60')])){return this[_0xb4cc('0x12')][_0xb4cc('0xab')](_0xb4cc('0x1c3'));}if(!this[_0xb4cc('0x8b')](_0x254594[_0xb4cc('0x62')])){return this[_0xb4cc('0x12')]['noop'](_0xb4cc('0xac'));}this['channel'][_0xb4cc('0xab')](util['format'](_0xb4cc('0x1c4'),_0x254594[_0xb4cc('0x62')]));var _0x1d2e1b=this[_0xb4cc('0x5f')][_0xb4cc('0x77')](this,_0x254594);if(_0x1d2e1b){this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')]('Google\x20Cloud\x20TTS\x20%s\x20file\x20created',_0x1d2e1b));var _0x347559=this['channel'][_0xb4cc('0x127')](_0x1d2e1b);try{fs[_0xb4cc('0x101')](_0x1d2e1b+_0xb4cc('0x102'));}catch(_0x45c614){logger[_0xb4cc('0x30')](_0x45c614);}return _0x347559;}return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x254594,_0xb4cc('0x1c5'));};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x1c6')]=function(_0x84c575){logger['info'](util['format'](_0xb4cc('0x1c7'),_0x84c575[_0xb4cc('0x3d')]));_0x84c575[_0xb4cc('0x62')]=_0x84c575[_0xb4cc('0x62')]['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0xb4cc('0x8b')](_0x84c575[_0xb4cc('0x62')])){return this['channel'][_0xb4cc('0xab')]('no\x20text\x20configured');}this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x1c8'),_0x84c575['text']));var _0x578b02=this['googleTTS'][_0xb4cc('0x77')](this,_0x84c575);if(_0x578b02){this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')]('Google\x20TTS\x20%s\x20file\x20created',_0x578b02));var _0x3c2ee5=this['channel'][_0xb4cc('0x127')](_0x578b02);try{}catch(_0x524076){logger[_0xb4cc('0x30')](_0x524076);}return _0x3c2ee5;}return this[_0xb4cc('0x12')]['error'](_0x84c575,'Google\x20TTS\x20is\x20unreachable');};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x1c9')]=function(_0x23b2ed){logger[_0xb4cc('0x32')](util['format']('Enter\x20in\x20UNPAUSE\x20(%s)\x20block',_0x23b2ed['label']));if(!this[_0xb4cc('0x8b')](_0x23b2ed[_0xb4cc('0x157')])){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x23b2ed,'no\x20find\x20by\x20configured');}logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x159'),this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x23b2ed[_0xb4cc('0x157')]));var _0x401fea=this[_0xb4cc('0x55')]['sync'](this,_0x23b2ed[_0xb4cc('0x157')]);if(_0x401fea){logger[_0xb4cc('0x32')](util['format'](_0xb4cc('0x15a'),this['channel'][_0xb4cc('0x40')],_0x23b2ed[_0xb4cc('0x157')]));this['channel']['noop'](util[_0xb4cc('0x2d')](_0xb4cc('0x15a'),this[_0xb4cc('0x12')]['callerid'],_0x23b2ed[_0xb4cc('0x157')]));return{'code':0xc8,'result':_0xb4cc('0x15b')};}else{logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x15c'),this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x23b2ed[_0xb4cc('0x157')]));this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x15c'),this[_0xb4cc('0x12')][_0xb4cc('0x40')],_0x23b2ed['findBy']));return{'code':0xc8,'result':_0xb4cc('0x15f')};}};AGIVertices[_0xb4cc('0x1a')][_0xb4cc('0x1ca')]=function(_0xfea7af){logger[_0xb4cc('0x32')](util[_0xb4cc('0x2d')](_0xb4cc('0x1cb'),_0xfea7af[_0xb4cc('0x3d')]));var _0x2f778f=this[_0xb4cc('0x12')][_0xb4cc('0x5c')](_0xb4cc('0x1cc'),[_0xfea7af[_0xb4cc('0x1cd')],_0xfea7af[_0xb4cc('0x7c')]]);if(_0x2f778f[_0xb4cc('0xae')]===-0x1){return _0x2f778f;}return this[_0xb4cc('0x12')][_0xb4cc('0xab')](util[_0xb4cc('0x2d')](_0xb4cc('0x170'),_0xb4cc('0x1cc'),_0xfea7af['mailbox']));};AGIVertices[_0xb4cc('0x1a')]['vswitch']=function(_0x3a64a3){logger['info'](util[_0xb4cc('0x2d')](_0xb4cc('0x1ce'),_0x3a64a3[_0xb4cc('0x3d')]));if(!this[_0xb4cc('0x8b')](_0x3a64a3[_0xb4cc('0xdb')])){return this[_0xb4cc('0x12')][_0xb4cc('0x30')](_0x3a64a3,_0xb4cc('0x1b1'));}var _0xde1d41=this[_0xb4cc('0x13')][_0xb4cc('0x77')](this,_0x3a64a3['variable_id']);if(!_0xde1d41){return this[_0xb4cc('0x12')]['error'](_0x3a64a3,_0xb4cc('0x11a'));}var _0x289d37=this[_0xb4cc('0x12')][_0xb4cc('0x13')](_0xde1d41);return{'code':0xc8,'result':_0x289d37[_0xb4cc('0xa7')]?_0x289d37[_0xb4cc('0xa7')]:'-'};};String[_0xb4cc('0x1a')]['replaceAll']=function(_0x192c82,_0x65721d){return this['split'](_0x192c82)[_0xb4cc('0x1cf')](_0x65721d);};module[_0xb4cc('0x1d0')]=AGIVertices;
\ No newline at end of file