Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / services / agi / vertices.js
index 3fd9812..87dadd3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf722=['label','agicommand','callerid','createSquareRecording','context','extension','priority','dnid','arg_1','createSquareMessage','createCmContact','isEmpty','callback_','random','lastName','isNil','list_id','scheduledAt','callback','Callback\x20scheduled\x20at\x20','toString','callback_priority','getPause','agentPause','agent','agentUnpause','agentLogout','agentLogin','internal','format','%s/%s@from-sip/n','shellCommand','exec','trim','googleCloudTTS','apiKey','google_cloud_tts_text_type','text','languageCode','en-US','MALE','audioEncoding','MP3','googleTTS','google_tts_language','restAPI','url','method','timeout','number','includes','POST','toUpperCase','body','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','headers','rawHeaders','parse','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','computedVariables','sync','uri','render','stringify','An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','statusCode','options','googleDialogflow','key','dialogflow_language','googleDialogflowV2','private_key','dialogflowV2_language','sestekNDA','ispeech_tts_language','ispeechASR','ispeech_asr_language','isConfigured','model','awsPolly','aws_polly_voice','aws_text_type','awsLex','aws_access_key_id','aws_secret_access_key','aws_lex_region','aws_bot_name','googleASR','google_asr_language','tildeASR','appid','clear','clone','hasOwnProperty','isString','replaceAllVariables','recursiveNodeIndex','isArray','saveRestApiResult','isPlainObject','%s.%s','length','setVariable','replaceObjectAllVariables','split','getAndSetVariable','result','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','extra','maxRetry','retry','mrcpsynth','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','noop','Executed\x20command\x20MRCPSynth\x20%s','mrcprecog','Enter\x20in\x20MRCPRecog\x20(%s)\x20block','no\x20grammar\x20configured','grammar','MRCPRecog','RECOG_CONFIDENCE()','MRCP_RECOG_CONFIDENCE','MRCP_RECOG_TRANSCRIPT','RECOG_INSTANCE()','Executed\x20command\x20MRCPRecog\x20%s','Enter\x20in\x20AGI\x20(%s)\x20block','command','args','answer','Wait\x20%s\x20seconds\x20before\x20answer','wait','Enter\x20in\x20CALLBACK\x20(%s)\x20block','no\x20list\x20selected','delay','add','minutes','phone','custom_app','application','lumenvoxtts','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','no\x20text\x20configured','MRCPSynth','sestektts','lumenvoxasr','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','RECOG_INPUT()','LUMENVOX_ASR_TRANSCRIPT','LUMENVOX_ASR_INSTANCE','sestekasr','Enter\x20in\x20SESTEKASR\x20(%s)\x20block','SESTEK_ASR_TRANSCRIPT','SESTEK_ASR_INSTANCE','database','Enter\x20in\x20DATABASE\x20(%s)\x20block','odbc_id','no\x20database\x20selected','no\x20query\x20configured','replace','variable_id','no\x20variable\x20selected\x20for\x20the\x20result','forEach','%s_ROWS_COUNT','variable\x20%s\x20set','dial','debug','Enter\x20in\x20DIAL\x20(%s)\x20block','sip_id','no\x20user\x20selected','no\x20user\x20found','DIAL','SIP/%s','opts','dialogflow','no\x20key\x20configured','Trying\x20Dialogflow:\x20%s','DIALOGFLOW_%s','speech','out','Dialogflow\x20Result\x20%s','Dialogflow\x20is\x20unreachable','dialogflowV2_project_id','no\x20project_id\x20configured','client_email','no\x20client_email\x20configured','no\x20private_key\x20configured','no\x20anguage\x20configured','bot','providerResponse','dialogflowV2','DialogflowV2\x20Result\x20%s','DialogflowV2\x20is\x20unreachable','sesteknda','no\x20ndauth\x20url\x20configured','username','password','ndassistant_url','Trying\x20SestekNDA:\x20%s','SESTEK_NDA_%s','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','.wav','SestekNDA\x20Result\x20%s','end','Enter\x20in\x20END\x20(%s)\x20block','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','trunk_id','no\x20trunk\x20selected','getTrunk','no\x20trunk\x20found','trunk_name','SIP/%s/%s','Executed\x20command\x20%s','finally','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','file_id','no\x20file\x20audio\x20selected','no\x20file\x20audio\x20found','getData','response','test','mindigit','no\x20variable\x20found','hiddendigitsnum','generate','hiddendigitspos','first','substr','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','goal','GOAL\x20%s','goalname','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','no\x20valid\x20credentials\x20configured','aws\x20Polly\x20%s\x20file\x20created','streamFile','unlink','aws\x20Polly\x20is\x20unreachable','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','no\x20bot\x20name\x20configured','Trying\x20Amazon\x20Lex:\x20%s','amazonlex','Amazon\x20Lex\x20Result\x20%s','message','googleasr','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','wav','%s/recordings/%s','beep','recordFile','intKey','google\x20%s\x20file\x20created','GOOGLE_ASR_%s','tildeasr','appsecret','no\x20appsecret\x20configured','NOBEEP','tilde\x20%s\x20file\x20created','TILDE_ASR_%s','TildeASR\x20Result\x20%s','gotoc','continueAt','gotoif','condition','no\x20condition\x20configured','true','false','EVAL\x20CONDITION\x20%s\x20%s','gotoiftime','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','interval_id','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','hangup','ispeechasr','ispeech\x20%s\x20file\x20created','Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block','ispeechTTS','ispeech\x20TTS\x20is\x20unreachable','Enter\x20in\x20LOGIN\x20(%s)\x20block','FIND\x20AGENT\x20%s\x20BY\x20%s','AGENT\x20%s\x20FOUND\x20BY','findBy','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','logout','math','operation','no\x20operation\x20configured','math\x20%s','%s[%s]','variable\x20%s[key]\x20set','Enter\x20in\x20MENU\x20(%s)\x20block','digit','Enter\x20in\x20NOOP\x20(%s)\x20block','output','Enter\x20in\x20PAUSE\x20(%s)\x20block','no\x20find\x20by\x20configured','pause_id','playback','Executed\x20command\x20%s\x20%s','PLAYBACK','Enter\x20in\x20QUEUE\x20(%s)\x20block','queue_id','no\x20queue\x20selected','XMCS-QUEUE','toLowerCase','QUEUE','macro','gosub','position','Enter\x20in\x20RECORD\x20(%s)\x20block','recordingFormat','RECORDING_SAVENAME','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','restapi','Enter\x20in\x20RESTAPI\x20(%s)\x20block','no\x20url\x20configured','Response:','no\x20variable\x20selected\x20for\x20the\x20response','%s_STATUS_MESSAGE','statusMessage','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','sayDigits','digits','saynumber','sayNumber','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','sendMail','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','account_id','no\x20mail\x20account\x20configured','getMailAccount','Smtp','no\x20mail\x20account\x20found','email','user','subject','service','host','port','secure','authentication','auth','pass','template_id','sendMail\x20message','Trying\x20SendMail\x20with\x20account\x20%s','sendFax','Enter\x20in\x20SENDFAX\x20(%s)\x20block','SENDFAX\x20block\x20not\x20implemented','sendSMS','Enter\x20in\x20SENDSMS\x20(%s)\x20block','no\x20sms\x20account\x20configured','sms_account_id','no\x20sms\x20account\x20found','sms_text','sendSMS\x20message','Trying\x20SendSMS\x20with\x20account\x20%s','Sms\x20message\x20added\x20to\x20outgoing\x20process','set','no\x20variable\x20selected','start','Enter\x20in\x20START\x20(%s)\x20block','yes','Answer','Skipped\x20Answer','subproject','no\x20subproject\x20selected','project_id','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','AGI','agi://%s/square,\x22%s\x22,\x22%s\x22','system','Enter\x20in\x20SYSTEM\x20(%s)\x20block','sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s','sh\x20command:\x20%s\x20result\x20no\x20stored','google_cloud_tts','Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block','Trying\x20Google\x20Cloud\x20TTS\x20%s','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','tts','Enter\x20in\x20GOOGLETTS\x20(%s)\x20block','Google\x20TTS\x20%s\x20file\x20created','Google\x20TTS\x20is\x20unreachable','unpause','Enter\x20in\x20UNPAUSE\x20(%s)\x20block','voicemail','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','vswitch','Enter\x20in\x20SWITCH\x20(%s)\x20block','replaceAll','join','path','util','lodash','shelljs','randomstring','moment','mustache','request-promise','agi','../../config/environment','./scripts','rawBody','menu','getdigits','getsecretdigits','channel','rpc','mailRpc','prototype','getVariable','getVariableById','then','name','catch','getSquareProject','getSquareProjectById','getSquareOdbc','getSquareOdbcById','dsn','getUser','getUserById','getTrunkById','getSound','getSoundById','save_name','getMailAccountById','sendMailMessage','getIntervals','getIntervalById','IntervalId','map','interval','getSoundPath','%s/sounds/converted/%s','getQueryOdbc','open','error','Error\x20getting\x20ODBC\x20connection\x20%s','info','query','close','Error\x20closing\x20connection\x20to\x20odbc\x20%s','getSmsAccount','getSmsAccountById','createSmsMessage','createSquareDetailsReport','uniqueid'];(function(_0x21baa8,_0x2c5d30){var _0x2bd915=function(_0x2aedf2){while(--_0x2aedf2){_0x21baa8['push'](_0x21baa8['shift']());}};_0x2bd915(++_0x2c5d30);}(_0xf722,0x18f));var _0x2f72=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf722[_0x14add3];return _0x4a174f;};'use strict';var fs=require('fs');var path=require(_0x2f72('0x0'));var util=require(_0x2f72('0x1'));var _=require(_0x2f72('0x2'));var sh=require(_0x2f72('0x3'));var odbc=require('odbc')();var rs=require(_0x2f72('0x4'));var moment=require(_0x2f72('0x5'));var Mustache=require(_0x2f72('0x6'));var rp=require(_0x2f72('0x7'));var logger=require('../../config/logger')(_0x2f72('0x8'));var config=require(_0x2f72('0x9'));var scripts=require(_0x2f72('0xa'));var FILES_PATH='/var/opt/motion2/server/files';var recursiveMapAttributes=['rawHeaders',_0x2f72('0xb')];var verticesWithRetry=[_0x2f72('0xc'),_0x2f72('0xd'),_0x2f72('0xe')];var AGIVertices=function(_0x1cb244,_0x871905,_0x72b96f){this[_0x2f72('0xf')]=_0x1cb244;this[_0x2f72('0x10')]=_0x871905;this[_0x2f72('0x11')]=_0x72b96f;};AGIVertices[_0x2f72('0x12')][_0x2f72('0x13')]=function(_0x161e46,_0x1a8b60){this['rpc'][_0x2f72('0x14')](_0x161e46)[_0x2f72('0x15')](function(_0x3f3be3){_0x1a8b60(null,_0x3f3be3?_0x3f3be3[_0x2f72('0x16')]:![]);})[_0x2f72('0x17')](function(_0x1ef4cd){_0x1a8b60(_0x1ef4cd);});};AGIVertices[_0x2f72('0x12')]['getVoiceQueue']=function(_0x4efae8,_0x455123){this[_0x2f72('0x10')]['getVoiceQueueById'](_0x4efae8)[_0x2f72('0x15')](function(_0x25b44b){_0x455123(null,_0x25b44b?_0x25b44b[_0x2f72('0x16')]:![]);})['catch'](function(_0x24114a){_0x455123(_0x24114a);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x18')]=function(_0x418b0b,_0x2efdd9){this[_0x2f72('0x10')][_0x2f72('0x19')](_0x418b0b)[_0x2f72('0x15')](function(_0x5ab0d2){_0x2efdd9(null,_0x5ab0d2?_0x5ab0d2['name']:![]);})[_0x2f72('0x17')](function(_0x131cd4){_0x2efdd9(_0x131cd4);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x1a')]=function(_0x496edb,_0x535577){this[_0x2f72('0x10')][_0x2f72('0x1b')](_0x496edb)['then'](function(_0x1ff1fe){_0x535577(null,_0x1ff1fe?_0x1ff1fe[_0x2f72('0x1c')]:![]);})['catch'](function(_0x35edd2){_0x535577(_0x35edd2);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x1d')]=function(_0x1af16b,_0x39c756){this[_0x2f72('0x10')][_0x2f72('0x1e')](_0x1af16b)['then'](function(_0x3b2924){_0x39c756(null,_0x3b2924?_0x3b2924[_0x2f72('0x16')]:![]);})[_0x2f72('0x17')](function(_0x866be6){_0x39c756(_0x866be6);});};AGIVertices[_0x2f72('0x12')]['getTrunk']=function(_0x126673,_0x2c6aaa){this[_0x2f72('0x10')][_0x2f72('0x1f')](_0x126673)['then'](function(_0x2e542a){_0x2c6aaa(null,_0x2e542a?_0x2e542a['name']:![]);})[_0x2f72('0x17')](function(_0x5763a6){_0x2c6aaa(_0x5763a6);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x20')]=function(_0x4a9880,_0x215c6e){var _0x342029=this;this[_0x2f72('0x10')][_0x2f72('0x21')](_0x4a9880)['then'](function(_0x30f3a3){_0x215c6e(null,_0x30f3a3?_0x342029['getSoundPath'](_0x30f3a3[_0x2f72('0x22')]):![]);})['catch'](function(_0x26994e){_0x215c6e(_0x26994e);});};AGIVertices[_0x2f72('0x12')]['getMailAccount']=function(_0x454333,_0x2b2158){this[_0x2f72('0x10')][_0x2f72('0x23')](_0x454333)[_0x2f72('0x15')](function(_0x435b48){_0x2b2158(null,_0x435b48?_0x435b48:![]);})[_0x2f72('0x17')](function(_0x244937){_0x2b2158(_0x244937);});};AGIVertices['prototype'][_0x2f72('0x24')]=function(_0x38b365,_0x42fc0e,_0x275ce9){this[_0x2f72('0x11')][_0x2f72('0x24')](_0x38b365,_0x42fc0e)[_0x2f72('0x15')](function(){_0x275ce9(null);})[_0x2f72('0x17')](function(_0x31ac52){_0x275ce9(_0x31ac52);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x25')]=function(_0x20484e,_0x4024bd){this[_0x2f72('0x10')][_0x2f72('0x26')](_0x20484e)[_0x2f72('0x15')](function(_0x40049f){if(_0x40049f){if(_0x40049f[_0x2f72('0x27')]){_0x4024bd(null,[_0x40049f['interval']]);}else{_0x4024bd(null,_[_0x2f72('0x28')](_0x40049f['Intervals'],_0x2f72('0x29')));}}else{_0x4024bd(null,![]);}})[_0x2f72('0x17')](function(_0xb69da3){_0x4024bd(_0xb69da3);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x2a')]=function(_0x44706a){return util['format'](_0x2f72('0x2b'),FILES_PATH,_0x44706a);};AGIVertices[_0x2f72('0x12')][_0x2f72('0x2c')]=function(_0x4c7277,_0x25e27d,_0x2c93af){odbc[_0x2f72('0x2d')](_0x4c7277,function(_0x12740a){if(_0x12740a){logger[_0x2f72('0x2e')](_0x2f72('0x2f'),_0x12740a);_0x2c93af(_0x12740a);}else{logger[_0x2f72('0x30')]('ODBC\x20connection\x20successfully');odbc[_0x2f72('0x31')](_0x25e27d,function(_0x317a76,_0x858d40){if(_0x317a76){logger[_0x2f72('0x30')]('Error\x20executing\x20query\x20%s',_0x25e27d);_0x2c93af(_0x317a76);}else{logger['info']('Query\x20executed\x20correctly\x20%s',_0x25e27d);odbc[_0x2f72('0x32')](function(_0x4e447e){if(_0x4e447e){logger[_0x2f72('0x2e')](_0x2f72('0x33'),_0x4e447e);}_0x2c93af(null,_0x858d40);});}});}});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x34')]=function(_0x22a90e,_0x35c326){this['rpc'][_0x2f72('0x35')](_0x22a90e)['then'](function(_0x8bd777){_0x35c326(null,_0x8bd777?_0x8bd777:![]);})['catch'](function(_0x4319d2){_0x35c326(_0x4319d2);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x36')]=function(_0x38345c,_0x28aa16){this[_0x2f72('0x10')]['createSmsMessage'](_0x38345c)[_0x2f72('0x15')](function(_0x271c8c){_0x28aa16(null,_0x271c8c);})[_0x2f72('0x17')](function(_0x1ec480){_0x28aa16(_0x1ec480);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x37')]=function(_0x5bbfd7,_0x1bf9b4,_0x263fd8){this[_0x2f72('0x10')]['createSquareDetailsReport']({'uniqueid':this['channel'][_0x2f72('0x38')],'node':_0x5bbfd7[_0x2f72('0x39')],'application':_0x5bbfd7[_0x2f72('0x3a')],'data':_0x1bf9b4||null,'project_name':this[_0x2f72('0xf')]['arg_1'],'callerid':this['channel'][_0x2f72('0x3b')]})[_0x2f72('0x15')](function(_0x2bc559){if(_0x263fd8){_0x263fd8(null,_0x2bc559);}})['catch'](function(_0x1f9ba2){if(_0x263fd8){_0x263fd8(_0x1f9ba2);}});};AGIVertices['prototype']['createSquareRecording']=function(_0x5581aa,_0x463bbd,_0x36fe76,_0x49ff73){this[_0x2f72('0x10')][_0x2f72('0x3c')]({'uniqueid':this['channel']['uniqueid'],'callerid':this[_0x2f72('0xf')][_0x2f72('0x3b')],'calleridname':this[_0x2f72('0xf')]['calleridname'],'context':this['channel'][_0x2f72('0x3d')],'extension':this[_0x2f72('0xf')][_0x2f72('0x3e')],'priority':this[_0x2f72('0xf')][_0x2f72('0x3f')],'accountcode':this[_0x2f72('0xf')]['accountcode'],'dnid':this[_0x2f72('0xf')][_0x2f72('0x40')],'projectName':this[_0x2f72('0xf')][_0x2f72('0x41')],'saveName':_0x463bbd,'filename':_0x5581aa['file']||_0x463bbd,'savePath':_0x36fe76})[_0x2f72('0x15')](function(_0x5e43ad){_0x49ff73(null,_0x5e43ad);})['catch'](function(_0x424998){_0x49ff73(_0x424998);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x42')]=function(_0x2435bc,_0x11c8ce,_0x2c5bb4,_0x243775,_0x222b7f){this[_0x2f72('0x10')][_0x2f72('0x42')]({'uniqueid':this['channel'][_0x2f72('0x38')],'body':_0x2435bc,'direction':_0x11c8ce,'providerName':_0x2c5bb4,'providerResponse':_0x243775})[_0x2f72('0x15')](function(_0x2342d4){if(_0x222b7f){_0x222b7f(null,_0x2342d4);}})[_0x2f72('0x17')](function(_0x27d70e){if(_0x222b7f){_0x222b7f(_0x27d70e);}});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x43')]=function(_0x459747,_0x19a332){this[_0x2f72('0x10')][_0x2f72('0x43')]({'firstName':_[_0x2f72('0x44')](_0x459747['name'])||_['isNil'](_0x459747[_0x2f72('0x16')])?_0x2f72('0x45')+Math[_0x2f72('0x46')]():_0x459747[_0x2f72('0x16')],'lastName':_[_0x2f72('0x44')](_0x459747[_0x2f72('0x47')])||_[_0x2f72('0x48')](_0x459747['lastName'])?null:_0x459747['lastName'],'phone':_0x459747['phone'],'ListId':_0x459747[_0x2f72('0x49')],'scheduledat':_0x459747[_0x2f72('0x4a')],'callbackUniqueid':this[_0x2f72('0xf')][_0x2f72('0x38')],'tags':_0x2f72('0x4b'),'description':_0x2f72('0x4c')+_0x459747[_0x2f72('0x4a')][_0x2f72('0x4d')](),'priority':_0x459747[_0x2f72('0x4e')]})[_0x2f72('0x15')](function(_0x13d701){_0x19a332(null,_0x13d701);})[_0x2f72('0x17')](function(_0x26ca71){_0x19a332(_0x26ca71);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x4f')]=function(_0x4ec91f,_0xff475a){this[_0x2f72('0x10')]['getPauseById'](_0x4ec91f)[_0x2f72('0x15')](function(_0x20bb45){_0xff475a(null,_0x20bb45?_0x20bb45['name']:![]);})[_0x2f72('0x17')](function(_0x44c0c3){_0xff475a(_0x44c0c3);});};AGIVertices['prototype'][_0x2f72('0x50')]=function(_0x2a73af,_0x1a42e1,_0x56d433){var _0x21f361={'role':_0x2f72('0x51')};_0x21f361[_0x2a73af]=this[_0x2f72('0xf')][_0x2f72('0x3b')];this['rpc'][_0x2f72('0x50')](_0x21f361,_0x1a42e1,this['channel'][_0x2f72('0x38')])[_0x2f72('0x15')](function(_0x29deef){_0x56d433(null,_[_0x2f72('0x48')](_0x29deef)?![]:!![]);})[_0x2f72('0x17')](function(_0x36dfa4){logger[_0x2f72('0x2e')](_0x36dfa4);_0x56d433(null,![]);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x52')]=function(_0x31b5be,_0x1f2985){var _0x417c32={'role':'agent'};_0x417c32[_0x31b5be]=this[_0x2f72('0xf')]['callerid'];this[_0x2f72('0x10')][_0x2f72('0x52')](_0x417c32)[_0x2f72('0x15')](function(_0x220e27){_0x1f2985(null,_['isNil'](_0x220e27)?![]:!![]);})[_0x2f72('0x17')](function(_0x585981){logger[_0x2f72('0x2e')](_0x585981);_0x1f2985(null,![]);});};AGIVertices[_0x2f72('0x12')]['agentLogout']=function(_0x56a350,_0x1b0b16){var _0x47c4d4={'role':_0x2f72('0x51')};_0x47c4d4[_0x56a350]=this[_0x2f72('0xf')][_0x2f72('0x3b')];this[_0x2f72('0x10')][_0x2f72('0x53')](_0x47c4d4)['then'](function(_0x235bec){_0x1b0b16(null,_[_0x2f72('0x48')](_0x235bec)?![]:!![]);})[_0x2f72('0x17')](function(_0x51efed){logger[_0x2f72('0x2e')](_0x51efed);_0x1b0b16(null,![]);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x54')]=function(_0x40b918,_0x469f4b){var _0x29088d={'role':'agent'};_0x29088d[_0x40b918]=this[_0x2f72('0xf')]['callerid'];var _0x328296=_0x40b918!=_0x2f72('0x55')?util[_0x2f72('0x56')](_0x2f72('0x57'),'LOCAL',this[_0x2f72('0xf')]['callerid']):undefined;this[_0x2f72('0x10')][_0x2f72('0x54')](_0x29088d,_0x328296)[_0x2f72('0x15')](function(_0x4e9c55){_0x469f4b(null,_['isNil'](_0x4e9c55)?![]:!![]);})[_0x2f72('0x17')](function(_0x4501ea){logger[_0x2f72('0x2e')](_0x4501ea);_0x469f4b(null,![]);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x58')]=function(_0x1bf8ae,_0x2fefea){sh[_0x2f72('0x59')](_[_0x2f72('0x5a')](_0x1bf8ae),function(_0x1e79cc,_0x15e030){var _0x4fa46d=_0x15e030['replace'](/(\r\n|\n|\r)/gm,'');_0x2fefea(null,_0x4fa46d);});};AGIVertices['prototype'][_0x2f72('0x5b')]=function(_0x5b4b47,_0xbdd3df){scripts[_0x2f72('0x5b')](_0x5b4b47[_0x2f72('0x5c')],_0x5b4b47[_0x2f72('0x5d')]||'text',_0x5b4b47[_0x2f72('0x5e')],_0x5b4b47[_0x2f72('0x5f')]||_0x2f72('0x60'),_0x5b4b47['ssmlGender']||_0x2f72('0x61'),_0x5b4b47[_0x2f72('0x62')]||_0x2f72('0x63'))[_0x2f72('0x15')](function(_0x21d6a5){_0xbdd3df(null,_0x21d6a5);})['catch'](function(_0x2eb0a8){_0xbdd3df(_0x2eb0a8);});};AGIVertices[_0x2f72('0x12')]['googleTTS']=function(_0x17ce53,_0x13cb92){scripts[_0x2f72('0x64')](_0x17ce53['text'],_0x17ce53[_0x2f72('0x65')]||'en',0x1)[_0x2f72('0x15')](function(_0x332261){_0x13cb92(null,_0x332261);})[_0x2f72('0x17')](function(_0x5e648d){_0x13cb92(_0x5e648d);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x66')]=function(_0x1ac697,_0x10a123){var _0x2c144c={'uri':_0x1ac697[_0x2f72('0x67')],'method':_0x1ac697[_0x2f72('0x68')],'json':!![],'resolveWithFullResponse':!![],'strictSSL':![],'timeout':typeof parseInt(_0x1ac697[_0x2f72('0x69')])===_0x2f72('0x6a')&&parseInt(_0x1ac697[_0x2f72('0x69')])>=0x1?parseInt(_0x1ac697[_0x2f72('0x69')])*0x3e8:0x5*0x3e8};if(_[_0x2f72('0x6b')]([_0x2f72('0x6c'),'PUT'],_0x2c144c[_0x2f72('0x68')][_0x2f72('0x6d')]())){try{_0x2c144c[_0x2f72('0x6e')]=_0x1ac697[_0x2f72('0xb')]?JSON['parse'](_0x1ac697[_0x2f72('0xb')]):{};}catch(_0x58413c){logger['error'](_0x2f72('0x6f'),_0x58413c);}}try{_0x2c144c[_0x2f72('0x70')]=_0x1ac697[_0x2f72('0x71')]?JSON[_0x2f72('0x72')](_0x1ac697['rawHeaders']):{};}catch(_0xd6415a){logger[_0x2f72('0x2e')](_0x2f72('0x73'),_0xd6415a);}if(_0x1ac697['computedVariables']){try{var _0x5f06bb=require(_0x1ac697[_0x2f72('0x74')])[_0x2f72('0x75')](this,_0x2c144c);_0x2c144c[_0x2f72('0x76')]=Mustache[_0x2f72('0x77')](_0x1ac697[_0x2f72('0x67')],_0x5f06bb,{},['$$','$$']);if(_0x2c144c[_0x2f72('0x70')]){_0x2c144c[_0x2f72('0x70')]=JSON[_0x2f72('0x72')](Mustache[_0x2f72('0x77')](JSON[_0x2f72('0x78')](_0x2c144c[_0x2f72('0x70')]),_0x5f06bb,{},['$$','$$']));}if(_0x2c144c['body']){_0x2c144c['body']=JSON[_0x2f72('0x72')](Mustache['render'](JSON['stringify'](_0x2c144c[_0x2f72('0x6e')]),_0x5f06bb,{},['$$','$$']));}}catch(_0x1fc9c5){logger[_0x2f72('0x2e')](_0x2f72('0x79'),_0x1fc9c5);}}rp(_0x2c144c)[_0x2f72('0x15')](function(_0x52f051){var _0x27edeb={'statusCode':_0x52f051[_0x2f72('0x7a')]||0xc8,'statusMessage':_0x52f051['statusMessage']||'OK','headers':_0x52f051['headers']||{},'body':_0x52f051[_0x2f72('0x6e')]||{}};_0x10a123(null,_0x27edeb);})[_0x2f72('0x17')](function(_0x28690){var _0x552691={'statusCode':_0x28690[_0x2f72('0x7a')]||0x1f4,'statusMessage':_0x28690['message']||'500\x20-\x20Internal\x20Server\x20Error','headers':_0x28690[_0x2f72('0x7b')][_0x2f72('0x70')]||{},'body':_0x28690[_0x2f72('0x7b')][_0x2f72('0x6e')]||{}};_0x10a123(null,_0x552691);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x7c')]=function(_0x1fff32,_0x11a4f4){scripts['googleDialogflow'](this[_0x2f72('0xf')][_0x2f72('0x38')],_0x1fff32[_0x2f72('0x7d')],_0x1fff32[_0x2f72('0x5e')],_0x1fff32[_0x2f72('0x7e')]||'en')[_0x2f72('0x15')](function(_0x38f008){_0x11a4f4(null,_0x38f008);})[_0x2f72('0x17')](function(_0x6f3e51){_0x11a4f4(_0x6f3e51);});};AGIVertices['prototype'][_0x2f72('0x7f')]=function(_0x39303c,_0x2ff94c){scripts[_0x2f72('0x7f')](this[_0x2f72('0xf')][_0x2f72('0x38')],_0x39303c['dialogflowV2_project_id'],_0x39303c['client_email'],_0x39303c[_0x2f72('0x80')],_0x39303c['text'],_0x39303c[_0x2f72('0x81')]||'en')[_0x2f72('0x15')](function(_0x582518){_0x2ff94c(null,_0x582518);})['catch'](function(_0x2e4749){_0x2ff94c(_0x2e4749);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x82')]=function(_0x1e5d32,_0x21adc6){scripts['sestekNDA'](this[_0x2f72('0xf')],_0x1e5d32)[_0x2f72('0x15')](function(_0x49cc17){_0x21adc6(null,_0x49cc17);})[_0x2f72('0x17')](function(_0x4debe0){_0x21adc6(_0x4debe0);});};AGIVertices[_0x2f72('0x12')]['ispeechTTS']=function(_0x33d4d0,_0x48e172){scripts['ispeechTTS'](_0x33d4d0['key'],_0x33d4d0[_0x2f72('0x5e')],_0x33d4d0[_0x2f72('0x83')]||_0x2f72('0x60'),_0x33d4d0['speed'])[_0x2f72('0x15')](function(_0x4af17b){_0x48e172(null,_0x4af17b);})['catch'](function(_0x550e16){_0x48e172(_0x550e16);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x84')]=function(_0x22a0ba,_0x59a7d7,_0x3818f8){scripts[_0x2f72('0x84')](_0x59a7d7,_0x22a0ba[_0x2f72('0x7d')],_0x22a0ba[_0x2f72('0x85')]||'en-US',this[_0x2f72('0x86')](_0x22a0ba[_0x2f72('0x87')])?_0x22a0ba[_0x2f72('0x87')]:undefined)['then'](function(_0x19af22){_0x3818f8(null,_0x19af22);})['catch'](function(_0x44e0b9){_0x3818f8(_0x44e0b9);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x88')]=function(_0x46c092,_0x56d146){scripts[_0x2f72('0x88')](_0x46c092['aws_access_key_id'],_0x46c092['aws_secret_access_key'],_0x46c092['aws_polly_region'],_0x46c092[_0x2f72('0x89')]||'Amy',_0x46c092['text'],_0x46c092[_0x2f72('0x8a')]||_0x2f72('0x5e'))[_0x2f72('0x15')](function(_0x142e0b){_0x56d146(null,_0x142e0b);})['catch'](function(_0x465a5f){_0x56d146(_0x465a5f);});};AGIVertices[_0x2f72('0x12')]['awsLex']=function(_0x28b962,_0x36738e){scripts[_0x2f72('0x8b')](this['channel'][_0x2f72('0x38')],_0x28b962[_0x2f72('0x8c')],_0x28b962[_0x2f72('0x8d')],_0x28b962[_0x2f72('0x8e')],_0x28b962[_0x2f72('0x5e')],_0x28b962[_0x2f72('0x8f')])['then'](function(_0x479946){_0x36738e(null,_0x479946);})[_0x2f72('0x17')](function(_0x11d3f5){_0x36738e(_0x11d3f5);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x90')]=function(_0x2cee92,_0xb518c7,_0x23664d){scripts[_0x2f72('0x90')](_0xb518c7,_0x2cee92[_0x2f72('0x7d')],_0x2cee92[_0x2f72('0x91')]||_0x2f72('0x60'))['then'](function(_0x5521da){_0x23664d(null,_0x5521da);})[_0x2f72('0x17')](function(_0xc2ecb3){_0x23664d(_0xc2ecb3);});};AGIVertices[_0x2f72('0x12')][_0x2f72('0x92')]=function(_0xb0f5d7,_0x576a58,_0x416831){scripts[_0x2f72('0x92')](_0x576a58,_0xb0f5d7[_0x2f72('0x93')],_0xb0f5d7['appsecret'],_0xb0f5d7[_0x2f72('0x76')])[_0x2f72('0x15')](function(_0x203139){_0x416831(null,_0x203139);})[_0x2f72('0x17')](function(_0x238249){_0x416831(_0x238249);});};AGIVertices['prototype'][_0x2f72('0x94')]=function(_0x2c4e83){var _0x2d7e6b=_['includes'](verticesWithRetry,_0x2c4e83[_0x2f72('0x3a')])?_0x2c4e83:_[_0x2f72('0x95')](_0x2c4e83);for(var _0x36459e in _0x2d7e6b){if(_0x2d7e6b[_0x2f72('0x96')](_0x36459e)){if(_0x2d7e6b[_0x36459e]&&_[_0x2f72('0x97')](_0x2d7e6b[_0x36459e])){if(_[_0x2f72('0x6b')](recursiveMapAttributes,_0x36459e)){_0x2d7e6b[_0x36459e]=this['replaceObjectAllVariables'](_0x2d7e6b[_0x36459e]);}else{_0x2d7e6b[_0x36459e]=this[_0x2f72('0x98')](_0x2d7e6b[_0x36459e]);}}}}return _0x2d7e6b;};AGIVertices[_0x2f72('0x12')]['recursiveNodeIndex']=function(_0x102eae){for(var _0x36a1b7 in _0x102eae){if(_0x102eae[_0x2f72('0x96')](_0x36a1b7)){if(_['isPlainObject'](_0x102eae[_0x36a1b7])){this[_0x2f72('0x99')](_0x102eae[_0x36a1b7]);}else if(_[_0x2f72('0x9a')](_0x102eae[_0x36a1b7])){for(var _0x1e3158=0x0;_0x1e3158<_0x102eae[_0x36a1b7]['length'];_0x1e3158++){this[_0x2f72('0x99')](_0x102eae[_0x36a1b7][_0x1e3158]);}}else if(_[_0x2f72('0x97')](_0x102eae[_0x36a1b7])){_0x102eae[_0x36a1b7]=this[_0x2f72('0x98')](_0x102eae[_0x36a1b7]);}}}};AGIVertices['prototype'][_0x2f72('0x9b')]=function(_0x2a25ff,_0x224fbc){for(var _0x127e27 in _0x2a25ff){if(_0x2a25ff[_0x2f72('0x96')](_0x127e27)){if(_[_0x2f72('0x9c')](_0x2a25ff[_0x127e27])){if(!_[_0x2f72('0x44')](_0x2a25ff[_0x127e27])){this[_0x2f72('0x9b')](_0x2a25ff[_0x127e27],util[_0x2f72('0x56')](_0x2f72('0x9d'),_0x224fbc,_0x127e27));}}else if(_['isArray'](_0x2a25ff[_0x127e27])){for(var _0xf4bc98=0x0;_0xf4bc98<_0x2a25ff[_0x127e27][_0x2f72('0x9e')];_0xf4bc98++){this[_0x2f72('0x9b')](_0x2a25ff[_0x127e27][_0xf4bc98],util['format']('%s.%s',_0x224fbc,_0x127e27+'['+_0xf4bc98+']'));}}else{if(!_[_0x2f72('0x48')](_0x2a25ff[_0x127e27])){this[_0x2f72('0xf')][_0x2f72('0x9f')](util['format']('%s.%s',_0x224fbc,_0x127e27),_0x2a25ff[_0x127e27]);}}}}};AGIVertices[_0x2f72('0x12')][_0x2f72('0xa0')]=function(_0x571781){try{var _0x489929=JSON[_0x2f72('0x72')](_0x571781);this[_0x2f72('0x99')](_0x489929);return JSON[_0x2f72('0x78')](_0x489929);}catch(_0x2d79c3){return this[_0x2f72('0x98')](_0x571781);}};AGIVertices[_0x2f72('0x12')][_0x2f72('0x98')]=function(_0x353f81){var _0x127e97=_0x353f81[_0x2f72('0xa1')]('{');for(var _0x3ec508=0x1;_0x3ec508<_0x127e97['length'];_0x3ec508+=0x1){var _0x33c1ea=_0x127e97[_0x3ec508][_0x2f72('0xa1')]('}');if(_0x33c1ea['length']>0x1){_0x353f81=_0x353f81['replaceAll']('{'+_0x33c1ea[0x0]+'}',this[_0x2f72('0xf')][_0x2f72('0x13')](_0x33c1ea[0x0])['extra']||_0x33c1ea[0x0]);}}if(_0x127e97['length']===0x1){return _0x353f81[_0x2f72('0x4d')]();}return this[_0x2f72('0x98')](_0x353f81);};AGIVertices[_0x2f72('0x12')][_0x2f72('0xa2')]=function(_0x261d72,_0x441e4e){var _0x421d2b=this[_0x2f72('0xf')][_0x2f72('0x13')](_0x261d72);if(_0x421d2b[_0x2f72('0xa3')]===-0x1){return _0x421d2b;}logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0xa4'),_0x441e4e,_0x421d2b[_0x2f72('0xa5')]));return this['channel'][_0x2f72('0x9f')](_0x441e4e,_0x421d2b[_0x2f72('0xa5')]);};AGIVertices[_0x2f72('0x12')][_0x2f72('0x86')]=function(_0x3eae90){return _0x3eae90&&_0x3eae90!=='0'&&_0x3eae90!=='-1'&&_0x3eae90!=='';};AGIVertices[_0x2f72('0x12')][_0x2f72('0xa6')]=function(_0x23ce0f){this['createSquareDetailsReport']['sync'](this,_0x23ce0f,'-');_0x23ce0f[_0x2f72('0xa7')]=_0x23ce0f[_0x2f72('0xa6')];return{'code':0xc8,'result':'-'};};AGIVertices[_0x2f72('0x12')][_0x2f72('0xa8')]=function(_0x27d39a){logger[_0x2f72('0x30')](util['format'](_0x2f72('0xa9'),_0x27d39a[_0x2f72('0x39')]));if(!this['isConfigured'](_0x27d39a['text'])){return this[_0x2f72('0xf')]['noop']('no\x20text\x20configured');}var _0x10b1c7='\x22'+_0x27d39a[_0x2f72('0x5e')]+'\x22';if(this[_0x2f72('0x86')](_0x27d39a['options'])){_0x10b1c7+=','+_0x27d39a[_0x2f72('0x7b')];}var _0x1413c4=this['channel'][_0x2f72('0x59')]('MRCPSynth',_0x10b1c7);if(_0x1413c4[_0x2f72('0xa3')]===-0x1){return _0x1413c4;}return this['channel'][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0xab'),_0x10b1c7));};AGIVertices['prototype'][_0x2f72('0xac')]=function(_0x28e85f){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0xad'),_0x28e85f[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x28e85f['grammar'])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0xae'));}var _0x1621d2=_0x28e85f[_0x2f72('0xaf')];if(this[_0x2f72('0x86')](_0x28e85f[_0x2f72('0x7b')])){_0x1621d2+=','+_0x28e85f['options'];}var _0x5d6f7a=this[_0x2f72('0xf')]['exec'](_0x2f72('0xb0'),_0x1621d2);if(_0x5d6f7a[_0x2f72('0xa3')]===-0x1){return _0x5d6f7a;}var _0x449b85=this[_0x2f72('0xa2')](_0x2f72('0xb1'),_0x2f72('0xb2'));if(_0x449b85[_0x2f72('0xa3')]===-0x1){return _0x449b85;}var _0x372495=this[_0x2f72('0xa2')]('RECOG_INPUT()',_0x2f72('0xb3'));if(_0x372495[_0x2f72('0xa3')]===-0x1){return _0x372495;}var _0x46a367=this[_0x2f72('0xa2')](_0x2f72('0xb4'),'MRCP_RECOG_INSTANCE');if(_0x46a367[_0x2f72('0xa3')]===-0x1){return _0x46a367;}return this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0xb5'),_0x1621d2));};AGIVertices[_0x2f72('0x12')][_0x2f72('0x8')]=function(_0x360c45){logger[_0x2f72('0x30')](util['format'](_0x2f72('0xb6'),_0x360c45['label']));return this[_0x2f72('0xf')][_0x2f72('0x8')]([_0x360c45[_0x2f72('0xb7')],_0x360c45[_0x2f72('0xb8')]]);};AGIVertices['prototype'][_0x2f72('0xb9')]=function(_0xd4dbc1){logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('Enter\x20in\x20ANSWER\x20(%s)\x20block',_0xd4dbc1['label']));if(this[_0x2f72('0x86')](_0xd4dbc1[_0x2f72('0x69')])){logger['info'](util[_0x2f72('0x56')](_0x2f72('0xba'),_0xd4dbc1[_0x2f72('0x69')]));var _0x5f27a6=this[_0x2f72('0xf')][_0x2f72('0xbb')](_0xd4dbc1[_0x2f72('0x69')]);if(_0x5f27a6[_0x2f72('0xa3')]===-0x1){return _0x5f27a6;}}return this[_0x2f72('0xf')][_0x2f72('0xb9')]();};AGIVertices['prototype'][_0x2f72('0x4b')]=function(_0x55238e){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0xbc'),_0x55238e[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x55238e[_0x2f72('0x49')])){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x55238e,_0x2f72('0xbd'));}_0x55238e[_0x2f72('0x4a')]=moment();if(this['isConfigured'](_0x55238e[_0x2f72('0xbe')])){_0x55238e['scheduledAt']=moment()[_0x2f72('0xbf')](_0x55238e[_0x2f72('0xbe')],_0x2f72('0xc0'));}if(!this['isConfigured'](_0x55238e[_0x2f72('0x4e')])){_0x55238e['callback_priority']=0x2;}this['createCmContact'][_0x2f72('0x75')](this,_0x55238e);return this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')]('CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s',_0x55238e[_0x2f72('0xc1')],_0x55238e['list_id'],_0x55238e[_0x2f72('0x4a')]));};AGIVertices[_0x2f72('0x12')][_0x2f72('0xc2')]=function(_0x249fbf){logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block',_0x249fbf[_0x2f72('0x39')]));var _0x1702a7=this[_0x2f72('0xf')]['exec'](_0x249fbf['application'],_0x249fbf[_0x2f72('0x7b')]);if(_0x1702a7[_0x2f72('0xa3')]===-0x1){return _0x1702a7;}return this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')]('Executed\x20command\x20%s\x20%s',_0x249fbf[_0x2f72('0xc3')],_0x249fbf['options']));};AGIVertices[_0x2f72('0x12')][_0x2f72('0xc4')]=function(_0x3365b5){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0xc5'),_0x3365b5[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x3365b5['text'])){return this['channel'][_0x2f72('0xaa')](_0x2f72('0xc6'));}var _0x376478='\x22'+_0x3365b5['text']+'\x22';if(this[_0x2f72('0x86')](_0x3365b5[_0x2f72('0x7b')])){_0x376478+=','+_0x3365b5[_0x2f72('0x7b')];}var _0x4ad452=this[_0x2f72('0xf')][_0x2f72('0x59')](_0x2f72('0xc7'),_0x376478);if(_0x4ad452[_0x2f72('0xa3')]===-0x1){return _0x4ad452;}return this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0xab'),_0x376478));};AGIVertices['prototype'][_0x2f72('0xc8')]=function(_0x3d2a83){logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('Enter\x20in\x20SESTEKTTS\x20(%s)\x20block',_0x3d2a83['label']));if(!this[_0x2f72('0x86')](_0x3d2a83[_0x2f72('0x5e')])){return this['channel'][_0x2f72('0xaa')](_0x2f72('0xc6'));}var _0x20ca35='\x22'+_0x3d2a83['text']+'\x22';if(this[_0x2f72('0x86')](_0x3d2a83[_0x2f72('0x7b')])){_0x20ca35+=','+_0x3d2a83[_0x2f72('0x7b')];}var _0x419a1a=this[_0x2f72('0xf')][_0x2f72('0x59')]('MRCPSynth',_0x20ca35);if(_0x419a1a[_0x2f72('0xa3')]===-0x1){return _0x419a1a;}return this['channel']['noop'](util['format'](_0x2f72('0xab'),_0x20ca35));};AGIVertices[_0x2f72('0x12')][_0x2f72('0xc9')]=function(_0x37f412){logger[_0x2f72('0x30')](util['format'](_0x2f72('0xca'),_0x37f412[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x37f412[_0x2f72('0xaf')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')]('no\x20grammar\x20configured');}var _0x175218=_0x37f412[_0x2f72('0xaf')];if(this[_0x2f72('0x86')](_0x37f412['options'])){_0x175218+=','+_0x37f412['options'];}var _0x3f20c0=this[_0x2f72('0xf')][_0x2f72('0x59')](_0x2f72('0xb0'),_0x175218);if(_0x3f20c0[_0x2f72('0xa3')]===-0x1){return _0x3f20c0;}var _0x1db0ea=this['getAndSetVariable']('RECOG_CONFIDENCE()','LUMENVOX_ASR_CONFIDENCE');if(_0x1db0ea[_0x2f72('0xa3')]===-0x1){return _0x1db0ea;}var _0x3f364e=this['getAndSetVariable'](_0x2f72('0xcb'),_0x2f72('0xcc'));if(_0x3f364e[_0x2f72('0xa3')]===-0x1){return _0x3f364e;}var _0x3a470d=this[_0x2f72('0xa2')](_0x2f72('0xb4'),_0x2f72('0xcd'));if(_0x3a470d[_0x2f72('0xa3')]===-0x1){return _0x3a470d;}return this[_0x2f72('0xf')][_0x2f72('0xaa')](util['format']('Executed\x20command\x20MRCPRecog\x20%s',_0x175218));};AGIVertices[_0x2f72('0x12')][_0x2f72('0xce')]=function(_0x19f083){logger[_0x2f72('0x30')](util['format'](_0x2f72('0xcf'),_0x19f083[_0x2f72('0x39')]));if(!this['isConfigured'](_0x19f083[_0x2f72('0xaf')])){return this[_0x2f72('0xf')]['noop']('no\x20grammar\x20configured');}var _0x253f45=_0x19f083['grammar'];if(this[_0x2f72('0x86')](_0x19f083['options'])){_0x253f45+=','+_0x19f083[_0x2f72('0x7b')];}var _0x51c321=this[_0x2f72('0xf')][_0x2f72('0x59')](_0x2f72('0xb0'),_0x253f45);if(_0x51c321[_0x2f72('0xa3')]===-0x1){return _0x51c321;}var _0x44a1ef=this['getAndSetVariable'](_0x2f72('0xb1'),'SESTEK_ASR_CONFIDENCE');if(_0x44a1ef[_0x2f72('0xa3')]===-0x1){return _0x44a1ef;}var _0x1da467=this[_0x2f72('0xa2')]('RECOG_INPUT()',_0x2f72('0xd0'));if(_0x1da467[_0x2f72('0xa3')]===-0x1){return _0x1da467;}var _0x191d2a=this[_0x2f72('0xa2')](_0x2f72('0xb4'),_0x2f72('0xd1'));if(_0x191d2a['result']===-0x1){return _0x191d2a;}return this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0xb5'),_0x253f45));};AGIVertices[_0x2f72('0x12')][_0x2f72('0xd2')]=function(_0xf12e39){logger['info'](util[_0x2f72('0x56')](_0x2f72('0xd3'),_0xf12e39[_0x2f72('0x39')]));if(!this['isConfigured'](_0xf12e39[_0x2f72('0xd4')])){return this['channel'][_0x2f72('0x2e')](_0xf12e39,_0x2f72('0xd5'));}var _0x342dd0=this['getSquareOdbc'][_0x2f72('0x75')](this,_0xf12e39[_0x2f72('0xd4')]);if(!_0x342dd0){return this[_0x2f72('0xf')]['error'](_0xf12e39,'no\x20odbc\x20database\x20found');}if(!this[_0x2f72('0x86')](_0xf12e39[_0x2f72('0x31')])){return this[_0x2f72('0xf')]['error'](_0xf12e39,_0x2f72('0xd6'));}var _0x46dc37=_0xf12e39[_0x2f72('0x31')][_0x2f72('0xd7')](/(\r\n|\n|\r)/gm,'\x20');this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')]('query:\x20%s',_0x46dc37));var _0x5507ee=this[_0x2f72('0x2c')][_0x2f72('0x75')](this,_0x342dd0,_0x46dc37);this[_0x2f72('0x37')][_0x2f72('0x75')](this,_0xf12e39,_0x46dc37);if(!this[_0x2f72('0x86')](_0xf12e39[_0x2f72('0xd8')])){return this[_0x2f72('0xf')]['noop'](_0x2f72('0xd9'));}var _0x3070e0=this['getVariable'][_0x2f72('0x75')](this,_0xf12e39['variable_id']);if(!_0x3070e0){return this[_0x2f72('0xf')]['error'](_0xf12e39,'no\x20variable\x20found');}var _0x26f770=this;_0x5507ee['forEach'](function(_0x156170,_0x566c2f){Object['keys'](_0x156170)[_0x2f72('0xda')](function(_0x2f3300){_0x26f770[_0x2f72('0xf')][_0x2f72('0x9f')](util[_0x2f72('0x56')]('%s[%s][%s]',_0x3070e0,_0x566c2f,_0x2f3300),_0x156170[_0x2f3300]);});});this['channel'][_0x2f72('0x9f')](util[_0x2f72('0x56')](_0x2f72('0xdb'),_0x3070e0),_0x5507ee[_0x2f72('0x9e')]);return this[_0x2f72('0xf')]['noop'](util[_0x2f72('0x56')](_0x2f72('0xdc'),_0x3070e0));};AGIVertices['prototype'][_0x2f72('0xdd')]=function(_0x7f8100){logger[_0x2f72('0xde')](util[_0x2f72('0x56')](_0x2f72('0xdf'),_0x7f8100[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x7f8100[_0x2f72('0xe0')])){return this[_0x2f72('0xf')]['error'](_0x7f8100,_0x2f72('0xe1'));}var _0xb694b8=this[_0x2f72('0x1d')][_0x2f72('0x75')](this,_0x7f8100[_0x2f72('0xe0')]);if(!_0xb694b8){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x7f8100,_0x2f72('0xe2'));}var _0x5cc633=this[_0x2f72('0xf')]['exec'](_0x2f72('0xe3'),[util[_0x2f72('0x56')](_0x2f72('0xe4'),_0xb694b8),_0x7f8100[_0x2f72('0x69')],_0x7f8100[_0x2f72('0xe5')],_0x7f8100[_0x2f72('0x67')]]);if(_0x5cc633['result']===-0x1){return _0x5cc633;}return this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')]('Executed\x20command\x20%s',_0x2f72('0xe3')));};AGIVertices['prototype'][_0x2f72('0xe6')]=function(_0x1286f7){logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block',_0x1286f7[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x1286f7['key'])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0xe7'));}if(!this[_0x2f72('0x86')](_0x1286f7[_0x2f72('0x5e')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')]('no\x20text\x20configured');}this[_0x2f72('0xf')]['bot']=!![];this[_0x2f72('0x37')](_0x1286f7);this[_0x2f72('0x42')](_0x1286f7[_0x2f72('0x5e')],'in','','');this['channel']['noop'](util['format'](_0x2f72('0xe8'),_0x1286f7['text']));var _0xf965b=this[_0x2f72('0x7c')][_0x2f72('0x75')](this,_0x1286f7);if(_0xf965b){for(var _0x5c2341 in _0xf965b){if(_0xf965b['hasOwnProperty'](_0x5c2341)){this[_0x2f72('0xf')][_0x2f72('0x9f')](util['format'](_0x2f72('0xe9'),_0x5c2341[_0x2f72('0x6d')]()),_0xf965b[_0x5c2341]);}}this['createSquareMessage'](_0xf965b[_0x2f72('0xea')],_0x2f72('0xeb'),'dialogflow','');return this[_0x2f72('0xf')]['noop'](util[_0x2f72('0x56')](_0x2f72('0xec'),_0xf965b[_0x2f72('0xea')]));}return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x1286f7,_0x2f72('0xed'));};AGIVertices[_0x2f72('0x12')]['dialogflowV2']=function(_0x4e877b){logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block',_0x4e877b[_0x2f72('0x39')]));if(!this['isConfigured'](_0x4e877b[_0x2f72('0xee')])){return this['channel'][_0x2f72('0xaa')](_0x2f72('0xef'));}if(!this[_0x2f72('0x86')](_0x4e877b[_0x2f72('0xf0')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0xf1'));}if(!this[_0x2f72('0x86')](_0x4e877b[_0x2f72('0x80')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0xf2'));}if(!this[_0x2f72('0x86')](_0x4e877b[_0x2f72('0x81')])){return this[_0x2f72('0xf')]['noop'](_0x2f72('0xf3'));}if(!this[_0x2f72('0x86')](_0x4e877b[_0x2f72('0x5e')])){return this['channel']['noop'](_0x2f72('0xc6'));}this[_0x2f72('0xf')][_0x2f72('0xf4')]=!![];this[_0x2f72('0x37')](_0x4e877b);this[_0x2f72('0x42')](_0x4e877b[_0x2f72('0x5e')],'in','','');this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')]('Trying\x20DialogflowV2:\x20%s',_0x4e877b['text']));var _0x25de30=this[_0x2f72('0x7f')]['sync'](this,_0x4e877b);if(_0x25de30){for(var _0x52ad10 in _0x25de30){if(_0x25de30[_0x2f72('0x96')](_0x52ad10)){if(_0x52ad10!==_0x2f72('0xf5')){this[_0x2f72('0xf')][_0x2f72('0x9f')](util[_0x2f72('0x56')](_0x2f72('0xe9'),_0x52ad10[_0x2f72('0x6d')]()),_0x25de30[_0x52ad10]);}}}this[_0x2f72('0x42')](_0x25de30['speech'],_0x2f72('0xeb'),_0x2f72('0xf6'),_0x25de30[_0x2f72('0xf5')]);return this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0xf7'),_0x25de30[_0x2f72('0xea')]));}return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x4e877b,_0x2f72('0xf8'));};AGIVertices[_0x2f72('0x12')][_0x2f72('0xf9')]=function(_0x125f4e){logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('Enter\x20in\x20SESTEKNDA\x20(%s)\x20block',_0x125f4e[_0x2f72('0x39')]));if(!this['isConfigured'](_0x125f4e['ndauth_url'])){return this[_0x2f72('0xf')]['noop'](_0x2f72('0xfa'));}if(!this['isConfigured'](_0x125f4e[_0x2f72('0xfb')])){return this['channel']['noop']('no\x20username\x20configured');}if(!this[_0x2f72('0x86')](_0x125f4e[_0x2f72('0xfc')])){return this['channel'][_0x2f72('0xaa')]('no\x20password\x20configured');}if(!this[_0x2f72('0x86')](_0x125f4e[_0x2f72('0xfd')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')]('no\x20text\x20configured');}this[_0x2f72('0xf')][_0x2f72('0xf4')]=!![];this['createSquareDetailsReport'](_0x125f4e);this[_0x2f72('0x42')](_0x125f4e[_0x2f72('0x5e')],'in','','');this['channel'][_0x2f72('0xaa')](util['format'](_0x2f72('0xfe'),_0x125f4e[_0x2f72('0x5e')]));var _0x273515=this['sestekNDA'][_0x2f72('0x75')](this,_0x125f4e);if(_0x273515){for(var _0x388474 in _0x273515){if(_0x273515[_0x2f72('0x96')](_0x388474)){this['channel'][_0x2f72('0x9f')](util[_0x2f72('0x56')](_0x2f72('0xff'),_0x388474[_0x2f72('0x6d')]()),_0x273515[_0x388474]);}}this[_0x2f72('0x42')](_0x273515[_0x2f72('0xea')],_0x2f72('0xeb'),'sesteknda','');if(_0x273515[_0x2f72('0x100')]){this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x101'),_0x273515[_0x2f72('0x100')]));var _0x465f80=this[_0x2f72('0xf')]['streamFile'](_0x273515[_0x2f72('0x100')]);try{fs['unlink'](_0x273515[_0x2f72('0x100')]+_0x2f72('0x102'));}catch(_0x4a5a1f){logger['error'](_0x4a5a1f);}return _0x465f80;}else{return this[_0x2f72('0xf')][_0x2f72('0xaa')](util['format'](_0x2f72('0x103'),_0x273515[_0x2f72('0xea')]));}}return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x125f4e,'SestekNDA\x20is\x20unreachable');};AGIVertices['prototype'][_0x2f72('0x104')]=function(_0x48cad7){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x105'),_0x48cad7['label']));return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0x104'));};AGIVertices[_0x2f72('0x12')]['ext_dial']=function(_0x403410){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x106'),_0x403410['label']));var _0x836997='';if(_0x403410[_0x2f72('0x107')]){if(!this[_0x2f72('0x86')](_0x403410[_0x2f72('0x107')])){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x403410,_0x2f72('0x108'));}else{var _0x20af9d=parseInt(_0x403410[_0x2f72('0x107')],0xa);if(isNaN(_0x20af9d)){_0x836997=_0x403410[_0x2f72('0x107')];}else{_0x836997=this[_0x2f72('0x109')][_0x2f72('0x75')](this,_0x403410[_0x2f72('0x107')]);if(!_0x836997){return this[_0x2f72('0xf')]['error'](_0x403410,_0x2f72('0x10a'));}}}}else if(_0x403410[_0x2f72('0x10b')]){_0x836997=_0x403410[_0x2f72('0x10b')];}else{return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x403410,_0x2f72('0x108'));}var _0x20924b=this[_0x2f72('0xf')][_0x2f72('0x59')](_0x2f72('0xe3'),[util['format'](_0x2f72('0x10c'),_0x836997,_0x403410[_0x2f72('0xc1')]),_0x403410[_0x2f72('0x69')],_0x403410[_0x2f72('0xe5')],_0x403410[_0x2f72('0x67')]]);if(_0x20924b[_0x2f72('0xa3')]===-0x1){return _0x20924b;}return this[_0x2f72('0xf')][_0x2f72('0xaa')](util['format'](_0x2f72('0x10d'),_0x2f72('0xe3')));};AGIVertices['prototype'][_0x2f72('0x10e')]=function(_0x597737){logger['info'](util[_0x2f72('0x56')]('Enter\x20in\x20FINALLY\x20(%s)\x20block',_0x597737['label']));return this['channel'][_0x2f72('0xaa')](_0x2f72('0x10e'));};AGIVertices[_0x2f72('0x12')][_0x2f72('0xd')]=function(_0x40317a){logger['info'](util[_0x2f72('0x56')](_0x2f72('0x10f'),_0x40317a[_0x2f72('0x39')]));if(_0x40317a[_0x2f72('0xa7')]===0x0){return this[_0x2f72('0xa6')](_0x40317a);}_0x40317a['retry']-=0x1;if(!this[_0x2f72('0x86')](_0x40317a[_0x2f72('0x110')])){return this['channel'][_0x2f72('0x2e')](_0x40317a,_0x2f72('0x111'));}var _0x63ab9e=this[_0x2f72('0x20')][_0x2f72('0x75')](this,_0x40317a['file_id']);if(!_0x63ab9e){return this[_0x2f72('0xf')]['error'](_0x40317a,_0x2f72('0x112'));}if(!this[_0x2f72('0x86')](_0x40317a[_0x2f72('0xd8')])){return this['channel'][_0x2f72('0x2e')](_0x2f72('0xd9'));}var _0x5d99b4=this['channel'][_0x2f72('0x113')](_0x63ab9e,_0x40317a[_0x2f72('0x114')],_0x40317a['maxdigit']);var _0x33a799=_0x5d99b4['result']?_0x5d99b4[_0x2f72('0xa3')][_0x2f72('0x4d')]():'';logger[_0x2f72('0x30')](_0x2f72('0x115'),JSON['stringify'](_0x5d99b4));if(_0x5d99b4[_0x2f72('0xa3')]===-0x1){this[_0x2f72('0x37')][_0x2f72('0x75')](this,_0x40317a,_0x33a799);return _0x5d99b4;}else if(_0x5d99b4['extra']===_0x2f72('0x69')){_0x5d99b4[_0x2f72('0xa3')]=_0x33a799['length']>=parseInt(_0x40317a[_0x2f72('0x116')])?'x':'i';}else{_0x5d99b4[_0x2f72('0xa3')]=_0x33a799[_0x2f72('0x9e')]>=parseInt(_0x40317a[_0x2f72('0x116')])&&_0x33a799[_0x2f72('0x9e')]<=parseInt(_0x40317a['maxdigit'])?'x':'i';}var _0x208347=this[_0x2f72('0x13')][_0x2f72('0x75')](this,_0x40317a['variable_id']);if(!_0x208347){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x40317a,_0x2f72('0x117'));}this[_0x2f72('0xf')]['setVariable'](_0x208347,_0x33a799);if(this['isConfigured'](_0x40317a[_0x2f72('0x118')])){var _0x3578eb=parseInt(_0x40317a[_0x2f72('0x118')],0xa);var _0x201cb6=rs[_0x2f72('0x119')]({'charset':'*','length':_0x3578eb});var _0x19f38d=_0x33a799[_0x2f72('0x9e')];if(_0x19f38d>0x0){if(_0x19f38d>_0x3578eb){this[_0x2f72('0x37')][_0x2f72('0x75')](this,_0x40317a,_0x40317a[_0x2f72('0x11a')]===_0x2f72('0x11b')?_0x201cb6+_0x33a799[_0x2f72('0x11c')](_0x3578eb):_0x33a799[_0x2f72('0x11c')](0x0,_0x19f38d-_0x3578eb)+_0x201cb6);}else{this[_0x2f72('0x37')][_0x2f72('0x75')](this,_0x40317a,rs[_0x2f72('0x119')]({'charset':'*','length':_0x19f38d}));}}else{this[_0x2f72('0x37')][_0x2f72('0x75')](this,_0x40317a,'');}}else{this['createSquareDetailsReport'][_0x2f72('0x75')](this,_0x40317a,_0x33a799);}return _0x5d99b4;};AGIVertices[_0x2f72('0x12')][_0x2f72('0xe')]=function(_0x41d185){logger['info'](util[_0x2f72('0x56')](_0x2f72('0x11d'),_0x41d185['label']));return this['getdigits'](_0x41d185);};AGIVertices[_0x2f72('0x12')][_0x2f72('0x11e')]=function(_0x168187){logger[_0x2f72('0x30')](util['format']('Enter\x20in\x20GOAL\x20(%s)\x20block',_0x168187['label']));this[_0x2f72('0x37')][_0x2f72('0x75')](this,_0x168187,_0x168187['goalname']);return this[_0x2f72('0xf')]['noop'](util[_0x2f72('0x56')](_0x2f72('0x11f'),_0x168187[_0x2f72('0x120')]));};AGIVertices['prototype']['awspolly']=function(_0x53ecca){logger['info'](util['format'](_0x2f72('0x121'),_0x53ecca[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x53ecca['aws_access_key_id'])||!this[_0x2f72('0x86')](_0x53ecca[_0x2f72('0x8d')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0x122'));}if(!this[_0x2f72('0x86')](_0x53ecca[_0x2f72('0x5e')])){return this[_0x2f72('0xf')]['noop'](_0x2f72('0xc6'));}this[_0x2f72('0xf')]['noop'](util['format']('Trying\x20aws\x20Polly\x20%s',_0x53ecca[_0x2f72('0x5e')]));var _0x4ad543=this[_0x2f72('0x88')]['sync'](this,_0x53ecca);if(_0x4ad543){this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x123'),_0x4ad543));var _0x50ef75=this['channel'][_0x2f72('0x124')](_0x4ad543);try{fs[_0x2f72('0x125')](_0x4ad543+_0x2f72('0x102'));}catch(_0x202d29){logger[_0x2f72('0x2e')](_0x202d29);}return _0x50ef75;}return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x53ecca,_0x2f72('0x126'));};AGIVertices[_0x2f72('0x12')]['awslex']=function(_0x487b61){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x127'),_0x487b61['label']));if(!this[_0x2f72('0x86')](_0x487b61[_0x2f72('0x8c')])||!this['isConfigured'](_0x487b61['aws_secret_access_key'])){return this[_0x2f72('0xf')]['noop'](_0x2f72('0x122'));}if(!this['isConfigured'](_0x487b61['aws_bot_name'])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0x128'));}if(!this[_0x2f72('0x86')](_0x487b61[_0x2f72('0x5e')])){return this[_0x2f72('0xf')]['noop']('no\x20text\x20configured');}this['channel'][_0x2f72('0xf4')]=!![];this[_0x2f72('0x37')](_0x487b61);this[_0x2f72('0x42')](_0x487b61['text'],'in','','');this['channel'][_0x2f72('0xaa')](util['format'](_0x2f72('0x129'),_0x487b61[_0x2f72('0x5e')]));var _0x53a35e=this[_0x2f72('0x8b')][_0x2f72('0x75')](this,_0x487b61);if(_0x53a35e){for(var _0x1418fa in _0x53a35e){if(_0x53a35e['hasOwnProperty'](_0x1418fa)&&_[_0x2f72('0x97')](_0x53a35e[_0x1418fa])){this['channel'][_0x2f72('0x9f')](util[_0x2f72('0x56')]('AWS_LEX_%s',_0x1418fa[_0x2f72('0x6d')]()),_0x53a35e[_0x1418fa]);}}if(_['isNil'](_0x53a35e['message'])){return this[_0x2f72('0xf')][_0x2f72('0xaa')]('Amazon\x20Lex\x20ready\x20for\x20fulfillment');}else{this[_0x2f72('0x42')](_0x53a35e['message'],'out',_0x2f72('0x12a'),'');return this['channel'][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x12b'),_0x53a35e[_0x2f72('0x12c')]));}}return this['channel'][_0x2f72('0x2e')](_0x487b61,'Amazon\x20Lex\x20is\x20unreachable');};AGIVertices['prototype'][_0x2f72('0x12d')]=function(_0x427066){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x12e'),_0x427066[_0x2f72('0x39')],_0x427066[_0x2f72('0x69')]));if(!this[_0x2f72('0x86')](_0x427066[_0x2f72('0x7d')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0xe7'));}var _0x59d80c=_0x2f72('0x12f');var _0x38eda2=util[_0x2f72('0x56')](_0x2f72('0x130'),FILES_PATH,rs['generate'](0x4));var _0x1e1160=util[_0x2f72('0x56')](_0x2f72('0x9d'),_0x38eda2,_0x59d80c);var _0x5e9cd1=!![];if(_0x427066[_0x2f72('0x131')]==='NOBEEP'){_0x5e9cd1=![];}var _0x5e401b=this[_0x2f72('0xf')][_0x2f72('0x132')](_0x38eda2,_0x59d80c,_0x427066[_0x2f72('0x133')],_0x427066[_0x2f72('0x69')],undefined,_0x5e9cd1);if(_0x5e401b[_0x2f72('0xa3')]!==-0x1){this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x134'),_0x1e1160));var _0x37009c=this[_0x2f72('0x90')][_0x2f72('0x75')](this,_0x427066,_0x1e1160);if(_0x37009c){for(var _0x142c47 in _0x37009c){if(_0x37009c[_0x2f72('0x96')](_0x142c47)){this['channel'][_0x2f72('0x9f')](util[_0x2f72('0x56')](_0x2f72('0x135'),_0x142c47[_0x2f72('0x6d')]()),_0x37009c[_0x142c47]);}}return this[_0x2f72('0xf')]['noop'](util[_0x2f72('0x56')]('GoogleASR\x20Result\x20%s',JSON[_0x2f72('0x78')](_0x37009c)));}}return _0x5e401b;};AGIVertices[_0x2f72('0x12')][_0x2f72('0x136')]=function(_0x4b81df){logger[_0x2f72('0x30')](util['format']('Enter\x20in\x20TILDEASR\x20(%s)\x20block',_0x4b81df[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x4b81df[_0x2f72('0x93')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')]('no\x20appid\x20configured');}if(!this[_0x2f72('0x86')](_0x4b81df[_0x2f72('0x137')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0x138'));}var _0x1d0d40=_0x2f72('0x12f');var _0x4b2edb=util['format'](_0x2f72('0x130'),FILES_PATH,rs['generate'](0x4));var _0x35f4be=util['format']('%s.%s',_0x4b2edb,_0x1d0d40);var _0x25b07c=!![];if(_0x4b81df[_0x2f72('0x131')]===_0x2f72('0x139')){_0x25b07c=![];}var _0x32d020=this[_0x2f72('0xf')][_0x2f72('0x132')](_0x4b2edb,_0x1d0d40,_0x4b81df[_0x2f72('0x133')],_0x4b81df[_0x2f72('0x69')],undefined,_0x25b07c);if(_0x32d020['result']!==-0x1){this['channel']['noop'](util[_0x2f72('0x56')](_0x2f72('0x13a'),_0x35f4be));var _0x4c90f9=this[_0x2f72('0x92')][_0x2f72('0x75')](this,_0x4b81df,_0x35f4be);if(_0x4c90f9){for(var _0x499b32 in _0x4c90f9){if(_0x4c90f9['hasOwnProperty'](_0x499b32)){this[_0x2f72('0xf')]['setVariable'](util[_0x2f72('0x56')](_0x2f72('0x13b'),_0x499b32['toUpperCase']()),_0x4c90f9[_0x499b32]);}}return this['channel']['noop'](util[_0x2f72('0x56')](_0x2f72('0x13c'),JSON[_0x2f72('0x78')](_0x4c90f9)));}}return _0x32d020;};AGIVertices[_0x2f72('0x12')][_0x2f72('0x13d')]=function(_0x54131e){logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('Enter\x20in\x20GOTO\x20(%s)\x20block',_0x54131e[_0x2f72('0x39')]));return this['channel'][_0x2f72('0x13e')](_0x54131e[_0x2f72('0x3d')],_0x54131e['extension'],_0x54131e[_0x2f72('0x3f')]);};AGIVertices[_0x2f72('0x12')][_0x2f72('0x13f')]=function(_0xab2fdf){logger[_0x2f72('0x30')](util['format']('Enter\x20in\x20GOTOIF\x20(%s)\x20block',_0xab2fdf[_0x2f72('0x39')]));if(!this['isConfigured'](_0xab2fdf[_0x2f72('0x140')])){return this['channel'][_0x2f72('0x2e')](_0xab2fdf,_0x2f72('0x141'));}try{var _0x3ca100=eval(_0xab2fdf[_0x2f72('0x140')])?_0x2f72('0x142'):_0x2f72('0x143');this[_0x2f72('0xf')][_0x2f72('0xaa')](util['format'](_0x2f72('0x144'),_0xab2fdf[_0x2f72('0x140')],_0x3ca100));return{'code':0xc8,'result':_0x3ca100};}catch(_0x2f1ee9){return{'code':0xc8,'result':_0x2f72('0x143')};}};AGIVertices[_0x2f72('0x12')][_0x2f72('0x145')]=function(_0x274a62){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x146'),_0x274a62[_0x2f72('0x39')]));if(!this['isConfigured'](_0x274a62['interval_id'])){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x274a62,'no\x20interval\x20configured');}var _0x17a622=this['getIntervals']['sync'](this,_0x274a62[_0x2f72('0x147')]);if(!_0x17a622){return this['channel'][_0x2f72('0x2e')](_0x274a62,'no\x20intervals\x20found');}for(var _0x2a4a55=0x0;_0x2a4a55<_0x17a622[_0x2f72('0x9e')];_0x2a4a55+=0x1){var _0x4e172f=this[_0x2f72('0xf')][_0x2f72('0x13')](util[_0x2f72('0x56')](_0x2f72('0x148'),_0x17a622[_0x2a4a55]));if(_0x4e172f['result']===-0x1){return _0x4e172f;}logger[_0x2f72('0x30')](util['format'](_0x2f72('0x149'),_0x17a622[_0x2a4a55],_0x4e172f[_0x2f72('0xa5')]));if(_0x4e172f[_0x2f72('0xa5')]===_0x2f72('0x142')){logger[_0x2f72('0x30')](util['format'](_0x2f72('0x149'),_0x17a622[_0x2a4a55],_0x2f72('0x142')));this[_0x2f72('0xf')]['noop'](util[_0x2f72('0x56')](_0x2f72('0x149'),_0x17a622[_0x2a4a55],'true'));return{'code':0xc8,'result':'true'};}else{logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('IFTIME\x20%s\x20%s',_0x17a622[_0x2a4a55],_0x2f72('0x143')));this['channel'][_0x2f72('0xaa')](util[_0x2f72('0x56')]('IFTIME\x20%s\x20%s',_0x17a622[_0x2a4a55],_0x2f72('0x143')));}}return{'code':0xc8,'result':_0x2f72('0x143')};};AGIVertices[_0x2f72('0x12')][_0x2f72('0x14a')]=function(_0x11a321){logger['info'](util[_0x2f72('0x56')]('Enter\x20in\x20HANGUP\x20(%s)\x20block',_0x11a321['label']));return this[_0x2f72('0xf')][_0x2f72('0x14a')]();};AGIVertices[_0x2f72('0x12')][_0x2f72('0x14b')]=function(_0x45ef01){logger['info'](util[_0x2f72('0x56')]('Enter\x20in\x20ISPEECHASR\x20(%s)\x20block',_0x45ef01[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x45ef01[_0x2f72('0x7d')])){return this['channel'][_0x2f72('0xaa')](_0x2f72('0xe7'));}var _0x419240=_0x2f72('0x12f');var _0x55cd64=util[_0x2f72('0x56')](_0x2f72('0x130'),FILES_PATH,rs[_0x2f72('0x119')](0x4));var _0x11f90d=util[_0x2f72('0x56')]('%s.%s',_0x55cd64,_0x419240);var _0xb38bb7=!![];if(_0x45ef01[_0x2f72('0x131')]===_0x2f72('0x139')){_0xb38bb7=![];}var _0x575fa7=this[_0x2f72('0xf')][_0x2f72('0x132')](_0x55cd64,_0x419240,_0x45ef01[_0x2f72('0x133')],_0x45ef01[_0x2f72('0x69')],undefined,_0xb38bb7);if(_0x575fa7[_0x2f72('0xa3')]!==-0x1){this[_0x2f72('0xf')][_0x2f72('0xaa')](util['format'](_0x2f72('0x14c'),_0x11f90d));var _0xc6c65d=this[_0x2f72('0x84')][_0x2f72('0x75')](this,_0x45ef01,_0x11f90d);if(_0xc6c65d){for(var _0x20c93a in _0xc6c65d){if(_0xc6c65d[_0x2f72('0x96')](_0x20c93a)){this[_0x2f72('0xf')][_0x2f72('0x9f')](util['format']('ISPEECH_ASR_%s',_0x20c93a[_0x2f72('0x6d')]()),_0xc6c65d[_0x20c93a]);}}return this[_0x2f72('0xf')][_0x2f72('0xaa')](util['format']('IspeechASR\x20Result\x20%s',JSON['stringify'](_0xc6c65d)));}}return _0x575fa7;};AGIVertices[_0x2f72('0x12')]['ispeechtts']=function(_0x2b6fd6){logger['info'](util[_0x2f72('0x56')](_0x2f72('0x14d'),_0x2b6fd6['label']));if(!this[_0x2f72('0x86')](_0x2b6fd6[_0x2f72('0x7d')])){return this['channel'][_0x2f72('0xaa')]('no\x20key\x20configured');}if(!this[_0x2f72('0x86')](_0x2b6fd6[_0x2f72('0x5e')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0xc6'));}this['channel'][_0x2f72('0xaa')](util['format']('Trying\x20ispeech\x20TTS\x20%s',_0x2b6fd6[_0x2f72('0x5e')]));var _0x41b70a=this[_0x2f72('0x14e')][_0x2f72('0x75')](this,_0x2b6fd6);if(_0x41b70a){this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')]('ispeech\x20%s\x20file\x20created',_0x41b70a));var _0x3e3677=this[_0x2f72('0xf')]['streamFile'](_0x41b70a,_0x2b6fd6[_0x2f72('0x133')]);try{fs[_0x2f72('0x125')](_0x41b70a+_0x2f72('0x102'));}catch(_0x1358a7){logger[_0x2f72('0x2e')](_0x1358a7);}return _0x3e3677;}return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x2b6fd6,_0x2f72('0x14f'));};AGIVertices[_0x2f72('0x12')]['login']=function(_0x2d0603){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x150'),_0x2d0603[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x2d0603['findBy'])){return this[_0x2f72('0xf')]['error'](_0x2d0603,'no\x20find\x20by\x20configured');}logger[_0x2f72('0x30')](util['format'](_0x2f72('0x151'),this[_0x2f72('0xf')][_0x2f72('0x3b')],_0x2d0603['findBy']));var _0x4cc34a=this['agentLogin'][_0x2f72('0x75')](this,_0x2d0603['findBy']);if(_0x4cc34a){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x152'),this[_0x2f72('0xf')][_0x2f72('0x3b')],_0x2d0603['findBy']));this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x2f72('0xf')][_0x2f72('0x3b')],_0x2d0603[_0x2f72('0x153')]));return{'code':0xc8,'result':_0x2f72('0x154')};}else{logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x155'),this[_0x2f72('0xf')]['callerid'],_0x2d0603['findBy']));this[_0x2f72('0xf')][_0x2f72('0xaa')](util['format'](_0x2f72('0x155'),this[_0x2f72('0xf')][_0x2f72('0x3b')],_0x2d0603[_0x2f72('0x153')]));return{'code':0xc8,'result':_0x2f72('0x156')};}};AGIVertices['prototype'][_0x2f72('0x157')]=function(_0x4d79b7){logger['info'](util[_0x2f72('0x56')]('Enter\x20in\x20LOGOUT\x20(%s)\x20block',_0x4d79b7[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x4d79b7['findBy'])){return this[_0x2f72('0xf')]['error'](_0x4d79b7,'no\x20find\x20by\x20configured');}logger[_0x2f72('0x30')](util['format']('FIND\x20AGENT\x20%s\x20BY\x20%s',this[_0x2f72('0xf')][_0x2f72('0x3b')],_0x4d79b7['findBy']));var _0x114454=this[_0x2f72('0x53')]['sync'](this,_0x4d79b7[_0x2f72('0x153')]);if(_0x114454){logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x2f72('0xf')]['callerid'],_0x4d79b7['findBy']));this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x152'),this[_0x2f72('0xf')]['callerid'],_0x4d79b7[_0x2f72('0x153')]));return{'code':0xc8,'result':'success'};}else{logger['info'](util[_0x2f72('0x56')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x2f72('0xf')]['callerid'],_0x4d79b7['findBy']));this['channel'][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x155'),this['channel'][_0x2f72('0x3b')],_0x4d79b7[_0x2f72('0x153')]));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0x2f72('0x12')][_0x2f72('0x158')]=function(_0x9ce61a){logger[_0x2f72('0x30')](util['format']('Enter\x20in\x20MATH\x20(%s)\x20block',_0x9ce61a[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x9ce61a[_0x2f72('0x159')])){return this['channel']['error'](_0x9ce61a,_0x2f72('0x15a'));}this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x15b'),_0x9ce61a[_0x2f72('0x159')]));var _0x33c9d4=eval(_0x9ce61a[_0x2f72('0x159')]);if(!this[_0x2f72('0x86')](_0x9ce61a[_0x2f72('0xd8')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0xd9'));}var _0x560d16=this[_0x2f72('0x13')]['sync'](this,_0x9ce61a[_0x2f72('0xd8')]);if(!_0x560d16){return this['channel'][_0x2f72('0x2e')](_0x9ce61a,'no\x20variable\x20found');}if(_[_0x2f72('0x9a')](_0x33c9d4)){var _0x1b529d=this;_0x33c9d4[_0x2f72('0xda')](function(_0x248e35,_0x32eed6){_0x1b529d[_0x2f72('0xf')][_0x2f72('0x9f')](util['format'](_0x2f72('0x15c'),_0x560d16,_0x32eed6),_0x248e35);});return this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x15d'),_0x560d16));}else{return this[_0x2f72('0xf')][_0x2f72('0x9f')](_0x560d16,_0x33c9d4);}};AGIVertices[_0x2f72('0x12')][_0x2f72('0xc')]=function(_0x1b4a7f){logger['info'](util[_0x2f72('0x56')](_0x2f72('0x15e'),_0x1b4a7f['label']));if(_0x1b4a7f[_0x2f72('0xa7')]===0x0){return this[_0x2f72('0xa6')](_0x1b4a7f);}_0x1b4a7f[_0x2f72('0xa7')]-=0x1;if(!this[_0x2f72('0x86')](_0x1b4a7f[_0x2f72('0x110')])){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x1b4a7f,_0x2f72('0x111'));}var _0x6b30b9=this[_0x2f72('0x20')]['sync'](this,_0x1b4a7f[_0x2f72('0x110')]);if(!_0x6b30b9){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x1b4a7f,_0x2f72('0x112'));}var _0x1b3022=this['channel'][_0x2f72('0x113')](_0x6b30b9,_0x1b4a7f[_0x2f72('0x114')],_0x1b4a7f[_0x2f72('0x15f')]);var _0x50ee17=_0x1b3022[_0x2f72('0xa3')];if(_0x1b3022[_0x2f72('0xa3')]===-0x1){this[_0x2f72('0x37')][_0x2f72('0x75')](this,_0x1b4a7f,'-1');return _0x1b3022;}else if(_0x1b3022['extra']===_0x2f72('0x69')){_0x1b3022[_0x2f72('0xa3')]=_0x1b3022[_0x2f72('0xa3')][_0x2f72('0x9e')]>0x0?_0x1b3022[_0x2f72('0xa3')]:'t';}else if(_[_0x2f72('0x44')](_0x1b3022['result'])){_0x1b3022[_0x2f72('0xa3')]='#';_0x50ee17='#';}if(!this[_0x2f72('0x86')](_0x1b4a7f[_0x2f72('0xd8')])){this[_0x2f72('0xf')][_0x2f72('0xaa')]('no\x20variable\x20selected\x20for\x20the\x20result');}else{var _0x262240=this[_0x2f72('0x13')][_0x2f72('0x75')](this,_0x1b4a7f['variable_id']);if(!_0x262240){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x1b4a7f,_0x2f72('0x117'));}this[_0x2f72('0xf')]['setVariable'](_0x262240,_0x50ee17);}this[_0x2f72('0x37')][_0x2f72('0x75')](this,_0x1b4a7f,_0x50ee17);return _0x1b3022;};AGIVertices[_0x2f72('0x12')][_0x2f72('0xaa')]=function(_0x4fa00f){logger['info'](util[_0x2f72('0x56')](_0x2f72('0x160'),_0x4fa00f['label']));return this[_0x2f72('0xf')]['noop'](_0x4fa00f[_0x2f72('0x161')]||_0x4fa00f[_0x2f72('0x39')]);};AGIVertices[_0x2f72('0x12')]['pause']=function(_0x2ce63a){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x162'),_0x2ce63a[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x2ce63a['findBy'])){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x2ce63a,_0x2f72('0x163'));}logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this[_0x2f72('0xf')][_0x2f72('0x3b')],_0x2ce63a[_0x2f72('0x153')]));var _0x11238c=this[_0x2f72('0x4f')][_0x2f72('0x75')](this,_0x2ce63a[_0x2f72('0x164')]);var _0x47001c=this[_0x2f72('0x50')][_0x2f72('0x75')](this,_0x2ce63a[_0x2f72('0x153')],_0x11238c);if(_0x47001c){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x152'),this['channel'][_0x2f72('0x3b')],_0x2ce63a['findBy']));this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x152'),this[_0x2f72('0xf')][_0x2f72('0x3b')],_0x2ce63a[_0x2f72('0x153')]));return{'code':0xc8,'result':_0x2f72('0x154')};}else{logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x155'),this[_0x2f72('0xf')][_0x2f72('0x3b')],_0x2ce63a['findBy']));this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x152'),this[_0x2f72('0xf')][_0x2f72('0x3b')],_0x2ce63a[_0x2f72('0x153')]));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0x2f72('0x12')][_0x2f72('0x165')]=function(_0x1efafc){logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('Enter\x20in\x20PLAYBACK\x20(%s)\x20block',_0x1efafc[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x1efafc[_0x2f72('0x110')])){return this['channel'][_0x2f72('0x2e')](_0x1efafc,_0x2f72('0x111'));}var _0x9b4778=this[_0x2f72('0x20')]['sync'](this,_0x1efafc['file_id']);if(!_0x9b4778){return this[_0x2f72('0xf')]['error'](_0x1efafc,_0x2f72('0x112'));}var _0x2e409b=this[_0x2f72('0xf')][_0x2f72('0x59')]('PLAYBACK',[_0x9b4778,_0x1efafc['opts']]);if(_0x2e409b[_0x2f72('0xa3')]===-0x1){return _0x2e409b;}return this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x166'),_0x2f72('0x167'),_0x9b4778));};AGIVertices[_0x2f72('0x12')]['queue']=function(_0x594571){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x168'),_0x594571[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x594571[_0x2f72('0x169')])){return this[_0x2f72('0xf')]['error'](_0x594571,_0x2f72('0x16a'));}var _0x18dae9='';var _0x4481a7=parseInt(_0x594571[_0x2f72('0x169')],0xa);if(isNaN(_0x4481a7)){_0x18dae9=_0x594571[_0x2f72('0x169')];}else{_0x18dae9=this['getVoiceQueue']['sync'](this,_0x594571[_0x2f72('0x169')]);if(!_0x18dae9){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x594571,'no\x20queue\x20found');}}var _0x4eee1d='';if(this[_0x2f72('0x86')](_0x594571[_0x2f72('0x110')])){var _0x492804=this[_0x2f72('0x20')][_0x2f72('0x75')](this,_0x594571['file_id']);if(_0x492804){_0x4eee1d=_0x492804;}}this['createSquareDetailsReport'][_0x2f72('0x75')](this,_0x594571,_0x18dae9);if(_0x594571[_0x2f72('0xe5')]['indexOf']('x')<0x0){_0x594571[_0x2f72('0xe5')]+='x';}if(_0x594571[_0x2f72('0xe5')]['indexOf']('X')<0x0){_0x594571[_0x2f72('0xe5')]+='X';}this[_0x2f72('0xf')][_0x2f72('0x9f')](_0x2f72('0x16b'),_0x18dae9?_0x18dae9[_0x2f72('0x16c')]():'');var _0x3b025a=this[_0x2f72('0xf')][_0x2f72('0x59')](_0x2f72('0x16d'),[_0x18dae9,_0x594571[_0x2f72('0xe5')],_0x594571['url'],_0x4eee1d,_0x594571[_0x2f72('0x69')],_0x594571[_0x2f72('0x8')],_0x594571[_0x2f72('0x16e')],_0x594571[_0x2f72('0x16f')],'',_0x594571[_0x2f72('0x170')]]);if(_0x3b025a[_0x2f72('0xa3')]===-0x1){return _0x3b025a;}return this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x166'),_0x2f72('0x16d'),_0x18dae9));};AGIVertices['prototype']['record']=function(_0x343e50){logger[_0x2f72('0x30')](util['format'](_0x2f72('0x171'),_0x343e50['label']));var _0x4518b3=_0x343e50[_0x2f72('0x172')]||_0x2f72('0x12f');var _0x10c328=util[_0x2f72('0x56')]('%s_%s',this['channel'][_0x2f72('0x38')],rs[_0x2f72('0x119')](0x5));var _0x9984a5=util[_0x2f72('0x56')]('%s/recordings/%s.%s',FILES_PATH,_0x10c328,_0x4518b3);var _0x5aa7a3=util[_0x2f72('0x56')](_0x2f72('0x130'),FILES_PATH,_0x10c328);this[_0x2f72('0x3c')][_0x2f72('0x75')](this,_0x343e50,_0x10c328,_0x9984a5);this[_0x2f72('0xf')][_0x2f72('0x9f')](_0x2f72('0x173'),_0x10c328);logger[_0x2f72('0x30')](_0x2f72('0x174'),_0x5aa7a3,_0x4518b3,_0x343e50[_0x2f72('0x175')],_0x343e50['timeout']);return this['channel'][_0x2f72('0x132')](_0x5aa7a3,_0x4518b3,_0x343e50[_0x2f72('0x175')],_0x343e50['timeout'],undefined,!![]);};AGIVertices[_0x2f72('0x12')][_0x2f72('0x176')]=function(_0x22daa9){logger['info'](util[_0x2f72('0x56')](_0x2f72('0x177'),_0x22daa9[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x22daa9['url'])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0x178'));}var _0x1bb1c4=this['restAPI']['sync'](this,_0x22daa9);logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x179'),util['inspect'](_0x1bb1c4,{'showHidden':![],'depth':null})));if(!this[_0x2f72('0x86')](_0x22daa9[_0x2f72('0xd8')])){return this[_0x2f72('0xf')]['noop'](_0x2f72('0x17a'));}var _0x22970d=this['getVariable'][_0x2f72('0x75')](this,_0x22daa9[_0x2f72('0xd8')]);if(!_0x22970d){return this['channel']['error'](_0x22daa9,_0x2f72('0x117'));}this[_0x2f72('0xf')][_0x2f72('0x9f')](util[_0x2f72('0x56')]('%s_STATUS_CODE',_0x22970d),_0x1bb1c4[_0x2f72('0x7a')]?_0x1bb1c4[_0x2f72('0x7a')]:'200');this[_0x2f72('0xf')][_0x2f72('0x9f')](util[_0x2f72('0x56')](_0x2f72('0x17b'),_0x22970d),_0x1bb1c4[_0x2f72('0x17c')]?_0x1bb1c4[_0x2f72('0x17c')]:'OK');if(_0x1bb1c4[_0x2f72('0x6e')]){try{this[_0x2f72('0x9b')](_0x1bb1c4[_0x2f72('0x6e')],_0x22970d);}catch(_0x348e44){logger[_0x2f72('0x2e')](util[_0x2f72('0x56')](_0x2f72('0x17d'),_0x22970d));}}return this['channel'][_0x2f72('0xaa')](util[_0x2f72('0x56')]('variable\x20%s\x20set',_0x22970d));};AGIVertices['prototype'][_0x2f72('0x17e')]=function(_0x245e84){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x17f'),_0x245e84['label']));return this['channel'][_0x2f72('0x180')](_0x245e84[_0x2f72('0x181')][_0x2f72('0xd7')](/\s+/g,''),_0x245e84[_0x2f72('0x175')]);};AGIVertices[_0x2f72('0x12')][_0x2f72('0x182')]=function(_0x56cfef){logger[_0x2f72('0x30')](util['format']('Enter\x20in\x20SAYNUMBER\x20(%s)\x20block',_0x56cfef[_0x2f72('0x39')]));return this[_0x2f72('0xf')][_0x2f72('0x183')](_0x56cfef[_0x2f72('0x6a')][_0x2f72('0xd7')](/\s+/g,''),_0x56cfef[_0x2f72('0x175')]);};AGIVertices[_0x2f72('0x12')][_0x2f72('0x184')]=function(_0x592445){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x185'),_0x592445['label']));return this[_0x2f72('0xf')]['sayPhonetic'](_0x592445[_0x2f72('0x5e')],_0x592445['escape_digits']);};AGIVertices[_0x2f72('0x12')][_0x2f72('0x186')]=function(_0x557aa2){logger['info'](util[_0x2f72('0x56')](_0x2f72('0x187'),_0x557aa2[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x557aa2[_0x2f72('0x188')])){return this['channel'][_0x2f72('0xaa')](_0x2f72('0x189'));}var _0x38d2a8=this[_0x2f72('0x18a')][_0x2f72('0x75')](this,_0x557aa2[_0x2f72('0x188')]);if(!_0x38d2a8||!_0x38d2a8[_0x2f72('0x18b')]){return this['channel'][_0x2f72('0x2e')](_0x557aa2,_0x2f72('0x18c'));}var _0x567261={'from':util[_0x2f72('0x56')]('\x22%s\x22\x20<%s>',_0x38d2a8[_0x2f72('0x16')],_0x38d2a8[_0x2f72('0x18d')]||_0x38d2a8[_0x2f72('0x18b')][_0x2f72('0x18e')]),'to':_0x557aa2['to']||'','cc':_0x557aa2['cc']||'','bcc':_0x557aa2['bcc']||'','subject':_0x557aa2[_0x2f72('0x18f')],'html':_0x557aa2['text'],'text':_0x557aa2[_0x2f72('0x5e')]};var _0x40db86={'tls':{'rejectUnauthorized':![]}};if(_0x38d2a8[_0x2f72('0x18b')]['service']){_0x40db86[_0x2f72('0x190')]=_0x38d2a8[_0x2f72('0x18b')][_0x2f72('0x190')];}else{_0x40db86[_0x2f72('0x191')]=_0x38d2a8[_0x2f72('0x18b')][_0x2f72('0x191')];_0x40db86[_0x2f72('0x192')]=_0x38d2a8[_0x2f72('0x18b')]['port'];_0x40db86[_0x2f72('0x193')]=_0x38d2a8[_0x2f72('0x18b')]['secure'];}if(_0x38d2a8['Smtp'][_0x2f72('0x194')]){_0x40db86[_0x2f72('0x195')]={'user':_0x38d2a8[_0x2f72('0x18b')][_0x2f72('0x18e')],'pass':_0x38d2a8[_0x2f72('0x18b')][_0x2f72('0x196')]};}if(this[_0x2f72('0x86')](_0x557aa2[_0x2f72('0x197')])){}logger['debug'](_0x2f72('0x198'),JSON['stringify'](_0x567261));this[_0x2f72('0x37')][_0x2f72('0x75')](this,_0x557aa2,_0x557aa2['account_id']);this['channel'][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x199'),_0x38d2a8['name']));this[_0x2f72('0x24')][_0x2f72('0x75')](this,_0x40db86,_0x567261);return this[_0x2f72('0xf')][_0x2f72('0xaa')]('Mail\x20message\x20added\x20to\x20outgoing\x20process');};AGIVertices[_0x2f72('0x12')][_0x2f72('0x19a')]=function(_0x485a12){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x19b'),_0x485a12[_0x2f72('0x39')]));return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0x19c'));};AGIVertices['prototype'][_0x2f72('0x19d')]=function(_0x44c3a2){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x19e'),_0x44c3a2['label']));if(!this[_0x2f72('0x86')](_0x44c3a2['sms_account_id'])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0x19f'));}var _0x48095e=this[_0x2f72('0x34')]['sync'](this,_0x44c3a2[_0x2f72('0x1a0')]);if(!_0x48095e){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x44c3a2,_0x2f72('0x1a1'));}var _0x21dc54={'body':_0x44c3a2[_0x2f72('0x1a2')],'phone':_0x44c3a2['to']||'','SmsAccountId':_0x48095e['id']};logger[_0x2f72('0xde')](_0x2f72('0x1a3'),JSON[_0x2f72('0x78')](_0x21dc54));this['createSquareDetailsReport']['sync'](this,_0x44c3a2,_0x44c3a2[_0x2f72('0x1a0')]);this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x1a4'),_0x48095e['name']));this[_0x2f72('0x36')][_0x2f72('0x75')](this,_0x21dc54);return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0x1a5'));};AGIVertices['prototype'][_0x2f72('0x1a6')]=function(_0x4a1151){logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('Enter\x20in\x20SET\x20(%s)\x20block',_0x4a1151[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x4a1151['variable_id'])){return this['channel'][_0x2f72('0x2e')](_0x4a1151,_0x2f72('0x1a7'));}var _0x12455b=this['getVariable']['sync'](this,_0x4a1151[_0x2f72('0xd8')]);if(!_0x12455b){return this[_0x2f72('0xf')]['error'](_0x4a1151,_0x2f72('0x117'));}return this[_0x2f72('0xf')][_0x2f72('0x9f')](_0x12455b,_0x4a1151['variable_value']);};AGIVertices[_0x2f72('0x12')][_0x2f72('0x1a8')]=function(_0x21e1e8){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x1a9'),_0x21e1e8[_0x2f72('0x39')]));this['channel']['noop']('START\x20CALLY\x20SQUARE');if(_0x21e1e8['answer']===_0x2f72('0x1aa')){this['channel'][_0x2f72('0xaa')](_0x2f72('0x1ab'));return this[_0x2f72('0xf')][_0x2f72('0xb9')]();}return this[_0x2f72('0xf')]['noop'](_0x2f72('0x1ac'));};AGIVertices['prototype'][_0x2f72('0x1ad')]=function(_0x507bb8){logger[_0x2f72('0x30')](util[_0x2f72('0x56')]('Enter\x20in\x20SUBPROJECT\x20(%s)\x20block',_0x507bb8[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x507bb8['project_id'])){return this['channel'][_0x2f72('0x2e')](_0x507bb8,_0x2f72('0x1ae'));}var _0x1f122a=this[_0x2f72('0x18')]['sync'](this,_0x507bb8[_0x2f72('0x1af')]);if(!this[_0x2f72('0x86')](_0x1f122a)){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x507bb8,util[_0x2f72('0x56')]('no\x20subproject\x20found\x20with\x20id\x20%d',_0x507bb8[_0x2f72('0x1af')]));}if(_0x1f122a===this[_0x2f72('0xf')][_0x2f72('0x41')]){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x507bb8,_0x2f72('0x1b0'));}this['createSquareDetailsReport'][_0x2f72('0x75')](this,_0x507bb8,_0x1f122a);var _0x20445d=this['channel'][_0x2f72('0x59')](_0x2f72('0x1b1'),util[_0x2f72('0x56')](_0x2f72('0x1b2'),config[_0x2f72('0x8')][_0x2f72('0x191')]||'127.0.0.1',_0x1f122a,this[_0x2f72('0xf')][_0x2f72('0x41')]));if(_0x20445d[_0x2f72('0xa3')]===-0x1){return _0x20445d;}return this['channel']['noop'](util[_0x2f72('0x56')]('Executed\x20command\x20%s\x20%s',_0x2f72('0x1b1'),_0x1f122a));};AGIVertices[_0x2f72('0x12')][_0x2f72('0x1b3')]=function(_0x160527){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x1b4'),_0x160527['label']));var _0x58cb30=this[_0x2f72('0x58')][_0x2f72('0x75')](this,_0x160527[_0x2f72('0xb7')]);this[_0x2f72('0x37')][_0x2f72('0x75')](this,_0x160527,_0x160527[_0x2f72('0xb7')]);if(this[_0x2f72('0x86')](_0x160527[_0x2f72('0xd8')])){var _0x580aa4=this[_0x2f72('0x13')][_0x2f72('0x75')](this,_0x160527['variable_id']);if(_0x580aa4){this[_0x2f72('0xf')]['setVariable'](_0x580aa4,_0x58cb30);return this[_0x2f72('0xf')]['noop'](util[_0x2f72('0x56')](_0x2f72('0x1b5'),_0x160527[_0x2f72('0xb7')],_0x580aa4));}}return this['channel'][_0x2f72('0xaa')](util['format'](_0x2f72('0x1b6'),_0x160527[_0x2f72('0xb7')]));};AGIVertices[_0x2f72('0x12')][_0x2f72('0x1b7')]=function(_0x2134f4){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x1b8'),_0x2134f4[_0x2f72('0x39')]));_0x2134f4[_0x2f72('0x5e')]=_0x2134f4['text']['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x2f72('0x86')](_0x2134f4[_0x2f72('0x5c')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')]('no\x20apiKey\x20configured');}if(!this[_0x2f72('0x86')](_0x2134f4[_0x2f72('0x5e')])){return this[_0x2f72('0xf')][_0x2f72('0xaa')](_0x2f72('0xc6'));}this[_0x2f72('0xf')]['noop'](util[_0x2f72('0x56')](_0x2f72('0x1b9'),_0x2134f4[_0x2f72('0x5e')]));var _0x321747=this['googleCloudTTS'][_0x2f72('0x75')](this,_0x2134f4);if(_0x321747){this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x1ba'),_0x321747));var _0x56cce6=this[_0x2f72('0xf')][_0x2f72('0x124')](_0x321747);try{fs[_0x2f72('0x125')](_0x321747+'.wav');}catch(_0x150d5a){logger[_0x2f72('0x2e')](_0x150d5a);}return _0x56cce6;}return this[_0x2f72('0xf')]['error'](_0x2134f4,'Google\x20Cloud\x20TTS\x20is\x20unreachable');};AGIVertices['prototype'][_0x2f72('0x1bb')]=function(_0x4602e8){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x1bc'),_0x4602e8['label']));_0x4602e8[_0x2f72('0x5e')]=_0x4602e8[_0x2f72('0x5e')][_0x2f72('0xd7')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x2f72('0x86')](_0x4602e8[_0x2f72('0x5e')])){return this['channel'][_0x2f72('0xaa')](_0x2f72('0xc6'));}this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')]('Trying\x20Google\x20TTS\x20%s',_0x4602e8[_0x2f72('0x5e')]));var _0x506296=this[_0x2f72('0x64')][_0x2f72('0x75')](this,_0x4602e8);if(_0x506296){this[_0x2f72('0xf')]['noop'](util['format'](_0x2f72('0x1bd'),_0x506296));var _0x5b2c7c=this['channel'][_0x2f72('0x124')](_0x506296);try{fs['unlink'](_0x506296+'.wav');}catch(_0x2c3334){logger[_0x2f72('0x2e')](_0x2c3334);}return _0x5b2c7c;}return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x4602e8,_0x2f72('0x1be'));};AGIVertices[_0x2f72('0x12')][_0x2f72('0x1bf')]=function(_0x5b4da3){logger[_0x2f72('0x30')](util['format'](_0x2f72('0x1c0'),_0x5b4da3[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x5b4da3[_0x2f72('0x153')])){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x5b4da3,_0x2f72('0x163'));}logger['info'](util[_0x2f72('0x56')](_0x2f72('0x151'),this[_0x2f72('0xf')]['callerid'],_0x5b4da3['findBy']));var _0x1a6a0a=this[_0x2f72('0x52')]['sync'](this,_0x5b4da3[_0x2f72('0x153')]);if(_0x1a6a0a){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x152'),this[_0x2f72('0xf')][_0x2f72('0x3b')],_0x5b4da3[_0x2f72('0x153')]));this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')]('AGENT\x20%s\x20FOUND\x20BY',this['channel'][_0x2f72('0x3b')],_0x5b4da3[_0x2f72('0x153')]));return{'code':0xc8,'result':'success'};}else{logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x155'),this['channel']['callerid'],_0x5b4da3['findBy']));this[_0x2f72('0xf')][_0x2f72('0xaa')](util['format']('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x2f72('0xf')][_0x2f72('0x3b')],_0x5b4da3[_0x2f72('0x153')]));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0x2f72('0x12')][_0x2f72('0x1c1')]=function(_0x5109ac){logger['info'](util[_0x2f72('0x56')](_0x2f72('0x1c2'),_0x5109ac['label']));var _0x4df286=this[_0x2f72('0xf')][_0x2f72('0x59')]('VOICEMAIL',[_0x5109ac['mailbox'],_0x5109ac['options']]);if(_0x4df286[_0x2f72('0xa3')]===-0x1){return _0x4df286;}return this[_0x2f72('0xf')][_0x2f72('0xaa')](util[_0x2f72('0x56')](_0x2f72('0x166'),_0x2f72('0x1c3'),_0x5109ac['mailbox']));};AGIVertices['prototype'][_0x2f72('0x1c4')]=function(_0x3c1fe3){logger[_0x2f72('0x30')](util[_0x2f72('0x56')](_0x2f72('0x1c5'),_0x3c1fe3[_0x2f72('0x39')]));if(!this[_0x2f72('0x86')](_0x3c1fe3[_0x2f72('0xd8')])){return this[_0x2f72('0xf')][_0x2f72('0x2e')](_0x3c1fe3,_0x2f72('0x1a7'));}var _0x27b250=this[_0x2f72('0x13')][_0x2f72('0x75')](this,_0x3c1fe3[_0x2f72('0xd8')]);if(!_0x27b250){return this['channel'][_0x2f72('0x2e')](_0x3c1fe3,'no\x20variable\x20found');}var _0x2d6474=this[_0x2f72('0xf')]['getVariable'](_0x27b250);return{'code':0xc8,'result':_0x2d6474[_0x2f72('0xa5')]?_0x2d6474[_0x2f72('0xa5')]:'-'};};String['prototype'][_0x2f72('0x1c6')]=function(_0x1c450d,_0x3a39ae){return this[_0x2f72('0xa1')](_0x1c450d)[_0x2f72('0x1c7')](_0x3a39ae);};module['exports']=AGIVertices;
\ No newline at end of file
+var _0x8daf=['An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','statusMessage','body','statusCode','message','options','googleDialogflow','googleDialogflowV2','dialogflowV2_project_id','private_key','dialogflowV2_language','sestekNDA','ispeechTTS','key','ispeech_tts_language','en-US','speed','isConfigured','model','aws_access_key_id','aws_secret_access_key','aws_polly_region','aws_polly_voice','awsLex','aws_bot_name','googleASR','google_asr_language','tildeASR','appid','appsecret','clear','includes','agicommand','clone','hasOwnProperty','isString','replaceObjectAllVariables','replaceAllVariables','recursiveNodeIndex','isPlainObject','length','saveRestApiResult','%s.%s','isArray','split','extra','getAndSetVariable','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','setVariable','maxRetry','noop','no\x20text\x20configured','MRCPSynth','result','mrcprecog','Enter\x20in\x20MRCPRecog\x20(%s)\x20block','grammar','no\x20grammar\x20configured','RECOG_CONFIDENCE()','MRCP_RECOG_CONFIDENCE','RECOG_INPUT()','RECOG_INSTANCE()','MRCP_RECOG_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','Enter\x20in\x20AGI\x20(%s)\x20block','command','args','answer','Enter\x20in\x20ANSWER\x20(%s)\x20block','Wait\x20%s\x20seconds\x20before\x20answer','wait','delay','add','minutes','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','application','lumenvoxtts','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','Executed\x20command\x20MRCPSynth\x20%s','sestektts','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','lumenvoxasr','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','MRCPRecog','LUMENVOX_ASR_CONFIDENCE','LUMENVOX_ASR_TRANSCRIPT','LUMENVOX_ASR_INSTANCE','sestekasr','Enter\x20in\x20SESTEKASR\x20(%s)\x20block','SESTEK_ASR_CONFIDENCE','SESTEK_ASR_TRANSCRIPT','SESTEK_ASR_INSTANCE','database','Enter\x20in\x20DATABASE\x20(%s)\x20block','odbc_id','no\x20database\x20selected','query','no\x20query\x20configured','query:\x20%s','no\x20variable\x20selected\x20for\x20the\x20result','variable_id','no\x20variable\x20found','forEach','keys','%s[%s][%s]','%s_ROWS_COUNT','variable\x20%s\x20set','dial','debug','Enter\x20in\x20DIAL\x20(%s)\x20block','sip_id','no\x20user\x20selected','no\x20user\x20found','SIP/%s','opts','Executed\x20command\x20%s','DIAL','dialogflow','Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block','no\x20key\x20configured','bot','DIALOGFLOW_%s','speech','out','Dialogflow\x20Result\x20%s','Dialogflow\x20is\x20unreachable','dialogflowV2','no\x20project_id\x20configured','client_email','no\x20client_email\x20configured','providerResponse','DialogflowV2\x20is\x20unreachable','sesteknda','ndauth_url','no\x20ndauth\x20url\x20configured','password','no\x20password\x20configured','SESTEK_NDA_%s','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','streamFile','unlink','.wav','SestekNDA\x20Result\x20%s','SestekNDA\x20is\x20unreachable','Enter\x20in\x20END\x20(%s)\x20block','end','no\x20trunk\x20selected','trunk_id','getTrunk','no\x20trunk\x20found','trunk_name','SIP/%s/%s','finally','Enter\x20in\x20FINALLY\x20(%s)\x20block','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','retry','file_id','getSound','maxdigit','mindigit','hiddendigitsnum','hiddendigitspos','first','substr','generate','getsecretdigits','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','goal','Enter\x20in\x20GOAL\x20(%s)\x20block','goalname','GOAL\x20%s','awspolly','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','no\x20valid\x20credentials\x20configured','Trying\x20aws\x20Polly\x20%s','awsPolly','aws\x20Polly\x20%s\x20file\x20created','aws\x20Polly\x20is\x20unreachable','awslex','no\x20bot\x20name\x20configured','AWS_LEX_%s','Amazon\x20Lex\x20ready\x20for\x20fulfillment','Amazon\x20Lex\x20Result\x20%s','Amazon\x20Lex\x20is\x20unreachable','googleasr','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','wav','%s/recordings/%s','NOBEEP','recordFile','intKey','GOOGLE_ASR_%s','GoogleASR\x20Result\x20%s','tildeasr','Enter\x20in\x20TILDEASR\x20(%s)\x20block','no\x20appsecret\x20configured','beep','TILDE_ASR_%s','TildeASR\x20Result\x20%s','Enter\x20in\x20GOTO\x20(%s)\x20block','gotoif','Enter\x20in\x20GOTOIF\x20(%s)\x20block','condition','no\x20condition\x20configured','false','EVAL\x20CONDITION\x20%s\x20%s','gotoiftime','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','no\x20interval\x20configured','interval_id','no\x20intervals\x20found','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','true','hangup','Enter\x20in\x20HANGUP\x20(%s)\x20block','ispeechasr','Enter\x20in\x20ISPEECHASR\x20(%s)\x20block','ispeech\x20%s\x20file\x20created','ispeechASR','ISPEECH_ASR_%s','ispeechtts','ispeech\x20TTS\x20is\x20unreachable','findBy','no\x20find\x20by\x20configured','FIND\x20AGENT\x20%s\x20BY\x20%s','AGENT\x20%s\x20FOUND\x20BY','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','Enter\x20in\x20LOGOUT\x20(%s)\x20block','math','Enter\x20in\x20MATH\x20(%s)\x20block','operation','no\x20operation\x20configured','math\x20%s','%s[%s]','variable\x20%s[key]\x20set','menu','no\x20file\x20audio\x20found','getData','response','digit','output','pause','pause_id','playback','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','no\x20file\x20audio\x20selected','PLAYBACK','Executed\x20command\x20%s\x20%s','Enter\x20in\x20QUEUE\x20(%s)\x20block','no\x20queue\x20selected','queue_id','no\x20queue\x20found','indexOf','XMCS-QUEUE','macro','gosub','QUEUE','record','Enter\x20in\x20RECORD\x20(%s)\x20block','%s_%s','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','restapi','Enter\x20in\x20RESTAPI\x20(%s)\x20block','no\x20url\x20configured','restAPI','Response:','inspect','no\x20variable\x20selected\x20for\x20the\x20response','%s_STATUS_CODE','200','%s_STATUS_MESSAGE','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','sayDigits','digits','saynumber','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayNumber','sayPhonetic','sendMail','account_id','Smtp','no\x20mail\x20account\x20found','\x22%s\x22\x20<%s>','user','bcc','service','host','port','secure','authentication','pass','template_id','sendMail\x20message','Trying\x20SendMail\x20with\x20account\x20%s','Mail\x20message\x20added\x20to\x20outgoing\x20process','Enter\x20in\x20SENDFAX\x20(%s)\x20block','SENDFAX\x20block\x20not\x20implemented','Enter\x20in\x20SENDSMS\x20(%s)\x20block','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','Enter\x20in\x20SET\x20(%s)\x20block','no\x20variable\x20selected','variable_value','start','START\x20CALLY\x20SQUARE','yes','Answer','subproject','Enter\x20in\x20SUBPROJECT\x20(%s)\x20block','project_id','127.0.0.1','AGI','system','Enter\x20in\x20SYSTEM\x20(%s)\x20block','shellCommand','sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s','sh\x20command:\x20%s\x20result\x20no\x20stored','google_cloud_tts','Trying\x20Google\x20Cloud\x20TTS\x20%s','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','Google\x20Cloud\x20TTS\x20is\x20unreachable','tts','Trying\x20Google\x20TTS\x20%s','Google\x20TTS\x20%s\x20file\x20created','unpause','voicemail','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','mailbox','vswitch','Enter\x20in\x20SWITCH\x20(%s)\x20block','replaceAll','exports','odbc','randomstring','mustache','request-promise','../../config/logger','agi','../../config/environment','./scripts','/var/opt/motion2/server/files','rawHeaders','rawBody','getdigits','channel','rpc','mailRpc','prototype','getVariable','then','name','catch','getVoiceQueueById','getSquareProject','getSquareProjectById','getSquareOdbc','getSquareOdbcById','getUser','getUserById','getTrunkById','getSoundById','getSoundPath','getMailAccount','getMailAccountById','sendMailMessage','getIntervals','getIntervalById','IntervalId','interval','map','Intervals','%s/sounds/converted/%s','getQueryOdbc','open','error','Error\x20getting\x20ODBC\x20connection\x20%s','info','ODBC\x20connection\x20successfully','Query\x20executed\x20correctly\x20%s','close','Error\x20closing\x20connection\x20to\x20odbc\x20%s','getSmsAccount','getSmsAccountById','createSquareDetailsReport','label','arg_1','callerid','createSquareRecording','uniqueid','calleridname','context','extension','priority','accountcode','dnid','file','createSquareMessage','createCmContact','callback_','random','isEmpty','lastName','phone','list_id','scheduledAt','callback','Callback\x20scheduled\x20at\x20','toString','callback_priority','getPause','getPauseById','agentPause','agentUnpause','agent','isNil','agentLogout','agentLogin','internal','format','exec','trim','replace','googleCloudTTS','apiKey','google_cloud_tts_text_type','text','languageCode','MP3','googleTTS','google_tts_language','url','timeout','number','PUT','toUpperCase','parse','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','headers','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','computedVariables','sync','uri','render','stringify'];(function(_0xdd57d2,_0x437799){var _0x426d85=function(_0x172b9c){while(--_0x172b9c){_0xdd57d2['push'](_0xdd57d2['shift']());}};_0x426d85(++_0x437799);}(_0x8daf,0x15c));var _0xf8da=function(_0x3a0631,_0x2d8a7e){_0x3a0631=_0x3a0631-0x0;var _0x44bdf0=_0x8daf[_0x3a0631];return _0x44bdf0;};'use strict';var fs=require('fs');var path=require('path');var util=require('util');var _=require('lodash');var sh=require('shelljs');var odbc=require(_0xf8da('0x0'))();var rs=require(_0xf8da('0x1'));var moment=require('moment');var Mustache=require(_0xf8da('0x2'));var rp=require(_0xf8da('0x3'));var logger=require(_0xf8da('0x4'))(_0xf8da('0x5'));var config=require(_0xf8da('0x6'));var scripts=require(_0xf8da('0x7'));var FILES_PATH=_0xf8da('0x8');var recursiveMapAttributes=[_0xf8da('0x9'),_0xf8da('0xa')];var verticesWithRetry=['menu',_0xf8da('0xb'),'getsecretdigits'];var AGIVertices=function(_0xdf28ac,_0x527863,_0x5059a1){this[_0xf8da('0xc')]=_0xdf28ac;this[_0xf8da('0xd')]=_0x527863;this[_0xf8da('0xe')]=_0x5059a1;};AGIVertices[_0xf8da('0xf')][_0xf8da('0x10')]=function(_0x398410,_0xdcb4dd){this[_0xf8da('0xd')]['getVariableById'](_0x398410)[_0xf8da('0x11')](function(_0x381b27){_0xdcb4dd(null,_0x381b27?_0x381b27[_0xf8da('0x12')]:![]);})[_0xf8da('0x13')](function(_0x5cd714){_0xdcb4dd(_0x5cd714);});};AGIVertices[_0xf8da('0xf')]['getVoiceQueue']=function(_0xed96b0,_0x1a93ab){this[_0xf8da('0xd')][_0xf8da('0x14')](_0xed96b0)[_0xf8da('0x11')](function(_0x4cbfec){_0x1a93ab(null,_0x4cbfec?_0x4cbfec[_0xf8da('0x12')]:![]);})[_0xf8da('0x13')](function(_0x36cee8){_0x1a93ab(_0x36cee8);});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x15')]=function(_0x41257e,_0x17eb8d){this['rpc'][_0xf8da('0x16')](_0x41257e)['then'](function(_0x5dc9db){_0x17eb8d(null,_0x5dc9db?_0x5dc9db[_0xf8da('0x12')]:![]);})[_0xf8da('0x13')](function(_0x59b28e){_0x17eb8d(_0x59b28e);});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x17')]=function(_0x30e1,_0x73afe5){this[_0xf8da('0xd')][_0xf8da('0x18')](_0x30e1)[_0xf8da('0x11')](function(_0xfe5c73){_0x73afe5(null,_0xfe5c73?_0xfe5c73['dsn']:![]);})[_0xf8da('0x13')](function(_0x22adc7){_0x73afe5(_0x22adc7);});};AGIVertices['prototype'][_0xf8da('0x19')]=function(_0x5361e7,_0x4ca909){this['rpc'][_0xf8da('0x1a')](_0x5361e7)[_0xf8da('0x11')](function(_0x2255b8){_0x4ca909(null,_0x2255b8?_0x2255b8[_0xf8da('0x12')]:![]);})['catch'](function(_0x4f7ceb){_0x4ca909(_0x4f7ceb);});};AGIVertices['prototype']['getTrunk']=function(_0x2d6dc2,_0x2b513e){this[_0xf8da('0xd')][_0xf8da('0x1b')](_0x2d6dc2)['then'](function(_0x1270d2){_0x2b513e(null,_0x1270d2?_0x1270d2[_0xf8da('0x12')]:![]);})[_0xf8da('0x13')](function(_0x550590){_0x2b513e(_0x550590);});};AGIVertices[_0xf8da('0xf')]['getSound']=function(_0x2c0866,_0xfe65c0){var _0x1e6a45=this;this[_0xf8da('0xd')][_0xf8da('0x1c')](_0x2c0866)[_0xf8da('0x11')](function(_0x35544b){_0xfe65c0(null,_0x35544b?_0x1e6a45[_0xf8da('0x1d')](_0x35544b['save_name']):![]);})[_0xf8da('0x13')](function(_0x552ed3){_0xfe65c0(_0x552ed3);});};AGIVertices['prototype'][_0xf8da('0x1e')]=function(_0x1aa03a,_0x16d7e9){this[_0xf8da('0xd')][_0xf8da('0x1f')](_0x1aa03a)['then'](function(_0x2778fa){_0x16d7e9(null,_0x2778fa?_0x2778fa:![]);})['catch'](function(_0x56ea88){_0x16d7e9(_0x56ea88);});};AGIVertices['prototype']['sendMailMessage']=function(_0x4ee897,_0xd1818a,_0x5459d8){this[_0xf8da('0xe')][_0xf8da('0x20')](_0x4ee897,_0xd1818a)[_0xf8da('0x11')](function(){_0x5459d8(null);})['catch'](function(_0x506aab){_0x5459d8(_0x506aab);});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x21')]=function(_0x3c9aa5,_0x150e83){this[_0xf8da('0xd')][_0xf8da('0x22')](_0x3c9aa5)['then'](function(_0x112788){if(_0x112788){if(_0x112788[_0xf8da('0x23')]){_0x150e83(null,[_0x112788[_0xf8da('0x24')]]);}else{_0x150e83(null,_[_0xf8da('0x25')](_0x112788[_0xf8da('0x26')],_0xf8da('0x24')));}}else{_0x150e83(null,![]);}})['catch'](function(_0xcb6420){_0x150e83(_0xcb6420);});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x1d')]=function(_0xb6d25a){return util['format'](_0xf8da('0x27'),FILES_PATH,_0xb6d25a);};AGIVertices['prototype'][_0xf8da('0x28')]=function(_0x5eafd0,_0x1b7e55,_0x4fdddb){odbc[_0xf8da('0x29')](_0x5eafd0,function(_0x374025){if(_0x374025){logger[_0xf8da('0x2a')](_0xf8da('0x2b'),_0x374025);_0x4fdddb(_0x374025);}else{logger[_0xf8da('0x2c')](_0xf8da('0x2d'));odbc['query'](_0x1b7e55,function(_0x274153,_0xc2c159){if(_0x274153){logger[_0xf8da('0x2c')]('Error\x20executing\x20query\x20%s',_0x1b7e55);_0x4fdddb(_0x274153);}else{logger[_0xf8da('0x2c')](_0xf8da('0x2e'),_0x1b7e55);odbc[_0xf8da('0x2f')](function(_0x4a8c7e){if(_0x4a8c7e){logger[_0xf8da('0x2a')](_0xf8da('0x30'),_0x4a8c7e);}_0x4fdddb(null,_0xc2c159);});}});}});};AGIVertices['prototype'][_0xf8da('0x31')]=function(_0x3507a6,_0x27bc77){this['rpc'][_0xf8da('0x32')](_0x3507a6)[_0xf8da('0x11')](function(_0x2e873b){_0x27bc77(null,_0x2e873b?_0x2e873b:![]);})[_0xf8da('0x13')](function(_0x45abe2){_0x27bc77(_0x45abe2);});};AGIVertices[_0xf8da('0xf')]['createSmsMessage']=function(_0x352172,_0x69000f){this['rpc']['createSmsMessage'](_0x352172)[_0xf8da('0x11')](function(_0x32bc20){_0x69000f(null,_0x32bc20);})[_0xf8da('0x13')](function(_0x72f494){_0x69000f(_0x72f494);});};AGIVertices['prototype'][_0xf8da('0x33')]=function(_0x2807f9,_0x46d5b8,_0x2fd0db){this['rpc']['createSquareDetailsReport']({'uniqueid':this[_0xf8da('0xc')]['uniqueid'],'node':_0x2807f9[_0xf8da('0x34')],'application':_0x2807f9['agicommand'],'data':_0x46d5b8||null,'project_name':this[_0xf8da('0xc')][_0xf8da('0x35')],'callerid':this[_0xf8da('0xc')][_0xf8da('0x36')]})[_0xf8da('0x11')](function(_0x1af141){if(_0x2fd0db){_0x2fd0db(null,_0x1af141);}})[_0xf8da('0x13')](function(_0x483c1f){if(_0x2fd0db){_0x2fd0db(_0x483c1f);}});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x37')]=function(_0x4eb02e,_0x3925da,_0x22c2d8,_0x515776){this[_0xf8da('0xd')][_0xf8da('0x37')]({'uniqueid':this[_0xf8da('0xc')][_0xf8da('0x38')],'callerid':this[_0xf8da('0xc')]['callerid'],'calleridname':this['channel'][_0xf8da('0x39')],'context':this['channel'][_0xf8da('0x3a')],'extension':this['channel'][_0xf8da('0x3b')],'priority':this[_0xf8da('0xc')][_0xf8da('0x3c')],'accountcode':this[_0xf8da('0xc')][_0xf8da('0x3d')],'dnid':this[_0xf8da('0xc')][_0xf8da('0x3e')],'projectName':this[_0xf8da('0xc')]['arg_1'],'saveName':_0x3925da,'filename':_0x4eb02e[_0xf8da('0x3f')]||_0x3925da,'savePath':_0x22c2d8})[_0xf8da('0x11')](function(_0x4c0e6c){_0x515776(null,_0x4c0e6c);})[_0xf8da('0x13')](function(_0x26c13d){_0x515776(_0x26c13d);});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x40')]=function(_0x2d0976,_0x523dae,_0x569a74,_0x5a9801,_0x58e32d){this[_0xf8da('0xd')][_0xf8da('0x40')]({'uniqueid':this['channel']['uniqueid'],'body':_0x2d0976,'direction':_0x523dae,'providerName':_0x569a74,'providerResponse':_0x5a9801})[_0xf8da('0x11')](function(_0x2274c3){if(_0x58e32d){_0x58e32d(null,_0x2274c3);}})[_0xf8da('0x13')](function(_0x35f920){if(_0x58e32d){_0x58e32d(_0x35f920);}});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x41')]=function(_0x2780fe,_0x1b31bf){this[_0xf8da('0xd')]['createCmContact']({'firstName':_['isEmpty'](_0x2780fe['name'])||_['isNil'](_0x2780fe[_0xf8da('0x12')])?_0xf8da('0x42')+Math[_0xf8da('0x43')]():_0x2780fe[_0xf8da('0x12')],'lastName':_[_0xf8da('0x44')](_0x2780fe['lastName'])||_['isNil'](_0x2780fe[_0xf8da('0x45')])?null:_0x2780fe[_0xf8da('0x45')],'phone':_0x2780fe[_0xf8da('0x46')],'ListId':_0x2780fe[_0xf8da('0x47')],'scheduledat':_0x2780fe[_0xf8da('0x48')],'callbackUniqueid':this['channel'][_0xf8da('0x38')],'tags':_0xf8da('0x49'),'description':_0xf8da('0x4a')+_0x2780fe[_0xf8da('0x48')][_0xf8da('0x4b')](),'priority':_0x2780fe[_0xf8da('0x4c')]})[_0xf8da('0x11')](function(_0x413a50){_0x1b31bf(null,_0x413a50);})[_0xf8da('0x13')](function(_0x35d666){_0x1b31bf(_0x35d666);});};AGIVertices['prototype'][_0xf8da('0x4d')]=function(_0xa7b60a,_0x5aa8b3){this['rpc'][_0xf8da('0x4e')](_0xa7b60a)['then'](function(_0x5c6236){_0x5aa8b3(null,_0x5c6236?_0x5c6236[_0xf8da('0x12')]:![]);})[_0xf8da('0x13')](function(_0x2a5b1b){_0x5aa8b3(_0x2a5b1b);});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x4f')]=function(_0x525d74,_0x2da398,_0x470fbc){var _0x5071e6={'role':'agent'};_0x5071e6[_0x525d74]=this[_0xf8da('0xc')][_0xf8da('0x36')];this[_0xf8da('0xd')][_0xf8da('0x4f')](_0x5071e6,_0x2da398,this[_0xf8da('0xc')][_0xf8da('0x38')])['then'](function(_0x3c06fb){_0x470fbc(null,_['isNil'](_0x3c06fb)?![]:!![]);})['catch'](function(_0x5ca43e){logger[_0xf8da('0x2a')](_0x5ca43e);_0x470fbc(null,![]);});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x50')]=function(_0xa6599c,_0x108474){var _0x1a58b3={'role':_0xf8da('0x51')};_0x1a58b3[_0xa6599c]=this['channel'][_0xf8da('0x36')];this[_0xf8da('0xd')]['agentUnpause'](_0x1a58b3)['then'](function(_0x46b66f){_0x108474(null,_[_0xf8da('0x52')](_0x46b66f)?![]:!![]);})[_0xf8da('0x13')](function(_0x3af438){logger[_0xf8da('0x2a')](_0x3af438);_0x108474(null,![]);});};AGIVertices[_0xf8da('0xf')]['agentLogout']=function(_0x19300d,_0x5012f9){var _0x267586={'role':_0xf8da('0x51')};_0x267586[_0x19300d]=this[_0xf8da('0xc')][_0xf8da('0x36')];this[_0xf8da('0xd')][_0xf8da('0x53')](_0x267586)[_0xf8da('0x11')](function(_0x4ad9d0){_0x5012f9(null,_['isNil'](_0x4ad9d0)?![]:!![]);})[_0xf8da('0x13')](function(_0x3953c9){logger[_0xf8da('0x2a')](_0x3953c9);_0x5012f9(null,![]);});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x54')]=function(_0x46f838,_0x361921){var _0x1a3439={'role':_0xf8da('0x51')};_0x1a3439[_0x46f838]=this[_0xf8da('0xc')][_0xf8da('0x36')];var _0x57bbae=_0x46f838!=_0xf8da('0x55')?util[_0xf8da('0x56')]('%s/%s@from-sip/n','LOCAL',this[_0xf8da('0xc')][_0xf8da('0x36')]):undefined;this[_0xf8da('0xd')]['agentLogin'](_0x1a3439,_0x57bbae)['then'](function(_0x2d173e){_0x361921(null,_[_0xf8da('0x52')](_0x2d173e)?![]:!![]);})['catch'](function(_0xd94bd1){logger['error'](_0xd94bd1);_0x361921(null,![]);});};AGIVertices[_0xf8da('0xf')]['shellCommand']=function(_0x3df92b,_0x503ac2){sh[_0xf8da('0x57')](_[_0xf8da('0x58')](_0x3df92b),function(_0x2489f5,_0x1c107d){var _0x11fdb3=_0x1c107d[_0xf8da('0x59')](/(\r\n|\n|\r)/gm,'');_0x503ac2(null,_0x11fdb3);});};AGIVertices[_0xf8da('0xf')]['googleCloudTTS']=function(_0x7ba011,_0x44dd31){scripts[_0xf8da('0x5a')](_0x7ba011[_0xf8da('0x5b')],_0x7ba011[_0xf8da('0x5c')]||_0xf8da('0x5d'),_0x7ba011[_0xf8da('0x5d')],_0x7ba011[_0xf8da('0x5e')]||'en-US',_0x7ba011['ssmlGender']||'MALE',_0x7ba011['audioEncoding']||_0xf8da('0x5f'))['then'](function(_0x102656){_0x44dd31(null,_0x102656);})['catch'](function(_0x15b18c){_0x44dd31(_0x15b18c);});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x60')]=function(_0x3742d8,_0x2d5632){scripts[_0xf8da('0x60')](_0x3742d8[_0xf8da('0x5d')],_0x3742d8[_0xf8da('0x61')]||'en',0x1)['then'](function(_0x148680){_0x2d5632(null,_0x148680);})[_0xf8da('0x13')](function(_0x54c43f){_0x2d5632(_0x54c43f);});};AGIVertices[_0xf8da('0xf')]['restAPI']=function(_0x51f1b6,_0x5a83bf){var _0x3f9982={'uri':_0x51f1b6[_0xf8da('0x62')],'method':_0x51f1b6['method'],'json':!![],'resolveWithFullResponse':!![],'strictSSL':![],'timeout':typeof parseInt(_0x51f1b6[_0xf8da('0x63')])===_0xf8da('0x64')&&parseInt(_0x51f1b6[_0xf8da('0x63')])>=0x1?parseInt(_0x51f1b6[_0xf8da('0x63')])*0x3e8:0x5*0x3e8};if(_['includes'](['POST',_0xf8da('0x65')],_0x3f9982['method'][_0xf8da('0x66')]())){try{_0x3f9982['body']=_0x51f1b6['rawBody']?JSON[_0xf8da('0x67')](_0x51f1b6['rawBody']):{};}catch(_0x3dbcbd){logger[_0xf8da('0x2a')](_0xf8da('0x68'),_0x3dbcbd);}}try{_0x3f9982[_0xf8da('0x69')]=_0x51f1b6[_0xf8da('0x9')]?JSON['parse'](_0x51f1b6['rawHeaders']):{};}catch(_0x5d36b7){logger[_0xf8da('0x2a')](_0xf8da('0x6a'),_0x5d36b7);}if(_0x51f1b6[_0xf8da('0x6b')]){try{var _0x1bd8a1=require(_0x51f1b6[_0xf8da('0x6b')])[_0xf8da('0x6c')](this,_0x3f9982);_0x3f9982[_0xf8da('0x6d')]=Mustache[_0xf8da('0x6e')](_0x51f1b6['url'],_0x1bd8a1,{},['$$','$$']);if(_0x3f9982['headers']){_0x3f9982[_0xf8da('0x69')]=JSON[_0xf8da('0x67')](Mustache[_0xf8da('0x6e')](JSON[_0xf8da('0x6f')](_0x3f9982['headers']),_0x1bd8a1,{},['$$','$$']));}if(_0x3f9982['body']){_0x3f9982['body']=JSON[_0xf8da('0x67')](Mustache['render'](JSON[_0xf8da('0x6f')](_0x3f9982['body']),_0x1bd8a1,{},['$$','$$']));}}catch(_0xbd25fa){logger['error'](_0xf8da('0x70'),_0xbd25fa);}}rp(_0x3f9982)[_0xf8da('0x11')](function(_0x5e0fed){var _0x27b0bb={'statusCode':_0x5e0fed['statusCode']||0xc8,'statusMessage':_0x5e0fed[_0xf8da('0x71')]||'OK','headers':_0x5e0fed['headers']||{},'body':_0x5e0fed[_0xf8da('0x72')]||{}};_0x5a83bf(null,_0x27b0bb);})[_0xf8da('0x13')](function(_0x572c6a){var _0x46b7b7={'statusCode':_0x572c6a[_0xf8da('0x73')]||0x1f4,'statusMessage':_0x572c6a[_0xf8da('0x74')]||'500\x20-\x20Internal\x20Server\x20Error','headers':_0x572c6a['options'][_0xf8da('0x69')]||{},'body':_0x572c6a[_0xf8da('0x75')][_0xf8da('0x72')]||{}};_0x5a83bf(null,_0x46b7b7);});};AGIVertices[_0xf8da('0xf')]['googleDialogflow']=function(_0x5b260a,_0x31cda1){scripts[_0xf8da('0x76')](this[_0xf8da('0xc')][_0xf8da('0x38')],_0x5b260a['key'],_0x5b260a[_0xf8da('0x5d')],_0x5b260a['dialogflow_language']||'en')[_0xf8da('0x11')](function(_0x63725e){_0x31cda1(null,_0x63725e);})[_0xf8da('0x13')](function(_0x5b7440){_0x31cda1(_0x5b7440);});};AGIVertices[_0xf8da('0xf')]['googleDialogflowV2']=function(_0x2abdc3,_0x34f6cf){scripts[_0xf8da('0x77')](this[_0xf8da('0xc')][_0xf8da('0x38')],_0x2abdc3[_0xf8da('0x78')],_0x2abdc3['client_email'],_0x2abdc3[_0xf8da('0x79')],_0x2abdc3[_0xf8da('0x5d')],_0x2abdc3[_0xf8da('0x7a')]||'en')[_0xf8da('0x11')](function(_0x45a66c){_0x34f6cf(null,_0x45a66c);})[_0xf8da('0x13')](function(_0x4f4e9a){_0x34f6cf(_0x4f4e9a);});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x7b')]=function(_0x393088,_0x353f72){scripts[_0xf8da('0x7b')](this['channel'],_0x393088)[_0xf8da('0x11')](function(_0xb5569d){_0x353f72(null,_0xb5569d);})[_0xf8da('0x13')](function(_0x3ec0d3){_0x353f72(_0x3ec0d3);});};AGIVertices[_0xf8da('0xf')]['ispeechTTS']=function(_0x37b66,_0x3b12ba){scripts[_0xf8da('0x7c')](_0x37b66[_0xf8da('0x7d')],_0x37b66[_0xf8da('0x5d')],_0x37b66[_0xf8da('0x7e')]||_0xf8da('0x7f'),_0x37b66[_0xf8da('0x80')])[_0xf8da('0x11')](function(_0x499a36){_0x3b12ba(null,_0x499a36);})[_0xf8da('0x13')](function(_0xbaaada){_0x3b12ba(_0xbaaada);});};AGIVertices[_0xf8da('0xf')]['ispeechASR']=function(_0x2b093b,_0x45b665,_0x4b1358){scripts['ispeechASR'](_0x45b665,_0x2b093b[_0xf8da('0x7d')],_0x2b093b['ispeech_asr_language']||_0xf8da('0x7f'),this[_0xf8da('0x81')](_0x2b093b[_0xf8da('0x82')])?_0x2b093b[_0xf8da('0x82')]:undefined)[_0xf8da('0x11')](function(_0x5f2d20){_0x4b1358(null,_0x5f2d20);})[_0xf8da('0x13')](function(_0x40c362){_0x4b1358(_0x40c362);});};AGIVertices[_0xf8da('0xf')]['awsPolly']=function(_0x3abedc,_0x3896b2){scripts['awsPolly'](_0x3abedc[_0xf8da('0x83')],_0x3abedc[_0xf8da('0x84')],_0x3abedc[_0xf8da('0x85')],_0x3abedc[_0xf8da('0x86')]||'Amy',_0x3abedc[_0xf8da('0x5d')],_0x3abedc['aws_text_type']||_0xf8da('0x5d'))['then'](function(_0x241361){_0x3896b2(null,_0x241361);})['catch'](function(_0x1c38f8){_0x3896b2(_0x1c38f8);});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x87')]=function(_0x53838e,_0x1cf3c5){scripts[_0xf8da('0x87')](this[_0xf8da('0xc')][_0xf8da('0x38')],_0x53838e[_0xf8da('0x83')],_0x53838e['aws_secret_access_key'],_0x53838e['aws_lex_region'],_0x53838e[_0xf8da('0x5d')],_0x53838e[_0xf8da('0x88')])[_0xf8da('0x11')](function(_0x23b5e4){_0x1cf3c5(null,_0x23b5e4);})[_0xf8da('0x13')](function(_0xc3418f){_0x1cf3c5(_0xc3418f);});};AGIVertices['prototype'][_0xf8da('0x89')]=function(_0x128c23,_0x2300d9,_0x34a0ef){scripts['googleASR'](_0x2300d9,_0x128c23[_0xf8da('0x7d')],_0x128c23[_0xf8da('0x8a')]||_0xf8da('0x7f'))['then'](function(_0x288b3c){_0x34a0ef(null,_0x288b3c);})['catch'](function(_0x47cbea){_0x34a0ef(_0x47cbea);});};AGIVertices[_0xf8da('0xf')]['tildeASR']=function(_0x30297b,_0x13eb07,_0x5c0958){scripts[_0xf8da('0x8b')](_0x13eb07,_0x30297b[_0xf8da('0x8c')],_0x30297b[_0xf8da('0x8d')],_0x30297b[_0xf8da('0x6d')])[_0xf8da('0x11')](function(_0x4b0cb6){_0x5c0958(null,_0x4b0cb6);})['catch'](function(_0x4df2a5){_0x5c0958(_0x4df2a5);});};AGIVertices[_0xf8da('0xf')][_0xf8da('0x8e')]=function(_0x4118e4){var _0x58395b=_[_0xf8da('0x8f')](verticesWithRetry,_0x4118e4[_0xf8da('0x90')])?_0x4118e4:_[_0xf8da('0x91')](_0x4118e4);for(var _0x2e7df3 in _0x58395b){if(_0x58395b[_0xf8da('0x92')](_0x2e7df3)){if(_0x58395b[_0x2e7df3]&&_[_0xf8da('0x93')](_0x58395b[_0x2e7df3])){if(_[_0xf8da('0x8f')](recursiveMapAttributes,_0x2e7df3)){_0x58395b[_0x2e7df3]=this[_0xf8da('0x94')](_0x58395b[_0x2e7df3]);}else{_0x58395b[_0x2e7df3]=this[_0xf8da('0x95')](_0x58395b[_0x2e7df3]);}}}}return _0x58395b;};AGIVertices['prototype'][_0xf8da('0x96')]=function(_0x452b99){for(var _0x343eed in _0x452b99){if(_0x452b99[_0xf8da('0x92')](_0x343eed)){if(_[_0xf8da('0x97')](_0x452b99[_0x343eed])){this['recursiveNodeIndex'](_0x452b99[_0x343eed]);}else if(_['isArray'](_0x452b99[_0x343eed])){for(var _0x5b2e2d=0x0;_0x5b2e2d<_0x452b99[_0x343eed][_0xf8da('0x98')];_0x5b2e2d++){this[_0xf8da('0x96')](_0x452b99[_0x343eed][_0x5b2e2d]);}}else if(_[_0xf8da('0x93')](_0x452b99[_0x343eed])){_0x452b99[_0x343eed]=this['replaceAllVariables'](_0x452b99[_0x343eed]);}}}};AGIVertices[_0xf8da('0xf')]['saveRestApiResult']=function(_0x4f4bc0,_0x5a7866){for(var _0x3422cc in _0x4f4bc0){if(_0x4f4bc0['hasOwnProperty'](_0x3422cc)){if(_[_0xf8da('0x97')](_0x4f4bc0[_0x3422cc])){if(!_[_0xf8da('0x44')](_0x4f4bc0[_0x3422cc])){this[_0xf8da('0x99')](_0x4f4bc0[_0x3422cc],util['format'](_0xf8da('0x9a'),_0x5a7866,_0x3422cc));}}else if(_[_0xf8da('0x9b')](_0x4f4bc0[_0x3422cc])){for(var _0xc64722=0x0;_0xc64722<_0x4f4bc0[_0x3422cc][_0xf8da('0x98')];_0xc64722++){this[_0xf8da('0x99')](_0x4f4bc0[_0x3422cc][_0xc64722],util['format'](_0xf8da('0x9a'),_0x5a7866,_0x3422cc+'['+_0xc64722+']'));}}else{if(!_[_0xf8da('0x52')](_0x4f4bc0[_0x3422cc])){this[_0xf8da('0xc')]['setVariable'](util['format'](_0xf8da('0x9a'),_0x5a7866,_0x3422cc),_0x4f4bc0[_0x3422cc]);}}}}};AGIVertices[_0xf8da('0xf')][_0xf8da('0x94')]=function(_0x45f658){try{var _0x1a159e=JSON[_0xf8da('0x67')](_0x45f658);this[_0xf8da('0x96')](_0x1a159e);return JSON[_0xf8da('0x6f')](_0x1a159e);}catch(_0x36987f){return this[_0xf8da('0x95')](_0x45f658);}};AGIVertices[_0xf8da('0xf')][_0xf8da('0x95')]=function(_0x18b40c){var _0x22c5d6=_0x18b40c[_0xf8da('0x9c')]('{');for(var _0x1f5976=0x1;_0x1f5976<_0x22c5d6['length'];_0x1f5976+=0x1){var _0x5d14a3=_0x22c5d6[_0x1f5976][_0xf8da('0x9c')]('}');if(_0x5d14a3['length']>0x1){_0x18b40c=_0x18b40c['replaceAll']('{'+_0x5d14a3[0x0]+'}',this[_0xf8da('0xc')][_0xf8da('0x10')](_0x5d14a3[0x0])[_0xf8da('0x9d')]||_0x5d14a3[0x0]);}}if(_0x22c5d6[_0xf8da('0x98')]===0x1){return _0x18b40c['toString']();}return this[_0xf8da('0x95')](_0x18b40c);};AGIVertices[_0xf8da('0xf')][_0xf8da('0x9e')]=function(_0x2b6435,_0x295222){var _0x21d1ca=this[_0xf8da('0xc')][_0xf8da('0x10')](_0x2b6435);if(_0x21d1ca['result']===-0x1){return _0x21d1ca;}logger['info'](util[_0xf8da('0x56')](_0xf8da('0x9f'),_0x295222,_0x21d1ca[_0xf8da('0x9d')]));return this['channel'][_0xf8da('0xa0')](_0x295222,_0x21d1ca['extra']);};AGIVertices[_0xf8da('0xf')]['isConfigured']=function(_0x5de64e){return _0x5de64e&&_0x5de64e!=='0'&&_0x5de64e!=='-1'&&_0x5de64e!=='';};AGIVertices['prototype'][_0xf8da('0xa1')]=function(_0x50a0b9){this[_0xf8da('0x33')]['sync'](this,_0x50a0b9,'-');_0x50a0b9['retry']=_0x50a0b9[_0xf8da('0xa1')];return{'code':0xc8,'result':'-'};};AGIVertices[_0xf8da('0xf')]['mrcpsynth']=function(_0x56ac5e){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')]('Enter\x20in\x20MRCPSynth\x20(%s)\x20block',_0x56ac5e[_0xf8da('0x34')]));if(!this[_0xf8da('0x81')](_0x56ac5e[_0xf8da('0x5d')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0xa3'));}var _0x4d7ef3='\x22'+_0x56ac5e[_0xf8da('0x5d')]+'\x22';if(this[_0xf8da('0x81')](_0x56ac5e[_0xf8da('0x75')])){_0x4d7ef3+=','+_0x56ac5e['options'];}var _0x432874=this[_0xf8da('0xc')][_0xf8da('0x57')](_0xf8da('0xa4'),_0x4d7ef3);if(_0x432874[_0xf8da('0xa5')]===-0x1){return _0x432874;}return this[_0xf8da('0xc')][_0xf8da('0xa2')](util['format']('Executed\x20command\x20MRCPSynth\x20%s',_0x4d7ef3));};AGIVertices[_0xf8da('0xf')][_0xf8da('0xa6')]=function(_0x26b353){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0xa7'),_0x26b353['label']));if(!this[_0xf8da('0x81')](_0x26b353[_0xf8da('0xa8')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0xa9'));}var _0x1569de=_0x26b353[_0xf8da('0xa8')];if(this[_0xf8da('0x81')](_0x26b353[_0xf8da('0x75')])){_0x1569de+=','+_0x26b353[_0xf8da('0x75')];}var _0x21d578=this['channel'][_0xf8da('0x57')]('MRCPRecog',_0x1569de);if(_0x21d578['result']===-0x1){return _0x21d578;}var _0x176d7f=this['getAndSetVariable'](_0xf8da('0xaa'),_0xf8da('0xab'));if(_0x176d7f[_0xf8da('0xa5')]===-0x1){return _0x176d7f;}var _0x274fa5=this['getAndSetVariable'](_0xf8da('0xac'),'MRCP_RECOG_TRANSCRIPT');if(_0x274fa5[_0xf8da('0xa5')]===-0x1){return _0x274fa5;}var _0x26956b=this[_0xf8da('0x9e')](_0xf8da('0xad'),_0xf8da('0xae'));if(_0x26956b[_0xf8da('0xa5')]===-0x1){return _0x26956b;}return this[_0xf8da('0xc')]['noop'](util[_0xf8da('0x56')](_0xf8da('0xaf'),_0x1569de));};AGIVertices[_0xf8da('0xf')][_0xf8da('0x5')]=function(_0x8b0aef){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0xb0'),_0x8b0aef['label']));return this[_0xf8da('0xc')][_0xf8da('0x5')]([_0x8b0aef[_0xf8da('0xb1')],_0x8b0aef[_0xf8da('0xb2')]]);};AGIVertices[_0xf8da('0xf')][_0xf8da('0xb3')]=function(_0x5eefbc){logger['info'](util[_0xf8da('0x56')](_0xf8da('0xb4'),_0x5eefbc[_0xf8da('0x34')]));if(this[_0xf8da('0x81')](_0x5eefbc[_0xf8da('0x63')])){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0xb5'),_0x5eefbc[_0xf8da('0x63')]));var _0x318d6a=this[_0xf8da('0xc')][_0xf8da('0xb6')](_0x5eefbc[_0xf8da('0x63')]);if(_0x318d6a['result']===-0x1){return _0x318d6a;}}return this[_0xf8da('0xc')][_0xf8da('0xb3')]();};AGIVertices['prototype'][_0xf8da('0x49')]=function(_0x57f84d){logger['info'](util[_0xf8da('0x56')]('Enter\x20in\x20CALLBACK\x20(%s)\x20block',_0x57f84d[_0xf8da('0x34')]));if(!this['isConfigured'](_0x57f84d[_0xf8da('0x47')])){return this[_0xf8da('0xc')]['error'](_0x57f84d,'no\x20list\x20selected');}_0x57f84d[_0xf8da('0x48')]=moment();if(this[_0xf8da('0x81')](_0x57f84d[_0xf8da('0xb7')])){_0x57f84d[_0xf8da('0x48')]=moment()[_0xf8da('0xb8')](_0x57f84d['delay'],_0xf8da('0xb9'));}if(!this[_0xf8da('0x81')](_0x57f84d['callback_priority'])){_0x57f84d[_0xf8da('0x4c')]=0x2;}this[_0xf8da('0x41')]['sync'](this,_0x57f84d);return this['channel'][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0xba'),_0x57f84d[_0xf8da('0x46')],_0x57f84d['list_id'],_0x57f84d[_0xf8da('0x48')]));};AGIVertices[_0xf8da('0xf')]['custom_app']=function(_0x122c4e){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0xbb'),_0x122c4e['label']));var _0x10b16c=this[_0xf8da('0xc')][_0xf8da('0x57')](_0x122c4e[_0xf8da('0xbc')],_0x122c4e[_0xf8da('0x75')]);if(_0x10b16c[_0xf8da('0xa5')]===-0x1){return _0x10b16c;}return this['channel'][_0xf8da('0xa2')](util[_0xf8da('0x56')]('Executed\x20command\x20%s\x20%s',_0x122c4e['application'],_0x122c4e[_0xf8da('0x75')]));};AGIVertices[_0xf8da('0xf')][_0xf8da('0xbd')]=function(_0x275b1c){logger['info'](util[_0xf8da('0x56')](_0xf8da('0xbe'),_0x275b1c['label']));if(!this[_0xf8da('0x81')](_0x275b1c[_0xf8da('0x5d')])){return this[_0xf8da('0xc')]['noop'](_0xf8da('0xa3'));}var _0x560bc4='\x22'+_0x275b1c['text']+'\x22';if(this[_0xf8da('0x81')](_0x275b1c['options'])){_0x560bc4+=','+_0x275b1c[_0xf8da('0x75')];}var _0x31d4ca=this[_0xf8da('0xc')][_0xf8da('0x57')](_0xf8da('0xa4'),_0x560bc4);if(_0x31d4ca[_0xf8da('0xa5')]===-0x1){return _0x31d4ca;}return this['channel'][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0xbf'),_0x560bc4));};AGIVertices[_0xf8da('0xf')][_0xf8da('0xc0')]=function(_0x431f87){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0xc1'),_0x431f87['label']));if(!this[_0xf8da('0x81')](_0x431f87[_0xf8da('0x5d')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')]('no\x20text\x20configured');}var _0x20b2b2='\x22'+_0x431f87[_0xf8da('0x5d')]+'\x22';if(this[_0xf8da('0x81')](_0x431f87['options'])){_0x20b2b2+=','+_0x431f87['options'];}var _0x34df1c=this[_0xf8da('0xc')][_0xf8da('0x57')](_0xf8da('0xa4'),_0x20b2b2);if(_0x34df1c['result']===-0x1){return _0x34df1c;}return this['channel']['noop'](util['format'](_0xf8da('0xbf'),_0x20b2b2));};AGIVertices[_0xf8da('0xf')][_0xf8da('0xc2')]=function(_0x340e5b){logger[_0xf8da('0x2c')](util['format'](_0xf8da('0xc3'),_0x340e5b['label']));if(!this[_0xf8da('0x81')](_0x340e5b[_0xf8da('0xa8')])){return this[_0xf8da('0xc')]['noop'](_0xf8da('0xa9'));}var _0x3bd606=_0x340e5b[_0xf8da('0xa8')];if(this[_0xf8da('0x81')](_0x340e5b[_0xf8da('0x75')])){_0x3bd606+=','+_0x340e5b['options'];}var _0x4bb005=this[_0xf8da('0xc')]['exec'](_0xf8da('0xc4'),_0x3bd606);if(_0x4bb005[_0xf8da('0xa5')]===-0x1){return _0x4bb005;}var _0x30768d=this[_0xf8da('0x9e')]('RECOG_CONFIDENCE()',_0xf8da('0xc5'));if(_0x30768d['result']===-0x1){return _0x30768d;}var _0x5e08c4=this[_0xf8da('0x9e')](_0xf8da('0xac'),_0xf8da('0xc6'));if(_0x5e08c4[_0xf8da('0xa5')]===-0x1){return _0x5e08c4;}var _0x4da93e=this[_0xf8da('0x9e')](_0xf8da('0xad'),_0xf8da('0xc7'));if(_0x4da93e[_0xf8da('0xa5')]===-0x1){return _0x4da93e;}return this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')]('Executed\x20command\x20MRCPRecog\x20%s',_0x3bd606));};AGIVertices[_0xf8da('0xf')][_0xf8da('0xc8')]=function(_0xf5a2df){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0xc9'),_0xf5a2df[_0xf8da('0x34')]));if(!this[_0xf8da('0x81')](_0xf5a2df[_0xf8da('0xa8')])){return this[_0xf8da('0xc')]['noop'](_0xf8da('0xa9'));}var _0x531a85=_0xf5a2df['grammar'];if(this[_0xf8da('0x81')](_0xf5a2df[_0xf8da('0x75')])){_0x531a85+=','+_0xf5a2df[_0xf8da('0x75')];}var _0x51aa3e=this['channel'][_0xf8da('0x57')](_0xf8da('0xc4'),_0x531a85);if(_0x51aa3e['result']===-0x1){return _0x51aa3e;}var _0x5b6e87=this[_0xf8da('0x9e')]('RECOG_CONFIDENCE()',_0xf8da('0xca'));if(_0x5b6e87[_0xf8da('0xa5')]===-0x1){return _0x5b6e87;}var _0x3a795c=this[_0xf8da('0x9e')](_0xf8da('0xac'),_0xf8da('0xcb'));if(_0x3a795c['result']===-0x1){return _0x3a795c;}var _0x402a1c=this[_0xf8da('0x9e')](_0xf8da('0xad'),_0xf8da('0xcc'));if(_0x402a1c[_0xf8da('0xa5')]===-0x1){return _0x402a1c;}return this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0xaf'),_0x531a85));};AGIVertices[_0xf8da('0xf')][_0xf8da('0xcd')]=function(_0x3ca50f){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0xce'),_0x3ca50f[_0xf8da('0x34')]));if(!this['isConfigured'](_0x3ca50f[_0xf8da('0xcf')])){return this['channel']['error'](_0x3ca50f,_0xf8da('0xd0'));}var _0x5c3862=this['getSquareOdbc']['sync'](this,_0x3ca50f[_0xf8da('0xcf')]);if(!_0x5c3862){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x3ca50f,'no\x20odbc\x20database\x20found');}if(!this['isConfigured'](_0x3ca50f[_0xf8da('0xd1')])){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x3ca50f,_0xf8da('0xd2'));}var _0x48d296=_0x3ca50f[_0xf8da('0xd1')][_0xf8da('0x59')](/(\r\n|\n|\r)/gm,'\x20');this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0xd3'),_0x48d296));var _0x18ba62=this[_0xf8da('0x28')][_0xf8da('0x6c')](this,_0x5c3862,_0x48d296);this[_0xf8da('0x33')][_0xf8da('0x6c')](this,_0x3ca50f,_0x48d296);if(!this[_0xf8da('0x81')](_0x3ca50f['variable_id'])){return this['channel'][_0xf8da('0xa2')](_0xf8da('0xd4'));}var _0x2cccfe=this[_0xf8da('0x10')][_0xf8da('0x6c')](this,_0x3ca50f[_0xf8da('0xd5')]);if(!_0x2cccfe){return this[_0xf8da('0xc')]['error'](_0x3ca50f,_0xf8da('0xd6'));}var _0x1c57ff=this;_0x18ba62[_0xf8da('0xd7')](function(_0x268cf0,_0xebbe26){Object[_0xf8da('0xd8')](_0x268cf0)[_0xf8da('0xd7')](function(_0x5f5619){_0x1c57ff['channel']['setVariable'](util[_0xf8da('0x56')](_0xf8da('0xd9'),_0x2cccfe,_0xebbe26,_0x5f5619),_0x268cf0[_0x5f5619]);});});this[_0xf8da('0xc')]['setVariable'](util[_0xf8da('0x56')](_0xf8da('0xda'),_0x2cccfe),_0x18ba62[_0xf8da('0x98')]);return this['channel']['noop'](util[_0xf8da('0x56')](_0xf8da('0xdb'),_0x2cccfe));};AGIVertices[_0xf8da('0xf')][_0xf8da('0xdc')]=function(_0x2b1d95){logger[_0xf8da('0xdd')](util[_0xf8da('0x56')](_0xf8da('0xde'),_0x2b1d95[_0xf8da('0x34')]));if(!this[_0xf8da('0x81')](_0x2b1d95[_0xf8da('0xdf')])){return this[_0xf8da('0xc')]['error'](_0x2b1d95,_0xf8da('0xe0'));}var _0x54a12c=this[_0xf8da('0x19')][_0xf8da('0x6c')](this,_0x2b1d95[_0xf8da('0xdf')]);if(!_0x54a12c){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x2b1d95,_0xf8da('0xe1'));}var _0x11a22d=this[_0xf8da('0xc')][_0xf8da('0x57')]('DIAL',[util[_0xf8da('0x56')](_0xf8da('0xe2'),_0x54a12c),_0x2b1d95[_0xf8da('0x63')],_0x2b1d95[_0xf8da('0xe3')],_0x2b1d95['url']]);if(_0x11a22d[_0xf8da('0xa5')]===-0x1){return _0x11a22d;}return this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0xe4'),_0xf8da('0xe5')));};AGIVertices[_0xf8da('0xf')][_0xf8da('0xe6')]=function(_0xac9dd1){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0xe7'),_0xac9dd1[_0xf8da('0x34')]));if(!this['isConfigured'](_0xac9dd1[_0xf8da('0x7d')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0xe8'));}if(!this['isConfigured'](_0xac9dd1['text'])){return this[_0xf8da('0xc')]['noop'](_0xf8da('0xa3'));}this[_0xf8da('0xc')][_0xf8da('0xe9')]=!![];this[_0xf8da('0x33')](_0xac9dd1);this['createSquareMessage'](_0xac9dd1[_0xf8da('0x5d')],'in','','');this['channel'][_0xf8da('0xa2')](util[_0xf8da('0x56')]('Trying\x20Dialogflow:\x20%s',_0xac9dd1[_0xf8da('0x5d')]));var _0x5ecc5f=this[_0xf8da('0x76')][_0xf8da('0x6c')](this,_0xac9dd1);if(_0x5ecc5f){for(var _0x114b1b in _0x5ecc5f){if(_0x5ecc5f['hasOwnProperty'](_0x114b1b)){this[_0xf8da('0xc')]['setVariable'](util['format'](_0xf8da('0xea'),_0x114b1b['toUpperCase']()),_0x5ecc5f[_0x114b1b]);}}this['createSquareMessage'](_0x5ecc5f[_0xf8da('0xeb')],_0xf8da('0xec'),_0xf8da('0xe6'),'');return this['channel'][_0xf8da('0xa2')](util['format'](_0xf8da('0xed'),_0x5ecc5f[_0xf8da('0xeb')]));}return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0xac9dd1,_0xf8da('0xee'));};AGIVertices[_0xf8da('0xf')][_0xf8da('0xef')]=function(_0x972a83){logger[_0xf8da('0x2c')](util['format']('Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block',_0x972a83[_0xf8da('0x34')]));if(!this['isConfigured'](_0x972a83['dialogflowV2_project_id'])){return this[_0xf8da('0xc')]['noop'](_0xf8da('0xf0'));}if(!this[_0xf8da('0x81')](_0x972a83[_0xf8da('0xf1')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0xf2'));}if(!this[_0xf8da('0x81')](_0x972a83[_0xf8da('0x79')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')]('no\x20private_key\x20configured');}if(!this[_0xf8da('0x81')](_0x972a83[_0xf8da('0x7a')])){return this['channel'][_0xf8da('0xa2')]('no\x20anguage\x20configured');}if(!this['isConfigured'](_0x972a83[_0xf8da('0x5d')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0xa3'));}this[_0xf8da('0xc')]['bot']=!![];this['createSquareDetailsReport'](_0x972a83);this[_0xf8da('0x40')](_0x972a83[_0xf8da('0x5d')],'in','','');this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')]('Trying\x20DialogflowV2:\x20%s',_0x972a83[_0xf8da('0x5d')]));var _0x31fe4f=this[_0xf8da('0x77')][_0xf8da('0x6c')](this,_0x972a83);if(_0x31fe4f){for(var _0x1172e8 in _0x31fe4f){if(_0x31fe4f[_0xf8da('0x92')](_0x1172e8)){if(_0x1172e8!==_0xf8da('0xf3')){this[_0xf8da('0xc')][_0xf8da('0xa0')](util[_0xf8da('0x56')]('DIALOGFLOW_%s',_0x1172e8['toUpperCase']()),_0x31fe4f[_0x1172e8]);}}}this[_0xf8da('0x40')](_0x31fe4f['speech'],'out',_0xf8da('0xef'),_0x31fe4f[_0xf8da('0xf3')]);return this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')]('DialogflowV2\x20Result\x20%s',_0x31fe4f[_0xf8da('0xeb')]));}return this[_0xf8da('0xc')]['error'](_0x972a83,_0xf8da('0xf4'));};AGIVertices[_0xf8da('0xf')][_0xf8da('0xf5')]=function(_0x317073){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')]('Enter\x20in\x20SESTEKNDA\x20(%s)\x20block',_0x317073[_0xf8da('0x34')]));if(!this[_0xf8da('0x81')](_0x317073[_0xf8da('0xf6')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0xf7'));}if(!this['isConfigured'](_0x317073['username'])){return this[_0xf8da('0xc')]['noop']('no\x20username\x20configured');}if(!this[_0xf8da('0x81')](_0x317073[_0xf8da('0xf8')])){return this[_0xf8da('0xc')]['noop'](_0xf8da('0xf9'));}if(!this[_0xf8da('0x81')](_0x317073['ndassistant_url'])){return this[_0xf8da('0xc')]['noop']('no\x20text\x20configured');}this[_0xf8da('0xc')][_0xf8da('0xe9')]=!![];this[_0xf8da('0x33')](_0x317073);this[_0xf8da('0x40')](_0x317073[_0xf8da('0x5d')],'in','','');this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')]('Trying\x20SestekNDA:\x20%s',_0x317073[_0xf8da('0x5d')]));var _0x5c0ed2=this['sestekNDA'][_0xf8da('0x6c')](this,_0x317073);if(_0x5c0ed2){for(var _0x44bb0c in _0x5c0ed2){if(_0x5c0ed2['hasOwnProperty'](_0x44bb0c)){this['channel'][_0xf8da('0xa0')](util[_0xf8da('0x56')](_0xf8da('0xfa'),_0x44bb0c[_0xf8da('0x66')]()),_0x5c0ed2[_0x44bb0c]);}}this[_0xf8da('0x40')](_0x5c0ed2[_0xf8da('0xeb')],_0xf8da('0xec'),_0xf8da('0xf5'),'');if(_0x5c0ed2[_0xf8da('0xfb')]){this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0xfc'),_0x5c0ed2[_0xf8da('0xfb')]));var _0x4c29ae=this['channel'][_0xf8da('0xfd')](_0x5c0ed2[_0xf8da('0xfb')]);try{fs[_0xf8da('0xfe')](_0x5c0ed2[_0xf8da('0xfb')]+_0xf8da('0xff'));}catch(_0x24ad0f){logger[_0xf8da('0x2a')](_0x24ad0f);}return _0x4c29ae;}else{return this[_0xf8da('0xc')]['noop'](util[_0xf8da('0x56')](_0xf8da('0x100'),_0x5c0ed2['speech']));}}return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x317073,_0xf8da('0x101'));};AGIVertices[_0xf8da('0xf')]['end']=function(_0x15501d){logger['info'](util[_0xf8da('0x56')](_0xf8da('0x102'),_0x15501d[_0xf8da('0x34')]));return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0x103'));};AGIVertices[_0xf8da('0xf')]['ext_dial']=function(_0x4b1076){logger[_0xf8da('0x2c')](util['format']('Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block',_0x4b1076[_0xf8da('0x34')]));var _0x308d83='';if(_0x4b1076['trunk_id']){if(!this[_0xf8da('0x81')](_0x4b1076['trunk_id'])){return this['channel'][_0xf8da('0x2a')](_0x4b1076,_0xf8da('0x104'));}else{var _0x10cc87=parseInt(_0x4b1076[_0xf8da('0x105')],0xa);if(isNaN(_0x10cc87)){_0x308d83=_0x4b1076['trunk_id'];}else{_0x308d83=this[_0xf8da('0x106')][_0xf8da('0x6c')](this,_0x4b1076['trunk_id']);if(!_0x308d83){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x4b1076,_0xf8da('0x107'));}}}}else if(_0x4b1076[_0xf8da('0x108')]){_0x308d83=_0x4b1076[_0xf8da('0x108')];}else{return this[_0xf8da('0xc')]['error'](_0x4b1076,_0xf8da('0x104'));}var _0x43b5ef=this['channel']['exec'](_0xf8da('0xe5'),[util[_0xf8da('0x56')](_0xf8da('0x109'),_0x308d83,_0x4b1076['phone']),_0x4b1076[_0xf8da('0x63')],_0x4b1076[_0xf8da('0xe3')],_0x4b1076[_0xf8da('0x62')]]);if(_0x43b5ef[_0xf8da('0xa5')]===-0x1){return _0x43b5ef;}return this['channel'][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0xe4'),_0xf8da('0xe5')));};AGIVertices[_0xf8da('0xf')][_0xf8da('0x10a')]=function(_0x58af8b){logger['info'](util[_0xf8da('0x56')](_0xf8da('0x10b'),_0x58af8b[_0xf8da('0x34')]));return this[_0xf8da('0xc')][_0xf8da('0xa2')]('finally');};AGIVertices[_0xf8da('0xf')]['getdigits']=function(_0x454f66){logger['info'](util['format'](_0xf8da('0x10c'),_0x454f66['label']));if(_0x454f66['retry']===0x0){return this[_0xf8da('0xa1')](_0x454f66);}_0x454f66[_0xf8da('0x10d')]-=0x1;if(!this[_0xf8da('0x81')](_0x454f66[_0xf8da('0x10e')])){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x454f66,'no\x20file\x20audio\x20selected');}var _0x9712d2=this[_0xf8da('0x10f')][_0xf8da('0x6c')](this,_0x454f66['file_id']);if(!_0x9712d2){return this['channel'][_0xf8da('0x2a')](_0x454f66,'no\x20file\x20audio\x20found');}if(!this[_0xf8da('0x81')](_0x454f66['variable_id'])){return this['channel'][_0xf8da('0x2a')](_0xf8da('0xd4'));}var _0x34656a=this['channel']['getData'](_0x9712d2,_0x454f66['response'],_0x454f66[_0xf8da('0x110')]);var _0x1a0c62=_0x34656a['result']?_0x34656a['result'][_0xf8da('0x4b')]():'';logger[_0xf8da('0x2c')]('test',JSON['stringify'](_0x34656a));if(_0x34656a[_0xf8da('0xa5')]===-0x1){this[_0xf8da('0x33')][_0xf8da('0x6c')](this,_0x454f66,_0x1a0c62);return _0x34656a;}else if(_0x34656a[_0xf8da('0x9d')]===_0xf8da('0x63')){_0x34656a[_0xf8da('0xa5')]=_0x1a0c62[_0xf8da('0x98')]>=parseInt(_0x454f66['mindigit'])?'x':'i';}else{_0x34656a[_0xf8da('0xa5')]=_0x1a0c62[_0xf8da('0x98')]>=parseInt(_0x454f66[_0xf8da('0x111')])&&_0x1a0c62[_0xf8da('0x98')]<=parseInt(_0x454f66[_0xf8da('0x110')])?'x':'i';}var _0x2cae61=this[_0xf8da('0x10')][_0xf8da('0x6c')](this,_0x454f66[_0xf8da('0xd5')]);if(!_0x2cae61){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x454f66,_0xf8da('0xd6'));}this[_0xf8da('0xc')][_0xf8da('0xa0')](_0x2cae61,_0x1a0c62);if(this[_0xf8da('0x81')](_0x454f66[_0xf8da('0x112')])){var _0x1dc0c8=parseInt(_0x454f66[_0xf8da('0x112')],0xa);var _0x2f9636=rs['generate']({'charset':'*','length':_0x1dc0c8});var _0x54a9d3=_0x1a0c62[_0xf8da('0x98')];if(_0x54a9d3>0x0){if(_0x54a9d3>_0x1dc0c8){this[_0xf8da('0x33')][_0xf8da('0x6c')](this,_0x454f66,_0x454f66[_0xf8da('0x113')]===_0xf8da('0x114')?_0x2f9636+_0x1a0c62[_0xf8da('0x115')](_0x1dc0c8):_0x1a0c62[_0xf8da('0x115')](0x0,_0x54a9d3-_0x1dc0c8)+_0x2f9636);}else{this[_0xf8da('0x33')][_0xf8da('0x6c')](this,_0x454f66,rs[_0xf8da('0x116')]({'charset':'*','length':_0x54a9d3}));}}else{this['createSquareDetailsReport'][_0xf8da('0x6c')](this,_0x454f66,'');}}else{this[_0xf8da('0x33')][_0xf8da('0x6c')](this,_0x454f66,_0x1a0c62);}return _0x34656a;};AGIVertices[_0xf8da('0xf')][_0xf8da('0x117')]=function(_0x55a16e){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x118'),_0x55a16e[_0xf8da('0x34')]));return this[_0xf8da('0xb')](_0x55a16e);};AGIVertices[_0xf8da('0xf')][_0xf8da('0x119')]=function(_0x4adf32){logger['info'](util['format'](_0xf8da('0x11a'),_0x4adf32[_0xf8da('0x34')]));this[_0xf8da('0x33')][_0xf8da('0x6c')](this,_0x4adf32,_0x4adf32[_0xf8da('0x11b')]);return this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x11c'),_0x4adf32[_0xf8da('0x11b')]));};AGIVertices[_0xf8da('0xf')][_0xf8da('0x11d')]=function(_0x4b572e){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x11e'),_0x4b572e[_0xf8da('0x34')]));if(!this['isConfigured'](_0x4b572e[_0xf8da('0x83')])||!this[_0xf8da('0x81')](_0x4b572e['aws_secret_access_key'])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0x11f'));}if(!this['isConfigured'](_0x4b572e['text'])){return this['channel'][_0xf8da('0xa2')]('no\x20text\x20configured');}this['channel']['noop'](util[_0xf8da('0x56')](_0xf8da('0x120'),_0x4b572e['text']));var _0x5f5695=this[_0xf8da('0x121')][_0xf8da('0x6c')](this,_0x4b572e);if(_0x5f5695){this[_0xf8da('0xc')][_0xf8da('0xa2')](util['format'](_0xf8da('0x122'),_0x5f5695));var _0x586585=this[_0xf8da('0xc')][_0xf8da('0xfd')](_0x5f5695);try{fs['unlink'](_0x5f5695+_0xf8da('0xff'));}catch(_0x59aded){logger[_0xf8da('0x2a')](_0x59aded);}return _0x586585;}return this['channel'][_0xf8da('0x2a')](_0x4b572e,_0xf8da('0x123'));};AGIVertices[_0xf8da('0xf')][_0xf8da('0x124')]=function(_0x342f4c){logger['info'](util['format']('Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block',_0x342f4c['label']));if(!this[_0xf8da('0x81')](_0x342f4c[_0xf8da('0x83')])||!this[_0xf8da('0x81')](_0x342f4c[_0xf8da('0x84')])){return this['channel']['noop']('no\x20valid\x20credentials\x20configured');}if(!this['isConfigured'](_0x342f4c[_0xf8da('0x88')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0x125'));}if(!this[_0xf8da('0x81')](_0x342f4c['text'])){return this[_0xf8da('0xc')][_0xf8da('0xa2')]('no\x20text\x20configured');}this[_0xf8da('0xc')][_0xf8da('0xe9')]=!![];this[_0xf8da('0x33')](_0x342f4c);this[_0xf8da('0x40')](_0x342f4c[_0xf8da('0x5d')],'in','','');this[_0xf8da('0xc')][_0xf8da('0xa2')](util['format']('Trying\x20Amazon\x20Lex:\x20%s',_0x342f4c[_0xf8da('0x5d')]));var _0x5eb9c0=this[_0xf8da('0x87')][_0xf8da('0x6c')](this,_0x342f4c);if(_0x5eb9c0){for(var _0x5c790d in _0x5eb9c0){if(_0x5eb9c0[_0xf8da('0x92')](_0x5c790d)&&_[_0xf8da('0x93')](_0x5eb9c0[_0x5c790d])){this[_0xf8da('0xc')][_0xf8da('0xa0')](util['format'](_0xf8da('0x126'),_0x5c790d['toUpperCase']()),_0x5eb9c0[_0x5c790d]);}}if(_[_0xf8da('0x52')](_0x5eb9c0[_0xf8da('0x74')])){return this[_0xf8da('0xc')]['noop'](_0xf8da('0x127'));}else{this[_0xf8da('0x40')](_0x5eb9c0['message'],_0xf8da('0xec'),'amazonlex','');return this[_0xf8da('0xc')]['noop'](util['format'](_0xf8da('0x128'),_0x5eb9c0['message']));}}return this['channel'][_0xf8da('0x2a')](_0x342f4c,_0xf8da('0x129'));};AGIVertices['prototype'][_0xf8da('0x12a')]=function(_0x458bea){logger['info'](util[_0xf8da('0x56')](_0xf8da('0x12b'),_0x458bea[_0xf8da('0x34')],_0x458bea['timeout']));if(!this['isConfigured'](_0x458bea[_0xf8da('0x7d')])){return this['channel'][_0xf8da('0xa2')](_0xf8da('0xe8'));}var _0x3f376f=_0xf8da('0x12c');var _0x218d3f=util[_0xf8da('0x56')](_0xf8da('0x12d'),FILES_PATH,rs['generate'](0x4));var _0x490e66=util[_0xf8da('0x56')](_0xf8da('0x9a'),_0x218d3f,_0x3f376f);var _0x31241e=!![];if(_0x458bea['beep']===_0xf8da('0x12e')){_0x31241e=![];}var _0x1eeef8=this[_0xf8da('0xc')][_0xf8da('0x12f')](_0x218d3f,_0x3f376f,_0x458bea[_0xf8da('0x130')],_0x458bea[_0xf8da('0x63')],undefined,_0x31241e);if(_0x1eeef8[_0xf8da('0xa5')]!==-0x1){this['channel'][_0xf8da('0xa2')](util['format']('google\x20%s\x20file\x20created',_0x490e66));var _0x3b8bb4=this[_0xf8da('0x89')][_0xf8da('0x6c')](this,_0x458bea,_0x490e66);if(_0x3b8bb4){for(var _0x62e8b2 in _0x3b8bb4){if(_0x3b8bb4[_0xf8da('0x92')](_0x62e8b2)){this[_0xf8da('0xc')][_0xf8da('0xa0')](util[_0xf8da('0x56')](_0xf8da('0x131'),_0x62e8b2[_0xf8da('0x66')]()),_0x3b8bb4[_0x62e8b2]);}}return this['channel'][_0xf8da('0xa2')](util['format'](_0xf8da('0x132'),JSON['stringify'](_0x3b8bb4)));}}return _0x1eeef8;};AGIVertices[_0xf8da('0xf')][_0xf8da('0x133')]=function(_0x5e0620){logger['info'](util[_0xf8da('0x56')](_0xf8da('0x134'),_0x5e0620[_0xf8da('0x34')]));if(!this[_0xf8da('0x81')](_0x5e0620['appid'])){return this[_0xf8da('0xc')][_0xf8da('0xa2')]('no\x20appid\x20configured');}if(!this[_0xf8da('0x81')](_0x5e0620[_0xf8da('0x8d')])){return this['channel'][_0xf8da('0xa2')](_0xf8da('0x135'));}var _0x52f223=_0xf8da('0x12c');var _0x2497d1=util[_0xf8da('0x56')](_0xf8da('0x12d'),FILES_PATH,rs[_0xf8da('0x116')](0x4));var _0x402775=util['format']('%s.%s',_0x2497d1,_0x52f223);var _0x1605d5=!![];if(_0x5e0620[_0xf8da('0x136')]==='NOBEEP'){_0x1605d5=![];}var _0xb50027=this[_0xf8da('0xc')]['recordFile'](_0x2497d1,_0x52f223,_0x5e0620['intKey'],_0x5e0620[_0xf8da('0x63')],undefined,_0x1605d5);if(_0xb50027[_0xf8da('0xa5')]!==-0x1){this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')]('tilde\x20%s\x20file\x20created',_0x402775));var _0x23de6b=this[_0xf8da('0x8b')][_0xf8da('0x6c')](this,_0x5e0620,_0x402775);if(_0x23de6b){for(var _0x19013a in _0x23de6b){if(_0x23de6b['hasOwnProperty'](_0x19013a)){this[_0xf8da('0xc')][_0xf8da('0xa0')](util[_0xf8da('0x56')](_0xf8da('0x137'),_0x19013a[_0xf8da('0x66')]()),_0x23de6b[_0x19013a]);}}return this[_0xf8da('0xc')][_0xf8da('0xa2')](util['format'](_0xf8da('0x138'),JSON[_0xf8da('0x6f')](_0x23de6b)));}}return _0xb50027;};AGIVertices[_0xf8da('0xf')]['gotoc']=function(_0x47d326){logger['info'](util[_0xf8da('0x56')](_0xf8da('0x139'),_0x47d326[_0xf8da('0x34')]));return this[_0xf8da('0xc')]['continueAt'](_0x47d326[_0xf8da('0x3a')],_0x47d326[_0xf8da('0x3b')],_0x47d326[_0xf8da('0x3c')]);};AGIVertices[_0xf8da('0xf')][_0xf8da('0x13a')]=function(_0x16e268){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x13b'),_0x16e268[_0xf8da('0x34')]));if(!this[_0xf8da('0x81')](_0x16e268[_0xf8da('0x13c')])){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x16e268,_0xf8da('0x13d'));}try{var _0x219569=eval(_0x16e268[_0xf8da('0x13c')])?'true':_0xf8da('0x13e');this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x13f'),_0x16e268['condition'],_0x219569));return{'code':0xc8,'result':_0x219569};}catch(_0x5377d5){return{'code':0xc8,'result':_0xf8da('0x13e')};}};AGIVertices[_0xf8da('0xf')][_0xf8da('0x140')]=function(_0x5a02ae){logger[_0xf8da('0x2c')](util['format'](_0xf8da('0x141'),_0x5a02ae['label']));if(!this[_0xf8da('0x81')](_0x5a02ae['interval_id'])){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x5a02ae,_0xf8da('0x142'));}var _0x1fe837=this[_0xf8da('0x21')][_0xf8da('0x6c')](this,_0x5a02ae[_0xf8da('0x143')]);if(!_0x1fe837){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x5a02ae,_0xf8da('0x144'));}for(var _0x568fec=0x0;_0x568fec<_0x1fe837[_0xf8da('0x98')];_0x568fec+=0x1){var _0x54a77c=this[_0xf8da('0xc')]['getVariable'](util[_0xf8da('0x56')](_0xf8da('0x145'),_0x1fe837[_0x568fec]));if(_0x54a77c[_0xf8da('0xa5')]===-0x1){return _0x54a77c;}logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x146'),_0x1fe837[_0x568fec],_0x54a77c['extra']));if(_0x54a77c['extra']===_0xf8da('0x147')){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x146'),_0x1fe837[_0x568fec],_0xf8da('0x147')));this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x146'),_0x1fe837[_0x568fec],_0xf8da('0x147')));return{'code':0xc8,'result':'true'};}else{logger['info'](util[_0xf8da('0x56')](_0xf8da('0x146'),_0x1fe837[_0x568fec],_0xf8da('0x13e')));this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x146'),_0x1fe837[_0x568fec],_0xf8da('0x13e')));}}return{'code':0xc8,'result':_0xf8da('0x13e')};};AGIVertices[_0xf8da('0xf')][_0xf8da('0x148')]=function(_0xd327f7){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x149'),_0xd327f7['label']));return this[_0xf8da('0xc')][_0xf8da('0x148')]();};AGIVertices[_0xf8da('0xf')][_0xf8da('0x14a')]=function(_0x2251f0){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x14b'),_0x2251f0[_0xf8da('0x34')]));if(!this['isConfigured'](_0x2251f0[_0xf8da('0x7d')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0xe8'));}var _0xefbf67=_0xf8da('0x12c');var _0x4bc2fd=util['format'](_0xf8da('0x12d'),FILES_PATH,rs[_0xf8da('0x116')](0x4));var _0x13ed9b=util[_0xf8da('0x56')](_0xf8da('0x9a'),_0x4bc2fd,_0xefbf67);var _0x3b21f9=!![];if(_0x2251f0[_0xf8da('0x136')]===_0xf8da('0x12e')){_0x3b21f9=![];}var _0x5bb339=this[_0xf8da('0xc')][_0xf8da('0x12f')](_0x4bc2fd,_0xefbf67,_0x2251f0['intKey'],_0x2251f0['timeout'],undefined,_0x3b21f9);if(_0x5bb339['result']!==-0x1){this['channel'][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x14c'),_0x13ed9b));var _0x4eeb23=this[_0xf8da('0x14d')][_0xf8da('0x6c')](this,_0x2251f0,_0x13ed9b);if(_0x4eeb23){for(var _0x1a42d6 in _0x4eeb23){if(_0x4eeb23['hasOwnProperty'](_0x1a42d6)){this[_0xf8da('0xc')]['setVariable'](util[_0xf8da('0x56')](_0xf8da('0x14e'),_0x1a42d6[_0xf8da('0x66')]()),_0x4eeb23[_0x1a42d6]);}}return this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')]('IspeechASR\x20Result\x20%s',JSON[_0xf8da('0x6f')](_0x4eeb23)));}}return _0x5bb339;};AGIVertices[_0xf8da('0xf')][_0xf8da('0x14f')]=function(_0x20f859){logger['info'](util[_0xf8da('0x56')]('Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block',_0x20f859[_0xf8da('0x34')]));if(!this[_0xf8da('0x81')](_0x20f859[_0xf8da('0x7d')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0xe8'));}if(!this[_0xf8da('0x81')](_0x20f859[_0xf8da('0x5d')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')]('no\x20text\x20configured');}this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')]('Trying\x20ispeech\x20TTS\x20%s',_0x20f859[_0xf8da('0x5d')]));var _0x43cd81=this[_0xf8da('0x7c')][_0xf8da('0x6c')](this,_0x20f859);if(_0x43cd81){this[_0xf8da('0xc')]['noop'](util['format'](_0xf8da('0x14c'),_0x43cd81));var _0x539704=this[_0xf8da('0xc')]['streamFile'](_0x43cd81,_0x20f859[_0xf8da('0x130')]);try{fs[_0xf8da('0xfe')](_0x43cd81+'.wav');}catch(_0x485207){logger[_0xf8da('0x2a')](_0x485207);}return _0x539704;}return this[_0xf8da('0xc')]['error'](_0x20f859,_0xf8da('0x150'));};AGIVertices['prototype']['login']=function(_0x26c6b4){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')]('Enter\x20in\x20LOGIN\x20(%s)\x20block',_0x26c6b4[_0xf8da('0x34')]));if(!this['isConfigured'](_0x26c6b4[_0xf8da('0x151')])){return this['channel'][_0xf8da('0x2a')](_0x26c6b4,_0xf8da('0x152'));}logger[_0xf8da('0x2c')](util['format'](_0xf8da('0x153'),this[_0xf8da('0xc')][_0xf8da('0x36')],_0x26c6b4['findBy']));var _0xa0f0df=this[_0xf8da('0x54')][_0xf8da('0x6c')](this,_0x26c6b4['findBy']);if(_0xa0f0df){logger[_0xf8da('0x2c')](util['format'](_0xf8da('0x154'),this[_0xf8da('0xc')][_0xf8da('0x36')],_0x26c6b4[_0xf8da('0x151')]));this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')]('AGENT\x20%s\x20FOUND\x20BY',this[_0xf8da('0xc')]['callerid'],_0x26c6b4['findBy']));return{'code':0xc8,'result':_0xf8da('0x155')};}else{logger[_0xf8da('0x2c')](util['format'](_0xf8da('0x156'),this[_0xf8da('0xc')][_0xf8da('0x36')],_0x26c6b4['findBy']));this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x156'),this['channel'][_0xf8da('0x36')],_0x26c6b4['findBy']));return{'code':0xc8,'result':_0xf8da('0x157')};}};AGIVertices[_0xf8da('0xf')]['logout']=function(_0x1fa9e0){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x158'),_0x1fa9e0['label']));if(!this['isConfigured'](_0x1fa9e0[_0xf8da('0x151')])){return this['channel'][_0xf8da('0x2a')](_0x1fa9e0,_0xf8da('0x152'));}logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x153'),this[_0xf8da('0xc')][_0xf8da('0x36')],_0x1fa9e0[_0xf8da('0x151')]));var _0x241576=this['agentLogout'][_0xf8da('0x6c')](this,_0x1fa9e0[_0xf8da('0x151')]);if(_0x241576){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x154'),this[_0xf8da('0xc')][_0xf8da('0x36')],_0x1fa9e0[_0xf8da('0x151')]));this['channel'][_0xf8da('0xa2')](util['format'](_0xf8da('0x154'),this[_0xf8da('0xc')]['callerid'],_0x1fa9e0[_0xf8da('0x151')]));return{'code':0xc8,'result':_0xf8da('0x155')};}else{logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x156'),this[_0xf8da('0xc')][_0xf8da('0x36')],_0x1fa9e0[_0xf8da('0x151')]));this[_0xf8da('0xc')][_0xf8da('0xa2')](util['format']('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this['channel'][_0xf8da('0x36')],_0x1fa9e0[_0xf8da('0x151')]));return{'code':0xc8,'result':_0xf8da('0x157')};}};AGIVertices[_0xf8da('0xf')][_0xf8da('0x159')]=function(_0x31a7af){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x15a'),_0x31a7af[_0xf8da('0x34')]));if(!this[_0xf8da('0x81')](_0x31a7af[_0xf8da('0x15b')])){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x31a7af,_0xf8da('0x15c'));}this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x15d'),_0x31a7af[_0xf8da('0x15b')]));var _0x314218=eval(_0x31a7af['operation']);if(!this[_0xf8da('0x81')](_0x31a7af[_0xf8da('0xd5')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0xd4'));}var _0x46f25b=this[_0xf8da('0x10')][_0xf8da('0x6c')](this,_0x31a7af[_0xf8da('0xd5')]);if(!_0x46f25b){return this[_0xf8da('0xc')]['error'](_0x31a7af,_0xf8da('0xd6'));}if(_[_0xf8da('0x9b')](_0x314218)){var _0x290f9a=this;_0x314218['forEach'](function(_0xeb81f0,_0x5283f2){_0x290f9a[_0xf8da('0xc')]['setVariable'](util[_0xf8da('0x56')](_0xf8da('0x15e'),_0x46f25b,_0x5283f2),_0xeb81f0);});return this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x15f'),_0x46f25b));}else{return this['channel']['setVariable'](_0x46f25b,_0x314218);}};AGIVertices[_0xf8da('0xf')][_0xf8da('0x160')]=function(_0x5415b1){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')]('Enter\x20in\x20MENU\x20(%s)\x20block',_0x5415b1[_0xf8da('0x34')]));if(_0x5415b1[_0xf8da('0x10d')]===0x0){return this[_0xf8da('0xa1')](_0x5415b1);}_0x5415b1[_0xf8da('0x10d')]-=0x1;if(!this['isConfigured'](_0x5415b1['file_id'])){return this[_0xf8da('0xc')]['error'](_0x5415b1,'no\x20file\x20audio\x20selected');}var _0x55a060=this[_0xf8da('0x10f')][_0xf8da('0x6c')](this,_0x5415b1[_0xf8da('0x10e')]);if(!_0x55a060){return this[_0xf8da('0xc')]['error'](_0x5415b1,_0xf8da('0x161'));}var _0x2ff97c=this['channel'][_0xf8da('0x162')](_0x55a060,_0x5415b1[_0xf8da('0x163')],_0x5415b1[_0xf8da('0x164')]);var _0x313170=_0x2ff97c[_0xf8da('0xa5')];if(_0x2ff97c[_0xf8da('0xa5')]===-0x1){this[_0xf8da('0x33')][_0xf8da('0x6c')](this,_0x5415b1,'-1');return _0x2ff97c;}else if(_0x2ff97c[_0xf8da('0x9d')]===_0xf8da('0x63')){_0x2ff97c[_0xf8da('0xa5')]=_0x2ff97c[_0xf8da('0xa5')]['length']>0x0?_0x2ff97c[_0xf8da('0xa5')]:'t';}else if(_['isEmpty'](_0x2ff97c['result'])){_0x2ff97c[_0xf8da('0xa5')]='#';_0x313170='#';}if(!this['isConfigured'](_0x5415b1['variable_id'])){this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0xd4'));}else{var _0x1970c9=this['getVariable'][_0xf8da('0x6c')](this,_0x5415b1['variable_id']);if(!_0x1970c9){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x5415b1,_0xf8da('0xd6'));}this[_0xf8da('0xc')]['setVariable'](_0x1970c9,_0x313170);}this[_0xf8da('0x33')][_0xf8da('0x6c')](this,_0x5415b1,_0x313170);return _0x2ff97c;};AGIVertices[_0xf8da('0xf')][_0xf8da('0xa2')]=function(_0x405d26){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')]('Enter\x20in\x20NOOP\x20(%s)\x20block',_0x405d26[_0xf8da('0x34')]));return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0x405d26[_0xf8da('0x165')]||_0x405d26[_0xf8da('0x34')]);};AGIVertices[_0xf8da('0xf')][_0xf8da('0x166')]=function(_0x5a2e03){logger[_0xf8da('0x2c')](util['format']('Enter\x20in\x20PAUSE\x20(%s)\x20block',_0x5a2e03['label']));if(!this[_0xf8da('0x81')](_0x5a2e03['findBy'])){return this[_0xf8da('0xc')]['error'](_0x5a2e03,'no\x20find\x20by\x20configured');}logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x153'),this[_0xf8da('0xc')][_0xf8da('0x36')],_0x5a2e03[_0xf8da('0x151')]));var _0x2cc95b=this[_0xf8da('0x4d')]['sync'](this,_0x5a2e03[_0xf8da('0x167')]);var _0x39bf0f=this[_0xf8da('0x4f')]['sync'](this,_0x5a2e03['findBy'],_0x2cc95b);if(_0x39bf0f){logger['info'](util[_0xf8da('0x56')](_0xf8da('0x154'),this[_0xf8da('0xc')][_0xf8da('0x36')],_0x5a2e03[_0xf8da('0x151')]));this[_0xf8da('0xc')][_0xf8da('0xa2')](util['format'](_0xf8da('0x154'),this['channel'][_0xf8da('0x36')],_0x5a2e03[_0xf8da('0x151')]));return{'code':0xc8,'result':_0xf8da('0x155')};}else{logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x156'),this['channel'][_0xf8da('0x36')],_0x5a2e03['findBy']));this['channel'][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x154'),this[_0xf8da('0xc')]['callerid'],_0x5a2e03[_0xf8da('0x151')]));return{'code':0xc8,'result':_0xf8da('0x157')};}};AGIVertices[_0xf8da('0xf')][_0xf8da('0x168')]=function(_0x201032){logger[_0xf8da('0x2c')](util['format'](_0xf8da('0x169'),_0x201032[_0xf8da('0x34')]));if(!this[_0xf8da('0x81')](_0x201032['file_id'])){return this[_0xf8da('0xc')]['error'](_0x201032,_0xf8da('0x16a'));}var _0x329898=this[_0xf8da('0x10f')][_0xf8da('0x6c')](this,_0x201032['file_id']);if(!_0x329898){return this[_0xf8da('0xc')]['error'](_0x201032,_0xf8da('0x161'));}var _0x560e8f=this['channel'][_0xf8da('0x57')](_0xf8da('0x16b'),[_0x329898,_0x201032[_0xf8da('0xe3')]]);if(_0x560e8f[_0xf8da('0xa5')]===-0x1){return _0x560e8f;}return this[_0xf8da('0xc')][_0xf8da('0xa2')](util['format'](_0xf8da('0x16c'),'PLAYBACK',_0x329898));};AGIVertices[_0xf8da('0xf')]['queue']=function(_0xfbe7e2){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x16d'),_0xfbe7e2[_0xf8da('0x34')]));if(!this[_0xf8da('0x81')](_0xfbe7e2['queue_id'])){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0xfbe7e2,_0xf8da('0x16e'));}var _0x17fbfb='';var _0x20ca34=parseInt(_0xfbe7e2['queue_id'],0xa);if(isNaN(_0x20ca34)){_0x17fbfb=_0xfbe7e2[_0xf8da('0x16f')];}else{_0x17fbfb=this['getVoiceQueue'][_0xf8da('0x6c')](this,_0xfbe7e2[_0xf8da('0x16f')]);if(!_0x17fbfb){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0xfbe7e2,_0xf8da('0x170'));}}var _0x2c1c5b='';if(this[_0xf8da('0x81')](_0xfbe7e2['file_id'])){var _0x36f075=this[_0xf8da('0x10f')]['sync'](this,_0xfbe7e2[_0xf8da('0x10e')]);if(_0x36f075){_0x2c1c5b=_0x36f075;}}this[_0xf8da('0x33')][_0xf8da('0x6c')](this,_0xfbe7e2,_0x17fbfb);if(_0xfbe7e2[_0xf8da('0xe3')][_0xf8da('0x171')]('x')<0x0){_0xfbe7e2[_0xf8da('0xe3')]+='x';}if(_0xfbe7e2['opts'][_0xf8da('0x171')]('X')<0x0){_0xfbe7e2[_0xf8da('0xe3')]+='X';}this['channel']['setVariable'](_0xf8da('0x172'),_0x17fbfb?_0x17fbfb['toLowerCase']():'');var _0x3c5483=this[_0xf8da('0xc')]['exec']('QUEUE',[_0x17fbfb,_0xfbe7e2['opts'],_0xfbe7e2['url'],_0x2c1c5b,_0xfbe7e2[_0xf8da('0x63')],_0xfbe7e2[_0xf8da('0x5')],_0xfbe7e2[_0xf8da('0x173')],_0xfbe7e2[_0xf8da('0x174')],'',_0xfbe7e2['position']]);if(_0x3c5483[_0xf8da('0xa5')]===-0x1){return _0x3c5483;}return this['channel'][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x16c'),_0xf8da('0x175'),_0x17fbfb));};AGIVertices[_0xf8da('0xf')][_0xf8da('0x176')]=function(_0x1a31e9){logger['info'](util[_0xf8da('0x56')](_0xf8da('0x177'),_0x1a31e9[_0xf8da('0x34')]));var _0x224990=_0x1a31e9['recordingFormat']||_0xf8da('0x12c');var _0x4e3ea1=util[_0xf8da('0x56')](_0xf8da('0x178'),this[_0xf8da('0xc')]['uniqueid'],rs[_0xf8da('0x116')](0x5));var _0x21282f=util[_0xf8da('0x56')]('%s/recordings/%s.%s',FILES_PATH,_0x4e3ea1,_0x224990);var _0x3d201b=util['format'](_0xf8da('0x12d'),FILES_PATH,_0x4e3ea1);this[_0xf8da('0x37')][_0xf8da('0x6c')](this,_0x1a31e9,_0x4e3ea1,_0x21282f);this[_0xf8da('0xc')][_0xf8da('0xa0')]('RECORDING_SAVENAME',_0x4e3ea1);logger[_0xf8da('0x2c')](_0xf8da('0x179'),_0x3d201b,_0x224990,_0x1a31e9[_0xf8da('0x17a')],_0x1a31e9[_0xf8da('0x63')]);return this[_0xf8da('0xc')][_0xf8da('0x12f')](_0x3d201b,_0x224990,_0x1a31e9['escape_digits'],_0x1a31e9['timeout'],undefined,!![]);};AGIVertices['prototype'][_0xf8da('0x17b')]=function(_0x46ce6e){logger['info'](util[_0xf8da('0x56')](_0xf8da('0x17c'),_0x46ce6e['label']));if(!this['isConfigured'](_0x46ce6e[_0xf8da('0x62')])){return this[_0xf8da('0xc')]['noop'](_0xf8da('0x17d'));}var _0x415513=this[_0xf8da('0x17e')][_0xf8da('0x6c')](this,_0x46ce6e);logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x17f'),util[_0xf8da('0x180')](_0x415513,{'showHidden':![],'depth':null})));if(!this[_0xf8da('0x81')](_0x46ce6e[_0xf8da('0xd5')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0x181'));}var _0x293eb5=this[_0xf8da('0x10')][_0xf8da('0x6c')](this,_0x46ce6e['variable_id']);if(!_0x293eb5){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x46ce6e,_0xf8da('0xd6'));}this[_0xf8da('0xc')][_0xf8da('0xa0')](util[_0xf8da('0x56')](_0xf8da('0x182'),_0x293eb5),_0x415513[_0xf8da('0x73')]?_0x415513[_0xf8da('0x73')]:_0xf8da('0x183'));this['channel']['setVariable'](util[_0xf8da('0x56')](_0xf8da('0x184'),_0x293eb5),_0x415513[_0xf8da('0x71')]?_0x415513['statusMessage']:'OK');if(_0x415513[_0xf8da('0x72')]){try{this[_0xf8da('0x99')](_0x415513[_0xf8da('0x72')],_0x293eb5);}catch(_0x2f5d8b){logger[_0xf8da('0x2a')](util[_0xf8da('0x56')](_0xf8da('0x185'),_0x293eb5));}}return this[_0xf8da('0xc')][_0xf8da('0xa2')](util['format'](_0xf8da('0xdb'),_0x293eb5));};AGIVertices['prototype'][_0xf8da('0x186')]=function(_0x59847b){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x187'),_0x59847b[_0xf8da('0x34')]));return this['channel'][_0xf8da('0x188')](_0x59847b[_0xf8da('0x189')][_0xf8da('0x59')](/\s+/g,''),_0x59847b[_0xf8da('0x17a')]);};AGIVertices['prototype'][_0xf8da('0x18a')]=function(_0x4e4084){logger[_0xf8da('0x2c')](util['format'](_0xf8da('0x18b'),_0x4e4084[_0xf8da('0x34')]));return this['channel'][_0xf8da('0x18c')](_0x4e4084[_0xf8da('0x64')][_0xf8da('0x59')](/\s+/g,''),_0x4e4084[_0xf8da('0x17a')]);};AGIVertices[_0xf8da('0xf')]['sayphonetic']=function(_0x1ae6ac){logger[_0xf8da('0x2c')](util['format']('Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block',_0x1ae6ac[_0xf8da('0x34')]));return this[_0xf8da('0xc')][_0xf8da('0x18d')](_0x1ae6ac[_0xf8da('0x5d')],_0x1ae6ac[_0xf8da('0x17a')]);};AGIVertices[_0xf8da('0xf')][_0xf8da('0x18e')]=function(_0x59a2f5){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')]('Enter\x20in\x20SENDMAIL\x20(%s)\x20block',_0x59a2f5[_0xf8da('0x34')]));if(!this['isConfigured'](_0x59a2f5[_0xf8da('0x18f')])){return this[_0xf8da('0xc')]['noop']('no\x20mail\x20account\x20configured');}var _0x2aeae5=this['getMailAccount'][_0xf8da('0x6c')](this,_0x59a2f5[_0xf8da('0x18f')]);if(!_0x2aeae5||!_0x2aeae5[_0xf8da('0x190')]){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x59a2f5,_0xf8da('0x191'));}var _0x32fd05={'from':util[_0xf8da('0x56')](_0xf8da('0x192'),_0x2aeae5['name'],_0x2aeae5['email']||_0x2aeae5['Smtp'][_0xf8da('0x193')]),'to':_0x59a2f5['to']||'','cc':_0x59a2f5['cc']||'','bcc':_0x59a2f5[_0xf8da('0x194')]||'','subject':_0x59a2f5['subject'],'html':_0x59a2f5[_0xf8da('0x5d')],'text':_0x59a2f5['text']};var _0x20cb14={'tls':{'rejectUnauthorized':![]}};if(_0x2aeae5[_0xf8da('0x190')][_0xf8da('0x195')]){_0x20cb14[_0xf8da('0x195')]=_0x2aeae5[_0xf8da('0x190')]['service'];}else{_0x20cb14[_0xf8da('0x196')]=_0x2aeae5[_0xf8da('0x190')][_0xf8da('0x196')];_0x20cb14[_0xf8da('0x197')]=_0x2aeae5[_0xf8da('0x190')][_0xf8da('0x197')];_0x20cb14['secure']=_0x2aeae5['Smtp'][_0xf8da('0x198')];}if(_0x2aeae5[_0xf8da('0x190')][_0xf8da('0x199')]){_0x20cb14['auth']={'user':_0x2aeae5['Smtp'][_0xf8da('0x193')],'pass':_0x2aeae5[_0xf8da('0x190')][_0xf8da('0x19a')]};}if(this[_0xf8da('0x81')](_0x59a2f5[_0xf8da('0x19b')])){}logger['debug'](_0xf8da('0x19c'),JSON[_0xf8da('0x6f')](_0x32fd05));this[_0xf8da('0x33')][_0xf8da('0x6c')](this,_0x59a2f5,_0x59a2f5[_0xf8da('0x18f')]);this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x19d'),_0x2aeae5['name']));this[_0xf8da('0x20')][_0xf8da('0x6c')](this,_0x20cb14,_0x32fd05);return this['channel']['noop'](_0xf8da('0x19e'));};AGIVertices[_0xf8da('0xf')]['sendFax']=function(_0x49bb41){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x19f'),_0x49bb41[_0xf8da('0x34')]));return this['channel']['noop'](_0xf8da('0x1a0'));};AGIVertices[_0xf8da('0xf')]['sendSMS']=function(_0x274c5c){logger['info'](util['format'](_0xf8da('0x1a1'),_0x274c5c[_0xf8da('0x34')]));if(!this['isConfigured'](_0x274c5c[_0xf8da('0x1a2')])){return this[_0xf8da('0xc')]['noop'](_0xf8da('0x1a3'));}var _0x4d6265=this[_0xf8da('0x31')]['sync'](this,_0x274c5c[_0xf8da('0x1a2')]);if(!_0x4d6265){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x274c5c,_0xf8da('0x1a4'));}var _0x3d021c={'body':_0x274c5c[_0xf8da('0x1a5')],'phone':_0x274c5c['to']||'','SmsAccountId':_0x4d6265['id']};logger[_0xf8da('0xdd')](_0xf8da('0x1a6'),JSON['stringify'](_0x3d021c));this['createSquareDetailsReport'][_0xf8da('0x6c')](this,_0x274c5c,_0x274c5c[_0xf8da('0x1a2')]);this[_0xf8da('0xc')][_0xf8da('0xa2')](util['format'](_0xf8da('0x1a7'),_0x4d6265[_0xf8da('0x12')]));this[_0xf8da('0x1a8')][_0xf8da('0x6c')](this,_0x3d021c);return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0x1a9'));};AGIVertices['prototype'][_0xf8da('0x1aa')]=function(_0xfdd869){logger['info'](util[_0xf8da('0x56')](_0xf8da('0x1ab'),_0xfdd869[_0xf8da('0x34')]));if(!this[_0xf8da('0x81')](_0xfdd869[_0xf8da('0xd5')])){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0xfdd869,_0xf8da('0x1ac'));}var _0x20717f=this['getVariable'][_0xf8da('0x6c')](this,_0xfdd869[_0xf8da('0xd5')]);if(!_0x20717f){return this[_0xf8da('0xc')]['error'](_0xfdd869,_0xf8da('0xd6'));}return this[_0xf8da('0xc')][_0xf8da('0xa0')](_0x20717f,_0xfdd869[_0xf8da('0x1ad')]);};AGIVertices[_0xf8da('0xf')][_0xf8da('0x1ae')]=function(_0x40360e){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')]('Enter\x20in\x20START\x20(%s)\x20block',_0x40360e[_0xf8da('0x34')]));this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0x1af'));if(_0x40360e[_0xf8da('0xb3')]===_0xf8da('0x1b0')){this[_0xf8da('0xc')]['noop'](_0xf8da('0x1b1'));return this[_0xf8da('0xc')]['answer']();}return this[_0xf8da('0xc')][_0xf8da('0xa2')]('Skipped\x20Answer');};AGIVertices[_0xf8da('0xf')][_0xf8da('0x1b2')]=function(_0x1e3656){logger['info'](util[_0xf8da('0x56')](_0xf8da('0x1b3'),_0x1e3656['label']));if(!this[_0xf8da('0x81')](_0x1e3656[_0xf8da('0x1b4')])){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x1e3656,'no\x20subproject\x20selected');}var _0x15df73=this[_0xf8da('0x15')][_0xf8da('0x6c')](this,_0x1e3656[_0xf8da('0x1b4')]);if(!this['isConfigured'](_0x15df73)){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x1e3656,util[_0xf8da('0x56')]('no\x20subproject\x20found\x20with\x20id\x20%d',_0x1e3656[_0xf8da('0x1b4')]));}if(_0x15df73===this['channel'][_0xf8da('0x35')]){return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x1e3656,'project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project');}this[_0xf8da('0x33')]['sync'](this,_0x1e3656,_0x15df73);var _0x4a9fd3=this[_0xf8da('0xc')][_0xf8da('0x57')]('AGI',util['format']('agi://%s/square,\x22%s\x22,\x22%s\x22',config[_0xf8da('0x5')]['host']||_0xf8da('0x1b5'),_0x15df73,this['channel'][_0xf8da('0x35')]));if(_0x4a9fd3[_0xf8da('0xa5')]===-0x1){return _0x4a9fd3;}return this[_0xf8da('0xc')][_0xf8da('0xa2')](util['format'](_0xf8da('0x16c'),_0xf8da('0x1b6'),_0x15df73));};AGIVertices['prototype'][_0xf8da('0x1b7')]=function(_0x1e2717){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x1b8'),_0x1e2717[_0xf8da('0x34')]));var _0x17f1d3=this[_0xf8da('0x1b9')]['sync'](this,_0x1e2717[_0xf8da('0xb1')]);this['createSquareDetailsReport'][_0xf8da('0x6c')](this,_0x1e2717,_0x1e2717[_0xf8da('0xb1')]);if(this[_0xf8da('0x81')](_0x1e2717[_0xf8da('0xd5')])){var _0xbf525f=this[_0xf8da('0x10')][_0xf8da('0x6c')](this,_0x1e2717[_0xf8da('0xd5')]);if(_0xbf525f){this['channel'][_0xf8da('0xa0')](_0xbf525f,_0x17f1d3);return this[_0xf8da('0xc')][_0xf8da('0xa2')](util['format'](_0xf8da('0x1ba'),_0x1e2717[_0xf8da('0xb1')],_0xbf525f));}}return this['channel'][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x1bb'),_0x1e2717['command']));};AGIVertices[_0xf8da('0xf')][_0xf8da('0x1bc')]=function(_0x1f8708){logger[_0xf8da('0x2c')](util['format']('Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block',_0x1f8708[_0xf8da('0x34')]));_0x1f8708[_0xf8da('0x5d')]=_0x1f8708['text']['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0xf8da('0x81')](_0x1f8708[_0xf8da('0x5b')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')]('no\x20apiKey\x20configured');}if(!this[_0xf8da('0x81')](_0x1f8708[_0xf8da('0x5d')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0xa3'));}this['channel'][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x1bd'),_0x1f8708['text']));var _0x1b5d4d=this[_0xf8da('0x5a')][_0xf8da('0x6c')](this,_0x1f8708);if(_0x1b5d4d){this['channel'][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x1be'),_0x1b5d4d));var _0x5808c9=this['channel'][_0xf8da('0xfd')](_0x1b5d4d);try{fs[_0xf8da('0xfe')](_0x1b5d4d+_0xf8da('0xff'));}catch(_0x43ac23){logger['error'](_0x43ac23);}return _0x5808c9;}return this[_0xf8da('0xc')][_0xf8da('0x2a')](_0x1f8708,_0xf8da('0x1bf'));};AGIVertices[_0xf8da('0xf')][_0xf8da('0x1c0')]=function(_0x9cc56e){logger[_0xf8da('0x2c')](util['format']('Enter\x20in\x20GOOGLETTS\x20(%s)\x20block',_0x9cc56e['label']));_0x9cc56e['text']=_0x9cc56e['text']['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0xf8da('0x81')](_0x9cc56e[_0xf8da('0x5d')])){return this[_0xf8da('0xc')][_0xf8da('0xa2')](_0xf8da('0xa3'));}this[_0xf8da('0xc')]['noop'](util[_0xf8da('0x56')](_0xf8da('0x1c1'),_0x9cc56e[_0xf8da('0x5d')]));var _0x6d2b2a=this[_0xf8da('0x60')][_0xf8da('0x6c')](this,_0x9cc56e);if(_0x6d2b2a){this[_0xf8da('0xc')]['noop'](util[_0xf8da('0x56')](_0xf8da('0x1c2'),_0x6d2b2a));var _0x56e1cb=this[_0xf8da('0xc')]['streamFile'](_0x6d2b2a);try{fs['unlink'](_0x6d2b2a+_0xf8da('0xff'));}catch(_0x352870){logger[_0xf8da('0x2a')](_0x352870);}return _0x56e1cb;}return this[_0xf8da('0xc')]['error'](_0x9cc56e,'Google\x20TTS\x20is\x20unreachable');};AGIVertices[_0xf8da('0xf')][_0xf8da('0x1c3')]=function(_0x2b1703){logger[_0xf8da('0x2c')](util['format']('Enter\x20in\x20UNPAUSE\x20(%s)\x20block',_0x2b1703[_0xf8da('0x34')]));if(!this['isConfigured'](_0x2b1703[_0xf8da('0x151')])){return this[_0xf8da('0xc')]['error'](_0x2b1703,'no\x20find\x20by\x20configured');}logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x153'),this[_0xf8da('0xc')][_0xf8da('0x36')],_0x2b1703[_0xf8da('0x151')]));var _0xa7662a=this[_0xf8da('0x50')][_0xf8da('0x6c')](this,_0x2b1703[_0xf8da('0x151')]);if(_0xa7662a){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x154'),this[_0xf8da('0xc')][_0xf8da('0x36')],_0x2b1703[_0xf8da('0x151')]));this[_0xf8da('0xc')][_0xf8da('0xa2')](util[_0xf8da('0x56')](_0xf8da('0x154'),this[_0xf8da('0xc')]['callerid'],_0x2b1703[_0xf8da('0x151')]));return{'code':0xc8,'result':_0xf8da('0x155')};}else{logger['info'](util['format']('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0xf8da('0xc')][_0xf8da('0x36')],_0x2b1703['findBy']));this[_0xf8da('0xc')]['noop'](util[_0xf8da('0x56')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0xf8da('0xc')][_0xf8da('0x36')],_0x2b1703[_0xf8da('0x151')]));return{'code':0xc8,'result':_0xf8da('0x157')};}};AGIVertices[_0xf8da('0xf')][_0xf8da('0x1c4')]=function(_0xa363ce){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x1c5'),_0xa363ce[_0xf8da('0x34')]));var _0xcfd2e8=this[_0xf8da('0xc')][_0xf8da('0x57')](_0xf8da('0x1c6'),[_0xa363ce[_0xf8da('0x1c7')],_0xa363ce[_0xf8da('0x75')]]);if(_0xcfd2e8[_0xf8da('0xa5')]===-0x1){return _0xcfd2e8;}return this[_0xf8da('0xc')][_0xf8da('0xa2')](util['format']('Executed\x20command\x20%s\x20%s',_0xf8da('0x1c6'),_0xa363ce[_0xf8da('0x1c7')]));};AGIVertices[_0xf8da('0xf')][_0xf8da('0x1c8')]=function(_0x5a50be){logger[_0xf8da('0x2c')](util[_0xf8da('0x56')](_0xf8da('0x1c9'),_0x5a50be['label']));if(!this[_0xf8da('0x81')](_0x5a50be[_0xf8da('0xd5')])){return this['channel'][_0xf8da('0x2a')](_0x5a50be,_0xf8da('0x1ac'));}var _0x44afab=this[_0xf8da('0x10')][_0xf8da('0x6c')](this,_0x5a50be[_0xf8da('0xd5')]);if(!_0x44afab){return this['channel'][_0xf8da('0x2a')](_0x5a50be,'no\x20variable\x20found');}var _0x145bdb=this[_0xf8da('0xc')][_0xf8da('0x10')](_0x44afab);return{'code':0xc8,'result':_0x145bdb[_0xf8da('0x9d')]?_0x145bdb[_0xf8da('0x9d')]:'-'};};String['prototype'][_0xf8da('0x1ca')]=function(_0xeb0aee,_0xb05a7c){return this['split'](_0xeb0aee)['join'](_0xb05a7c);};module[_0xf8da('0x1cb')]=AGIVertices;
\ No newline at end of file