Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / services / agi / vertices.js
index 3be61d5..b13415c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xce50=['agi://%s/square,\x22%s\x22,\x22%s\x22','host','127.0.0.1','Enter\x20in\x20SYSTEM\x20(%s)\x20block','shellCommand','command','sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s','sh\x20command:\x20%s\x20result\x20no\x20stored','google_cloud_tts','Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block','Trying\x20Google\x20Cloud\x20TTS\x20%s','Google\x20Cloud\x20TTS\x20is\x20unreachable','Enter\x20in\x20GOOGLETTS\x20(%s)\x20block','Trying\x20Google\x20TTS\x20%s','Google\x20TTS\x20%s\x20file\x20created','unpause','Enter\x20in\x20UNPAUSE\x20(%s)\x20block','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','mailbox','Enter\x20in\x20SWITCH\x20(%s)\x20block','exports','lodash','shelljs','odbc','randomstring','moment','../../config/logger','./scripts','/var/opt/motion2/server/files','rawHeaders','rawBody','getdigits','getsecretdigits','channel','rpc','mailRpc','prototype','getVariableById','then','getVoiceQueue','getVoiceQueueById','catch','getSquareProject','getSquareProjectById','name','getSquareOdbcById','getUser','getUserById','getTrunk','getSound','getSoundPath','getMailAccount','getMailAccountById','sendMailMessage','IntervalId','interval','Intervals','format','%s/sounds/converted/%s','getQueryOdbc','open','Error\x20getting\x20ODBC\x20connection\x20%s','info','ODBC\x20connection\x20successfully','query','Error\x20executing\x20query\x20%s','close','error','getSmsAccount','getSmsAccountById','createSmsMessage','uniqueid','label','agicommand','arg_1','callerid','createSquareRecording','calleridname','extension','priority','accountcode','dnid','file','createSquareMessage','createCmContact','isEmpty','isNil','callback_','random','lastName','list_id','callback','Callback\x20scheduled\x20at\x20','scheduledAt','toString','callback_priority','getPause','getPauseById','agentPause','agent','agentUnpause','agentLogout','agentLogin','%s/%s@from-sip/n','LOCAL','trim','replace','googleCloudTTS','apiKey','text','en-US','ssmlGender','audioEncoding','MP3','googleTTS','google_tts_language','restAPI','url','method','timeout','number','includes','PUT','toUpperCase','body','parse','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','computedVariables','sync','uri','render','headers','stringify','An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','statusCode','message','options','googleDialogflow','key','googleDialogflowV2','dialogflowV2_project_id','client_email','private_key','dialogflowV2_language','sestekNDA','ispeechTTS','ispeechASR','ispeech_asr_language','isConfigured','model','awsPolly','aws_access_key_id','aws_secret_access_key','aws_polly_region','aws_polly_voice','awsLex','aws_bot_name','googleASR','appid','clone','hasOwnProperty','isString','isPlainObject','recursiveNodeIndex','length','replaceAllVariables','saveRestApiResult','isArray','%s.%s','setVariable','replaceObjectAllVariables','split','replaceAll','getVariable','extra','getAndSetVariable','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','maxRetry','createSquareDetailsReport','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','noop','no\x20text\x20configured','exec','MRCPSynth','result','Executed\x20command\x20MRCPSynth\x20%s','mrcprecog','no\x20grammar\x20configured','grammar','MRCPRecog','RECOG_CONFIDENCE()','RECOG_INPUT()','MRCP_RECOG_TRANSCRIPT','RECOG_INSTANCE()','MRCP_RECOG_INSTANCE','agi','Enter\x20in\x20AGI\x20(%s)\x20block','args','answer','Enter\x20in\x20ANSWER\x20(%s)\x20block','Wait\x20%s\x20seconds\x20before\x20answer','wait','delay','minutes','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','phone','application','Executed\x20command\x20%s\x20%s','lumenvoxtts','sestektts','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','lumenvoxasr','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','LUMENVOX_ASR_CONFIDENCE','LUMENVOX_ASR_TRANSCRIPT','LUMENVOX_ASR_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','sestekasr','Enter\x20in\x20SESTEKASR\x20(%s)\x20block','SESTEK_ASR_CONFIDENCE','SESTEK_ASR_TRANSCRIPT','SESTEK_ASR_INSTANCE','Enter\x20in\x20DATABASE\x20(%s)\x20block','no\x20database\x20selected','odbc_id','no\x20odbc\x20database\x20found','no\x20query\x20configured','query:\x20%s','no\x20variable\x20selected\x20for\x20the\x20result','variable_id','keys','forEach','%s[%s][%s]','%s_ROWS_COUNT','debug','Enter\x20in\x20DIAL\x20(%s)\x20block','sip_id','no\x20user\x20found','SIP/%s','DIAL','dialogflow','no\x20key\x20configured','bot','DIALOGFLOW_%s','speech','Dialogflow\x20is\x20unreachable','dialogflowV2','Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block','no\x20project_id\x20configured','no\x20client_email\x20configured','no\x20private_key\x20configured','no\x20anguage\x20configured','providerResponse','DialogflowV2\x20is\x20unreachable','sesteknda','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','ndauth_url','no\x20ndauth\x20url\x20configured','username','out','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','streamFile','unlink','.wav','SestekNDA\x20Result\x20%s','SestekNDA\x20is\x20unreachable','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','trunk_id','no\x20trunk\x20selected','no\x20trunk\x20found','trunk_name','SIP/%s/%s','opts','Executed\x20command\x20%s','Enter\x20in\x20FINALLY\x20(%s)\x20block','finally','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','retry','file_id','no\x20file\x20audio\x20selected','no\x20file\x20audio\x20found','getData','maxdigit','mindigit','no\x20variable\x20found','hiddendigitsnum','hiddendigitspos','substr','generate','goal','goalname','GOAL\x20%s','awspolly','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','Trying\x20aws\x20Polly\x20%s','aws\x20Polly\x20%s\x20file\x20created','aws\x20Polly\x20is\x20unreachable','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','no\x20valid\x20credentials\x20configured','no\x20bot\x20name\x20configured','Trying\x20Amazon\x20Lex:\x20%s','AWS_LEX_%s','Amazon\x20Lex\x20ready\x20for\x20fulfillment','Amazon\x20Lex\x20Result\x20%s','Amazon\x20Lex\x20is\x20unreachable','googleasr','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','wav','%s/recordings/%s','beep','NOBEEP','intKey','google\x20%s\x20file\x20created','GoogleASR\x20Result\x20%s','tildeasr','Enter\x20in\x20TILDEASR\x20(%s)\x20block','no\x20appid\x20configured','appsecret','tilde\x20%s\x20file\x20created','tildeASR','TILDE_ASR_%s','TildeASR\x20Result\x20%s','gotoc','Enter\x20in\x20GOTO\x20(%s)\x20block','continueAt','context','gotoif','Enter\x20in\x20GOTOIF\x20(%s)\x20block','condition','no\x20condition\x20configured','false','EVAL\x20CONDITION\x20%s\x20%s','gotoiftime','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','no\x20interval\x20configured','getIntervals','interval_id','no\x20intervals\x20found','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','true','hangup','ispeechasr','recordFile','ISPEECH_ASR_%s','IspeechASR\x20Result\x20%s','ispeech\x20%s\x20file\x20created','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','Enter\x20in\x20MATH\x20(%s)\x20block','operation','no\x20operation\x20configured','math\x20%s','%s[%s]','variable\x20%s[key]\x20set','Enter\x20in\x20MENU\x20(%s)\x20block','digit','Enter\x20in\x20NOOP\x20(%s)\x20block','output','pause','playback','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','PLAYBACK','queue','Enter\x20in\x20QUEUE\x20(%s)\x20block','queue_id','no\x20queue\x20selected','indexOf','QUEUE','macro','gosub','position','record','Enter\x20in\x20RECORD\x20(%s)\x20block','recordingFormat','%s_%s','%s/recordings/%s.%s','RECORDING_SAVENAME','escape_digits','restapi','Enter\x20in\x20RESTAPI\x20(%s)\x20block','no\x20url\x20configured','Response:','no\x20variable\x20selected\x20for\x20the\x20response','%s_STATUS_CODE','200','%s_STATUS_MESSAGE','statusMessage','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','variable\x20%s\x20set','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','sayDigits','digits','saynumber','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayNumber','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','sendMail','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','account_id','no\x20mail\x20account\x20configured','Smtp','no\x20mail\x20account\x20found','\x22%s\x22\x20<%s>','email','user','bcc','subject','template_id','sendMail\x20message','smtpOptions','Mail\x20message\x20added\x20to\x20outgoing\x20process','sendFax','Enter\x20in\x20SENDFAX\x20(%s)\x20block','SENDFAX\x20block\x20not\x20implemented','sendSMS','Enter\x20in\x20SENDSMS\x20(%s)\x20block','sms_account_id','no\x20sms\x20account\x20configured','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','project_id','no\x20subproject\x20selected','no\x20subproject\x20found\x20with\x20id\x20%d','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','AGI'];(function(_0x10f70d,_0x3c4f1f){var _0x4b62ea=function(_0x39a779){while(--_0x39a779){_0x10f70d['push'](_0x10f70d['shift']());}};_0x4b62ea(++_0x3c4f1f);}(_0xce50,0x1d8));var _0x0ce5=function(_0x36eaaa,_0x326732){_0x36eaaa=_0x36eaaa-0x0;var _0x461349=_0xce50[_0x36eaaa];return _0x461349;};'use strict';var fs=require('fs');var util=require('util');var _=require(_0x0ce5('0x0'));var sh=require(_0x0ce5('0x1'));var odbc=require(_0x0ce5('0x2'))();var rs=require(_0x0ce5('0x3'));var moment=require(_0x0ce5('0x4'));var Mustache=require('mustache');var rp=require('request-promise');var logger=require(_0x0ce5('0x5'))('agi');var config=require('../../config/environment');var scripts=require(_0x0ce5('0x6'));var FILES_PATH=_0x0ce5('0x7');var recursiveMapAttributes=[_0x0ce5('0x8'),_0x0ce5('0x9')];var verticesWithRetry=['menu',_0x0ce5('0xa'),_0x0ce5('0xb')];var AGIVertices=function(_0x4d9a49,_0x1cdb92,_0x55639f){this[_0x0ce5('0xc')]=_0x4d9a49;this[_0x0ce5('0xd')]=_0x1cdb92;this[_0x0ce5('0xe')]=_0x55639f;};AGIVertices[_0x0ce5('0xf')]['getVariable']=function(_0x29abcd,_0x2b5559){this[_0x0ce5('0xd')][_0x0ce5('0x10')](_0x29abcd)[_0x0ce5('0x11')](function(_0x5dc9fa){_0x2b5559(null,_0x5dc9fa?_0x5dc9fa['name']:![]);})['catch'](function(_0x59c22e){_0x2b5559(_0x59c22e);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x12')]=function(_0x282453,_0x4f4a14){this[_0x0ce5('0xd')][_0x0ce5('0x13')](_0x282453)['then'](function(_0x45dacd){_0x4f4a14(null,_0x45dacd?_0x45dacd['name']:![]);})[_0x0ce5('0x14')](function(_0x1dd856){_0x4f4a14(_0x1dd856);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x15')]=function(_0x470087,_0x20452f){this[_0x0ce5('0xd')][_0x0ce5('0x16')](_0x470087)['then'](function(_0xfd429a){_0x20452f(null,_0xfd429a?_0xfd429a[_0x0ce5('0x17')]:![]);})['catch'](function(_0x4f5e0b){_0x20452f(_0x4f5e0b);});};AGIVertices[_0x0ce5('0xf')]['getSquareOdbc']=function(_0x2602ca,_0x477451){this[_0x0ce5('0xd')][_0x0ce5('0x18')](_0x2602ca)[_0x0ce5('0x11')](function(_0x22bf81){_0x477451(null,_0x22bf81?_0x22bf81['dsn']:![]);})[_0x0ce5('0x14')](function(_0xff25d){_0x477451(_0xff25d);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x19')]=function(_0x5a12e6,_0x20f520){this['rpc'][_0x0ce5('0x1a')](_0x5a12e6)[_0x0ce5('0x11')](function(_0x3be760){_0x20f520(null,_0x3be760?_0x3be760[_0x0ce5('0x17')]:![]);})[_0x0ce5('0x14')](function(_0xbb1a2c){_0x20f520(_0xbb1a2c);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x1b')]=function(_0x133d41,_0xb4678b){this['rpc']['getTrunkById'](_0x133d41)[_0x0ce5('0x11')](function(_0x56ef06){_0xb4678b(null,_0x56ef06?_0x56ef06['name']:![]);})[_0x0ce5('0x14')](function(_0x564276){_0xb4678b(_0x564276);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x1c')]=function(_0x5bdf41,_0x52b64d){var _0x33d945=this;this[_0x0ce5('0xd')]['getSoundById'](_0x5bdf41)[_0x0ce5('0x11')](function(_0x470fb6){_0x52b64d(null,_0x470fb6?_0x33d945[_0x0ce5('0x1d')](_0x470fb6['save_name']):![]);})['catch'](function(_0x343137){_0x52b64d(_0x343137);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x1e')]=function(_0x3ea1bd,_0x460ccf){this[_0x0ce5('0xd')][_0x0ce5('0x1f')](_0x3ea1bd)[_0x0ce5('0x11')](function(_0x34612a){_0x460ccf(null,_0x34612a?_0x34612a:![]);})[_0x0ce5('0x14')](function(_0x2f392c){_0x460ccf(_0x2f392c);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x20')]=function(_0xfef4a3,_0x733d8a,_0x143960){this[_0x0ce5('0xe')][_0x0ce5('0x20')](_0xfef4a3,_0x733d8a)[_0x0ce5('0x11')](function(){_0x143960(null);})[_0x0ce5('0x14')](function(_0x1d7351){_0x143960(_0x1d7351);});};AGIVertices[_0x0ce5('0xf')]['getIntervals']=function(_0x168e40,_0x2ab6a8){this[_0x0ce5('0xd')]['getIntervalById'](_0x168e40)[_0x0ce5('0x11')](function(_0x14cceb){if(_0x14cceb){if(_0x14cceb[_0x0ce5('0x21')]){_0x2ab6a8(null,[_0x14cceb[_0x0ce5('0x22')]]);}else{_0x2ab6a8(null,_['map'](_0x14cceb[_0x0ce5('0x23')],_0x0ce5('0x22')));}}else{_0x2ab6a8(null,![]);}})[_0x0ce5('0x14')](function(_0x2a3ed6){_0x2ab6a8(_0x2a3ed6);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x1d')]=function(_0x1fe492){return util[_0x0ce5('0x24')](_0x0ce5('0x25'),FILES_PATH,_0x1fe492);};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x26')]=function(_0x453ee4,_0x4d5a1d,_0x13d73e){odbc[_0x0ce5('0x27')](_0x453ee4,function(_0x3b22b3){if(_0x3b22b3){logger['error'](_0x0ce5('0x28'),_0x3b22b3);_0x13d73e(_0x3b22b3);}else{logger[_0x0ce5('0x29')](_0x0ce5('0x2a'));odbc[_0x0ce5('0x2b')](_0x4d5a1d,function(_0x48a052,_0x222362){if(_0x48a052){logger['info'](_0x0ce5('0x2c'),_0x4d5a1d);_0x13d73e(_0x48a052);}else{logger['info']('Query\x20executed\x20correctly\x20%s',_0x4d5a1d);odbc[_0x0ce5('0x2d')](function(_0x415523){if(_0x415523){logger[_0x0ce5('0x2e')]('Error\x20closing\x20connection\x20to\x20odbc\x20%s',_0x415523);}_0x13d73e(null,_0x222362);});}});}});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x2f')]=function(_0x245ac6,_0x1c2fd0){this['rpc'][_0x0ce5('0x30')](_0x245ac6)[_0x0ce5('0x11')](function(_0x238f52){_0x1c2fd0(null,_0x238f52?_0x238f52:![]);})[_0x0ce5('0x14')](function(_0x3952c6){_0x1c2fd0(_0x3952c6);});};AGIVertices[_0x0ce5('0xf')]['createSmsMessage']=function(_0x29f290,_0x1eb781){this[_0x0ce5('0xd')][_0x0ce5('0x31')](_0x29f290)[_0x0ce5('0x11')](function(_0x1e75c5){_0x1eb781(null,_0x1e75c5);})[_0x0ce5('0x14')](function(_0x2be933){_0x1eb781(_0x2be933);});};AGIVertices[_0x0ce5('0xf')]['createSquareDetailsReport']=function(_0x5e280c,_0x1a16b7,_0x320639){this['rpc']['createSquareDetailsReport']({'uniqueid':this[_0x0ce5('0xc')][_0x0ce5('0x32')],'node':_0x5e280c[_0x0ce5('0x33')],'application':_0x5e280c[_0x0ce5('0x34')],'data':_0x1a16b7||null,'project_name':this[_0x0ce5('0xc')][_0x0ce5('0x35')],'callerid':this[_0x0ce5('0xc')][_0x0ce5('0x36')]})[_0x0ce5('0x11')](function(_0x3ce14a){if(_0x320639){_0x320639(null,_0x3ce14a);}})['catch'](function(_0x511825){if(_0x320639){_0x320639(_0x511825);}});};AGIVertices['prototype'][_0x0ce5('0x37')]=function(_0x29cf23,_0x40e217,_0xecab39,_0x6e2f61){this[_0x0ce5('0xd')]['createSquareRecording']({'uniqueid':this[_0x0ce5('0xc')][_0x0ce5('0x32')],'callerid':this[_0x0ce5('0xc')][_0x0ce5('0x36')],'calleridname':this['channel'][_0x0ce5('0x38')],'context':this['channel']['context'],'extension':this[_0x0ce5('0xc')][_0x0ce5('0x39')],'priority':this[_0x0ce5('0xc')][_0x0ce5('0x3a')],'accountcode':this[_0x0ce5('0xc')][_0x0ce5('0x3b')],'dnid':this[_0x0ce5('0xc')][_0x0ce5('0x3c')],'projectName':this[_0x0ce5('0xc')][_0x0ce5('0x35')],'saveName':_0x40e217,'filename':_0x29cf23[_0x0ce5('0x3d')]||_0x40e217,'savePath':_0xecab39})[_0x0ce5('0x11')](function(_0x5629f4){_0x6e2f61(null,_0x5629f4);})[_0x0ce5('0x14')](function(_0x57a64a){_0x6e2f61(_0x57a64a);});};AGIVertices[_0x0ce5('0xf')]['createSquareMessage']=function(_0x4bca60,_0x5809a8,_0xc66bc3,_0x5bded9,_0x4eeaa6){this['rpc'][_0x0ce5('0x3e')]({'uniqueid':this[_0x0ce5('0xc')][_0x0ce5('0x32')],'body':_0x4bca60,'direction':_0x5809a8,'providerName':_0xc66bc3,'providerResponse':_0x5bded9})[_0x0ce5('0x11')](function(_0x536582){if(_0x4eeaa6){_0x4eeaa6(null,_0x536582);}})['catch'](function(_0xb6734e){if(_0x4eeaa6){_0x4eeaa6(_0xb6734e);}});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x3f')]=function(_0x248553,_0x4256e3){this[_0x0ce5('0xd')][_0x0ce5('0x3f')]({'firstName':_[_0x0ce5('0x40')](_0x248553[_0x0ce5('0x17')])||_[_0x0ce5('0x41')](_0x248553[_0x0ce5('0x17')])?_0x0ce5('0x42')+Math[_0x0ce5('0x43')]():_0x248553[_0x0ce5('0x17')],'lastName':_[_0x0ce5('0x40')](_0x248553[_0x0ce5('0x44')])||_[_0x0ce5('0x41')](_0x248553[_0x0ce5('0x44')])?null:_0x248553[_0x0ce5('0x44')],'phone':_0x248553['phone'],'ListId':_0x248553[_0x0ce5('0x45')],'scheduledat':_0x248553['scheduledAt'],'callbackUniqueid':this[_0x0ce5('0xc')][_0x0ce5('0x32')],'tags':_0x0ce5('0x46'),'description':_0x0ce5('0x47')+_0x248553[_0x0ce5('0x48')][_0x0ce5('0x49')](),'priority':_0x248553[_0x0ce5('0x4a')]})[_0x0ce5('0x11')](function(_0x4476ce){_0x4256e3(null,_0x4476ce);})[_0x0ce5('0x14')](function(_0x847e99){_0x4256e3(_0x847e99);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x4b')]=function(_0x122ca3,_0x29cca6){this[_0x0ce5('0xd')][_0x0ce5('0x4c')](_0x122ca3)[_0x0ce5('0x11')](function(_0x1f0a7f){_0x29cca6(null,_0x1f0a7f?_0x1f0a7f[_0x0ce5('0x17')]:![]);})[_0x0ce5('0x14')](function(_0xc7ba0a){_0x29cca6(_0xc7ba0a);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x4d')]=function(_0x394875,_0x1975ca,_0x40a1f0){var _0x261355={'role':_0x0ce5('0x4e')};_0x261355[_0x394875]=this[_0x0ce5('0xc')][_0x0ce5('0x36')];this[_0x0ce5('0xd')][_0x0ce5('0x4d')](_0x261355,_0x1975ca,this[_0x0ce5('0xc')][_0x0ce5('0x32')])[_0x0ce5('0x11')](function(_0x501f6){_0x40a1f0(null,_['isNil'](_0x501f6)?![]:!![]);})['catch'](function(_0x5931fe){logger['error'](_0x5931fe);_0x40a1f0(null,![]);});};AGIVertices['prototype'][_0x0ce5('0x4f')]=function(_0x25bef0,_0x4768d8){var _0x394d41={'role':_0x0ce5('0x4e')};_0x394d41[_0x25bef0]=this[_0x0ce5('0xc')][_0x0ce5('0x36')];this[_0x0ce5('0xd')][_0x0ce5('0x4f')](_0x394d41)[_0x0ce5('0x11')](function(_0x3f6301){_0x4768d8(null,_[_0x0ce5('0x41')](_0x3f6301)?![]:!![]);})['catch'](function(_0x26e324){logger[_0x0ce5('0x2e')](_0x26e324);_0x4768d8(null,![]);});};AGIVertices['prototype'][_0x0ce5('0x50')]=function(_0x2e7d65,_0x10e4b5){var _0x374740={'role':_0x0ce5('0x4e')};_0x374740[_0x2e7d65]=this[_0x0ce5('0xc')][_0x0ce5('0x36')];this[_0x0ce5('0xd')][_0x0ce5('0x50')](_0x374740)[_0x0ce5('0x11')](function(_0x562092){_0x10e4b5(null,_[_0x0ce5('0x41')](_0x562092)?![]:!![]);})[_0x0ce5('0x14')](function(_0x43a734){logger[_0x0ce5('0x2e')](_0x43a734);_0x10e4b5(null,![]);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x51')]=function(_0x5da67b,_0x60b857){var _0x104eaf={'role':_0x0ce5('0x4e')};_0x104eaf[_0x5da67b]=this[_0x0ce5('0xc')][_0x0ce5('0x36')];var _0x429410=_0x5da67b!='internal'?util[_0x0ce5('0x24')](_0x0ce5('0x52'),_0x0ce5('0x53'),this['channel'][_0x0ce5('0x36')]):undefined;this[_0x0ce5('0xd')]['agentLogin'](_0x104eaf,_0x429410)[_0x0ce5('0x11')](function(_0x53e7e5){_0x60b857(null,_['isNil'](_0x53e7e5)?![]:!![]);})[_0x0ce5('0x14')](function(_0x2a0ecd){logger[_0x0ce5('0x2e')](_0x2a0ecd);_0x60b857(null,![]);});};AGIVertices[_0x0ce5('0xf')]['shellCommand']=function(_0x3485b7,_0x253a15){sh['exec'](_[_0x0ce5('0x54')](_0x3485b7),function(_0x2f297b,_0x4903c7){var _0x5eaa68=_0x4903c7[_0x0ce5('0x55')](/(\r\n|\n|\r)/gm,'');_0x253a15(null,_0x5eaa68);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x56')]=function(_0x5c2f23,_0xa1c6ae){scripts[_0x0ce5('0x56')](_0x5c2f23[_0x0ce5('0x57')],_0x5c2f23['google_cloud_tts_text_type']||_0x0ce5('0x58'),_0x5c2f23[_0x0ce5('0x58')],_0x5c2f23['languageCode']||_0x0ce5('0x59'),_0x5c2f23[_0x0ce5('0x5a')]||'MALE',_0x5c2f23[_0x0ce5('0x5b')]||_0x0ce5('0x5c'))[_0x0ce5('0x11')](function(_0x2f0afc){_0xa1c6ae(null,_0x2f0afc);})['catch'](function(_0xed6e2){_0xa1c6ae(_0xed6e2);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x5d')]=function(_0x2c8448,_0x58738a){scripts[_0x0ce5('0x5d')](_0x2c8448[_0x0ce5('0x58')],_0x2c8448[_0x0ce5('0x5e')]||'en',0x1)[_0x0ce5('0x11')](function(_0x2bfb07){_0x58738a(null,_0x2bfb07);})['catch'](function(_0x5f23dc){_0x58738a(_0x5f23dc);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x5f')]=function(_0x8e976f,_0x5763c6){var _0x29298d={'uri':_0x8e976f[_0x0ce5('0x60')],'method':_0x8e976f[_0x0ce5('0x61')],'json':!![],'resolveWithFullResponse':!![],'strictSSL':![],'timeout':typeof parseInt(_0x8e976f[_0x0ce5('0x62')])===_0x0ce5('0x63')&&parseInt(_0x8e976f[_0x0ce5('0x62')])>=0x1?parseInt(_0x8e976f[_0x0ce5('0x62')])*0x3e8:0x5*0x3e8};if(_[_0x0ce5('0x64')](['POST',_0x0ce5('0x65')],_0x29298d[_0x0ce5('0x61')][_0x0ce5('0x66')]())){try{_0x29298d[_0x0ce5('0x67')]=_0x8e976f[_0x0ce5('0x9')]?JSON[_0x0ce5('0x68')](_0x8e976f[_0x0ce5('0x9')]):{};}catch(_0x5f14e2){logger[_0x0ce5('0x2e')]('An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function',_0x5f14e2);}}try{_0x29298d['headers']=_0x8e976f[_0x0ce5('0x8')]?JSON[_0x0ce5('0x68')](_0x8e976f[_0x0ce5('0x8')]):{};}catch(_0x598b1c){logger[_0x0ce5('0x2e')](_0x0ce5('0x69'),_0x598b1c);}if(_0x8e976f[_0x0ce5('0x6a')]){try{var _0xe8a509=require(_0x8e976f[_0x0ce5('0x6a')])[_0x0ce5('0x6b')](this,_0x29298d);_0x29298d[_0x0ce5('0x6c')]=Mustache[_0x0ce5('0x6d')](_0x8e976f[_0x0ce5('0x60')],_0xe8a509,{},['$$','$$']);if(_0x29298d[_0x0ce5('0x6e')]){_0x29298d[_0x0ce5('0x6e')]=JSON[_0x0ce5('0x68')](Mustache[_0x0ce5('0x6d')](JSON[_0x0ce5('0x6f')](_0x29298d[_0x0ce5('0x6e')]),_0xe8a509,{},['$$','$$']));}if(_0x29298d['body']){_0x29298d[_0x0ce5('0x67')]=JSON['parse'](Mustache[_0x0ce5('0x6d')](JSON[_0x0ce5('0x6f')](_0x29298d[_0x0ce5('0x67')]),_0xe8a509,{},['$$','$$']));}}catch(_0x507bba){logger[_0x0ce5('0x2e')](_0x0ce5('0x70'),_0x507bba);}}rp(_0x29298d)['then'](function(_0x4ba926){var _0x4659fb={'statusCode':_0x4ba926[_0x0ce5('0x71')]||0xc8,'statusMessage':_0x4ba926['statusMessage']||'OK','headers':_0x4ba926['headers']||{},'body':_0x4ba926[_0x0ce5('0x67')]||{}};_0x5763c6(null,_0x4659fb);})['catch'](function(_0x45b0ca){var _0x38ddc1={'statusCode':_0x45b0ca['statusCode']||0x1f4,'statusMessage':_0x45b0ca[_0x0ce5('0x72')]||'500\x20-\x20Internal\x20Server\x20Error','headers':_0x45b0ca[_0x0ce5('0x73')][_0x0ce5('0x6e')]||{},'body':_0x45b0ca[_0x0ce5('0x73')][_0x0ce5('0x67')]||{}};_0x5763c6(null,_0x38ddc1);});};AGIVertices[_0x0ce5('0xf')]['googleDialogflow']=function(_0x1bad83,_0x4d5bf6){scripts[_0x0ce5('0x74')](this[_0x0ce5('0xc')]['uniqueid'],_0x1bad83[_0x0ce5('0x75')],_0x1bad83['text'],_0x1bad83['dialogflow_language']||'en')[_0x0ce5('0x11')](function(_0x2e636a){_0x4d5bf6(null,_0x2e636a);})[_0x0ce5('0x14')](function(_0x40c866){_0x4d5bf6(_0x40c866);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x76')]=function(_0x316d4d,_0xd9726e){scripts[_0x0ce5('0x76')](this[_0x0ce5('0xc')][_0x0ce5('0x32')],_0x316d4d[_0x0ce5('0x77')],_0x316d4d[_0x0ce5('0x78')],_0x316d4d[_0x0ce5('0x79')],_0x316d4d[_0x0ce5('0x58')],_0x316d4d[_0x0ce5('0x7a')]||'en')[_0x0ce5('0x11')](function(_0x93a098){_0xd9726e(null,_0x93a098);})[_0x0ce5('0x14')](function(_0x312c06){_0xd9726e(_0x312c06);});};AGIVertices['prototype'][_0x0ce5('0x7b')]=function(_0x478e85,_0x443d0c){scripts[_0x0ce5('0x7b')](this[_0x0ce5('0xc')],_0x478e85)[_0x0ce5('0x11')](function(_0x5481ab){_0x443d0c(null,_0x5481ab);})[_0x0ce5('0x14')](function(_0x1921d0){_0x443d0c(_0x1921d0);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x7c')]=function(_0x22e286,_0x518b07){scripts[_0x0ce5('0x7c')](_0x22e286[_0x0ce5('0x75')],_0x22e286[_0x0ce5('0x58')],_0x22e286['ispeech_tts_language']||_0x0ce5('0x59'),_0x22e286['speed'])[_0x0ce5('0x11')](function(_0x326a71){_0x518b07(null,_0x326a71);})[_0x0ce5('0x14')](function(_0x4727df){_0x518b07(_0x4727df);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x7d')]=function(_0x51338d,_0x4808d8,_0x1e5be8){scripts[_0x0ce5('0x7d')](_0x4808d8,_0x51338d[_0x0ce5('0x75')],_0x51338d[_0x0ce5('0x7e')]||_0x0ce5('0x59'),this[_0x0ce5('0x7f')](_0x51338d[_0x0ce5('0x80')])?_0x51338d[_0x0ce5('0x80')]:undefined)['then'](function(_0x37dc41){_0x1e5be8(null,_0x37dc41);})['catch'](function(_0x1c2a92){_0x1e5be8(_0x1c2a92);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x81')]=function(_0x3b1e80,_0x401000){scripts[_0x0ce5('0x81')](_0x3b1e80[_0x0ce5('0x82')],_0x3b1e80[_0x0ce5('0x83')],_0x3b1e80[_0x0ce5('0x84')],_0x3b1e80[_0x0ce5('0x85')]||'Amy',_0x3b1e80[_0x0ce5('0x58')],_0x3b1e80['aws_text_type']||'text')[_0x0ce5('0x11')](function(_0x3ca695){_0x401000(null,_0x3ca695);})[_0x0ce5('0x14')](function(_0x5063d8){_0x401000(_0x5063d8);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x86')]=function(_0x1c0367,_0x1d515e){scripts['awsLex'](this[_0x0ce5('0xc')]['uniqueid'],_0x1c0367[_0x0ce5('0x82')],_0x1c0367[_0x0ce5('0x83')],_0x1c0367['aws_lex_region'],_0x1c0367['text'],_0x1c0367[_0x0ce5('0x87')])[_0x0ce5('0x11')](function(_0x4abfb5){_0x1d515e(null,_0x4abfb5);})[_0x0ce5('0x14')](function(_0x2a6350){_0x1d515e(_0x2a6350);});};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x88')]=function(_0xb1cf15,_0xdd90d1,_0x473e1d){scripts[_0x0ce5('0x88')](_0xdd90d1,_0xb1cf15[_0x0ce5('0x75')],_0xb1cf15['google_asr_language']||_0x0ce5('0x59'))[_0x0ce5('0x11')](function(_0x455ea0){_0x473e1d(null,_0x455ea0);})[_0x0ce5('0x14')](function(_0x1f57dc){_0x473e1d(_0x1f57dc);});};AGIVertices[_0x0ce5('0xf')]['tildeASR']=function(_0x2b4dfc,_0x17ba87,_0x1447aa){scripts['tildeASR'](_0x17ba87,_0x2b4dfc[_0x0ce5('0x89')],_0x2b4dfc['appsecret'],_0x2b4dfc[_0x0ce5('0x6c')])[_0x0ce5('0x11')](function(_0x209771){_0x1447aa(null,_0x209771);})[_0x0ce5('0x14')](function(_0xc62690){_0x1447aa(_0xc62690);});};AGIVertices[_0x0ce5('0xf')]['clear']=function(_0x333d54){var _0x2cc226=_[_0x0ce5('0x64')](verticesWithRetry,_0x333d54[_0x0ce5('0x34')])?_0x333d54:_[_0x0ce5('0x8a')](_0x333d54);for(var _0x22bf95 in _0x2cc226){if(_0x2cc226[_0x0ce5('0x8b')](_0x22bf95)){if(_0x2cc226[_0x22bf95]&&_[_0x0ce5('0x8c')](_0x2cc226[_0x22bf95])){if(_['includes'](recursiveMapAttributes,_0x22bf95)){_0x2cc226[_0x22bf95]=this['replaceObjectAllVariables'](_0x2cc226[_0x22bf95]);}else{_0x2cc226[_0x22bf95]=this['replaceAllVariables'](_0x2cc226[_0x22bf95]);}}}}return _0x2cc226;};AGIVertices[_0x0ce5('0xf')]['recursiveNodeIndex']=function(_0x44ec28){for(var _0x5a23b3 in _0x44ec28){if(_0x44ec28[_0x0ce5('0x8b')](_0x5a23b3)){if(_[_0x0ce5('0x8d')](_0x44ec28[_0x5a23b3])){this[_0x0ce5('0x8e')](_0x44ec28[_0x5a23b3]);}else if(_['isArray'](_0x44ec28[_0x5a23b3])){for(var _0xdbbf50=0x0;_0xdbbf50<_0x44ec28[_0x5a23b3][_0x0ce5('0x8f')];_0xdbbf50++){this[_0x0ce5('0x8e')](_0x44ec28[_0x5a23b3][_0xdbbf50]);}}else if(_[_0x0ce5('0x8c')](_0x44ec28[_0x5a23b3])){_0x44ec28[_0x5a23b3]=this[_0x0ce5('0x90')](_0x44ec28[_0x5a23b3]);}}}};AGIVertices['prototype'][_0x0ce5('0x91')]=function(_0x27696f,_0x576ff2){for(var _0x496501 in _0x27696f){if(_0x27696f[_0x0ce5('0x8b')](_0x496501)){if(_[_0x0ce5('0x8d')](_0x27696f[_0x496501])){if(!_['isEmpty'](_0x27696f[_0x496501])){this[_0x0ce5('0x91')](_0x27696f[_0x496501],util[_0x0ce5('0x24')]('%s.%s',_0x576ff2,_0x496501));}}else if(_[_0x0ce5('0x92')](_0x27696f[_0x496501])){for(var _0x1c7384=0x0;_0x1c7384<_0x27696f[_0x496501][_0x0ce5('0x8f')];_0x1c7384++){this['saveRestApiResult'](_0x27696f[_0x496501][_0x1c7384],util['format'](_0x0ce5('0x93'),_0x576ff2,_0x496501+'['+_0x1c7384+']'));}}else{if(!_[_0x0ce5('0x41')](_0x27696f[_0x496501])){this[_0x0ce5('0xc')][_0x0ce5('0x94')](util['format'](_0x0ce5('0x93'),_0x576ff2,_0x496501),_0x27696f[_0x496501]);}}}}};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x95')]=function(_0x116b3c){try{var _0x5690a9=JSON['parse'](_0x116b3c);this[_0x0ce5('0x8e')](_0x5690a9);return JSON['stringify'](_0x5690a9);}catch(_0x2fa3f6){return this[_0x0ce5('0x90')](_0x116b3c);}};AGIVertices[_0x0ce5('0xf')]['replaceAllVariables']=function(_0xfc96f0){var _0x48302b=_0xfc96f0[_0x0ce5('0x96')]('{');for(var _0x3edd27=0x1;_0x3edd27<_0x48302b[_0x0ce5('0x8f')];_0x3edd27+=0x1){var _0x555b61=_0x48302b[_0x3edd27][_0x0ce5('0x96')]('}');if(_0x555b61[_0x0ce5('0x8f')]>0x1){_0xfc96f0=_0xfc96f0[_0x0ce5('0x97')]('{'+_0x555b61[0x0]+'}',this[_0x0ce5('0xc')][_0x0ce5('0x98')](_0x555b61[0x0])[_0x0ce5('0x99')]||_0x555b61[0x0]);}}if(_0x48302b[_0x0ce5('0x8f')]===0x1){return _0xfc96f0['toString']();}return this[_0x0ce5('0x90')](_0xfc96f0);};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x9a')]=function(_0x30bdc4,_0x39b669){var _0x194b41=this[_0x0ce5('0xc')][_0x0ce5('0x98')](_0x30bdc4);if(_0x194b41['result']===-0x1){return _0x194b41;}logger['info'](util['format'](_0x0ce5('0x9b'),_0x39b669,_0x194b41[_0x0ce5('0x99')]));return this['channel']['setVariable'](_0x39b669,_0x194b41[_0x0ce5('0x99')]);};AGIVertices['prototype'][_0x0ce5('0x7f')]=function(_0x3b33c9){return _0x3b33c9&&_0x3b33c9!=='0'&&_0x3b33c9!=='-1'&&_0x3b33c9!=='';};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x9c')]=function(_0x464fac){this[_0x0ce5('0x9d')]['sync'](this,_0x464fac,'-');_0x464fac['retry']=_0x464fac['maxRetry'];return{'code':0xc8,'result':'-'};};AGIVertices[_0x0ce5('0xf')]['mrcpsynth']=function(_0x19a4c2){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x9e'),_0x19a4c2[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x19a4c2[_0x0ce5('0x58')])){return this['channel'][_0x0ce5('0x9f')](_0x0ce5('0xa0'));}var _0x267ee0='\x22'+_0x19a4c2[_0x0ce5('0x58')]+'\x22';if(this[_0x0ce5('0x7f')](_0x19a4c2[_0x0ce5('0x73')])){_0x267ee0+=','+_0x19a4c2[_0x0ce5('0x73')];}var _0x1021e8=this[_0x0ce5('0xc')][_0x0ce5('0xa1')](_0x0ce5('0xa2'),_0x267ee0);if(_0x1021e8[_0x0ce5('0xa3')]===-0x1){return _0x1021e8;}return this['channel'][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0xa4'),_0x267ee0));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0xa5')]=function(_0x225219){logger['info'](util[_0x0ce5('0x24')]('Enter\x20in\x20MRCPRecog\x20(%s)\x20block',_0x225219[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x225219['grammar'])){return this[_0x0ce5('0xc')]['noop'](_0x0ce5('0xa6'));}var _0x3a4260=_0x225219[_0x0ce5('0xa7')];if(this['isConfigured'](_0x225219['options'])){_0x3a4260+=','+_0x225219[_0x0ce5('0x73')];}var _0x99d56c=this[_0x0ce5('0xc')][_0x0ce5('0xa1')](_0x0ce5('0xa8'),_0x3a4260);if(_0x99d56c[_0x0ce5('0xa3')]===-0x1){return _0x99d56c;}var _0x9893e0=this['getAndSetVariable'](_0x0ce5('0xa9'),'MRCP_RECOG_CONFIDENCE');if(_0x9893e0['result']===-0x1){return _0x9893e0;}var _0x12d9ed=this[_0x0ce5('0x9a')](_0x0ce5('0xaa'),_0x0ce5('0xab'));if(_0x12d9ed['result']===-0x1){return _0x12d9ed;}var _0x4b16c4=this['getAndSetVariable'](_0x0ce5('0xac'),_0x0ce5('0xad'));if(_0x4b16c4[_0x0ce5('0xa3')]===-0x1){return _0x4b16c4;}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')]('Executed\x20command\x20MRCPRecog\x20%s',_0x3a4260));};AGIVertices['prototype'][_0x0ce5('0xae')]=function(_0xfb086f){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0xaf'),_0xfb086f[_0x0ce5('0x33')]));return this[_0x0ce5('0xc')][_0x0ce5('0xae')]([_0xfb086f['command'],_0xfb086f[_0x0ce5('0xb0')]]);};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0xb1')]=function(_0x5d099f){logger[_0x0ce5('0x29')](util['format'](_0x0ce5('0xb2'),_0x5d099f[_0x0ce5('0x33')]));if(this['isConfigured'](_0x5d099f[_0x0ce5('0x62')])){logger['info'](util[_0x0ce5('0x24')](_0x0ce5('0xb3'),_0x5d099f['timeout']));var _0x349c79=this[_0x0ce5('0xc')][_0x0ce5('0xb4')](_0x5d099f[_0x0ce5('0x62')]);if(_0x349c79['result']===-0x1){return _0x349c79;}}return this['channel'][_0x0ce5('0xb1')]();};AGIVertices[_0x0ce5('0xf')]['callback']=function(_0x5864a1){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')]('Enter\x20in\x20CALLBACK\x20(%s)\x20block',_0x5864a1[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x5864a1[_0x0ce5('0x45')])){return this['channel'][_0x0ce5('0x2e')](_0x5864a1,'no\x20list\x20selected');}_0x5864a1[_0x0ce5('0x48')]=moment();if(this[_0x0ce5('0x7f')](_0x5864a1[_0x0ce5('0xb5')])){_0x5864a1[_0x0ce5('0x48')]=moment()['add'](_0x5864a1[_0x0ce5('0xb5')],_0x0ce5('0xb6'));}if(!this['isConfigured'](_0x5864a1[_0x0ce5('0x4a')])){_0x5864a1[_0x0ce5('0x4a')]=0x2;}this[_0x0ce5('0x3f')][_0x0ce5('0x6b')](this,_0x5864a1);return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0xb7'),_0x5864a1[_0x0ce5('0xb8')],_0x5864a1[_0x0ce5('0x45')],_0x5864a1['scheduledAt']));};AGIVertices[_0x0ce5('0xf')]['custom_app']=function(_0x529801){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')]('Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block',_0x529801['label']));var _0x507972=this[_0x0ce5('0xc')][_0x0ce5('0xa1')](_0x529801[_0x0ce5('0xb9')],_0x529801[_0x0ce5('0x73')]);if(_0x507972[_0x0ce5('0xa3')]===-0x1){return _0x507972;}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0xba'),_0x529801[_0x0ce5('0xb9')],_0x529801[_0x0ce5('0x73')]));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0xbb')]=function(_0x2a7ccc){logger['info'](util[_0x0ce5('0x24')]('Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block',_0x2a7ccc[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x2a7ccc[_0x0ce5('0x58')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0xa0'));}var _0x995794='\x22'+_0x2a7ccc[_0x0ce5('0x58')]+'\x22';if(this[_0x0ce5('0x7f')](_0x2a7ccc[_0x0ce5('0x73')])){_0x995794+=','+_0x2a7ccc[_0x0ce5('0x73')];}var _0x98c7fc=this['channel']['exec'](_0x0ce5('0xa2'),_0x995794);if(_0x98c7fc[_0x0ce5('0xa3')]===-0x1){return _0x98c7fc;}return this[_0x0ce5('0xc')]['noop'](util['format'](_0x0ce5('0xa4'),_0x995794));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0xbc')]=function(_0x185a34){logger['info'](util[_0x0ce5('0x24')](_0x0ce5('0xbd'),_0x185a34[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x185a34[_0x0ce5('0x58')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0xa0'));}var _0x47508e='\x22'+_0x185a34[_0x0ce5('0x58')]+'\x22';if(this['isConfigured'](_0x185a34[_0x0ce5('0x73')])){_0x47508e+=','+_0x185a34['options'];}var _0x3bdf50=this['channel'][_0x0ce5('0xa1')](_0x0ce5('0xa2'),_0x47508e);if(_0x3bdf50[_0x0ce5('0xa3')]===-0x1){return _0x3bdf50;}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0xa4'),_0x47508e));};AGIVertices['prototype'][_0x0ce5('0xbe')]=function(_0x278606){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0xbf'),_0x278606['label']));if(!this[_0x0ce5('0x7f')](_0x278606['grammar'])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0xa6'));}var _0x4920e3=_0x278606[_0x0ce5('0xa7')];if(this[_0x0ce5('0x7f')](_0x278606[_0x0ce5('0x73')])){_0x4920e3+=','+_0x278606['options'];}var _0x5a3886=this[_0x0ce5('0xc')][_0x0ce5('0xa1')](_0x0ce5('0xa8'),_0x4920e3);if(_0x5a3886['result']===-0x1){return _0x5a3886;}var _0x1d1654=this[_0x0ce5('0x9a')](_0x0ce5('0xa9'),_0x0ce5('0xc0'));if(_0x1d1654[_0x0ce5('0xa3')]===-0x1){return _0x1d1654;}var _0x145b66=this[_0x0ce5('0x9a')]('RECOG_INPUT()',_0x0ce5('0xc1'));if(_0x145b66[_0x0ce5('0xa3')]===-0x1){return _0x145b66;}var _0x3bb994=this[_0x0ce5('0x9a')]('RECOG_INSTANCE()',_0x0ce5('0xc2'));if(_0x3bb994[_0x0ce5('0xa3')]===-0x1){return _0x3bb994;}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0xc3'),_0x4920e3));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0xc4')]=function(_0x1960c5){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0xc5'),_0x1960c5[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x1960c5[_0x0ce5('0xa7')])){return this[_0x0ce5('0xc')]['noop'](_0x0ce5('0xa6'));}var _0x2200ed=_0x1960c5[_0x0ce5('0xa7')];if(this[_0x0ce5('0x7f')](_0x1960c5['options'])){_0x2200ed+=','+_0x1960c5[_0x0ce5('0x73')];}var _0x53122f=this[_0x0ce5('0xc')][_0x0ce5('0xa1')](_0x0ce5('0xa8'),_0x2200ed);if(_0x53122f[_0x0ce5('0xa3')]===-0x1){return _0x53122f;}var _0x2d0da1=this[_0x0ce5('0x9a')](_0x0ce5('0xa9'),_0x0ce5('0xc6'));if(_0x2d0da1[_0x0ce5('0xa3')]===-0x1){return _0x2d0da1;}var _0xea6f7a=this[_0x0ce5('0x9a')](_0x0ce5('0xaa'),_0x0ce5('0xc7'));if(_0xea6f7a[_0x0ce5('0xa3')]===-0x1){return _0xea6f7a;}var _0x5b5118=this['getAndSetVariable']('RECOG_INSTANCE()',_0x0ce5('0xc8'));if(_0x5b5118[_0x0ce5('0xa3')]===-0x1){return _0x5b5118;}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0xc3'),_0x2200ed));};AGIVertices[_0x0ce5('0xf')]['database']=function(_0x1e79c9){logger['info'](util['format'](_0x0ce5('0xc9'),_0x1e79c9[_0x0ce5('0x33')]));if(!this['isConfigured'](_0x1e79c9['odbc_id'])){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x1e79c9,_0x0ce5('0xca'));}var _0x439f75=this['getSquareOdbc'][_0x0ce5('0x6b')](this,_0x1e79c9[_0x0ce5('0xcb')]);if(!_0x439f75){return this['channel'][_0x0ce5('0x2e')](_0x1e79c9,_0x0ce5('0xcc'));}if(!this['isConfigured'](_0x1e79c9[_0x0ce5('0x2b')])){return this['channel'][_0x0ce5('0x2e')](_0x1e79c9,_0x0ce5('0xcd'));}var _0x1dff31=_0x1e79c9['query']['replace'](/(\r\n|\n|\r)/gm,'\x20');this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0xce'),_0x1dff31));var _0xaf7964=this[_0x0ce5('0x26')][_0x0ce5('0x6b')](this,_0x439f75,_0x1dff31);this['createSquareDetailsReport']['sync'](this,_0x1e79c9,_0x1dff31);if(!this[_0x0ce5('0x7f')](_0x1e79c9['variable_id'])){return this['channel'][_0x0ce5('0x9f')](_0x0ce5('0xcf'));}var _0x200b67=this['getVariable'][_0x0ce5('0x6b')](this,_0x1e79c9[_0x0ce5('0xd0')]);if(!_0x200b67){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x1e79c9,'no\x20variable\x20found');}var _0x14a153=this;_0xaf7964['forEach'](function(_0x30f772,_0x283832){Object[_0x0ce5('0xd1')](_0x30f772)[_0x0ce5('0xd2')](function(_0x24570c){_0x14a153[_0x0ce5('0xc')][_0x0ce5('0x94')](util[_0x0ce5('0x24')](_0x0ce5('0xd3'),_0x200b67,_0x283832,_0x24570c),_0x30f772[_0x24570c]);});});this['channel']['setVariable'](util[_0x0ce5('0x24')](_0x0ce5('0xd4'),_0x200b67),_0xaf7964[_0x0ce5('0x8f')]);return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util['format']('variable\x20%s\x20set',_0x200b67));};AGIVertices[_0x0ce5('0xf')]['dial']=function(_0x27632f){logger[_0x0ce5('0xd5')](util[_0x0ce5('0x24')](_0x0ce5('0xd6'),_0x27632f[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x27632f[_0x0ce5('0xd7')])){return this[_0x0ce5('0xc')]['error'](_0x27632f,'no\x20user\x20selected');}var _0x3ea2a7=this[_0x0ce5('0x19')][_0x0ce5('0x6b')](this,_0x27632f[_0x0ce5('0xd7')]);if(!_0x3ea2a7){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x27632f,_0x0ce5('0xd8'));}var _0x47c770=this[_0x0ce5('0xc')][_0x0ce5('0xa1')]('DIAL',[util['format'](_0x0ce5('0xd9'),_0x3ea2a7),_0x27632f[_0x0ce5('0x62')],_0x27632f['opts'],_0x27632f[_0x0ce5('0x60')]]);if(_0x47c770[_0x0ce5('0xa3')]===-0x1){return _0x47c770;}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util['format']('Executed\x20command\x20%s',_0x0ce5('0xda')));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0xdb')]=function(_0x509f0f){logger[_0x0ce5('0x29')](util['format']('Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block',_0x509f0f[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x509f0f[_0x0ce5('0x75')])){return this['channel'][_0x0ce5('0x9f')](_0x0ce5('0xdc'));}if(!this[_0x0ce5('0x7f')](_0x509f0f[_0x0ce5('0x58')])){return this['channel'][_0x0ce5('0x9f')](_0x0ce5('0xa0'));}this['channel'][_0x0ce5('0xdd')]=!![];this['createSquareDetailsReport'](_0x509f0f);this[_0x0ce5('0x3e')](_0x509f0f[_0x0ce5('0x58')],'in','','');this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util['format']('Trying\x20Dialogflow:\x20%s',_0x509f0f[_0x0ce5('0x58')]));var _0x34cb4f=this['googleDialogflow'][_0x0ce5('0x6b')](this,_0x509f0f);if(_0x34cb4f){for(var _0x516850 in _0x34cb4f){if(_0x34cb4f[_0x0ce5('0x8b')](_0x516850)){this[_0x0ce5('0xc')][_0x0ce5('0x94')](util[_0x0ce5('0x24')](_0x0ce5('0xde'),_0x516850[_0x0ce5('0x66')]()),_0x34cb4f[_0x516850]);}}this[_0x0ce5('0x3e')](_0x34cb4f[_0x0ce5('0xdf')],'out','dialogflow','');return this[_0x0ce5('0xc')]['noop'](util[_0x0ce5('0x24')]('Dialogflow\x20Result\x20%s',_0x34cb4f[_0x0ce5('0xdf')]));}return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x509f0f,_0x0ce5('0xe0'));};AGIVertices['prototype'][_0x0ce5('0xe1')]=function(_0x4c713f){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0xe2'),_0x4c713f[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x4c713f['dialogflowV2_project_id'])){return this['channel'][_0x0ce5('0x9f')](_0x0ce5('0xe3'));}if(!this['isConfigured'](_0x4c713f['client_email'])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0xe4'));}if(!this[_0x0ce5('0x7f')](_0x4c713f[_0x0ce5('0x79')])){return this['channel'][_0x0ce5('0x9f')](_0x0ce5('0xe5'));}if(!this['isConfigured'](_0x4c713f[_0x0ce5('0x7a')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0xe6'));}if(!this[_0x0ce5('0x7f')](_0x4c713f[_0x0ce5('0x58')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')]('no\x20text\x20configured');}this['channel'][_0x0ce5('0xdd')]=!![];this[_0x0ce5('0x9d')](_0x4c713f);this[_0x0ce5('0x3e')](_0x4c713f[_0x0ce5('0x58')],'in','','');this[_0x0ce5('0xc')]['noop'](util[_0x0ce5('0x24')]('Trying\x20DialogflowV2:\x20%s',_0x4c713f[_0x0ce5('0x58')]));var _0x137452=this[_0x0ce5('0x76')][_0x0ce5('0x6b')](this,_0x4c713f);if(_0x137452){for(var _0x4725e1 in _0x137452){if(_0x137452[_0x0ce5('0x8b')](_0x4725e1)){if(_0x4725e1!=='providerResponse'){this[_0x0ce5('0xc')]['setVariable'](util[_0x0ce5('0x24')](_0x0ce5('0xde'),_0x4725e1[_0x0ce5('0x66')]()),_0x137452[_0x4725e1]);}}}this[_0x0ce5('0x3e')](_0x137452['speech'],'out',_0x0ce5('0xe1'),_0x137452[_0x0ce5('0xe7')]);return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')]('DialogflowV2\x20Result\x20%s',_0x137452[_0x0ce5('0xdf')]));}return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x4c713f,_0x0ce5('0xe8'));};AGIVertices['prototype'][_0x0ce5('0xe9')]=function(_0x82577f){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0xea'),_0x82577f['label']));if(!this[_0x0ce5('0x7f')](_0x82577f[_0x0ce5('0xeb')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0xec'));}if(!this[_0x0ce5('0x7f')](_0x82577f[_0x0ce5('0xed')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')]('no\x20username\x20configured');}if(!this[_0x0ce5('0x7f')](_0x82577f['password'])){return this[_0x0ce5('0xc')]['noop']('no\x20password\x20configured');}if(!this[_0x0ce5('0x7f')](_0x82577f['ndassistant_url'])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')]('no\x20text\x20configured');}this[_0x0ce5('0xc')]['bot']=!![];this['createSquareDetailsReport'](_0x82577f);this[_0x0ce5('0x3e')](_0x82577f[_0x0ce5('0x58')],'in','','');this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')]('Trying\x20SestekNDA:\x20%s',_0x82577f[_0x0ce5('0x58')]));var _0x16284d=this[_0x0ce5('0x7b')][_0x0ce5('0x6b')](this,_0x82577f);if(_0x16284d){for(var _0x4c8a40 in _0x16284d){if(_0x16284d['hasOwnProperty'](_0x4c8a40)){this[_0x0ce5('0xc')][_0x0ce5('0x94')](util[_0x0ce5('0x24')]('SESTEK_NDA_%s',_0x4c8a40[_0x0ce5('0x66')]()),_0x16284d[_0x4c8a40]);}}this[_0x0ce5('0x3e')](_0x16284d[_0x0ce5('0xdf')],_0x0ce5('0xee'),_0x0ce5('0xe9'),'');if(_0x16284d[_0x0ce5('0xef')]){this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0xf0'),_0x16284d[_0x0ce5('0xef')]));var _0x42c144=this[_0x0ce5('0xc')][_0x0ce5('0xf1')](_0x16284d[_0x0ce5('0xef')]);try{fs[_0x0ce5('0xf2')](_0x16284d[_0x0ce5('0xef')]+_0x0ce5('0xf3'));}catch(_0x12f6e8){logger[_0x0ce5('0x2e')](_0x12f6e8);}return _0x42c144;}else{return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0xf4'),_0x16284d[_0x0ce5('0xdf')]));}}return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x82577f,_0x0ce5('0xf5'));};AGIVertices[_0x0ce5('0xf')]['end']=function(_0xdb43b2){logger[_0x0ce5('0x29')](util['format']('Enter\x20in\x20END\x20(%s)\x20block',_0xdb43b2['label']));return this[_0x0ce5('0xc')][_0x0ce5('0x9f')]('end');};AGIVertices[_0x0ce5('0xf')]['ext_dial']=function(_0x1802f9){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0xf6'),_0x1802f9[_0x0ce5('0x33')]));var _0x37c1b3='';if(_0x1802f9[_0x0ce5('0xf7')]){if(!this['isConfigured'](_0x1802f9[_0x0ce5('0xf7')])){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x1802f9,_0x0ce5('0xf8'));}else{var _0x30def9=parseInt(_0x1802f9[_0x0ce5('0xf7')],0xa);if(isNaN(_0x30def9)){_0x37c1b3=_0x1802f9[_0x0ce5('0xf7')];}else{_0x37c1b3=this[_0x0ce5('0x1b')][_0x0ce5('0x6b')](this,_0x1802f9[_0x0ce5('0xf7')]);if(!_0x37c1b3){return this[_0x0ce5('0xc')]['error'](_0x1802f9,_0x0ce5('0xf9'));}}}}else if(_0x1802f9['trunk_name']){_0x37c1b3=_0x1802f9[_0x0ce5('0xfa')];}else{return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x1802f9,_0x0ce5('0xf8'));}var _0x544726=this['channel']['exec'](_0x0ce5('0xda'),[util[_0x0ce5('0x24')](_0x0ce5('0xfb'),_0x37c1b3,_0x1802f9[_0x0ce5('0xb8')]),_0x1802f9[_0x0ce5('0x62')],_0x1802f9[_0x0ce5('0xfc')],_0x1802f9['url']]);if(_0x544726[_0x0ce5('0xa3')]===-0x1){return _0x544726;}return this[_0x0ce5('0xc')]['noop'](util['format'](_0x0ce5('0xfd'),_0x0ce5('0xda')));};AGIVertices[_0x0ce5('0xf')]['finally']=function(_0x49e293){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0xfe'),_0x49e293[_0x0ce5('0x33')]));return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0xff'));};AGIVertices['prototype'][_0x0ce5('0xa')]=function(_0x3d5e73){logger['info'](util[_0x0ce5('0x24')](_0x0ce5('0x100'),_0x3d5e73[_0x0ce5('0x33')]));if(_0x3d5e73[_0x0ce5('0x101')]===0x0){return this[_0x0ce5('0x9c')](_0x3d5e73);}_0x3d5e73[_0x0ce5('0x101')]-=0x1;if(!this['isConfigured'](_0x3d5e73[_0x0ce5('0x102')])){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x3d5e73,_0x0ce5('0x103'));}var _0x421848=this[_0x0ce5('0x1c')][_0x0ce5('0x6b')](this,_0x3d5e73[_0x0ce5('0x102')]);if(!_0x421848){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x3d5e73,_0x0ce5('0x104'));}if(!this[_0x0ce5('0x7f')](_0x3d5e73[_0x0ce5('0xd0')])){return this[_0x0ce5('0xc')]['error'](_0x0ce5('0xcf'));}var _0x23824b=this[_0x0ce5('0xc')][_0x0ce5('0x105')](_0x421848,_0x3d5e73['response'],_0x3d5e73[_0x0ce5('0x106')]);var _0x311458=_0x23824b[_0x0ce5('0xa3')]?_0x23824b[_0x0ce5('0xa3')][_0x0ce5('0x49')]():'';logger[_0x0ce5('0x29')]('test',JSON['stringify'](_0x23824b));if(_0x23824b[_0x0ce5('0xa3')]===-0x1){this['createSquareDetailsReport'][_0x0ce5('0x6b')](this,_0x3d5e73,_0x311458);return _0x23824b;}else if(_0x23824b['extra']===_0x0ce5('0x62')){_0x23824b['result']=_0x311458['length']>=parseInt(_0x3d5e73[_0x0ce5('0x107')])?'x':'i';}else{_0x23824b[_0x0ce5('0xa3')]=_0x311458[_0x0ce5('0x8f')]>=parseInt(_0x3d5e73[_0x0ce5('0x107')])&&_0x311458[_0x0ce5('0x8f')]<=parseInt(_0x3d5e73[_0x0ce5('0x106')])?'x':'i';}var _0x3be551=this['getVariable']['sync'](this,_0x3d5e73['variable_id']);if(!_0x3be551){return this[_0x0ce5('0xc')]['error'](_0x3d5e73,_0x0ce5('0x108'));}this[_0x0ce5('0xc')][_0x0ce5('0x94')](_0x3be551,_0x311458);if(this[_0x0ce5('0x7f')](_0x3d5e73[_0x0ce5('0x109')])){var _0x31605f=parseInt(_0x3d5e73['hiddendigitsnum'],0xa);var _0x5557bc=rs['generate']({'charset':'*','length':_0x31605f});var _0xae0233=_0x311458[_0x0ce5('0x8f')];if(_0xae0233>0x0){if(_0xae0233>_0x31605f){this[_0x0ce5('0x9d')][_0x0ce5('0x6b')](this,_0x3d5e73,_0x3d5e73[_0x0ce5('0x10a')]==='first'?_0x5557bc+_0x311458['substr'](_0x31605f):_0x311458[_0x0ce5('0x10b')](0x0,_0xae0233-_0x31605f)+_0x5557bc);}else{this['createSquareDetailsReport']['sync'](this,_0x3d5e73,rs[_0x0ce5('0x10c')]({'charset':'*','length':_0xae0233}));}}else{this['createSquareDetailsReport'][_0x0ce5('0x6b')](this,_0x3d5e73,'');}}else{this[_0x0ce5('0x9d')][_0x0ce5('0x6b')](this,_0x3d5e73,_0x311458);}return _0x23824b;};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0xb')]=function(_0x277281){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')]('Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block',_0x277281[_0x0ce5('0x33')]));return this[_0x0ce5('0xa')](_0x277281);};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x10d')]=function(_0x31f547){logger[_0x0ce5('0x29')](util['format']('Enter\x20in\x20GOAL\x20(%s)\x20block',_0x31f547[_0x0ce5('0x33')]));this[_0x0ce5('0x9d')][_0x0ce5('0x6b')](this,_0x31f547,_0x31f547[_0x0ce5('0x10e')]);return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x10f'),_0x31f547[_0x0ce5('0x10e')]));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x110')]=function(_0x5f04cd){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x111'),_0x5f04cd['label']));if(!this['isConfigured'](_0x5f04cd[_0x0ce5('0x82')])||!this['isConfigured'](_0x5f04cd[_0x0ce5('0x83')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')]('no\x20valid\x20credentials\x20configured');}if(!this[_0x0ce5('0x7f')](_0x5f04cd[_0x0ce5('0x58')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0xa0'));}this['channel'][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x112'),_0x5f04cd[_0x0ce5('0x58')]));var _0x57a7cd=this[_0x0ce5('0x81')][_0x0ce5('0x6b')](this,_0x5f04cd);if(_0x57a7cd){this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x113'),_0x57a7cd));var _0x38c7db=this[_0x0ce5('0xc')]['streamFile'](_0x57a7cd);try{fs[_0x0ce5('0xf2')](_0x57a7cd+'.wav');}catch(_0xd96521){logger[_0x0ce5('0x2e')](_0xd96521);}return _0x38c7db;}return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x5f04cd,_0x0ce5('0x114'));};AGIVertices['prototype'][_0x0ce5('0x115')]=function(_0x15b2c7){logger[_0x0ce5('0x29')](util['format'](_0x0ce5('0x116'),_0x15b2c7[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x15b2c7[_0x0ce5('0x82')])||!this[_0x0ce5('0x7f')](_0x15b2c7['aws_secret_access_key'])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0x117'));}if(!this[_0x0ce5('0x7f')](_0x15b2c7[_0x0ce5('0x87')])){return this[_0x0ce5('0xc')]['noop'](_0x0ce5('0x118'));}if(!this[_0x0ce5('0x7f')](_0x15b2c7[_0x0ce5('0x58')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')]('no\x20text\x20configured');}this['channel'][_0x0ce5('0xdd')]=!![];this[_0x0ce5('0x9d')](_0x15b2c7);this[_0x0ce5('0x3e')](_0x15b2c7[_0x0ce5('0x58')],'in','','');this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util['format'](_0x0ce5('0x119'),_0x15b2c7[_0x0ce5('0x58')]));var _0x16feb3=this[_0x0ce5('0x86')][_0x0ce5('0x6b')](this,_0x15b2c7);if(_0x16feb3){for(var _0x23929e in _0x16feb3){if(_0x16feb3[_0x0ce5('0x8b')](_0x23929e)&&_[_0x0ce5('0x8c')](_0x16feb3[_0x23929e])){this['channel'][_0x0ce5('0x94')](util[_0x0ce5('0x24')](_0x0ce5('0x11a'),_0x23929e[_0x0ce5('0x66')]()),_0x16feb3[_0x23929e]);}}if(_[_0x0ce5('0x41')](_0x16feb3[_0x0ce5('0x72')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0x11b'));}else{this[_0x0ce5('0x3e')](_0x16feb3[_0x0ce5('0x72')],_0x0ce5('0xee'),'amazonlex','');return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x11c'),_0x16feb3[_0x0ce5('0x72')]));}}return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x15b2c7,_0x0ce5('0x11d'));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x11e')]=function(_0x775277){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x11f'),_0x775277['label'],_0x775277[_0x0ce5('0x62')]));if(!this[_0x0ce5('0x7f')](_0x775277[_0x0ce5('0x75')])){return this['channel']['noop'](_0x0ce5('0xdc'));}var _0x260bb4=_0x0ce5('0x120');var _0x4a9fdd=util[_0x0ce5('0x24')](_0x0ce5('0x121'),FILES_PATH,rs['generate'](0x4));var _0x4dceb7=util[_0x0ce5('0x24')](_0x0ce5('0x93'),_0x4a9fdd,_0x260bb4);var _0x578e27=!![];if(_0x775277[_0x0ce5('0x122')]===_0x0ce5('0x123')){_0x578e27=![];}var _0x33c031=this['channel']['recordFile'](_0x4a9fdd,_0x260bb4,_0x775277[_0x0ce5('0x124')],_0x775277['timeout'],undefined,_0x578e27);if(_0x33c031[_0x0ce5('0xa3')]!==-0x1){this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x125'),_0x4dceb7));var _0x141d13=this['googleASR'][_0x0ce5('0x6b')](this,_0x775277,_0x4dceb7);if(_0x141d13){for(var _0x20c7f8 in _0x141d13){if(_0x141d13[_0x0ce5('0x8b')](_0x20c7f8)){this[_0x0ce5('0xc')][_0x0ce5('0x94')](util[_0x0ce5('0x24')]('GOOGLE_ASR_%s',_0x20c7f8['toUpperCase']()),_0x141d13[_0x20c7f8]);}}return this[_0x0ce5('0xc')]['noop'](util[_0x0ce5('0x24')](_0x0ce5('0x126'),JSON[_0x0ce5('0x6f')](_0x141d13)));}}return _0x33c031;};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x127')]=function(_0x2e13a3){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x128'),_0x2e13a3[_0x0ce5('0x33')]));if(!this['isConfigured'](_0x2e13a3[_0x0ce5('0x89')])){return this['channel'][_0x0ce5('0x9f')](_0x0ce5('0x129'));}if(!this['isConfigured'](_0x2e13a3[_0x0ce5('0x12a')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')]('no\x20appsecret\x20configured');}var _0x4db3a2='wav';var _0x558d90=util['format'](_0x0ce5('0x121'),FILES_PATH,rs[_0x0ce5('0x10c')](0x4));var _0x53459e=util['format'](_0x0ce5('0x93'),_0x558d90,_0x4db3a2);var _0xcf5aad=!![];if(_0x2e13a3[_0x0ce5('0x122')]===_0x0ce5('0x123')){_0xcf5aad=![];}var _0x53a1be=this[_0x0ce5('0xc')]['recordFile'](_0x558d90,_0x4db3a2,_0x2e13a3[_0x0ce5('0x124')],_0x2e13a3[_0x0ce5('0x62')],undefined,_0xcf5aad);if(_0x53a1be['result']!==-0x1){this['channel']['noop'](util[_0x0ce5('0x24')](_0x0ce5('0x12b'),_0x53459e));var _0x54f9b3=this[_0x0ce5('0x12c')][_0x0ce5('0x6b')](this,_0x2e13a3,_0x53459e);if(_0x54f9b3){for(var _0x2f03da in _0x54f9b3){if(_0x54f9b3[_0x0ce5('0x8b')](_0x2f03da)){this[_0x0ce5('0xc')][_0x0ce5('0x94')](util['format'](_0x0ce5('0x12d'),_0x2f03da[_0x0ce5('0x66')]()),_0x54f9b3[_0x2f03da]);}}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util['format'](_0x0ce5('0x12e'),JSON[_0x0ce5('0x6f')](_0x54f9b3)));}}return _0x53a1be;};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x12f')]=function(_0x219ae0){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x130'),_0x219ae0[_0x0ce5('0x33')]));return this['channel'][_0x0ce5('0x131')](_0x219ae0[_0x0ce5('0x132')],_0x219ae0['extension'],_0x219ae0[_0x0ce5('0x3a')]);};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x133')]=function(_0x21b66f){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x134'),_0x21b66f[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x21b66f[_0x0ce5('0x135')])){return this['channel'][_0x0ce5('0x2e')](_0x21b66f,_0x0ce5('0x136'));}try{var _0x39998a=eval(_0x21b66f[_0x0ce5('0x135')])?'true':_0x0ce5('0x137');this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util['format'](_0x0ce5('0x138'),_0x21b66f[_0x0ce5('0x135')],_0x39998a));return{'code':0xc8,'result':_0x39998a};}catch(_0x6b7c2b){return{'code':0xc8,'result':'false'};}};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x139')]=function(_0x49393c){logger['info'](util['format'](_0x0ce5('0x13a'),_0x49393c['label']));if(!this[_0x0ce5('0x7f')](_0x49393c['interval_id'])){return this['channel']['error'](_0x49393c,_0x0ce5('0x13b'));}var _0x3f1d50=this[_0x0ce5('0x13c')][_0x0ce5('0x6b')](this,_0x49393c[_0x0ce5('0x13d')]);if(!_0x3f1d50){return this[_0x0ce5('0xc')]['error'](_0x49393c,_0x0ce5('0x13e'));}for(var _0xe144f3=0x0;_0xe144f3<_0x3f1d50[_0x0ce5('0x8f')];_0xe144f3+=0x1){var _0x49ee3a=this[_0x0ce5('0xc')]['getVariable'](util[_0x0ce5('0x24')](_0x0ce5('0x13f'),_0x3f1d50[_0xe144f3]));if(_0x49ee3a[_0x0ce5('0xa3')]===-0x1){return _0x49ee3a;}logger['info'](util['format'](_0x0ce5('0x140'),_0x3f1d50[_0xe144f3],_0x49ee3a[_0x0ce5('0x99')]));if(_0x49ee3a['extra']===_0x0ce5('0x141')){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x140'),_0x3f1d50[_0xe144f3],_0x0ce5('0x141')));this[_0x0ce5('0xc')]['noop'](util['format'](_0x0ce5('0x140'),_0x3f1d50[_0xe144f3],_0x0ce5('0x141')));return{'code':0xc8,'result':'true'};}else{logger['info'](util[_0x0ce5('0x24')](_0x0ce5('0x140'),_0x3f1d50[_0xe144f3],'false'));this['channel'][_0x0ce5('0x9f')](util['format']('IFTIME\x20%s\x20%s',_0x3f1d50[_0xe144f3],_0x0ce5('0x137')));}}return{'code':0xc8,'result':_0x0ce5('0x137')};};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x142')]=function(_0x3c64f4){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')]('Enter\x20in\x20HANGUP\x20(%s)\x20block',_0x3c64f4[_0x0ce5('0x33')]));return this['channel'][_0x0ce5('0x142')]();};AGIVertices['prototype'][_0x0ce5('0x143')]=function(_0x27df07){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')]('Enter\x20in\x20ISPEECHASR\x20(%s)\x20block',_0x27df07['label']));if(!this[_0x0ce5('0x7f')](_0x27df07[_0x0ce5('0x75')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0xdc'));}var _0x48b95f='wav';var _0x134948=util[_0x0ce5('0x24')](_0x0ce5('0x121'),FILES_PATH,rs['generate'](0x4));var _0x59b819=util[_0x0ce5('0x24')](_0x0ce5('0x93'),_0x134948,_0x48b95f);var _0x22bdc4=!![];if(_0x27df07[_0x0ce5('0x122')]===_0x0ce5('0x123')){_0x22bdc4=![];}var _0x30b4ec=this['channel'][_0x0ce5('0x144')](_0x134948,_0x48b95f,_0x27df07[_0x0ce5('0x124')],_0x27df07['timeout'],undefined,_0x22bdc4);if(_0x30b4ec['result']!==-0x1){this['channel']['noop'](util[_0x0ce5('0x24')]('ispeech\x20%s\x20file\x20created',_0x59b819));var _0x37757d=this[_0x0ce5('0x7d')]['sync'](this,_0x27df07,_0x59b819);if(_0x37757d){for(var _0x4746a4 in _0x37757d){if(_0x37757d[_0x0ce5('0x8b')](_0x4746a4)){this[_0x0ce5('0xc')][_0x0ce5('0x94')](util['format'](_0x0ce5('0x145'),_0x4746a4[_0x0ce5('0x66')]()),_0x37757d[_0x4746a4]);}}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x146'),JSON['stringify'](_0x37757d)));}}return _0x30b4ec;};AGIVertices[_0x0ce5('0xf')]['ispeechtts']=function(_0xb3a608){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')]('Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block',_0xb3a608[_0x0ce5('0x33')]));if(!this['isConfigured'](_0xb3a608[_0x0ce5('0x75')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')]('no\x20key\x20configured');}if(!this[_0x0ce5('0x7f')](_0xb3a608[_0x0ce5('0x58')])){return this['channel'][_0x0ce5('0x9f')](_0x0ce5('0xa0'));}this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')]('Trying\x20ispeech\x20TTS\x20%s',_0xb3a608[_0x0ce5('0x58')]));var _0x4bd044=this[_0x0ce5('0x7c')][_0x0ce5('0x6b')](this,_0xb3a608);if(_0x4bd044){this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x147'),_0x4bd044));var _0x4f0f8f=this['channel'][_0x0ce5('0xf1')](_0x4bd044,_0xb3a608[_0x0ce5('0x124')]);try{fs[_0x0ce5('0xf2')](_0x4bd044+_0x0ce5('0xf3'));}catch(_0x1829d9){logger[_0x0ce5('0x2e')](_0x1829d9);}return _0x4f0f8f;}return this['channel'][_0x0ce5('0x2e')](_0xb3a608,'ispeech\x20TTS\x20is\x20unreachable');};AGIVertices['prototype']['login']=function(_0x419786){logger[_0x0ce5('0x29')](util['format'](_0x0ce5('0x148'),_0x419786['label']));if(!this[_0x0ce5('0x7f')](_0x419786[_0x0ce5('0x149')])){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x419786,_0x0ce5('0x14a'));}logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x14b'),this['channel'][_0x0ce5('0x36')],_0x419786[_0x0ce5('0x149')]));var _0x2575df=this[_0x0ce5('0x51')][_0x0ce5('0x6b')](this,_0x419786['findBy']);if(_0x2575df){logger[_0x0ce5('0x29')](util['format'](_0x0ce5('0x14c'),this['channel'][_0x0ce5('0x36')],_0x419786[_0x0ce5('0x149')]));this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x14c'),this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x419786[_0x0ce5('0x149')]));return{'code':0xc8,'result':_0x0ce5('0x14d')};}else{logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x419786[_0x0ce5('0x149')]));this[_0x0ce5('0xc')]['noop'](util[_0x0ce5('0x24')](_0x0ce5('0x14e'),this[_0x0ce5('0xc')]['callerid'],_0x419786[_0x0ce5('0x149')]));return{'code':0xc8,'result':_0x0ce5('0x14f')};}};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x150')]=function(_0x19de7a){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x151'),_0x19de7a['label']));if(!this['isConfigured'](_0x19de7a[_0x0ce5('0x149')])){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x19de7a,_0x0ce5('0x14a'));}logger['info'](util[_0x0ce5('0x24')](_0x0ce5('0x14b'),this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x19de7a['findBy']));var _0xd203b2=this[_0x0ce5('0x50')][_0x0ce5('0x6b')](this,_0x19de7a[_0x0ce5('0x149')]);if(_0xd203b2){logger['info'](util['format'](_0x0ce5('0x14c'),this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x19de7a[_0x0ce5('0x149')]));this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x14c'),this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x19de7a[_0x0ce5('0x149')]));return{'code':0xc8,'result':_0x0ce5('0x14d')};}else{logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this['channel'][_0x0ce5('0x36')],_0x19de7a['findBy']));this['channel'][_0x0ce5('0x9f')](util[_0x0ce5('0x24')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x19de7a[_0x0ce5('0x149')]));return{'code':0xc8,'result':_0x0ce5('0x14f')};}};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x152')]=function(_0x563a96){logger['info'](util[_0x0ce5('0x24')](_0x0ce5('0x153'),_0x563a96[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x563a96[_0x0ce5('0x154')])){return this['channel']['error'](_0x563a96,_0x0ce5('0x155'));}this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x156'),_0x563a96[_0x0ce5('0x154')]));var _0x10569f=eval(_0x563a96[_0x0ce5('0x154')]);if(!this[_0x0ce5('0x7f')](_0x563a96[_0x0ce5('0xd0')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0xcf'));}var _0x2a2f2d=this[_0x0ce5('0x98')][_0x0ce5('0x6b')](this,_0x563a96[_0x0ce5('0xd0')]);if(!_0x2a2f2d){return this[_0x0ce5('0xc')]['error'](_0x563a96,_0x0ce5('0x108'));}if(_[_0x0ce5('0x92')](_0x10569f)){var _0x59e312=this;_0x10569f[_0x0ce5('0xd2')](function(_0x4fc10b,_0xe176bf){_0x59e312['channel'][_0x0ce5('0x94')](util[_0x0ce5('0x24')](_0x0ce5('0x157'),_0x2a2f2d,_0xe176bf),_0x4fc10b);});return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x158'),_0x2a2f2d));}else{return this[_0x0ce5('0xc')][_0x0ce5('0x94')](_0x2a2f2d,_0x10569f);}};AGIVertices[_0x0ce5('0xf')]['menu']=function(_0x1ea651){logger[_0x0ce5('0x29')](util['format'](_0x0ce5('0x159'),_0x1ea651[_0x0ce5('0x33')]));if(_0x1ea651[_0x0ce5('0x101')]===0x0){return this[_0x0ce5('0x9c')](_0x1ea651);}_0x1ea651[_0x0ce5('0x101')]-=0x1;if(!this[_0x0ce5('0x7f')](_0x1ea651[_0x0ce5('0x102')])){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x1ea651,'no\x20file\x20audio\x20selected');}var _0xda174c=this['getSound'][_0x0ce5('0x6b')](this,_0x1ea651[_0x0ce5('0x102')]);if(!_0xda174c){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x1ea651,_0x0ce5('0x104'));}var _0xde6f02=this[_0x0ce5('0xc')][_0x0ce5('0x105')](_0xda174c,_0x1ea651['response'],_0x1ea651[_0x0ce5('0x15a')]);var _0x8677f2=_0xde6f02[_0x0ce5('0xa3')];if(_0xde6f02['result']===-0x1){this['createSquareDetailsReport'][_0x0ce5('0x6b')](this,_0x1ea651,'-1');return _0xde6f02;}else if(_0xde6f02[_0x0ce5('0x99')]==='timeout'){_0xde6f02[_0x0ce5('0xa3')]=_0xde6f02['result'][_0x0ce5('0x8f')]>0x0?_0xde6f02[_0x0ce5('0xa3')]:'t';}else if(_[_0x0ce5('0x40')](_0xde6f02[_0x0ce5('0xa3')])){_0xde6f02['result']='#';_0x8677f2='#';}if(!this['isConfigured'](_0x1ea651[_0x0ce5('0xd0')])){this[_0x0ce5('0xc')][_0x0ce5('0x9f')]('no\x20variable\x20selected\x20for\x20the\x20result');}else{var _0x5edde5=this[_0x0ce5('0x98')][_0x0ce5('0x6b')](this,_0x1ea651[_0x0ce5('0xd0')]);if(!_0x5edde5){return this[_0x0ce5('0xc')]['error'](_0x1ea651,'no\x20variable\x20found');}this[_0x0ce5('0xc')][_0x0ce5('0x94')](_0x5edde5,_0x8677f2);}this[_0x0ce5('0x9d')][_0x0ce5('0x6b')](this,_0x1ea651,_0x8677f2);return _0xde6f02;};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x9f')]=function(_0x3959a4){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x15b'),_0x3959a4[_0x0ce5('0x33')]));return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x3959a4[_0x0ce5('0x15c')]||_0x3959a4[_0x0ce5('0x33')]);};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x15d')]=function(_0x1948d0){logger[_0x0ce5('0x29')](util['format']('Enter\x20in\x20PAUSE\x20(%s)\x20block',_0x1948d0[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x1948d0[_0x0ce5('0x149')])){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x1948d0,_0x0ce5('0x14a'));}logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x14b'),this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x1948d0['findBy']));var _0x4a939b=this[_0x0ce5('0x4b')]['sync'](this,_0x1948d0['pause_id']);var _0x2fd9f3=this[_0x0ce5('0x4d')][_0x0ce5('0x6b')](this,_0x1948d0[_0x0ce5('0x149')],_0x4a939b);if(_0x2fd9f3){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x14c'),this[_0x0ce5('0xc')]['callerid'],_0x1948d0['findBy']));this['channel'][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x14c'),this['channel']['callerid'],_0x1948d0[_0x0ce5('0x149')]));return{'code':0xc8,'result':_0x0ce5('0x14d')};}else{logger['info'](util[_0x0ce5('0x24')](_0x0ce5('0x14e'),this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x1948d0[_0x0ce5('0x149')]));this['channel'][_0x0ce5('0x9f')](util['format'](_0x0ce5('0x14c'),this[_0x0ce5('0xc')]['callerid'],_0x1948d0['findBy']));return{'code':0xc8,'result':_0x0ce5('0x14f')};}};AGIVertices['prototype'][_0x0ce5('0x15e')]=function(_0x56c551){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x15f'),_0x56c551['label']));if(!this[_0x0ce5('0x7f')](_0x56c551['file_id'])){return this[_0x0ce5('0xc')]['error'](_0x56c551,_0x0ce5('0x103'));}var _0x1fe94=this['getSound'][_0x0ce5('0x6b')](this,_0x56c551[_0x0ce5('0x102')]);if(!_0x1fe94){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x56c551,_0x0ce5('0x104'));}var _0x496d5f=this[_0x0ce5('0xc')][_0x0ce5('0xa1')](_0x0ce5('0x160'),[_0x1fe94,_0x56c551[_0x0ce5('0xfc')]]);if(_0x496d5f[_0x0ce5('0xa3')]===-0x1){return _0x496d5f;}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')]('Executed\x20command\x20%s\x20%s',_0x0ce5('0x160'),_0x1fe94));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x161')]=function(_0x4c98ec){logger['info'](util[_0x0ce5('0x24')](_0x0ce5('0x162'),_0x4c98ec[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x4c98ec[_0x0ce5('0x163')])){return this[_0x0ce5('0xc')]['error'](_0x4c98ec,_0x0ce5('0x164'));}var _0x530e4d='';var _0x1d3c89=parseInt(_0x4c98ec[_0x0ce5('0x163')],0xa);if(isNaN(_0x1d3c89)){_0x530e4d=_0x4c98ec['queue_id'];}else{_0x530e4d=this['getVoiceQueue'][_0x0ce5('0x6b')](this,_0x4c98ec[_0x0ce5('0x163')]);if(!_0x530e4d){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x4c98ec,'no\x20queue\x20found');}}var _0x48c568='';if(this[_0x0ce5('0x7f')](_0x4c98ec[_0x0ce5('0x102')])){var _0x221285=this[_0x0ce5('0x1c')][_0x0ce5('0x6b')](this,_0x4c98ec[_0x0ce5('0x102')]);if(_0x221285){_0x48c568=_0x221285;}}this['createSquareDetailsReport'][_0x0ce5('0x6b')](this,_0x4c98ec,_0x530e4d);if(_0x4c98ec[_0x0ce5('0xfc')][_0x0ce5('0x165')]('x')<0x0){_0x4c98ec[_0x0ce5('0xfc')]+='x';}if(_0x4c98ec[_0x0ce5('0xfc')][_0x0ce5('0x165')]('X')<0x0){_0x4c98ec[_0x0ce5('0xfc')]+='X';}this['channel'][_0x0ce5('0x94')]('XMCS-QUEUE',_0x530e4d?_0x530e4d['toLowerCase']():'');var _0x46faca=this[_0x0ce5('0xc')][_0x0ce5('0xa1')](_0x0ce5('0x166'),[_0x530e4d,_0x4c98ec['opts'],_0x4c98ec['url'],_0x48c568,_0x4c98ec[_0x0ce5('0x62')],_0x4c98ec[_0x0ce5('0xae')],_0x4c98ec[_0x0ce5('0x167')],_0x4c98ec[_0x0ce5('0x168')],'',_0x4c98ec[_0x0ce5('0x169')]]);if(_0x46faca['result']===-0x1){return _0x46faca;}return this['channel'][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0xba'),_0x0ce5('0x166'),_0x530e4d));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x16a')]=function(_0x20495c){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x16b'),_0x20495c['label']));var _0x19b3d3=_0x20495c[_0x0ce5('0x16c')]||_0x0ce5('0x120');var _0x52c540=util[_0x0ce5('0x24')](_0x0ce5('0x16d'),this[_0x0ce5('0xc')][_0x0ce5('0x32')],rs['generate'](0x5));var _0xe9c56e=util[_0x0ce5('0x24')](_0x0ce5('0x16e'),FILES_PATH,_0x52c540,_0x19b3d3);var _0x5b82da=util[_0x0ce5('0x24')](_0x0ce5('0x121'),FILES_PATH,_0x52c540);this[_0x0ce5('0x37')][_0x0ce5('0x6b')](this,_0x20495c,_0x52c540,_0xe9c56e);this[_0x0ce5('0xc')][_0x0ce5('0x94')](_0x0ce5('0x16f'),_0x52c540);logger[_0x0ce5('0x29')]('Recording\x20%s\x20%s\x20%s\x20%s',_0x5b82da,_0x19b3d3,_0x20495c[_0x0ce5('0x170')],_0x20495c[_0x0ce5('0x62')]);return this[_0x0ce5('0xc')][_0x0ce5('0x144')](_0x5b82da,_0x19b3d3,_0x20495c[_0x0ce5('0x170')],_0x20495c['timeout'],undefined,!![]);};AGIVertices['prototype'][_0x0ce5('0x171')]=function(_0x1357b0){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x172'),_0x1357b0[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x1357b0[_0x0ce5('0x60')])){return this['channel'][_0x0ce5('0x9f')](_0x0ce5('0x173'));}var _0x40906d=this[_0x0ce5('0x5f')][_0x0ce5('0x6b')](this,_0x1357b0);logger['info'](util['format'](_0x0ce5('0x174'),util['inspect'](_0x40906d,{'showHidden':![],'depth':null})));if(!this[_0x0ce5('0x7f')](_0x1357b0[_0x0ce5('0xd0')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0x175'));}var _0x17c195=this[_0x0ce5('0x98')]['sync'](this,_0x1357b0[_0x0ce5('0xd0')]);if(!_0x17c195){return this['channel'][_0x0ce5('0x2e')](_0x1357b0,'no\x20variable\x20found');}this[_0x0ce5('0xc')][_0x0ce5('0x94')](util[_0x0ce5('0x24')](_0x0ce5('0x176'),_0x17c195),_0x40906d[_0x0ce5('0x71')]?_0x40906d[_0x0ce5('0x71')]:_0x0ce5('0x177'));this[_0x0ce5('0xc')][_0x0ce5('0x94')](util[_0x0ce5('0x24')](_0x0ce5('0x178'),_0x17c195),_0x40906d[_0x0ce5('0x179')]?_0x40906d[_0x0ce5('0x179')]:'OK');if(_0x40906d[_0x0ce5('0x67')]){try{this['saveRestApiResult'](_0x40906d['body'],_0x17c195);}catch(_0x3a0745){logger['error'](util[_0x0ce5('0x24')](_0x0ce5('0x17a'),_0x17c195));}}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x17b'),_0x17c195));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x17c')]=function(_0x374ebe){logger[_0x0ce5('0x29')](util['format'](_0x0ce5('0x17d'),_0x374ebe[_0x0ce5('0x33')]));return this[_0x0ce5('0xc')][_0x0ce5('0x17e')](_0x374ebe[_0x0ce5('0x17f')][_0x0ce5('0x55')](/\s+/g,''),_0x374ebe[_0x0ce5('0x170')]);};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x180')]=function(_0x5147e3){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x181'),_0x5147e3[_0x0ce5('0x33')]));return this[_0x0ce5('0xc')][_0x0ce5('0x182')](_0x5147e3[_0x0ce5('0x63')][_0x0ce5('0x55')](/\s+/g,''),_0x5147e3[_0x0ce5('0x170')]);};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x183')]=function(_0x1791dc){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x184'),_0x1791dc[_0x0ce5('0x33')]));return this[_0x0ce5('0xc')]['sayPhonetic'](_0x1791dc[_0x0ce5('0x58')],_0x1791dc['escape_digits']);};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x185')]=function(_0x229232){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x186'),_0x229232[_0x0ce5('0x33')]));if(!this['isConfigured'](_0x229232[_0x0ce5('0x187')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0x188'));}var _0x3a2809=this['getMailAccount']['sync'](this,_0x229232[_0x0ce5('0x187')]);if(!_0x3a2809||!_0x3a2809[_0x0ce5('0x189')]){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x229232,_0x0ce5('0x18a'));}var _0xcf2dde={'from':util[_0x0ce5('0x24')](_0x0ce5('0x18b'),_0x3a2809[_0x0ce5('0x17')],_0x3a2809[_0x0ce5('0x18c')]||_0x3a2809[_0x0ce5('0x189')][_0x0ce5('0x18d')]),'to':_0x229232['to']||'','cc':_0x229232['cc']||'','bcc':_0x229232[_0x0ce5('0x18e')]||'','subject':_0x229232[_0x0ce5('0x18f')],'html':_0x229232[_0x0ce5('0x58')],'text':_0x229232[_0x0ce5('0x58')]};if(this[_0x0ce5('0x7f')](_0x229232[_0x0ce5('0x190')])){}logger[_0x0ce5('0xd5')](_0x0ce5('0x191'),JSON[_0x0ce5('0x6f')](_0xcf2dde));this[_0x0ce5('0x9d')]['sync'](this,_0x229232,_0x229232[_0x0ce5('0x187')]);this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')]('Trying\x20SendMail\x20with\x20account\x20%s',_0x3a2809[_0x0ce5('0x17')]));this['sendMailMessage'][_0x0ce5('0x6b')](this,_0x3a2809[_0x0ce5('0x192')],_0xcf2dde);return this[_0x0ce5('0xc')]['noop'](_0x0ce5('0x193'));};AGIVertices['prototype'][_0x0ce5('0x194')]=function(_0x4c3c8b){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x195'),_0x4c3c8b['label']));return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0x196'));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x197')]=function(_0x55e3e3){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x198'),_0x55e3e3[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x55e3e3[_0x0ce5('0x199')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0x19a'));}var _0x4b8ed8=this[_0x0ce5('0x2f')][_0x0ce5('0x6b')](this,_0x55e3e3[_0x0ce5('0x199')]);if(!_0x4b8ed8){return this[_0x0ce5('0xc')]['error'](_0x55e3e3,'no\x20sms\x20account\x20found');}var _0x344537={'body':_0x55e3e3['sms_text'],'phone':_0x55e3e3['to']||'','SmsAccountId':_0x4b8ed8['id']};logger['debug']('sendSMS\x20message',JSON[_0x0ce5('0x6f')](_0x344537));this[_0x0ce5('0x9d')][_0x0ce5('0x6b')](this,_0x55e3e3,_0x55e3e3['sms_account_id']);this['channel'][_0x0ce5('0x9f')](util[_0x0ce5('0x24')]('Trying\x20SendSMS\x20with\x20account\x20%s',_0x4b8ed8['name']));this[_0x0ce5('0x31')][_0x0ce5('0x6b')](this,_0x344537);return this['channel']['noop'](_0x0ce5('0x19b'));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x19c')]=function(_0x1486bd){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x19d'),_0x1486bd[_0x0ce5('0x33')]));if(!this['isConfigured'](_0x1486bd['variable_id'])){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x1486bd,_0x0ce5('0x19e'));}var _0x2fbe6f=this['getVariable'][_0x0ce5('0x6b')](this,_0x1486bd[_0x0ce5('0xd0')]);if(!_0x2fbe6f){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x1486bd,_0x0ce5('0x108'));}return this[_0x0ce5('0xc')]['setVariable'](_0x2fbe6f,_0x1486bd[_0x0ce5('0x19f')]);};AGIVertices[_0x0ce5('0xf')]['start']=function(_0x47009d){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x1a0'),_0x47009d[_0x0ce5('0x33')]));this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0x1a1'));var _0x83f9fa=this[_0x0ce5('0xc')]['getVariable']('XMCS-UNIQUEID');if(!_[_0x0ce5('0x40')](_0x83f9fa['extra'])){this[_0x0ce5('0xc')][_0x0ce5('0x32')]=_0x83f9fa[_0x0ce5('0x99')];}if(_0x47009d['answer']===_0x0ce5('0x1a2')){this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0x1a3'));return this[_0x0ce5('0xc')][_0x0ce5('0xb1')]();}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0x1a4'));};AGIVertices['prototype'][_0x0ce5('0x1a5')]=function(_0x2513ca){logger['info'](util[_0x0ce5('0x24')](_0x0ce5('0x1a6'),_0x2513ca[_0x0ce5('0x33')]));if(!this['isConfigured'](_0x2513ca[_0x0ce5('0x1a7')])){return this[_0x0ce5('0xc')]['error'](_0x2513ca,_0x0ce5('0x1a8'));}var _0x31748a=this['getSquareProject'][_0x0ce5('0x6b')](this,_0x2513ca[_0x0ce5('0x1a7')]);if(!this[_0x0ce5('0x7f')](_0x31748a)){return this['channel'][_0x0ce5('0x2e')](_0x2513ca,util['format'](_0x0ce5('0x1a9'),_0x2513ca[_0x0ce5('0x1a7')]));}if(_0x31748a===this[_0x0ce5('0xc')][_0x0ce5('0x35')]){return this[_0x0ce5('0xc')]['error'](_0x2513ca,_0x0ce5('0x1aa'));}this['createSquareDetailsReport'][_0x0ce5('0x6b')](this,_0x2513ca,_0x31748a);var _0x5c2d91=this['channel'][_0x0ce5('0xa1')](_0x0ce5('0x1ab'),util['format'](_0x0ce5('0x1ac'),config[_0x0ce5('0xae')][_0x0ce5('0x1ad')]||_0x0ce5('0x1ae'),_0x31748a,this[_0x0ce5('0xc')][_0x0ce5('0x35')]));if(_0x5c2d91['result']===-0x1){return _0x5c2d91;}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')]('Executed\x20command\x20%s\x20%s',_0x0ce5('0x1ab'),_0x31748a));};AGIVertices[_0x0ce5('0xf')]['system']=function(_0x52ef76){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x1af'),_0x52ef76['label']));var _0x1f4847=this[_0x0ce5('0x1b0')][_0x0ce5('0x6b')](this,_0x52ef76[_0x0ce5('0x1b1')]);this['createSquareDetailsReport']['sync'](this,_0x52ef76,_0x52ef76[_0x0ce5('0x1b1')]);if(this[_0x0ce5('0x7f')](_0x52ef76[_0x0ce5('0xd0')])){var _0x110389=this[_0x0ce5('0x98')][_0x0ce5('0x6b')](this,_0x52ef76['variable_id']);if(_0x110389){this[_0x0ce5('0xc')][_0x0ce5('0x94')](_0x110389,_0x1f4847);return this['channel'][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x1b2'),_0x52ef76[_0x0ce5('0x1b1')],_0x110389));}}return this[_0x0ce5('0xc')]['noop'](util['format'](_0x0ce5('0x1b3'),_0x52ef76[_0x0ce5('0x1b1')]));};AGIVertices[_0x0ce5('0xf')][_0x0ce5('0x1b4')]=function(_0x50e804){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x1b5'),_0x50e804[_0x0ce5('0x33')]));_0x50e804[_0x0ce5('0x58')]=_0x50e804[_0x0ce5('0x58')]['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x0ce5('0x7f')](_0x50e804[_0x0ce5('0x57')])){return this[_0x0ce5('0xc')]['noop']('no\x20apiKey\x20configured');}if(!this[_0x0ce5('0x7f')](_0x50e804[_0x0ce5('0x58')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0xa0'));}this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x1b6'),_0x50e804[_0x0ce5('0x58')]));var _0x3d7277=this[_0x0ce5('0x56')][_0x0ce5('0x6b')](this,_0x50e804);if(_0x3d7277){this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')]('Google\x20Cloud\x20TTS\x20%s\x20file\x20created',_0x3d7277));var _0x104797=this[_0x0ce5('0xc')][_0x0ce5('0xf1')](_0x3d7277);try{fs['unlink'](_0x3d7277+_0x0ce5('0xf3'));}catch(_0x3d6758){logger[_0x0ce5('0x2e')](_0x3d6758);}return _0x104797;}return this['channel'][_0x0ce5('0x2e')](_0x50e804,_0x0ce5('0x1b7'));};AGIVertices[_0x0ce5('0xf')]['tts']=function(_0x2e989d){logger[_0x0ce5('0x29')](util[_0x0ce5('0x24')](_0x0ce5('0x1b8'),_0x2e989d[_0x0ce5('0x33')]));_0x2e989d[_0x0ce5('0x58')]=_0x2e989d[_0x0ce5('0x58')][_0x0ce5('0x55')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x0ce5('0x7f')](_0x2e989d[_0x0ce5('0x58')])){return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](_0x0ce5('0xa0'));}this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util['format'](_0x0ce5('0x1b9'),_0x2e989d[_0x0ce5('0x58')]));var _0x2cb07d=this[_0x0ce5('0x5d')][_0x0ce5('0x6b')](this,_0x2e989d);if(_0x2cb07d){this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x1ba'),_0x2cb07d));var _0x230bd4=this[_0x0ce5('0xc')][_0x0ce5('0xf1')](_0x2cb07d);try{fs[_0x0ce5('0xf2')](_0x2cb07d+_0x0ce5('0xf3'));}catch(_0x4902b5){logger[_0x0ce5('0x2e')](_0x4902b5);}return _0x230bd4;}return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x2e989d,'Google\x20TTS\x20is\x20unreachable');};AGIVertices['prototype'][_0x0ce5('0x1bb')]=function(_0x35a4c7){logger['info'](util[_0x0ce5('0x24')](_0x0ce5('0x1bc'),_0x35a4c7['label']));if(!this[_0x0ce5('0x7f')](_0x35a4c7[_0x0ce5('0x149')])){return this[_0x0ce5('0xc')]['error'](_0x35a4c7,'no\x20find\x20by\x20configured');}logger['info'](util[_0x0ce5('0x24')](_0x0ce5('0x14b'),this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x35a4c7[_0x0ce5('0x149')]));var _0x1ae785=this[_0x0ce5('0x4f')]['sync'](this,_0x35a4c7[_0x0ce5('0x149')]);if(_0x1ae785){logger[_0x0ce5('0x29')](util['format']('AGENT\x20%s\x20FOUND\x20BY',this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x35a4c7['findBy']));this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')](_0x0ce5('0x14c'),this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x35a4c7[_0x0ce5('0x149')]));return{'code':0xc8,'result':_0x0ce5('0x14d')};}else{logger['info'](util[_0x0ce5('0x24')](_0x0ce5('0x14e'),this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x35a4c7['findBy']));this[_0x0ce5('0xc')]['noop'](util[_0x0ce5('0x24')](_0x0ce5('0x14e'),this[_0x0ce5('0xc')][_0x0ce5('0x36')],_0x35a4c7[_0x0ce5('0x149')]));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0x0ce5('0xf')]['voicemail']=function(_0x496111){logger[_0x0ce5('0x29')](util['format'](_0x0ce5('0x1bd'),_0x496111[_0x0ce5('0x33')]));var _0x3cbe27=this[_0x0ce5('0xc')]['exec'](_0x0ce5('0x1be'),[_0x496111[_0x0ce5('0x1bf')],_0x496111[_0x0ce5('0x73')]]);if(_0x3cbe27[_0x0ce5('0xa3')]===-0x1){return _0x3cbe27;}return this[_0x0ce5('0xc')][_0x0ce5('0x9f')](util[_0x0ce5('0x24')]('Executed\x20command\x20%s\x20%s',_0x0ce5('0x1be'),_0x496111[_0x0ce5('0x1bf')]));};AGIVertices[_0x0ce5('0xf')]['vswitch']=function(_0x12e37){logger[_0x0ce5('0x29')](util['format'](_0x0ce5('0x1c0'),_0x12e37[_0x0ce5('0x33')]));if(!this[_0x0ce5('0x7f')](_0x12e37[_0x0ce5('0xd0')])){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x12e37,_0x0ce5('0x19e'));}var _0x581b21=this[_0x0ce5('0x98')][_0x0ce5('0x6b')](this,_0x12e37[_0x0ce5('0xd0')]);if(!_0x581b21){return this[_0x0ce5('0xc')][_0x0ce5('0x2e')](_0x12e37,_0x0ce5('0x108'));}var _0x41dd65=this[_0x0ce5('0xc')][_0x0ce5('0x98')](_0x581b21);return{'code':0xc8,'result':_0x41dd65[_0x0ce5('0x99')]?_0x41dd65['extra']:'-'};};String[_0x0ce5('0xf')][_0x0ce5('0x97')]=function(_0x37f4ad,_0x448cbe){return this[_0x0ce5('0x96')](_0x37f4ad)['join'](_0x448cbe);};module[_0x0ce5('0x1c1')]=AGIVertices;
\ No newline at end of file
+var _0xac95=['Enter\x20in\x20GOAL\x20(%s)\x20block','GOAL\x20%s','goalname','awspolly','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','no\x20valid\x20credentials\x20configured','Trying\x20aws\x20Polly\x20%s','aws\x20Polly\x20%s\x20file\x20created','aws\x20Polly\x20is\x20unreachable','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','no\x20bot\x20name\x20configured','Trying\x20Amazon\x20Lex:\x20%s','AWS_LEX_%s','amazonlex','Amazon\x20Lex\x20Result\x20%s','Amazon\x20Lex\x20is\x20unreachable','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','wav','beep','NOBEEP','recordFile','intKey','google\x20%s\x20file\x20created','GOOGLE_ASR_%s','tildeasr','no\x20appid\x20configured','no\x20appsecret\x20configured','tilde\x20%s\x20file\x20created','TILDE_ASR_%s','TildeASR\x20Result\x20%s','gotoc','continueAt','gotoif','Enter\x20in\x20GOTOIF\x20(%s)\x20block','condition','no\x20condition\x20configured','true','EVAL\x20CONDITION\x20%s\x20%s','false','gotoiftime','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','interval_id','no\x20intervals\x20found','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','Enter\x20in\x20HANGUP\x20(%s)\x20block','hangup','ispeechasr','Enter\x20in\x20ISPEECHASR\x20(%s)\x20block','ispeechASR','ISPEECH_ASR_%s','IspeechASR\x20Result\x20%s','ispeechtts','Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block','Trying\x20ispeech\x20TTS\x20%s','ispeech\x20TTS\x20is\x20unreachable','login','Enter\x20in\x20LOGIN\x20(%s)\x20block','FIND\x20AGENT\x20%s\x20BY\x20%s','findBy','agentLogin','AGENT\x20%s\x20FOUND\x20BY','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','logout','Enter\x20in\x20LOGOUT\x20(%s)\x20block','no\x20find\x20by\x20configured','math','Enter\x20in\x20MATH\x20(%s)\x20block','operation','no\x20operation\x20configured','math\x20%s','menu','no\x20file\x20audio\x20found','digit','output','Enter\x20in\x20PAUSE\x20(%s)\x20block','pause_id','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','PLAYBACK','Enter\x20in\x20QUEUE\x20(%s)\x20block','queue_id','no\x20queue\x20selected','getVoiceQueue','no\x20queue\x20found','indexOf','XMCS-QUEUE','QUEUE','record','Enter\x20in\x20RECORD\x20(%s)\x20block','recordingFormat','%s_%s','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','restapi','Enter\x20in\x20RESTAPI\x20(%s)\x20block','no\x20url\x20configured','Response:','inspect','no\x20variable\x20selected\x20for\x20the\x20response','%s_STATUS_CODE','200','%s_STATUS_MESSAGE','statusMessage','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','sayDigits','digits','replace','saynumber','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayNumber','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','sayPhonetic','account_id','no\x20mail\x20account\x20configured','Smtp','no\x20mail\x20account\x20found','email','bcc','template_id','debug','sendMail\x20message','Trying\x20SendMail\x20with\x20account\x20%s','smtpOptions','sendFax','Enter\x20in\x20SENDFAX\x20(%s)\x20block','SENDFAX\x20block\x20not\x20implemented','sendSMS','Enter\x20in\x20SENDSMS\x20(%s)\x20block','sms_account_id','no\x20sms\x20account\x20found','sms_text','sendSMS\x20message','Trying\x20SendSMS\x20with\x20account\x20%s','Sms\x20message\x20added\x20to\x20outgoing\x20process','set','Enter\x20in\x20SET\x20(%s)\x20block','no\x20variable\x20selected','Enter\x20in\x20START\x20(%s)\x20block','START\x20CALLY\x20SQUARE','XMCS-UNIQUEID','yes','Answer','project_id','no\x20subproject\x20selected','no\x20subproject\x20found\x20with\x20id\x20%d','arg_1','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','AGI','host','127.0.0.1','Enter\x20in\x20SYSTEM\x20(%s)\x20block','google_cloud_tts','Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block','Trying\x20Google\x20Cloud\x20TTS\x20%s','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','Google\x20Cloud\x20TTS\x20is\x20unreachable','tts','Google\x20TTS\x20%s\x20file\x20created','unpause','voicemail','mailbox','vswitch','util','lodash','shelljs','odbc','mustache','request-promise','agi','../../config/environment','/var/opt/motion2/server/files','rawHeaders','rawBody','getsecretdigits','channel','rpc','prototype','getVariable','getVariableById','name','catch','getVoiceQueueById','getSquareProject','getSquareOdbc','getSquareOdbcById','then','dsn','getUser','getUserById','getSound','getSoundPath','save_name','getMailAccount','sendMailMessage','mailRpc','getIntervals','getIntervalById','IntervalId','interval','Intervals','format','open','error','Error\x20getting\x20ODBC\x20connection\x20%s','info','ODBC\x20connection\x20successfully','query','Query\x20executed\x20correctly\x20%s','close','Error\x20closing\x20connection\x20to\x20odbc\x20%s','getSmsAccount','createSmsMessage','createSquareDetailsReport','uniqueid','label','agicommand','callerid','createSquareRecording','context','extension','priority','accountcode','dnid','file','createSquareMessage','createCmContact','isEmpty','callback_','random','lastName','phone','scheduledAt','callback','toString','callback_priority','getPause','getPauseById','agentPause','agent','isNil','agentUnpause','agentLogout','internal','%s/%s@from-sip/n','LOCAL','shellCommand','exec','trim','googleCloudTTS','apiKey','google_cloud_tts_text_type','text','languageCode','en-US','ssmlGender','audioEncoding','MP3','googleTTS','restAPI','method','timeout','number','includes','POST','body','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','uri','render','url','stringify','An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','statusCode','message','500\x20-\x20Internal\x20Server\x20Error','options','googleDialogflow','key','dialogflow_language','googleDialogflowV2','client_email','private_key','dialogflowV2_language','sestekNDA','ispeechTTS','ispeech_tts_language','speed','ispeech_asr_language','isConfigured','model','awsPolly','aws_access_key_id','aws_secret_access_key','aws_polly_region','Amy','aws_text_type','awsLex','aws_bot_name','googleASR','google_asr_language','tildeASR','appid','appsecret','clone','isString','replaceObjectAllVariables','replaceAllVariables','recursiveNodeIndex','isPlainObject','isArray','saveRestApiResult','length','%s.%s','setVariable','split','replaceAll','extra','result','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','sync','maxRetry','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','no\x20text\x20configured','MRCPSynth','noop','Executed\x20command\x20MRCPSynth\x20%s','mrcprecog','grammar','MRCPRecog','MRCP_RECOG_CONFIDENCE','getAndSetVariable','RECOG_INSTANCE()','MRCP_RECOG_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','Enter\x20in\x20AGI\x20(%s)\x20block','command','answer','Enter\x20in\x20ANSWER\x20(%s)\x20block','Wait\x20%s\x20seconds\x20before\x20answer','wait','Enter\x20in\x20CALLBACK\x20(%s)\x20block','list_id','no\x20list\x20selected','delay','add','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','custom_app','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','application','Executed\x20command\x20%s\x20%s','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','sestektts','lumenvoxasr','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','RECOG_CONFIDENCE()','LUMENVOX_ASR_CONFIDENCE','RECOG_INPUT()','LUMENVOX_ASR_TRANSCRIPT','LUMENVOX_ASR_INSTANCE','sestekasr','SESTEK_ASR_CONFIDENCE','SESTEK_ASR_TRANSCRIPT','SESTEK_ASR_INSTANCE','database','Enter\x20in\x20DATABASE\x20(%s)\x20block','odbc_id','no\x20database\x20selected','query:\x20%s','getQueryOdbc','variable_id','no\x20variable\x20selected\x20for\x20the\x20result','no\x20variable\x20found','keys','forEach','%s[%s][%s]','%s_ROWS_COUNT','variable\x20%s\x20set','Enter\x20in\x20DIAL\x20(%s)\x20block','no\x20user\x20selected','sip_id','no\x20user\x20found','DIAL','opts','Executed\x20command\x20%s','dialogflow','Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block','no\x20key\x20configured','bot','Trying\x20Dialogflow:\x20%s','hasOwnProperty','DIALOGFLOW_%s','toUpperCase','speech','out','Dialogflow\x20Result\x20%s','Dialogflow\x20is\x20unreachable','dialogflowV2','dialogflowV2_project_id','no\x20client_email\x20configured','no\x20private_key\x20configured','no\x20anguage\x20configured','Trying\x20DialogflowV2:\x20%s','providerResponse','DialogflowV2\x20Result\x20%s','sesteknda','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','ndauth_url','no\x20ndauth\x20url\x20configured','username','no\x20username\x20configured','password','no\x20password\x20configured','ndassistant_url','Trying\x20SestekNDA:\x20%s','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','streamFile','unlink','.wav','SestekNDA\x20is\x20unreachable','end','Enter\x20in\x20END\x20(%s)\x20block','ext_dial','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','trunk_id','getTrunk','no\x20trunk\x20found','trunk_name','no\x20trunk\x20selected','SIP/%s/%s','Enter\x20in\x20FINALLY\x20(%s)\x20block','finally','getdigits','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','retry','no\x20file\x20audio\x20selected','file_id','getData','response','maxdigit','test','mindigit','hiddendigitsnum','generate','first','substr','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','goal'];(function(_0x557eb0,_0x3f9f30){var _0x129850=function(_0x48cbfe){while(--_0x48cbfe){_0x557eb0['push'](_0x557eb0['shift']());}};_0x129850(++_0x3f9f30);}(_0xac95,0xa8));var _0x5ac9=function(_0x494b1a,_0x1b7232){_0x494b1a=_0x494b1a-0x0;var _0x25cc64=_0xac95[_0x494b1a];return _0x25cc64;};'use strict';var fs=require('fs');var util=require(_0x5ac9('0x0'));var _=require(_0x5ac9('0x1'));var sh=require(_0x5ac9('0x2'));var odbc=require(_0x5ac9('0x3'))();var rs=require('randomstring');var moment=require('moment');var Mustache=require(_0x5ac9('0x4'));var rp=require(_0x5ac9('0x5'));var logger=require('../../config/logger')(_0x5ac9('0x6'));var config=require(_0x5ac9('0x7'));var scripts=require('./scripts');var FILES_PATH=_0x5ac9('0x8');var recursiveMapAttributes=[_0x5ac9('0x9'),_0x5ac9('0xa')];var verticesWithRetry=['menu','getdigits',_0x5ac9('0xb')];var AGIVertices=function(_0x2ab11c,_0x28bc1f,_0x11660c){this[_0x5ac9('0xc')]=_0x2ab11c;this[_0x5ac9('0xd')]=_0x28bc1f;this['mailRpc']=_0x11660c;};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xf')]=function(_0x538efe,_0x28b5b9){this['rpc'][_0x5ac9('0x10')](_0x538efe)['then'](function(_0xc9dbbe){_0x28b5b9(null,_0xc9dbbe?_0xc9dbbe[_0x5ac9('0x11')]:![]);})[_0x5ac9('0x12')](function(_0x40eb62){_0x28b5b9(_0x40eb62);});};AGIVertices['prototype']['getVoiceQueue']=function(_0x43b80d,_0x5f2d30){this[_0x5ac9('0xd')][_0x5ac9('0x13')](_0x43b80d)['then'](function(_0x3dcc9e){_0x5f2d30(null,_0x3dcc9e?_0x3dcc9e[_0x5ac9('0x11')]:![]);})[_0x5ac9('0x12')](function(_0x122590){_0x5f2d30(_0x122590);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x14')]=function(_0x44a5b1,_0x19b3a4){this[_0x5ac9('0xd')]['getSquareProjectById'](_0x44a5b1)['then'](function(_0x352874){_0x19b3a4(null,_0x352874?_0x352874[_0x5ac9('0x11')]:![]);})[_0x5ac9('0x12')](function(_0x4463ff){_0x19b3a4(_0x4463ff);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x15')]=function(_0x986be7,_0x429bf3){this[_0x5ac9('0xd')][_0x5ac9('0x16')](_0x986be7)[_0x5ac9('0x17')](function(_0x2b144e){_0x429bf3(null,_0x2b144e?_0x2b144e[_0x5ac9('0x18')]:![]);})['catch'](function(_0xdf630){_0x429bf3(_0xdf630);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x19')]=function(_0x32e65c,_0x2d2ba5){this['rpc'][_0x5ac9('0x1a')](_0x32e65c)[_0x5ac9('0x17')](function(_0x480c7e){_0x2d2ba5(null,_0x480c7e?_0x480c7e['name']:![]);})['catch'](function(_0xc36d2){_0x2d2ba5(_0xc36d2);});};AGIVertices[_0x5ac9('0xe')]['getTrunk']=function(_0x5ce83a,_0x1a6372){this['rpc']['getTrunkById'](_0x5ce83a)[_0x5ac9('0x17')](function(_0x505acc){_0x1a6372(null,_0x505acc?_0x505acc[_0x5ac9('0x11')]:![]);})[_0x5ac9('0x12')](function(_0x770c48){_0x1a6372(_0x770c48);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1b')]=function(_0x174cfe,_0x13aaa7){var _0x2dc7fa=this;this[_0x5ac9('0xd')]['getSoundById'](_0x174cfe)[_0x5ac9('0x17')](function(_0x14a7fe){_0x13aaa7(null,_0x14a7fe?_0x2dc7fa[_0x5ac9('0x1c')](_0x14a7fe[_0x5ac9('0x1d')]):![]);})[_0x5ac9('0x12')](function(_0x58c9be){_0x13aaa7(_0x58c9be);});};AGIVertices['prototype'][_0x5ac9('0x1e')]=function(_0xbf3f0,_0x4a784e){this[_0x5ac9('0xd')]['getMailAccountById'](_0xbf3f0)[_0x5ac9('0x17')](function(_0x2c85dc){_0x4a784e(null,_0x2c85dc?_0x2c85dc:![]);})[_0x5ac9('0x12')](function(_0x49901d){_0x4a784e(_0x49901d);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1f')]=function(_0x446050,_0x30fb2b,_0x5ce12f){this[_0x5ac9('0x20')]['sendMailMessage'](_0x446050,_0x30fb2b)['then'](function(){_0x5ce12f(null);})[_0x5ac9('0x12')](function(_0x53ef31){_0x5ce12f(_0x53ef31);});};AGIVertices['prototype'][_0x5ac9('0x21')]=function(_0x148d0b,_0x3e12be){this[_0x5ac9('0xd')][_0x5ac9('0x22')](_0x148d0b)[_0x5ac9('0x17')](function(_0x6225c5){if(_0x6225c5){if(_0x6225c5[_0x5ac9('0x23')]){_0x3e12be(null,[_0x6225c5[_0x5ac9('0x24')]]);}else{_0x3e12be(null,_['map'](_0x6225c5[_0x5ac9('0x25')],_0x5ac9('0x24')));}}else{_0x3e12be(null,![]);}})['catch'](function(_0x598093){_0x3e12be(_0x598093);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1c')]=function(_0x386fc3){return util[_0x5ac9('0x26')]('%s/sounds/converted/%s',FILES_PATH,_0x386fc3);};AGIVertices[_0x5ac9('0xe')]['getQueryOdbc']=function(_0x3c540f,_0x4600d8,_0x2cb1d5){odbc[_0x5ac9('0x27')](_0x3c540f,function(_0x2b9a01){if(_0x2b9a01){logger[_0x5ac9('0x28')](_0x5ac9('0x29'),_0x2b9a01);_0x2cb1d5(_0x2b9a01);}else{logger[_0x5ac9('0x2a')](_0x5ac9('0x2b'));odbc[_0x5ac9('0x2c')](_0x4600d8,function(_0x8049d0,_0x1c11eb){if(_0x8049d0){logger['info']('Error\x20executing\x20query\x20%s',_0x4600d8);_0x2cb1d5(_0x8049d0);}else{logger[_0x5ac9('0x2a')](_0x5ac9('0x2d'),_0x4600d8);odbc[_0x5ac9('0x2e')](function(_0x1adf44){if(_0x1adf44){logger[_0x5ac9('0x28')](_0x5ac9('0x2f'),_0x1adf44);}_0x2cb1d5(null,_0x1c11eb);});}});}});};AGIVertices['prototype'][_0x5ac9('0x30')]=function(_0x16b74e,_0x5640c4){this['rpc']['getSmsAccountById'](_0x16b74e)[_0x5ac9('0x17')](function(_0xc6be86){_0x5640c4(null,_0xc6be86?_0xc6be86:![]);})[_0x5ac9('0x12')](function(_0x1b4a1d){_0x5640c4(_0x1b4a1d);});};AGIVertices['prototype'][_0x5ac9('0x31')]=function(_0x494871,_0x4b407d){this[_0x5ac9('0xd')][_0x5ac9('0x31')](_0x494871)['then'](function(_0x37bad1){_0x4b407d(null,_0x37bad1);})[_0x5ac9('0x12')](function(_0x4acca3){_0x4b407d(_0x4acca3);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x32')]=function(_0x433634,_0x1caf84,_0x230daa){this[_0x5ac9('0xd')][_0x5ac9('0x32')]({'uniqueid':this[_0x5ac9('0xc')][_0x5ac9('0x33')],'node':_0x433634[_0x5ac9('0x34')],'application':_0x433634[_0x5ac9('0x35')],'data':_0x1caf84||null,'project_name':this[_0x5ac9('0xc')]['arg_1'],'callerid':this[_0x5ac9('0xc')][_0x5ac9('0x36')]})[_0x5ac9('0x17')](function(_0x554bfa){if(_0x230daa){_0x230daa(null,_0x554bfa);}})[_0x5ac9('0x12')](function(_0x28edf5){if(_0x230daa){_0x230daa(_0x28edf5);}});};AGIVertices[_0x5ac9('0xe')]['createSquareRecording']=function(_0x21f75a,_0x3044a9,_0x3bf4ba,_0x34b3c2){this[_0x5ac9('0xd')][_0x5ac9('0x37')]({'uniqueid':this['channel']['uniqueid'],'callerid':this[_0x5ac9('0xc')]['callerid'],'calleridname':this[_0x5ac9('0xc')]['calleridname'],'context':this[_0x5ac9('0xc')][_0x5ac9('0x38')],'extension':this[_0x5ac9('0xc')][_0x5ac9('0x39')],'priority':this[_0x5ac9('0xc')][_0x5ac9('0x3a')],'accountcode':this[_0x5ac9('0xc')][_0x5ac9('0x3b')],'dnid':this[_0x5ac9('0xc')][_0x5ac9('0x3c')],'projectName':this[_0x5ac9('0xc')]['arg_1'],'saveName':_0x3044a9,'filename':_0x21f75a[_0x5ac9('0x3d')]||_0x3044a9,'savePath':_0x3bf4ba})[_0x5ac9('0x17')](function(_0x482df4){_0x34b3c2(null,_0x482df4);})['catch'](function(_0x14a81f){_0x34b3c2(_0x14a81f);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x3e')]=function(_0x48a81e,_0x33446e,_0x281fa5,_0x1b092f,_0x831fe7){this[_0x5ac9('0xd')][_0x5ac9('0x3e')]({'uniqueid':this['channel']['uniqueid'],'body':_0x48a81e,'direction':_0x33446e,'providerName':_0x281fa5,'providerResponse':_0x1b092f})[_0x5ac9('0x17')](function(_0x1191ff){if(_0x831fe7){_0x831fe7(null,_0x1191ff);}})['catch'](function(_0x81caad){if(_0x831fe7){_0x831fe7(_0x81caad);}});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x3f')]=function(_0x1da1c8,_0x6b3995){this['rpc'][_0x5ac9('0x3f')]({'firstName':_[_0x5ac9('0x40')](_0x1da1c8[_0x5ac9('0x11')])||_['isNil'](_0x1da1c8[_0x5ac9('0x11')])?_0x5ac9('0x41')+Math[_0x5ac9('0x42')]():_0x1da1c8[_0x5ac9('0x11')],'lastName':_[_0x5ac9('0x40')](_0x1da1c8['lastName'])||_['isNil'](_0x1da1c8[_0x5ac9('0x43')])?null:_0x1da1c8['lastName'],'phone':_0x1da1c8[_0x5ac9('0x44')],'ListId':_0x1da1c8['list_id'],'scheduledat':_0x1da1c8[_0x5ac9('0x45')],'callbackUniqueid':this['channel'][_0x5ac9('0x33')],'tags':_0x5ac9('0x46'),'description':'Callback\x20scheduled\x20at\x20'+_0x1da1c8['scheduledAt'][_0x5ac9('0x47')](),'priority':_0x1da1c8[_0x5ac9('0x48')]})[_0x5ac9('0x17')](function(_0x3197aa){_0x6b3995(null,_0x3197aa);})[_0x5ac9('0x12')](function(_0x3b90d9){_0x6b3995(_0x3b90d9);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x49')]=function(_0x569b22,_0x9bb588){this['rpc'][_0x5ac9('0x4a')](_0x569b22)[_0x5ac9('0x17')](function(_0x4aee72){_0x9bb588(null,_0x4aee72?_0x4aee72[_0x5ac9('0x11')]:![]);})['catch'](function(_0x2e20d9){_0x9bb588(_0x2e20d9);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x4b')]=function(_0x388011,_0x43b245,_0x53023a){var _0x1cc0b4={'role':_0x5ac9('0x4c')};_0x1cc0b4[_0x388011]=this[_0x5ac9('0xc')]['callerid'];this[_0x5ac9('0xd')][_0x5ac9('0x4b')](_0x1cc0b4,_0x43b245,this[_0x5ac9('0xc')]['uniqueid'])[_0x5ac9('0x17')](function(_0x577f83){_0x53023a(null,_[_0x5ac9('0x4d')](_0x577f83)?![]:!![]);})[_0x5ac9('0x12')](function(_0x567fb1){logger['error'](_0x567fb1);_0x53023a(null,![]);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x4e')]=function(_0x3a0cc4,_0x2a4db2){var _0xc04894={'role':_0x5ac9('0x4c')};_0xc04894[_0x3a0cc4]=this[_0x5ac9('0xc')][_0x5ac9('0x36')];this['rpc'][_0x5ac9('0x4e')](_0xc04894)[_0x5ac9('0x17')](function(_0x51e985){_0x2a4db2(null,_['isNil'](_0x51e985)?![]:!![]);})[_0x5ac9('0x12')](function(_0x42ef92){logger['error'](_0x42ef92);_0x2a4db2(null,![]);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x4f')]=function(_0x3164ab,_0x1a22d4){var _0x3da33b={'role':_0x5ac9('0x4c')};_0x3da33b[_0x3164ab]=this[_0x5ac9('0xc')][_0x5ac9('0x36')];this[_0x5ac9('0xd')][_0x5ac9('0x4f')](_0x3da33b)[_0x5ac9('0x17')](function(_0x95bcd7){_0x1a22d4(null,_[_0x5ac9('0x4d')](_0x95bcd7)?![]:!![]);})[_0x5ac9('0x12')](function(_0x3b5233){logger['error'](_0x3b5233);_0x1a22d4(null,![]);});};AGIVertices[_0x5ac9('0xe')]['agentLogin']=function(_0x1a14d4,_0x2a490e){var _0x63df8a={'role':'agent'};_0x63df8a[_0x1a14d4]=this['channel'][_0x5ac9('0x36')];var _0x44c40c=_0x1a14d4!=_0x5ac9('0x50')?util['format'](_0x5ac9('0x51'),_0x5ac9('0x52'),this['channel']['callerid']):undefined;this[_0x5ac9('0xd')]['agentLogin'](_0x63df8a,_0x44c40c)[_0x5ac9('0x17')](function(_0x11c829){_0x2a490e(null,_[_0x5ac9('0x4d')](_0x11c829)?![]:!![]);})['catch'](function(_0x7874b4){logger[_0x5ac9('0x28')](_0x7874b4);_0x2a490e(null,![]);});};AGIVertices['prototype'][_0x5ac9('0x53')]=function(_0x3af258,_0x598aff){sh[_0x5ac9('0x54')](_[_0x5ac9('0x55')](_0x3af258),function(_0x5655bd,_0x2d1757){var _0x240de3=_0x2d1757['replace'](/(\r\n|\n|\r)/gm,'');_0x598aff(null,_0x240de3);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x56')]=function(_0x200faa,_0x49d450){scripts[_0x5ac9('0x56')](_0x200faa[_0x5ac9('0x57')],_0x200faa[_0x5ac9('0x58')]||_0x5ac9('0x59'),_0x200faa[_0x5ac9('0x59')],_0x200faa[_0x5ac9('0x5a')]||_0x5ac9('0x5b'),_0x200faa[_0x5ac9('0x5c')]||'MALE',_0x200faa[_0x5ac9('0x5d')]||_0x5ac9('0x5e'))[_0x5ac9('0x17')](function(_0x2bcf94){_0x49d450(null,_0x2bcf94);})['catch'](function(_0x3f9a78){_0x49d450(_0x3f9a78);});};AGIVertices['prototype'][_0x5ac9('0x5f')]=function(_0x416d67,_0x24153f){scripts[_0x5ac9('0x5f')](_0x416d67[_0x5ac9('0x59')],_0x416d67['google_tts_language']||'en',0x1)['then'](function(_0x4701cf){_0x24153f(null,_0x4701cf);})['catch'](function(_0x196092){_0x24153f(_0x196092);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x60')]=function(_0x23ac5d,_0x47dc0f){var _0x171afb={'uri':_0x23ac5d['url'],'method':_0x23ac5d[_0x5ac9('0x61')],'json':!![],'resolveWithFullResponse':!![],'strictSSL':![],'timeout':typeof parseInt(_0x23ac5d[_0x5ac9('0x62')])===_0x5ac9('0x63')&&parseInt(_0x23ac5d[_0x5ac9('0x62')])>=0x1?parseInt(_0x23ac5d[_0x5ac9('0x62')])*0x3e8:0x5*0x3e8};if(_[_0x5ac9('0x64')]([_0x5ac9('0x65'),'PUT'],_0x171afb[_0x5ac9('0x61')]['toUpperCase']())){try{_0x171afb[_0x5ac9('0x66')]=_0x23ac5d[_0x5ac9('0xa')]?JSON[_0x5ac9('0x67')](_0x23ac5d[_0x5ac9('0xa')]):{};}catch(_0x30b66b){logger['error'](_0x5ac9('0x68'),_0x30b66b);}}try{_0x171afb[_0x5ac9('0x69')]=_0x23ac5d[_0x5ac9('0x9')]?JSON['parse'](_0x23ac5d[_0x5ac9('0x9')]):{};}catch(_0x5f47d7){logger['error'](_0x5ac9('0x6a'),_0x5f47d7);}if(_0x23ac5d[_0x5ac9('0x6b')]){try{var _0x435acb=require(_0x23ac5d[_0x5ac9('0x6b')])['sync'](this,_0x171afb);_0x171afb[_0x5ac9('0x6c')]=Mustache[_0x5ac9('0x6d')](_0x23ac5d[_0x5ac9('0x6e')],_0x435acb,{},['$$','$$']);if(_0x171afb[_0x5ac9('0x69')]){_0x171afb[_0x5ac9('0x69')]=JSON['parse'](Mustache['render'](JSON[_0x5ac9('0x6f')](_0x171afb[_0x5ac9('0x69')]),_0x435acb,{},['$$','$$']));}if(_0x171afb[_0x5ac9('0x66')]){_0x171afb['body']=JSON[_0x5ac9('0x67')](Mustache['render'](JSON[_0x5ac9('0x6f')](_0x171afb[_0x5ac9('0x66')]),_0x435acb,{},['$$','$$']));}}catch(_0x5d61d6){logger[_0x5ac9('0x28')](_0x5ac9('0x70'),_0x5d61d6);}}rp(_0x171afb)['then'](function(_0x2b5d7d){var _0x38fb29={'statusCode':_0x2b5d7d[_0x5ac9('0x71')]||0xc8,'statusMessage':_0x2b5d7d['statusMessage']||'OK','headers':_0x2b5d7d[_0x5ac9('0x69')]||{},'body':_0x2b5d7d[_0x5ac9('0x66')]||{}};_0x47dc0f(null,_0x38fb29);})[_0x5ac9('0x12')](function(_0x1856a1){var _0x234979={'statusCode':_0x1856a1[_0x5ac9('0x71')]||0x1f4,'statusMessage':_0x1856a1[_0x5ac9('0x72')]||_0x5ac9('0x73'),'headers':_0x1856a1[_0x5ac9('0x74')]['headers']||{},'body':_0x1856a1[_0x5ac9('0x74')][_0x5ac9('0x66')]||{}};_0x47dc0f(null,_0x234979);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x75')]=function(_0x5ca243,_0x4497d9){scripts[_0x5ac9('0x75')](this[_0x5ac9('0xc')][_0x5ac9('0x33')],_0x5ca243[_0x5ac9('0x76')],_0x5ca243[_0x5ac9('0x59')],_0x5ca243[_0x5ac9('0x77')]||'en')[_0x5ac9('0x17')](function(_0x1a817e){_0x4497d9(null,_0x1a817e);})[_0x5ac9('0x12')](function(_0x411327){_0x4497d9(_0x411327);});};AGIVertices['prototype'][_0x5ac9('0x78')]=function(_0x443cc8,_0x375d38){scripts[_0x5ac9('0x78')](this[_0x5ac9('0xc')][_0x5ac9('0x33')],_0x443cc8['dialogflowV2_project_id'],_0x443cc8[_0x5ac9('0x79')],_0x443cc8[_0x5ac9('0x7a')],_0x443cc8[_0x5ac9('0x59')],_0x443cc8[_0x5ac9('0x7b')]||'en')['then'](function(_0x14ae1b){_0x375d38(null,_0x14ae1b);})[_0x5ac9('0x12')](function(_0x23c3fb){_0x375d38(_0x23c3fb);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x7c')]=function(_0x36f2d0,_0x161ad6){scripts[_0x5ac9('0x7c')](this[_0x5ac9('0xc')],_0x36f2d0)[_0x5ac9('0x17')](function(_0x4cac57){_0x161ad6(null,_0x4cac57);})['catch'](function(_0x59d9f9){_0x161ad6(_0x59d9f9);});};AGIVertices[_0x5ac9('0xe')]['ispeechTTS']=function(_0x566a34,_0x28829b){scripts[_0x5ac9('0x7d')](_0x566a34[_0x5ac9('0x76')],_0x566a34[_0x5ac9('0x59')],_0x566a34[_0x5ac9('0x7e')]||_0x5ac9('0x5b'),_0x566a34[_0x5ac9('0x7f')])[_0x5ac9('0x17')](function(_0x4ca2e4){_0x28829b(null,_0x4ca2e4);})[_0x5ac9('0x12')](function(_0x5c3739){_0x28829b(_0x5c3739);});};AGIVertices[_0x5ac9('0xe')]['ispeechASR']=function(_0x5e3a20,_0x372ea4,_0x31ad83){scripts['ispeechASR'](_0x372ea4,_0x5e3a20[_0x5ac9('0x76')],_0x5e3a20[_0x5ac9('0x80')]||_0x5ac9('0x5b'),this[_0x5ac9('0x81')](_0x5e3a20[_0x5ac9('0x82')])?_0x5e3a20[_0x5ac9('0x82')]:undefined)[_0x5ac9('0x17')](function(_0x374e1e){_0x31ad83(null,_0x374e1e);})[_0x5ac9('0x12')](function(_0x1eca24){_0x31ad83(_0x1eca24);});};AGIVertices['prototype'][_0x5ac9('0x83')]=function(_0x298417,_0x2e85d5){scripts[_0x5ac9('0x83')](_0x298417[_0x5ac9('0x84')],_0x298417[_0x5ac9('0x85')],_0x298417[_0x5ac9('0x86')],_0x298417['aws_polly_voice']||_0x5ac9('0x87'),_0x298417[_0x5ac9('0x59')],_0x298417[_0x5ac9('0x88')]||'text')[_0x5ac9('0x17')](function(_0x118a83){_0x2e85d5(null,_0x118a83);})[_0x5ac9('0x12')](function(_0x1e9370){_0x2e85d5(_0x1e9370);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x89')]=function(_0xdabe32,_0x124c7e){scripts[_0x5ac9('0x89')](this[_0x5ac9('0xc')]['uniqueid'],_0xdabe32['aws_access_key_id'],_0xdabe32[_0x5ac9('0x85')],_0xdabe32['aws_lex_region'],_0xdabe32[_0x5ac9('0x59')],_0xdabe32[_0x5ac9('0x8a')])[_0x5ac9('0x17')](function(_0x5732ef){_0x124c7e(null,_0x5732ef);})['catch'](function(_0x458075){_0x124c7e(_0x458075);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x8b')]=function(_0x283f2b,_0x106b38,_0x28211c){scripts[_0x5ac9('0x8b')](_0x106b38,_0x283f2b[_0x5ac9('0x76')],_0x283f2b[_0x5ac9('0x8c')]||'en-US')[_0x5ac9('0x17')](function(_0x19d14f){_0x28211c(null,_0x19d14f);})[_0x5ac9('0x12')](function(_0x152d60){_0x28211c(_0x152d60);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x8d')]=function(_0x97e3dc,_0x31cf8e,_0x1e0802){scripts[_0x5ac9('0x8d')](_0x31cf8e,_0x97e3dc[_0x5ac9('0x8e')],_0x97e3dc[_0x5ac9('0x8f')],_0x97e3dc[_0x5ac9('0x6c')])[_0x5ac9('0x17')](function(_0x531f07){_0x1e0802(null,_0x531f07);})[_0x5ac9('0x12')](function(_0x250ed7){_0x1e0802(_0x250ed7);});};AGIVertices['prototype']['clear']=function(_0x500079){var _0x1bfdbc=_['includes'](verticesWithRetry,_0x500079[_0x5ac9('0x35')])?_0x500079:_[_0x5ac9('0x90')](_0x500079);for(var _0x2c9365 in _0x1bfdbc){if(_0x1bfdbc['hasOwnProperty'](_0x2c9365)){if(_0x1bfdbc[_0x2c9365]&&_[_0x5ac9('0x91')](_0x1bfdbc[_0x2c9365])){if(_[_0x5ac9('0x64')](recursiveMapAttributes,_0x2c9365)){_0x1bfdbc[_0x2c9365]=this[_0x5ac9('0x92')](_0x1bfdbc[_0x2c9365]);}else{_0x1bfdbc[_0x2c9365]=this[_0x5ac9('0x93')](_0x1bfdbc[_0x2c9365]);}}}}return _0x1bfdbc;};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x94')]=function(_0x2f21ff){for(var _0x1c7a92 in _0x2f21ff){if(_0x2f21ff['hasOwnProperty'](_0x1c7a92)){if(_[_0x5ac9('0x95')](_0x2f21ff[_0x1c7a92])){this[_0x5ac9('0x94')](_0x2f21ff[_0x1c7a92]);}else if(_[_0x5ac9('0x96')](_0x2f21ff[_0x1c7a92])){for(var _0x13808f=0x0;_0x13808f<_0x2f21ff[_0x1c7a92]['length'];_0x13808f++){this[_0x5ac9('0x94')](_0x2f21ff[_0x1c7a92][_0x13808f]);}}else if(_[_0x5ac9('0x91')](_0x2f21ff[_0x1c7a92])){_0x2f21ff[_0x1c7a92]=this[_0x5ac9('0x93')](_0x2f21ff[_0x1c7a92]);}}}};AGIVertices['prototype'][_0x5ac9('0x97')]=function(_0x5854d6,_0x53d6c6){for(var _0x272a7b in _0x5854d6){if(_0x5854d6['hasOwnProperty'](_0x272a7b)){if(_[_0x5ac9('0x95')](_0x5854d6[_0x272a7b])){if(!_[_0x5ac9('0x40')](_0x5854d6[_0x272a7b])){this[_0x5ac9('0x97')](_0x5854d6[_0x272a7b],util['format']('%s.%s',_0x53d6c6,_0x272a7b));}}else if(_[_0x5ac9('0x96')](_0x5854d6[_0x272a7b])){for(var _0x44db4e=0x0;_0x44db4e<_0x5854d6[_0x272a7b][_0x5ac9('0x98')];_0x44db4e++){this[_0x5ac9('0x97')](_0x5854d6[_0x272a7b][_0x44db4e],util[_0x5ac9('0x26')](_0x5ac9('0x99'),_0x53d6c6,_0x272a7b+'['+_0x44db4e+']'));}}else{if(!_[_0x5ac9('0x4d')](_0x5854d6[_0x272a7b])){this[_0x5ac9('0xc')][_0x5ac9('0x9a')](util[_0x5ac9('0x26')](_0x5ac9('0x99'),_0x53d6c6,_0x272a7b),_0x5854d6[_0x272a7b]);}}}}};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x92')]=function(_0x48dd13){try{var _0xa7bcec=JSON[_0x5ac9('0x67')](_0x48dd13);this[_0x5ac9('0x94')](_0xa7bcec);return JSON[_0x5ac9('0x6f')](_0xa7bcec);}catch(_0x48cf20){return this['replaceAllVariables'](_0x48dd13);}};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x93')]=function(_0x299c40){var _0x48b0e2=_0x299c40[_0x5ac9('0x9b')]('{');for(var _0x450f14=0x1;_0x450f14<_0x48b0e2[_0x5ac9('0x98')];_0x450f14+=0x1){var _0x426929=_0x48b0e2[_0x450f14]['split']('}');if(_0x426929[_0x5ac9('0x98')]>0x1){_0x299c40=_0x299c40[_0x5ac9('0x9c')]('{'+_0x426929[0x0]+'}',this[_0x5ac9('0xc')][_0x5ac9('0xf')](_0x426929[0x0])[_0x5ac9('0x9d')]||_0x426929[0x0]);}}if(_0x48b0e2[_0x5ac9('0x98')]===0x1){return _0x299c40[_0x5ac9('0x47')]();}return this[_0x5ac9('0x93')](_0x299c40);};AGIVertices[_0x5ac9('0xe')]['getAndSetVariable']=function(_0xf6e216,_0x57bd0d){var _0x48845a=this[_0x5ac9('0xc')][_0x5ac9('0xf')](_0xf6e216);if(_0x48845a[_0x5ac9('0x9e')]===-0x1){return _0x48845a;}logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x9f'),_0x57bd0d,_0x48845a[_0x5ac9('0x9d')]));return this[_0x5ac9('0xc')][_0x5ac9('0x9a')](_0x57bd0d,_0x48845a['extra']);};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x81')]=function(_0x3e65b0){return _0x3e65b0&&_0x3e65b0!=='0'&&_0x3e65b0!=='-1'&&_0x3e65b0!=='';};AGIVertices['prototype']['maxRetry']=function(_0x301cc4){this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x301cc4,'-');_0x301cc4['retry']=_0x301cc4[_0x5ac9('0xa1')];return{'code':0xc8,'result':'-'};};AGIVertices[_0x5ac9('0xe')]['mrcpsynth']=function(_0x184b98){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0xa2'),_0x184b98[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x184b98[_0x5ac9('0x59')])){return this['channel']['noop'](_0x5ac9('0xa3'));}var _0x16ac5a='\x22'+_0x184b98['text']+'\x22';if(this['isConfigured'](_0x184b98[_0x5ac9('0x74')])){_0x16ac5a+=','+_0x184b98['options'];}var _0x3b8db1=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0xa4'),_0x16ac5a);if(_0x3b8db1[_0x5ac9('0x9e')]===-0x1){return _0x3b8db1;}return this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xa6'),_0x16ac5a));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xa7')]=function(_0x104e97){logger['info'](util[_0x5ac9('0x26')]('Enter\x20in\x20MRCPRecog\x20(%s)\x20block',_0x104e97['label']));if(!this[_0x5ac9('0x81')](_0x104e97['grammar'])){return this['channel'][_0x5ac9('0xa5')]('no\x20grammar\x20configured');}var _0x12243d=_0x104e97[_0x5ac9('0xa8')];if(this['isConfigured'](_0x104e97[_0x5ac9('0x74')])){_0x12243d+=','+_0x104e97['options'];}var _0x53a337=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0xa9'),_0x12243d);if(_0x53a337['result']===-0x1){return _0x53a337;}var _0x60770b=this['getAndSetVariable']('RECOG_CONFIDENCE()',_0x5ac9('0xaa'));if(_0x60770b[_0x5ac9('0x9e')]===-0x1){return _0x60770b;}var _0x2aa4e2=this['getAndSetVariable']('RECOG_INPUT()','MRCP_RECOG_TRANSCRIPT');if(_0x2aa4e2['result']===-0x1){return _0x2aa4e2;}var _0x2ae023=this[_0x5ac9('0xab')](_0x5ac9('0xac'),_0x5ac9('0xad'));if(_0x2ae023[_0x5ac9('0x9e')]===-0x1){return _0x2ae023;}return this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')](_0x5ac9('0xae'),_0x12243d));};AGIVertices['prototype']['agi']=function(_0x48f80a){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0xaf'),_0x48f80a[_0x5ac9('0x34')]));return this[_0x5ac9('0xc')][_0x5ac9('0x6')]([_0x48f80a[_0x5ac9('0xb0')],_0x48f80a['args']]);};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xb1')]=function(_0x10d34b){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0xb2'),_0x10d34b['label']));if(this[_0x5ac9('0x81')](_0x10d34b['timeout'])){logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0xb3'),_0x10d34b[_0x5ac9('0x62')]));var _0x2f2d32=this['channel'][_0x5ac9('0xb4')](_0x10d34b[_0x5ac9('0x62')]);if(_0x2f2d32[_0x5ac9('0x9e')]===-0x1){return _0x2f2d32;}}return this[_0x5ac9('0xc')]['answer']();};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x46')]=function(_0x4f269e){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0xb5'),_0x4f269e[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x4f269e[_0x5ac9('0xb6')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x4f269e,_0x5ac9('0xb7'));}_0x4f269e[_0x5ac9('0x45')]=moment();if(this[_0x5ac9('0x81')](_0x4f269e[_0x5ac9('0xb8')])){_0x4f269e[_0x5ac9('0x45')]=moment()[_0x5ac9('0xb9')](_0x4f269e[_0x5ac9('0xb8')],'minutes');}if(!this[_0x5ac9('0x81')](_0x4f269e[_0x5ac9('0x48')])){_0x4f269e['callback_priority']=0x2;}this[_0x5ac9('0x3f')][_0x5ac9('0xa0')](this,_0x4f269e);return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xba'),_0x4f269e[_0x5ac9('0x44')],_0x4f269e[_0x5ac9('0xb6')],_0x4f269e[_0x5ac9('0x45')]));};AGIVertices['prototype'][_0x5ac9('0xbb')]=function(_0x55a3d0){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0xbc'),_0x55a3d0[_0x5ac9('0x34')]));var _0x2765b1=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x55a3d0[_0x5ac9('0xbd')],_0x55a3d0['options']);if(_0x2765b1[_0x5ac9('0x9e')]===-0x1){return _0x2765b1;}return this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xbe'),_0x55a3d0[_0x5ac9('0xbd')],_0x55a3d0[_0x5ac9('0x74')]));};AGIVertices[_0x5ac9('0xe')]['lumenvoxtts']=function(_0x53043a){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0xbf'),_0x53043a[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x53043a[_0x5ac9('0x59')])){return this[_0x5ac9('0xc')]['noop'](_0x5ac9('0xa3'));}var _0x1d9edf='\x22'+_0x53043a[_0x5ac9('0x59')]+'\x22';if(this['isConfigured'](_0x53043a[_0x5ac9('0x74')])){_0x1d9edf+=','+_0x53043a[_0x5ac9('0x74')];}var _0x515b90=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0xa4'),_0x1d9edf);if(_0x515b90['result']===-0x1){return _0x515b90;}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util['format']('Executed\x20command\x20MRCPSynth\x20%s',_0x1d9edf));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xc0')]=function(_0x2de671){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20SESTEKTTS\x20(%s)\x20block',_0x2de671[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x2de671['text'])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0xa3'));}var _0x3dbb45='\x22'+_0x2de671['text']+'\x22';if(this['isConfigured'](_0x2de671[_0x5ac9('0x74')])){_0x3dbb45+=','+_0x2de671[_0x5ac9('0x74')];}var _0xc07d46=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0xa4'),_0x3dbb45);if(_0xc07d46[_0x5ac9('0x9e')]===-0x1){return _0xc07d46;}return this['channel'][_0x5ac9('0xa5')](util['format'](_0x5ac9('0xa6'),_0x3dbb45));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xc1')]=function(_0x5362bd){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0xc2'),_0x5362bd['label']));if(!this[_0x5ac9('0x81')](_0x5362bd['grammar'])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('no\x20grammar\x20configured');}var _0x4eaf55=_0x5362bd[_0x5ac9('0xa8')];if(this[_0x5ac9('0x81')](_0x5362bd[_0x5ac9('0x74')])){_0x4eaf55+=','+_0x5362bd['options'];}var _0xf99267=this[_0x5ac9('0xc')][_0x5ac9('0x54')]('MRCPRecog',_0x4eaf55);if(_0xf99267[_0x5ac9('0x9e')]===-0x1){return _0xf99267;}var _0x3a23f1=this[_0x5ac9('0xab')](_0x5ac9('0xc3'),_0x5ac9('0xc4'));if(_0x3a23f1[_0x5ac9('0x9e')]===-0x1){return _0x3a23f1;}var _0x37060f=this[_0x5ac9('0xab')](_0x5ac9('0xc5'),_0x5ac9('0xc6'));if(_0x37060f[_0x5ac9('0x9e')]===-0x1){return _0x37060f;}var _0x56f2a7=this[_0x5ac9('0xab')](_0x5ac9('0xac'),_0x5ac9('0xc7'));if(_0x56f2a7[_0x5ac9('0x9e')]===-0x1){return _0x56f2a7;}return this['channel'][_0x5ac9('0xa5')](util['format']('Executed\x20command\x20MRCPRecog\x20%s',_0x4eaf55));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xc8')]=function(_0x494e11){logger['info'](util[_0x5ac9('0x26')]('Enter\x20in\x20SESTEKASR\x20(%s)\x20block',_0x494e11[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x494e11['grammar'])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('no\x20grammar\x20configured');}var _0x57713d=_0x494e11[_0x5ac9('0xa8')];if(this[_0x5ac9('0x81')](_0x494e11[_0x5ac9('0x74')])){_0x57713d+=','+_0x494e11['options'];}var _0x419526=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0xa9'),_0x57713d);if(_0x419526[_0x5ac9('0x9e')]===-0x1){return _0x419526;}var _0x27d204=this[_0x5ac9('0xab')]('RECOG_CONFIDENCE()',_0x5ac9('0xc9'));if(_0x27d204[_0x5ac9('0x9e')]===-0x1){return _0x27d204;}var _0x4ce381=this[_0x5ac9('0xab')]('RECOG_INPUT()',_0x5ac9('0xca'));if(_0x4ce381[_0x5ac9('0x9e')]===-0x1){return _0x4ce381;}var _0x1ba7f7=this['getAndSetVariable'](_0x5ac9('0xac'),_0x5ac9('0xcb'));if(_0x1ba7f7['result']===-0x1){return _0x1ba7f7;}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xae'),_0x57713d));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xcc')]=function(_0xdcc296){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0xcd'),_0xdcc296[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0xdcc296[_0x5ac9('0xce')])){return this['channel'][_0x5ac9('0x28')](_0xdcc296,_0x5ac9('0xcf'));}var _0x2b8155=this[_0x5ac9('0x15')][_0x5ac9('0xa0')](this,_0xdcc296[_0x5ac9('0xce')]);if(!_0x2b8155){return this['channel']['error'](_0xdcc296,'no\x20odbc\x20database\x20found');}if(!this[_0x5ac9('0x81')](_0xdcc296[_0x5ac9('0x2c')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0xdcc296,'no\x20query\x20configured');}var _0x5404d6=_0xdcc296['query']['replace'](/(\r\n|\n|\r)/gm,'\x20');this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')](_0x5ac9('0xd0'),_0x5404d6));var _0x392bfa=this[_0x5ac9('0xd1')][_0x5ac9('0xa0')](this,_0x2b8155,_0x5404d6);this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0xdcc296,_0x5404d6);if(!this['isConfigured'](_0xdcc296[_0x5ac9('0xd2')])){return this[_0x5ac9('0xc')]['noop'](_0x5ac9('0xd3'));}var _0x2bbe72=this[_0x5ac9('0xf')][_0x5ac9('0xa0')](this,_0xdcc296[_0x5ac9('0xd2')]);if(!_0x2bbe72){return this['channel'][_0x5ac9('0x28')](_0xdcc296,_0x5ac9('0xd4'));}var _0x429f32=this;_0x392bfa['forEach'](function(_0x309fe8,_0x278d31){Object[_0x5ac9('0xd5')](_0x309fe8)[_0x5ac9('0xd6')](function(_0x2c5601){_0x429f32[_0x5ac9('0xc')][_0x5ac9('0x9a')](util[_0x5ac9('0x26')](_0x5ac9('0xd7'),_0x2bbe72,_0x278d31,_0x2c5601),_0x309fe8[_0x2c5601]);});});this['channel']['setVariable'](util[_0x5ac9('0x26')](_0x5ac9('0xd8'),_0x2bbe72),_0x392bfa[_0x5ac9('0x98')]);return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xd9'),_0x2bbe72));};AGIVertices[_0x5ac9('0xe')]['dial']=function(_0x44e099){logger['debug'](util[_0x5ac9('0x26')](_0x5ac9('0xda'),_0x44e099[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x44e099['sip_id'])){return this[_0x5ac9('0xc')]['error'](_0x44e099,_0x5ac9('0xdb'));}var _0x2c4952=this['getUser'][_0x5ac9('0xa0')](this,_0x44e099[_0x5ac9('0xdc')]);if(!_0x2c4952){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x44e099,_0x5ac9('0xdd'));}var _0x36fad4=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0xde'),[util[_0x5ac9('0x26')]('SIP/%s',_0x2c4952),_0x44e099[_0x5ac9('0x62')],_0x44e099[_0x5ac9('0xdf')],_0x44e099[_0x5ac9('0x6e')]]);if(_0x36fad4['result']===-0x1){return _0x36fad4;}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util['format'](_0x5ac9('0xe0'),_0x5ac9('0xde')));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xe1')]=function(_0xf2e606){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0xe2'),_0xf2e606['label']));if(!this[_0x5ac9('0x81')](_0xf2e606['key'])){return this['channel']['noop'](_0x5ac9('0xe3'));}if(!this[_0x5ac9('0x81')](_0xf2e606[_0x5ac9('0x59')])){return this[_0x5ac9('0xc')]['noop']('no\x20text\x20configured');}this[_0x5ac9('0xc')][_0x5ac9('0xe4')]=!![];this['createSquareDetailsReport'](_0xf2e606);this[_0x5ac9('0x3e')](_0xf2e606[_0x5ac9('0x59')],'in','','');this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xe5'),_0xf2e606[_0x5ac9('0x59')]));var _0xcf906e=this[_0x5ac9('0x75')]['sync'](this,_0xf2e606);if(_0xcf906e){for(var _0x28d836 in _0xcf906e){if(_0xcf906e[_0x5ac9('0xe6')](_0x28d836)){this[_0x5ac9('0xc')]['setVariable'](util[_0x5ac9('0x26')](_0x5ac9('0xe7'),_0x28d836[_0x5ac9('0xe8')]()),_0xcf906e[_0x28d836]);}}this[_0x5ac9('0x3e')](_0xcf906e[_0x5ac9('0xe9')],_0x5ac9('0xea'),_0x5ac9('0xe1'),'');return this[_0x5ac9('0xc')]['noop'](util['format'](_0x5ac9('0xeb'),_0xcf906e['speech']));}return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0xf2e606,_0x5ac9('0xec'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xed')]=function(_0x108615){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block',_0x108615['label']));if(!this['isConfigured'](_0x108615[_0x5ac9('0xee')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('no\x20project_id\x20configured');}if(!this[_0x5ac9('0x81')](_0x108615[_0x5ac9('0x79')])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0xef'));}if(!this[_0x5ac9('0x81')](_0x108615['private_key'])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xf0'));}if(!this['isConfigured'](_0x108615[_0x5ac9('0x7b')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xf1'));}if(!this[_0x5ac9('0x81')](_0x108615[_0x5ac9('0x59')])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0xa3'));}this[_0x5ac9('0xc')]['bot']=!![];this[_0x5ac9('0x32')](_0x108615);this[_0x5ac9('0x3e')](_0x108615[_0x5ac9('0x59')],'in','','');this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util['format'](_0x5ac9('0xf2'),_0x108615['text']));var _0x57a7b5=this[_0x5ac9('0x78')]['sync'](this,_0x108615);if(_0x57a7b5){for(var _0x3858e7 in _0x57a7b5){if(_0x57a7b5[_0x5ac9('0xe6')](_0x3858e7)){if(_0x3858e7!==_0x5ac9('0xf3')){this[_0x5ac9('0xc')]['setVariable'](util[_0x5ac9('0x26')]('DIALOGFLOW_%s',_0x3858e7['toUpperCase']()),_0x57a7b5[_0x3858e7]);}}}this['createSquareMessage'](_0x57a7b5['speech'],'out','dialogflowV2',_0x57a7b5[_0x5ac9('0xf3')]);return this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xf4'),_0x57a7b5['speech']));}return this[_0x5ac9('0xc')]['error'](_0x108615,'DialogflowV2\x20is\x20unreachable');};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xf5')]=function(_0x1e0761){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0xf6'),_0x1e0761['label']));if(!this[_0x5ac9('0x81')](_0x1e0761[_0x5ac9('0xf7')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xf8'));}if(!this[_0x5ac9('0x81')](_0x1e0761[_0x5ac9('0xf9')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xfa'));}if(!this[_0x5ac9('0x81')](_0x1e0761[_0x5ac9('0xfb')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xfc'));}if(!this[_0x5ac9('0x81')](_0x1e0761[_0x5ac9('0xfd')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('no\x20text\x20configured');}this[_0x5ac9('0xc')]['bot']=!![];this[_0x5ac9('0x32')](_0x1e0761);this[_0x5ac9('0x3e')](_0x1e0761['text'],'in','','');this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xfe'),_0x1e0761[_0x5ac9('0x59')]));var _0x59762b=this['sestekNDA']['sync'](this,_0x1e0761);if(_0x59762b){for(var _0x3bac02 in _0x59762b){if(_0x59762b[_0x5ac9('0xe6')](_0x3bac02)){this[_0x5ac9('0xc')][_0x5ac9('0x9a')](util[_0x5ac9('0x26')]('SESTEK_NDA_%s',_0x3bac02[_0x5ac9('0xe8')]()),_0x59762b[_0x3bac02]);}}this[_0x5ac9('0x3e')](_0x59762b[_0x5ac9('0xe9')],_0x5ac9('0xea'),_0x5ac9('0xf5'),'');if(_0x59762b[_0x5ac9('0xff')]){this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x100'),_0x59762b['audiofile']));var _0x2f0f82=this[_0x5ac9('0xc')][_0x5ac9('0x101')](_0x59762b[_0x5ac9('0xff')]);try{fs[_0x5ac9('0x102')](_0x59762b['audiofile']+_0x5ac9('0x103'));}catch(_0x3b20f6){logger['error'](_0x3b20f6);}return _0x2f0f82;}else{return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('SestekNDA\x20Result\x20%s',_0x59762b[_0x5ac9('0xe9')]));}}return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x1e0761,_0x5ac9('0x104'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x105')]=function(_0x160b5f){logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x106'),_0x160b5f[_0x5ac9('0x34')]));return this['channel']['noop']('end');};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x107')]=function(_0x18364e){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x108'),_0x18364e[_0x5ac9('0x34')]));var _0x28d99f='';if(_0x18364e['trunk_id']){if(!this[_0x5ac9('0x81')](_0x18364e[_0x5ac9('0x109')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x18364e,'no\x20trunk\x20selected');}else{var _0x367ad6=parseInt(_0x18364e[_0x5ac9('0x109')],0xa);if(isNaN(_0x367ad6)){_0x28d99f=_0x18364e[_0x5ac9('0x109')];}else{_0x28d99f=this[_0x5ac9('0x10a')][_0x5ac9('0xa0')](this,_0x18364e[_0x5ac9('0x109')]);if(!_0x28d99f){return this[_0x5ac9('0xc')]['error'](_0x18364e,_0x5ac9('0x10b'));}}}}else if(_0x18364e[_0x5ac9('0x10c')]){_0x28d99f=_0x18364e[_0x5ac9('0x10c')];}else{return this['channel'][_0x5ac9('0x28')](_0x18364e,_0x5ac9('0x10d'));}var _0x3ecbc3=this[_0x5ac9('0xc')]['exec'](_0x5ac9('0xde'),[util[_0x5ac9('0x26')](_0x5ac9('0x10e'),_0x28d99f,_0x18364e[_0x5ac9('0x44')]),_0x18364e[_0x5ac9('0x62')],_0x18364e[_0x5ac9('0xdf')],_0x18364e[_0x5ac9('0x6e')]]);if(_0x3ecbc3[_0x5ac9('0x9e')]===-0x1){return _0x3ecbc3;}return this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')]('Executed\x20command\x20%s','DIAL'));};AGIVertices[_0x5ac9('0xe')]['finally']=function(_0x387400){logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x10f'),_0x387400[_0x5ac9('0x34')]));return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0x110'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x111')]=function(_0x3fbb67){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x112'),_0x3fbb67[_0x5ac9('0x34')]));if(_0x3fbb67[_0x5ac9('0x113')]===0x0){return this[_0x5ac9('0xa1')](_0x3fbb67);}_0x3fbb67['retry']-=0x1;if(!this[_0x5ac9('0x81')](_0x3fbb67['file_id'])){return this['channel'][_0x5ac9('0x28')](_0x3fbb67,_0x5ac9('0x114'));}var _0x290768=this[_0x5ac9('0x1b')][_0x5ac9('0xa0')](this,_0x3fbb67[_0x5ac9('0x115')]);if(!_0x290768){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x3fbb67,'no\x20file\x20audio\x20found');}if(!this[_0x5ac9('0x81')](_0x3fbb67[_0x5ac9('0xd2')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x5ac9('0xd3'));}var _0x263a77=this[_0x5ac9('0xc')][_0x5ac9('0x116')](_0x290768,_0x3fbb67[_0x5ac9('0x117')],_0x3fbb67[_0x5ac9('0x118')]);var _0x30f0e5=_0x263a77[_0x5ac9('0x9e')]?_0x263a77[_0x5ac9('0x9e')][_0x5ac9('0x47')]():'';logger[_0x5ac9('0x2a')](_0x5ac9('0x119'),JSON['stringify'](_0x263a77));if(_0x263a77[_0x5ac9('0x9e')]===-0x1){this['createSquareDetailsReport']['sync'](this,_0x3fbb67,_0x30f0e5);return _0x263a77;}else if(_0x263a77[_0x5ac9('0x9d')]===_0x5ac9('0x62')){_0x263a77[_0x5ac9('0x9e')]=_0x30f0e5[_0x5ac9('0x98')]>=parseInt(_0x3fbb67['mindigit'])?'x':'i';}else{_0x263a77[_0x5ac9('0x9e')]=_0x30f0e5[_0x5ac9('0x98')]>=parseInt(_0x3fbb67[_0x5ac9('0x11a')])&&_0x30f0e5[_0x5ac9('0x98')]<=parseInt(_0x3fbb67[_0x5ac9('0x118')])?'x':'i';}var _0x38cd17=this[_0x5ac9('0xf')][_0x5ac9('0xa0')](this,_0x3fbb67[_0x5ac9('0xd2')]);if(!_0x38cd17){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x3fbb67,'no\x20variable\x20found');}this[_0x5ac9('0xc')][_0x5ac9('0x9a')](_0x38cd17,_0x30f0e5);if(this[_0x5ac9('0x81')](_0x3fbb67[_0x5ac9('0x11b')])){var _0x1f7210=parseInt(_0x3fbb67[_0x5ac9('0x11b')],0xa);var _0x1a391d=rs[_0x5ac9('0x11c')]({'charset':'*','length':_0x1f7210});var _0x44d90e=_0x30f0e5[_0x5ac9('0x98')];if(_0x44d90e>0x0){if(_0x44d90e>_0x1f7210){this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x3fbb67,_0x3fbb67['hiddendigitspos']===_0x5ac9('0x11d')?_0x1a391d+_0x30f0e5[_0x5ac9('0x11e')](_0x1f7210):_0x30f0e5['substr'](0x0,_0x44d90e-_0x1f7210)+_0x1a391d);}else{this['createSquareDetailsReport']['sync'](this,_0x3fbb67,rs[_0x5ac9('0x11c')]({'charset':'*','length':_0x44d90e}));}}else{this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x3fbb67,'');}}else{this['createSquareDetailsReport'][_0x5ac9('0xa0')](this,_0x3fbb67,_0x30f0e5);}return _0x263a77;};AGIVertices['prototype'][_0x5ac9('0xb')]=function(_0x17021b){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x11f'),_0x17021b['label']));return this[_0x5ac9('0x111')](_0x17021b);};AGIVertices['prototype'][_0x5ac9('0x120')]=function(_0x54f555){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x121'),_0x54f555[_0x5ac9('0x34')]));this[_0x5ac9('0x32')]['sync'](this,_0x54f555,_0x54f555['goalname']);return this['channel']['noop'](util[_0x5ac9('0x26')](_0x5ac9('0x122'),_0x54f555[_0x5ac9('0x123')]));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x124')]=function(_0x2f1bc4){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x125'),_0x2f1bc4[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x2f1bc4['aws_access_key_id'])||!this['isConfigured'](_0x2f1bc4[_0x5ac9('0x85')])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0x126'));}if(!this['isConfigured'](_0x2f1bc4['text'])){return this[_0x5ac9('0xc')]['noop']('no\x20text\x20configured');}this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x127'),_0x2f1bc4['text']));var _0x38fa7c=this['awsPolly'][_0x5ac9('0xa0')](this,_0x2f1bc4);if(_0x38fa7c){this['channel']['noop'](util[_0x5ac9('0x26')](_0x5ac9('0x128'),_0x38fa7c));var _0x5dd71a=this[_0x5ac9('0xc')]['streamFile'](_0x38fa7c);try{fs[_0x5ac9('0x102')](_0x38fa7c+_0x5ac9('0x103'));}catch(_0x5beac1){logger[_0x5ac9('0x28')](_0x5beac1);}return _0x5dd71a;}return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x2f1bc4,_0x5ac9('0x129'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x12a')]=function(_0x24d915){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x12b'),_0x24d915[_0x5ac9('0x34')]));if(!this['isConfigured'](_0x24d915[_0x5ac9('0x84')])||!this[_0x5ac9('0x81')](_0x24d915[_0x5ac9('0x85')])){return this[_0x5ac9('0xc')]['noop'](_0x5ac9('0x126'));}if(!this[_0x5ac9('0x81')](_0x24d915[_0x5ac9('0x8a')])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0x12c'));}if(!this[_0x5ac9('0x81')](_0x24d915[_0x5ac9('0x59')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xa3'));}this[_0x5ac9('0xc')][_0x5ac9('0xe4')]=!![];this[_0x5ac9('0x32')](_0x24d915);this[_0x5ac9('0x3e')](_0x24d915['text'],'in','','');this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x12d'),_0x24d915[_0x5ac9('0x59')]));var _0x1cb66a=this[_0x5ac9('0x89')][_0x5ac9('0xa0')](this,_0x24d915);if(_0x1cb66a){for(var _0x3c585f in _0x1cb66a){if(_0x1cb66a[_0x5ac9('0xe6')](_0x3c585f)&&_[_0x5ac9('0x91')](_0x1cb66a[_0x3c585f])){this[_0x5ac9('0xc')]['setVariable'](util[_0x5ac9('0x26')](_0x5ac9('0x12e'),_0x3c585f[_0x5ac9('0xe8')]()),_0x1cb66a[_0x3c585f]);}}if(_[_0x5ac9('0x4d')](_0x1cb66a['message'])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('Amazon\x20Lex\x20ready\x20for\x20fulfillment');}else{this[_0x5ac9('0x3e')](_0x1cb66a[_0x5ac9('0x72')],_0x5ac9('0xea'),_0x5ac9('0x12f'),'');return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x130'),_0x1cb66a['message']));}}return this[_0x5ac9('0xc')]['error'](_0x24d915,_0x5ac9('0x131'));};AGIVertices['prototype']['googleasr']=function(_0x538bc1){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x132'),_0x538bc1[_0x5ac9('0x34')],_0x538bc1[_0x5ac9('0x62')]));if(!this[_0x5ac9('0x81')](_0x538bc1[_0x5ac9('0x76')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xe3'));}var _0x912f76=_0x5ac9('0x133');var _0x1d65ac=util['format']('%s/recordings/%s',FILES_PATH,rs[_0x5ac9('0x11c')](0x4));var _0x313d62=util[_0x5ac9('0x26')]('%s.%s',_0x1d65ac,_0x912f76);var _0x555fa7=!![];if(_0x538bc1[_0x5ac9('0x134')]===_0x5ac9('0x135')){_0x555fa7=![];}var _0x90b00c=this[_0x5ac9('0xc')][_0x5ac9('0x136')](_0x1d65ac,_0x912f76,_0x538bc1[_0x5ac9('0x137')],_0x538bc1['timeout'],undefined,_0x555fa7);if(_0x90b00c[_0x5ac9('0x9e')]!==-0x1){this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')](_0x5ac9('0x138'),_0x313d62));var _0x277a71=this[_0x5ac9('0x8b')]['sync'](this,_0x538bc1,_0x313d62);if(_0x277a71){for(var _0x17543e in _0x277a71){if(_0x277a71[_0x5ac9('0xe6')](_0x17543e)){this['channel'][_0x5ac9('0x9a')](util[_0x5ac9('0x26')](_0x5ac9('0x139'),_0x17543e[_0x5ac9('0xe8')]()),_0x277a71[_0x17543e]);}}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('GoogleASR\x20Result\x20%s',JSON[_0x5ac9('0x6f')](_0x277a71)));}}return _0x90b00c;};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x13a')]=function(_0x131488){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20TILDEASR\x20(%s)\x20block',_0x131488[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x131488['appid'])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0x13b'));}if(!this['isConfigured'](_0x131488[_0x5ac9('0x8f')])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0x13c'));}var _0x173aba='wav';var _0x3637b4=util[_0x5ac9('0x26')]('%s/recordings/%s',FILES_PATH,rs['generate'](0x4));var _0x4ca245=util[_0x5ac9('0x26')](_0x5ac9('0x99'),_0x3637b4,_0x173aba);var _0x131d7=!![];if(_0x131488[_0x5ac9('0x134')]===_0x5ac9('0x135')){_0x131d7=![];}var _0x145091=this[_0x5ac9('0xc')][_0x5ac9('0x136')](_0x3637b4,_0x173aba,_0x131488[_0x5ac9('0x137')],_0x131488[_0x5ac9('0x62')],undefined,_0x131d7);if(_0x145091['result']!==-0x1){this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x13d'),_0x4ca245));var _0x25b4a7=this[_0x5ac9('0x8d')][_0x5ac9('0xa0')](this,_0x131488,_0x4ca245);if(_0x25b4a7){for(var _0x65744f in _0x25b4a7){if(_0x25b4a7[_0x5ac9('0xe6')](_0x65744f)){this[_0x5ac9('0xc')][_0x5ac9('0x9a')](util[_0x5ac9('0x26')](_0x5ac9('0x13e'),_0x65744f[_0x5ac9('0xe8')]()),_0x25b4a7[_0x65744f]);}}return this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x13f'),JSON[_0x5ac9('0x6f')](_0x25b4a7)));}}return _0x145091;};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x140')]=function(_0x3d153f){logger['info'](util[_0x5ac9('0x26')]('Enter\x20in\x20GOTO\x20(%s)\x20block',_0x3d153f[_0x5ac9('0x34')]));return this[_0x5ac9('0xc')][_0x5ac9('0x141')](_0x3d153f[_0x5ac9('0x38')],_0x3d153f[_0x5ac9('0x39')],_0x3d153f[_0x5ac9('0x3a')]);};AGIVertices['prototype'][_0x5ac9('0x142')]=function(_0x405e65){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x143'),_0x405e65['label']));if(!this[_0x5ac9('0x81')](_0x405e65[_0x5ac9('0x144')])){return this['channel'][_0x5ac9('0x28')](_0x405e65,_0x5ac9('0x145'));}try{var _0x44f16a=eval(_0x405e65[_0x5ac9('0x144')])?_0x5ac9('0x146'):'false';this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')](_0x5ac9('0x147'),_0x405e65[_0x5ac9('0x144')],_0x44f16a));return{'code':0xc8,'result':_0x44f16a};}catch(_0x36652f){return{'code':0xc8,'result':_0x5ac9('0x148')};}};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x149')]=function(_0x99a0a4){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x14a'),_0x99a0a4[_0x5ac9('0x34')]));if(!this['isConfigured'](_0x99a0a4[_0x5ac9('0x14b')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x99a0a4,'no\x20interval\x20configured');}var _0x26a4ef=this[_0x5ac9('0x21')][_0x5ac9('0xa0')](this,_0x99a0a4[_0x5ac9('0x14b')]);if(!_0x26a4ef){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x99a0a4,_0x5ac9('0x14c'));}for(var _0x5b117d=0x0;_0x5b117d<_0x26a4ef['length'];_0x5b117d+=0x1){var _0x4226a9=this[_0x5ac9('0xc')][_0x5ac9('0xf')](util[_0x5ac9('0x26')](_0x5ac9('0x14d'),_0x26a4ef[_0x5b117d]));if(_0x4226a9[_0x5ac9('0x9e')]===-0x1){return _0x4226a9;}logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('IFTIME\x20%s\x20%s',_0x26a4ef[_0x5b117d],_0x4226a9[_0x5ac9('0x9d')]));if(_0x4226a9[_0x5ac9('0x9d')]===_0x5ac9('0x146')){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x14e'),_0x26a4ef[_0x5b117d],_0x5ac9('0x146')));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x14e'),_0x26a4ef[_0x5b117d],_0x5ac9('0x146')));return{'code':0xc8,'result':'true'};}else{logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x14e'),_0x26a4ef[_0x5b117d],'false'));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x14e'),_0x26a4ef[_0x5b117d],_0x5ac9('0x148')));}}return{'code':0xc8,'result':_0x5ac9('0x148')};};AGIVertices[_0x5ac9('0xe')]['hangup']=function(_0x364f0c){logger['info'](util['format'](_0x5ac9('0x14f'),_0x364f0c[_0x5ac9('0x34')]));return this[_0x5ac9('0xc')][_0x5ac9('0x150')]();};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x151')]=function(_0x2d9bd6){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x152'),_0x2d9bd6['label']));if(!this['isConfigured'](_0x2d9bd6[_0x5ac9('0x76')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xe3'));}var _0x190682='wav';var _0x32f86e=util[_0x5ac9('0x26')]('%s/recordings/%s',FILES_PATH,rs[_0x5ac9('0x11c')](0x4));var _0x5efeee=util[_0x5ac9('0x26')](_0x5ac9('0x99'),_0x32f86e,_0x190682);var _0x57b5ff=!![];if(_0x2d9bd6[_0x5ac9('0x134')]===_0x5ac9('0x135')){_0x57b5ff=![];}var _0x5c7408=this[_0x5ac9('0xc')][_0x5ac9('0x136')](_0x32f86e,_0x190682,_0x2d9bd6[_0x5ac9('0x137')],_0x2d9bd6['timeout'],undefined,_0x57b5ff);if(_0x5c7408[_0x5ac9('0x9e')]!==-0x1){this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('ispeech\x20%s\x20file\x20created',_0x5efeee));var _0x444622=this[_0x5ac9('0x153')]['sync'](this,_0x2d9bd6,_0x5efeee);if(_0x444622){for(var _0x4d2d83 in _0x444622){if(_0x444622[_0x5ac9('0xe6')](_0x4d2d83)){this[_0x5ac9('0xc')][_0x5ac9('0x9a')](util['format'](_0x5ac9('0x154'),_0x4d2d83[_0x5ac9('0xe8')]()),_0x444622[_0x4d2d83]);}}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x155'),JSON[_0x5ac9('0x6f')](_0x444622)));}}return _0x5c7408;};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x156')]=function(_0x389bff){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x157'),_0x389bff[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x389bff[_0x5ac9('0x76')])){return this[_0x5ac9('0xc')]['noop']('no\x20key\x20configured');}if(!this['isConfigured'](_0x389bff['text'])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0xa3'));}this[_0x5ac9('0xc')]['noop'](util['format'](_0x5ac9('0x158'),_0x389bff[_0x5ac9('0x59')]));var _0x3448a7=this[_0x5ac9('0x7d')][_0x5ac9('0xa0')](this,_0x389bff);if(_0x3448a7){this['channel']['noop'](util[_0x5ac9('0x26')]('ispeech\x20%s\x20file\x20created',_0x3448a7));var _0x4b5ce9=this['channel'][_0x5ac9('0x101')](_0x3448a7,_0x389bff[_0x5ac9('0x137')]);try{fs[_0x5ac9('0x102')](_0x3448a7+_0x5ac9('0x103'));}catch(_0x595dc1){logger[_0x5ac9('0x28')](_0x595dc1);}return _0x4b5ce9;}return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x389bff,_0x5ac9('0x159'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x15a')]=function(_0x2eb11d){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x15b'),_0x2eb11d['label']));if(!this[_0x5ac9('0x81')](_0x2eb11d['findBy'])){return this[_0x5ac9('0xc')]['error'](_0x2eb11d,'no\x20find\x20by\x20configured');}logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x15c'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x2eb11d[_0x5ac9('0x15d')]));var _0x2d9abb=this[_0x5ac9('0x15e')][_0x5ac9('0xa0')](this,_0x2eb11d['findBy']);if(_0x2d9abb){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x2eb11d[_0x5ac9('0x15d')]));this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this[_0x5ac9('0xc')]['callerid'],_0x2eb11d[_0x5ac9('0x15d')]));return{'code':0xc8,'result':_0x5ac9('0x160')};}else{logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x5ac9('0xc')]['callerid'],_0x2eb11d[_0x5ac9('0x15d')]));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util['format'](_0x5ac9('0x161'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x2eb11d[_0x5ac9('0x15d')]));return{'code':0xc8,'result':_0x5ac9('0x162')};}};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x163')]=function(_0x21fdb2){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x164'),_0x21fdb2[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x21fdb2[_0x5ac9('0x15d')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x21fdb2,_0x5ac9('0x165'));}logger['info'](util['format'](_0x5ac9('0x15c'),this['channel'][_0x5ac9('0x36')],_0x21fdb2[_0x5ac9('0x15d')]));var _0x445563=this[_0x5ac9('0x4f')][_0x5ac9('0xa0')](this,_0x21fdb2[_0x5ac9('0x15d')]);if(_0x445563){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x21fdb2['findBy']));this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x21fdb2[_0x5ac9('0x15d')]));return{'code':0xc8,'result':_0x5ac9('0x160')};}else{logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x161'),this['channel'][_0x5ac9('0x36')],_0x21fdb2[_0x5ac9('0x15d')]));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x161'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x21fdb2[_0x5ac9('0x15d')]));return{'code':0xc8,'result':'failure'};}};AGIVertices['prototype'][_0x5ac9('0x166')]=function(_0x1b63b5){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x167'),_0x1b63b5['label']));if(!this['isConfigured'](_0x1b63b5[_0x5ac9('0x168')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x1b63b5,_0x5ac9('0x169'));}this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x16a'),_0x1b63b5[_0x5ac9('0x168')]));var _0xcfaa83=eval(_0x1b63b5[_0x5ac9('0x168')]);if(!this[_0x5ac9('0x81')](_0x1b63b5['variable_id'])){return this[_0x5ac9('0xc')]['noop'](_0x5ac9('0xd3'));}var _0x2b30d4=this['getVariable'][_0x5ac9('0xa0')](this,_0x1b63b5['variable_id']);if(!_0x2b30d4){return this['channel'][_0x5ac9('0x28')](_0x1b63b5,_0x5ac9('0xd4'));}if(_[_0x5ac9('0x96')](_0xcfaa83)){var _0x2de6f5=this;_0xcfaa83[_0x5ac9('0xd6')](function(_0x39c7a5,_0x9b9bfa){_0x2de6f5[_0x5ac9('0xc')][_0x5ac9('0x9a')](util[_0x5ac9('0x26')]('%s[%s]',_0x2b30d4,_0x9b9bfa),_0x39c7a5);});return this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')]('variable\x20%s[key]\x20set',_0x2b30d4));}else{return this['channel'][_0x5ac9('0x9a')](_0x2b30d4,_0xcfaa83);}};AGIVertices['prototype'][_0x5ac9('0x16b')]=function(_0xe167f0){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20MENU\x20(%s)\x20block',_0xe167f0[_0x5ac9('0x34')]));if(_0xe167f0[_0x5ac9('0x113')]===0x0){return this[_0x5ac9('0xa1')](_0xe167f0);}_0xe167f0[_0x5ac9('0x113')]-=0x1;if(!this[_0x5ac9('0x81')](_0xe167f0[_0x5ac9('0x115')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0xe167f0,_0x5ac9('0x114'));}var _0x19e134=this[_0x5ac9('0x1b')][_0x5ac9('0xa0')](this,_0xe167f0['file_id']);if(!_0x19e134){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0xe167f0,_0x5ac9('0x16c'));}var _0x2268aa=this['channel'][_0x5ac9('0x116')](_0x19e134,_0xe167f0[_0x5ac9('0x117')],_0xe167f0[_0x5ac9('0x16d')]);var _0x45c4c4=_0x2268aa['result'];if(_0x2268aa[_0x5ac9('0x9e')]===-0x1){this[_0x5ac9('0x32')]['sync'](this,_0xe167f0,'-1');return _0x2268aa;}else if(_0x2268aa['extra']===_0x5ac9('0x62')){_0x2268aa[_0x5ac9('0x9e')]=_0x2268aa[_0x5ac9('0x9e')]['length']>0x0?_0x2268aa[_0x5ac9('0x9e')]:'t';}else if(_[_0x5ac9('0x40')](_0x2268aa['result'])){_0x2268aa[_0x5ac9('0x9e')]='#';_0x45c4c4='#';}if(!this[_0x5ac9('0x81')](_0xe167f0['variable_id'])){this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xd3'));}else{var _0x37d4cd=this[_0x5ac9('0xf')]['sync'](this,_0xe167f0[_0x5ac9('0xd2')]);if(!_0x37d4cd){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0xe167f0,_0x5ac9('0xd4'));}this[_0x5ac9('0xc')][_0x5ac9('0x9a')](_0x37d4cd,_0x45c4c4);}this[_0x5ac9('0x32')]['sync'](this,_0xe167f0,_0x45c4c4);return _0x2268aa;};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xa5')]=function(_0x1dea5d){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20NOOP\x20(%s)\x20block',_0x1dea5d[_0x5ac9('0x34')]));return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x1dea5d[_0x5ac9('0x16e')]||_0x1dea5d['label']);};AGIVertices[_0x5ac9('0xe')]['pause']=function(_0x70a203){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x16f'),_0x70a203['label']));if(!this['isConfigured'](_0x70a203[_0x5ac9('0x15d')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x70a203,_0x5ac9('0x165'));}logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x15c'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x70a203[_0x5ac9('0x15d')]));var _0x25d7b1=this['getPause'][_0x5ac9('0xa0')](this,_0x70a203[_0x5ac9('0x170')]);var _0x20550a=this['agentPause']['sync'](this,_0x70a203[_0x5ac9('0x15d')],_0x25d7b1);if(_0x20550a){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x70a203[_0x5ac9('0x15d')]));this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('AGENT\x20%s\x20FOUND\x20BY',this['channel'][_0x5ac9('0x36')],_0x70a203[_0x5ac9('0x15d')]));return{'code':0xc8,'result':_0x5ac9('0x160')};}else{logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x161'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x70a203[_0x5ac9('0x15d')]));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this['channel'][_0x5ac9('0x36')],_0x70a203[_0x5ac9('0x15d')]));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0x5ac9('0xe')]['playback']=function(_0x5c1f54){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x171'),_0x5c1f54[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x5c1f54[_0x5ac9('0x115')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x5c1f54,'no\x20file\x20audio\x20selected');}var _0x4662bf=this[_0x5ac9('0x1b')][_0x5ac9('0xa0')](this,_0x5c1f54[_0x5ac9('0x115')]);if(!_0x4662bf){return this[_0x5ac9('0xc')]['error'](_0x5c1f54,_0x5ac9('0x16c'));}var _0x4c6b0f=this[_0x5ac9('0xc')][_0x5ac9('0x54')]('PLAYBACK',[_0x4662bf,_0x5c1f54[_0x5ac9('0xdf')]]);if(_0x4c6b0f[_0x5ac9('0x9e')]===-0x1){return _0x4c6b0f;}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util['format'](_0x5ac9('0xbe'),_0x5ac9('0x172'),_0x4662bf));};AGIVertices[_0x5ac9('0xe')]['queue']=function(_0x54ae77){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x173'),_0x54ae77['label']));if(!this[_0x5ac9('0x81')](_0x54ae77[_0x5ac9('0x174')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x54ae77,_0x5ac9('0x175'));}var _0x1c0ef1='';var _0x5cf148=parseInt(_0x54ae77[_0x5ac9('0x174')],0xa);if(isNaN(_0x5cf148)){_0x1c0ef1=_0x54ae77[_0x5ac9('0x174')];}else{_0x1c0ef1=this[_0x5ac9('0x176')][_0x5ac9('0xa0')](this,_0x54ae77[_0x5ac9('0x174')]);if(!_0x1c0ef1){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x54ae77,_0x5ac9('0x177'));}}var _0x3cc16c='';if(this[_0x5ac9('0x81')](_0x54ae77[_0x5ac9('0x115')])){var _0x53ffda=this[_0x5ac9('0x1b')]['sync'](this,_0x54ae77['file_id']);if(_0x53ffda){_0x3cc16c=_0x53ffda;}}this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x54ae77,_0x1c0ef1);if(_0x54ae77['opts'][_0x5ac9('0x178')]('x')<0x0){_0x54ae77[_0x5ac9('0xdf')]+='x';}if(_0x54ae77[_0x5ac9('0xdf')]['indexOf']('X')<0x0){_0x54ae77[_0x5ac9('0xdf')]+='X';}this[_0x5ac9('0xc')]['setVariable'](_0x5ac9('0x179'),_0x1c0ef1?_0x1c0ef1['toLowerCase']():'');var _0x5b496f=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0x17a'),[_0x1c0ef1,_0x54ae77[_0x5ac9('0xdf')],_0x54ae77['url'],_0x3cc16c,_0x54ae77[_0x5ac9('0x62')],_0x54ae77[_0x5ac9('0x6')],_0x54ae77['macro'],_0x54ae77['gosub'],'',_0x54ae77['position']]);if(_0x5b496f[_0x5ac9('0x9e')]===-0x1){return _0x5b496f;}return this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')]('Executed\x20command\x20%s\x20%s','QUEUE',_0x1c0ef1));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x17b')]=function(_0x25b2f5){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x17c'),_0x25b2f5[_0x5ac9('0x34')]));var _0x7d2a7c=_0x25b2f5[_0x5ac9('0x17d')]||_0x5ac9('0x133');var _0x5158e2=util[_0x5ac9('0x26')](_0x5ac9('0x17e'),this[_0x5ac9('0xc')][_0x5ac9('0x33')],rs['generate'](0x5));var _0x4ffe96=util[_0x5ac9('0x26')]('%s/recordings/%s.%s',FILES_PATH,_0x5158e2,_0x7d2a7c);var _0x82b62a=util[_0x5ac9('0x26')]('%s/recordings/%s',FILES_PATH,_0x5158e2);this[_0x5ac9('0x37')]['sync'](this,_0x25b2f5,_0x5158e2,_0x4ffe96);this[_0x5ac9('0xc')][_0x5ac9('0x9a')]('RECORDING_SAVENAME',_0x5158e2);logger[_0x5ac9('0x2a')](_0x5ac9('0x17f'),_0x82b62a,_0x7d2a7c,_0x25b2f5[_0x5ac9('0x180')],_0x25b2f5[_0x5ac9('0x62')]);return this[_0x5ac9('0xc')][_0x5ac9('0x136')](_0x82b62a,_0x7d2a7c,_0x25b2f5['escape_digits'],_0x25b2f5[_0x5ac9('0x62')],undefined,!![]);};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x181')]=function(_0x1e432a){logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x182'),_0x1e432a['label']));if(!this[_0x5ac9('0x81')](_0x1e432a[_0x5ac9('0x6e')])){return this[_0x5ac9('0xc')]['noop'](_0x5ac9('0x183'));}var _0xbcf767=this[_0x5ac9('0x60')][_0x5ac9('0xa0')](this,_0x1e432a);logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x184'),util[_0x5ac9('0x185')](_0xbcf767,{'showHidden':![],'depth':null})));if(!this['isConfigured'](_0x1e432a[_0x5ac9('0xd2')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0x186'));}var _0x1fc516=this[_0x5ac9('0xf')]['sync'](this,_0x1e432a[_0x5ac9('0xd2')]);if(!_0x1fc516){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x1e432a,_0x5ac9('0xd4'));}this[_0x5ac9('0xc')]['setVariable'](util[_0x5ac9('0x26')](_0x5ac9('0x187'),_0x1fc516),_0xbcf767[_0x5ac9('0x71')]?_0xbcf767['statusCode']:_0x5ac9('0x188'));this[_0x5ac9('0xc')][_0x5ac9('0x9a')](util[_0x5ac9('0x26')](_0x5ac9('0x189'),_0x1fc516),_0xbcf767[_0x5ac9('0x18a')]?_0xbcf767[_0x5ac9('0x18a')]:'OK');if(_0xbcf767[_0x5ac9('0x66')]){try{this[_0x5ac9('0x97')](_0xbcf767[_0x5ac9('0x66')],_0x1fc516);}catch(_0x1836ce){logger['error'](util['format'](_0x5ac9('0x18b'),_0x1fc516));}}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xd9'),_0x1fc516));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x18c')]=function(_0x5cfb61){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x18d'),_0x5cfb61['label']));return this[_0x5ac9('0xc')][_0x5ac9('0x18e')](_0x5cfb61[_0x5ac9('0x18f')][_0x5ac9('0x190')](/\s+/g,''),_0x5cfb61['escape_digits']);};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x191')]=function(_0x38d15c){logger['info'](util['format'](_0x5ac9('0x192'),_0x38d15c[_0x5ac9('0x34')]));return this[_0x5ac9('0xc')][_0x5ac9('0x193')](_0x38d15c['number']['replace'](/\s+/g,''),_0x38d15c[_0x5ac9('0x180')]);};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x194')]=function(_0x15a192){logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x195'),_0x15a192[_0x5ac9('0x34')]));return this['channel'][_0x5ac9('0x196')](_0x15a192[_0x5ac9('0x59')],_0x15a192[_0x5ac9('0x180')]);};AGIVertices[_0x5ac9('0xe')]['sendMail']=function(_0x357fb5){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20SENDMAIL\x20(%s)\x20block',_0x357fb5[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x357fb5[_0x5ac9('0x197')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0x198'));}var _0x2d6d20=this['getMailAccount'][_0x5ac9('0xa0')](this,_0x357fb5['account_id']);if(!_0x2d6d20||!_0x2d6d20[_0x5ac9('0x199')]){return this[_0x5ac9('0xc')]['error'](_0x357fb5,_0x5ac9('0x19a'));}var _0x3bc581={'from':util[_0x5ac9('0x26')]('\x22%s\x22\x20<%s>',_0x2d6d20['name'],_0x2d6d20[_0x5ac9('0x19b')]||_0x2d6d20[_0x5ac9('0x199')]['user']),'to':_0x357fb5['to']||'','cc':_0x357fb5['cc']||'','bcc':_0x357fb5[_0x5ac9('0x19c')]||'','subject':_0x357fb5['subject'],'html':_0x357fb5[_0x5ac9('0x59')],'text':_0x357fb5['text']};if(this[_0x5ac9('0x81')](_0x357fb5[_0x5ac9('0x19d')])){}logger[_0x5ac9('0x19e')](_0x5ac9('0x19f'),JSON[_0x5ac9('0x6f')](_0x3bc581));this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x357fb5,_0x357fb5[_0x5ac9('0x197')]);this['channel'][_0x5ac9('0xa5')](util['format'](_0x5ac9('0x1a0'),_0x2d6d20[_0x5ac9('0x11')]));this[_0x5ac9('0x1f')][_0x5ac9('0xa0')](this,_0x2d6d20[_0x5ac9('0x1a1')],_0x3bc581);return this['channel'][_0x5ac9('0xa5')]('Mail\x20message\x20added\x20to\x20outgoing\x20process');};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1a2')]=function(_0x193168){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x1a3'),_0x193168[_0x5ac9('0x34')]));return this[_0x5ac9('0xc')]['noop'](_0x5ac9('0x1a4'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1a5')]=function(_0x4c4c2f){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x1a6'),_0x4c4c2f[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x4c4c2f['sms_account_id'])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('no\x20sms\x20account\x20configured');}var _0x308893=this[_0x5ac9('0x30')][_0x5ac9('0xa0')](this,_0x4c4c2f[_0x5ac9('0x1a7')]);if(!_0x308893){return this[_0x5ac9('0xc')]['error'](_0x4c4c2f,_0x5ac9('0x1a8'));}var _0x5838b4={'body':_0x4c4c2f[_0x5ac9('0x1a9')],'phone':_0x4c4c2f['to']||'','SmsAccountId':_0x308893['id']};logger[_0x5ac9('0x19e')](_0x5ac9('0x1aa'),JSON[_0x5ac9('0x6f')](_0x5838b4));this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x4c4c2f,_0x4c4c2f[_0x5ac9('0x1a7')]);this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util['format'](_0x5ac9('0x1ab'),_0x308893[_0x5ac9('0x11')]));this[_0x5ac9('0x31')][_0x5ac9('0xa0')](this,_0x5838b4);return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0x1ac'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1ad')]=function(_0x3fb1d6){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x1ae'),_0x3fb1d6[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x3fb1d6['variable_id'])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x3fb1d6,_0x5ac9('0x1af'));}var _0x8d54c7=this[_0x5ac9('0xf')][_0x5ac9('0xa0')](this,_0x3fb1d6[_0x5ac9('0xd2')]);if(!_0x8d54c7){return this[_0x5ac9('0xc')]['error'](_0x3fb1d6,_0x5ac9('0xd4'));}return this[_0x5ac9('0xc')][_0x5ac9('0x9a')](_0x8d54c7,_0x3fb1d6['variable_value']);};AGIVertices[_0x5ac9('0xe')]['start']=function(_0x3acba8){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x1b0'),_0x3acba8['label']));this['channel'][_0x5ac9('0xa5')](_0x5ac9('0x1b1'));var _0x5c8eae=this[_0x5ac9('0xc')][_0x5ac9('0xf')](_0x5ac9('0x1b2'));if(!_['isEmpty'](_0x5c8eae[_0x5ac9('0x9d')])){this[_0x5ac9('0xc')][_0x5ac9('0x33')]=_0x5c8eae['extra'];}if(_0x3acba8[_0x5ac9('0xb1')]===_0x5ac9('0x1b3')){this[_0x5ac9('0xc')]['noop'](_0x5ac9('0x1b4'));return this[_0x5ac9('0xc')][_0x5ac9('0xb1')]();}return this[_0x5ac9('0xc')]['noop']('Skipped\x20Answer');};AGIVertices[_0x5ac9('0xe')]['subproject']=function(_0x257786){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20SUBPROJECT\x20(%s)\x20block',_0x257786[_0x5ac9('0x34')]));if(!this['isConfigured'](_0x257786[_0x5ac9('0x1b5')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x257786,_0x5ac9('0x1b6'));}var _0x53b5a1=this[_0x5ac9('0x14')][_0x5ac9('0xa0')](this,_0x257786[_0x5ac9('0x1b5')]);if(!this['isConfigured'](_0x53b5a1)){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x257786,util['format'](_0x5ac9('0x1b7'),_0x257786[_0x5ac9('0x1b5')]));}if(_0x53b5a1===this[_0x5ac9('0xc')][_0x5ac9('0x1b8')]){return this[_0x5ac9('0xc')]['error'](_0x257786,_0x5ac9('0x1b9'));}this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x257786,_0x53b5a1);var _0x28771c=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0x1ba'),util['format']('agi://%s/square,\x22%s\x22,\x22%s\x22',config[_0x5ac9('0x6')][_0x5ac9('0x1bb')]||_0x5ac9('0x1bc'),_0x53b5a1,this[_0x5ac9('0xc')][_0x5ac9('0x1b8')]));if(_0x28771c[_0x5ac9('0x9e')]===-0x1){return _0x28771c;}return this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('Executed\x20command\x20%s\x20%s','AGI',_0x53b5a1));};AGIVertices[_0x5ac9('0xe')]['system']=function(_0x314b05){logger['info'](util['format'](_0x5ac9('0x1bd'),_0x314b05[_0x5ac9('0x34')]));var _0x3f4cb2=this[_0x5ac9('0x53')]['sync'](this,_0x314b05['command']);this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x314b05,_0x314b05[_0x5ac9('0xb0')]);if(this[_0x5ac9('0x81')](_0x314b05[_0x5ac9('0xd2')])){var _0x2a799c=this[_0x5ac9('0xf')]['sync'](this,_0x314b05[_0x5ac9('0xd2')]);if(_0x2a799c){this[_0x5ac9('0xc')][_0x5ac9('0x9a')](_0x2a799c,_0x3f4cb2);return this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s',_0x314b05[_0x5ac9('0xb0')],_0x2a799c));}}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('sh\x20command:\x20%s\x20result\x20no\x20stored',_0x314b05[_0x5ac9('0xb0')]));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1be')]=function(_0x1e4d26){logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x1bf'),_0x1e4d26[_0x5ac9('0x34')]));_0x1e4d26[_0x5ac9('0x59')]=_0x1e4d26[_0x5ac9('0x59')][_0x5ac9('0x190')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x5ac9('0x81')](_0x1e4d26[_0x5ac9('0x57')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('no\x20apiKey\x20configured');}if(!this['isConfigured'](_0x1e4d26[_0x5ac9('0x59')])){return this['channel'][_0x5ac9('0xa5')]('no\x20text\x20configured');}this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x1c0'),_0x1e4d26[_0x5ac9('0x59')]));var _0x2ab231=this[_0x5ac9('0x56')][_0x5ac9('0xa0')](this,_0x1e4d26);if(_0x2ab231){this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x1c1'),_0x2ab231));var _0x10a5bf=this['channel']['streamFile'](_0x2ab231);try{fs['unlink'](_0x2ab231+_0x5ac9('0x103'));}catch(_0x3f9e26){logger[_0x5ac9('0x28')](_0x3f9e26);}return _0x10a5bf;}return this['channel']['error'](_0x1e4d26,_0x5ac9('0x1c2'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1c3')]=function(_0x363851){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20GOOGLETTS\x20(%s)\x20block',_0x363851[_0x5ac9('0x34')]));_0x363851['text']=_0x363851[_0x5ac9('0x59')][_0x5ac9('0x190')](/(\r\n|\n|\r)/gm,'\x20');if(!this['isConfigured'](_0x363851[_0x5ac9('0x59')])){return this['channel']['noop'](_0x5ac9('0xa3'));}this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('Trying\x20Google\x20TTS\x20%s',_0x363851['text']));var _0x9855=this[_0x5ac9('0x5f')][_0x5ac9('0xa0')](this,_0x363851);if(_0x9855){this[_0x5ac9('0xc')]['noop'](util['format'](_0x5ac9('0x1c4'),_0x9855));var _0x1a62b3=this[_0x5ac9('0xc')][_0x5ac9('0x101')](_0x9855);try{fs[_0x5ac9('0x102')](_0x9855+'.wav');}catch(_0x49a5b8){logger[_0x5ac9('0x28')](_0x49a5b8);}return _0x1a62b3;}return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x363851,'Google\x20TTS\x20is\x20unreachable');};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1c5')]=function(_0xfc750e){logger[_0x5ac9('0x2a')](util['format']('Enter\x20in\x20UNPAUSE\x20(%s)\x20block',_0xfc750e[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0xfc750e[_0x5ac9('0x15d')])){return this['channel'][_0x5ac9('0x28')](_0xfc750e,'no\x20find\x20by\x20configured');}logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x15c'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0xfc750e[_0x5ac9('0x15d')]));var _0x49a80a=this['agentUnpause'][_0x5ac9('0xa0')](this,_0xfc750e[_0x5ac9('0x15d')]);if(_0x49a80a){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x5ac9('0xc')]['callerid'],_0xfc750e[_0x5ac9('0x15d')]));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0xfc750e['findBy']));return{'code':0xc8,'result':_0x5ac9('0x160')};}else{logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x5ac9('0xc')]['callerid'],_0xfc750e[_0x5ac9('0x15d')]));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x161'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0xfc750e['findBy']));return{'code':0xc8,'result':_0x5ac9('0x162')};}};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1c6')]=function(_0x39c945){logger['info'](util[_0x5ac9('0x26')]('Enter\x20in\x20VOICEMAIL\x20(%s)\x20block',_0x39c945[_0x5ac9('0x34')]));var _0x32250e=this[_0x5ac9('0xc')][_0x5ac9('0x54')]('VOICEMAIL',[_0x39c945[_0x5ac9('0x1c7')],_0x39c945[_0x5ac9('0x74')]]);if(_0x32250e['result']===-0x1){return _0x32250e;}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xbe'),'VOICEMAIL',_0x39c945[_0x5ac9('0x1c7')]));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1c8')]=function(_0x486335){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20SWITCH\x20(%s)\x20block',_0x486335['label']));if(!this[_0x5ac9('0x81')](_0x486335[_0x5ac9('0xd2')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x486335,_0x5ac9('0x1af'));}var _0x53a9e0=this[_0x5ac9('0xf')]['sync'](this,_0x486335[_0x5ac9('0xd2')]);if(!_0x53a9e0){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x486335,_0x5ac9('0xd4'));}var _0x5ec2cc=this[_0x5ac9('0xc')]['getVariable'](_0x53a9e0);return{'code':0xc8,'result':_0x5ec2cc[_0x5ac9('0x9d')]?_0x5ec2cc[_0x5ac9('0x9d')]:'-'};};String[_0x5ac9('0xe')][_0x5ac9('0x9c')]=function(_0x8f1946,_0x44f6d1){return this['split'](_0x8f1946)['join'](_0x44f6d1);};module['exports']=AGIVertices;
\ No newline at end of file