Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / services / agi / vertices.js
index 776662b..c1ffca9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7c28=['login','Enter\x20in\x20LOGIN\x20(%s)\x20block','findBy','AGENT\x20%s\x20FOUND\x20BY','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','logout','Enter\x20in\x20LOGOUT\x20(%s)\x20block','no\x20find\x20by\x20configured','FIND\x20AGENT\x20%s\x20BY\x20%s','Enter\x20in\x20MATH\x20(%s)\x20block','operation','no\x20operation\x20configured','math\x20%s','no\x20variable\x20found','%s[%s]','variable\x20%s[key]\x20set','digit','output','pause','Enter\x20in\x20PAUSE\x20(%s)\x20block','pause_id','success','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','PLAYBACK','queue','Enter\x20in\x20QUEUE\x20(%s)\x20block','queue_id','no\x20queue\x20found','indexOf','XMCS-QUEUE','toLowerCase','QUEUE','macro','gosub','record','%s_%s','%s/recordings/%s.%s','createSquareRecording','RECORDING_SAVENAME','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','Enter\x20in\x20RESTAPI\x20(%s)\x20block','no\x20url\x20configured','Response:','no\x20variable\x20selected\x20for\x20the\x20response','200','%s_STATUS_MESSAGE','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','sayDigits','saynumber','sayphonetic','sayPhonetic','sendMail','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','account_id','no\x20mail\x20account\x20configured','getMailAccount','Smtp','no\x20mail\x20account\x20found','email','bcc','subject','service','host','port','secure','authentication','user','pass','template_id','sendMail\x20message','Trying\x20SendMail\x20with\x20account\x20%s','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','no\x20sms\x20account\x20found','Sms\x20message\x20added\x20to\x20outgoing\x20process','Enter\x20in\x20SET\x20(%s)\x20block','variable_value','start','Enter\x20in\x20START\x20(%s)\x20block','START\x20CALLY\x20SQUARE','Answer','Skipped\x20Answer','project_id','no\x20subproject\x20found\x20with\x20id\x20%d','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','AGI','127.0.0.1','system','Enter\x20in\x20SYSTEM\x20(%s)\x20block','sh\x20command:\x20%s\x20result\x20no\x20stored','google_cloud_tts','Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block','Trying\x20Google\x20Cloud\x20TTS\x20%s','googleCloudTTS','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','tts','Enter\x20in\x20GOOGLETTS\x20(%s)\x20block','unpause','Enter\x20in\x20UNPAUSE\x20(%s)\x20block','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','mailbox','vswitch','Enter\x20in\x20SWITCH\x20(%s)\x20block','no\x20variable\x20selected','join','exports','util','shelljs','odbc','randomstring','moment','mustache','../../config/logger','agi','./scripts','/var/opt/motion2/server/files','rawHeaders','rawBody','menu','getdigits','getsecretdigits','channel','rpc','mailRpc','getVariable','getVariableById','name','catch','prototype','getVoiceQueue','getSquareProject','getSquareProjectById','then','getSquareOdbc','getSquareOdbcById','dsn','getUser','getUserById','getTrunk','getTrunkById','getSoundById','getSoundPath','getMailAccountById','sendMailMessage','getIntervals','getIntervalById','interval','Intervals','format','%s/sounds/converted/%s','getQueryOdbc','error','Error\x20getting\x20ODBC\x20connection\x20%s','info','ODBC\x20connection\x20successfully','query','Error\x20executing\x20query\x20%s','Error\x20closing\x20connection\x20to\x20odbc\x20%s','getSmsAccount','createSmsMessage','createSquareDetailsReport','label','uniqueid','calleridname','context','extension','priority','dnid','arg_1','file','createSquareMessage','createCmContact','random','isEmpty','isNil','phone','list_id','scheduledAt','callback','Callback\x20scheduled\x20at\x20','callback_priority','agentPause','agent','callerid','agentUnpause','agentLogout','agentLogin','internal','%s/%s@from-sip/n','shellCommand','exec','trim','replace','apiKey','google_cloud_tts_text_type','text','en-US','ssmlGender','MALE','audioEncoding','googleTTS','google_tts_language','restAPI','url','method','timeout','number','POST','body','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','headers','parse','computedVariables','uri','render','stringify','statusCode','statusMessage','message','options','googleDialogflow','dialogflow_language','googleDialogflowV2','client_email','dialogflowV2_language','sestekNDA','ispeechTTS','ispeech_tts_language','speed','ispeechASR','key','ispeech_asr_language','isConfigured','model','awsPolly','aws_polly_voice','Amy','aws_text_type','awsLex','aws_access_key_id','aws_secret_access_key','aws_bot_name','googleASR','google_asr_language','tildeASR','appid','appsecret','clear','includes','agicommand','clone','hasOwnProperty','isString','replaceObjectAllVariables','recursiveNodeIndex','isArray','replaceAllVariables','saveRestApiResult','%s.%s','split','replaceAll','toString','getAndSetVariable','result','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','extra','maxRetry','sync','retry','mrcpsynth','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','noop','no\x20text\x20configured','Executed\x20command\x20MRCPSynth\x20%s','mrcprecog','Enter\x20in\x20MRCPRecog\x20(%s)\x20block','grammar','no\x20grammar\x20configured','MRCPRecog','RECOG_CONFIDENCE()','MRCP_RECOG_CONFIDENCE','MRCP_RECOG_TRANSCRIPT','RECOG_INSTANCE()','Executed\x20command\x20MRCPRecog\x20%s','Enter\x20in\x20AGI\x20(%s)\x20block','command','args','Enter\x20in\x20ANSWER\x20(%s)\x20block','Wait\x20%s\x20seconds\x20before\x20answer','wait','answer','add','delay','minutes','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','lumenvoxtts','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','MRCPSynth','sestektts','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','LUMENVOX_ASR_CONFIDENCE','LUMENVOX_ASR_TRANSCRIPT','LUMENVOX_ASR_INSTANCE','sestekasr','SESTEK_ASR_CONFIDENCE','RECOG_INPUT()','SESTEK_ASR_TRANSCRIPT','database','Enter\x20in\x20DATABASE\x20(%s)\x20block','odbc_id','no\x20database\x20selected','no\x20odbc\x20database\x20found','no\x20query\x20configured','query:\x20%s','variable_id','no\x20variable\x20selected\x20for\x20the\x20result','keys','forEach','setVariable','%s[%s][%s]','%s_ROWS_COUNT','length','variable\x20%s\x20set','debug','Enter\x20in\x20DIAL\x20(%s)\x20block','sip_id','DIAL','SIP/%s','opts','dialogflow','Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block','no\x20key\x20configured','Trying\x20Dialogflow:\x20%s','toUpperCase','speech','out','Dialogflow\x20Result\x20%s','Dialogflow\x20is\x20unreachable','dialogflowV2','Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block','dialogflowV2_project_id','no\x20project_id\x20configured','no\x20client_email\x20configured','no\x20private_key\x20configured','no\x20anguage\x20configured','bot','providerResponse','DialogflowV2\x20Result\x20%s','DialogflowV2\x20is\x20unreachable','sesteknda','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','ndauth_url','no\x20ndauth\x20url\x20configured','username','no\x20username\x20configured','password','ndassistant_url','Trying\x20SestekNDA:\x20%s','SESTEK_NDA_%s','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','streamFile','SestekNDA\x20Result\x20%s','end','Enter\x20in\x20END\x20(%s)\x20block','trunk_id','no\x20trunk\x20selected','trunk_name','Executed\x20command\x20%s','finally','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','no\x20file\x20audio\x20selected','getSound','file_id','no\x20file\x20audio\x20found','getData','response','maxdigit','test','mindigit','hiddendigitsnum','generate','hiddendigitspos','first','substr','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','GOAL\x20%s','goalname','awspolly','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','Trying\x20aws\x20Polly\x20%s','aws\x20Polly\x20%s\x20file\x20created','unlink','aws\x20Polly\x20is\x20unreachable','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','no\x20valid\x20credentials\x20configured','Trying\x20Amazon\x20Lex:\x20%s','AWS_LEX_%s','Amazon\x20Lex\x20ready\x20for\x20fulfillment','amazonlex','Amazon\x20Lex\x20Result\x20%s','Amazon\x20Lex\x20is\x20unreachable','googleasr','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','wav','%s/recordings/%s','beep','NOBEEP','recordFile','intKey','google\x20%s\x20file\x20created','GoogleASR\x20Result\x20%s','tildeasr','Enter\x20in\x20TILDEASR\x20(%s)\x20block','no\x20appid\x20configured','no\x20appsecret\x20configured','tilde\x20%s\x20file\x20created','TILDE_ASR_%s','gotoc','Enter\x20in\x20GOTO\x20(%s)\x20block','continueAt','gotoif','Enter\x20in\x20GOTOIF\x20(%s)\x20block','condition','true','EVAL\x20CONDITION\x20%s\x20%s','false','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','interval_id','no\x20interval\x20configured','no\x20intervals\x20found','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','hangup','ispeechasr','Enter\x20in\x20ISPEECHASR\x20(%s)\x20block','ISPEECH_ASR_%s','IspeechASR\x20Result\x20%s','Trying\x20ispeech\x20TTS\x20%s','ispeech\x20%s\x20file\x20created','.wav','ispeech\x20TTS\x20is\x20unreachable'];(function(_0x315f16,_0x2911c3){var _0x10c8b6=function(_0x532c49){while(--_0x532c49){_0x315f16['push'](_0x315f16['shift']());}};_0x10c8b6(++_0x2911c3);}(_0x7c28,0x75));var _0x87c2=function(_0x14fad0,_0x278d75){_0x14fad0=_0x14fad0-0x0;var _0x5c665f=_0x7c28[_0x14fad0];return _0x5c665f;};'use strict';var fs=require('fs');var path=require('path');var util=require(_0x87c2('0x0'));var _=require('lodash');var sh=require(_0x87c2('0x1'));var odbc=require(_0x87c2('0x2'))();var rs=require(_0x87c2('0x3'));var moment=require(_0x87c2('0x4'));var Mustache=require(_0x87c2('0x5'));var rp=require('request-promise');var logger=require(_0x87c2('0x6'))(_0x87c2('0x7'));var config=require('../../config/environment');var scripts=require(_0x87c2('0x8'));var FILES_PATH=_0x87c2('0x9');var recursiveMapAttributes=[_0x87c2('0xa'),_0x87c2('0xb')];var verticesWithRetry=[_0x87c2('0xc'),_0x87c2('0xd'),_0x87c2('0xe')];var AGIVertices=function(_0x337376,_0x1567af,_0x38cff9){this[_0x87c2('0xf')]=_0x337376;this[_0x87c2('0x10')]=_0x1567af;this[_0x87c2('0x11')]=_0x38cff9;};AGIVertices['prototype'][_0x87c2('0x12')]=function(_0x5f192a,_0x3a1dd5){this[_0x87c2('0x10')][_0x87c2('0x13')](_0x5f192a)['then'](function(_0x3f6323){_0x3a1dd5(null,_0x3f6323?_0x3f6323[_0x87c2('0x14')]:![]);})[_0x87c2('0x15')](function(_0x116e69){_0x3a1dd5(_0x116e69);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x17')]=function(_0x261489,_0x157647){this[_0x87c2('0x10')]['getVoiceQueueById'](_0x261489)['then'](function(_0x5dfccc){_0x157647(null,_0x5dfccc?_0x5dfccc['name']:![]);})['catch'](function(_0x447085){_0x157647(_0x447085);});};AGIVertices['prototype'][_0x87c2('0x18')]=function(_0x55afb8,_0x562faf){this[_0x87c2('0x10')][_0x87c2('0x19')](_0x55afb8)[_0x87c2('0x1a')](function(_0x511e5b){_0x562faf(null,_0x511e5b?_0x511e5b[_0x87c2('0x14')]:![]);})[_0x87c2('0x15')](function(_0x2ee376){_0x562faf(_0x2ee376);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x1b')]=function(_0x3befa0,_0x492a8d){this[_0x87c2('0x10')][_0x87c2('0x1c')](_0x3befa0)[_0x87c2('0x1a')](function(_0x5155a8){_0x492a8d(null,_0x5155a8?_0x5155a8[_0x87c2('0x1d')]:![]);})[_0x87c2('0x15')](function(_0x533599){_0x492a8d(_0x533599);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x1e')]=function(_0x5c8b90,_0x8919be){this[_0x87c2('0x10')][_0x87c2('0x1f')](_0x5c8b90)[_0x87c2('0x1a')](function(_0x1afe57){_0x8919be(null,_0x1afe57?_0x1afe57[_0x87c2('0x14')]:![]);})[_0x87c2('0x15')](function(_0x5b24a7){_0x8919be(_0x5b24a7);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x20')]=function(_0x37b88e,_0x13e9df){this[_0x87c2('0x10')][_0x87c2('0x21')](_0x37b88e)[_0x87c2('0x1a')](function(_0x1c5311){_0x13e9df(null,_0x1c5311?_0x1c5311[_0x87c2('0x14')]:![]);})[_0x87c2('0x15')](function(_0xe977ec){_0x13e9df(_0xe977ec);});};AGIVertices[_0x87c2('0x16')]['getSound']=function(_0x11eff3,_0x25e3d1){var _0x4210a9=this;this[_0x87c2('0x10')][_0x87c2('0x22')](_0x11eff3)[_0x87c2('0x1a')](function(_0x335969){_0x25e3d1(null,_0x335969?_0x4210a9[_0x87c2('0x23')](_0x335969['save_name']):![]);})['catch'](function(_0x18c6b5){_0x25e3d1(_0x18c6b5);});};AGIVertices[_0x87c2('0x16')]['getMailAccount']=function(_0x3fcc32,_0x1101ab){this['rpc'][_0x87c2('0x24')](_0x3fcc32)[_0x87c2('0x1a')](function(_0x52aa0b){_0x1101ab(null,_0x52aa0b?_0x52aa0b:![]);})[_0x87c2('0x15')](function(_0x1dfa9b){_0x1101ab(_0x1dfa9b);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x25')]=function(_0x210bcd,_0x8860bb,_0x31f2a4){this['mailRpc'][_0x87c2('0x25')](_0x210bcd,_0x8860bb)[_0x87c2('0x1a')](function(){_0x31f2a4(null);})[_0x87c2('0x15')](function(_0x38b19d){_0x31f2a4(_0x38b19d);});};AGIVertices['prototype'][_0x87c2('0x26')]=function(_0x45484c,_0x4b5971){this[_0x87c2('0x10')][_0x87c2('0x27')](_0x45484c)['then'](function(_0x2905ce){if(_0x2905ce){if(_0x2905ce['IntervalId']){_0x4b5971(null,[_0x2905ce[_0x87c2('0x28')]]);}else{_0x4b5971(null,_['map'](_0x2905ce[_0x87c2('0x29')],'interval'));}}else{_0x4b5971(null,![]);}})[_0x87c2('0x15')](function(_0x5cebe1){_0x4b5971(_0x5cebe1);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x23')]=function(_0x5000aa){return util[_0x87c2('0x2a')](_0x87c2('0x2b'),FILES_PATH,_0x5000aa);};AGIVertices[_0x87c2('0x16')][_0x87c2('0x2c')]=function(_0x2f251f,_0x2edc30,_0x1a478a){odbc['open'](_0x2f251f,function(_0x58ff5c){if(_0x58ff5c){logger[_0x87c2('0x2d')](_0x87c2('0x2e'),_0x58ff5c);_0x1a478a(_0x58ff5c);}else{logger[_0x87c2('0x2f')](_0x87c2('0x30'));odbc[_0x87c2('0x31')](_0x2edc30,function(_0x1f5584,_0x42c804){if(_0x1f5584){logger[_0x87c2('0x2f')](_0x87c2('0x32'),_0x2edc30);_0x1a478a(_0x1f5584);}else{logger[_0x87c2('0x2f')]('Query\x20executed\x20correctly\x20%s',_0x2edc30);odbc['close'](function(_0x4a12c4){if(_0x4a12c4){logger[_0x87c2('0x2d')](_0x87c2('0x33'),_0x4a12c4);}_0x1a478a(null,_0x42c804);});}});}});};AGIVertices['prototype'][_0x87c2('0x34')]=function(_0x37b345,_0x21b219){this[_0x87c2('0x10')]['getSmsAccountById'](_0x37b345)[_0x87c2('0x1a')](function(_0x2036a9){_0x21b219(null,_0x2036a9?_0x2036a9:![]);})[_0x87c2('0x15')](function(_0x344491){_0x21b219(_0x344491);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x35')]=function(_0x2d1832,_0x18e598){this[_0x87c2('0x10')][_0x87c2('0x35')](_0x2d1832)[_0x87c2('0x1a')](function(_0x3510d7){_0x18e598(null,_0x3510d7);})[_0x87c2('0x15')](function(_0x524dab){_0x18e598(_0x524dab);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x36')]=function(_0x1297d4,_0x3ec479,_0x2d3a29){this[_0x87c2('0x10')]['createSquareDetailsReport']({'uniqueid':this['channel']['uniqueid'],'node':_0x1297d4[_0x87c2('0x37')],'application':_0x1297d4['agicommand'],'data':_0x3ec479||null,'project_name':this[_0x87c2('0xf')]['arg_1'],'callerid':this[_0x87c2('0xf')]['callerid']})[_0x87c2('0x1a')](function(_0x3c1022){if(_0x2d3a29){_0x2d3a29(null,_0x3c1022);}})[_0x87c2('0x15')](function(_0x3ae978){if(_0x2d3a29){_0x2d3a29(_0x3ae978);}});};AGIVertices[_0x87c2('0x16')]['createSquareRecording']=function(_0x269136,_0xdd2db2,_0x52e085,_0x472e8c){this['rpc']['createSquareRecording']({'uniqueid':this[_0x87c2('0xf')][_0x87c2('0x38')],'callerid':this['channel']['callerid'],'calleridname':this[_0x87c2('0xf')][_0x87c2('0x39')],'context':this[_0x87c2('0xf')][_0x87c2('0x3a')],'extension':this[_0x87c2('0xf')][_0x87c2('0x3b')],'priority':this[_0x87c2('0xf')][_0x87c2('0x3c')],'accountcode':this[_0x87c2('0xf')]['accountcode'],'dnid':this[_0x87c2('0xf')][_0x87c2('0x3d')],'projectName':this[_0x87c2('0xf')][_0x87c2('0x3e')],'saveName':_0xdd2db2,'filename':_0x269136[_0x87c2('0x3f')]||_0xdd2db2,'savePath':_0x52e085})[_0x87c2('0x1a')](function(_0x5d3369){_0x472e8c(null,_0x5d3369);})[_0x87c2('0x15')](function(_0x346209){_0x472e8c(_0x346209);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x40')]=function(_0x5df12d,_0x5e5147,_0x5d4a94,_0x14e14e,_0x475843){this[_0x87c2('0x10')][_0x87c2('0x40')]({'uniqueid':this['channel'][_0x87c2('0x38')],'body':_0x5df12d,'direction':_0x5e5147,'providerName':_0x5d4a94,'providerResponse':_0x14e14e})[_0x87c2('0x1a')](function(_0xd72a0a){if(_0x475843){_0x475843(null,_0xd72a0a);}})[_0x87c2('0x15')](function(_0x228541){if(_0x475843){_0x475843(_0x228541);}});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x41')]=function(_0x1afb9c,_0x36134d){this['rpc'][_0x87c2('0x41')]({'firstName':_['isEmpty'](_0x1afb9c[_0x87c2('0x14')])||_['isNil'](_0x1afb9c['name'])?'callback_'+Math[_0x87c2('0x42')]():_0x1afb9c[_0x87c2('0x14')],'lastName':_[_0x87c2('0x43')](_0x1afb9c['lastName'])||_[_0x87c2('0x44')](_0x1afb9c['lastName'])?null:_0x1afb9c['lastName'],'phone':_0x1afb9c[_0x87c2('0x45')],'ListId':_0x1afb9c[_0x87c2('0x46')],'scheduledat':_0x1afb9c[_0x87c2('0x47')],'callbackUniqueid':this[_0x87c2('0xf')][_0x87c2('0x38')],'tags':_0x87c2('0x48'),'description':_0x87c2('0x49')+_0x1afb9c[_0x87c2('0x47')]['toString'](),'priority':_0x1afb9c[_0x87c2('0x4a')]})[_0x87c2('0x1a')](function(_0x25b651){_0x36134d(null,_0x25b651);})[_0x87c2('0x15')](function(_0x189d04){_0x36134d(_0x189d04);});};AGIVertices[_0x87c2('0x16')]['getPause']=function(_0x20bd7c,_0xc37d56){this['rpc']['getPauseById'](_0x20bd7c)[_0x87c2('0x1a')](function(_0x9c8094){_0xc37d56(null,_0x9c8094?_0x9c8094[_0x87c2('0x14')]:![]);})[_0x87c2('0x15')](function(_0x5d8f7d){_0xc37d56(_0x5d8f7d);});};AGIVertices['prototype'][_0x87c2('0x4b')]=function(_0x1903a5,_0x1d8802,_0x58d6c9){var _0x53999e={'role':_0x87c2('0x4c')};_0x53999e[_0x1903a5]=this['channel'][_0x87c2('0x4d')];this[_0x87c2('0x10')]['agentPause'](_0x53999e,_0x1d8802,this[_0x87c2('0xf')]['uniqueid'])[_0x87c2('0x1a')](function(_0x5b05b7){_0x58d6c9(null,_[_0x87c2('0x44')](_0x5b05b7)?![]:!![]);})[_0x87c2('0x15')](function(_0x14c92d){logger['error'](_0x14c92d);_0x58d6c9(null,![]);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x4e')]=function(_0x5a717e,_0x168a75){var _0x4696bd={'role':'agent'};_0x4696bd[_0x5a717e]=this[_0x87c2('0xf')][_0x87c2('0x4d')];this['rpc']['agentUnpause'](_0x4696bd)['then'](function(_0x23025f){_0x168a75(null,_[_0x87c2('0x44')](_0x23025f)?![]:!![]);})['catch'](function(_0x3688e5){logger[_0x87c2('0x2d')](_0x3688e5);_0x168a75(null,![]);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x4f')]=function(_0x313a39,_0x524dbb){var _0x3d58be={'role':_0x87c2('0x4c')};_0x3d58be[_0x313a39]=this[_0x87c2('0xf')][_0x87c2('0x4d')];this[_0x87c2('0x10')][_0x87c2('0x4f')](_0x3d58be)[_0x87c2('0x1a')](function(_0x123c7e){_0x524dbb(null,_[_0x87c2('0x44')](_0x123c7e)?![]:!![]);})['catch'](function(_0x14d45f){logger[_0x87c2('0x2d')](_0x14d45f);_0x524dbb(null,![]);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x50')]=function(_0x1a2188,_0x508f11){var _0x2205d0={'role':'agent'};_0x2205d0[_0x1a2188]=this[_0x87c2('0xf')][_0x87c2('0x4d')];var _0x42825d=_0x1a2188!=_0x87c2('0x51')?util[_0x87c2('0x2a')](_0x87c2('0x52'),'LOCAL',this[_0x87c2('0xf')][_0x87c2('0x4d')]):undefined;this['rpc']['agentLogin'](_0x2205d0,_0x42825d)['then'](function(_0x4508c8){_0x508f11(null,_[_0x87c2('0x44')](_0x4508c8)?![]:!![]);})[_0x87c2('0x15')](function(_0xb77171){logger[_0x87c2('0x2d')](_0xb77171);_0x508f11(null,![]);});};AGIVertices['prototype'][_0x87c2('0x53')]=function(_0x1e854c,_0xcf7f24){sh[_0x87c2('0x54')](_[_0x87c2('0x55')](_0x1e854c),function(_0x389c49,_0x380f9b){var _0x5b892f=_0x380f9b[_0x87c2('0x56')](/(\r\n|\n|\r)/gm,'');_0xcf7f24(null,_0x5b892f);});};AGIVertices[_0x87c2('0x16')]['googleCloudTTS']=function(_0x2026fd,_0x4ff26b){scripts['googleCloudTTS'](_0x2026fd[_0x87c2('0x57')],_0x2026fd[_0x87c2('0x58')]||_0x87c2('0x59'),_0x2026fd[_0x87c2('0x59')],_0x2026fd['languageCode']||_0x87c2('0x5a'),_0x2026fd[_0x87c2('0x5b')]||_0x87c2('0x5c'),_0x2026fd[_0x87c2('0x5d')]||'MP3')[_0x87c2('0x1a')](function(_0x4ba900){_0x4ff26b(null,_0x4ba900);})[_0x87c2('0x15')](function(_0x4d248d){_0x4ff26b(_0x4d248d);});};AGIVertices['prototype'][_0x87c2('0x5e')]=function(_0x2162ce,_0x351a4e){scripts[_0x87c2('0x5e')](_0x2162ce[_0x87c2('0x59')],_0x2162ce[_0x87c2('0x5f')]||'en',0x1)[_0x87c2('0x1a')](function(_0x5310fa){_0x351a4e(null,_0x5310fa);})[_0x87c2('0x15')](function(_0x297c4c){_0x351a4e(_0x297c4c);});};AGIVertices['prototype'][_0x87c2('0x60')]=function(_0x3ee04c,_0x5a4287){var _0x2fb842={'uri':_0x3ee04c[_0x87c2('0x61')],'method':_0x3ee04c[_0x87c2('0x62')],'json':!![],'resolveWithFullResponse':!![],'timeout':typeof parseInt(_0x3ee04c[_0x87c2('0x63')])===_0x87c2('0x64')&&parseInt(_0x3ee04c[_0x87c2('0x63')])>=0x1?parseInt(_0x3ee04c[_0x87c2('0x63')])*0x3e8:0x5*0x3e8};if(_['includes']([_0x87c2('0x65'),'PUT'],_0x2fb842[_0x87c2('0x62')]['toUpperCase']())){try{_0x2fb842[_0x87c2('0x66')]=_0x3ee04c[_0x87c2('0xb')]?JSON['parse'](_0x3ee04c[_0x87c2('0xb')]):{};}catch(_0x4b423c){logger[_0x87c2('0x2d')](_0x87c2('0x67'),_0x4b423c);}}try{_0x2fb842[_0x87c2('0x68')]=_0x3ee04c[_0x87c2('0xa')]?JSON[_0x87c2('0x69')](_0x3ee04c[_0x87c2('0xa')]):{};}catch(_0x5574ac){logger[_0x87c2('0x2d')]('An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function',_0x5574ac);}if(_0x3ee04c[_0x87c2('0x6a')]){try{var _0x1e1b5c=require(_0x3ee04c[_0x87c2('0x6a')])['sync'](this,_0x2fb842);_0x2fb842[_0x87c2('0x6b')]=Mustache['render'](_0x3ee04c['url'],_0x1e1b5c,{},['$$','$$']);if(_0x2fb842[_0x87c2('0x68')]){_0x2fb842[_0x87c2('0x68')]=JSON[_0x87c2('0x69')](Mustache[_0x87c2('0x6c')](JSON[_0x87c2('0x6d')](_0x2fb842[_0x87c2('0x68')]),_0x1e1b5c,{},['$$','$$']));}if(_0x2fb842[_0x87c2('0x66')]){_0x2fb842[_0x87c2('0x66')]=JSON['parse'](Mustache[_0x87c2('0x6c')](JSON[_0x87c2('0x6d')](_0x2fb842[_0x87c2('0x66')]),_0x1e1b5c,{},['$$','$$']));}}catch(_0x4812c2){logger['error']('An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function',_0x4812c2);}}rp(_0x2fb842)[_0x87c2('0x1a')](function(_0x2bd39c){var _0x4126fc={'statusCode':_0x2bd39c[_0x87c2('0x6e')]||0xc8,'statusMessage':_0x2bd39c[_0x87c2('0x6f')]||'OK','headers':_0x2bd39c[_0x87c2('0x68')]||{},'body':_0x2bd39c[_0x87c2('0x66')]||{}};_0x5a4287(null,_0x4126fc);})['catch'](function(_0x532674){var _0x4cc501={'statusCode':_0x532674[_0x87c2('0x6e')]||0x1f4,'statusMessage':_0x532674[_0x87c2('0x70')]||'500\x20-\x20Internal\x20Server\x20Error','headers':_0x532674[_0x87c2('0x71')]['headers']||{},'body':_0x532674[_0x87c2('0x71')][_0x87c2('0x66')]||{}};_0x5a4287(null,_0x4cc501);});};AGIVertices['prototype']['googleDialogflow']=function(_0x22ce38,_0x2e6c93){scripts[_0x87c2('0x72')](this['channel'][_0x87c2('0x38')],_0x22ce38['key'],_0x22ce38[_0x87c2('0x59')],_0x22ce38[_0x87c2('0x73')]||'en')['then'](function(_0x49479f){_0x2e6c93(null,_0x49479f);})[_0x87c2('0x15')](function(_0x2d79bb){_0x2e6c93(_0x2d79bb);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x74')]=function(_0x224b12,_0x84864f){scripts[_0x87c2('0x74')](this[_0x87c2('0xf')][_0x87c2('0x38')],_0x224b12['dialogflowV2_project_id'],_0x224b12[_0x87c2('0x75')],_0x224b12['private_key'],_0x224b12[_0x87c2('0x59')],_0x224b12[_0x87c2('0x76')]||'en')[_0x87c2('0x1a')](function(_0x240ba2){_0x84864f(null,_0x240ba2);})[_0x87c2('0x15')](function(_0x30ed5a){_0x84864f(_0x30ed5a);});};AGIVertices['prototype'][_0x87c2('0x77')]=function(_0x2c87bd,_0x26840a){scripts[_0x87c2('0x77')](this[_0x87c2('0xf')],_0x2c87bd)[_0x87c2('0x1a')](function(_0x5477e5){_0x26840a(null,_0x5477e5);})[_0x87c2('0x15')](function(_0x1a37c8){_0x26840a(_0x1a37c8);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x78')]=function(_0x3d2215,_0x563b28){scripts[_0x87c2('0x78')](_0x3d2215['key'],_0x3d2215[_0x87c2('0x59')],_0x3d2215[_0x87c2('0x79')]||_0x87c2('0x5a'),_0x3d2215[_0x87c2('0x7a')])[_0x87c2('0x1a')](function(_0x5c1765){_0x563b28(null,_0x5c1765);})[_0x87c2('0x15')](function(_0x1b3e13){_0x563b28(_0x1b3e13);});};AGIVertices['prototype'][_0x87c2('0x7b')]=function(_0x17457c,_0x4d9497,_0x2c6829){scripts['ispeechASR'](_0x4d9497,_0x17457c[_0x87c2('0x7c')],_0x17457c[_0x87c2('0x7d')]||_0x87c2('0x5a'),this[_0x87c2('0x7e')](_0x17457c[_0x87c2('0x7f')])?_0x17457c['model']:undefined)[_0x87c2('0x1a')](function(_0x1e7938){_0x2c6829(null,_0x1e7938);})[_0x87c2('0x15')](function(_0x5776a5){_0x2c6829(_0x5776a5);});};AGIVertices[_0x87c2('0x16')]['awsPolly']=function(_0x2bf39f,_0x643d){scripts[_0x87c2('0x80')](_0x2bf39f['aws_access_key_id'],_0x2bf39f['aws_secret_access_key'],_0x2bf39f['aws_polly_region'],_0x2bf39f[_0x87c2('0x81')]||_0x87c2('0x82'),_0x2bf39f[_0x87c2('0x59')],_0x2bf39f[_0x87c2('0x83')]||_0x87c2('0x59'))['then'](function(_0x156dd1){_0x643d(null,_0x156dd1);})[_0x87c2('0x15')](function(_0x5ed79a){_0x643d(_0x5ed79a);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x84')]=function(_0x1ad278,_0x1fb927){scripts[_0x87c2('0x84')](this['channel'][_0x87c2('0x38')],_0x1ad278[_0x87c2('0x85')],_0x1ad278[_0x87c2('0x86')],_0x1ad278['aws_lex_region'],_0x1ad278[_0x87c2('0x59')],_0x1ad278[_0x87c2('0x87')])['then'](function(_0x590f63){_0x1fb927(null,_0x590f63);})[_0x87c2('0x15')](function(_0xbbc7b4){_0x1fb927(_0xbbc7b4);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x88')]=function(_0x314416,_0x26416d,_0x4632c4){scripts[_0x87c2('0x88')](_0x26416d,_0x314416[_0x87c2('0x7c')],_0x314416[_0x87c2('0x89')]||_0x87c2('0x5a'))[_0x87c2('0x1a')](function(_0x1bc558){_0x4632c4(null,_0x1bc558);})[_0x87c2('0x15')](function(_0x19c97b){_0x4632c4(_0x19c97b);});};AGIVertices[_0x87c2('0x16')]['tildeASR']=function(_0x447c4d,_0xc31469,_0x42389c){scripts[_0x87c2('0x8a')](_0xc31469,_0x447c4d[_0x87c2('0x8b')],_0x447c4d[_0x87c2('0x8c')],_0x447c4d['uri'])[_0x87c2('0x1a')](function(_0x4810d5){_0x42389c(null,_0x4810d5);})['catch'](function(_0x5a03d9){_0x42389c(_0x5a03d9);});};AGIVertices[_0x87c2('0x16')][_0x87c2('0x8d')]=function(_0x39c21){var _0xdee77a=_[_0x87c2('0x8e')](verticesWithRetry,_0x39c21[_0x87c2('0x8f')])?_0x39c21:_[_0x87c2('0x90')](_0x39c21);for(var _0x1fdec4 in _0xdee77a){if(_0xdee77a[_0x87c2('0x91')](_0x1fdec4)){if(_0xdee77a[_0x1fdec4]&&_[_0x87c2('0x92')](_0xdee77a[_0x1fdec4])){if(_['includes'](recursiveMapAttributes,_0x1fdec4)){_0xdee77a[_0x1fdec4]=this[_0x87c2('0x93')](_0xdee77a[_0x1fdec4]);}else{_0xdee77a[_0x1fdec4]=this['replaceAllVariables'](_0xdee77a[_0x1fdec4]);}}}}return _0xdee77a;};AGIVertices['prototype'][_0x87c2('0x94')]=function(_0x1b624b){for(var _0xb70c4a in _0x1b624b){if(_0x1b624b[_0x87c2('0x91')](_0xb70c4a)){if(_['isPlainObject'](_0x1b624b[_0xb70c4a])){this['recursiveNodeIndex'](_0x1b624b[_0xb70c4a]);}else if(_[_0x87c2('0x95')](_0x1b624b[_0xb70c4a])){for(var _0x219ff6=0x0;_0x219ff6<_0x1b624b[_0xb70c4a]['length'];_0x219ff6++){this[_0x87c2('0x94')](_0x1b624b[_0xb70c4a][_0x219ff6]);}}else if(_[_0x87c2('0x92')](_0x1b624b[_0xb70c4a])){_0x1b624b[_0xb70c4a]=this[_0x87c2('0x96')](_0x1b624b[_0xb70c4a]);}}}};AGIVertices[_0x87c2('0x16')][_0x87c2('0x97')]=function(_0x176972,_0x479219){for(var _0x55a870 in _0x176972){if(_0x176972[_0x87c2('0x91')](_0x55a870)){if(_['isPlainObject'](_0x176972[_0x55a870])){if(!_[_0x87c2('0x43')](_0x176972[_0x55a870])){this['saveRestApiResult'](_0x176972[_0x55a870],util[_0x87c2('0x2a')](_0x87c2('0x98'),_0x479219,_0x55a870));}}else if(_[_0x87c2('0x95')](_0x176972[_0x55a870])){for(var _0x57b8cd=0x0;_0x57b8cd<_0x176972[_0x55a870]['length'];_0x57b8cd++){this['saveRestApiResult'](_0x176972[_0x55a870][_0x57b8cd],util[_0x87c2('0x2a')](_0x87c2('0x98'),_0x479219,_0x55a870+'['+_0x57b8cd+']'));}}else{if(!_['isNil'](_0x176972[_0x55a870])){this[_0x87c2('0xf')]['setVariable'](util['format'](_0x87c2('0x98'),_0x479219,_0x55a870),_0x176972[_0x55a870]);}}}}};AGIVertices['prototype'][_0x87c2('0x93')]=function(_0x57d18f){try{var _0x45e018=JSON[_0x87c2('0x69')](_0x57d18f);this[_0x87c2('0x94')](_0x45e018);return JSON['stringify'](_0x45e018);}catch(_0x2ae06c){return this[_0x87c2('0x96')](_0x57d18f);}};AGIVertices[_0x87c2('0x16')][_0x87c2('0x96')]=function(_0x1475d6){var _0x1e710f=_0x1475d6[_0x87c2('0x99')]('{');for(var _0x1283cd=0x1;_0x1283cd<_0x1e710f['length'];_0x1283cd+=0x1){var _0x2c8cfd=_0x1e710f[_0x1283cd][_0x87c2('0x99')]('}');if(_0x2c8cfd['length']>0x1){_0x1475d6=_0x1475d6[_0x87c2('0x9a')]('{'+_0x2c8cfd[0x0]+'}',this[_0x87c2('0xf')][_0x87c2('0x12')](_0x2c8cfd[0x0])['extra']||_0x2c8cfd[0x0]);}}if(_0x1e710f['length']===0x1){return _0x1475d6[_0x87c2('0x9b')]();}return this['replaceAllVariables'](_0x1475d6);};AGIVertices[_0x87c2('0x16')][_0x87c2('0x9c')]=function(_0x40657e,_0x3cfc9e){var _0x10566b=this[_0x87c2('0xf')][_0x87c2('0x12')](_0x40657e);if(_0x10566b[_0x87c2('0x9d')]===-0x1){return _0x10566b;}logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x9e'),_0x3cfc9e,_0x10566b['extra']));return this['channel']['setVariable'](_0x3cfc9e,_0x10566b[_0x87c2('0x9f')]);};AGIVertices[_0x87c2('0x16')][_0x87c2('0x7e')]=function(_0x147e7b){return _0x147e7b&&_0x147e7b!=='0'&&_0x147e7b!=='-1'&&_0x147e7b!=='';};AGIVertices[_0x87c2('0x16')][_0x87c2('0xa0')]=function(_0x4239da){this[_0x87c2('0x36')][_0x87c2('0xa1')](this,_0x4239da,'-');_0x4239da[_0x87c2('0xa2')]=_0x4239da['maxRetry'];return{'code':0xc8,'result':'-'};};AGIVertices['prototype'][_0x87c2('0xa3')]=function(_0x56206e){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0xa4'),_0x56206e[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x56206e[_0x87c2('0x59')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xa6'));}var _0x466173='\x22'+_0x56206e[_0x87c2('0x59')]+'\x22';if(this['isConfigured'](_0x56206e[_0x87c2('0x71')])){_0x466173+=','+_0x56206e['options'];}var _0x3d347b=this[_0x87c2('0xf')][_0x87c2('0x54')]('MRCPSynth',_0x466173);if(_0x3d347b[_0x87c2('0x9d')]===-0x1){return _0x3d347b;}return this['channel'][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0xa7'),_0x466173));};AGIVertices[_0x87c2('0x16')][_0x87c2('0xa8')]=function(_0xc8b9e6){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0xa9'),_0xc8b9e6[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0xc8b9e6[_0x87c2('0xaa')])){return this[_0x87c2('0xf')]['noop'](_0x87c2('0xab'));}var _0x994021=_0xc8b9e6[_0x87c2('0xaa')];if(this[_0x87c2('0x7e')](_0xc8b9e6[_0x87c2('0x71')])){_0x994021+=','+_0xc8b9e6[_0x87c2('0x71')];}var _0x10bb10=this[_0x87c2('0xf')][_0x87c2('0x54')](_0x87c2('0xac'),_0x994021);if(_0x10bb10[_0x87c2('0x9d')]===-0x1){return _0x10bb10;}var _0xa91916=this['getAndSetVariable'](_0x87c2('0xad'),_0x87c2('0xae'));if(_0xa91916['result']===-0x1){return _0xa91916;}var _0x18efe6=this[_0x87c2('0x9c')]('RECOG_INPUT()',_0x87c2('0xaf'));if(_0x18efe6[_0x87c2('0x9d')]===-0x1){return _0x18efe6;}var _0x3e7fd5=this[_0x87c2('0x9c')](_0x87c2('0xb0'),'MRCP_RECOG_INSTANCE');if(_0x3e7fd5['result']===-0x1){return _0x3e7fd5;}return this['channel']['noop'](util['format'](_0x87c2('0xb1'),_0x994021));};AGIVertices[_0x87c2('0x16')][_0x87c2('0x7')]=function(_0x234e9e){logger[_0x87c2('0x2f')](util['format'](_0x87c2('0xb2'),_0x234e9e[_0x87c2('0x37')]));return this[_0x87c2('0xf')][_0x87c2('0x7')]([_0x234e9e[_0x87c2('0xb3')],_0x234e9e[_0x87c2('0xb4')]]);};AGIVertices[_0x87c2('0x16')]['answer']=function(_0x2cee09){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0xb5'),_0x2cee09['label']));if(this[_0x87c2('0x7e')](_0x2cee09[_0x87c2('0x63')])){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0xb6'),_0x2cee09[_0x87c2('0x63')]));var _0x5b686c=this[_0x87c2('0xf')][_0x87c2('0xb7')](_0x2cee09[_0x87c2('0x63')]);if(_0x5b686c[_0x87c2('0x9d')]===-0x1){return _0x5b686c;}}return this['channel'][_0x87c2('0xb8')]();};AGIVertices['prototype']['callback']=function(_0x3308d9){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')]('Enter\x20in\x20CALLBACK\x20(%s)\x20block',_0x3308d9[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x3308d9[_0x87c2('0x46')])){return this['channel']['error'](_0x3308d9,'no\x20list\x20selected');}_0x3308d9[_0x87c2('0x47')]=moment();if(this['isConfigured'](_0x3308d9['delay'])){_0x3308d9[_0x87c2('0x47')]=moment()[_0x87c2('0xb9')](_0x3308d9[_0x87c2('0xba')],_0x87c2('0xbb'));}if(!this[_0x87c2('0x7e')](_0x3308d9['callback_priority'])){_0x3308d9[_0x87c2('0x4a')]=0x2;}this[_0x87c2('0x41')][_0x87c2('0xa1')](this,_0x3308d9);return this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0xbc'),_0x3308d9[_0x87c2('0x45')],_0x3308d9[_0x87c2('0x46')],_0x3308d9[_0x87c2('0x47')]));};AGIVertices[_0x87c2('0x16')][_0x87c2('0xbd')]=function(_0x334dcb){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0xbe'),_0x334dcb[_0x87c2('0x37')]));var _0x53f03e=this[_0x87c2('0xf')][_0x87c2('0x54')](_0x334dcb[_0x87c2('0xbf')],_0x334dcb[_0x87c2('0x71')]);if(_0x53f03e['result']===-0x1){return _0x53f03e;}return this['channel']['noop'](util[_0x87c2('0x2a')](_0x87c2('0xc0'),_0x334dcb['application'],_0x334dcb['options']));};AGIVertices[_0x87c2('0x16')][_0x87c2('0xc1')]=function(_0x534148){logger[_0x87c2('0x2f')](util['format'](_0x87c2('0xc2'),_0x534148[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x534148[_0x87c2('0x59')])){return this['channel'][_0x87c2('0xa5')]('no\x20text\x20configured');}var _0x1e24c8='\x22'+_0x534148['text']+'\x22';if(this['isConfigured'](_0x534148[_0x87c2('0x71')])){_0x1e24c8+=','+_0x534148[_0x87c2('0x71')];}var _0xd2bb54=this[_0x87c2('0xf')][_0x87c2('0x54')](_0x87c2('0xc3'),_0x1e24c8);if(_0xd2bb54[_0x87c2('0x9d')]===-0x1){return _0xd2bb54;}return this[_0x87c2('0xf')][_0x87c2('0xa5')](util['format'](_0x87c2('0xa7'),_0x1e24c8));};AGIVertices[_0x87c2('0x16')][_0x87c2('0xc4')]=function(_0x16538e){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0xc5'),_0x16538e[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x16538e['text'])){return this['channel'][_0x87c2('0xa5')](_0x87c2('0xa6'));}var _0x398d7='\x22'+_0x16538e['text']+'\x22';if(this[_0x87c2('0x7e')](_0x16538e['options'])){_0x398d7+=','+_0x16538e['options'];}var _0x26846d=this[_0x87c2('0xf')][_0x87c2('0x54')](_0x87c2('0xc3'),_0x398d7);if(_0x26846d[_0x87c2('0x9d')]===-0x1){return _0x26846d;}return this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')]('Executed\x20command\x20MRCPSynth\x20%s',_0x398d7));};AGIVertices[_0x87c2('0x16')]['lumenvoxasr']=function(_0x5eea75){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0xc6'),_0x5eea75[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x5eea75['grammar'])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xab'));}var _0x1bb2e9=_0x5eea75['grammar'];if(this['isConfigured'](_0x5eea75['options'])){_0x1bb2e9+=','+_0x5eea75[_0x87c2('0x71')];}var _0x57e966=this['channel'][_0x87c2('0x54')]('MRCPRecog',_0x1bb2e9);if(_0x57e966[_0x87c2('0x9d')]===-0x1){return _0x57e966;}var _0x1737c7=this[_0x87c2('0x9c')](_0x87c2('0xad'),_0x87c2('0xc7'));if(_0x1737c7['result']===-0x1){return _0x1737c7;}var _0x3eb34e=this[_0x87c2('0x9c')]('RECOG_INPUT()',_0x87c2('0xc8'));if(_0x3eb34e[_0x87c2('0x9d')]===-0x1){return _0x3eb34e;}var _0x2ad70c=this[_0x87c2('0x9c')](_0x87c2('0xb0'),_0x87c2('0xc9'));if(_0x2ad70c['result']===-0x1){return _0x2ad70c;}return this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0xb1'),_0x1bb2e9));};AGIVertices[_0x87c2('0x16')][_0x87c2('0xca')]=function(_0x59d72e){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')]('Enter\x20in\x20SESTEKASR\x20(%s)\x20block',_0x59d72e[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x59d72e['grammar'])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xab'));}var _0x1c9b81=_0x59d72e[_0x87c2('0xaa')];if(this[_0x87c2('0x7e')](_0x59d72e[_0x87c2('0x71')])){_0x1c9b81+=','+_0x59d72e[_0x87c2('0x71')];}var _0x3d2f8c=this[_0x87c2('0xf')][_0x87c2('0x54')](_0x87c2('0xac'),_0x1c9b81);if(_0x3d2f8c[_0x87c2('0x9d')]===-0x1){return _0x3d2f8c;}var _0x10a1f0=this['getAndSetVariable'](_0x87c2('0xad'),_0x87c2('0xcb'));if(_0x10a1f0['result']===-0x1){return _0x10a1f0;}var _0x262bb3=this['getAndSetVariable'](_0x87c2('0xcc'),_0x87c2('0xcd'));if(_0x262bb3[_0x87c2('0x9d')]===-0x1){return _0x262bb3;}var _0x20b224=this[_0x87c2('0x9c')](_0x87c2('0xb0'),'SESTEK_ASR_INSTANCE');if(_0x20b224[_0x87c2('0x9d')]===-0x1){return _0x20b224;}return this[_0x87c2('0xf')]['noop'](util[_0x87c2('0x2a')](_0x87c2('0xb1'),_0x1c9b81));};AGIVertices[_0x87c2('0x16')][_0x87c2('0xce')]=function(_0x5e7107){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0xcf'),_0x5e7107[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x5e7107[_0x87c2('0xd0')])){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x5e7107,_0x87c2('0xd1'));}var _0x162e94=this[_0x87c2('0x1b')][_0x87c2('0xa1')](this,_0x5e7107[_0x87c2('0xd0')]);if(!_0x162e94){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x5e7107,_0x87c2('0xd2'));}if(!this[_0x87c2('0x7e')](_0x5e7107[_0x87c2('0x31')])){return this[_0x87c2('0xf')]['error'](_0x5e7107,_0x87c2('0xd3'));}var _0x5cee52=_0x5e7107[_0x87c2('0x31')][_0x87c2('0x56')](/(\r\n|\n|\r)/gm,'\x20');this[_0x87c2('0xf')]['noop'](util[_0x87c2('0x2a')](_0x87c2('0xd4'),_0x5cee52));var _0x451c1b=this['getQueryOdbc'][_0x87c2('0xa1')](this,_0x162e94,_0x5cee52);this[_0x87c2('0x36')]['sync'](this,_0x5e7107,_0x5cee52);if(!this[_0x87c2('0x7e')](_0x5e7107[_0x87c2('0xd5')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xd6'));}var _0x24b44a=this[_0x87c2('0x12')][_0x87c2('0xa1')](this,_0x5e7107[_0x87c2('0xd5')]);if(!_0x24b44a){return this[_0x87c2('0xf')]['error'](_0x5e7107,'no\x20variable\x20found');}var _0x5fa484=this;_0x451c1b['forEach'](function(_0x103c37,_0x43ec54){Object[_0x87c2('0xd7')](_0x103c37)[_0x87c2('0xd8')](function(_0x5e54e5){_0x5fa484[_0x87c2('0xf')][_0x87c2('0xd9')](util['format'](_0x87c2('0xda'),_0x24b44a,_0x43ec54,_0x5e54e5),_0x103c37[_0x5e54e5]);});});this[_0x87c2('0xf')][_0x87c2('0xd9')](util[_0x87c2('0x2a')](_0x87c2('0xdb'),_0x24b44a),_0x451c1b[_0x87c2('0xdc')]);return this['channel']['noop'](util['format'](_0x87c2('0xdd'),_0x24b44a));};AGIVertices['prototype']['dial']=function(_0x22e7f4){logger[_0x87c2('0xde')](util[_0x87c2('0x2a')](_0x87c2('0xdf'),_0x22e7f4[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x22e7f4[_0x87c2('0xe0')])){return this[_0x87c2('0xf')]['error'](_0x22e7f4,'no\x20user\x20selected');}var _0x277fd2=this[_0x87c2('0x1e')][_0x87c2('0xa1')](this,_0x22e7f4[_0x87c2('0xe0')]);if(!_0x277fd2){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x22e7f4,'no\x20user\x20found');}var _0x41f72b=this[_0x87c2('0xf')][_0x87c2('0x54')](_0x87c2('0xe1'),[util[_0x87c2('0x2a')](_0x87c2('0xe2'),_0x277fd2),_0x22e7f4['timeout'],_0x22e7f4[_0x87c2('0xe3')],_0x22e7f4[_0x87c2('0x61')]]);if(_0x41f72b[_0x87c2('0x9d')]===-0x1){return _0x41f72b;}return this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')]('Executed\x20command\x20%s',_0x87c2('0xe1')));};AGIVertices['prototype'][_0x87c2('0xe4')]=function(_0xb7d5a7){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0xe5'),_0xb7d5a7[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0xb7d5a7[_0x87c2('0x7c')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xe6'));}if(!this['isConfigured'](_0xb7d5a7[_0x87c2('0x59')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xa6'));}this[_0x87c2('0xf')]['bot']=!![];this[_0x87c2('0x36')](_0xb7d5a7);this[_0x87c2('0x40')](_0xb7d5a7['text'],'in','','');this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0xe7'),_0xb7d5a7[_0x87c2('0x59')]));var _0x1693cb=this[_0x87c2('0x72')][_0x87c2('0xa1')](this,_0xb7d5a7);if(_0x1693cb){for(var _0x383db5 in _0x1693cb){if(_0x1693cb[_0x87c2('0x91')](_0x383db5)){this['channel'][_0x87c2('0xd9')](util[_0x87c2('0x2a')]('DIALOGFLOW_%s',_0x383db5[_0x87c2('0xe8')]()),_0x1693cb[_0x383db5]);}}this[_0x87c2('0x40')](_0x1693cb[_0x87c2('0xe9')],_0x87c2('0xea'),_0x87c2('0xe4'),'');return this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0xeb'),_0x1693cb[_0x87c2('0xe9')]));}return this['channel'][_0x87c2('0x2d')](_0xb7d5a7,_0x87c2('0xec'));};AGIVertices['prototype'][_0x87c2('0xed')]=function(_0x1c76f9){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0xee'),_0x1c76f9['label']));if(!this['isConfigured'](_0x1c76f9[_0x87c2('0xef')])){return this[_0x87c2('0xf')]['noop'](_0x87c2('0xf0'));}if(!this[_0x87c2('0x7e')](_0x1c76f9[_0x87c2('0x75')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xf1'));}if(!this[_0x87c2('0x7e')](_0x1c76f9['private_key'])){return this[_0x87c2('0xf')]['noop'](_0x87c2('0xf2'));}if(!this[_0x87c2('0x7e')](_0x1c76f9[_0x87c2('0x76')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xf3'));}if(!this['isConfigured'](_0x1c76f9[_0x87c2('0x59')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')]('no\x20text\x20configured');}this[_0x87c2('0xf')][_0x87c2('0xf4')]=!![];this[_0x87c2('0x36')](_0x1c76f9);this[_0x87c2('0x40')](_0x1c76f9[_0x87c2('0x59')],'in','','');this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')]('Trying\x20DialogflowV2:\x20%s',_0x1c76f9[_0x87c2('0x59')]));var _0x44d421=this[_0x87c2('0x74')][_0x87c2('0xa1')](this,_0x1c76f9);if(_0x44d421){for(var _0x364dfc in _0x44d421){if(_0x44d421[_0x87c2('0x91')](_0x364dfc)){if(_0x364dfc!==_0x87c2('0xf5')){this[_0x87c2('0xf')][_0x87c2('0xd9')](util[_0x87c2('0x2a')]('DIALOGFLOW_%s',_0x364dfc[_0x87c2('0xe8')]()),_0x44d421[_0x364dfc]);}}}this['createSquareMessage'](_0x44d421[_0x87c2('0xe9')],'out',_0x87c2('0xed'),_0x44d421['providerResponse']);return this['channel'][_0x87c2('0xa5')](util['format'](_0x87c2('0xf6'),_0x44d421[_0x87c2('0xe9')]));}return this[_0x87c2('0xf')]['error'](_0x1c76f9,_0x87c2('0xf7'));};AGIVertices[_0x87c2('0x16')][_0x87c2('0xf8')]=function(_0x4d15f0){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0xf9'),_0x4d15f0[_0x87c2('0x37')]));if(!this['isConfigured'](_0x4d15f0[_0x87c2('0xfa')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xfb'));}if(!this[_0x87c2('0x7e')](_0x4d15f0[_0x87c2('0xfc')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xfd'));}if(!this[_0x87c2('0x7e')](_0x4d15f0[_0x87c2('0xfe')])){return this['channel'][_0x87c2('0xa5')]('no\x20password\x20configured');}if(!this['isConfigured'](_0x4d15f0[_0x87c2('0xff')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')]('no\x20text\x20configured');}this[_0x87c2('0xf')][_0x87c2('0xf4')]=!![];this[_0x87c2('0x36')](_0x4d15f0);this[_0x87c2('0x40')](_0x4d15f0[_0x87c2('0x59')],'in','','');this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x100'),_0x4d15f0[_0x87c2('0x59')]));var _0x5c4621=this['sestekNDA'][_0x87c2('0xa1')](this,_0x4d15f0);if(_0x5c4621){for(var _0x67f10 in _0x5c4621){if(_0x5c4621[_0x87c2('0x91')](_0x67f10)){this[_0x87c2('0xf')][_0x87c2('0xd9')](util['format'](_0x87c2('0x101'),_0x67f10[_0x87c2('0xe8')]()),_0x5c4621[_0x67f10]);}}this[_0x87c2('0x40')](_0x5c4621[_0x87c2('0xe9')],_0x87c2('0xea'),_0x87c2('0xf8'),'');if(_0x5c4621[_0x87c2('0x102')]){this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x103'),_0x5c4621[_0x87c2('0x102')]));var _0x23db3b=this[_0x87c2('0xf')][_0x87c2('0x104')](_0x5c4621[_0x87c2('0x102')]);try{fs['unlink'](_0x5c4621[_0x87c2('0x102')]+'.wav');}catch(_0x1be2ee){logger[_0x87c2('0x2d')](_0x1be2ee);}return _0x23db3b;}else{return this['channel']['noop'](util[_0x87c2('0x2a')](_0x87c2('0x105'),_0x5c4621[_0x87c2('0xe9')]));}}return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x4d15f0,'SestekNDA\x20is\x20unreachable');};AGIVertices[_0x87c2('0x16')][_0x87c2('0x106')]=function(_0x554911){logger['info'](util[_0x87c2('0x2a')](_0x87c2('0x107'),_0x554911[_0x87c2('0x37')]));return this[_0x87c2('0xf')][_0x87c2('0xa5')]('end');};AGIVertices['prototype']['ext_dial']=function(_0x428775){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')]('Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block',_0x428775[_0x87c2('0x37')]));var _0x35fed1='';if(_0x428775[_0x87c2('0x108')]){if(!this['isConfigured'](_0x428775[_0x87c2('0x108')])){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x428775,_0x87c2('0x109'));}else{var _0x46090a=parseInt(_0x428775[_0x87c2('0x108')],0xa);if(isNaN(_0x46090a)){_0x35fed1=_0x428775[_0x87c2('0x108')];}else{_0x35fed1=this[_0x87c2('0x20')]['sync'](this,_0x428775['trunk_id']);if(!_0x35fed1){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x428775,'no\x20trunk\x20found');}}}}else if(_0x428775[_0x87c2('0x10a')]){_0x35fed1=_0x428775['trunk_name'];}else{return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x428775,'no\x20trunk\x20selected');}var _0x24dad5=this[_0x87c2('0xf')][_0x87c2('0x54')](_0x87c2('0xe1'),[util[_0x87c2('0x2a')]('SIP/%s/%s',_0x35fed1,_0x428775['phone']),_0x428775[_0x87c2('0x63')],_0x428775[_0x87c2('0xe3')],_0x428775[_0x87c2('0x61')]]);if(_0x24dad5[_0x87c2('0x9d')]===-0x1){return _0x24dad5;}return this[_0x87c2('0xf')][_0x87c2('0xa5')](util['format'](_0x87c2('0x10b'),_0x87c2('0xe1')));};AGIVertices[_0x87c2('0x16')][_0x87c2('0x10c')]=function(_0x31e019){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')]('Enter\x20in\x20FINALLY\x20(%s)\x20block',_0x31e019[_0x87c2('0x37')]));return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0x10c'));};AGIVertices[_0x87c2('0x16')]['getdigits']=function(_0xd8ff81){logger[_0x87c2('0x2f')](util['format'](_0x87c2('0x10d'),_0xd8ff81[_0x87c2('0x37')]));if(_0xd8ff81[_0x87c2('0xa2')]===0x0){return this['maxRetry'](_0xd8ff81);}_0xd8ff81[_0x87c2('0xa2')]-=0x1;if(!this[_0x87c2('0x7e')](_0xd8ff81['file_id'])){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0xd8ff81,_0x87c2('0x10e'));}var _0x232785=this[_0x87c2('0x10f')][_0x87c2('0xa1')](this,_0xd8ff81[_0x87c2('0x110')]);if(!_0x232785){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0xd8ff81,_0x87c2('0x111'));}if(!this[_0x87c2('0x7e')](_0xd8ff81['variable_id'])){return this['channel']['error'](_0x87c2('0xd6'));}var _0x3509a6=this[_0x87c2('0xf')][_0x87c2('0x112')](_0x232785,_0xd8ff81[_0x87c2('0x113')],_0xd8ff81[_0x87c2('0x114')]);var _0x31bb12=_0x3509a6[_0x87c2('0x9d')]?_0x3509a6[_0x87c2('0x9d')][_0x87c2('0x9b')]():'';logger['info'](_0x87c2('0x115'),JSON[_0x87c2('0x6d')](_0x3509a6));if(_0x3509a6['result']===-0x1){this['createSquareDetailsReport'][_0x87c2('0xa1')](this,_0xd8ff81,_0x31bb12);return _0x3509a6;}else if(_0x3509a6[_0x87c2('0x9f')]===_0x87c2('0x63')){_0x3509a6[_0x87c2('0x9d')]=_0x31bb12[_0x87c2('0xdc')]>=parseInt(_0xd8ff81[_0x87c2('0x116')])?'x':'i';}else{_0x3509a6['result']=_0x31bb12[_0x87c2('0xdc')]>=parseInt(_0xd8ff81[_0x87c2('0x116')])&&_0x31bb12[_0x87c2('0xdc')]<=parseInt(_0xd8ff81[_0x87c2('0x114')])?'x':'i';}var _0x43da37=this[_0x87c2('0x12')][_0x87c2('0xa1')](this,_0xd8ff81['variable_id']);if(!_0x43da37){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0xd8ff81,'no\x20variable\x20found');}this['channel'][_0x87c2('0xd9')](_0x43da37,_0x31bb12);if(this[_0x87c2('0x7e')](_0xd8ff81['hiddendigitsnum'])){var _0x1e847d=parseInt(_0xd8ff81[_0x87c2('0x117')],0xa);var _0x5a492d=rs[_0x87c2('0x118')]({'charset':'*','length':_0x1e847d});var _0x23cb8c=_0x31bb12[_0x87c2('0xdc')];if(_0x23cb8c>0x0){if(_0x23cb8c>_0x1e847d){this['createSquareDetailsReport'][_0x87c2('0xa1')](this,_0xd8ff81,_0xd8ff81[_0x87c2('0x119')]===_0x87c2('0x11a')?_0x5a492d+_0x31bb12[_0x87c2('0x11b')](_0x1e847d):_0x31bb12[_0x87c2('0x11b')](0x0,_0x23cb8c-_0x1e847d)+_0x5a492d);}else{this[_0x87c2('0x36')][_0x87c2('0xa1')](this,_0xd8ff81,rs['generate']({'charset':'*','length':_0x23cb8c}));}}else{this[_0x87c2('0x36')][_0x87c2('0xa1')](this,_0xd8ff81,'');}}else{this[_0x87c2('0x36')]['sync'](this,_0xd8ff81,_0x31bb12);}return _0x3509a6;};AGIVertices[_0x87c2('0x16')]['getsecretdigits']=function(_0x2a3aa6){logger['info'](util[_0x87c2('0x2a')](_0x87c2('0x11c'),_0x2a3aa6['label']));return this[_0x87c2('0xd')](_0x2a3aa6);};AGIVertices[_0x87c2('0x16')]['goal']=function(_0x508d15){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')]('Enter\x20in\x20GOAL\x20(%s)\x20block',_0x508d15[_0x87c2('0x37')]));this[_0x87c2('0x36')]['sync'](this,_0x508d15,_0x508d15['goalname']);return this[_0x87c2('0xf')]['noop'](util[_0x87c2('0x2a')](_0x87c2('0x11d'),_0x508d15[_0x87c2('0x11e')]));};AGIVertices[_0x87c2('0x16')][_0x87c2('0x11f')]=function(_0x349dcb){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x120'),_0x349dcb[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x349dcb[_0x87c2('0x85')])||!this[_0x87c2('0x7e')](_0x349dcb[_0x87c2('0x86')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')]('no\x20valid\x20credentials\x20configured');}if(!this[_0x87c2('0x7e')](_0x349dcb[_0x87c2('0x59')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')]('no\x20text\x20configured');}this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x121'),_0x349dcb['text']));var _0x27210c=this['awsPolly'][_0x87c2('0xa1')](this,_0x349dcb);if(_0x27210c){this['channel'][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x122'),_0x27210c));var _0x3e1baf=this['channel'][_0x87c2('0x104')](_0x27210c);try{fs[_0x87c2('0x123')](_0x27210c+'.wav');}catch(_0x50c6ab){logger['error'](_0x50c6ab);}return _0x3e1baf;}return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x349dcb,_0x87c2('0x124'));};AGIVertices[_0x87c2('0x16')][_0x87c2('0x125')]=function(_0x2d982d){logger[_0x87c2('0x2f')](util['format'](_0x87c2('0x126'),_0x2d982d[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x2d982d[_0x87c2('0x85')])||!this[_0x87c2('0x7e')](_0x2d982d['aws_secret_access_key'])){return this['channel'][_0x87c2('0xa5')](_0x87c2('0x127'));}if(!this[_0x87c2('0x7e')](_0x2d982d['aws_bot_name'])){return this[_0x87c2('0xf')]['noop']('no\x20bot\x20name\x20configured');}if(!this[_0x87c2('0x7e')](_0x2d982d[_0x87c2('0x59')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xa6'));}this['channel']['bot']=!![];this[_0x87c2('0x36')](_0x2d982d);this[_0x87c2('0x40')](_0x2d982d[_0x87c2('0x59')],'in','','');this['channel'][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x128'),_0x2d982d[_0x87c2('0x59')]));var _0x28fb28=this[_0x87c2('0x84')][_0x87c2('0xa1')](this,_0x2d982d);if(_0x28fb28){for(var _0x536bc0 in _0x28fb28){if(_0x28fb28[_0x87c2('0x91')](_0x536bc0)&&_[_0x87c2('0x92')](_0x28fb28[_0x536bc0])){this[_0x87c2('0xf')][_0x87c2('0xd9')](util[_0x87c2('0x2a')](_0x87c2('0x129'),_0x536bc0[_0x87c2('0xe8')]()),_0x28fb28[_0x536bc0]);}}if(_[_0x87c2('0x44')](_0x28fb28[_0x87c2('0x70')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0x12a'));}else{this[_0x87c2('0x40')](_0x28fb28['message'],_0x87c2('0xea'),_0x87c2('0x12b'),'');return this[_0x87c2('0xf')]['noop'](util[_0x87c2('0x2a')](_0x87c2('0x12c'),_0x28fb28['message']));}}return this['channel'][_0x87c2('0x2d')](_0x2d982d,_0x87c2('0x12d'));};AGIVertices[_0x87c2('0x16')][_0x87c2('0x12e')]=function(_0x10dc69){logger[_0x87c2('0x2f')](util['format'](_0x87c2('0x12f'),_0x10dc69['label'],_0x10dc69[_0x87c2('0x63')]));if(!this[_0x87c2('0x7e')](_0x10dc69[_0x87c2('0x7c')])){return this[_0x87c2('0xf')]['noop'](_0x87c2('0xe6'));}var _0x194a4c=_0x87c2('0x130');var _0x11e3a5=util[_0x87c2('0x2a')](_0x87c2('0x131'),FILES_PATH,rs[_0x87c2('0x118')](0x4));var _0xb8b60f=util[_0x87c2('0x2a')](_0x87c2('0x98'),_0x11e3a5,_0x194a4c);var _0x1281fa=!![];if(_0x10dc69[_0x87c2('0x132')]===_0x87c2('0x133')){_0x1281fa=![];}var _0x19e6df=this[_0x87c2('0xf')][_0x87c2('0x134')](_0x11e3a5,_0x194a4c,_0x10dc69[_0x87c2('0x135')],_0x10dc69['timeout'],undefined,_0x1281fa);if(_0x19e6df['result']!==-0x1){this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x136'),_0xb8b60f));var _0x4691f2=this['googleASR'][_0x87c2('0xa1')](this,_0x10dc69,_0xb8b60f);if(_0x4691f2){for(var _0x2f55d9 in _0x4691f2){if(_0x4691f2[_0x87c2('0x91')](_0x2f55d9)){this[_0x87c2('0xf')][_0x87c2('0xd9')](util[_0x87c2('0x2a')]('GOOGLE_ASR_%s',_0x2f55d9['toUpperCase']()),_0x4691f2[_0x2f55d9]);}}return this[_0x87c2('0xf')][_0x87c2('0xa5')](util['format'](_0x87c2('0x137'),JSON[_0x87c2('0x6d')](_0x4691f2)));}}return _0x19e6df;};AGIVertices['prototype'][_0x87c2('0x138')]=function(_0xb47e4){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x139'),_0xb47e4[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0xb47e4[_0x87c2('0x8b')])){return this['channel']['noop'](_0x87c2('0x13a'));}if(!this['isConfigured'](_0xb47e4[_0x87c2('0x8c')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0x13b'));}var _0x5afc6f=_0x87c2('0x130');var _0x33e0b4=util[_0x87c2('0x2a')](_0x87c2('0x131'),FILES_PATH,rs[_0x87c2('0x118')](0x4));var _0x316e10=util[_0x87c2('0x2a')](_0x87c2('0x98'),_0x33e0b4,_0x5afc6f);var _0x2dc1b3=!![];if(_0xb47e4[_0x87c2('0x132')]==='NOBEEP'){_0x2dc1b3=![];}var _0x1fcf74=this[_0x87c2('0xf')]['recordFile'](_0x33e0b4,_0x5afc6f,_0xb47e4[_0x87c2('0x135')],_0xb47e4[_0x87c2('0x63')],undefined,_0x2dc1b3);if(_0x1fcf74[_0x87c2('0x9d')]!==-0x1){this[_0x87c2('0xf')][_0x87c2('0xa5')](util['format'](_0x87c2('0x13c'),_0x316e10));var _0x47cbfd=this[_0x87c2('0x8a')][_0x87c2('0xa1')](this,_0xb47e4,_0x316e10);if(_0x47cbfd){for(var _0x4679b0 in _0x47cbfd){if(_0x47cbfd['hasOwnProperty'](_0x4679b0)){this[_0x87c2('0xf')][_0x87c2('0xd9')](util['format'](_0x87c2('0x13d'),_0x4679b0[_0x87c2('0xe8')]()),_0x47cbfd[_0x4679b0]);}}return this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')]('TildeASR\x20Result\x20%s',JSON['stringify'](_0x47cbfd)));}}return _0x1fcf74;};AGIVertices[_0x87c2('0x16')][_0x87c2('0x13e')]=function(_0x53e2d6){logger['info'](util[_0x87c2('0x2a')](_0x87c2('0x13f'),_0x53e2d6['label']));return this['channel'][_0x87c2('0x140')](_0x53e2d6['context'],_0x53e2d6[_0x87c2('0x3b')],_0x53e2d6[_0x87c2('0x3c')]);};AGIVertices[_0x87c2('0x16')][_0x87c2('0x141')]=function(_0x1ba01d){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x142'),_0x1ba01d['label']));if(!this[_0x87c2('0x7e')](_0x1ba01d[_0x87c2('0x143')])){return this[_0x87c2('0xf')]['error'](_0x1ba01d,'no\x20condition\x20configured');}try{var _0x501e3a=eval(_0x1ba01d['condition'])?_0x87c2('0x144'):'false';this['channel'][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x145'),_0x1ba01d[_0x87c2('0x143')],_0x501e3a));return{'code':0xc8,'result':_0x501e3a};}catch(_0x488873){return{'code':0xc8,'result':_0x87c2('0x146')};}};AGIVertices['prototype']['gotoiftime']=function(_0x48dd3d){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x147'),_0x48dd3d[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x48dd3d[_0x87c2('0x148')])){return this[_0x87c2('0xf')]['error'](_0x48dd3d,_0x87c2('0x149'));}var _0x50d90b=this[_0x87c2('0x26')][_0x87c2('0xa1')](this,_0x48dd3d[_0x87c2('0x148')]);if(!_0x50d90b){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x48dd3d,_0x87c2('0x14a'));}for(var _0x5eed74=0x0;_0x5eed74<_0x50d90b[_0x87c2('0xdc')];_0x5eed74+=0x1){var _0x29ccae=this[_0x87c2('0xf')][_0x87c2('0x12')](util[_0x87c2('0x2a')](_0x87c2('0x14b'),_0x50d90b[_0x5eed74]));if(_0x29ccae[_0x87c2('0x9d')]===-0x1){return _0x29ccae;}logger['info'](util['format'](_0x87c2('0x14c'),_0x50d90b[_0x5eed74],_0x29ccae['extra']));if(_0x29ccae[_0x87c2('0x9f')]==='true'){logger['info'](util[_0x87c2('0x2a')](_0x87c2('0x14c'),_0x50d90b[_0x5eed74],'true'));this[_0x87c2('0xf')]['noop'](util[_0x87c2('0x2a')](_0x87c2('0x14c'),_0x50d90b[_0x5eed74],'true'));return{'code':0xc8,'result':'true'};}else{logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x14c'),_0x50d90b[_0x5eed74],_0x87c2('0x146')));this[_0x87c2('0xf')][_0x87c2('0xa5')](util['format'](_0x87c2('0x14c'),_0x50d90b[_0x5eed74],_0x87c2('0x146')));}}return{'code':0xc8,'result':_0x87c2('0x146')};};AGIVertices[_0x87c2('0x16')][_0x87c2('0x14d')]=function(_0x49a202){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')]('Enter\x20in\x20HANGUP\x20(%s)\x20block',_0x49a202[_0x87c2('0x37')]));return this[_0x87c2('0xf')][_0x87c2('0x14d')]();};AGIVertices[_0x87c2('0x16')][_0x87c2('0x14e')]=function(_0x56622c){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x14f'),_0x56622c['label']));if(!this[_0x87c2('0x7e')](_0x56622c['key'])){return this['channel']['noop'](_0x87c2('0xe6'));}var _0x26dec6=_0x87c2('0x130');var _0x2ef6d7=util[_0x87c2('0x2a')](_0x87c2('0x131'),FILES_PATH,rs[_0x87c2('0x118')](0x4));var _0x4a7909=util[_0x87c2('0x2a')]('%s.%s',_0x2ef6d7,_0x26dec6);var _0x3f5449=!![];if(_0x56622c['beep']===_0x87c2('0x133')){_0x3f5449=![];}var _0x558085=this[_0x87c2('0xf')][_0x87c2('0x134')](_0x2ef6d7,_0x26dec6,_0x56622c[_0x87c2('0x135')],_0x56622c[_0x87c2('0x63')],undefined,_0x3f5449);if(_0x558085[_0x87c2('0x9d')]!==-0x1){this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')]('ispeech\x20%s\x20file\x20created',_0x4a7909));var _0x5e66cf=this[_0x87c2('0x7b')][_0x87c2('0xa1')](this,_0x56622c,_0x4a7909);if(_0x5e66cf){for(var _0x5340d5 in _0x5e66cf){if(_0x5e66cf[_0x87c2('0x91')](_0x5340d5)){this['channel'][_0x87c2('0xd9')](util[_0x87c2('0x2a')](_0x87c2('0x150'),_0x5340d5['toUpperCase']()),_0x5e66cf[_0x5340d5]);}}return this['channel']['noop'](util[_0x87c2('0x2a')](_0x87c2('0x151'),JSON[_0x87c2('0x6d')](_0x5e66cf)));}}return _0x558085;};AGIVertices['prototype']['ispeechtts']=function(_0x2349a9){logger['info'](util[_0x87c2('0x2a')]('Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block',_0x2349a9[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x2349a9[_0x87c2('0x7c')])){return this[_0x87c2('0xf')]['noop'](_0x87c2('0xe6'));}if(!this[_0x87c2('0x7e')](_0x2349a9[_0x87c2('0x59')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xa6'));}this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x152'),_0x2349a9[_0x87c2('0x59')]));var _0x186145=this[_0x87c2('0x78')]['sync'](this,_0x2349a9);if(_0x186145){this[_0x87c2('0xf')][_0x87c2('0xa5')](util['format'](_0x87c2('0x153'),_0x186145));var _0x8b5d27=this['channel'][_0x87c2('0x104')](_0x186145,_0x2349a9[_0x87c2('0x135')]);try{fs[_0x87c2('0x123')](_0x186145+_0x87c2('0x154'));}catch(_0x26d35d){logger['error'](_0x26d35d);}return _0x8b5d27;}return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x2349a9,_0x87c2('0x155'));};AGIVertices[_0x87c2('0x16')][_0x87c2('0x156')]=function(_0x4219bf){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x157'),_0x4219bf[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x4219bf[_0x87c2('0x158')])){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x4219bf,'no\x20find\x20by\x20configured');}logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this['channel'][_0x87c2('0x4d')],_0x4219bf[_0x87c2('0x158')]));var _0x1f3a90=this['agentLogin'][_0x87c2('0xa1')](this,_0x4219bf['findBy']);if(_0x1f3a90){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x159'),this['channel'][_0x87c2('0x4d')],_0x4219bf[_0x87c2('0x158')]));this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x159'),this['channel'][_0x87c2('0x4d')],_0x4219bf[_0x87c2('0x158')]));return{'code':0xc8,'result':'success'};}else{logger[_0x87c2('0x2f')](util['format'](_0x87c2('0x15a'),this[_0x87c2('0xf')][_0x87c2('0x4d')],_0x4219bf[_0x87c2('0x158')]));this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x15a'),this[_0x87c2('0xf')]['callerid'],_0x4219bf[_0x87c2('0x158')]));return{'code':0xc8,'result':_0x87c2('0x15b')};}};AGIVertices[_0x87c2('0x16')][_0x87c2('0x15c')]=function(_0x593051){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x15d'),_0x593051['label']));if(!this[_0x87c2('0x7e')](_0x593051[_0x87c2('0x158')])){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x593051,_0x87c2('0x15e'));}logger['info'](util[_0x87c2('0x2a')](_0x87c2('0x15f'),this[_0x87c2('0xf')][_0x87c2('0x4d')],_0x593051[_0x87c2('0x158')]));var _0x18f177=this['agentLogout'][_0x87c2('0xa1')](this,_0x593051[_0x87c2('0x158')]);if(_0x18f177){logger['info'](util['format'](_0x87c2('0x159'),this['channel'][_0x87c2('0x4d')],_0x593051['findBy']));this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x159'),this[_0x87c2('0xf')][_0x87c2('0x4d')],_0x593051[_0x87c2('0x158')]));return{'code':0xc8,'result':'success'};}else{logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x15a'),this['channel'][_0x87c2('0x4d')],_0x593051[_0x87c2('0x158')]));this[_0x87c2('0xf')]['noop'](util[_0x87c2('0x2a')](_0x87c2('0x15a'),this[_0x87c2('0xf')]['callerid'],_0x593051[_0x87c2('0x158')]));return{'code':0xc8,'result':_0x87c2('0x15b')};}};AGIVertices[_0x87c2('0x16')]['math']=function(_0xdfe00e){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x160'),_0xdfe00e[_0x87c2('0x37')]));if(!this['isConfigured'](_0xdfe00e[_0x87c2('0x161')])){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0xdfe00e,_0x87c2('0x162'));}this[_0x87c2('0xf')][_0x87c2('0xa5')](util['format'](_0x87c2('0x163'),_0xdfe00e[_0x87c2('0x161')]));var _0x2677a0=eval(_0xdfe00e[_0x87c2('0x161')]);if(!this[_0x87c2('0x7e')](_0xdfe00e['variable_id'])){return this[_0x87c2('0xf')][_0x87c2('0xa5')]('no\x20variable\x20selected\x20for\x20the\x20result');}var _0x212a28=this[_0x87c2('0x12')][_0x87c2('0xa1')](this,_0xdfe00e['variable_id']);if(!_0x212a28){return this['channel'][_0x87c2('0x2d')](_0xdfe00e,_0x87c2('0x164'));}if(_[_0x87c2('0x95')](_0x2677a0)){var _0x444c4d=this;_0x2677a0['forEach'](function(_0x49973a,_0x4335fe){_0x444c4d[_0x87c2('0xf')]['setVariable'](util[_0x87c2('0x2a')](_0x87c2('0x165'),_0x212a28,_0x4335fe),_0x49973a);});return this['channel'][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x166'),_0x212a28));}else{return this[_0x87c2('0xf')][_0x87c2('0xd9')](_0x212a28,_0x2677a0);}};AGIVertices[_0x87c2('0x16')][_0x87c2('0xc')]=function(_0x33e067){logger[_0x87c2('0x2f')](util['format']('Enter\x20in\x20MENU\x20(%s)\x20block',_0x33e067[_0x87c2('0x37')]));if(_0x33e067[_0x87c2('0xa2')]===0x0){return this[_0x87c2('0xa0')](_0x33e067);}_0x33e067[_0x87c2('0xa2')]-=0x1;if(!this['isConfigured'](_0x33e067[_0x87c2('0x110')])){return this['channel'][_0x87c2('0x2d')](_0x33e067,_0x87c2('0x10e'));}var _0x170268=this[_0x87c2('0x10f')]['sync'](this,_0x33e067[_0x87c2('0x110')]);if(!_0x170268){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x33e067,_0x87c2('0x111'));}var _0x5a0ed8=this['channel'][_0x87c2('0x112')](_0x170268,_0x33e067[_0x87c2('0x113')],_0x33e067[_0x87c2('0x167')]);var _0xb35cc1=_0x5a0ed8[_0x87c2('0x9d')];if(_0x5a0ed8[_0x87c2('0x9d')]===-0x1){this[_0x87c2('0x36')][_0x87c2('0xa1')](this,_0x33e067,'-1');return _0x5a0ed8;}else if(_0x5a0ed8['extra']==='timeout'){_0x5a0ed8[_0x87c2('0x9d')]=_0x5a0ed8[_0x87c2('0x9d')][_0x87c2('0xdc')]>0x0?_0x5a0ed8[_0x87c2('0x9d')]:'t';}else if(_[_0x87c2('0x43')](_0x5a0ed8[_0x87c2('0x9d')])){_0x5a0ed8[_0x87c2('0x9d')]='#';_0xb35cc1='#';}if(!this[_0x87c2('0x7e')](_0x33e067[_0x87c2('0xd5')])){this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xd6'));}else{var _0x1f0068=this['getVariable'][_0x87c2('0xa1')](this,_0x33e067['variable_id']);if(!_0x1f0068){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x33e067,_0x87c2('0x164'));}this[_0x87c2('0xf')][_0x87c2('0xd9')](_0x1f0068,_0xb35cc1);}this[_0x87c2('0x36')][_0x87c2('0xa1')](this,_0x33e067,_0xb35cc1);return _0x5a0ed8;};AGIVertices[_0x87c2('0x16')]['noop']=function(_0x2f356e){logger['info'](util[_0x87c2('0x2a')]('Enter\x20in\x20NOOP\x20(%s)\x20block',_0x2f356e[_0x87c2('0x37')]));return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x2f356e[_0x87c2('0x168')]||_0x2f356e[_0x87c2('0x37')]);};AGIVertices[_0x87c2('0x16')][_0x87c2('0x169')]=function(_0x48d453){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x16a'),_0x48d453[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x48d453[_0x87c2('0x158')])){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x48d453,'no\x20find\x20by\x20configured');}logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this['channel'][_0x87c2('0x4d')],_0x48d453['findBy']));var _0x35f3d5=this['getPause'][_0x87c2('0xa1')](this,_0x48d453[_0x87c2('0x16b')]);var _0x109832=this['agentPause']['sync'](this,_0x48d453[_0x87c2('0x158')],_0x35f3d5);if(_0x109832){logger[_0x87c2('0x2f')](util['format'](_0x87c2('0x159'),this[_0x87c2('0xf')][_0x87c2('0x4d')],_0x48d453[_0x87c2('0x158')]));this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x87c2('0xf')][_0x87c2('0x4d')],_0x48d453[_0x87c2('0x158')]));return{'code':0xc8,'result':_0x87c2('0x16c')};}else{logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this['channel'][_0x87c2('0x4d')],_0x48d453[_0x87c2('0x158')]));this['channel']['noop'](util[_0x87c2('0x2a')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x87c2('0xf')]['callerid'],_0x48d453['findBy']));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0x87c2('0x16')]['playback']=function(_0xc3e182){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x16d'),_0xc3e182[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0xc3e182[_0x87c2('0x110')])){return this['channel']['error'](_0xc3e182,'no\x20file\x20audio\x20selected');}var _0x2af2ff=this[_0x87c2('0x10f')]['sync'](this,_0xc3e182[_0x87c2('0x110')]);if(!_0x2af2ff){return this[_0x87c2('0xf')]['error'](_0xc3e182,_0x87c2('0x111'));}var _0x1622fa=this[_0x87c2('0xf')][_0x87c2('0x54')](_0x87c2('0x16e'),[_0x2af2ff,_0xc3e182[_0x87c2('0xe3')]]);if(_0x1622fa[_0x87c2('0x9d')]===-0x1){return _0x1622fa;}return this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0xc0'),_0x87c2('0x16e'),_0x2af2ff));};AGIVertices[_0x87c2('0x16')][_0x87c2('0x16f')]=function(_0x4e4672){logger[_0x87c2('0x2f')](util['format'](_0x87c2('0x170'),_0x4e4672[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x4e4672[_0x87c2('0x171')])){return this['channel']['error'](_0x4e4672,'no\x20queue\x20selected');}var _0x1a7b33='';var _0x397fb9=parseInt(_0x4e4672[_0x87c2('0x171')],0xa);if(isNaN(_0x397fb9)){_0x1a7b33=_0x4e4672['queue_id'];}else{_0x1a7b33=this['getVoiceQueue']['sync'](this,_0x4e4672[_0x87c2('0x171')]);if(!_0x1a7b33){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x4e4672,_0x87c2('0x172'));}}var _0x1c2fd4='';if(this[_0x87c2('0x7e')](_0x4e4672[_0x87c2('0x110')])){var _0x3d463c=this[_0x87c2('0x10f')][_0x87c2('0xa1')](this,_0x4e4672[_0x87c2('0x110')]);if(_0x3d463c){_0x1c2fd4=_0x3d463c;}}this['createSquareDetailsReport'][_0x87c2('0xa1')](this,_0x4e4672,_0x1a7b33);if(_0x4e4672[_0x87c2('0xe3')][_0x87c2('0x173')]('x')<0x0){_0x4e4672[_0x87c2('0xe3')]+='x';}if(_0x4e4672[_0x87c2('0xe3')][_0x87c2('0x173')]('X')<0x0){_0x4e4672[_0x87c2('0xe3')]+='X';}this['channel'][_0x87c2('0xd9')](_0x87c2('0x174'),_0x1a7b33?_0x1a7b33[_0x87c2('0x175')]():'');var _0x1588be=this['channel'][_0x87c2('0x54')](_0x87c2('0x176'),[_0x1a7b33,_0x4e4672[_0x87c2('0xe3')],_0x4e4672[_0x87c2('0x61')],_0x1c2fd4,_0x4e4672[_0x87c2('0x63')],_0x4e4672[_0x87c2('0x7')],_0x4e4672[_0x87c2('0x177')],_0x4e4672[_0x87c2('0x178')],'',_0x4e4672['position']]);if(_0x1588be[_0x87c2('0x9d')]===-0x1){return _0x1588be;}return this[_0x87c2('0xf')]['noop'](util[_0x87c2('0x2a')](_0x87c2('0xc0'),_0x87c2('0x176'),_0x1a7b33));};AGIVertices['prototype'][_0x87c2('0x179')]=function(_0x38e661){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')]('Enter\x20in\x20RECORD\x20(%s)\x20block',_0x38e661['label']));var _0x463202=_0x38e661['recordingFormat']||_0x87c2('0x130');var _0x1fa206=util[_0x87c2('0x2a')](_0x87c2('0x17a'),this[_0x87c2('0xf')][_0x87c2('0x38')],rs['generate'](0x5));var _0x1e0e6e=util[_0x87c2('0x2a')](_0x87c2('0x17b'),FILES_PATH,_0x1fa206,_0x463202);var _0x2b6fb2=util[_0x87c2('0x2a')]('%s/recordings/%s',FILES_PATH,_0x1fa206);this[_0x87c2('0x17c')][_0x87c2('0xa1')](this,_0x38e661,_0x1fa206,_0x1e0e6e);this[_0x87c2('0xf')][_0x87c2('0xd9')](_0x87c2('0x17d'),_0x1fa206);logger[_0x87c2('0x2f')](_0x87c2('0x17e'),_0x2b6fb2,_0x463202,_0x38e661[_0x87c2('0x17f')],_0x38e661[_0x87c2('0x63')]);return this[_0x87c2('0xf')][_0x87c2('0x134')](_0x2b6fb2,_0x463202,_0x38e661['escape_digits'],_0x38e661['timeout'],undefined,!![]);};AGIVertices[_0x87c2('0x16')]['restapi']=function(_0x7adf6){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x180'),_0x7adf6[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x7adf6[_0x87c2('0x61')])){return this['channel'][_0x87c2('0xa5')](_0x87c2('0x181'));}var _0x2044b9=this[_0x87c2('0x60')][_0x87c2('0xa1')](this,_0x7adf6);logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x182'),util['inspect'](_0x2044b9,{'showHidden':![],'depth':null})));if(!this['isConfigured'](_0x7adf6[_0x87c2('0xd5')])){return this[_0x87c2('0xf')]['noop'](_0x87c2('0x183'));}var _0x5d8d1e=this[_0x87c2('0x12')][_0x87c2('0xa1')](this,_0x7adf6['variable_id']);if(!_0x5d8d1e){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x7adf6,_0x87c2('0x164'));}this['channel'][_0x87c2('0xd9')](util['format']('%s_STATUS_CODE',_0x5d8d1e),_0x2044b9[_0x87c2('0x6e')]?_0x2044b9[_0x87c2('0x6e')]:_0x87c2('0x184'));this[_0x87c2('0xf')][_0x87c2('0xd9')](util[_0x87c2('0x2a')](_0x87c2('0x185'),_0x5d8d1e),_0x2044b9[_0x87c2('0x6f')]?_0x2044b9[_0x87c2('0x6f')]:'OK');if(_0x2044b9[_0x87c2('0x66')]){try{this['saveRestApiResult'](_0x2044b9[_0x87c2('0x66')],_0x5d8d1e);}catch(_0x5d4858){logger[_0x87c2('0x2d')](util[_0x87c2('0x2a')](_0x87c2('0x186'),_0x5d8d1e));}}return this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0xdd'),_0x5d8d1e));};AGIVertices[_0x87c2('0x16')][_0x87c2('0x187')]=function(_0x15b123){logger['info'](util[_0x87c2('0x2a')](_0x87c2('0x188'),_0x15b123[_0x87c2('0x37')]));return this[_0x87c2('0xf')][_0x87c2('0x189')](_0x15b123['digits'][_0x87c2('0x56')](/\s+/g,''),_0x15b123[_0x87c2('0x17f')]);};AGIVertices['prototype'][_0x87c2('0x18a')]=function(_0x3e5db4){logger['info'](util['format']('Enter\x20in\x20SAYNUMBER\x20(%s)\x20block',_0x3e5db4[_0x87c2('0x37')]));return this[_0x87c2('0xf')]['sayNumber'](_0x3e5db4[_0x87c2('0x64')]['replace'](/\s+/g,''),_0x3e5db4[_0x87c2('0x17f')]);};AGIVertices[_0x87c2('0x16')][_0x87c2('0x18b')]=function(_0x5b2d53){logger['info'](util[_0x87c2('0x2a')]('Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block',_0x5b2d53['label']));return this[_0x87c2('0xf')][_0x87c2('0x18c')](_0x5b2d53[_0x87c2('0x59')],_0x5b2d53['escape_digits']);};AGIVertices[_0x87c2('0x16')][_0x87c2('0x18d')]=function(_0x52232a){logger['info'](util['format'](_0x87c2('0x18e'),_0x52232a[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x52232a[_0x87c2('0x18f')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0x190'));}var _0x7ad096=this[_0x87c2('0x191')][_0x87c2('0xa1')](this,_0x52232a['account_id']);if(!_0x7ad096||!_0x7ad096[_0x87c2('0x192')]){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x52232a,_0x87c2('0x193'));}var _0x4eb6c6={'from':util[_0x87c2('0x2a')]('\x22%s\x22\x20<%s>',_0x7ad096[_0x87c2('0x14')],_0x7ad096[_0x87c2('0x194')]||_0x7ad096[_0x87c2('0x192')]['user']),'to':_0x52232a['to']||'','cc':_0x52232a['cc']||'','bcc':_0x52232a[_0x87c2('0x195')]||'','subject':_0x52232a[_0x87c2('0x196')],'html':_0x52232a[_0x87c2('0x59')],'text':_0x52232a[_0x87c2('0x59')]};var _0x43b1ec={'tls':{'rejectUnauthorized':![]}};if(_0x7ad096['Smtp'][_0x87c2('0x197')]){_0x43b1ec[_0x87c2('0x197')]=_0x7ad096[_0x87c2('0x192')][_0x87c2('0x197')];}else{_0x43b1ec['host']=_0x7ad096['Smtp'][_0x87c2('0x198')];_0x43b1ec[_0x87c2('0x199')]=_0x7ad096[_0x87c2('0x192')][_0x87c2('0x199')];_0x43b1ec[_0x87c2('0x19a')]=_0x7ad096[_0x87c2('0x192')][_0x87c2('0x19a')];}if(_0x7ad096[_0x87c2('0x192')][_0x87c2('0x19b')]){_0x43b1ec['auth']={'user':_0x7ad096[_0x87c2('0x192')][_0x87c2('0x19c')],'pass':_0x7ad096[_0x87c2('0x192')][_0x87c2('0x19d')]};}if(this[_0x87c2('0x7e')](_0x52232a[_0x87c2('0x19e')])){}logger['debug'](_0x87c2('0x19f'),JSON[_0x87c2('0x6d')](_0x4eb6c6));this[_0x87c2('0x36')]['sync'](this,_0x52232a,_0x52232a[_0x87c2('0x18f')]);this['channel']['noop'](util['format'](_0x87c2('0x1a0'),_0x7ad096[_0x87c2('0x14')]));this[_0x87c2('0x25')][_0x87c2('0xa1')](this,_0x43b1ec,_0x4eb6c6);return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0x1a1'));};AGIVertices['prototype'][_0x87c2('0x1a2')]=function(_0x237b3e){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x1a3'),_0x237b3e[_0x87c2('0x37')]));return this[_0x87c2('0xf')]['noop'](_0x87c2('0x1a4'));};AGIVertices[_0x87c2('0x16')][_0x87c2('0x1a5')]=function(_0x37db91){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x1a6'),_0x37db91['label']));if(!this[_0x87c2('0x7e')](_0x37db91[_0x87c2('0x1a7')])){return this[_0x87c2('0xf')]['noop'](_0x87c2('0x1a8'));}var _0x401796=this[_0x87c2('0x34')][_0x87c2('0xa1')](this,_0x37db91[_0x87c2('0x1a7')]);if(!_0x401796){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x37db91,_0x87c2('0x1a9'));}var _0x16b37b={'body':_0x37db91['sms_text'],'phone':_0x37db91['to']||'','SmsAccountId':_0x401796['id']};logger[_0x87c2('0xde')]('sendSMS\x20message',JSON['stringify'](_0x16b37b));this[_0x87c2('0x36')][_0x87c2('0xa1')](this,_0x37db91,_0x37db91[_0x87c2('0x1a7')]);this['channel']['noop'](util[_0x87c2('0x2a')]('Trying\x20SendSMS\x20with\x20account\x20%s',_0x401796['name']));this[_0x87c2('0x35')][_0x87c2('0xa1')](this,_0x16b37b);return this[_0x87c2('0xf')]['noop'](_0x87c2('0x1aa'));};AGIVertices['prototype']['set']=function(_0x495f11){logger[_0x87c2('0x2f')](util['format'](_0x87c2('0x1ab'),_0x495f11[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x495f11[_0x87c2('0xd5')])){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x495f11,'no\x20variable\x20selected');}var _0x295685=this[_0x87c2('0x12')][_0x87c2('0xa1')](this,_0x495f11[_0x87c2('0xd5')]);if(!_0x295685){return this['channel'][_0x87c2('0x2d')](_0x495f11,_0x87c2('0x164'));}return this[_0x87c2('0xf')]['setVariable'](_0x295685,_0x495f11[_0x87c2('0x1ac')]);};AGIVertices[_0x87c2('0x16')][_0x87c2('0x1ad')]=function(_0x196855){logger[_0x87c2('0x2f')](util['format'](_0x87c2('0x1ae'),_0x196855[_0x87c2('0x37')]));this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0x1af'));if(_0x196855[_0x87c2('0xb8')]==='yes'){this['channel'][_0x87c2('0xa5')](_0x87c2('0x1b0'));return this['channel'][_0x87c2('0xb8')]();}return this[_0x87c2('0xf')]['noop'](_0x87c2('0x1b1'));};AGIVertices[_0x87c2('0x16')]['subproject']=function(_0x3e7471){logger[_0x87c2('0x2f')](util['format']('Enter\x20in\x20SUBPROJECT\x20(%s)\x20block',_0x3e7471[_0x87c2('0x37')]));if(!this['isConfigured'](_0x3e7471[_0x87c2('0x1b2')])){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x3e7471,'no\x20subproject\x20selected');}var _0x40825a=this['getSquareProject']['sync'](this,_0x3e7471[_0x87c2('0x1b2')]);if(!this[_0x87c2('0x7e')](_0x40825a)){return this[_0x87c2('0xf')]['error'](_0x3e7471,util[_0x87c2('0x2a')](_0x87c2('0x1b3'),_0x3e7471[_0x87c2('0x1b2')]));}if(_0x40825a===this[_0x87c2('0xf')][_0x87c2('0x3e')]){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x3e7471,_0x87c2('0x1b4'));}this[_0x87c2('0x36')][_0x87c2('0xa1')](this,_0x3e7471,_0x40825a);var _0x4b67db=this['channel'][_0x87c2('0x54')](_0x87c2('0x1b5'),util[_0x87c2('0x2a')]('agi://%s/square,\x22%s\x22,\x22%s\x22',config[_0x87c2('0x7')]['host']||_0x87c2('0x1b6'),_0x40825a,this[_0x87c2('0xf')][_0x87c2('0x3e')]));if(_0x4b67db[_0x87c2('0x9d')]===-0x1){return _0x4b67db;}return this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0xc0'),_0x87c2('0x1b5'),_0x40825a));};AGIVertices['prototype'][_0x87c2('0x1b7')]=function(_0x241236){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x1b8'),_0x241236['label']));var _0x19ada5=this[_0x87c2('0x53')][_0x87c2('0xa1')](this,_0x241236['command']);this['createSquareDetailsReport'][_0x87c2('0xa1')](this,_0x241236,_0x241236[_0x87c2('0xb3')]);if(this['isConfigured'](_0x241236[_0x87c2('0xd5')])){var _0x69d534=this[_0x87c2('0x12')]['sync'](this,_0x241236[_0x87c2('0xd5')]);if(_0x69d534){this[_0x87c2('0xf')][_0x87c2('0xd9')](_0x69d534,_0x19ada5);return this[_0x87c2('0xf')]['noop'](util['format']('sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s',_0x241236[_0x87c2('0xb3')],_0x69d534));}}return this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x1b9'),_0x241236['command']));};AGIVertices[_0x87c2('0x16')][_0x87c2('0x1ba')]=function(_0x26864a){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x1bb'),_0x26864a['label']));_0x26864a[_0x87c2('0x59')]=_0x26864a[_0x87c2('0x59')]['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this['isConfigured'](_0x26864a[_0x87c2('0x57')])){return this[_0x87c2('0xf')]['noop']('no\x20apiKey\x20configured');}if(!this['isConfigured'](_0x26864a['text'])){return this['channel']['noop'](_0x87c2('0xa6'));}this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x1bc'),_0x26864a[_0x87c2('0x59')]));var _0x1d0f1e=this[_0x87c2('0x1bd')][_0x87c2('0xa1')](this,_0x26864a);if(_0x1d0f1e){this['channel'][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x1be'),_0x1d0f1e));var _0x32c764=this[_0x87c2('0xf')][_0x87c2('0x104')](_0x1d0f1e);try{fs[_0x87c2('0x123')](_0x1d0f1e+'.wav');}catch(_0x48734e){logger[_0x87c2('0x2d')](_0x48734e);}return _0x32c764;}return this[_0x87c2('0xf')]['error'](_0x26864a,'Google\x20Cloud\x20TTS\x20is\x20unreachable');};AGIVertices[_0x87c2('0x16')][_0x87c2('0x1bf')]=function(_0x13d95f){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x1c0'),_0x13d95f['label']));_0x13d95f[_0x87c2('0x59')]=_0x13d95f[_0x87c2('0x59')]['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this['isConfigured'](_0x13d95f[_0x87c2('0x59')])){return this[_0x87c2('0xf')][_0x87c2('0xa5')](_0x87c2('0xa6'));}this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')]('Trying\x20Google\x20TTS\x20%s',_0x13d95f['text']));var _0x98e8f=this[_0x87c2('0x5e')][_0x87c2('0xa1')](this,_0x13d95f);if(_0x98e8f){this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')]('Google\x20TTS\x20%s\x20file\x20created',_0x98e8f));var _0x14d316=this[_0x87c2('0xf')][_0x87c2('0x104')](_0x98e8f);try{fs[_0x87c2('0x123')](_0x98e8f+_0x87c2('0x154'));}catch(_0x5a856c){logger[_0x87c2('0x2d')](_0x5a856c);}return _0x14d316;}return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x13d95f,'Google\x20TTS\x20is\x20unreachable');};AGIVertices[_0x87c2('0x16')][_0x87c2('0x1c1')]=function(_0x48c1cb){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x1c2'),_0x48c1cb['label']));if(!this[_0x87c2('0x7e')](_0x48c1cb[_0x87c2('0x158')])){return this[_0x87c2('0xf')]['error'](_0x48c1cb,'no\x20find\x20by\x20configured');}logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x15f'),this['channel']['callerid'],_0x48c1cb['findBy']));var _0x35a14e=this[_0x87c2('0x4e')]['sync'](this,_0x48c1cb['findBy']);if(_0x35a14e){logger['info'](util[_0x87c2('0x2a')](_0x87c2('0x159'),this[_0x87c2('0xf')][_0x87c2('0x4d')],_0x48c1cb['findBy']));this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x159'),this[_0x87c2('0xf')][_0x87c2('0x4d')],_0x48c1cb[_0x87c2('0x158')]));return{'code':0xc8,'result':_0x87c2('0x16c')};}else{logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x15a'),this[_0x87c2('0xf')][_0x87c2('0x4d')],_0x48c1cb['findBy']));this[_0x87c2('0xf')][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0x15a'),this[_0x87c2('0xf')][_0x87c2('0x4d')],_0x48c1cb[_0x87c2('0x158')]));return{'code':0xc8,'result':_0x87c2('0x15b')};}};AGIVertices[_0x87c2('0x16')]['voicemail']=function(_0x22948a){logger[_0x87c2('0x2f')](util['format'](_0x87c2('0x1c3'),_0x22948a[_0x87c2('0x37')]));var _0x3bec71=this[_0x87c2('0xf')]['exec'](_0x87c2('0x1c4'),[_0x22948a[_0x87c2('0x1c5')],_0x22948a[_0x87c2('0x71')]]);if(_0x3bec71[_0x87c2('0x9d')]===-0x1){return _0x3bec71;}return this['channel'][_0x87c2('0xa5')](util[_0x87c2('0x2a')](_0x87c2('0xc0'),_0x87c2('0x1c4'),_0x22948a[_0x87c2('0x1c5')]));};AGIVertices[_0x87c2('0x16')][_0x87c2('0x1c6')]=function(_0x56c1d){logger[_0x87c2('0x2f')](util[_0x87c2('0x2a')](_0x87c2('0x1c7'),_0x56c1d[_0x87c2('0x37')]));if(!this[_0x87c2('0x7e')](_0x56c1d[_0x87c2('0xd5')])){return this[_0x87c2('0xf')]['error'](_0x56c1d,_0x87c2('0x1c8'));}var _0x4790d1=this[_0x87c2('0x12')][_0x87c2('0xa1')](this,_0x56c1d[_0x87c2('0xd5')]);if(!_0x4790d1){return this[_0x87c2('0xf')][_0x87c2('0x2d')](_0x56c1d,_0x87c2('0x164'));}var _0x4917c7=this[_0x87c2('0xf')]['getVariable'](_0x4790d1);return{'code':0xc8,'result':_0x4917c7[_0x87c2('0x9f')]?_0x4917c7['extra']:'-'};};String['prototype']['replaceAll']=function(_0x59bbce,_0x9968f3){return this['split'](_0x59bbce)[_0x87c2('0x1c9')](_0x9968f3);};module[_0x87c2('0x1ca')]=AGIVertices;
\ No newline at end of file
+var _0x5266=['Error\x20getting\x20ODBC\x20connection\x20%s','ODBC\x20connection\x20successfully','query','Error\x20executing\x20query\x20%s','info','getSmsAccount','createSquareDetailsReport','channel','agicommand','arg_1','createSquareRecording','uniqueid','callerid','context','extension','priority','dnid','createSquareMessage','createCmContact','isEmpty','isNil','random','lastName','phone','scheduledAt','callback','callback_priority','getPause','getPauseById','agent','agentUnpause','agentLogout','agentLogin','internal','format','%s/%s@from-sip/n','LOCAL','shellCommand','trim','replace','googleCloudTTS','apiKey','google_cloud_tts_text_type','text','languageCode','ssmlGender','MALE','audioEncoding','googleTTS','google_tts_language','restAPI','method','timeout','includes','POST','toUpperCase','body','parse','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','computedVariables','sync','uri','url','headers','render','stringify','statusCode','statusMessage','message','500\x20-\x20Internal\x20Server\x20Error','options','googleDialogflow','key','googleDialogflowV2','dialogflowV2_project_id','dialogflowV2_language','sestekNDA','ispeechTTS','ispeech_tts_language','en-US','speed','ispeechASR','ispeech_asr_language','isConfigured','model','awsPolly','aws_access_key_id','aws_secret_access_key','aws_polly_region','aws_polly_voice','Amy','aws_text_type','awsLex','aws_lex_region','aws_bot_name','googleASR','google_asr_language','tildeASR','appsecret','clear','clone','hasOwnProperty','isString','replaceObjectAllVariables','replaceAllVariables','isPlainObject','recursiveNodeIndex','isArray','length','saveRestApiResult','%s.%s','setVariable','split','replaceAll','getVariable','extra','toString','getAndSetVariable','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','maxRetry','retry','mrcpsynth','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','no\x20text\x20configured','exec','MRCPSynth','result','noop','Executed\x20command\x20MRCPSynth\x20%s','mrcprecog','Enter\x20in\x20MRCPRecog\x20(%s)\x20block','label','grammar','no\x20grammar\x20configured','MRCPRecog','RECOG_CONFIDENCE()','RECOG_INPUT()','MRCP_RECOG_TRANSCRIPT','RECOG_INSTANCE()','agi','answer','Enter\x20in\x20ANSWER\x20(%s)\x20block','Wait\x20%s\x20seconds\x20before\x20answer','wait','Enter\x20in\x20CALLBACK\x20(%s)\x20block','list_id','delay','minutes','custom_app','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','application','Executed\x20command\x20%s\x20%s','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','sestektts','lumenvoxasr','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','odbc_id','no\x20database\x20selected','no\x20odbc\x20database\x20found','no\x20query\x20configured','query:\x20%s','no\x20variable\x20found','forEach','debug','Enter\x20in\x20DIAL\x20(%s)\x20block','sip_id','no\x20user\x20selected','no\x20user\x20found','DIAL','Executed\x20command\x20%s','dialogflow','Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block','bot','Trying\x20Dialogflow:\x20%s','DIALOGFLOW_%s','speech','Dialogflow\x20Result\x20%s','Dialogflow\x20is\x20unreachable','dialogflowV2','Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block','no\x20project_id\x20configured','client_email','no\x20client_email\x20configured','private_key','no\x20private_key\x20configured','no\x20anguage\x20configured','Trying\x20DialogflowV2:\x20%s','out','providerResponse','DialogflowV2\x20Result\x20%s','DialogflowV2\x20is\x20unreachable','sesteknda','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','ndauth_url','no\x20ndauth\x20url\x20configured','no\x20username\x20configured','no\x20password\x20configured','ndassistant_url','Trying\x20SestekNDA:\x20%s','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','.wav','SestekNDA\x20Result\x20%s','SestekNDA\x20is\x20unreachable','end','Enter\x20in\x20END\x20(%s)\x20block','ext_dial','trunk_id','no\x20trunk\x20selected','no\x20trunk\x20found','trunk_name','SIP/%s/%s','opts','finally','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','file_id','no\x20file\x20audio\x20selected','no\x20file\x20audio\x20found','getData','maxdigit','test','mindigit','hiddendigitsnum','generate','hiddendigitspos','first','substr','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','goal','Enter\x20in\x20GOAL\x20(%s)\x20block','goalname','GOAL\x20%s','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','no\x20valid\x20credentials\x20configured','Trying\x20aws\x20Polly\x20%s','aws\x20Polly\x20%s\x20file\x20created','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','no\x20bot\x20name\x20configured','Trying\x20Amazon\x20Lex:\x20%s','AWS_LEX_%s','Amazon\x20Lex\x20ready\x20for\x20fulfillment','amazonlex','Amazon\x20Lex\x20Result\x20%s','Amazon\x20Lex\x20is\x20unreachable','googleasr','no\x20key\x20configured','wav','beep','recordFile','intKey','google\x20%s\x20file\x20created','GOOGLE_ASR_%s','GoogleASR\x20Result\x20%s','tildeasr','Enter\x20in\x20TILDEASR\x20(%s)\x20block','appid','no\x20appid\x20configured','no\x20appsecret\x20configured','%s/recordings/%s','NOBEEP','tilde\x20%s\x20file\x20created','TILDE_ASR_%s','TildeASR\x20Result\x20%s','gotoc','Enter\x20in\x20GOTO\x20(%s)\x20block','gotoif','condition','no\x20condition\x20configured','true','false','gotoiftime','interval_id','no\x20interval\x20configured','no\x20intervals\x20found','IFTIME\x20%s\x20%s','Enter\x20in\x20HANGUP\x20(%s)\x20block','hangup','ispeechasr','Enter\x20in\x20ISPEECHASR\x20(%s)\x20block','ispeech\x20%s\x20file\x20created','ISPEECH_ASR_%s','IspeechASR\x20Result\x20%s','Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block','Trying\x20ispeech\x20TTS\x20%s','streamFile','ispeech\x20TTS\x20is\x20unreachable','login','Enter\x20in\x20LOGIN\x20(%s)\x20block','no\x20find\x20by\x20configured','findBy','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','logout','Enter\x20in\x20LOGOUT\x20(%s)\x20block','AGENT\x20%s\x20FOUND\x20BY','math','Enter\x20in\x20MATH\x20(%s)\x20block','operation','no\x20operation\x20configured','math\x20%s','variable_id','no\x20variable\x20selected\x20for\x20the\x20result','variable\x20%s[key]\x20set','menu','digit','pause','Enter\x20in\x20PAUSE\x20(%s)\x20block','FIND\x20AGENT\x20%s\x20BY\x20%s','pause_id','playback','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','PLAYBACK','queue','no\x20queue\x20selected','queue_id','no\x20queue\x20found','indexOf','XMCS-QUEUE','macro','gosub','position','QUEUE','record','Enter\x20in\x20RECORD\x20(%s)\x20block','recordingFormat','%s_%s','RECORDING_SAVENAME','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','restapi','Response:','inspect','no\x20variable\x20selected\x20for\x20the\x20response','%s_STATUS_MESSAGE','variable\x20%s\x20set','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','digits','saynumber','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayNumber','number','sayphonetic','sayPhonetic','sendMail','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','account_id','no\x20mail\x20account\x20configured','Smtp','\x22%s\x22\x20<%s>','email','user','bcc','subject','service','host','port','secure','authentication','auth','pass','Trying\x20SendMail\x20with\x20account\x20%s','Mail\x20message\x20added\x20to\x20outgoing\x20process','Enter\x20in\x20SENDFAX\x20(%s)\x20block','SENDFAX\x20block\x20not\x20implemented','sendSMS','sms_account_id','no\x20sms\x20account\x20configured','no\x20sms\x20account\x20found','sms_text','sendSMS\x20message','Trying\x20SendSMS\x20with\x20account\x20%s','createSmsMessage','Sms\x20message\x20added\x20to\x20outgoing\x20process','set','no\x20variable\x20selected','variable_value','yes','Skipped\x20Answer','subproject','project_id','no\x20subproject\x20selected','getSquareProject','no\x20subproject\x20found\x20with\x20id\x20%d','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','agi://%s/square,\x22%s\x22,\x22%s\x22','127.0.0.1','AGI','system','Enter\x20in\x20SYSTEM\x20(%s)\x20block','command','sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s','sh\x20command:\x20%s\x20result\x20no\x20stored','google_cloud_tts','no\x20apiKey\x20configured','Trying\x20Google\x20Cloud\x20TTS\x20%s','tts','Google\x20TTS\x20is\x20unreachable','Enter\x20in\x20UNPAUSE\x20(%s)\x20block','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','mailbox','vswitch','Enter\x20in\x20SWITCH\x20(%s)\x20block','join','exports','path','util','lodash','randomstring','../../config/logger','../../config/environment','./scripts','/var/opt/motion2/server/files','rawHeaders','rawBody','getdigits','getsecretdigits','getVariableById','then','name','catch','prototype','getVoiceQueue','rpc','getSquareProjectById','getSquareOdbc','getSquareOdbcById','dsn','getUser','getUserById','getTrunk','getTrunkById','getSound','getSoundById','getSoundPath','save_name','getMailAccount','getMailAccountById','sendMailMessage','IntervalId','interval','Intervals','getQueryOdbc','open','error'];(function(_0x5d4f12,_0x11e67c){var _0x4eb577=function(_0x4d7a2d){while(--_0x4d7a2d){_0x5d4f12['push'](_0x5d4f12['shift']());}};_0x4eb577(++_0x11e67c);}(_0x5266,0x1a2));var _0x6526=function(_0x4da78e,_0x13cb84){_0x4da78e=_0x4da78e-0x0;var _0x4463b1=_0x5266[_0x4da78e];return _0x4463b1;};'use strict';var fs=require('fs');var path=require(_0x6526('0x0'));var util=require(_0x6526('0x1'));var _=require(_0x6526('0x2'));var sh=require('shelljs');var odbc=require('odbc')();var rs=require(_0x6526('0x3'));var moment=require('moment');var Mustache=require('mustache');var rp=require('request-promise');var logger=require(_0x6526('0x4'))('agi');var config=require(_0x6526('0x5'));var scripts=require(_0x6526('0x6'));var FILES_PATH=_0x6526('0x7');var recursiveMapAttributes=[_0x6526('0x8'),_0x6526('0x9')];var verticesWithRetry=['menu',_0x6526('0xa'),_0x6526('0xb')];var AGIVertices=function(_0x1ea2c7,_0x8cf6d5,_0x44a4c0){this['channel']=_0x1ea2c7;this['rpc']=_0x8cf6d5;this['mailRpc']=_0x44a4c0;};AGIVertices['prototype']['getVariable']=function(_0x1b182c,_0x3d5112){this['rpc'][_0x6526('0xc')](_0x1b182c)[_0x6526('0xd')](function(_0xb06b4e){_0x3d5112(null,_0xb06b4e?_0xb06b4e[_0x6526('0xe')]:![]);})[_0x6526('0xf')](function(_0x35f0ab){_0x3d5112(_0x35f0ab);});};AGIVertices[_0x6526('0x10')][_0x6526('0x11')]=function(_0x2fca3f,_0x1fb193){this[_0x6526('0x12')]['getVoiceQueueById'](_0x2fca3f)[_0x6526('0xd')](function(_0x494503){_0x1fb193(null,_0x494503?_0x494503[_0x6526('0xe')]:![]);})[_0x6526('0xf')](function(_0x35dcd9){_0x1fb193(_0x35dcd9);});};AGIVertices[_0x6526('0x10')]['getSquareProject']=function(_0x3e295b,_0x57a9ad){this[_0x6526('0x12')][_0x6526('0x13')](_0x3e295b)['then'](function(_0x350409){_0x57a9ad(null,_0x350409?_0x350409['name']:![]);})[_0x6526('0xf')](function(_0x5b78ff){_0x57a9ad(_0x5b78ff);});};AGIVertices['prototype'][_0x6526('0x14')]=function(_0x1afa4b,_0x22c515){this['rpc'][_0x6526('0x15')](_0x1afa4b)[_0x6526('0xd')](function(_0x300552){_0x22c515(null,_0x300552?_0x300552[_0x6526('0x16')]:![]);})[_0x6526('0xf')](function(_0x20bd0f){_0x22c515(_0x20bd0f);});};AGIVertices[_0x6526('0x10')][_0x6526('0x17')]=function(_0x5da193,_0x84961f){this[_0x6526('0x12')][_0x6526('0x18')](_0x5da193)[_0x6526('0xd')](function(_0x5b84b8){_0x84961f(null,_0x5b84b8?_0x5b84b8[_0x6526('0xe')]:![]);})[_0x6526('0xf')](function(_0x148b7b){_0x84961f(_0x148b7b);});};AGIVertices['prototype'][_0x6526('0x19')]=function(_0x114700,_0x4c1628){this['rpc'][_0x6526('0x1a')](_0x114700)['then'](function(_0x4fb27d){_0x4c1628(null,_0x4fb27d?_0x4fb27d[_0x6526('0xe')]:![]);})['catch'](function(_0x13bddd){_0x4c1628(_0x13bddd);});};AGIVertices[_0x6526('0x10')][_0x6526('0x1b')]=function(_0x2aab5b,_0x34b97b){var _0x874900=this;this[_0x6526('0x12')][_0x6526('0x1c')](_0x2aab5b)['then'](function(_0x4ab606){_0x34b97b(null,_0x4ab606?_0x874900[_0x6526('0x1d')](_0x4ab606[_0x6526('0x1e')]):![]);})[_0x6526('0xf')](function(_0x2b7ad4){_0x34b97b(_0x2b7ad4);});};AGIVertices[_0x6526('0x10')][_0x6526('0x1f')]=function(_0x553c72,_0xd347fd){this[_0x6526('0x12')][_0x6526('0x20')](_0x553c72)[_0x6526('0xd')](function(_0x8b4ca){_0xd347fd(null,_0x8b4ca?_0x8b4ca:![]);})[_0x6526('0xf')](function(_0x39b2d8){_0xd347fd(_0x39b2d8);});};AGIVertices['prototype'][_0x6526('0x21')]=function(_0x507b91,_0x50eef4,_0x2e6a15){this['mailRpc'][_0x6526('0x21')](_0x507b91,_0x50eef4)['then'](function(){_0x2e6a15(null);})['catch'](function(_0x480f3c){_0x2e6a15(_0x480f3c);});};AGIVertices[_0x6526('0x10')]['getIntervals']=function(_0x124c11,_0x1068a7){this[_0x6526('0x12')]['getIntervalById'](_0x124c11)[_0x6526('0xd')](function(_0xc8099c){if(_0xc8099c){if(_0xc8099c[_0x6526('0x22')]){_0x1068a7(null,[_0xc8099c[_0x6526('0x23')]]);}else{_0x1068a7(null,_['map'](_0xc8099c[_0x6526('0x24')],'interval'));}}else{_0x1068a7(null,![]);}})['catch'](function(_0x2545c1){_0x1068a7(_0x2545c1);});};AGIVertices['prototype'][_0x6526('0x1d')]=function(_0x9b41cd){return util['format']('%s/sounds/converted/%s',FILES_PATH,_0x9b41cd);};AGIVertices[_0x6526('0x10')][_0x6526('0x25')]=function(_0x31c85b,_0x47520e,_0x3321a1){odbc[_0x6526('0x26')](_0x31c85b,function(_0x21a8fb){if(_0x21a8fb){logger[_0x6526('0x27')](_0x6526('0x28'),_0x21a8fb);_0x3321a1(_0x21a8fb);}else{logger['info'](_0x6526('0x29'));odbc[_0x6526('0x2a')](_0x47520e,function(_0x9ed894,_0x112a85){if(_0x9ed894){logger['info'](_0x6526('0x2b'),_0x47520e);_0x3321a1(_0x9ed894);}else{logger[_0x6526('0x2c')]('Query\x20executed\x20correctly\x20%s',_0x47520e);odbc['close'](function(_0x1c7ee2){if(_0x1c7ee2){logger['error']('Error\x20closing\x20connection\x20to\x20odbc\x20%s',_0x1c7ee2);}_0x3321a1(null,_0x112a85);});}});}});};AGIVertices[_0x6526('0x10')][_0x6526('0x2d')]=function(_0x4a5dae,_0x450db9){this['rpc']['getSmsAccountById'](_0x4a5dae)[_0x6526('0xd')](function(_0xb3d688){_0x450db9(null,_0xb3d688?_0xb3d688:![]);})[_0x6526('0xf')](function(_0x404023){_0x450db9(_0x404023);});};AGIVertices[_0x6526('0x10')]['createSmsMessage']=function(_0x2d0e41,_0x1476f9){this[_0x6526('0x12')]['createSmsMessage'](_0x2d0e41)[_0x6526('0xd')](function(_0x462a3f){_0x1476f9(null,_0x462a3f);})['catch'](function(_0x36857e){_0x1476f9(_0x36857e);});};AGIVertices[_0x6526('0x10')][_0x6526('0x2e')]=function(_0x1e81c8,_0x5420da,_0x19df35){this[_0x6526('0x12')][_0x6526('0x2e')]({'uniqueid':this[_0x6526('0x2f')]['uniqueid'],'node':_0x1e81c8['label'],'application':_0x1e81c8[_0x6526('0x30')],'data':_0x5420da||null,'project_name':this[_0x6526('0x2f')][_0x6526('0x31')],'callerid':this[_0x6526('0x2f')]['callerid']})[_0x6526('0xd')](function(_0x92528a){if(_0x19df35){_0x19df35(null,_0x92528a);}})[_0x6526('0xf')](function(_0x2f5ef9){if(_0x19df35){_0x19df35(_0x2f5ef9);}});};AGIVertices[_0x6526('0x10')]['createSquareRecording']=function(_0x4b3caa,_0x3b46b6,_0x1426cd,_0x4ea3c6){this['rpc'][_0x6526('0x32')]({'uniqueid':this[_0x6526('0x2f')][_0x6526('0x33')],'callerid':this['channel'][_0x6526('0x34')],'calleridname':this['channel']['calleridname'],'context':this[_0x6526('0x2f')][_0x6526('0x35')],'extension':this['channel'][_0x6526('0x36')],'priority':this[_0x6526('0x2f')][_0x6526('0x37')],'accountcode':this[_0x6526('0x2f')]['accountcode'],'dnid':this[_0x6526('0x2f')][_0x6526('0x38')],'projectName':this[_0x6526('0x2f')][_0x6526('0x31')],'saveName':_0x3b46b6,'filename':_0x4b3caa['file']||_0x3b46b6,'savePath':_0x1426cd})[_0x6526('0xd')](function(_0x3215dd){_0x4ea3c6(null,_0x3215dd);})[_0x6526('0xf')](function(_0x575353){_0x4ea3c6(_0x575353);});};AGIVertices[_0x6526('0x10')][_0x6526('0x39')]=function(_0x157264,_0x4c779a,_0x2a8912,_0x47119c,_0x2046d5){this[_0x6526('0x12')][_0x6526('0x39')]({'uniqueid':this[_0x6526('0x2f')]['uniqueid'],'body':_0x157264,'direction':_0x4c779a,'providerName':_0x2a8912,'providerResponse':_0x47119c})[_0x6526('0xd')](function(_0x251985){if(_0x2046d5){_0x2046d5(null,_0x251985);}})[_0x6526('0xf')](function(_0xb9902d){if(_0x2046d5){_0x2046d5(_0xb9902d);}});};AGIVertices[_0x6526('0x10')][_0x6526('0x3a')]=function(_0x2823ee,_0x506386){this[_0x6526('0x12')][_0x6526('0x3a')]({'firstName':_[_0x6526('0x3b')](_0x2823ee[_0x6526('0xe')])||_[_0x6526('0x3c')](_0x2823ee[_0x6526('0xe')])?'callback_'+Math[_0x6526('0x3d')]():_0x2823ee[_0x6526('0xe')],'lastName':_[_0x6526('0x3b')](_0x2823ee[_0x6526('0x3e')])||_[_0x6526('0x3c')](_0x2823ee['lastName'])?null:_0x2823ee[_0x6526('0x3e')],'phone':_0x2823ee[_0x6526('0x3f')],'ListId':_0x2823ee['list_id'],'scheduledat':_0x2823ee[_0x6526('0x40')],'callbackUniqueid':this['channel'][_0x6526('0x33')],'tags':_0x6526('0x41'),'description':'Callback\x20scheduled\x20at\x20'+_0x2823ee[_0x6526('0x40')]['toString'](),'priority':_0x2823ee[_0x6526('0x42')]})['then'](function(_0x124a6c){_0x506386(null,_0x124a6c);})[_0x6526('0xf')](function(_0x899094){_0x506386(_0x899094);});};AGIVertices[_0x6526('0x10')][_0x6526('0x43')]=function(_0x30f4f8,_0x5110ad){this['rpc'][_0x6526('0x44')](_0x30f4f8)[_0x6526('0xd')](function(_0x8a3282){_0x5110ad(null,_0x8a3282?_0x8a3282[_0x6526('0xe')]:![]);})[_0x6526('0xf')](function(_0x2ea86e){_0x5110ad(_0x2ea86e);});};AGIVertices[_0x6526('0x10')]['agentPause']=function(_0x4535d8,_0x42bf9b,_0x1b1f4d){var _0x26f7b4={'role':_0x6526('0x45')};_0x26f7b4[_0x4535d8]=this[_0x6526('0x2f')]['callerid'];this[_0x6526('0x12')]['agentPause'](_0x26f7b4,_0x42bf9b,this['channel'][_0x6526('0x33')])[_0x6526('0xd')](function(_0x3e9327){_0x1b1f4d(null,_[_0x6526('0x3c')](_0x3e9327)?![]:!![]);})['catch'](function(_0x5068ce){logger['error'](_0x5068ce);_0x1b1f4d(null,![]);});};AGIVertices[_0x6526('0x10')][_0x6526('0x46')]=function(_0x352705,_0x1bb09e){var _0x2763ff={'role':'agent'};_0x2763ff[_0x352705]=this[_0x6526('0x2f')]['callerid'];this['rpc']['agentUnpause'](_0x2763ff)[_0x6526('0xd')](function(_0x58edbb){_0x1bb09e(null,_[_0x6526('0x3c')](_0x58edbb)?![]:!![]);})[_0x6526('0xf')](function(_0x2eb652){logger[_0x6526('0x27')](_0x2eb652);_0x1bb09e(null,![]);});};AGIVertices[_0x6526('0x10')]['agentLogout']=function(_0x2ce528,_0x273183){var _0x3f99c5={'role':'agent'};_0x3f99c5[_0x2ce528]=this[_0x6526('0x2f')][_0x6526('0x34')];this[_0x6526('0x12')][_0x6526('0x47')](_0x3f99c5)['then'](function(_0x29ff44){_0x273183(null,_[_0x6526('0x3c')](_0x29ff44)?![]:!![]);})[_0x6526('0xf')](function(_0x4159b4){logger[_0x6526('0x27')](_0x4159b4);_0x273183(null,![]);});};AGIVertices[_0x6526('0x10')][_0x6526('0x48')]=function(_0x185398,_0xc3ee9a){var _0x43130a={'role':_0x6526('0x45')};_0x43130a[_0x185398]=this[_0x6526('0x2f')]['callerid'];var _0x247946=_0x185398!=_0x6526('0x49')?util[_0x6526('0x4a')](_0x6526('0x4b'),_0x6526('0x4c'),this[_0x6526('0x2f')][_0x6526('0x34')]):undefined;this[_0x6526('0x12')][_0x6526('0x48')](_0x43130a,_0x247946)[_0x6526('0xd')](function(_0x425c52){_0xc3ee9a(null,_[_0x6526('0x3c')](_0x425c52)?![]:!![]);})[_0x6526('0xf')](function(_0xc25fcb){logger['error'](_0xc25fcb);_0xc3ee9a(null,![]);});};AGIVertices['prototype'][_0x6526('0x4d')]=function(_0x311a60,_0x52bded){sh['exec'](_[_0x6526('0x4e')](_0x311a60),function(_0x8b06ba,_0x12941d){var _0x5c4621=_0x12941d[_0x6526('0x4f')](/(\r\n|\n|\r)/gm,'');_0x52bded(null,_0x5c4621);});};AGIVertices['prototype'][_0x6526('0x50')]=function(_0x285a93,_0x5de12a){scripts[_0x6526('0x50')](_0x285a93[_0x6526('0x51')],_0x285a93[_0x6526('0x52')]||_0x6526('0x53'),_0x285a93[_0x6526('0x53')],_0x285a93[_0x6526('0x54')]||'en-US',_0x285a93[_0x6526('0x55')]||_0x6526('0x56'),_0x285a93[_0x6526('0x57')]||'MP3')[_0x6526('0xd')](function(_0x39bb85){_0x5de12a(null,_0x39bb85);})['catch'](function(_0x1273be){_0x5de12a(_0x1273be);});};AGIVertices[_0x6526('0x10')]['googleTTS']=function(_0x12db13,_0x547383){scripts[_0x6526('0x58')](_0x12db13[_0x6526('0x53')],_0x12db13[_0x6526('0x59')]||'en',0x1)['then'](function(_0x4eee53){_0x547383(null,_0x4eee53);})[_0x6526('0xf')](function(_0x5ae765){_0x547383(_0x5ae765);});};AGIVertices[_0x6526('0x10')][_0x6526('0x5a')]=function(_0x2a9874,_0xd1a143){var _0x638103={'uri':_0x2a9874['url'],'method':_0x2a9874[_0x6526('0x5b')],'json':!![],'resolveWithFullResponse':!![],'timeout':typeof parseInt(_0x2a9874[_0x6526('0x5c')])==='number'&&parseInt(_0x2a9874[_0x6526('0x5c')])>=0x1?parseInt(_0x2a9874[_0x6526('0x5c')])*0x3e8:0x5*0x3e8};if(_[_0x6526('0x5d')]([_0x6526('0x5e'),'PUT'],_0x638103['method'][_0x6526('0x5f')]())){try{_0x638103[_0x6526('0x60')]=_0x2a9874[_0x6526('0x9')]?JSON[_0x6526('0x61')](_0x2a9874[_0x6526('0x9')]):{};}catch(_0x35890a){logger['error'](_0x6526('0x62'),_0x35890a);}}try{_0x638103['headers']=_0x2a9874[_0x6526('0x8')]?JSON[_0x6526('0x61')](_0x2a9874[_0x6526('0x8')]):{};}catch(_0x2b4082){logger[_0x6526('0x27')](_0x6526('0x63'),_0x2b4082);}if(_0x2a9874['computedVariables']){try{var _0x578f48=require(_0x2a9874[_0x6526('0x64')])[_0x6526('0x65')](this,_0x638103);_0x638103[_0x6526('0x66')]=Mustache['render'](_0x2a9874[_0x6526('0x67')],_0x578f48,{},['$$','$$']);if(_0x638103[_0x6526('0x68')]){_0x638103['headers']=JSON[_0x6526('0x61')](Mustache[_0x6526('0x69')](JSON[_0x6526('0x6a')](_0x638103[_0x6526('0x68')]),_0x578f48,{},['$$','$$']));}if(_0x638103['body']){_0x638103[_0x6526('0x60')]=JSON['parse'](Mustache[_0x6526('0x69')](JSON['stringify'](_0x638103[_0x6526('0x60')]),_0x578f48,{},['$$','$$']));}}catch(_0x39e6fa){logger['error']('An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function',_0x39e6fa);}}rp(_0x638103)[_0x6526('0xd')](function(_0x313f6a){var _0x2cb313={'statusCode':_0x313f6a[_0x6526('0x6b')]||0xc8,'statusMessage':_0x313f6a[_0x6526('0x6c')]||'OK','headers':_0x313f6a[_0x6526('0x68')]||{},'body':_0x313f6a[_0x6526('0x60')]||{}};_0xd1a143(null,_0x2cb313);})['catch'](function(_0x428221){var _0x4ad3af={'statusCode':_0x428221['statusCode']||0x1f4,'statusMessage':_0x428221[_0x6526('0x6d')]||_0x6526('0x6e'),'headers':_0x428221['options'][_0x6526('0x68')]||{},'body':_0x428221[_0x6526('0x6f')][_0x6526('0x60')]||{}};_0xd1a143(null,_0x4ad3af);});};AGIVertices[_0x6526('0x10')][_0x6526('0x70')]=function(_0x533c8e,_0x305eb8){scripts[_0x6526('0x70')](this[_0x6526('0x2f')][_0x6526('0x33')],_0x533c8e[_0x6526('0x71')],_0x533c8e[_0x6526('0x53')],_0x533c8e['dialogflow_language']||'en')['then'](function(_0x31bc63){_0x305eb8(null,_0x31bc63);})[_0x6526('0xf')](function(_0x59b0ab){_0x305eb8(_0x59b0ab);});};AGIVertices['prototype'][_0x6526('0x72')]=function(_0x541cd5,_0x1bf129){scripts[_0x6526('0x72')](this['channel'][_0x6526('0x33')],_0x541cd5[_0x6526('0x73')],_0x541cd5['client_email'],_0x541cd5['private_key'],_0x541cd5['text'],_0x541cd5[_0x6526('0x74')]||'en')['then'](function(_0x2ae20f){_0x1bf129(null,_0x2ae20f);})[_0x6526('0xf')](function(_0x112f1e){_0x1bf129(_0x112f1e);});};AGIVertices[_0x6526('0x10')][_0x6526('0x75')]=function(_0x4653d7,_0x291a77){scripts[_0x6526('0x75')](this['channel'],_0x4653d7)['then'](function(_0x1d8130){_0x291a77(null,_0x1d8130);})['catch'](function(_0x4f10bb){_0x291a77(_0x4f10bb);});};AGIVertices[_0x6526('0x10')][_0x6526('0x76')]=function(_0x4b22ea,_0x501f88){scripts[_0x6526('0x76')](_0x4b22ea[_0x6526('0x71')],_0x4b22ea['text'],_0x4b22ea[_0x6526('0x77')]||_0x6526('0x78'),_0x4b22ea[_0x6526('0x79')])[_0x6526('0xd')](function(_0x33bcb2){_0x501f88(null,_0x33bcb2);})[_0x6526('0xf')](function(_0x16e86e){_0x501f88(_0x16e86e);});};AGIVertices[_0x6526('0x10')][_0x6526('0x7a')]=function(_0x340da9,_0x35bb97,_0x32b2d9){scripts[_0x6526('0x7a')](_0x35bb97,_0x340da9[_0x6526('0x71')],_0x340da9[_0x6526('0x7b')]||_0x6526('0x78'),this[_0x6526('0x7c')](_0x340da9['model'])?_0x340da9[_0x6526('0x7d')]:undefined)[_0x6526('0xd')](function(_0x40bce1){_0x32b2d9(null,_0x40bce1);})[_0x6526('0xf')](function(_0x2310f1){_0x32b2d9(_0x2310f1);});};AGIVertices[_0x6526('0x10')]['awsPolly']=function(_0x50ab45,_0x563928){scripts[_0x6526('0x7e')](_0x50ab45[_0x6526('0x7f')],_0x50ab45[_0x6526('0x80')],_0x50ab45[_0x6526('0x81')],_0x50ab45[_0x6526('0x82')]||_0x6526('0x83'),_0x50ab45[_0x6526('0x53')],_0x50ab45[_0x6526('0x84')]||_0x6526('0x53'))[_0x6526('0xd')](function(_0x2aaafc){_0x563928(null,_0x2aaafc);})['catch'](function(_0x1f4615){_0x563928(_0x1f4615);});};AGIVertices['prototype'][_0x6526('0x85')]=function(_0x2d2e3a,_0x31ba0c){scripts[_0x6526('0x85')](this[_0x6526('0x2f')][_0x6526('0x33')],_0x2d2e3a[_0x6526('0x7f')],_0x2d2e3a[_0x6526('0x80')],_0x2d2e3a[_0x6526('0x86')],_0x2d2e3a['text'],_0x2d2e3a[_0x6526('0x87')])[_0x6526('0xd')](function(_0x2374b4){_0x31ba0c(null,_0x2374b4);})[_0x6526('0xf')](function(_0x424599){_0x31ba0c(_0x424599);});};AGIVertices[_0x6526('0x10')][_0x6526('0x88')]=function(_0x279bdb,_0x2d685d,_0x1ea0ae){scripts[_0x6526('0x88')](_0x2d685d,_0x279bdb[_0x6526('0x71')],_0x279bdb[_0x6526('0x89')]||_0x6526('0x78'))['then'](function(_0x332676){_0x1ea0ae(null,_0x332676);})[_0x6526('0xf')](function(_0x3105e3){_0x1ea0ae(_0x3105e3);});};AGIVertices[_0x6526('0x10')]['tildeASR']=function(_0x32346b,_0x5a60d0,_0x1dca78){scripts[_0x6526('0x8a')](_0x5a60d0,_0x32346b['appid'],_0x32346b[_0x6526('0x8b')],_0x32346b[_0x6526('0x66')])[_0x6526('0xd')](function(_0x35d7af){_0x1dca78(null,_0x35d7af);})[_0x6526('0xf')](function(_0xa2599f){_0x1dca78(_0xa2599f);});};AGIVertices['prototype'][_0x6526('0x8c')]=function(_0x4213f){var _0x1ddcf2=_[_0x6526('0x5d')](verticesWithRetry,_0x4213f[_0x6526('0x30')])?_0x4213f:_[_0x6526('0x8d')](_0x4213f);for(var _0x15b7cb in _0x1ddcf2){if(_0x1ddcf2[_0x6526('0x8e')](_0x15b7cb)){if(_0x1ddcf2[_0x15b7cb]&&_[_0x6526('0x8f')](_0x1ddcf2[_0x15b7cb])){if(_[_0x6526('0x5d')](recursiveMapAttributes,_0x15b7cb)){_0x1ddcf2[_0x15b7cb]=this[_0x6526('0x90')](_0x1ddcf2[_0x15b7cb]);}else{_0x1ddcf2[_0x15b7cb]=this[_0x6526('0x91')](_0x1ddcf2[_0x15b7cb]);}}}}return _0x1ddcf2;};AGIVertices[_0x6526('0x10')]['recursiveNodeIndex']=function(_0x1e3514){for(var _0x49e8d8 in _0x1e3514){if(_0x1e3514[_0x6526('0x8e')](_0x49e8d8)){if(_[_0x6526('0x92')](_0x1e3514[_0x49e8d8])){this[_0x6526('0x93')](_0x1e3514[_0x49e8d8]);}else if(_[_0x6526('0x94')](_0x1e3514[_0x49e8d8])){for(var _0x160f67=0x0;_0x160f67<_0x1e3514[_0x49e8d8][_0x6526('0x95')];_0x160f67++){this[_0x6526('0x93')](_0x1e3514[_0x49e8d8][_0x160f67]);}}else if(_[_0x6526('0x8f')](_0x1e3514[_0x49e8d8])){_0x1e3514[_0x49e8d8]=this[_0x6526('0x91')](_0x1e3514[_0x49e8d8]);}}}};AGIVertices[_0x6526('0x10')][_0x6526('0x96')]=function(_0x44da8e,_0x20a394){for(var _0x49c331 in _0x44da8e){if(_0x44da8e[_0x6526('0x8e')](_0x49c331)){if(_['isPlainObject'](_0x44da8e[_0x49c331])){if(!_[_0x6526('0x3b')](_0x44da8e[_0x49c331])){this[_0x6526('0x96')](_0x44da8e[_0x49c331],util[_0x6526('0x4a')](_0x6526('0x97'),_0x20a394,_0x49c331));}}else if(_[_0x6526('0x94')](_0x44da8e[_0x49c331])){for(var _0x202eb8=0x0;_0x202eb8<_0x44da8e[_0x49c331][_0x6526('0x95')];_0x202eb8++){this[_0x6526('0x96')](_0x44da8e[_0x49c331][_0x202eb8],util[_0x6526('0x4a')](_0x6526('0x97'),_0x20a394,_0x49c331+'['+_0x202eb8+']'));}}else{if(!_[_0x6526('0x3c')](_0x44da8e[_0x49c331])){this[_0x6526('0x2f')][_0x6526('0x98')](util[_0x6526('0x4a')](_0x6526('0x97'),_0x20a394,_0x49c331),_0x44da8e[_0x49c331]);}}}}};AGIVertices[_0x6526('0x10')][_0x6526('0x90')]=function(_0x2cb2d6){try{var _0x307357=JSON[_0x6526('0x61')](_0x2cb2d6);this[_0x6526('0x93')](_0x307357);return JSON['stringify'](_0x307357);}catch(_0x3364d8){return this[_0x6526('0x91')](_0x2cb2d6);}};AGIVertices[_0x6526('0x10')]['replaceAllVariables']=function(_0x4cd28a){var _0x1aeda3=_0x4cd28a['split']('{');for(var _0x5e199a=0x1;_0x5e199a<_0x1aeda3[_0x6526('0x95')];_0x5e199a+=0x1){var _0x17d922=_0x1aeda3[_0x5e199a][_0x6526('0x99')]('}');if(_0x17d922[_0x6526('0x95')]>0x1){_0x4cd28a=_0x4cd28a[_0x6526('0x9a')]('{'+_0x17d922[0x0]+'}',this[_0x6526('0x2f')][_0x6526('0x9b')](_0x17d922[0x0])[_0x6526('0x9c')]||_0x17d922[0x0]);}}if(_0x1aeda3[_0x6526('0x95')]===0x1){return _0x4cd28a[_0x6526('0x9d')]();}return this['replaceAllVariables'](_0x4cd28a);};AGIVertices[_0x6526('0x10')][_0x6526('0x9e')]=function(_0x372132,_0x5e2d7c){var _0x83abb=this[_0x6526('0x2f')][_0x6526('0x9b')](_0x372132);if(_0x83abb['result']===-0x1){return _0x83abb;}logger[_0x6526('0x2c')](util['format'](_0x6526('0x9f'),_0x5e2d7c,_0x83abb[_0x6526('0x9c')]));return this['channel']['setVariable'](_0x5e2d7c,_0x83abb['extra']);};AGIVertices[_0x6526('0x10')][_0x6526('0x7c')]=function(_0x35918c){return _0x35918c&&_0x35918c!=='0'&&_0x35918c!=='-1'&&_0x35918c!=='';};AGIVertices[_0x6526('0x10')][_0x6526('0xa0')]=function(_0x365e99){this['createSquareDetailsReport'][_0x6526('0x65')](this,_0x365e99,'-');_0x365e99[_0x6526('0xa1')]=_0x365e99['maxRetry'];return{'code':0xc8,'result':'-'};};AGIVertices['prototype'][_0x6526('0xa2')]=function(_0x1997a9){logger['info'](util[_0x6526('0x4a')](_0x6526('0xa3'),_0x1997a9['label']));if(!this['isConfigured'](_0x1997a9['text'])){return this[_0x6526('0x2f')]['noop'](_0x6526('0xa4'));}var _0x445026='\x22'+_0x1997a9['text']+'\x22';if(this[_0x6526('0x7c')](_0x1997a9[_0x6526('0x6f')])){_0x445026+=','+_0x1997a9[_0x6526('0x6f')];}var _0x4e435e=this[_0x6526('0x2f')][_0x6526('0xa5')](_0x6526('0xa6'),_0x445026);if(_0x4e435e[_0x6526('0xa7')]===-0x1){return _0x4e435e;}return this['channel'][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0xa9'),_0x445026));};AGIVertices[_0x6526('0x10')][_0x6526('0xaa')]=function(_0x50009e){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0xab'),_0x50009e[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x50009e[_0x6526('0xad')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0xae'));}var _0x3127a9=_0x50009e[_0x6526('0xad')];if(this[_0x6526('0x7c')](_0x50009e[_0x6526('0x6f')])){_0x3127a9+=','+_0x50009e[_0x6526('0x6f')];}var _0x1af170=this[_0x6526('0x2f')]['exec'](_0x6526('0xaf'),_0x3127a9);if(_0x1af170['result']===-0x1){return _0x1af170;}var _0x5137df=this[_0x6526('0x9e')](_0x6526('0xb0'),'MRCP_RECOG_CONFIDENCE');if(_0x5137df['result']===-0x1){return _0x5137df;}var _0x3fda03=this[_0x6526('0x9e')](_0x6526('0xb1'),_0x6526('0xb2'));if(_0x3fda03[_0x6526('0xa7')]===-0x1){return _0x3fda03;}var _0x2a0c59=this[_0x6526('0x9e')](_0x6526('0xb3'),'MRCP_RECOG_INSTANCE');if(_0x2a0c59[_0x6526('0xa7')]===-0x1){return _0x2a0c59;}return this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')]('Executed\x20command\x20MRCPRecog\x20%s',_0x3127a9));};AGIVertices[_0x6526('0x10')][_0x6526('0xb4')]=function(_0x294b01){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20AGI\x20(%s)\x20block',_0x294b01[_0x6526('0xac')]));return this[_0x6526('0x2f')][_0x6526('0xb4')]([_0x294b01['command'],_0x294b01['args']]);};AGIVertices['prototype'][_0x6526('0xb5')]=function(_0x12cb93){logger[_0x6526('0x2c')](util['format'](_0x6526('0xb6'),_0x12cb93['label']));if(this[_0x6526('0x7c')](_0x12cb93[_0x6526('0x5c')])){logger['info'](util[_0x6526('0x4a')](_0x6526('0xb7'),_0x12cb93[_0x6526('0x5c')]));var _0x419c72=this['channel'][_0x6526('0xb8')](_0x12cb93[_0x6526('0x5c')]);if(_0x419c72[_0x6526('0xa7')]===-0x1){return _0x419c72;}}return this[_0x6526('0x2f')][_0x6526('0xb5')]();};AGIVertices[_0x6526('0x10')]['callback']=function(_0x495027){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0xb9'),_0x495027[_0x6526('0xac')]));if(!this['isConfigured'](_0x495027[_0x6526('0xba')])){return this[_0x6526('0x2f')]['error'](_0x495027,'no\x20list\x20selected');}_0x495027[_0x6526('0x40')]=moment();if(this[_0x6526('0x7c')](_0x495027[_0x6526('0xbb')])){_0x495027[_0x6526('0x40')]=moment()['add'](_0x495027['delay'],_0x6526('0xbc'));}if(!this[_0x6526('0x7c')](_0x495027[_0x6526('0x42')])){_0x495027['callback_priority']=0x2;}this[_0x6526('0x3a')][_0x6526('0x65')](this,_0x495027);return this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')]('CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s',_0x495027[_0x6526('0x3f')],_0x495027['list_id'],_0x495027[_0x6526('0x40')]));};AGIVertices[_0x6526('0x10')][_0x6526('0xbd')]=function(_0x3f635b){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0xbe'),_0x3f635b[_0x6526('0xac')]));var _0x4f9304=this[_0x6526('0x2f')][_0x6526('0xa5')](_0x3f635b[_0x6526('0xbf')],_0x3f635b['options']);if(_0x4f9304['result']===-0x1){return _0x4f9304;}return this['channel']['noop'](util['format'](_0x6526('0xc0'),_0x3f635b['application'],_0x3f635b[_0x6526('0x6f')]));};AGIVertices[_0x6526('0x10')]['lumenvoxtts']=function(_0x30b4af){logger[_0x6526('0x2c')](util['format'](_0x6526('0xc1'),_0x30b4af[_0x6526('0xac')]));if(!this['isConfigured'](_0x30b4af[_0x6526('0x53')])){return this[_0x6526('0x2f')]['noop'](_0x6526('0xa4'));}var _0x4a58eb='\x22'+_0x30b4af[_0x6526('0x53')]+'\x22';if(this[_0x6526('0x7c')](_0x30b4af[_0x6526('0x6f')])){_0x4a58eb+=','+_0x30b4af[_0x6526('0x6f')];}var _0x5643bf=this['channel'][_0x6526('0xa5')]('MRCPSynth',_0x4a58eb);if(_0x5643bf[_0x6526('0xa7')]===-0x1){return _0x5643bf;}return this[_0x6526('0x2f')]['noop'](util[_0x6526('0x4a')](_0x6526('0xa9'),_0x4a58eb));};AGIVertices[_0x6526('0x10')][_0x6526('0xc2')]=function(_0x5431a7){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20SESTEKTTS\x20(%s)\x20block',_0x5431a7[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x5431a7['text'])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0xa4'));}var _0x2e02da='\x22'+_0x5431a7[_0x6526('0x53')]+'\x22';if(this['isConfigured'](_0x5431a7[_0x6526('0x6f')])){_0x2e02da+=','+_0x5431a7[_0x6526('0x6f')];}var _0x3c3413=this['channel']['exec']('MRCPSynth',_0x2e02da);if(_0x3c3413[_0x6526('0xa7')]===-0x1){return _0x3c3413;}return this[_0x6526('0x2f')][_0x6526('0xa8')](util['format'](_0x6526('0xa9'),_0x2e02da));};AGIVertices[_0x6526('0x10')][_0x6526('0xc3')]=function(_0x2fe8fa){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block',_0x2fe8fa['label']));if(!this[_0x6526('0x7c')](_0x2fe8fa[_0x6526('0xad')])){return this[_0x6526('0x2f')][_0x6526('0xa8')]('no\x20grammar\x20configured');}var _0x883d08=_0x2fe8fa['grammar'];if(this[_0x6526('0x7c')](_0x2fe8fa['options'])){_0x883d08+=','+_0x2fe8fa[_0x6526('0x6f')];}var _0x1044db=this[_0x6526('0x2f')][_0x6526('0xa5')]('MRCPRecog',_0x883d08);if(_0x1044db[_0x6526('0xa7')]===-0x1){return _0x1044db;}var _0x51355f=this[_0x6526('0x9e')](_0x6526('0xb0'),_0x6526('0xc4'));if(_0x51355f['result']===-0x1){return _0x51355f;}var _0x386a7d=this[_0x6526('0x9e')](_0x6526('0xb1'),_0x6526('0xc5'));if(_0x386a7d[_0x6526('0xa7')]===-0x1){return _0x386a7d;}var _0x14b509=this[_0x6526('0x9e')](_0x6526('0xb3'),_0x6526('0xc6'));if(_0x14b509[_0x6526('0xa7')]===-0x1){return _0x14b509;}return this[_0x6526('0x2f')]['noop'](util['format'](_0x6526('0xc7'),_0x883d08));};AGIVertices[_0x6526('0x10')][_0x6526('0xc8')]=function(_0x5f1892){logger[_0x6526('0x2c')](util['format'](_0x6526('0xc9'),_0x5f1892[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x5f1892[_0x6526('0xad')])){return this[_0x6526('0x2f')]['noop'](_0x6526('0xae'));}var _0x2e2046=_0x5f1892['grammar'];if(this[_0x6526('0x7c')](_0x5f1892[_0x6526('0x6f')])){_0x2e2046+=','+_0x5f1892[_0x6526('0x6f')];}var _0x3e3e5a=this['channel']['exec']('MRCPRecog',_0x2e2046);if(_0x3e3e5a['result']===-0x1){return _0x3e3e5a;}var _0x5a8e8c=this['getAndSetVariable'](_0x6526('0xb0'),_0x6526('0xca'));if(_0x5a8e8c[_0x6526('0xa7')]===-0x1){return _0x5a8e8c;}var _0x6ccdd4=this['getAndSetVariable'](_0x6526('0xb1'),_0x6526('0xcb'));if(_0x6ccdd4[_0x6526('0xa7')]===-0x1){return _0x6ccdd4;}var _0x144e6e=this[_0x6526('0x9e')]('RECOG_INSTANCE()',_0x6526('0xcc'));if(_0x144e6e[_0x6526('0xa7')]===-0x1){return _0x144e6e;}return this[_0x6526('0x2f')]['noop'](util[_0x6526('0x4a')]('Executed\x20command\x20MRCPRecog\x20%s',_0x2e2046));};AGIVertices[_0x6526('0x10')]['database']=function(_0x501b06){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0xcd'),_0x501b06['label']));if(!this['isConfigured'](_0x501b06[_0x6526('0xce')])){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x501b06,_0x6526('0xcf'));}var _0x29a421=this[_0x6526('0x14')][_0x6526('0x65')](this,_0x501b06[_0x6526('0xce')]);if(!_0x29a421){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x501b06,_0x6526('0xd0'));}if(!this[_0x6526('0x7c')](_0x501b06[_0x6526('0x2a')])){return this['channel']['error'](_0x501b06,_0x6526('0xd1'));}var _0x3179d6=_0x501b06['query']['replace'](/(\r\n|\n|\r)/gm,'\x20');this[_0x6526('0x2f')][_0x6526('0xa8')](util['format'](_0x6526('0xd2'),_0x3179d6));var _0x57e380=this[_0x6526('0x25')][_0x6526('0x65')](this,_0x29a421,_0x3179d6);this[_0x6526('0x2e')][_0x6526('0x65')](this,_0x501b06,_0x3179d6);if(!this[_0x6526('0x7c')](_0x501b06['variable_id'])){return this[_0x6526('0x2f')][_0x6526('0xa8')]('no\x20variable\x20selected\x20for\x20the\x20result');}var _0xad18a3=this[_0x6526('0x9b')][_0x6526('0x65')](this,_0x501b06['variable_id']);if(!_0xad18a3){return this['channel'][_0x6526('0x27')](_0x501b06,_0x6526('0xd3'));}var _0x3f238f=this;_0x57e380[_0x6526('0xd4')](function(_0x38a4a2,_0x3d66c5){Object['keys'](_0x38a4a2)[_0x6526('0xd4')](function(_0x4e38b3){_0x3f238f[_0x6526('0x2f')][_0x6526('0x98')](util['format']('%s[%s][%s]',_0xad18a3,_0x3d66c5,_0x4e38b3),_0x38a4a2[_0x4e38b3]);});});this['channel'][_0x6526('0x98')](util[_0x6526('0x4a')]('%s_ROWS_COUNT',_0xad18a3),_0x57e380[_0x6526('0x95')]);return this[_0x6526('0x2f')]['noop'](util[_0x6526('0x4a')]('variable\x20%s\x20set',_0xad18a3));};AGIVertices[_0x6526('0x10')]['dial']=function(_0x2a0e40){logger[_0x6526('0xd5')](util[_0x6526('0x4a')](_0x6526('0xd6'),_0x2a0e40[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x2a0e40[_0x6526('0xd7')])){return this['channel']['error'](_0x2a0e40,_0x6526('0xd8'));}var _0xa067f1=this['getUser'][_0x6526('0x65')](this,_0x2a0e40['sip_id']);if(!_0xa067f1){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x2a0e40,_0x6526('0xd9'));}var _0x27a00a=this[_0x6526('0x2f')][_0x6526('0xa5')](_0x6526('0xda'),[util[_0x6526('0x4a')]('SIP/%s',_0xa067f1),_0x2a0e40[_0x6526('0x5c')],_0x2a0e40['opts'],_0x2a0e40[_0x6526('0x67')]]);if(_0x27a00a[_0x6526('0xa7')]===-0x1){return _0x27a00a;}return this[_0x6526('0x2f')]['noop'](util[_0x6526('0x4a')](_0x6526('0xdb'),'DIAL'));};AGIVertices[_0x6526('0x10')][_0x6526('0xdc')]=function(_0x54d807){logger[_0x6526('0x2c')](util['format'](_0x6526('0xdd'),_0x54d807[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x54d807[_0x6526('0x71')])){return this['channel'][_0x6526('0xa8')]('no\x20key\x20configured');}if(!this['isConfigured'](_0x54d807[_0x6526('0x53')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0xa4'));}this['channel'][_0x6526('0xde')]=!![];this[_0x6526('0x2e')](_0x54d807);this[_0x6526('0x39')](_0x54d807['text'],'in','','');this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0xdf'),_0x54d807[_0x6526('0x53')]));var _0x56e7a9=this[_0x6526('0x70')][_0x6526('0x65')](this,_0x54d807);if(_0x56e7a9){for(var _0x46c215 in _0x56e7a9){if(_0x56e7a9[_0x6526('0x8e')](_0x46c215)){this[_0x6526('0x2f')][_0x6526('0x98')](util[_0x6526('0x4a')](_0x6526('0xe0'),_0x46c215[_0x6526('0x5f')]()),_0x56e7a9[_0x46c215]);}}this[_0x6526('0x39')](_0x56e7a9[_0x6526('0xe1')],'out','dialogflow','');return this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0xe2'),_0x56e7a9['speech']));}return this['channel']['error'](_0x54d807,_0x6526('0xe3'));};AGIVertices['prototype'][_0x6526('0xe4')]=function(_0x434c62){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0xe5'),_0x434c62['label']));if(!this[_0x6526('0x7c')](_0x434c62[_0x6526('0x73')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0xe6'));}if(!this[_0x6526('0x7c')](_0x434c62[_0x6526('0xe7')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0xe8'));}if(!this[_0x6526('0x7c')](_0x434c62[_0x6526('0xe9')])){return this['channel'][_0x6526('0xa8')](_0x6526('0xea'));}if(!this['isConfigured'](_0x434c62['dialogflowV2_language'])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0xeb'));}if(!this[_0x6526('0x7c')](_0x434c62[_0x6526('0x53')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0xa4'));}this[_0x6526('0x2f')][_0x6526('0xde')]=!![];this[_0x6526('0x2e')](_0x434c62);this['createSquareMessage'](_0x434c62['text'],'in','','');this[_0x6526('0x2f')][_0x6526('0xa8')](util['format'](_0x6526('0xec'),_0x434c62[_0x6526('0x53')]));var _0x2919ff=this[_0x6526('0x72')][_0x6526('0x65')](this,_0x434c62);if(_0x2919ff){for(var _0x473ae0 in _0x2919ff){if(_0x2919ff[_0x6526('0x8e')](_0x473ae0)){if(_0x473ae0!=='providerResponse'){this[_0x6526('0x2f')]['setVariable'](util[_0x6526('0x4a')](_0x6526('0xe0'),_0x473ae0[_0x6526('0x5f')]()),_0x2919ff[_0x473ae0]);}}}this[_0x6526('0x39')](_0x2919ff[_0x6526('0xe1')],_0x6526('0xed'),_0x6526('0xe4'),_0x2919ff[_0x6526('0xee')]);return this[_0x6526('0x2f')][_0x6526('0xa8')](util['format'](_0x6526('0xef'),_0x2919ff['speech']));}return this[_0x6526('0x2f')]['error'](_0x434c62,_0x6526('0xf0'));};AGIVertices['prototype'][_0x6526('0xf1')]=function(_0x299302){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0xf2'),_0x299302['label']));if(!this['isConfigured'](_0x299302[_0x6526('0xf3')])){return this[_0x6526('0x2f')]['noop'](_0x6526('0xf4'));}if(!this[_0x6526('0x7c')](_0x299302['username'])){return this[_0x6526('0x2f')]['noop'](_0x6526('0xf5'));}if(!this[_0x6526('0x7c')](_0x299302['password'])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0xf6'));}if(!this['isConfigured'](_0x299302[_0x6526('0xf7')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0xa4'));}this[_0x6526('0x2f')]['bot']=!![];this['createSquareDetailsReport'](_0x299302);this['createSquareMessage'](_0x299302[_0x6526('0x53')],'in','','');this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0xf8'),_0x299302['text']));var _0x29ed6a=this['sestekNDA'][_0x6526('0x65')](this,_0x299302);if(_0x29ed6a){for(var _0x29ffac in _0x29ed6a){if(_0x29ed6a[_0x6526('0x8e')](_0x29ffac)){this[_0x6526('0x2f')]['setVariable'](util[_0x6526('0x4a')]('SESTEK_NDA_%s',_0x29ffac['toUpperCase']()),_0x29ed6a[_0x29ffac]);}}this[_0x6526('0x39')](_0x29ed6a[_0x6526('0xe1')],_0x6526('0xed'),_0x6526('0xf1'),'');if(_0x29ed6a[_0x6526('0xf9')]){this[_0x6526('0x2f')][_0x6526('0xa8')](util['format'](_0x6526('0xfa'),_0x29ed6a['audiofile']));var _0x182088=this[_0x6526('0x2f')]['streamFile'](_0x29ed6a['audiofile']);try{fs['unlink'](_0x29ed6a[_0x6526('0xf9')]+_0x6526('0xfb'));}catch(_0x5d3748){logger['error'](_0x5d3748);}return _0x182088;}else{return this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0xfc'),_0x29ed6a[_0x6526('0xe1')]));}}return this[_0x6526('0x2f')][_0x6526('0x27')](_0x299302,_0x6526('0xfd'));};AGIVertices[_0x6526('0x10')][_0x6526('0xfe')]=function(_0x4775d1){logger['info'](util['format'](_0x6526('0xff'),_0x4775d1[_0x6526('0xac')]));return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0xfe'));};AGIVertices[_0x6526('0x10')][_0x6526('0x100')]=function(_0xb8b2a2){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block',_0xb8b2a2[_0x6526('0xac')]));var _0x5766dc='';if(_0xb8b2a2[_0x6526('0x101')]){if(!this[_0x6526('0x7c')](_0xb8b2a2[_0x6526('0x101')])){return this[_0x6526('0x2f')][_0x6526('0x27')](_0xb8b2a2,_0x6526('0x102'));}else{var _0x155639=parseInt(_0xb8b2a2[_0x6526('0x101')],0xa);if(isNaN(_0x155639)){_0x5766dc=_0xb8b2a2[_0x6526('0x101')];}else{_0x5766dc=this[_0x6526('0x19')][_0x6526('0x65')](this,_0xb8b2a2[_0x6526('0x101')]);if(!_0x5766dc){return this[_0x6526('0x2f')][_0x6526('0x27')](_0xb8b2a2,_0x6526('0x103'));}}}}else if(_0xb8b2a2[_0x6526('0x104')]){_0x5766dc=_0xb8b2a2['trunk_name'];}else{return this['channel'][_0x6526('0x27')](_0xb8b2a2,_0x6526('0x102'));}var _0x21f88a=this[_0x6526('0x2f')][_0x6526('0xa5')](_0x6526('0xda'),[util[_0x6526('0x4a')](_0x6526('0x105'),_0x5766dc,_0xb8b2a2[_0x6526('0x3f')]),_0xb8b2a2[_0x6526('0x5c')],_0xb8b2a2[_0x6526('0x106')],_0xb8b2a2['url']]);if(_0x21f88a[_0x6526('0xa7')]===-0x1){return _0x21f88a;}return this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')]('Executed\x20command\x20%s',_0x6526('0xda')));};AGIVertices[_0x6526('0x10')][_0x6526('0x107')]=function(_0x24fbad){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20FINALLY\x20(%s)\x20block',_0x24fbad[_0x6526('0xac')]));return this[_0x6526('0x2f')]['noop']('finally');};AGIVertices[_0x6526('0x10')][_0x6526('0xa')]=function(_0x5e9800){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x108'),_0x5e9800['label']));if(_0x5e9800['retry']===0x0){return this[_0x6526('0xa0')](_0x5e9800);}_0x5e9800[_0x6526('0xa1')]-=0x1;if(!this['isConfigured'](_0x5e9800[_0x6526('0x109')])){return this['channel'][_0x6526('0x27')](_0x5e9800,_0x6526('0x10a'));}var _0x212a75=this[_0x6526('0x1b')][_0x6526('0x65')](this,_0x5e9800[_0x6526('0x109')]);if(!_0x212a75){return this[_0x6526('0x2f')]['error'](_0x5e9800,_0x6526('0x10b'));}if(!this[_0x6526('0x7c')](_0x5e9800['variable_id'])){return this['channel'][_0x6526('0x27')]('no\x20variable\x20selected\x20for\x20the\x20result');}var _0x4f13ad=this[_0x6526('0x2f')][_0x6526('0x10c')](_0x212a75,_0x5e9800['response'],_0x5e9800[_0x6526('0x10d')]);var _0x302726=_0x4f13ad[_0x6526('0xa7')]?_0x4f13ad[_0x6526('0xa7')][_0x6526('0x9d')]():'';logger['info'](_0x6526('0x10e'),JSON[_0x6526('0x6a')](_0x4f13ad));if(_0x4f13ad[_0x6526('0xa7')]===-0x1){this[_0x6526('0x2e')][_0x6526('0x65')](this,_0x5e9800,_0x302726);return _0x4f13ad;}else if(_0x4f13ad[_0x6526('0x9c')]===_0x6526('0x5c')){_0x4f13ad[_0x6526('0xa7')]=_0x302726[_0x6526('0x95')]>=parseInt(_0x5e9800[_0x6526('0x10f')])?'x':'i';}else{_0x4f13ad[_0x6526('0xa7')]=_0x302726['length']>=parseInt(_0x5e9800[_0x6526('0x10f')])&&_0x302726[_0x6526('0x95')]<=parseInt(_0x5e9800[_0x6526('0x10d')])?'x':'i';}var _0xea88a9=this[_0x6526('0x9b')][_0x6526('0x65')](this,_0x5e9800['variable_id']);if(!_0xea88a9){return this[_0x6526('0x2f')]['error'](_0x5e9800,_0x6526('0xd3'));}this['channel']['setVariable'](_0xea88a9,_0x302726);if(this[_0x6526('0x7c')](_0x5e9800['hiddendigitsnum'])){var _0x31ce47=parseInt(_0x5e9800[_0x6526('0x110')],0xa);var _0x17c35a=rs[_0x6526('0x111')]({'charset':'*','length':_0x31ce47});var _0x52d2b5=_0x302726['length'];if(_0x52d2b5>0x0){if(_0x52d2b5>_0x31ce47){this[_0x6526('0x2e')][_0x6526('0x65')](this,_0x5e9800,_0x5e9800[_0x6526('0x112')]===_0x6526('0x113')?_0x17c35a+_0x302726[_0x6526('0x114')](_0x31ce47):_0x302726[_0x6526('0x114')](0x0,_0x52d2b5-_0x31ce47)+_0x17c35a);}else{this[_0x6526('0x2e')][_0x6526('0x65')](this,_0x5e9800,rs[_0x6526('0x111')]({'charset':'*','length':_0x52d2b5}));}}else{this[_0x6526('0x2e')][_0x6526('0x65')](this,_0x5e9800,'');}}else{this[_0x6526('0x2e')][_0x6526('0x65')](this,_0x5e9800,_0x302726);}return _0x4f13ad;};AGIVertices[_0x6526('0x10')][_0x6526('0xb')]=function(_0x2f470d){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x115'),_0x2f470d[_0x6526('0xac')]));return this['getdigits'](_0x2f470d);};AGIVertices[_0x6526('0x10')][_0x6526('0x116')]=function(_0x158592){logger[_0x6526('0x2c')](util['format'](_0x6526('0x117'),_0x158592[_0x6526('0xac')]));this[_0x6526('0x2e')][_0x6526('0x65')](this,_0x158592,_0x158592[_0x6526('0x118')]);return this['channel'][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x119'),_0x158592[_0x6526('0x118')]));};AGIVertices[_0x6526('0x10')]['awspolly']=function(_0x56a647){logger[_0x6526('0x2c')](util['format'](_0x6526('0x11a'),_0x56a647[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x56a647[_0x6526('0x7f')])||!this[_0x6526('0x7c')](_0x56a647[_0x6526('0x80')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x11b'));}if(!this['isConfigured'](_0x56a647[_0x6526('0x53')])){return this['channel'][_0x6526('0xa8')](_0x6526('0xa4'));}this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x11c'),_0x56a647[_0x6526('0x53')]));var _0x3c044d=this[_0x6526('0x7e')]['sync'](this,_0x56a647);if(_0x3c044d){this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x11d'),_0x3c044d));var _0x12edff=this[_0x6526('0x2f')]['streamFile'](_0x3c044d);try{fs['unlink'](_0x3c044d+_0x6526('0xfb'));}catch(_0x5c91b8){logger[_0x6526('0x27')](_0x5c91b8);}return _0x12edff;}return this[_0x6526('0x2f')][_0x6526('0x27')](_0x56a647,'aws\x20Polly\x20is\x20unreachable');};AGIVertices['prototype'][_0x6526('0x11e')]=function(_0x52eb4a){logger['info'](util['format'](_0x6526('0x11f'),_0x52eb4a[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x52eb4a[_0x6526('0x7f')])||!this[_0x6526('0x7c')](_0x52eb4a[_0x6526('0x80')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x11b'));}if(!this[_0x6526('0x7c')](_0x52eb4a['aws_bot_name'])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x120'));}if(!this['isConfigured'](_0x52eb4a[_0x6526('0x53')])){return this[_0x6526('0x2f')][_0x6526('0xa8')]('no\x20text\x20configured');}this['channel'][_0x6526('0xde')]=!![];this[_0x6526('0x2e')](_0x52eb4a);this[_0x6526('0x39')](_0x52eb4a[_0x6526('0x53')],'in','','');this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x121'),_0x52eb4a[_0x6526('0x53')]));var _0x4925bf=this[_0x6526('0x85')][_0x6526('0x65')](this,_0x52eb4a);if(_0x4925bf){for(var _0x10e5d5 in _0x4925bf){if(_0x4925bf[_0x6526('0x8e')](_0x10e5d5)&&_['isString'](_0x4925bf[_0x10e5d5])){this[_0x6526('0x2f')]['setVariable'](util[_0x6526('0x4a')](_0x6526('0x122'),_0x10e5d5[_0x6526('0x5f')]()),_0x4925bf[_0x10e5d5]);}}if(_['isNil'](_0x4925bf[_0x6526('0x6d')])){return this['channel'][_0x6526('0xa8')](_0x6526('0x123'));}else{this['createSquareMessage'](_0x4925bf['message'],_0x6526('0xed'),_0x6526('0x124'),'');return this['channel'][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x125'),_0x4925bf[_0x6526('0x6d')]));}}return this[_0x6526('0x2f')][_0x6526('0x27')](_0x52eb4a,_0x6526('0x126'));};AGIVertices[_0x6526('0x10')][_0x6526('0x127')]=function(_0x249de6){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s',_0x249de6[_0x6526('0xac')],_0x249de6['timeout']));if(!this['isConfigured'](_0x249de6[_0x6526('0x71')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x128'));}var _0x23b53f=_0x6526('0x129');var _0x18e931=util['format']('%s/recordings/%s',FILES_PATH,rs['generate'](0x4));var _0x2a5394=util[_0x6526('0x4a')](_0x6526('0x97'),_0x18e931,_0x23b53f);var _0x34f29f=!![];if(_0x249de6[_0x6526('0x12a')]==='NOBEEP'){_0x34f29f=![];}var _0x15459c=this['channel'][_0x6526('0x12b')](_0x18e931,_0x23b53f,_0x249de6[_0x6526('0x12c')],_0x249de6[_0x6526('0x5c')],undefined,_0x34f29f);if(_0x15459c[_0x6526('0xa7')]!==-0x1){this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x12d'),_0x2a5394));var _0x2dd3e4=this[_0x6526('0x88')]['sync'](this,_0x249de6,_0x2a5394);if(_0x2dd3e4){for(var _0x289b32 in _0x2dd3e4){if(_0x2dd3e4[_0x6526('0x8e')](_0x289b32)){this[_0x6526('0x2f')][_0x6526('0x98')](util[_0x6526('0x4a')](_0x6526('0x12e'),_0x289b32['toUpperCase']()),_0x2dd3e4[_0x289b32]);}}return this[_0x6526('0x2f')]['noop'](util[_0x6526('0x4a')](_0x6526('0x12f'),JSON['stringify'](_0x2dd3e4)));}}return _0x15459c;};AGIVertices[_0x6526('0x10')][_0x6526('0x130')]=function(_0x5269ca){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x131'),_0x5269ca[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x5269ca[_0x6526('0x132')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x133'));}if(!this['isConfigured'](_0x5269ca[_0x6526('0x8b')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x134'));}var _0x237afe='wav';var _0x149ffc=util[_0x6526('0x4a')](_0x6526('0x135'),FILES_PATH,rs['generate'](0x4));var _0x26fced=util[_0x6526('0x4a')](_0x6526('0x97'),_0x149ffc,_0x237afe);var _0x1eebd1=!![];if(_0x5269ca[_0x6526('0x12a')]===_0x6526('0x136')){_0x1eebd1=![];}var _0x1ad22b=this[_0x6526('0x2f')][_0x6526('0x12b')](_0x149ffc,_0x237afe,_0x5269ca[_0x6526('0x12c')],_0x5269ca[_0x6526('0x5c')],undefined,_0x1eebd1);if(_0x1ad22b[_0x6526('0xa7')]!==-0x1){this['channel']['noop'](util[_0x6526('0x4a')](_0x6526('0x137'),_0x26fced));var _0x5326e4=this['tildeASR'][_0x6526('0x65')](this,_0x5269ca,_0x26fced);if(_0x5326e4){for(var _0x149c8d in _0x5326e4){if(_0x5326e4['hasOwnProperty'](_0x149c8d)){this['channel'][_0x6526('0x98')](util['format'](_0x6526('0x138'),_0x149c8d[_0x6526('0x5f')]()),_0x5326e4[_0x149c8d]);}}return this[_0x6526('0x2f')][_0x6526('0xa8')](util['format'](_0x6526('0x139'),JSON[_0x6526('0x6a')](_0x5326e4)));}}return _0x1ad22b;};AGIVertices[_0x6526('0x10')][_0x6526('0x13a')]=function(_0x32c12c){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x13b'),_0x32c12c[_0x6526('0xac')]));return this[_0x6526('0x2f')]['continueAt'](_0x32c12c[_0x6526('0x35')],_0x32c12c[_0x6526('0x36')],_0x32c12c[_0x6526('0x37')]);};AGIVertices[_0x6526('0x10')][_0x6526('0x13c')]=function(_0x523382){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20GOTOIF\x20(%s)\x20block',_0x523382[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x523382[_0x6526('0x13d')])){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x523382,_0x6526('0x13e'));}try{var _0xa1c650=eval(_0x523382[_0x6526('0x13d')])?_0x6526('0x13f'):_0x6526('0x140');this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')]('EVAL\x20CONDITION\x20%s\x20%s',_0x523382[_0x6526('0x13d')],_0xa1c650));return{'code':0xc8,'result':_0xa1c650};}catch(_0xf5836a){return{'code':0xc8,'result':'false'};}};AGIVertices[_0x6526('0x10')][_0x6526('0x141')]=function(_0x23c07){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block',_0x23c07[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x23c07[_0x6526('0x142')])){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x23c07,_0x6526('0x143'));}var _0x4fb24d=this['getIntervals'][_0x6526('0x65')](this,_0x23c07[_0x6526('0x142')]);if(!_0x4fb24d){return this['channel'][_0x6526('0x27')](_0x23c07,_0x6526('0x144'));}for(var _0x3035c0=0x0;_0x3035c0<_0x4fb24d[_0x6526('0x95')];_0x3035c0+=0x1){var _0x22612e=this['channel'][_0x6526('0x9b')](util[_0x6526('0x4a')]('IFTIME(%s?true:false)',_0x4fb24d[_0x3035c0]));if(_0x22612e[_0x6526('0xa7')]===-0x1){return _0x22612e;}logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x145'),_0x4fb24d[_0x3035c0],_0x22612e['extra']));if(_0x22612e[_0x6526('0x9c')]===_0x6526('0x13f')){logger['info'](util[_0x6526('0x4a')](_0x6526('0x145'),_0x4fb24d[_0x3035c0],'true'));this['channel']['noop'](util['format'](_0x6526('0x145'),_0x4fb24d[_0x3035c0],_0x6526('0x13f')));return{'code':0xc8,'result':_0x6526('0x13f')};}else{logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('IFTIME\x20%s\x20%s',_0x4fb24d[_0x3035c0],_0x6526('0x140')));this['channel'][_0x6526('0xa8')](util['format'](_0x6526('0x145'),_0x4fb24d[_0x3035c0],'false'));}}return{'code':0xc8,'result':_0x6526('0x140')};};AGIVertices['prototype']['hangup']=function(_0x9cebb6){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x146'),_0x9cebb6[_0x6526('0xac')]));return this[_0x6526('0x2f')][_0x6526('0x147')]();};AGIVertices[_0x6526('0x10')][_0x6526('0x148')]=function(_0x10ccf6){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x149'),_0x10ccf6[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x10ccf6[_0x6526('0x71')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x128'));}var _0x349780=_0x6526('0x129');var _0x303b27=util[_0x6526('0x4a')](_0x6526('0x135'),FILES_PATH,rs[_0x6526('0x111')](0x4));var _0x4521b1=util[_0x6526('0x4a')](_0x6526('0x97'),_0x303b27,_0x349780);var _0x2471a8=!![];if(_0x10ccf6[_0x6526('0x12a')]===_0x6526('0x136')){_0x2471a8=![];}var _0x1b2440=this['channel'][_0x6526('0x12b')](_0x303b27,_0x349780,_0x10ccf6[_0x6526('0x12c')],_0x10ccf6[_0x6526('0x5c')],undefined,_0x2471a8);if(_0x1b2440[_0x6526('0xa7')]!==-0x1){this[_0x6526('0x2f')]['noop'](util[_0x6526('0x4a')](_0x6526('0x14a'),_0x4521b1));var _0x6a4e76=this['ispeechASR']['sync'](this,_0x10ccf6,_0x4521b1);if(_0x6a4e76){for(var _0x1ce965 in _0x6a4e76){if(_0x6a4e76[_0x6526('0x8e')](_0x1ce965)){this[_0x6526('0x2f')][_0x6526('0x98')](util[_0x6526('0x4a')](_0x6526('0x14b'),_0x1ce965[_0x6526('0x5f')]()),_0x6a4e76[_0x1ce965]);}}return this['channel']['noop'](util['format'](_0x6526('0x14c'),JSON[_0x6526('0x6a')](_0x6a4e76)));}}return _0x1b2440;};AGIVertices[_0x6526('0x10')]['ispeechtts']=function(_0x47250d){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x14d'),_0x47250d[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x47250d['key'])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x128'));}if(!this[_0x6526('0x7c')](_0x47250d[_0x6526('0x53')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0xa4'));}this[_0x6526('0x2f')][_0x6526('0xa8')](util['format'](_0x6526('0x14e'),_0x47250d['text']));var _0xce5d9c=this['ispeechTTS'][_0x6526('0x65')](this,_0x47250d);if(_0xce5d9c){this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x14a'),_0xce5d9c));var _0x5e57fb=this[_0x6526('0x2f')][_0x6526('0x14f')](_0xce5d9c,_0x47250d[_0x6526('0x12c')]);try{fs['unlink'](_0xce5d9c+_0x6526('0xfb'));}catch(_0x224724){logger['error'](_0x224724);}return _0x5e57fb;}return this[_0x6526('0x2f')][_0x6526('0x27')](_0x47250d,_0x6526('0x150'));};AGIVertices[_0x6526('0x10')][_0x6526('0x151')]=function(_0x3e89fb){logger['info'](util[_0x6526('0x4a')](_0x6526('0x152'),_0x3e89fb['label']));if(!this['isConfigured'](_0x3e89fb['findBy'])){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x3e89fb,_0x6526('0x153'));}logger['info'](util[_0x6526('0x4a')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this[_0x6526('0x2f')][_0x6526('0x34')],_0x3e89fb['findBy']));var _0x5641db=this[_0x6526('0x48')]['sync'](this,_0x3e89fb[_0x6526('0x154')]);if(_0x5641db){logger['info'](util[_0x6526('0x4a')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x6526('0x2f')][_0x6526('0x34')],_0x3e89fb[_0x6526('0x154')]));this[_0x6526('0x2f')][_0x6526('0xa8')](util['format']('AGENT\x20%s\x20FOUND\x20BY',this[_0x6526('0x2f')][_0x6526('0x34')],_0x3e89fb[_0x6526('0x154')]));return{'code':0xc8,'result':_0x6526('0x155')};}else{logger[_0x6526('0x2c')](util['format']('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x6526('0x2f')][_0x6526('0x34')],_0x3e89fb[_0x6526('0x154')]));this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x156'),this[_0x6526('0x2f')][_0x6526('0x34')],_0x3e89fb[_0x6526('0x154')]));return{'code':0xc8,'result':_0x6526('0x157')};}};AGIVertices['prototype'][_0x6526('0x158')]=function(_0x66fa5c){logger['info'](util['format'](_0x6526('0x159'),_0x66fa5c['label']));if(!this[_0x6526('0x7c')](_0x66fa5c['findBy'])){return this[_0x6526('0x2f')]['error'](_0x66fa5c,_0x6526('0x153'));}logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this[_0x6526('0x2f')][_0x6526('0x34')],_0x66fa5c[_0x6526('0x154')]));var _0x9de4c9=this['agentLogout'][_0x6526('0x65')](this,_0x66fa5c[_0x6526('0x154')]);if(_0x9de4c9){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x15a'),this[_0x6526('0x2f')][_0x6526('0x34')],_0x66fa5c[_0x6526('0x154')]));this['channel'][_0x6526('0xa8')](util['format'](_0x6526('0x15a'),this['channel'][_0x6526('0x34')],_0x66fa5c[_0x6526('0x154')]));return{'code':0xc8,'result':_0x6526('0x155')};}else{logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x156'),this[_0x6526('0x2f')][_0x6526('0x34')],_0x66fa5c[_0x6526('0x154')]));this[_0x6526('0x2f')]['noop'](util['format'](_0x6526('0x156'),this[_0x6526('0x2f')][_0x6526('0x34')],_0x66fa5c[_0x6526('0x154')]));return{'code':0xc8,'result':_0x6526('0x157')};}};AGIVertices[_0x6526('0x10')][_0x6526('0x15b')]=function(_0x382572){logger[_0x6526('0x2c')](util['format'](_0x6526('0x15c'),_0x382572[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x382572[_0x6526('0x15d')])){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x382572,_0x6526('0x15e'));}this['channel'][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x15f'),_0x382572[_0x6526('0x15d')]));var _0x19a3e5=eval(_0x382572[_0x6526('0x15d')]);if(!this[_0x6526('0x7c')](_0x382572[_0x6526('0x160')])){return this[_0x6526('0x2f')]['noop'](_0x6526('0x161'));}var _0x494216=this[_0x6526('0x9b')]['sync'](this,_0x382572[_0x6526('0x160')]);if(!_0x494216){return this['channel'][_0x6526('0x27')](_0x382572,_0x6526('0xd3'));}if(_['isArray'](_0x19a3e5)){var _0x190777=this;_0x19a3e5[_0x6526('0xd4')](function(_0x24f0b7,_0xdc95cf){_0x190777[_0x6526('0x2f')]['setVariable'](util[_0x6526('0x4a')]('%s[%s]',_0x494216,_0xdc95cf),_0x24f0b7);});return this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x162'),_0x494216));}else{return this[_0x6526('0x2f')][_0x6526('0x98')](_0x494216,_0x19a3e5);}};AGIVertices[_0x6526('0x10')][_0x6526('0x163')]=function(_0x4a7ac6){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20MENU\x20(%s)\x20block',_0x4a7ac6[_0x6526('0xac')]));if(_0x4a7ac6[_0x6526('0xa1')]===0x0){return this[_0x6526('0xa0')](_0x4a7ac6);}_0x4a7ac6[_0x6526('0xa1')]-=0x1;if(!this['isConfigured'](_0x4a7ac6[_0x6526('0x109')])){return this['channel']['error'](_0x4a7ac6,_0x6526('0x10a'));}var _0x3f8ca6=this[_0x6526('0x1b')][_0x6526('0x65')](this,_0x4a7ac6[_0x6526('0x109')]);if(!_0x3f8ca6){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x4a7ac6,_0x6526('0x10b'));}var _0x23b4ec=this[_0x6526('0x2f')][_0x6526('0x10c')](_0x3f8ca6,_0x4a7ac6['response'],_0x4a7ac6[_0x6526('0x164')]);var _0xb7968e=_0x23b4ec[_0x6526('0xa7')];if(_0x23b4ec[_0x6526('0xa7')]===-0x1){this['createSquareDetailsReport'][_0x6526('0x65')](this,_0x4a7ac6,'-1');return _0x23b4ec;}else if(_0x23b4ec[_0x6526('0x9c')]===_0x6526('0x5c')){_0x23b4ec['result']=_0x23b4ec['result'][_0x6526('0x95')]>0x0?_0x23b4ec['result']:'t';}else if(_[_0x6526('0x3b')](_0x23b4ec[_0x6526('0xa7')])){_0x23b4ec[_0x6526('0xa7')]='#';_0xb7968e='#';}if(!this[_0x6526('0x7c')](_0x4a7ac6[_0x6526('0x160')])){this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x161'));}else{var _0x34fb18=this['getVariable'][_0x6526('0x65')](this,_0x4a7ac6[_0x6526('0x160')]);if(!_0x34fb18){return this['channel'][_0x6526('0x27')](_0x4a7ac6,'no\x20variable\x20found');}this[_0x6526('0x2f')]['setVariable'](_0x34fb18,_0xb7968e);}this[_0x6526('0x2e')]['sync'](this,_0x4a7ac6,_0xb7968e);return _0x23b4ec;};AGIVertices[_0x6526('0x10')]['noop']=function(_0x4455c6){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20NOOP\x20(%s)\x20block',_0x4455c6['label']));return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x4455c6['output']||_0x4455c6[_0x6526('0xac')]);};AGIVertices['prototype'][_0x6526('0x165')]=function(_0x2cebe3){logger['info'](util[_0x6526('0x4a')](_0x6526('0x166'),_0x2cebe3[_0x6526('0xac')]));if(!this['isConfigured'](_0x2cebe3['findBy'])){return this[_0x6526('0x2f')]['error'](_0x2cebe3,'no\x20find\x20by\x20configured');}logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x167'),this[_0x6526('0x2f')][_0x6526('0x34')],_0x2cebe3[_0x6526('0x154')]));var _0x1fe6f2=this[_0x6526('0x43')][_0x6526('0x65')](this,_0x2cebe3[_0x6526('0x168')]);var _0x292a30=this['agentPause'][_0x6526('0x65')](this,_0x2cebe3[_0x6526('0x154')],_0x1fe6f2);if(_0x292a30){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x6526('0x2f')][_0x6526('0x34')],_0x2cebe3[_0x6526('0x154')]));this['channel'][_0x6526('0xa8')](util[_0x6526('0x4a')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x6526('0x2f')][_0x6526('0x34')],_0x2cebe3[_0x6526('0x154')]));return{'code':0xc8,'result':'success'};}else{logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x156'),this[_0x6526('0x2f')][_0x6526('0x34')],_0x2cebe3[_0x6526('0x154')]));this['channel']['noop'](util['format']('AGENT\x20%s\x20FOUND\x20BY',this[_0x6526('0x2f')][_0x6526('0x34')],_0x2cebe3[_0x6526('0x154')]));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0x6526('0x10')][_0x6526('0x169')]=function(_0x19f717){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x16a'),_0x19f717[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x19f717[_0x6526('0x109')])){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x19f717,_0x6526('0x10a'));}var _0x6c7ad8=this[_0x6526('0x1b')]['sync'](this,_0x19f717[_0x6526('0x109')]);if(!_0x6c7ad8){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x19f717,_0x6526('0x10b'));}var _0x2629b8=this['channel']['exec'](_0x6526('0x16b'),[_0x6c7ad8,_0x19f717['opts']]);if(_0x2629b8[_0x6526('0xa7')]===-0x1){return _0x2629b8;}return this['channel'][_0x6526('0xa8')](util[_0x6526('0x4a')]('Executed\x20command\x20%s\x20%s','PLAYBACK',_0x6c7ad8));};AGIVertices[_0x6526('0x10')][_0x6526('0x16c')]=function(_0x48a21c){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20QUEUE\x20(%s)\x20block',_0x48a21c[_0x6526('0xac')]));if(!this['isConfigured'](_0x48a21c['queue_id'])){return this['channel']['error'](_0x48a21c,_0x6526('0x16d'));}var _0x4e077c='';var _0x2a3bb4=parseInt(_0x48a21c[_0x6526('0x16e')],0xa);if(isNaN(_0x2a3bb4)){_0x4e077c=_0x48a21c['queue_id'];}else{_0x4e077c=this[_0x6526('0x11')][_0x6526('0x65')](this,_0x48a21c[_0x6526('0x16e')]);if(!_0x4e077c){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x48a21c,_0x6526('0x16f'));}}var _0x13b87c='';if(this['isConfigured'](_0x48a21c[_0x6526('0x109')])){var _0x214f00=this[_0x6526('0x1b')]['sync'](this,_0x48a21c[_0x6526('0x109')]);if(_0x214f00){_0x13b87c=_0x214f00;}}this['createSquareDetailsReport'][_0x6526('0x65')](this,_0x48a21c,_0x4e077c);if(_0x48a21c['opts']['indexOf']('x')<0x0){_0x48a21c['opts']+='x';}if(_0x48a21c[_0x6526('0x106')][_0x6526('0x170')]('X')<0x0){_0x48a21c[_0x6526('0x106')]+='X';}this[_0x6526('0x2f')][_0x6526('0x98')](_0x6526('0x171'),_0x4e077c?_0x4e077c['toLowerCase']():'');var _0x3913e0=this['channel'][_0x6526('0xa5')]('QUEUE',[_0x4e077c,_0x48a21c['opts'],_0x48a21c[_0x6526('0x67')],_0x13b87c,_0x48a21c[_0x6526('0x5c')],_0x48a21c[_0x6526('0xb4')],_0x48a21c[_0x6526('0x172')],_0x48a21c[_0x6526('0x173')],'',_0x48a21c[_0x6526('0x174')]]);if(_0x3913e0['result']===-0x1){return _0x3913e0;}return this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0xc0'),_0x6526('0x175'),_0x4e077c));};AGIVertices[_0x6526('0x10')][_0x6526('0x176')]=function(_0x3d4ea8){logger[_0x6526('0x2c')](util['format'](_0x6526('0x177'),_0x3d4ea8[_0x6526('0xac')]));var _0x24b843=_0x3d4ea8[_0x6526('0x178')]||_0x6526('0x129');var _0x1ac650=util['format'](_0x6526('0x179'),this['channel'][_0x6526('0x33')],rs[_0x6526('0x111')](0x5));var _0x4725b2=util[_0x6526('0x4a')]('%s/recordings/%s.%s',FILES_PATH,_0x1ac650,_0x24b843);var _0x287fde=util['format'](_0x6526('0x135'),FILES_PATH,_0x1ac650);this['createSquareRecording'][_0x6526('0x65')](this,_0x3d4ea8,_0x1ac650,_0x4725b2);this[_0x6526('0x2f')][_0x6526('0x98')](_0x6526('0x17a'),_0x1ac650);logger[_0x6526('0x2c')](_0x6526('0x17b'),_0x287fde,_0x24b843,_0x3d4ea8[_0x6526('0x17c')],_0x3d4ea8['timeout']);return this[_0x6526('0x2f')]['recordFile'](_0x287fde,_0x24b843,_0x3d4ea8['escape_digits'],_0x3d4ea8[_0x6526('0x5c')],undefined,!![]);};AGIVertices[_0x6526('0x10')][_0x6526('0x17d')]=function(_0x364399){logger['info'](util['format']('Enter\x20in\x20RESTAPI\x20(%s)\x20block',_0x364399[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x364399[_0x6526('0x67')])){return this[_0x6526('0x2f')]['noop']('no\x20url\x20configured');}var _0x550a25=this[_0x6526('0x5a')][_0x6526('0x65')](this,_0x364399);logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x17e'),util[_0x6526('0x17f')](_0x550a25,{'showHidden':![],'depth':null})));if(!this[_0x6526('0x7c')](_0x364399[_0x6526('0x160')])){return this['channel'][_0x6526('0xa8')](_0x6526('0x180'));}var _0xa8044b=this[_0x6526('0x9b')][_0x6526('0x65')](this,_0x364399['variable_id']);if(!_0xa8044b){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x364399,'no\x20variable\x20found');}this[_0x6526('0x2f')][_0x6526('0x98')](util[_0x6526('0x4a')]('%s_STATUS_CODE',_0xa8044b),_0x550a25[_0x6526('0x6b')]?_0x550a25[_0x6526('0x6b')]:'200');this['channel'][_0x6526('0x98')](util['format'](_0x6526('0x181'),_0xa8044b),_0x550a25[_0x6526('0x6c')]?_0x550a25[_0x6526('0x6c')]:'OK');if(_0x550a25['body']){try{this[_0x6526('0x96')](_0x550a25['body'],_0xa8044b);}catch(_0x1312c9){logger[_0x6526('0x27')](util[_0x6526('0x4a')]('Unable\x20to\x20set\x20result\x20in\x20variable\x20%s',_0xa8044b));}}return this[_0x6526('0x2f')]['noop'](util[_0x6526('0x4a')](_0x6526('0x182'),_0xa8044b));};AGIVertices[_0x6526('0x10')][_0x6526('0x183')]=function(_0x1199e1){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x184'),_0x1199e1[_0x6526('0xac')]));return this[_0x6526('0x2f')]['sayDigits'](_0x1199e1[_0x6526('0x185')][_0x6526('0x4f')](/\s+/g,''),_0x1199e1[_0x6526('0x17c')]);};AGIVertices[_0x6526('0x10')][_0x6526('0x186')]=function(_0x3c496a){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x187'),_0x3c496a[_0x6526('0xac')]));return this['channel'][_0x6526('0x188')](_0x3c496a[_0x6526('0x189')][_0x6526('0x4f')](/\s+/g,''),_0x3c496a[_0x6526('0x17c')]);};AGIVertices[_0x6526('0x10')][_0x6526('0x18a')]=function(_0x3973b6){logger['info'](util['format']('Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block',_0x3973b6['label']));return this[_0x6526('0x2f')][_0x6526('0x18b')](_0x3973b6['text'],_0x3973b6[_0x6526('0x17c')]);};AGIVertices[_0x6526('0x10')][_0x6526('0x18c')]=function(_0x47cdfd){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x18d'),_0x47cdfd['label']));if(!this[_0x6526('0x7c')](_0x47cdfd[_0x6526('0x18e')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x18f'));}var _0x1a8189=this[_0x6526('0x1f')][_0x6526('0x65')](this,_0x47cdfd[_0x6526('0x18e')]);if(!_0x1a8189||!_0x1a8189[_0x6526('0x190')]){return this['channel'][_0x6526('0x27')](_0x47cdfd,'no\x20mail\x20account\x20found');}var _0x43d926={'from':util[_0x6526('0x4a')](_0x6526('0x191'),_0x1a8189[_0x6526('0xe')],_0x1a8189[_0x6526('0x192')]||_0x1a8189['Smtp'][_0x6526('0x193')]),'to':_0x47cdfd['to']||'','cc':_0x47cdfd['cc']||'','bcc':_0x47cdfd[_0x6526('0x194')]||'','subject':_0x47cdfd[_0x6526('0x195')],'html':_0x47cdfd[_0x6526('0x53')],'text':_0x47cdfd['text']};var _0x4f8e03={'tls':{'rejectUnauthorized':![]}};if(_0x1a8189[_0x6526('0x190')][_0x6526('0x196')]){_0x4f8e03[_0x6526('0x196')]=_0x1a8189[_0x6526('0x190')][_0x6526('0x196')];}else{_0x4f8e03[_0x6526('0x197')]=_0x1a8189['Smtp'][_0x6526('0x197')];_0x4f8e03[_0x6526('0x198')]=_0x1a8189[_0x6526('0x190')][_0x6526('0x198')];_0x4f8e03[_0x6526('0x199')]=_0x1a8189['Smtp'][_0x6526('0x199')];}if(_0x1a8189[_0x6526('0x190')][_0x6526('0x19a')]){_0x4f8e03[_0x6526('0x19b')]={'user':_0x1a8189['Smtp']['user'],'pass':_0x1a8189[_0x6526('0x190')][_0x6526('0x19c')]};}if(this[_0x6526('0x7c')](_0x47cdfd['template_id'])){}logger[_0x6526('0xd5')]('sendMail\x20message',JSON[_0x6526('0x6a')](_0x43d926));this[_0x6526('0x2e')][_0x6526('0x65')](this,_0x47cdfd,_0x47cdfd[_0x6526('0x18e')]);this[_0x6526('0x2f')]['noop'](util[_0x6526('0x4a')](_0x6526('0x19d'),_0x1a8189['name']));this[_0x6526('0x21')][_0x6526('0x65')](this,_0x4f8e03,_0x43d926);return this[_0x6526('0x2f')]['noop'](_0x6526('0x19e'));};AGIVertices[_0x6526('0x10')]['sendFax']=function(_0x47e1fc){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x19f'),_0x47e1fc[_0x6526('0xac')]));return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x1a0'));};AGIVertices[_0x6526('0x10')][_0x6526('0x1a1')]=function(_0xd0a957){logger['info'](util[_0x6526('0x4a')]('Enter\x20in\x20SENDSMS\x20(%s)\x20block',_0xd0a957[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0xd0a957[_0x6526('0x1a2')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x1a3'));}var _0x5d8fc4=this['getSmsAccount'][_0x6526('0x65')](this,_0xd0a957[_0x6526('0x1a2')]);if(!_0x5d8fc4){return this['channel'][_0x6526('0x27')](_0xd0a957,_0x6526('0x1a4'));}var _0x4b4271={'body':_0xd0a957[_0x6526('0x1a5')],'phone':_0xd0a957['to']||'','SmsAccountId':_0x5d8fc4['id']};logger[_0x6526('0xd5')](_0x6526('0x1a6'),JSON['stringify'](_0x4b4271));this['createSquareDetailsReport']['sync'](this,_0xd0a957,_0xd0a957[_0x6526('0x1a2')]);this[_0x6526('0x2f')]['noop'](util[_0x6526('0x4a')](_0x6526('0x1a7'),_0x5d8fc4[_0x6526('0xe')]));this[_0x6526('0x1a8')][_0x6526('0x65')](this,_0x4b4271);return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x1a9'));};AGIVertices['prototype'][_0x6526('0x1aa')]=function(_0x1327cd){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20SET\x20(%s)\x20block',_0x1327cd['label']));if(!this[_0x6526('0x7c')](_0x1327cd[_0x6526('0x160')])){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x1327cd,_0x6526('0x1ab'));}var _0x14e2bc=this[_0x6526('0x9b')][_0x6526('0x65')](this,_0x1327cd['variable_id']);if(!_0x14e2bc){return this['channel']['error'](_0x1327cd,'no\x20variable\x20found');}return this[_0x6526('0x2f')][_0x6526('0x98')](_0x14e2bc,_0x1327cd[_0x6526('0x1ac')]);};AGIVertices[_0x6526('0x10')]['start']=function(_0x367d76){logger['info'](util[_0x6526('0x4a')]('Enter\x20in\x20START\x20(%s)\x20block',_0x367d76[_0x6526('0xac')]));this[_0x6526('0x2f')]['noop']('START\x20CALLY\x20SQUARE');if(_0x367d76[_0x6526('0xb5')]===_0x6526('0x1ad')){this[_0x6526('0x2f')][_0x6526('0xa8')]('Answer');return this[_0x6526('0x2f')][_0x6526('0xb5')]();}return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0x1ae'));};AGIVertices[_0x6526('0x10')][_0x6526('0x1af')]=function(_0x2be584){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('Enter\x20in\x20SUBPROJECT\x20(%s)\x20block',_0x2be584[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x2be584[_0x6526('0x1b0')])){return this['channel'][_0x6526('0x27')](_0x2be584,_0x6526('0x1b1'));}var _0x3778b0=this[_0x6526('0x1b2')][_0x6526('0x65')](this,_0x2be584['project_id']);if(!this['isConfigured'](_0x3778b0)){return this[_0x6526('0x2f')]['error'](_0x2be584,util[_0x6526('0x4a')](_0x6526('0x1b3'),_0x2be584['project_id']));}if(_0x3778b0===this[_0x6526('0x2f')]['arg_1']){return this[_0x6526('0x2f')]['error'](_0x2be584,_0x6526('0x1b4'));}this['createSquareDetailsReport'][_0x6526('0x65')](this,_0x2be584,_0x3778b0);var _0x52a110=this[_0x6526('0x2f')][_0x6526('0xa5')]('AGI',util[_0x6526('0x4a')](_0x6526('0x1b5'),config[_0x6526('0xb4')][_0x6526('0x197')]||_0x6526('0x1b6'),_0x3778b0,this[_0x6526('0x2f')][_0x6526('0x31')]));if(_0x52a110[_0x6526('0xa7')]===-0x1){return _0x52a110;}return this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0xc0'),_0x6526('0x1b7'),_0x3778b0));};AGIVertices[_0x6526('0x10')][_0x6526('0x1b8')]=function(_0x1ac77a){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x1b9'),_0x1ac77a[_0x6526('0xac')]));var _0x43593f=this[_0x6526('0x4d')][_0x6526('0x65')](this,_0x1ac77a[_0x6526('0x1ba')]);this[_0x6526('0x2e')][_0x6526('0x65')](this,_0x1ac77a,_0x1ac77a[_0x6526('0x1ba')]);if(this[_0x6526('0x7c')](_0x1ac77a['variable_id'])){var _0x5914d7=this[_0x6526('0x9b')][_0x6526('0x65')](this,_0x1ac77a['variable_id']);if(_0x5914d7){this[_0x6526('0x2f')][_0x6526('0x98')](_0x5914d7,_0x43593f);return this[_0x6526('0x2f')]['noop'](util[_0x6526('0x4a')](_0x6526('0x1bb'),_0x1ac77a['command'],_0x5914d7));}}return this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x1bc'),_0x1ac77a[_0x6526('0x1ba')]));};AGIVertices[_0x6526('0x10')][_0x6526('0x1bd')]=function(_0x336a39){logger['info'](util[_0x6526('0x4a')]('Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block',_0x336a39['label']));_0x336a39['text']=_0x336a39[_0x6526('0x53')][_0x6526('0x4f')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x6526('0x7c')](_0x336a39['apiKey'])){return this['channel'][_0x6526('0xa8')](_0x6526('0x1be'));}if(!this[_0x6526('0x7c')](_0x336a39[_0x6526('0x53')])){return this['channel'][_0x6526('0xa8')]('no\x20text\x20configured');}this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x1bf'),_0x336a39[_0x6526('0x53')]));var _0x29cf1a=this['googleCloudTTS'][_0x6526('0x65')](this,_0x336a39);if(_0x29cf1a){this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')]('Google\x20Cloud\x20TTS\x20%s\x20file\x20created',_0x29cf1a));var _0x167430=this[_0x6526('0x2f')][_0x6526('0x14f')](_0x29cf1a);try{fs['unlink'](_0x29cf1a+_0x6526('0xfb'));}catch(_0x173615){logger[_0x6526('0x27')](_0x173615);}return _0x167430;}return this[_0x6526('0x2f')][_0x6526('0x27')](_0x336a39,'Google\x20Cloud\x20TTS\x20is\x20unreachable');};AGIVertices[_0x6526('0x10')][_0x6526('0x1c0')]=function(_0xc8e1c0){logger['info'](util[_0x6526('0x4a')]('Enter\x20in\x20GOOGLETTS\x20(%s)\x20block',_0xc8e1c0[_0x6526('0xac')]));_0xc8e1c0[_0x6526('0x53')]=_0xc8e1c0[_0x6526('0x53')]['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this['isConfigured'](_0xc8e1c0[_0x6526('0x53')])){return this[_0x6526('0x2f')][_0x6526('0xa8')](_0x6526('0xa4'));}this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')]('Trying\x20Google\x20TTS\x20%s',_0xc8e1c0[_0x6526('0x53')]));var _0x17f19a=this[_0x6526('0x58')][_0x6526('0x65')](this,_0xc8e1c0);if(_0x17f19a){this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')]('Google\x20TTS\x20%s\x20file\x20created',_0x17f19a));var _0x282061=this[_0x6526('0x2f')][_0x6526('0x14f')](_0x17f19a);try{}catch(_0x220f9b){logger[_0x6526('0x27')](_0x220f9b);}return _0x282061;}return this[_0x6526('0x2f')]['error'](_0xc8e1c0,_0x6526('0x1c1'));};AGIVertices[_0x6526('0x10')]['unpause']=function(_0xac0fa2){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x1c2'),_0xac0fa2['label']));if(!this[_0x6526('0x7c')](_0xac0fa2[_0x6526('0x154')])){return this[_0x6526('0x2f')][_0x6526('0x27')](_0xac0fa2,_0x6526('0x153'));}logger[_0x6526('0x2c')](util['format'](_0x6526('0x167'),this['channel'][_0x6526('0x34')],_0xac0fa2['findBy']));var _0x48640a=this[_0x6526('0x46')]['sync'](this,_0xac0fa2[_0x6526('0x154')]);if(_0x48640a){logger[_0x6526('0x2c')](util[_0x6526('0x4a')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x6526('0x2f')][_0x6526('0x34')],_0xac0fa2['findBy']));this['channel'][_0x6526('0xa8')](util['format']('AGENT\x20%s\x20FOUND\x20BY',this[_0x6526('0x2f')][_0x6526('0x34')],_0xac0fa2['findBy']));return{'code':0xc8,'result':_0x6526('0x155')};}else{logger[_0x6526('0x2c')](util['format'](_0x6526('0x156'),this['channel'][_0x6526('0x34')],_0xac0fa2['findBy']));this[_0x6526('0x2f')][_0x6526('0xa8')](util[_0x6526('0x4a')](_0x6526('0x156'),this['channel'][_0x6526('0x34')],_0xac0fa2[_0x6526('0x154')]));return{'code':0xc8,'result':_0x6526('0x157')};}};AGIVertices[_0x6526('0x10')]['voicemail']=function(_0x444e1c){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x1c3'),_0x444e1c[_0x6526('0xac')]));var _0x461b4d=this[_0x6526('0x2f')]['exec'](_0x6526('0x1c4'),[_0x444e1c[_0x6526('0x1c5')],_0x444e1c['options']]);if(_0x461b4d[_0x6526('0xa7')]===-0x1){return _0x461b4d;}return this[_0x6526('0x2f')]['noop'](util[_0x6526('0x4a')]('Executed\x20command\x20%s\x20%s',_0x6526('0x1c4'),_0x444e1c[_0x6526('0x1c5')]));};AGIVertices[_0x6526('0x10')][_0x6526('0x1c6')]=function(_0x4777fa){logger[_0x6526('0x2c')](util[_0x6526('0x4a')](_0x6526('0x1c7'),_0x4777fa[_0x6526('0xac')]));if(!this[_0x6526('0x7c')](_0x4777fa[_0x6526('0x160')])){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x4777fa,_0x6526('0x1ab'));}var _0x169307=this[_0x6526('0x9b')][_0x6526('0x65')](this,_0x4777fa['variable_id']);if(!_0x169307){return this[_0x6526('0x2f')][_0x6526('0x27')](_0x4777fa,'no\x20variable\x20found');}var _0x5dae80=this[_0x6526('0x2f')]['getVariable'](_0x169307);return{'code':0xc8,'result':_0x5dae80[_0x6526('0x9c')]?_0x5dae80['extra']:'-'};};String['prototype']['replaceAll']=function(_0x257a2b,_0x365541){return this[_0x6526('0x99')](_0x257a2b)[_0x6526('0x1c8')](_0x365541);};module[_0x6526('0x1c9')]=AGIVertices;
\ No newline at end of file