Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / services / agi / vertices.js
index 7564cdb..3967553 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf19b=['audiofile','streamFile','unlink','SestekNDA\x20Result\x20%s','SestekNDA\x20is\x20unreachable','end','Enter\x20in\x20END\x20(%s)\x20block','ext_dial','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','trunk_id','no\x20trunk\x20selected','no\x20trunk\x20found','trunk_name','finally','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','retry','file_id','no\x20file\x20audio\x20selected','no\x20file\x20audio\x20found','getData','response','test','mindigit','maxdigit','hiddendigitsnum','hiddendigitspos','first','substr','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','goal','goalname','GOAL\x20%s','awspolly','no\x20valid\x20credentials\x20configured','aws\x20Polly\x20%s\x20file\x20created','.wav','aws\x20Polly\x20is\x20unreachable','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','no\x20bot\x20name\x20configured','AWS_LEX_%s','Amazon\x20Lex\x20ready\x20for\x20fulfillment','message','Amazon\x20Lex\x20Result\x20%s','Amazon\x20Lex\x20is\x20unreachable','googleasr','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','wav','%s/recordings/%s','generate','%s.%s','beep','NOBEEP','GOOGLE_ASR_%s','stringify','Enter\x20in\x20TILDEASR\x20(%s)\x20block','no\x20appid\x20configured','no\x20appsecret\x20configured','recordFile','intKey','tilde\x20%s\x20file\x20created','TildeASR\x20Result\x20%s','gotoc','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','interval_id','no\x20intervals\x20found','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','true','hangup','Enter\x20in\x20HANGUP\x20(%s)\x20block','ispeechasr','ispeech\x20%s\x20file\x20created','ISPEECH_ASR_%s','IspeechASR\x20Result\x20%s','Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block','Trying\x20ispeech\x20TTS\x20%s','ispeech\x20TTS\x20is\x20unreachable','login','Enter\x20in\x20LOGIN\x20(%s)\x20block','findBy','no\x20find\x20by\x20configured','FIND\x20AGENT\x20%s\x20BY\x20%s','AGENT\x20%s\x20FOUND\x20BY','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','logout','Enter\x20in\x20LOGOUT\x20(%s)\x20block','math','Enter\x20in\x20MATH\x20(%s)\x20block','operation','no\x20operation\x20configured','isArray','%s[%s]','variable\x20%s[key]\x20set','Enter\x20in\x20MENU\x20(%s)\x20block','digit','Enter\x20in\x20NOOP\x20(%s)\x20block','output','pause','pause_id','playback','PLAYBACK','Enter\x20in\x20QUEUE\x20(%s)\x20block','queue_id','no\x20queue\x20found','indexOf','XMCS-QUEUE','toLowerCase','macro','gosub','position','QUEUE','record','Enter\x20in\x20RECORD\x20(%s)\x20block','recordingFormat','%s_%s','%s/recordings/%s.%s','RECORDING_SAVENAME','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','sayDigits','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','number','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','sayPhonetic','sendMail','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','no\x20mail\x20account\x20configured','getMailAccount','account_id','Smtp','no\x20mail\x20account\x20found','\x22%s\x22\x20<%s>','email','bcc','subject','service','host','port','secure','authentication','auth','user','Trying\x20SendMail\x20with\x20account\x20%s','sendFax','Enter\x20in\x20SENDFAX\x20(%s)\x20block','sendSMS','sms_account_id','no\x20sms\x20account\x20found','sms_text','Sms\x20message\x20added\x20to\x20outgoing\x20process','Enter\x20in\x20SET\x20(%s)\x20block','Enter\x20in\x20START\x20(%s)\x20block','Answer','Skipped\x20Answer','subproject','project_id','no\x20subproject\x20selected','no\x20subproject\x20found\x20with\x20id\x20%d','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','AGI','127.0.0.1','system','Enter\x20in\x20SYSTEM\x20(%s)\x20block','tts','Enter\x20in\x20GOOGLETTS\x20(%s)\x20block','Trying\x20Google\x20TTS\x20%s','Google\x20TTS\x20%s\x20file\x20created','Google\x20TTS\x20is\x20unreachable','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','mailbox','vswitch','no\x20variable\x20selected','lodash','shelljs','odbc','moment','mustache','../../config/logger','agi','../../config/environment','/var/opt/motion2/server/files','menu','getdigits','getsecretdigits','channel','rpc','prototype','getVariable','getVariableById','then','catch','getVoiceQueue','getVoiceQueueById','name','getSquareProjectById','getSquareOdbc','getSquareOdbcById','dsn','getUser','getTrunk','getTrunkById','getSound','getSoundById','getSoundPath','save_name','sendMailMessage','getIntervals','map','format','getQueryOdbc','open','error','info','ODBC\x20connection\x20successfully','query','Query\x20executed\x20correctly\x20%s','Error\x20closing\x20connection\x20to\x20odbc\x20%s','getSmsAccount','createSmsMessage','createSquareDetailsReport','uniqueid','label','createSquareRecording','calleridname','context','extension','priority','accountcode','arg_1','file','createSquareMessage','createCmContact','isEmpty','callback_','random','list_id','scheduledAt','callback','Callback\x20scheduled\x20at\x20','toString','callback_priority','getPause','getPauseById','agentPause','agent','callerid','isNil','agentUnpause','agentLogout','agentLogin','%s/%s@from-sip/n','LOCAL','shellCommand','exec','trim','replace','googleTTS','text','google_tts_language','googleDialogflow','key','dialogflow_language','ispeechTTS','ispeech_tts_language','en-US','ispeechASR','ispeech_asr_language','isConfigured','model','awsPolly','aws_access_key_id','aws_secret_access_key','aws_polly_region','Amy','aws_text_type','awsLex','aws_bot_name','googleASR','google_asr_language','tildeASR','appid','appsecret','uri','agicommand','clone','hasOwnProperty','isString','replaceAllVariables','split','length','replaceAll','extra','getAndSetVariable','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','setVariable','sync','maxRetry','Enter\x20in\x20AGI\x20(%s)\x20block','command','args','timeout','wait','answer','Enter\x20in\x20CALLBACK\x20(%s)\x20block','no\x20list\x20selected','delay','add','minutes','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','phone','custom_app','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','application','result','noop','Executed\x20command\x20%s\x20%s','options','lumenvoxtts','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','no\x20text\x20configured','MRCPSynth','Executed\x20command\x20MRCPSynth\x20%s','sestektts','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','lumenvoxasr','grammar','no\x20grammar\x20configured','RECOG_CONFIDENCE()','RECOG_INPUT()','LUMENVOX_ASR_TRANSCRIPT','LUMENVOX_ASR_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','MRCPRecog','SESTEK_ASR_CONFIDENCE','SESTEK_ASR_TRANSCRIPT','RECOG_INSTANCE()','SESTEK_ASR_INSTANCE','Enter\x20in\x20DATABASE\x20(%s)\x20block','odbc_id','no\x20odbc\x20database\x20found','no\x20query\x20configured','variable_id','no\x20variable\x20selected\x20for\x20the\x20result','no\x20variable\x20found','forEach','%s[%s][%s]','%s_ROWS_COUNT','variable\x20%s\x20set','dial','debug','sip_id','no\x20user\x20selected','no\x20user\x20found','DIAL','SIP/%s','opts','url','Executed\x20command\x20%s','dialogflow','Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block','no\x20key\x20configured','bot','Trying\x20Dialogflow:\x20%s','DIALOGFLOW_%s','speech','out','Dialogflow\x20Result\x20%s','sesteknda','ndauth_url','no\x20ndauth\x20url\x20configured','username','no\x20username\x20configured','password','no\x20password\x20configured','ndassistant_url','toUpperCase','Sestek\x20NDA\x20%s\x20file\x20created'];(function(_0x408f70,_0x13f687){var _0x47da4f=function(_0x44e988){while(--_0x44e988){_0x408f70['push'](_0x408f70['shift']());}};_0x47da4f(++_0x13f687);}(_0xf19b,0xba));var _0xbf19=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0xf19b[_0x465028];return _0xb783d4;};'use strict';var fs=require('fs');var path=require('path');var util=require('util');var _=require(_0xbf19('0x0'));var sh=require(_0xbf19('0x1'));var odbc=require(_0xbf19('0x2'))();var rs=require('randomstring');var moment=require(_0xbf19('0x3'));var Mustache=require(_0xbf19('0x4'));var logger=require(_0xbf19('0x5'))(_0xbf19('0x6'));var config=require(_0xbf19('0x7'));var scripts=require('./scripts');var FILES_PATH=_0xbf19('0x8');var verticesWithRetry=[_0xbf19('0x9'),_0xbf19('0xa'),_0xbf19('0xb')];var AGIVertices=function(_0x1b35d1,_0x3068b7,_0x56a381){this[_0xbf19('0xc')]=_0x1b35d1;this[_0xbf19('0xd')]=_0x3068b7;this['mailRpc']=_0x56a381;};AGIVertices[_0xbf19('0xe')][_0xbf19('0xf')]=function(_0x4df8aa,_0x4ad3eb){this[_0xbf19('0xd')][_0xbf19('0x10')](_0x4df8aa)[_0xbf19('0x11')](function(_0xd56cb5){_0x4ad3eb(null,_0xd56cb5?_0xd56cb5['name']:![]);})[_0xbf19('0x12')](function(_0x4d3a07){_0x4ad3eb(_0x4d3a07);});};AGIVertices['prototype'][_0xbf19('0x13')]=function(_0x283ae6,_0xf033e5){this['rpc'][_0xbf19('0x14')](_0x283ae6)['then'](function(_0x44b4c2){_0xf033e5(null,_0x44b4c2?_0x44b4c2[_0xbf19('0x15')]:![]);})[_0xbf19('0x12')](function(_0x3345c3){_0xf033e5(_0x3345c3);});};AGIVertices['prototype']['getSquareProject']=function(_0x115d5b,_0x222fba){this['rpc'][_0xbf19('0x16')](_0x115d5b)[_0xbf19('0x11')](function(_0x2bb370){_0x222fba(null,_0x2bb370?_0x2bb370[_0xbf19('0x15')]:![]);})['catch'](function(_0xfec9ec){_0x222fba(_0xfec9ec);});};AGIVertices['prototype'][_0xbf19('0x17')]=function(_0x4c175f,_0x54f3c2){this['rpc'][_0xbf19('0x18')](_0x4c175f)[_0xbf19('0x11')](function(_0x39f918){_0x54f3c2(null,_0x39f918?_0x39f918[_0xbf19('0x19')]:![]);})[_0xbf19('0x12')](function(_0x2398e4){_0x54f3c2(_0x2398e4);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x1a')]=function(_0x104244,_0x39c5f9){this[_0xbf19('0xd')]['getUserById'](_0x104244)[_0xbf19('0x11')](function(_0x11d2c7){_0x39c5f9(null,_0x11d2c7?_0x11d2c7['name']:![]);})[_0xbf19('0x12')](function(_0x3fda13){_0x39c5f9(_0x3fda13);});};AGIVertices['prototype'][_0xbf19('0x1b')]=function(_0x3a174f,_0x2aa88e){this['rpc'][_0xbf19('0x1c')](_0x3a174f)[_0xbf19('0x11')](function(_0x514b0c){_0x2aa88e(null,_0x514b0c?_0x514b0c[_0xbf19('0x15')]:![]);})[_0xbf19('0x12')](function(_0x5bb3ea){_0x2aa88e(_0x5bb3ea);});};AGIVertices['prototype'][_0xbf19('0x1d')]=function(_0x454ad3,_0x5a3554){var _0x21347c=this;this[_0xbf19('0xd')][_0xbf19('0x1e')](_0x454ad3)[_0xbf19('0x11')](function(_0x3b23c5){_0x5a3554(null,_0x3b23c5?_0x21347c[_0xbf19('0x1f')](_0x3b23c5[_0xbf19('0x20')]):![]);})['catch'](function(_0x486075){_0x5a3554(_0x486075);});};AGIVertices[_0xbf19('0xe')]['getMailAccount']=function(_0xa2aecd,_0xdebbea){this['rpc']['getMailAccountById'](_0xa2aecd)[_0xbf19('0x11')](function(_0x577e84){_0xdebbea(null,_0x577e84?_0x577e84:![]);})[_0xbf19('0x12')](function(_0x370a86){_0xdebbea(_0x370a86);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x21')]=function(_0x3f4083,_0x37d409,_0x2e38a7){this['mailRpc'][_0xbf19('0x21')](_0x3f4083,_0x37d409)['then'](function(){_0x2e38a7(null);})[_0xbf19('0x12')](function(_0x377d58){_0x2e38a7(_0x377d58);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x22')]=function(_0x32828f,_0x4b609f){this[_0xbf19('0xd')]['getIntervalById'](_0x32828f)[_0xbf19('0x11')](function(_0x15676c){if(_0x15676c){if(_0x15676c['IntervalId']){_0x4b609f(null,[_0x15676c['interval']]);}else{_0x4b609f(null,_[_0xbf19('0x23')](_0x15676c['Intervals'],'interval'));}}else{_0x4b609f(null,![]);}})[_0xbf19('0x12')](function(_0x6fa4e3){_0x4b609f(_0x6fa4e3);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x1f')]=function(_0x1d2680){return util[_0xbf19('0x24')]('%s/sounds/converted/%s',FILES_PATH,_0x1d2680);};AGIVertices['prototype'][_0xbf19('0x25')]=function(_0x27e65c,_0x1d731f,_0x2f817f){odbc[_0xbf19('0x26')](_0x27e65c,function(_0x283ab0){if(_0x283ab0){logger[_0xbf19('0x27')]('Error\x20getting\x20ODBC\x20connection\x20%s',_0x283ab0);_0x2f817f(_0x283ab0);}else{logger[_0xbf19('0x28')](_0xbf19('0x29'));odbc[_0xbf19('0x2a')](_0x1d731f,function(_0x31f510,_0x213602){if(_0x31f510){logger[_0xbf19('0x28')]('Error\x20executing\x20query\x20%s',_0x1d731f);_0x2f817f(_0x31f510);}else{logger['info'](_0xbf19('0x2b'),_0x1d731f);odbc['close'](function(_0x41cca0){if(_0x41cca0){logger['error'](_0xbf19('0x2c'),_0x41cca0);}_0x2f817f(null,_0x213602);});}});}});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x2d')]=function(_0x312736,_0x32b9db){this[_0xbf19('0xd')]['getSmsAccountById'](_0x312736)['then'](function(_0x248bdb){_0x32b9db(null,_0x248bdb?_0x248bdb:![]);})[_0xbf19('0x12')](function(_0x2ffa92){_0x32b9db(_0x2ffa92);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x2e')]=function(_0x1f88df,_0x1d9190){this[_0xbf19('0xd')][_0xbf19('0x2e')](_0x1f88df)['then'](function(_0x28f3e3){_0x1d9190(null,_0x28f3e3);})[_0xbf19('0x12')](function(_0x6b909e){_0x1d9190(_0x6b909e);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x2f')]=function(_0x2b18ab,_0x3e3995,_0xe9f62){this[_0xbf19('0xd')][_0xbf19('0x2f')]({'uniqueid':this['channel'][_0xbf19('0x30')],'node':_0x2b18ab[_0xbf19('0x31')],'application':_0x2b18ab['agicommand'],'data':_0x3e3995||null,'project_name':this[_0xbf19('0xc')]['arg_1'],'callerid':this[_0xbf19('0xc')]['callerid']})[_0xbf19('0x11')](function(_0x35b450){if(_0xe9f62){_0xe9f62(null,_0x35b450);}})['catch'](function(_0x36677a){if(_0xe9f62){_0xe9f62(_0x36677a);}});};AGIVertices['prototype'][_0xbf19('0x32')]=function(_0x4805ca,_0x44ea05,_0x6c5076,_0x5a1016){this['rpc']['createSquareRecording']({'uniqueid':this[_0xbf19('0xc')][_0xbf19('0x30')],'callerid':this[_0xbf19('0xc')]['callerid'],'calleridname':this['channel'][_0xbf19('0x33')],'context':this[_0xbf19('0xc')][_0xbf19('0x34')],'extension':this[_0xbf19('0xc')][_0xbf19('0x35')],'priority':this[_0xbf19('0xc')][_0xbf19('0x36')],'accountcode':this['channel'][_0xbf19('0x37')],'dnid':this[_0xbf19('0xc')]['dnid'],'projectName':this[_0xbf19('0xc')][_0xbf19('0x38')],'saveName':_0x44ea05,'filename':_0x4805ca[_0xbf19('0x39')]||_0x44ea05,'savePath':_0x6c5076})['then'](function(_0xc197e7){_0x5a1016(null,_0xc197e7);})[_0xbf19('0x12')](function(_0x363e30){_0x5a1016(_0x363e30);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x3a')]=function(_0x36169b,_0x478ff6,_0x1604e9){this[_0xbf19('0xd')]['createSquareMessage']({'uniqueid':this['channel']['uniqueid'],'body':_0x36169b,'direction':_0x478ff6})['then'](function(_0x52c5e2){if(_0x1604e9){_0x1604e9(null,_0x52c5e2);}})[_0xbf19('0x12')](function(_0x438c7e){if(_0x1604e9){_0x1604e9(_0x438c7e);}});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x3b')]=function(_0x4ceba0,_0x2c1886){this[_0xbf19('0xd')][_0xbf19('0x3b')]({'firstName':_[_0xbf19('0x3c')](_0x4ceba0[_0xbf19('0x15')])||_['isNil'](_0x4ceba0[_0xbf19('0x15')])?_0xbf19('0x3d')+Math[_0xbf19('0x3e')]():_0x4ceba0[_0xbf19('0x15')],'lastName':_[_0xbf19('0x3c')](_0x4ceba0['lastName'])||_['isNil'](_0x4ceba0['lastName'])?null:_0x4ceba0['lastName'],'phone':_0x4ceba0['phone'],'ListId':_0x4ceba0[_0xbf19('0x3f')],'scheduledAt':_0x4ceba0[_0xbf19('0x40')],'callbackUniqueid':this[_0xbf19('0xc')][_0xbf19('0x30')],'tags':_0xbf19('0x41'),'description':_0xbf19('0x42')+_0x4ceba0[_0xbf19('0x40')][_0xbf19('0x43')](),'priority':_0x4ceba0[_0xbf19('0x44')]})['then'](function(_0x1ba495){_0x2c1886(null,_0x1ba495);})[_0xbf19('0x12')](function(_0x53478e){_0x2c1886(_0x53478e);});};AGIVertices['prototype'][_0xbf19('0x45')]=function(_0x57e83f,_0x10d3b){this['rpc'][_0xbf19('0x46')](_0x57e83f)[_0xbf19('0x11')](function(_0x254e85){_0x10d3b(null,_0x254e85?_0x254e85[_0xbf19('0x15')]:![]);})['catch'](function(_0x12571f){_0x10d3b(_0x12571f);});};AGIVertices['prototype'][_0xbf19('0x47')]=function(_0x1bc318,_0x120352,_0x302850){var _0x79c8cb={'role':_0xbf19('0x48')};_0x79c8cb[_0x1bc318]=this[_0xbf19('0xc')][_0xbf19('0x49')];this[_0xbf19('0xd')][_0xbf19('0x47')](_0x79c8cb,_0x120352,this[_0xbf19('0xc')][_0xbf19('0x30')])[_0xbf19('0x11')](function(_0x19bd44){_0x302850(null,_[_0xbf19('0x4a')](_0x19bd44)?![]:!![]);})[_0xbf19('0x12')](function(_0x424a73){logger[_0xbf19('0x27')](_0x424a73);_0x302850(null,![]);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x4b')]=function(_0x2abaed,_0x182012){var _0x327183={'role':_0xbf19('0x48')};_0x327183[_0x2abaed]=this[_0xbf19('0xc')]['callerid'];this[_0xbf19('0xd')]['agentUnpause'](_0x327183)[_0xbf19('0x11')](function(_0x5a5728){_0x182012(null,_['isNil'](_0x5a5728)?![]:!![]);})[_0xbf19('0x12')](function(_0x4bd2ab){logger['error'](_0x4bd2ab);_0x182012(null,![]);});};AGIVertices[_0xbf19('0xe')]['agentLogout']=function(_0xe9e499,_0x5d5228){var _0x3eb2e1={'role':_0xbf19('0x48')};_0x3eb2e1[_0xe9e499]=this[_0xbf19('0xc')][_0xbf19('0x49')];this[_0xbf19('0xd')][_0xbf19('0x4c')](_0x3eb2e1)[_0xbf19('0x11')](function(_0x29f00a){_0x5d5228(null,_[_0xbf19('0x4a')](_0x29f00a)?![]:!![]);})[_0xbf19('0x12')](function(_0x398d37){logger['error'](_0x398d37);_0x5d5228(null,![]);});};AGIVertices['prototype'][_0xbf19('0x4d')]=function(_0x5d1036,_0x7560de){var _0x5f2356={'role':_0xbf19('0x48')};_0x5f2356[_0x5d1036]=this[_0xbf19('0xc')][_0xbf19('0x49')];var _0x569fc8=_0x5d1036!='internal'?util[_0xbf19('0x24')](_0xbf19('0x4e'),_0xbf19('0x4f'),this['channel'][_0xbf19('0x49')]):undefined;this[_0xbf19('0xd')][_0xbf19('0x4d')](_0x5f2356,_0x569fc8)[_0xbf19('0x11')](function(_0x50220e){_0x7560de(null,_['isNil'](_0x50220e)?![]:!![]);})[_0xbf19('0x12')](function(_0x152ef5){logger[_0xbf19('0x27')](_0x152ef5);_0x7560de(null,![]);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x50')]=function(_0x554f34,_0x342475){sh[_0xbf19('0x51')](_[_0xbf19('0x52')](_0x554f34),function(_0xeebc4a,_0x4b4629){var _0x449ff2=_0x4b4629[_0xbf19('0x53')](/(\r\n|\n|\r)/gm,'');_0x342475(null,_0x449ff2);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x54')]=function(_0x1197ff,_0x4650b4){scripts[_0xbf19('0x54')](_0x1197ff[_0xbf19('0x55')],_0x1197ff[_0xbf19('0x56')]||'en',0x1)[_0xbf19('0x11')](function(_0x5e04d1){_0x4650b4(null,_0x5e04d1);})[_0xbf19('0x12')](function(_0x3b0bec){_0x4650b4(_0x3b0bec);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x57')]=function(_0x3aed7a,_0x1717e6){scripts[_0xbf19('0x57')](this[_0xbf19('0xc')]['uniqueid'],_0x3aed7a[_0xbf19('0x58')],_0x3aed7a['text'],_0x3aed7a[_0xbf19('0x59')]||'en')[_0xbf19('0x11')](function(_0x4ff402){_0x1717e6(null,_0x4ff402);})['catch'](function(_0x412d37){_0x1717e6(_0x412d37);});};AGIVertices[_0xbf19('0xe')]['sestekNDA']=function(_0x35d2d1,_0x4d7af4){scripts['sestekNDA'](this['channel'],_0x35d2d1)['then'](function(_0x206889){_0x4d7af4(null,_0x206889);})[_0xbf19('0x12')](function(_0xd85458){_0x4d7af4(_0xd85458);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x5a')]=function(_0x544c70,_0x1838d5){scripts['ispeechTTS'](_0x544c70['key'],_0x544c70[_0xbf19('0x55')],_0x544c70[_0xbf19('0x5b')]||_0xbf19('0x5c'),_0x544c70['speed'])[_0xbf19('0x11')](function(_0x114239){_0x1838d5(null,_0x114239);})[_0xbf19('0x12')](function(_0x108837){_0x1838d5(_0x108837);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x5d')]=function(_0x2fb654,_0x492010,_0x3d0e50){scripts[_0xbf19('0x5d')](_0x492010,_0x2fb654[_0xbf19('0x58')],_0x2fb654[_0xbf19('0x5e')]||'en-US',this[_0xbf19('0x5f')](_0x2fb654[_0xbf19('0x60')])?_0x2fb654['model']:undefined)[_0xbf19('0x11')](function(_0x5bcf82){_0x3d0e50(null,_0x5bcf82);})[_0xbf19('0x12')](function(_0x3eff7f){_0x3d0e50(_0x3eff7f);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x61')]=function(_0x447ec3,_0x171a6e){scripts[_0xbf19('0x61')](_0x447ec3[_0xbf19('0x62')],_0x447ec3[_0xbf19('0x63')],_0x447ec3[_0xbf19('0x64')],_0x447ec3['aws_polly_voice']||_0xbf19('0x65'),_0x447ec3[_0xbf19('0x55')],_0x447ec3[_0xbf19('0x66')]||_0xbf19('0x55'))[_0xbf19('0x11')](function(_0x4a277f){_0x171a6e(null,_0x4a277f);})[_0xbf19('0x12')](function(_0x14df19){_0x171a6e(_0x14df19);});};AGIVertices[_0xbf19('0xe')]['awsLex']=function(_0x5a0a50,_0x31e762){scripts[_0xbf19('0x67')](this[_0xbf19('0xc')]['uniqueid'],_0x5a0a50['aws_access_key_id'],_0x5a0a50[_0xbf19('0x63')],_0x5a0a50['aws_lex_region'],_0x5a0a50[_0xbf19('0x55')],_0x5a0a50[_0xbf19('0x68')])['then'](function(_0x2a3409){_0x31e762(null,_0x2a3409);})[_0xbf19('0x12')](function(_0xc295c9){_0x31e762(_0xc295c9);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x69')]=function(_0x1005d9,_0x28683d,_0x18059d){scripts[_0xbf19('0x69')](_0x28683d,_0x1005d9[_0xbf19('0x58')],_0x1005d9[_0xbf19('0x6a')]||_0xbf19('0x5c'))[_0xbf19('0x11')](function(_0xcfeacd){_0x18059d(null,_0xcfeacd);})[_0xbf19('0x12')](function(_0x312b00){_0x18059d(_0x312b00);});};AGIVertices[_0xbf19('0xe')][_0xbf19('0x6b')]=function(_0x16430a,_0x1320e8,_0xa3647){scripts[_0xbf19('0x6b')](_0x1320e8,_0x16430a[_0xbf19('0x6c')],_0x16430a[_0xbf19('0x6d')],_0x16430a[_0xbf19('0x6e')])[_0xbf19('0x11')](function(_0x1ab512){_0xa3647(null,_0x1ab512);})['catch'](function(_0x3a9af){_0xa3647(_0x3a9af);});};AGIVertices[_0xbf19('0xe')]['clear']=function(_0x344ca3){var _0x299f28=_['includes'](verticesWithRetry,_0x344ca3[_0xbf19('0x6f')])?_0x344ca3:_[_0xbf19('0x70')](_0x344ca3);for(var _0x500cdc in _0x299f28){if(_0x299f28[_0xbf19('0x71')](_0x500cdc)){if(_0x299f28[_0x500cdc]&&_[_0xbf19('0x72')](_0x299f28[_0x500cdc])){_0x299f28[_0x500cdc]=this['replaceAllVariables'](_0x299f28[_0x500cdc]);}}}return _0x299f28;};AGIVertices['prototype'][_0xbf19('0x73')]=function(_0x202d22){var _0x5748fd=_0x202d22[_0xbf19('0x74')]('{');for(var _0x4b9bc6=0x1;_0x4b9bc6<_0x5748fd[_0xbf19('0x75')];_0x4b9bc6+=0x1){var _0x856727=_0x5748fd[_0x4b9bc6][_0xbf19('0x74')]('}');if(_0x856727['length']>0x1){_0x202d22=_0x202d22[_0xbf19('0x76')]('{'+_0x856727[0x0]+'}',this[_0xbf19('0xc')]['getVariable'](_0x856727[0x0])[_0xbf19('0x77')]||_0x856727[0x0]);}}if(_0x5748fd[_0xbf19('0x75')]===0x1){return _0x202d22[_0xbf19('0x43')]();}return this['replaceAllVariables'](_0x202d22);};AGIVertices['prototype'][_0xbf19('0x78')]=function(_0x559e2a,_0x41175f){var _0x58eb5b=this[_0xbf19('0xc')][_0xbf19('0xf')](_0x559e2a);if(_0x58eb5b['result']===-0x1){return _0x58eb5b;}logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x79'),_0x41175f,_0x58eb5b[_0xbf19('0x77')]));return this[_0xbf19('0xc')][_0xbf19('0x7a')](_0x41175f,_0x58eb5b[_0xbf19('0x77')]);};AGIVertices[_0xbf19('0xe')][_0xbf19('0x5f')]=function(_0x4d9fc2){return _0x4d9fc2&&_0x4d9fc2!=='0'&&_0x4d9fc2!=='-1'&&_0x4d9fc2!=='';};AGIVertices[_0xbf19('0xe')]['maxRetry']=function(_0x3b2782){this['createSquareDetailsReport'][_0xbf19('0x7b')](this,_0x3b2782,'-');_0x3b2782['retry']=_0x3b2782[_0xbf19('0x7c')];return{'code':0xc8,'result':'-'};};AGIVertices[_0xbf19('0xe')]['agi']=function(_0x5e420c){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x7d'),_0x5e420c['label']));return this[_0xbf19('0xc')][_0xbf19('0x6')]([_0x5e420c[_0xbf19('0x7e')],_0x5e420c[_0xbf19('0x7f')]]);};AGIVertices[_0xbf19('0xe')]['answer']=function(_0x36056e){logger[_0xbf19('0x28')](util['format']('Enter\x20in\x20ANSWER\x20(%s)\x20block',_0x36056e['label']));if(this[_0xbf19('0x5f')](_0x36056e[_0xbf19('0x80')])){logger[_0xbf19('0x28')](util[_0xbf19('0x24')]('Wait\x20%s\x20seconds\x20before\x20answer',_0x36056e[_0xbf19('0x80')]));var _0x5dcb6d=this[_0xbf19('0xc')][_0xbf19('0x81')](_0x36056e[_0xbf19('0x80')]);if(_0x5dcb6d['result']===-0x1){return _0x5dcb6d;}}return this[_0xbf19('0xc')][_0xbf19('0x82')]();};AGIVertices[_0xbf19('0xe')][_0xbf19('0x41')]=function(_0x4cdfd5){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x83'),_0x4cdfd5[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x4cdfd5[_0xbf19('0x3f')])){return this[_0xbf19('0xc')]['error'](_0x4cdfd5,_0xbf19('0x84'));}_0x4cdfd5['scheduledAt']=moment();if(this['isConfigured'](_0x4cdfd5[_0xbf19('0x85')])){_0x4cdfd5[_0xbf19('0x40')]=moment()[_0xbf19('0x86')](_0x4cdfd5['delay'],_0xbf19('0x87'));}if(!this[_0xbf19('0x5f')](_0x4cdfd5[_0xbf19('0x44')])){_0x4cdfd5['callback_priority']=0x2;}this['createCmContact'][_0xbf19('0x7b')](this,_0x4cdfd5);return this['channel']['noop'](util['format'](_0xbf19('0x88'),_0x4cdfd5[_0xbf19('0x89')],_0x4cdfd5[_0xbf19('0x3f')],_0x4cdfd5['scheduledAt']));};AGIVertices['prototype'][_0xbf19('0x8a')]=function(_0x451c48){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x8b'),_0x451c48[_0xbf19('0x31')]));var _0x1116b9=this[_0xbf19('0xc')][_0xbf19('0x51')](_0x451c48[_0xbf19('0x8c')],_0x451c48['options']);if(_0x1116b9[_0xbf19('0x8d')]===-0x1){return _0x1116b9;}return this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x8f'),_0x451c48['application'],_0x451c48[_0xbf19('0x90')]));};AGIVertices[_0xbf19('0xe')][_0xbf19('0x91')]=function(_0x29ae39){logger['info'](util[_0xbf19('0x24')](_0xbf19('0x92'),_0x29ae39['label']));if(!this['isConfigured'](_0x29ae39[_0xbf19('0x55')])){return this['channel']['noop'](_0xbf19('0x93'));}var _0x18c1d6='\x22'+_0x29ae39[_0xbf19('0x55')]+'\x22';if(this[_0xbf19('0x5f')](_0x29ae39['options'])){_0x18c1d6+=','+_0x29ae39[_0xbf19('0x90')];}var _0xebc639=this[_0xbf19('0xc')][_0xbf19('0x51')](_0xbf19('0x94'),_0x18c1d6);if(_0xebc639[_0xbf19('0x8d')]===-0x1){return _0xebc639;}return this[_0xbf19('0xc')]['noop'](util[_0xbf19('0x24')](_0xbf19('0x95'),_0x18c1d6));};AGIVertices[_0xbf19('0xe')][_0xbf19('0x96')]=function(_0xfbbfb4){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x97'),_0xfbbfb4[_0xbf19('0x31')]));if(!this['isConfigured'](_0xfbbfb4['text'])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0x93'));}var _0x3ee6cd='\x22'+_0xfbbfb4[_0xbf19('0x55')]+'\x22';if(this[_0xbf19('0x5f')](_0xfbbfb4[_0xbf19('0x90')])){_0x3ee6cd+=','+_0xfbbfb4[_0xbf19('0x90')];}var _0x591474=this[_0xbf19('0xc')][_0xbf19('0x51')]('MRCPSynth',_0x3ee6cd);if(_0x591474[_0xbf19('0x8d')]===-0x1){return _0x591474;}return this['channel'][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x95'),_0x3ee6cd));};AGIVertices['prototype'][_0xbf19('0x98')]=function(_0x3feb2f){logger['info'](util[_0xbf19('0x24')]('Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block',_0x3feb2f[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x3feb2f[_0xbf19('0x99')])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0x9a'));}var _0x5f4281=_0x3feb2f[_0xbf19('0x99')];if(this['isConfigured'](_0x3feb2f[_0xbf19('0x90')])){_0x5f4281+=','+_0x3feb2f[_0xbf19('0x90')];}var _0x436f76=this['channel'][_0xbf19('0x51')]('MRCPRecog',_0x5f4281);if(_0x436f76['result']===-0x1){return _0x436f76;}var _0x526418=this[_0xbf19('0x78')](_0xbf19('0x9b'),'LUMENVOX_ASR_CONFIDENCE');if(_0x526418[_0xbf19('0x8d')]===-0x1){return _0x526418;}var _0x33ad51=this[_0xbf19('0x78')](_0xbf19('0x9c'),_0xbf19('0x9d'));if(_0x33ad51[_0xbf19('0x8d')]===-0x1){return _0x33ad51;}var _0xeee8f0=this['getAndSetVariable']('RECOG_INSTANCE()',_0xbf19('0x9e'));if(_0xeee8f0['result']===-0x1){return _0xeee8f0;}return this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x9f'),_0x5f4281));};AGIVertices[_0xbf19('0xe')]['sestekasr']=function(_0x27256b){logger['info'](util[_0xbf19('0x24')]('Enter\x20in\x20SESTEKASR\x20(%s)\x20block',_0x27256b[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x27256b[_0xbf19('0x99')])){return this[_0xbf19('0xc')][_0xbf19('0x8e')]('no\x20grammar\x20configured');}var _0x5d44ad=_0x27256b[_0xbf19('0x99')];if(this[_0xbf19('0x5f')](_0x27256b[_0xbf19('0x90')])){_0x5d44ad+=','+_0x27256b[_0xbf19('0x90')];}var _0x2827d6=this[_0xbf19('0xc')][_0xbf19('0x51')](_0xbf19('0xa0'),_0x5d44ad);if(_0x2827d6[_0xbf19('0x8d')]===-0x1){return _0x2827d6;}var _0x3f92e1=this[_0xbf19('0x78')](_0xbf19('0x9b'),_0xbf19('0xa1'));if(_0x3f92e1['result']===-0x1){return _0x3f92e1;}var _0x41cda8=this['getAndSetVariable']('RECOG_INPUT()',_0xbf19('0xa2'));if(_0x41cda8['result']===-0x1){return _0x41cda8;}var _0x2cfd43=this[_0xbf19('0x78')](_0xbf19('0xa3'),_0xbf19('0xa4'));if(_0x2cfd43['result']===-0x1){return _0x2cfd43;}return this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x9f'),_0x5d44ad));};AGIVertices[_0xbf19('0xe')]['database']=function(_0x357451){logger['info'](util['format'](_0xbf19('0xa5'),_0x357451[_0xbf19('0x31')]));if(!this['isConfigured'](_0x357451[_0xbf19('0xa6')])){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x357451,'no\x20database\x20selected');}var _0x314b8e=this[_0xbf19('0x17')]['sync'](this,_0x357451[_0xbf19('0xa6')]);if(!_0x314b8e){return this[_0xbf19('0xc')]['error'](_0x357451,_0xbf19('0xa7'));}if(!this[_0xbf19('0x5f')](_0x357451['query'])){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x357451,_0xbf19('0xa8'));}var _0x242670=_0x357451[_0xbf19('0x2a')]['replace'](/(\r\n|\n|\r)/gm,'\x20');this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')]('query:\x20%s',_0x242670));var _0x787c04=this[_0xbf19('0x25')]['sync'](this,_0x314b8e,_0x242670);this[_0xbf19('0x2f')][_0xbf19('0x7b')](this,_0x357451,_0x242670);if(!this[_0xbf19('0x5f')](_0x357451[_0xbf19('0xa9')])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0xaa'));}var _0x5a4b42=this['getVariable'][_0xbf19('0x7b')](this,_0x357451[_0xbf19('0xa9')]);if(!_0x5a4b42){return this[_0xbf19('0xc')]['error'](_0x357451,_0xbf19('0xab'));}var _0x4b782c=this;_0x787c04['forEach'](function(_0x1cd3f0,_0x309c58){Object['keys'](_0x1cd3f0)[_0xbf19('0xac')](function(_0x5274c2){_0x4b782c['channel'][_0xbf19('0x7a')](util['format'](_0xbf19('0xad'),_0x5a4b42,_0x309c58,_0x5274c2),_0x1cd3f0[_0x5274c2]);});});this[_0xbf19('0xc')][_0xbf19('0x7a')](util[_0xbf19('0x24')](_0xbf19('0xae'),_0x5a4b42),_0x787c04['length']);return this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0xaf'),_0x5a4b42));};AGIVertices['prototype'][_0xbf19('0xb0')]=function(_0x56b9dc){logger[_0xbf19('0xb1')](util[_0xbf19('0x24')]('Enter\x20in\x20DIAL\x20(%s)\x20block',_0x56b9dc[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x56b9dc[_0xbf19('0xb2')])){return this[_0xbf19('0xc')]['error'](_0x56b9dc,_0xbf19('0xb3'));}var _0x114836=this[_0xbf19('0x1a')][_0xbf19('0x7b')](this,_0x56b9dc[_0xbf19('0xb2')]);if(!_0x114836){return this['channel'][_0xbf19('0x27')](_0x56b9dc,_0xbf19('0xb4'));}var _0x3b2c7d=this[_0xbf19('0xc')][_0xbf19('0x51')](_0xbf19('0xb5'),[util['format'](_0xbf19('0xb6'),_0x114836),_0x56b9dc[_0xbf19('0x80')],_0x56b9dc[_0xbf19('0xb7')],_0x56b9dc[_0xbf19('0xb8')]]);if(_0x3b2c7d[_0xbf19('0x8d')]===-0x1){return _0x3b2c7d;}return this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0xb9'),_0xbf19('0xb5')));};AGIVertices[_0xbf19('0xe')][_0xbf19('0xba')]=function(_0x2f94bd){logger[_0xbf19('0x28')](util['format'](_0xbf19('0xbb'),_0x2f94bd[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x2f94bd[_0xbf19('0x58')])){return this['channel'][_0xbf19('0x8e')](_0xbf19('0xbc'));}if(!this['isConfigured'](_0x2f94bd[_0xbf19('0x55')])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0x93'));}this['channel'][_0xbf19('0xbd')]=!![];this[_0xbf19('0x2f')](_0x2f94bd);this['createSquareMessage'](_0x2f94bd['text'],'in');this[_0xbf19('0xc')]['noop'](util[_0xbf19('0x24')](_0xbf19('0xbe'),_0x2f94bd[_0xbf19('0x55')]));var _0x4bcb27=this[_0xbf19('0x57')]['sync'](this,_0x2f94bd);if(_0x4bcb27){for(var _0x6e0952 in _0x4bcb27){if(_0x4bcb27['hasOwnProperty'](_0x6e0952)){this['channel'][_0xbf19('0x7a')](util[_0xbf19('0x24')](_0xbf19('0xbf'),_0x6e0952['toUpperCase']()),_0x4bcb27[_0x6e0952]);}}this[_0xbf19('0x3a')](_0x4bcb27[_0xbf19('0xc0')],_0xbf19('0xc1'));return this[_0xbf19('0xc')]['noop'](util['format'](_0xbf19('0xc2'),_0x4bcb27[_0xbf19('0xc0')]));}return this['channel'][_0xbf19('0x27')](_0x2f94bd,'Dialogflow\x20is\x20unreachable');};AGIVertices[_0xbf19('0xe')][_0xbf19('0xc3')]=function(_0x5e4ba0){logger[_0xbf19('0x28')](util[_0xbf19('0x24')]('Enter\x20in\x20SESTEKNDA\x20(%s)\x20block',_0x5e4ba0[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x5e4ba0[_0xbf19('0xc4')])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0xc5'));}if(!this[_0xbf19('0x5f')](_0x5e4ba0[_0xbf19('0xc6')])){return this[_0xbf19('0xc')]['noop'](_0xbf19('0xc7'));}if(!this[_0xbf19('0x5f')](_0x5e4ba0[_0xbf19('0xc8')])){return this['channel'][_0xbf19('0x8e')](_0xbf19('0xc9'));}if(!this[_0xbf19('0x5f')](_0x5e4ba0[_0xbf19('0xca')])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0x93'));}this[_0xbf19('0xc')][_0xbf19('0xbd')]=!![];this[_0xbf19('0x2f')](_0x5e4ba0);this[_0xbf19('0x3a')](_0x5e4ba0[_0xbf19('0x55')],'in');this['channel'][_0xbf19('0x8e')](util['format']('Trying\x20SestekNDA:\x20%s',_0x5e4ba0[_0xbf19('0x55')]));var _0x4411f5=this['sestekNDA'][_0xbf19('0x7b')](this,_0x5e4ba0);if(_0x4411f5){for(var _0x47e7f8 in _0x4411f5){if(_0x4411f5[_0xbf19('0x71')](_0x47e7f8)){this[_0xbf19('0xc')]['setVariable'](util[_0xbf19('0x24')]('SESTEK_NDA_%s',_0x47e7f8[_0xbf19('0xcb')]()),_0x4411f5[_0x47e7f8]);}}this[_0xbf19('0x3a')](_0x4411f5['speech'],_0xbf19('0xc1'));if(_0x4411f5['audiofile']){this['channel']['noop'](util[_0xbf19('0x24')](_0xbf19('0xcc'),_0x4411f5[_0xbf19('0xcd')]));var _0x132f0e=this[_0xbf19('0xc')][_0xbf19('0xce')](_0x4411f5[_0xbf19('0xcd')]);try{fs[_0xbf19('0xcf')](_0x4411f5['audiofile']+'.wav');}catch(_0x22e779){logger['error'](_0x22e779);}return _0x132f0e;}else{return this[_0xbf19('0xc')]['noop'](util['format'](_0xbf19('0xd0'),_0x4411f5[_0xbf19('0xc0')]));}}return this['channel']['error'](_0x5e4ba0,_0xbf19('0xd1'));};AGIVertices[_0xbf19('0xe')][_0xbf19('0xd2')]=function(_0x5b9897){logger['info'](util[_0xbf19('0x24')](_0xbf19('0xd3'),_0x5b9897[_0xbf19('0x31')]));return this[_0xbf19('0xc')][_0xbf19('0x8e')]('end');};AGIVertices[_0xbf19('0xe')][_0xbf19('0xd4')]=function(_0x343bda){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0xd5'),_0x343bda[_0xbf19('0x31')]));var _0x1ff540='';if(_0x343bda[_0xbf19('0xd6')]){if(!this[_0xbf19('0x5f')](_0x343bda[_0xbf19('0xd6')])){return this[_0xbf19('0xc')]['error'](_0x343bda,_0xbf19('0xd7'));}else{var _0x288f14=parseInt(_0x343bda['trunk_id'],0xa);if(isNaN(_0x288f14)){_0x1ff540=_0x343bda['trunk_id'];}else{_0x1ff540=this[_0xbf19('0x1b')][_0xbf19('0x7b')](this,_0x343bda[_0xbf19('0xd6')]);if(!_0x1ff540){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x343bda,_0xbf19('0xd8'));}}}}else if(_0x343bda[_0xbf19('0xd9')]){_0x1ff540=_0x343bda['trunk_name'];}else{return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x343bda,_0xbf19('0xd7'));}var _0x3b05b4=this[_0xbf19('0xc')][_0xbf19('0x51')](_0xbf19('0xb5'),[util[_0xbf19('0x24')]('SIP/%s/%s',_0x1ff540,_0x343bda[_0xbf19('0x89')]),_0x343bda[_0xbf19('0x80')],_0x343bda[_0xbf19('0xb7')],_0x343bda[_0xbf19('0xb8')]]);if(_0x3b05b4[_0xbf19('0x8d')]===-0x1){return _0x3b05b4;}return this['channel'][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0xb9'),_0xbf19('0xb5')));};AGIVertices[_0xbf19('0xe')][_0xbf19('0xda')]=function(_0x1e0c37){logger[_0xbf19('0x28')](util[_0xbf19('0x24')]('Enter\x20in\x20FINALLY\x20(%s)\x20block',_0x1e0c37[_0xbf19('0x31')]));return this[_0xbf19('0xc')]['noop'](_0xbf19('0xda'));};AGIVertices[_0xbf19('0xe')]['getdigits']=function(_0x314a63){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0xdb'),_0x314a63[_0xbf19('0x31')]));if(_0x314a63['retry']===0x0){return this[_0xbf19('0x7c')](_0x314a63);}_0x314a63[_0xbf19('0xdc')]-=0x1;if(!this[_0xbf19('0x5f')](_0x314a63[_0xbf19('0xdd')])){return this[_0xbf19('0xc')]['error'](_0x314a63,_0xbf19('0xde'));}var _0x39abf7=this[_0xbf19('0x1d')][_0xbf19('0x7b')](this,_0x314a63['file_id']);if(!_0x39abf7){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x314a63,_0xbf19('0xdf'));}if(!this[_0xbf19('0x5f')](_0x314a63[_0xbf19('0xa9')])){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0xbf19('0xaa'));}var _0x145407=this['channel'][_0xbf19('0xe0')](_0x39abf7,_0x314a63[_0xbf19('0xe1')],_0x314a63['maxdigit']);var _0x19b7c7=_0x145407[_0xbf19('0x8d')]?_0x145407[_0xbf19('0x8d')]['toString']():'';logger[_0xbf19('0x28')](_0xbf19('0xe2'),JSON['stringify'](_0x145407));if(_0x145407['result']===-0x1){this[_0xbf19('0x2f')][_0xbf19('0x7b')](this,_0x314a63,_0x19b7c7);return _0x145407;}else if(_0x145407['extra']===_0xbf19('0x80')){_0x145407[_0xbf19('0x8d')]=_0x19b7c7[_0xbf19('0x75')]>=parseInt(_0x314a63[_0xbf19('0xe3')])?'x':'i';}else{_0x145407['result']=_0x19b7c7[_0xbf19('0x75')]>=parseInt(_0x314a63[_0xbf19('0xe3')])&&_0x19b7c7[_0xbf19('0x75')]<=parseInt(_0x314a63[_0xbf19('0xe4')])?'x':'i';}var _0x5b8dad=this[_0xbf19('0xf')][_0xbf19('0x7b')](this,_0x314a63[_0xbf19('0xa9')]);if(!_0x5b8dad){return this[_0xbf19('0xc')]['error'](_0x314a63,_0xbf19('0xab'));}this['channel'][_0xbf19('0x7a')](_0x5b8dad,_0x19b7c7);if(this['isConfigured'](_0x314a63[_0xbf19('0xe5')])){var _0x5c187b=parseInt(_0x314a63['hiddendigitsnum'],0xa);var _0x1f9893=rs['generate']({'charset':'*','length':_0x5c187b});var _0x2f920f=_0x19b7c7[_0xbf19('0x75')];if(_0x2f920f>0x0){if(_0x2f920f>_0x5c187b){this[_0xbf19('0x2f')][_0xbf19('0x7b')](this,_0x314a63,_0x314a63[_0xbf19('0xe6')]===_0xbf19('0xe7')?_0x1f9893+_0x19b7c7[_0xbf19('0xe8')](_0x5c187b):_0x19b7c7[_0xbf19('0xe8')](0x0,_0x2f920f-_0x5c187b)+_0x1f9893);}else{this[_0xbf19('0x2f')][_0xbf19('0x7b')](this,_0x314a63,rs['generate']({'charset':'*','length':_0x2f920f}));}}else{this[_0xbf19('0x2f')][_0xbf19('0x7b')](this,_0x314a63,'');}}else{this[_0xbf19('0x2f')][_0xbf19('0x7b')](this,_0x314a63,_0x19b7c7);}return _0x145407;};AGIVertices[_0xbf19('0xe')][_0xbf19('0xb')]=function(_0x59ad2a){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0xe9'),_0x59ad2a[_0xbf19('0x31')]));return this[_0xbf19('0xa')](_0x59ad2a);};AGIVertices[_0xbf19('0xe')][_0xbf19('0xea')]=function(_0xb89919){logger['info'](util[_0xbf19('0x24')]('Enter\x20in\x20GOAL\x20(%s)\x20block',_0xb89919[_0xbf19('0x31')]));this[_0xbf19('0x2f')][_0xbf19('0x7b')](this,_0xb89919,_0xb89919[_0xbf19('0xeb')]);return this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0xec'),_0xb89919[_0xbf19('0xeb')]));};AGIVertices[_0xbf19('0xe')][_0xbf19('0xed')]=function(_0x5550d9){logger[_0xbf19('0x28')](util[_0xbf19('0x24')]('[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block',_0x5550d9[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x5550d9[_0xbf19('0x62')])||!this[_0xbf19('0x5f')](_0x5550d9[_0xbf19('0x63')])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0xee'));}if(!this['isConfigured'](_0x5550d9[_0xbf19('0x55')])){return this[_0xbf19('0xc')]['noop'](_0xbf19('0x93'));}this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')]('Trying\x20aws\x20Polly\x20%s',_0x5550d9[_0xbf19('0x55')]));var _0x344623=this[_0xbf19('0x61')][_0xbf19('0x7b')](this,_0x5550d9);if(_0x344623){this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0xef'),_0x344623));var _0x5a5cbc=this[_0xbf19('0xc')]['streamFile'](_0x344623);try{fs['unlink'](_0x344623+_0xbf19('0xf0'));}catch(_0x378060){logger[_0xbf19('0x27')](_0x378060);}return _0x5a5cbc;}return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x5550d9,_0xbf19('0xf1'));};AGIVertices[_0xbf19('0xe')][_0xbf19('0xf2')]=function(_0x444b1b){logger['info'](util['format'](_0xbf19('0xf3'),_0x444b1b[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x444b1b['aws_access_key_id'])||!this[_0xbf19('0x5f')](_0x444b1b[_0xbf19('0x63')])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0xee'));}if(!this[_0xbf19('0x5f')](_0x444b1b[_0xbf19('0x68')])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0xf4'));}if(!this['isConfigured'](_0x444b1b[_0xbf19('0x55')])){return this[_0xbf19('0xc')]['noop'](_0xbf19('0x93'));}this[_0xbf19('0xc')][_0xbf19('0xbd')]=!![];this[_0xbf19('0x2f')](_0x444b1b);this['createSquareMessage'](_0x444b1b[_0xbf19('0x55')],'in');this['channel'][_0xbf19('0x8e')](util['format']('Trying\x20Amazon\x20Lex:\x20%s',_0x444b1b[_0xbf19('0x55')]));var _0xe3533a=this[_0xbf19('0x67')]['sync'](this,_0x444b1b);if(_0xe3533a){for(var _0x14338d in _0xe3533a){if(_0xe3533a[_0xbf19('0x71')](_0x14338d)&&_[_0xbf19('0x72')](_0xe3533a[_0x14338d])){this['channel']['setVariable'](util[_0xbf19('0x24')](_0xbf19('0xf5'),_0x14338d[_0xbf19('0xcb')]()),_0xe3533a[_0x14338d]);}}if(_[_0xbf19('0x4a')](_0xe3533a['message'])){return this[_0xbf19('0xc')]['noop'](_0xbf19('0xf6'));}else{this[_0xbf19('0x3a')](_0xe3533a[_0xbf19('0xf7')],_0xbf19('0xc1'));return this[_0xbf19('0xc')]['noop'](util[_0xbf19('0x24')](_0xbf19('0xf8'),_0xe3533a[_0xbf19('0xf7')]));}}return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x444b1b,_0xbf19('0xf9'));};AGIVertices[_0xbf19('0xe')][_0xbf19('0xfa')]=function(_0xdf0e8c){logger['info'](util[_0xbf19('0x24')](_0xbf19('0xfb'),_0xdf0e8c['label'],_0xdf0e8c[_0xbf19('0x80')]));if(!this['isConfigured'](_0xdf0e8c['key'])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0xbc'));}var _0x8ecea2=_0xbf19('0xfc');var _0x41de64=util['format'](_0xbf19('0xfd'),FILES_PATH,rs[_0xbf19('0xfe')](0x4));var _0x183626=util[_0xbf19('0x24')](_0xbf19('0xff'),_0x41de64,_0x8ecea2);var _0x1801e2=!![];if(_0xdf0e8c[_0xbf19('0x100')]===_0xbf19('0x101')){_0x1801e2=![];}var _0x3c8dfb=this['channel']['recordFile'](_0x41de64,_0x8ecea2,_0xdf0e8c['intKey'],_0xdf0e8c['timeout'],undefined,_0x1801e2);if(_0x3c8dfb[_0xbf19('0x8d')]!==-0x1){this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')]('google\x20%s\x20file\x20created',_0x183626));var _0x4024d5=this[_0xbf19('0x69')][_0xbf19('0x7b')](this,_0xdf0e8c,_0x183626);if(_0x4024d5){for(var _0x52fac2 in _0x4024d5){if(_0x4024d5[_0xbf19('0x71')](_0x52fac2)){this[_0xbf19('0xc')][_0xbf19('0x7a')](util[_0xbf19('0x24')](_0xbf19('0x102'),_0x52fac2['toUpperCase']()),_0x4024d5[_0x52fac2]);}}return this[_0xbf19('0xc')]['noop'](util[_0xbf19('0x24')]('GoogleASR\x20Result\x20%s',JSON[_0xbf19('0x103')](_0x4024d5)));}}return _0x3c8dfb;};AGIVertices[_0xbf19('0xe')]['tildeasr']=function(_0x427b31){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x104'),_0x427b31[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x427b31['appid'])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0x105'));}if(!this[_0xbf19('0x5f')](_0x427b31['appsecret'])){return this['channel'][_0xbf19('0x8e')](_0xbf19('0x106'));}var _0x14eb2e=_0xbf19('0xfc');var _0x1423de=util['format'](_0xbf19('0xfd'),FILES_PATH,rs[_0xbf19('0xfe')](0x4));var _0x1fc675=util[_0xbf19('0x24')](_0xbf19('0xff'),_0x1423de,_0x14eb2e);var _0x475914=!![];if(_0x427b31[_0xbf19('0x100')]==='NOBEEP'){_0x475914=![];}var _0x3e4623=this[_0xbf19('0xc')][_0xbf19('0x107')](_0x1423de,_0x14eb2e,_0x427b31[_0xbf19('0x108')],_0x427b31[_0xbf19('0x80')],undefined,_0x475914);if(_0x3e4623[_0xbf19('0x8d')]!==-0x1){this[_0xbf19('0xc')]['noop'](util[_0xbf19('0x24')](_0xbf19('0x109'),_0x1fc675));var _0x3fc145=this[_0xbf19('0x6b')]['sync'](this,_0x427b31,_0x1fc675);if(_0x3fc145){for(var _0x2a9603 in _0x3fc145){if(_0x3fc145[_0xbf19('0x71')](_0x2a9603)){this[_0xbf19('0xc')][_0xbf19('0x7a')](util['format']('TILDE_ASR_%s',_0x2a9603['toUpperCase']()),_0x3fc145[_0x2a9603]);}}return this[_0xbf19('0xc')]['noop'](util[_0xbf19('0x24')](_0xbf19('0x10a'),JSON['stringify'](_0x3fc145)));}}return _0x3e4623;};AGIVertices[_0xbf19('0xe')][_0xbf19('0x10b')]=function(_0x29372c){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x10c'),_0x29372c['label']));return this[_0xbf19('0xc')]['continueAt'](_0x29372c[_0xbf19('0x34')],_0x29372c[_0xbf19('0x35')],_0x29372c[_0xbf19('0x36')]);};AGIVertices[_0xbf19('0xe')][_0xbf19('0x10d')]=function(_0x538c83){logger['info'](util[_0xbf19('0x24')](_0xbf19('0x10e'),_0x538c83[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x538c83[_0xbf19('0x10f')])){return this['channel'][_0xbf19('0x27')](_0x538c83,_0xbf19('0x110'));}try{var _0x3a3935=eval(_0x538c83[_0xbf19('0x10f')])?'true':_0xbf19('0x111');this['channel'][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x112'),_0x538c83[_0xbf19('0x10f')],_0x3a3935));return{'code':0xc8,'result':_0x3a3935};}catch(_0x24fbba){return{'code':0xc8,'result':_0xbf19('0x111')};}};AGIVertices['prototype'][_0xbf19('0x113')]=function(_0x5d1522){logger[_0xbf19('0x28')](util['format']('Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block',_0x5d1522[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x5d1522[_0xbf19('0x114')])){return this['channel']['error'](_0x5d1522,'no\x20interval\x20configured');}var _0x2d75b1=this[_0xbf19('0x22')][_0xbf19('0x7b')](this,_0x5d1522[_0xbf19('0x114')]);if(!_0x2d75b1){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x5d1522,_0xbf19('0x115'));}for(var _0x1ecc24=0x0;_0x1ecc24<_0x2d75b1['length'];_0x1ecc24+=0x1){var _0x388ef4=this[_0xbf19('0xc')][_0xbf19('0xf')](util[_0xbf19('0x24')](_0xbf19('0x116'),_0x2d75b1[_0x1ecc24]));if(_0x388ef4[_0xbf19('0x8d')]===-0x1){return _0x388ef4;}logger[_0xbf19('0x28')](util['format'](_0xbf19('0x117'),_0x2d75b1[_0x1ecc24],_0x388ef4[_0xbf19('0x77')]));if(_0x388ef4[_0xbf19('0x77')]===_0xbf19('0x118')){logger['info'](util['format'](_0xbf19('0x117'),_0x2d75b1[_0x1ecc24],'true'));this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x117'),_0x2d75b1[_0x1ecc24],_0xbf19('0x118')));return{'code':0xc8,'result':_0xbf19('0x118')};}else{logger['info'](util[_0xbf19('0x24')](_0xbf19('0x117'),_0x2d75b1[_0x1ecc24],_0xbf19('0x111')));this[_0xbf19('0xc')]['noop'](util['format'](_0xbf19('0x117'),_0x2d75b1[_0x1ecc24],_0xbf19('0x111')));}}return{'code':0xc8,'result':_0xbf19('0x111')};};AGIVertices[_0xbf19('0xe')][_0xbf19('0x119')]=function(_0x49897f){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x11a'),_0x49897f['label']));return this['channel']['hangup']();};AGIVertices[_0xbf19('0xe')][_0xbf19('0x11b')]=function(_0x431e75){logger['info'](util[_0xbf19('0x24')]('Enter\x20in\x20ISPEECHASR\x20(%s)\x20block',_0x431e75[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x431e75['key'])){return this[_0xbf19('0xc')]['noop']('no\x20key\x20configured');}var _0x2317de='wav';var _0x12bb6b=util[_0xbf19('0x24')]('%s/recordings/%s',FILES_PATH,rs[_0xbf19('0xfe')](0x4));var _0x5ce44b=util[_0xbf19('0x24')]('%s.%s',_0x12bb6b,_0x2317de);var _0x4ba750=!![];if(_0x431e75['beep']==='NOBEEP'){_0x4ba750=![];}var _0x5ed55f=this[_0xbf19('0xc')][_0xbf19('0x107')](_0x12bb6b,_0x2317de,_0x431e75['intKey'],_0x431e75[_0xbf19('0x80')],undefined,_0x4ba750);if(_0x5ed55f[_0xbf19('0x8d')]!==-0x1){this[_0xbf19('0xc')]['noop'](util[_0xbf19('0x24')](_0xbf19('0x11c'),_0x5ce44b));var _0x58b12a=this[_0xbf19('0x5d')][_0xbf19('0x7b')](this,_0x431e75,_0x5ce44b);if(_0x58b12a){for(var _0x48d452 in _0x58b12a){if(_0x58b12a[_0xbf19('0x71')](_0x48d452)){this[_0xbf19('0xc')][_0xbf19('0x7a')](util[_0xbf19('0x24')](_0xbf19('0x11d'),_0x48d452['toUpperCase']()),_0x58b12a[_0x48d452]);}}return this['channel'][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x11e'),JSON['stringify'](_0x58b12a)));}}return _0x5ed55f;};AGIVertices[_0xbf19('0xe')]['ispeechtts']=function(_0x3677df){logger['info'](util[_0xbf19('0x24')](_0xbf19('0x11f'),_0x3677df['label']));if(!this[_0xbf19('0x5f')](_0x3677df[_0xbf19('0x58')])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0xbc'));}if(!this[_0xbf19('0x5f')](_0x3677df[_0xbf19('0x55')])){return this[_0xbf19('0xc')]['noop']('no\x20text\x20configured');}this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x120'),_0x3677df['text']));var _0x5bbdd0=this['ispeechTTS'][_0xbf19('0x7b')](this,_0x3677df);if(_0x5bbdd0){this[_0xbf19('0xc')]['noop'](util[_0xbf19('0x24')](_0xbf19('0x11c'),_0x5bbdd0));var _0x547462=this[_0xbf19('0xc')][_0xbf19('0xce')](_0x5bbdd0,_0x3677df[_0xbf19('0x108')]);try{fs['unlink'](_0x5bbdd0+_0xbf19('0xf0'));}catch(_0x8f49d2){logger['error'](_0x8f49d2);}return _0x547462;}return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x3677df,_0xbf19('0x121'));};AGIVertices[_0xbf19('0xe')][_0xbf19('0x122')]=function(_0x9c70ae){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x123'),_0x9c70ae[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x9c70ae[_0xbf19('0x124')])){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x9c70ae,_0xbf19('0x125'));}logger['info'](util['format'](_0xbf19('0x126'),this[_0xbf19('0xc')]['callerid'],_0x9c70ae['findBy']));var _0x5111e7=this[_0xbf19('0x4d')][_0xbf19('0x7b')](this,_0x9c70ae[_0xbf19('0x124')]);if(_0x5111e7){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x127'),this[_0xbf19('0xc')][_0xbf19('0x49')],_0x9c70ae[_0xbf19('0x124')]));this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x127'),this[_0xbf19('0xc')]['callerid'],_0x9c70ae['findBy']));return{'code':0xc8,'result':_0xbf19('0x128')};}else{logger['info'](util['format'](_0xbf19('0x129'),this[_0xbf19('0xc')]['callerid'],_0x9c70ae[_0xbf19('0x124')]));this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this['channel'][_0xbf19('0x49')],_0x9c70ae['findBy']));return{'code':0xc8,'result':_0xbf19('0x12a')};}};AGIVertices[_0xbf19('0xe')][_0xbf19('0x12b')]=function(_0x2f0178){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x12c'),_0x2f0178[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x2f0178[_0xbf19('0x124')])){return this['channel']['error'](_0x2f0178,'no\x20find\x20by\x20configured');}logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x126'),this['channel'][_0xbf19('0x49')],_0x2f0178['findBy']));var _0x1fe4cc=this['agentLogout'][_0xbf19('0x7b')](this,_0x2f0178[_0xbf19('0x124')]);if(_0x1fe4cc){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x127'),this['channel'][_0xbf19('0x49')],_0x2f0178[_0xbf19('0x124')]));this[_0xbf19('0xc')][_0xbf19('0x8e')](util['format'](_0xbf19('0x127'),this[_0xbf19('0xc')][_0xbf19('0x49')],_0x2f0178['findBy']));return{'code':0xc8,'result':_0xbf19('0x128')};}else{logger['info'](util['format'](_0xbf19('0x129'),this[_0xbf19('0xc')][_0xbf19('0x49')],_0x2f0178[_0xbf19('0x124')]));this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x129'),this[_0xbf19('0xc')]['callerid'],_0x2f0178['findBy']));return{'code':0xc8,'result':_0xbf19('0x12a')};}};AGIVertices[_0xbf19('0xe')][_0xbf19('0x12d')]=function(_0x229952){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x12e'),_0x229952['label']));if(!this[_0xbf19('0x5f')](_0x229952[_0xbf19('0x12f')])){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x229952,_0xbf19('0x130'));}this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')]('math\x20%s',_0x229952[_0xbf19('0x12f')]));var _0x4b57af=eval(_0x229952['operation']);if(!this['isConfigured'](_0x229952['variable_id'])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0xaa'));}var _0x41d421=this[_0xbf19('0xf')][_0xbf19('0x7b')](this,_0x229952[_0xbf19('0xa9')]);if(!_0x41d421){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x229952,_0xbf19('0xab'));}if(_[_0xbf19('0x131')](_0x4b57af)){var _0xc9323d=this;_0x4b57af[_0xbf19('0xac')](function(_0x179349,_0x22144a){_0xc9323d[_0xbf19('0xc')][_0xbf19('0x7a')](util[_0xbf19('0x24')](_0xbf19('0x132'),_0x41d421,_0x22144a),_0x179349);});return this['channel'][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x133'),_0x41d421));}else{return this[_0xbf19('0xc')][_0xbf19('0x7a')](_0x41d421,_0x4b57af);}};AGIVertices[_0xbf19('0xe')][_0xbf19('0x9')]=function(_0x435736){logger['info'](util['format'](_0xbf19('0x134'),_0x435736[_0xbf19('0x31')]));if(_0x435736[_0xbf19('0xdc')]===0x0){return this[_0xbf19('0x7c')](_0x435736);}_0x435736[_0xbf19('0xdc')]-=0x1;if(!this[_0xbf19('0x5f')](_0x435736[_0xbf19('0xdd')])){return this['channel'][_0xbf19('0x27')](_0x435736,_0xbf19('0xde'));}var _0x5be4ee=this[_0xbf19('0x1d')][_0xbf19('0x7b')](this,_0x435736['file_id']);if(!_0x5be4ee){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x435736,_0xbf19('0xdf'));}var _0x3e2a9f=this[_0xbf19('0xc')]['getData'](_0x5be4ee,_0x435736['response'],_0x435736[_0xbf19('0x135')]);var _0x496772=_0x3e2a9f[_0xbf19('0x8d')];if(_0x3e2a9f['result']===-0x1){this[_0xbf19('0x2f')][_0xbf19('0x7b')](this,_0x435736,'-1');return _0x3e2a9f;}else if(_0x3e2a9f[_0xbf19('0x77')]==='timeout'){_0x3e2a9f['result']=_0x3e2a9f[_0xbf19('0x8d')][_0xbf19('0x75')]>0x0?_0x3e2a9f['result']:'t';}else if(_[_0xbf19('0x3c')](_0x3e2a9f['result'])){_0x3e2a9f[_0xbf19('0x8d')]='#';_0x496772='#';}if(!this[_0xbf19('0x5f')](_0x435736['variable_id'])){this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0xaa'));}else{var _0x1c213e=this[_0xbf19('0xf')][_0xbf19('0x7b')](this,_0x435736['variable_id']);if(!_0x1c213e){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x435736,_0xbf19('0xab'));}this[_0xbf19('0xc')][_0xbf19('0x7a')](_0x1c213e,_0x496772);}this[_0xbf19('0x2f')]['sync'](this,_0x435736,_0x496772);return _0x3e2a9f;};AGIVertices[_0xbf19('0xe')]['noop']=function(_0x4f46be){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x136'),_0x4f46be[_0xbf19('0x31')]));return this['channel'][_0xbf19('0x8e')](_0x4f46be[_0xbf19('0x137')]||_0x4f46be[_0xbf19('0x31')]);};AGIVertices[_0xbf19('0xe')][_0xbf19('0x138')]=function(_0x26a7b0){logger[_0xbf19('0x28')](util[_0xbf19('0x24')]('Enter\x20in\x20PAUSE\x20(%s)\x20block',_0x26a7b0[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x26a7b0[_0xbf19('0x124')])){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x26a7b0,'no\x20find\x20by\x20configured');}logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x126'),this['channel']['callerid'],_0x26a7b0[_0xbf19('0x124')]));var _0x399165=this['getPause'][_0xbf19('0x7b')](this,_0x26a7b0[_0xbf19('0x139')]);var _0x377e5e=this[_0xbf19('0x47')][_0xbf19('0x7b')](this,_0x26a7b0[_0xbf19('0x124')],_0x399165);if(_0x377e5e){logger[_0xbf19('0x28')](util[_0xbf19('0x24')]('AGENT\x20%s\x20FOUND\x20BY',this[_0xbf19('0xc')][_0xbf19('0x49')],_0x26a7b0[_0xbf19('0x124')]));this[_0xbf19('0xc')]['noop'](util[_0xbf19('0x24')](_0xbf19('0x127'),this[_0xbf19('0xc')][_0xbf19('0x49')],_0x26a7b0[_0xbf19('0x124')]));return{'code':0xc8,'result':_0xbf19('0x128')};}else{logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x129'),this[_0xbf19('0xc')]['callerid'],_0x26a7b0[_0xbf19('0x124')]));this['channel'][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x127'),this[_0xbf19('0xc')][_0xbf19('0x49')],_0x26a7b0[_0xbf19('0x124')]));return{'code':0xc8,'result':_0xbf19('0x12a')};}};AGIVertices[_0xbf19('0xe')][_0xbf19('0x13a')]=function(_0x431664){logger[_0xbf19('0x28')](util[_0xbf19('0x24')]('Enter\x20in\x20PLAYBACK\x20(%s)\x20block',_0x431664[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x431664[_0xbf19('0xdd')])){return this['channel'][_0xbf19('0x27')](_0x431664,_0xbf19('0xde'));}var _0x23d08b=this[_0xbf19('0x1d')][_0xbf19('0x7b')](this,_0x431664[_0xbf19('0xdd')]);if(!_0x23d08b){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x431664,'no\x20file\x20audio\x20found');}var _0x40e54b=this[_0xbf19('0xc')][_0xbf19('0x51')](_0xbf19('0x13b'),[_0x23d08b,_0x431664[_0xbf19('0xb7')]]);if(_0x40e54b[_0xbf19('0x8d')]===-0x1){return _0x40e54b;}return this[_0xbf19('0xc')]['noop'](util[_0xbf19('0x24')](_0xbf19('0x8f'),_0xbf19('0x13b'),_0x23d08b));};AGIVertices[_0xbf19('0xe')]['queue']=function(_0x3354b4){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x13c'),_0x3354b4['label']));if(!this[_0xbf19('0x5f')](_0x3354b4[_0xbf19('0x13d')])){return this['channel']['error'](_0x3354b4,'no\x20queue\x20selected');}var _0x42dce6='';var _0x4ea167=parseInt(_0x3354b4[_0xbf19('0x13d')],0xa);if(isNaN(_0x4ea167)){_0x42dce6=_0x3354b4[_0xbf19('0x13d')];}else{_0x42dce6=this[_0xbf19('0x13')][_0xbf19('0x7b')](this,_0x3354b4['queue_id']);if(!_0x42dce6){return this['channel'][_0xbf19('0x27')](_0x3354b4,_0xbf19('0x13e'));}}var _0x2335a1='';if(this[_0xbf19('0x5f')](_0x3354b4[_0xbf19('0xdd')])){var _0x4f5e85=this['getSound'][_0xbf19('0x7b')](this,_0x3354b4[_0xbf19('0xdd')]);if(_0x4f5e85){_0x2335a1=_0x4f5e85;}}this['createSquareDetailsReport']['sync'](this,_0x3354b4,_0x42dce6);if(_0x3354b4[_0xbf19('0xb7')][_0xbf19('0x13f')]('x')<0x0){_0x3354b4[_0xbf19('0xb7')]+='x';}if(_0x3354b4[_0xbf19('0xb7')][_0xbf19('0x13f')]('X')<0x0){_0x3354b4[_0xbf19('0xb7')]+='X';}this['channel']['setVariable'](_0xbf19('0x140'),_0x42dce6?_0x42dce6[_0xbf19('0x141')]():'');var _0x14ad43=this[_0xbf19('0xc')][_0xbf19('0x51')]('QUEUE',[_0x42dce6,_0x3354b4[_0xbf19('0xb7')],_0x3354b4[_0xbf19('0xb8')],_0x2335a1,_0x3354b4[_0xbf19('0x80')],_0x3354b4[_0xbf19('0x6')],_0x3354b4[_0xbf19('0x142')],_0x3354b4[_0xbf19('0x143')],'',_0x3354b4[_0xbf19('0x144')]]);if(_0x14ad43[_0xbf19('0x8d')]===-0x1){return _0x14ad43;}return this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x8f'),_0xbf19('0x145'),_0x42dce6));};AGIVertices[_0xbf19('0xe')][_0xbf19('0x146')]=function(_0x538626){logger['info'](util['format'](_0xbf19('0x147'),_0x538626['label']));var _0x382d9c=_0x538626[_0xbf19('0x148')]||_0xbf19('0xfc');var _0x6b616d=util[_0xbf19('0x24')](_0xbf19('0x149'),this['channel'][_0xbf19('0x30')],rs[_0xbf19('0xfe')](0x5));var _0x32e224=util[_0xbf19('0x24')](_0xbf19('0x14a'),FILES_PATH,_0x6b616d,_0x382d9c);var _0x4fc0ea=util[_0xbf19('0x24')](_0xbf19('0xfd'),FILES_PATH,_0x6b616d);this['createSquareRecording'][_0xbf19('0x7b')](this,_0x538626,_0x6b616d,_0x32e224);this[_0xbf19('0xc')][_0xbf19('0x7a')](_0xbf19('0x14b'),_0x6b616d);logger[_0xbf19('0x28')](_0xbf19('0x14c'),_0x4fc0ea,_0x382d9c,_0x538626[_0xbf19('0x14d')],_0x538626['timeout']);return this[_0xbf19('0xc')][_0xbf19('0x107')](_0x4fc0ea,_0x382d9c,_0x538626[_0xbf19('0x14d')],_0x538626['timeout'],undefined,!![]);};AGIVertices[_0xbf19('0xe')][_0xbf19('0x14e')]=function(_0x41c564){logger[_0xbf19('0x28')](util['format'](_0xbf19('0x14f'),_0x41c564[_0xbf19('0x31')]));return this[_0xbf19('0xc')][_0xbf19('0x150')](_0x41c564['digits'][_0xbf19('0x53')](/\s+/g,''),_0x41c564[_0xbf19('0x14d')]);};AGIVertices[_0xbf19('0xe')]['saynumber']=function(_0x45e0e8){logger['info'](util[_0xbf19('0x24')](_0xbf19('0x151'),_0x45e0e8['label']));return this[_0xbf19('0xc')]['sayNumber'](_0x45e0e8[_0xbf19('0x152')][_0xbf19('0x53')](/\s+/g,''),_0x45e0e8[_0xbf19('0x14d')]);};AGIVertices[_0xbf19('0xe')][_0xbf19('0x153')]=function(_0x48e626){logger['info'](util[_0xbf19('0x24')](_0xbf19('0x154'),_0x48e626[_0xbf19('0x31')]));return this[_0xbf19('0xc')][_0xbf19('0x155')](_0x48e626['text'],_0x48e626[_0xbf19('0x14d')]);};AGIVertices['prototype'][_0xbf19('0x156')]=function(_0xc40ea4){logger['info'](util['format'](_0xbf19('0x157'),_0xc40ea4[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0xc40ea4['account_id'])){return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0x158'));}var _0x287c5e=this[_0xbf19('0x159')][_0xbf19('0x7b')](this,_0xc40ea4[_0xbf19('0x15a')]);if(!_0x287c5e||!_0x287c5e[_0xbf19('0x15b')]){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0xc40ea4,_0xbf19('0x15c'));}var _0x3c2e2b={'from':util[_0xbf19('0x24')](_0xbf19('0x15d'),_0x287c5e[_0xbf19('0x15')],_0x287c5e[_0xbf19('0x15e')]||_0x287c5e['Smtp']['user']),'to':_0xc40ea4['to']||'','cc':_0xc40ea4['cc']||'','bcc':_0xc40ea4[_0xbf19('0x15f')]||'','subject':_0xc40ea4[_0xbf19('0x160')],'html':_0xc40ea4['text'],'text':_0xc40ea4['text']};var _0x48c56b={'tls':{'rejectUnauthorized':![]}};if(_0x287c5e[_0xbf19('0x15b')][_0xbf19('0x161')]){_0x48c56b[_0xbf19('0x161')]=_0x287c5e['Smtp'][_0xbf19('0x161')];}else{_0x48c56b[_0xbf19('0x162')]=_0x287c5e['Smtp']['host'];_0x48c56b[_0xbf19('0x163')]=_0x287c5e[_0xbf19('0x15b')][_0xbf19('0x163')];_0x48c56b['secure']=_0x287c5e[_0xbf19('0x15b')][_0xbf19('0x164')];}if(_0x287c5e[_0xbf19('0x15b')][_0xbf19('0x165')]){_0x48c56b[_0xbf19('0x166')]={'user':_0x287c5e[_0xbf19('0x15b')][_0xbf19('0x167')],'pass':_0x287c5e[_0xbf19('0x15b')]['pass']};}if(this[_0xbf19('0x5f')](_0xc40ea4['template_id'])){}logger[_0xbf19('0xb1')]('sendMail\x20message',JSON['stringify'](_0x3c2e2b));this[_0xbf19('0x2f')][_0xbf19('0x7b')](this,_0xc40ea4,_0xc40ea4[_0xbf19('0x15a')]);this[_0xbf19('0xc')][_0xbf19('0x8e')](util['format'](_0xbf19('0x168'),_0x287c5e[_0xbf19('0x15')]));this['sendMailMessage'][_0xbf19('0x7b')](this,_0x48c56b,_0x3c2e2b);return this[_0xbf19('0xc')][_0xbf19('0x8e')]('Mail\x20message\x20added\x20to\x20outgoing\x20process');};AGIVertices[_0xbf19('0xe')][_0xbf19('0x169')]=function(_0x3ad531){logger['info'](util['format'](_0xbf19('0x16a'),_0x3ad531[_0xbf19('0x31')]));return this['channel']['noop']('SENDFAX\x20block\x20not\x20implemented');};AGIVertices[_0xbf19('0xe')][_0xbf19('0x16b')]=function(_0x2f6daa){logger[_0xbf19('0x28')](util[_0xbf19('0x24')]('Enter\x20in\x20SENDSMS\x20(%s)\x20block',_0x2f6daa[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x2f6daa[_0xbf19('0x16c')])){return this[_0xbf19('0xc')][_0xbf19('0x8e')]('no\x20sms\x20account\x20configured');}var _0x2f54b2=this[_0xbf19('0x2d')]['sync'](this,_0x2f6daa[_0xbf19('0x16c')]);if(!_0x2f54b2){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x2f6daa,_0xbf19('0x16d'));}var _0x4f4e52={'body':_0x2f6daa[_0xbf19('0x16e')],'phone':_0x2f6daa['to']||'','SmsAccountId':_0x2f54b2['id']};logger[_0xbf19('0xb1')]('sendSMS\x20message',JSON['stringify'](_0x4f4e52));this[_0xbf19('0x2f')][_0xbf19('0x7b')](this,_0x2f6daa,_0x2f6daa[_0xbf19('0x16c')]);this[_0xbf19('0xc')][_0xbf19('0x8e')](util['format']('Trying\x20SendSMS\x20with\x20account\x20%s',_0x2f54b2[_0xbf19('0x15')]));this['createSmsMessage'][_0xbf19('0x7b')](this,_0x4f4e52);return this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0x16f'));};AGIVertices[_0xbf19('0xe')]['set']=function(_0x95792){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x170'),_0x95792[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x95792['variable_id'])){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x95792,'no\x20variable\x20selected');}var _0xd116cc=this[_0xbf19('0xf')][_0xbf19('0x7b')](this,_0x95792[_0xbf19('0xa9')]);if(!_0xd116cc){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x95792,_0xbf19('0xab'));}return this[_0xbf19('0xc')][_0xbf19('0x7a')](_0xd116cc,_0x95792['variable_value']);};AGIVertices['prototype']['start']=function(_0x2a2d7b){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x171'),_0x2a2d7b[_0xbf19('0x31')]));this['channel'][_0xbf19('0x8e')]('START\x20CALLY\x20SQUARE');if(_0x2a2d7b[_0xbf19('0x82')]==='yes'){this[_0xbf19('0xc')][_0xbf19('0x8e')](_0xbf19('0x172'));return this[_0xbf19('0xc')][_0xbf19('0x82')]();}return this['channel'][_0xbf19('0x8e')](_0xbf19('0x173'));};AGIVertices['prototype'][_0xbf19('0x174')]=function(_0x825a71){logger[_0xbf19('0x28')](util['format']('Enter\x20in\x20SUBPROJECT\x20(%s)\x20block',_0x825a71[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0x825a71[_0xbf19('0x175')])){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x825a71,_0xbf19('0x176'));}var _0x7f858c=this['getSquareProject'][_0xbf19('0x7b')](this,_0x825a71[_0xbf19('0x175')]);if(!this['isConfigured'](_0x7f858c)){return this[_0xbf19('0xc')]['error'](_0x825a71,util[_0xbf19('0x24')](_0xbf19('0x177'),_0x825a71[_0xbf19('0x175')]));}if(_0x7f858c===this[_0xbf19('0xc')][_0xbf19('0x38')]){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0x825a71,_0xbf19('0x178'));}this[_0xbf19('0x2f')]['sync'](this,_0x825a71,_0x7f858c);var _0x3669d9=this[_0xbf19('0xc')][_0xbf19('0x51')](_0xbf19('0x179'),util['format']('agi://%s/square,\x22%s\x22,\x22%s\x22',config[_0xbf19('0x6')]['host']||_0xbf19('0x17a'),_0x7f858c,this[_0xbf19('0xc')][_0xbf19('0x38')]));if(_0x3669d9[_0xbf19('0x8d')]===-0x1){return _0x3669d9;}return this[_0xbf19('0xc')][_0xbf19('0x8e')](util['format'](_0xbf19('0x8f'),_0xbf19('0x179'),_0x7f858c));};AGIVertices['prototype'][_0xbf19('0x17b')]=function(_0x196e7a){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x17c'),_0x196e7a[_0xbf19('0x31')]));var _0x445daf=this[_0xbf19('0x50')][_0xbf19('0x7b')](this,_0x196e7a[_0xbf19('0x7e')]);this[_0xbf19('0x2f')][_0xbf19('0x7b')](this,_0x196e7a,_0x196e7a[_0xbf19('0x7e')]);if(this['isConfigured'](_0x196e7a[_0xbf19('0xa9')])){var _0x5b1014=this[_0xbf19('0xf')][_0xbf19('0x7b')](this,_0x196e7a['variable_id']);if(_0x5b1014){this['channel'][_0xbf19('0x7a')](_0x5b1014,_0x445daf);return this['channel'][_0xbf19('0x8e')](util['format']('sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s',_0x196e7a['command'],_0x5b1014));}}return this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')]('sh\x20command:\x20%s\x20result\x20no\x20stored',_0x196e7a[_0xbf19('0x7e')]));};AGIVertices[_0xbf19('0xe')][_0xbf19('0x17d')]=function(_0xad938){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x17e'),_0xad938[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0xad938[_0xbf19('0x55')])){return this['channel']['noop'](_0xbf19('0x93'));}this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')](_0xbf19('0x17f'),_0xad938[_0xbf19('0x55')]));var _0x20ce7d=this[_0xbf19('0x54')][_0xbf19('0x7b')](this,_0xad938);if(_0x20ce7d){this[_0xbf19('0xc')][_0xbf19('0x8e')](util['format'](_0xbf19('0x180'),_0x20ce7d));var _0x32f42d=this[_0xbf19('0xc')][_0xbf19('0xce')](_0x20ce7d);try{fs['unlink'](_0x20ce7d+_0xbf19('0xf0'));}catch(_0x9d8aa2){logger[_0xbf19('0x27')](_0x9d8aa2);}return _0x32f42d;}return this[_0xbf19('0xc')][_0xbf19('0x27')](_0xad938,_0xbf19('0x181'));};AGIVertices[_0xbf19('0xe')]['unpause']=function(_0x38ea34){logger[_0xbf19('0x28')](util[_0xbf19('0x24')]('Enter\x20in\x20UNPAUSE\x20(%s)\x20block',_0x38ea34['label']));if(!this[_0xbf19('0x5f')](_0x38ea34[_0xbf19('0x124')])){return this['channel']['error'](_0x38ea34,_0xbf19('0x125'));}logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x126'),this[_0xbf19('0xc')][_0xbf19('0x49')],_0x38ea34['findBy']));var _0x3ca873=this[_0xbf19('0x4b')][_0xbf19('0x7b')](this,_0x38ea34['findBy']);if(_0x3ca873){logger[_0xbf19('0x28')](util['format']('AGENT\x20%s\x20FOUND\x20BY',this[_0xbf19('0xc')][_0xbf19('0x49')],_0x38ea34['findBy']));this[_0xbf19('0xc')][_0xbf19('0x8e')](util[_0xbf19('0x24')]('AGENT\x20%s\x20FOUND\x20BY',this[_0xbf19('0xc')][_0xbf19('0x49')],_0x38ea34[_0xbf19('0x124')]));return{'code':0xc8,'result':_0xbf19('0x128')};}else{logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x129'),this[_0xbf19('0xc')][_0xbf19('0x49')],_0x38ea34['findBy']));this[_0xbf19('0xc')][_0xbf19('0x8e')](util['format'](_0xbf19('0x129'),this[_0xbf19('0xc')][_0xbf19('0x49')],_0x38ea34[_0xbf19('0x124')]));return{'code':0xc8,'result':_0xbf19('0x12a')};}};AGIVertices[_0xbf19('0xe')]['voicemail']=function(_0x503ead){logger[_0xbf19('0x28')](util[_0xbf19('0x24')](_0xbf19('0x182'),_0x503ead[_0xbf19('0x31')]));var _0x2b2b40=this[_0xbf19('0xc')]['exec'](_0xbf19('0x183'),[_0x503ead['mailbox'],_0x503ead[_0xbf19('0x90')]]);if(_0x2b2b40['result']===-0x1){return _0x2b2b40;}return this['channel']['noop'](util[_0xbf19('0x24')](_0xbf19('0x8f'),_0xbf19('0x183'),_0x503ead[_0xbf19('0x184')]));};AGIVertices[_0xbf19('0xe')][_0xbf19('0x185')]=function(_0xd6921e){logger[_0xbf19('0x28')](util[_0xbf19('0x24')]('Enter\x20in\x20SWITCH\x20(%s)\x20block',_0xd6921e[_0xbf19('0x31')]));if(!this[_0xbf19('0x5f')](_0xd6921e[_0xbf19('0xa9')])){return this[_0xbf19('0xc')][_0xbf19('0x27')](_0xd6921e,_0xbf19('0x186'));}var _0x417e02=this[_0xbf19('0xf')][_0xbf19('0x7b')](this,_0xd6921e[_0xbf19('0xa9')]);if(!_0x417e02){return this['channel'][_0xbf19('0x27')](_0xd6921e,_0xbf19('0xab'));}var _0x3dca7a=this[_0xbf19('0xc')][_0xbf19('0xf')](_0x417e02);return{'code':0xc8,'result':_0x3dca7a[_0xbf19('0x77')]?_0x3dca7a['extra']:'-'};};String[_0xbf19('0xe')][_0xbf19('0x76')]=function(_0x2803d7,_0x22a7b3){return this['split'](_0x2803d7)['join'](_0x22a7b3);};module['exports']=AGIVertices;
\ No newline at end of file
+var _0x6754=['SENDFAX\x20block\x20not\x20implemented','sendSMS','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','Sms\x20message\x20added\x20to\x20outgoing\x20process','set','Enter\x20in\x20SET\x20(%s)\x20block','variable_value','start','Enter\x20in\x20START\x20(%s)\x20block','START\x20CALLY\x20SQUARE','project_id','no\x20subproject\x20selected','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','AGI','agi://%s/square,\x22%s\x22,\x22%s\x22','system','sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s','sh\x20command:\x20%s\x20result\x20no\x20stored','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','mailbox','exports','path','util','lodash','shelljs','odbc','randomstring','moment','mustache','../../config/logger','../../config/environment','./scripts','menu','getdigits','getsecretdigits','rpc','mailRpc','prototype','getVariable','getVariableById','then','name','catch','getVoiceQueueById','getSquareProject','getSquareProjectById','getSquareOdbc','getSquareOdbcById','getUser','getUserById','getTrunk','getTrunkById','getSound','getSoundById','save_name','getMailAccount','getMailAccountById','sendMailMessage','getIntervals','getIntervalById','IntervalId','interval','map','Intervals','getSoundPath','format','%s/sounds/converted/%s','error','info','ODBC\x20connection\x20successfully','query','Error\x20executing\x20query\x20%s','Query\x20executed\x20correctly\x20%s','getSmsAccount','createSmsMessage','createSquareDetailsReport','label','agicommand','channel','arg_1','callerid','createSquareRecording','uniqueid','calleridname','context','extension','dnid','file','createSquareMessage','createCmContact','callback_','random','isEmpty','isNil','lastName','phone','list_id','scheduledAt','toString','getPause','agentPause','agentUnpause','agent','agentLogout','internal','%s/%s@from-sip/n','LOCAL','agentLogin','shellCommand','exec','trim','replace','googleTTS','text','google_tts_language','googleDialogflow','key','dialogflow_language','sestekNDA','ispeechTTS','ispeech_tts_language','en-US','ispeechASR','ispeech_asr_language','isConfigured','model','awsPolly','aws_access_key_id','aws_polly_region','aws_polly_voice','Amy','aws_text_type','awsLex','aws_lex_region','googleASR','google_asr_language','appsecret','clear','includes','clone','hasOwnProperty','replaceAllVariables','length','split','replaceAll','getAndSetVariable','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','extra','sync','retry','maxRetry','Enter\x20in\x20AGI\x20(%s)\x20block','command','answer','timeout','Wait\x20%s\x20seconds\x20before\x20answer','wait','result','callback','no\x20list\x20selected','delay','add','minutes','callback_priority','noop','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','custom_app','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','application','options','Executed\x20command\x20%s\x20%s','lumenvoxtts','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','no\x20text\x20configured','MRCPSynth','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','Executed\x20command\x20MRCPSynth\x20%s','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','grammar','RECOG_CONFIDENCE()','LUMENVOX_ASR_TRANSCRIPT','LUMENVOX_ASR_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','sestekasr','Enter\x20in\x20SESTEKASR\x20(%s)\x20block','no\x20grammar\x20configured','MRCPRecog','SESTEK_ASR_CONFIDENCE','RECOG_INPUT()','SESTEK_ASR_TRANSCRIPT','RECOG_INSTANCE()','SESTEK_ASR_INSTANCE','database','Enter\x20in\x20DATABASE\x20(%s)\x20block','no\x20database\x20selected','no\x20odbc\x20database\x20found','no\x20query\x20configured','query:\x20%s','getQueryOdbc','variable_id','no\x20variable\x20selected\x20for\x20the\x20result','no\x20variable\x20found','keys','forEach','setVariable','%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','url','Executed\x20command\x20%s','dialogflow','Trying\x20Dialogflow:\x20%s','DIALOGFLOW_%s','toUpperCase','speech','out','Dialogflow\x20is\x20unreachable','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','ndauth_url','no\x20ndauth\x20url\x20configured','username','no\x20username\x20configured','password','no\x20password\x20configured','ndassistant_url','bot','Trying\x20SestekNDA:\x20%s','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','streamFile','unlink','.wav','SestekNDA\x20is\x20unreachable','Enter\x20in\x20END\x20(%s)\x20block','ext_dial','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','trunk_id','no\x20trunk\x20found','trunk_name','no\x20trunk\x20selected','SIP/%s/%s','DIAL','finally','Enter\x20in\x20FINALLY\x20(%s)\x20block','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','file_id','no\x20file\x20audio\x20selected','no\x20file\x20audio\x20found','response','maxdigit','mindigit','hiddendigitsnum','hiddendigitspos','first','substr','generate','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','goal','Enter\x20in\x20GOAL\x20(%s)\x20block','GOAL\x20%s','goalname','awspolly','aws_secret_access_key','no\x20valid\x20credentials\x20configured','Trying\x20aws\x20Polly\x20%s','awslex','no\x20bot\x20name\x20configured','Trying\x20Amazon\x20Lex:\x20%s','AWS_LEX_%s','message','Amazon\x20Lex\x20Result\x20%s','Amazon\x20Lex\x20is\x20unreachable','no\x20key\x20configured','wav','%s/recordings/%s','%s.%s','NOBEEP','recordFile','intKey','google\x20%s\x20file\x20created','GOOGLE_ASR_%s','stringify','tildeasr','Enter\x20in\x20TILDEASR\x20(%s)\x20block','appid','no\x20appid\x20configured','no\x20appsecret\x20configured','tilde\x20%s\x20file\x20created','tildeASR','TILDE_ASR_%s','gotoc','Enter\x20in\x20GOTO\x20(%s)\x20block','continueAt','priority','gotoif','Enter\x20in\x20GOTOIF\x20(%s)\x20block','no\x20condition\x20configured','true','false','EVAL\x20CONDITION\x20%s\x20%s','condition','gotoiftime','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','interval_id','no\x20interval\x20configured','no\x20intervals\x20found','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','hangup','Enter\x20in\x20HANGUP\x20(%s)\x20block','ispeechasr','beep','ispeech\x20%s\x20file\x20created','ISPEECH_ASR_%s','login','Enter\x20in\x20LOGIN\x20(%s)\x20block','no\x20find\x20by\x20configured','FIND\x20AGENT\x20%s\x20BY\x20%s','findBy','AGENT\x20%s\x20FOUND\x20BY','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','logout','Enter\x20in\x20LOGOUT\x20(%s)\x20block','math','Enter\x20in\x20MATH\x20(%s)\x20block','operation','no\x20operation\x20configured','math\x20%s','isArray','%s[%s]','variable\x20%s[key]\x20set','digit','output','pause','Enter\x20in\x20PAUSE\x20(%s)\x20block','pause_id','playback','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','PLAYBACK','queue','Enter\x20in\x20QUEUE\x20(%s)\x20block','queue_id','no\x20queue\x20selected','getVoiceQueue','no\x20queue\x20found','toLowerCase','QUEUE','agi','macro','gosub','position','Enter\x20in\x20RECORD\x20(%s)\x20block','recordingFormat','%s_%s','%s/recordings/%s.%s','RECORDING_SAVENAME','Recording\x20%s\x20%s\x20%s\x20%s','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','sayDigits','digits','escape_digits','sayNumber','number','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','account_id','no\x20mail\x20account\x20configured','Smtp','email','user','bcc','subject','service','host','port','secure','authentication','auth','pass','template_id','sendMail\x20message','Mail\x20message\x20added\x20to\x20outgoing\x20process','sendFax'];(function(_0x2bc04e,_0x39d7a5){var _0x2f0fef=function(_0x98d2c4){while(--_0x98d2c4){_0x2bc04e['push'](_0x2bc04e['shift']());}};_0x2f0fef(++_0x39d7a5);}(_0x6754,0x1ba));var _0x4675=function(_0x1282d2,_0x346ec6){_0x1282d2=_0x1282d2-0x0;var _0x5aa36c=_0x6754[_0x1282d2];return _0x5aa36c;};'use strict';var fs=require('fs');var path=require(_0x4675('0x0'));var util=require(_0x4675('0x1'));var _=require(_0x4675('0x2'));var sh=require(_0x4675('0x3'));var odbc=require(_0x4675('0x4'))();var rs=require(_0x4675('0x5'));var moment=require(_0x4675('0x6'));var Mustache=require(_0x4675('0x7'));var logger=require(_0x4675('0x8'))('agi');var config=require(_0x4675('0x9'));var scripts=require(_0x4675('0xa'));var FILES_PATH='/var/opt/motion2/server/files';var verticesWithRetry=[_0x4675('0xb'),_0x4675('0xc'),_0x4675('0xd')];var AGIVertices=function(_0x3d0730,_0x251b19,_0xdcbb48){this['channel']=_0x3d0730;this[_0x4675('0xe')]=_0x251b19;this[_0x4675('0xf')]=_0xdcbb48;};AGIVertices[_0x4675('0x10')][_0x4675('0x11')]=function(_0x4086e1,_0x46e4e6){this[_0x4675('0xe')][_0x4675('0x12')](_0x4086e1)[_0x4675('0x13')](function(_0x1e99ca){_0x46e4e6(null,_0x1e99ca?_0x1e99ca[_0x4675('0x14')]:![]);})[_0x4675('0x15')](function(_0x10bfd1){_0x46e4e6(_0x10bfd1);});};AGIVertices['prototype']['getVoiceQueue']=function(_0x15e9ba,_0xf0ef6e){this['rpc'][_0x4675('0x16')](_0x15e9ba)['then'](function(_0x3f6dd2){_0xf0ef6e(null,_0x3f6dd2?_0x3f6dd2[_0x4675('0x14')]:![]);})[_0x4675('0x15')](function(_0x4c1bbf){_0xf0ef6e(_0x4c1bbf);});};AGIVertices['prototype'][_0x4675('0x17')]=function(_0x523622,_0xa4d27d){this['rpc'][_0x4675('0x18')](_0x523622)[_0x4675('0x13')](function(_0x117445){_0xa4d27d(null,_0x117445?_0x117445[_0x4675('0x14')]:![]);})['catch'](function(_0x4151b3){_0xa4d27d(_0x4151b3);});};AGIVertices[_0x4675('0x10')][_0x4675('0x19')]=function(_0x5b2aee,_0x1d48e8){this[_0x4675('0xe')][_0x4675('0x1a')](_0x5b2aee)['then'](function(_0x31e38b){_0x1d48e8(null,_0x31e38b?_0x31e38b['dsn']:![]);})[_0x4675('0x15')](function(_0x295822){_0x1d48e8(_0x295822);});};AGIVertices['prototype'][_0x4675('0x1b')]=function(_0x33c4b2,_0x516217){this['rpc'][_0x4675('0x1c')](_0x33c4b2)[_0x4675('0x13')](function(_0x58314c){_0x516217(null,_0x58314c?_0x58314c['name']:![]);})[_0x4675('0x15')](function(_0x5a7e42){_0x516217(_0x5a7e42);});};AGIVertices[_0x4675('0x10')][_0x4675('0x1d')]=function(_0x145eb5,_0xd77efe){this[_0x4675('0xe')][_0x4675('0x1e')](_0x145eb5)['then'](function(_0x3a3181){_0xd77efe(null,_0x3a3181?_0x3a3181[_0x4675('0x14')]:![]);})[_0x4675('0x15')](function(_0x494011){_0xd77efe(_0x494011);});};AGIVertices['prototype'][_0x4675('0x1f')]=function(_0x2e2f72,_0x13b1f2){var _0x2356aa=this;this[_0x4675('0xe')][_0x4675('0x20')](_0x2e2f72)[_0x4675('0x13')](function(_0x56a9ad){_0x13b1f2(null,_0x56a9ad?_0x2356aa['getSoundPath'](_0x56a9ad[_0x4675('0x21')]):![]);})[_0x4675('0x15')](function(_0xa0f54f){_0x13b1f2(_0xa0f54f);});};AGIVertices[_0x4675('0x10')][_0x4675('0x22')]=function(_0x596615,_0x4e675a){this[_0x4675('0xe')][_0x4675('0x23')](_0x596615)[_0x4675('0x13')](function(_0x4c274b){_0x4e675a(null,_0x4c274b?_0x4c274b:![]);})[_0x4675('0x15')](function(_0xf63dd1){_0x4e675a(_0xf63dd1);});};AGIVertices['prototype']['sendMailMessage']=function(_0x31f687,_0x3898e9,_0x385e3c){this[_0x4675('0xf')][_0x4675('0x24')](_0x31f687,_0x3898e9)[_0x4675('0x13')](function(){_0x385e3c(null);})[_0x4675('0x15')](function(_0xd3feb7){_0x385e3c(_0xd3feb7);});};AGIVertices[_0x4675('0x10')][_0x4675('0x25')]=function(_0xa43b57,_0x329aef){this[_0x4675('0xe')][_0x4675('0x26')](_0xa43b57)[_0x4675('0x13')](function(_0x102670){if(_0x102670){if(_0x102670[_0x4675('0x27')]){_0x329aef(null,[_0x102670[_0x4675('0x28')]]);}else{_0x329aef(null,_[_0x4675('0x29')](_0x102670[_0x4675('0x2a')],_0x4675('0x28')));}}else{_0x329aef(null,![]);}})['catch'](function(_0x3e1beb){_0x329aef(_0x3e1beb);});};AGIVertices[_0x4675('0x10')][_0x4675('0x2b')]=function(_0x26785c){return util[_0x4675('0x2c')](_0x4675('0x2d'),FILES_PATH,_0x26785c);};AGIVertices[_0x4675('0x10')]['getQueryOdbc']=function(_0x403384,_0x3dfb47,_0x15518e){odbc['open'](_0x403384,function(_0x4d8532){if(_0x4d8532){logger[_0x4675('0x2e')]('Error\x20getting\x20ODBC\x20connection\x20%s',_0x4d8532);_0x15518e(_0x4d8532);}else{logger[_0x4675('0x2f')](_0x4675('0x30'));odbc[_0x4675('0x31')](_0x3dfb47,function(_0x3b9c53,_0x459937){if(_0x3b9c53){logger[_0x4675('0x2f')](_0x4675('0x32'),_0x3dfb47);_0x15518e(_0x3b9c53);}else{logger['info'](_0x4675('0x33'),_0x3dfb47);odbc['close'](function(_0x58866f){if(_0x58866f){logger[_0x4675('0x2e')]('Error\x20closing\x20connection\x20to\x20odbc\x20%s',_0x58866f);}_0x15518e(null,_0x459937);});}});}});};AGIVertices[_0x4675('0x10')][_0x4675('0x34')]=function(_0x58c6ae,_0x4a1f7a){this['rpc']['getSmsAccountById'](_0x58c6ae)['then'](function(_0x358c93){_0x4a1f7a(null,_0x358c93?_0x358c93:![]);})[_0x4675('0x15')](function(_0x334e36){_0x4a1f7a(_0x334e36);});};AGIVertices[_0x4675('0x10')][_0x4675('0x35')]=function(_0xd40387,_0x341e59){this[_0x4675('0xe')][_0x4675('0x35')](_0xd40387)[_0x4675('0x13')](function(_0x122db4){_0x341e59(null,_0x122db4);})[_0x4675('0x15')](function(_0x564692){_0x341e59(_0x564692);});};AGIVertices['prototype'][_0x4675('0x36')]=function(_0xc8efcc,_0x154fae,_0x3aaab6){this['rpc'][_0x4675('0x36')]({'uniqueid':this['channel']['uniqueid'],'node':_0xc8efcc[_0x4675('0x37')],'application':_0xc8efcc[_0x4675('0x38')],'data':_0x154fae||null,'project_name':this[_0x4675('0x39')][_0x4675('0x3a')],'callerid':this[_0x4675('0x39')][_0x4675('0x3b')]})[_0x4675('0x13')](function(_0x42bff6){if(_0x3aaab6){_0x3aaab6(null,_0x42bff6);}})[_0x4675('0x15')](function(_0x5266f9){if(_0x3aaab6){_0x3aaab6(_0x5266f9);}});};AGIVertices[_0x4675('0x10')][_0x4675('0x3c')]=function(_0x5d6e7c,_0x3400fd,_0x391560,_0x593d27){this['rpc']['createSquareRecording']({'uniqueid':this[_0x4675('0x39')][_0x4675('0x3d')],'callerid':this[_0x4675('0x39')][_0x4675('0x3b')],'calleridname':this[_0x4675('0x39')][_0x4675('0x3e')],'context':this[_0x4675('0x39')][_0x4675('0x3f')],'extension':this[_0x4675('0x39')][_0x4675('0x40')],'priority':this[_0x4675('0x39')]['priority'],'accountcode':this['channel']['accountcode'],'dnid':this['channel'][_0x4675('0x41')],'projectName':this[_0x4675('0x39')][_0x4675('0x3a')],'saveName':_0x3400fd,'filename':_0x5d6e7c[_0x4675('0x42')]||_0x3400fd,'savePath':_0x391560})[_0x4675('0x13')](function(_0x4bb092){_0x593d27(null,_0x4bb092);})[_0x4675('0x15')](function(_0x333f04){_0x593d27(_0x333f04);});};AGIVertices[_0x4675('0x10')]['createSquareMessage']=function(_0x21b306,_0x1833ed,_0x4679dd){this[_0x4675('0xe')][_0x4675('0x43')]({'uniqueid':this[_0x4675('0x39')][_0x4675('0x3d')],'body':_0x21b306,'direction':_0x1833ed})[_0x4675('0x13')](function(_0x86f8cb){if(_0x4679dd){_0x4679dd(null,_0x86f8cb);}})[_0x4675('0x15')](function(_0x1e003c){if(_0x4679dd){_0x4679dd(_0x1e003c);}});};AGIVertices[_0x4675('0x10')]['createCmContact']=function(_0x18fdbd,_0x4df2bd){this['rpc'][_0x4675('0x44')]({'firstName':_['isEmpty'](_0x18fdbd['name'])||_['isNil'](_0x18fdbd[_0x4675('0x14')])?_0x4675('0x45')+Math[_0x4675('0x46')]():_0x18fdbd[_0x4675('0x14')],'lastName':_[_0x4675('0x47')](_0x18fdbd['lastName'])||_[_0x4675('0x48')](_0x18fdbd[_0x4675('0x49')])?null:_0x18fdbd[_0x4675('0x49')],'phone':_0x18fdbd[_0x4675('0x4a')],'ListId':_0x18fdbd[_0x4675('0x4b')],'scheduledAt':_0x18fdbd[_0x4675('0x4c')],'callbackUniqueid':this['channel'][_0x4675('0x3d')],'tags':'callback','description':'Callback\x20scheduled\x20at\x20'+_0x18fdbd[_0x4675('0x4c')][_0x4675('0x4d')](),'priority':_0x18fdbd['callback_priority']})['then'](function(_0x1d2fac){_0x4df2bd(null,_0x1d2fac);})['catch'](function(_0x403431){_0x4df2bd(_0x403431);});};AGIVertices[_0x4675('0x10')][_0x4675('0x4e')]=function(_0xaa486,_0x4d4c97){this[_0x4675('0xe')]['getPauseById'](_0xaa486)[_0x4675('0x13')](function(_0x154da3){_0x4d4c97(null,_0x154da3?_0x154da3[_0x4675('0x14')]:![]);})[_0x4675('0x15')](function(_0x411728){_0x4d4c97(_0x411728);});};AGIVertices[_0x4675('0x10')][_0x4675('0x4f')]=function(_0x597d05,_0x64235f,_0x285727){var _0x22c8c5={'role':'agent'};_0x22c8c5[_0x597d05]=this[_0x4675('0x39')]['callerid'];this['rpc']['agentPause'](_0x22c8c5,_0x64235f,this[_0x4675('0x39')]['uniqueid'])[_0x4675('0x13')](function(_0x402a29){_0x285727(null,_[_0x4675('0x48')](_0x402a29)?![]:!![]);})[_0x4675('0x15')](function(_0x2e72c7){logger[_0x4675('0x2e')](_0x2e72c7);_0x285727(null,![]);});};AGIVertices[_0x4675('0x10')][_0x4675('0x50')]=function(_0x265c75,_0x4fe4c6){var _0x51267f={'role':_0x4675('0x51')};_0x51267f[_0x265c75]=this[_0x4675('0x39')]['callerid'];this['rpc']['agentUnpause'](_0x51267f)[_0x4675('0x13')](function(_0x18ef83){_0x4fe4c6(null,_[_0x4675('0x48')](_0x18ef83)?![]:!![]);})[_0x4675('0x15')](function(_0x106a44){logger['error'](_0x106a44);_0x4fe4c6(null,![]);});};AGIVertices[_0x4675('0x10')][_0x4675('0x52')]=function(_0x385d90,_0x1c85a3){var _0x10590b={'role':_0x4675('0x51')};_0x10590b[_0x385d90]=this[_0x4675('0x39')]['callerid'];this['rpc']['agentLogout'](_0x10590b)[_0x4675('0x13')](function(_0x10fb10){_0x1c85a3(null,_[_0x4675('0x48')](_0x10fb10)?![]:!![]);})[_0x4675('0x15')](function(_0x362d75){logger['error'](_0x362d75);_0x1c85a3(null,![]);});};AGIVertices[_0x4675('0x10')]['agentLogin']=function(_0x584ab8,_0x420f1d){var _0x1615bb={'role':'agent'};_0x1615bb[_0x584ab8]=this[_0x4675('0x39')][_0x4675('0x3b')];var _0x25595b=_0x584ab8!=_0x4675('0x53')?util['format'](_0x4675('0x54'),_0x4675('0x55'),this['channel'][_0x4675('0x3b')]):undefined;this[_0x4675('0xe')][_0x4675('0x56')](_0x1615bb,_0x25595b)['then'](function(_0x25a76a){_0x420f1d(null,_[_0x4675('0x48')](_0x25a76a)?![]:!![]);})[_0x4675('0x15')](function(_0x1add6e){logger[_0x4675('0x2e')](_0x1add6e);_0x420f1d(null,![]);});};AGIVertices['prototype'][_0x4675('0x57')]=function(_0x311b66,_0x11e4e7){sh[_0x4675('0x58')](_[_0x4675('0x59')](_0x311b66),function(_0x262f9b,_0x3df5c9){var _0x397497=_0x3df5c9[_0x4675('0x5a')](/(\r\n|\n|\r)/gm,'');_0x11e4e7(null,_0x397497);});};AGIVertices[_0x4675('0x10')][_0x4675('0x5b')]=function(_0x243e0c,_0x200257){scripts[_0x4675('0x5b')](_0x243e0c[_0x4675('0x5c')],_0x243e0c[_0x4675('0x5d')]||'en',0x1)['then'](function(_0x521148){_0x200257(null,_0x521148);})[_0x4675('0x15')](function(_0x1fcaf3){_0x200257(_0x1fcaf3);});};AGIVertices[_0x4675('0x10')][_0x4675('0x5e')]=function(_0x458030,_0x7af4af){scripts[_0x4675('0x5e')](this['channel'][_0x4675('0x3d')],_0x458030[_0x4675('0x5f')],_0x458030[_0x4675('0x5c')],_0x458030[_0x4675('0x60')]||'en')['then'](function(_0x5cb247){_0x7af4af(null,_0x5cb247);})[_0x4675('0x15')](function(_0x1b93d0){_0x7af4af(_0x1b93d0);});};AGIVertices[_0x4675('0x10')][_0x4675('0x61')]=function(_0x57cd8d,_0x24e103){scripts[_0x4675('0x61')](this[_0x4675('0x39')],_0x57cd8d)[_0x4675('0x13')](function(_0x531e6f){_0x24e103(null,_0x531e6f);})[_0x4675('0x15')](function(_0x24ab41){_0x24e103(_0x24ab41);});};AGIVertices[_0x4675('0x10')][_0x4675('0x62')]=function(_0x49850f,_0x17563b){scripts[_0x4675('0x62')](_0x49850f[_0x4675('0x5f')],_0x49850f[_0x4675('0x5c')],_0x49850f[_0x4675('0x63')]||_0x4675('0x64'),_0x49850f['speed'])[_0x4675('0x13')](function(_0x3c5436){_0x17563b(null,_0x3c5436);})[_0x4675('0x15')](function(_0x3f4950){_0x17563b(_0x3f4950);});};AGIVertices[_0x4675('0x10')][_0x4675('0x65')]=function(_0x17de26,_0x515c75,_0x51aa41){scripts[_0x4675('0x65')](_0x515c75,_0x17de26['key'],_0x17de26[_0x4675('0x66')]||_0x4675('0x64'),this[_0x4675('0x67')](_0x17de26[_0x4675('0x68')])?_0x17de26['model']:undefined)['then'](function(_0xa50ef5){_0x51aa41(null,_0xa50ef5);})[_0x4675('0x15')](function(_0x3dc82e){_0x51aa41(_0x3dc82e);});};AGIVertices[_0x4675('0x10')][_0x4675('0x69')]=function(_0x28fffb,_0x37c288){scripts[_0x4675('0x69')](_0x28fffb[_0x4675('0x6a')],_0x28fffb['aws_secret_access_key'],_0x28fffb[_0x4675('0x6b')],_0x28fffb[_0x4675('0x6c')]||_0x4675('0x6d'),_0x28fffb[_0x4675('0x5c')],_0x28fffb[_0x4675('0x6e')]||_0x4675('0x5c'))[_0x4675('0x13')](function(_0x2315ec){_0x37c288(null,_0x2315ec);})[_0x4675('0x15')](function(_0x490088){_0x37c288(_0x490088);});};AGIVertices[_0x4675('0x10')][_0x4675('0x6f')]=function(_0x381050,_0x38d15f){scripts['awsLex'](this[_0x4675('0x39')][_0x4675('0x3d')],_0x381050[_0x4675('0x6a')],_0x381050['aws_secret_access_key'],_0x381050[_0x4675('0x70')],_0x381050['text'],_0x381050['aws_bot_name'])[_0x4675('0x13')](function(_0xec4035){_0x38d15f(null,_0xec4035);})[_0x4675('0x15')](function(_0x48491f){_0x38d15f(_0x48491f);});};AGIVertices[_0x4675('0x10')][_0x4675('0x71')]=function(_0x1376b4,_0x4fdd1d,_0xdc7881){scripts[_0x4675('0x71')](_0x4fdd1d,_0x1376b4['key'],_0x1376b4[_0x4675('0x72')]||_0x4675('0x64'))[_0x4675('0x13')](function(_0x5eda12){_0xdc7881(null,_0x5eda12);})[_0x4675('0x15')](function(_0x409f3d){_0xdc7881(_0x409f3d);});};AGIVertices[_0x4675('0x10')]['tildeASR']=function(_0xadb17c,_0xcf7165,_0x2d19be){scripts['tildeASR'](_0xcf7165,_0xadb17c['appid'],_0xadb17c[_0x4675('0x73')],_0xadb17c['uri'])[_0x4675('0x13')](function(_0x594344){_0x2d19be(null,_0x594344);})['catch'](function(_0x1eed50){_0x2d19be(_0x1eed50);});};AGIVertices[_0x4675('0x10')][_0x4675('0x74')]=function(_0x171c5c){var _0x324611=_[_0x4675('0x75')](verticesWithRetry,_0x171c5c[_0x4675('0x38')])?_0x171c5c:_[_0x4675('0x76')](_0x171c5c);for(var _0x56aab1 in _0x324611){if(_0x324611[_0x4675('0x77')](_0x56aab1)){if(_0x324611[_0x56aab1]&&_['isString'](_0x324611[_0x56aab1])){_0x324611[_0x56aab1]=this['replaceAllVariables'](_0x324611[_0x56aab1]);}}}return _0x324611;};AGIVertices[_0x4675('0x10')][_0x4675('0x78')]=function(_0x38bfd6){var _0x282eda=_0x38bfd6['split']('{');for(var _0x4b2d34=0x1;_0x4b2d34<_0x282eda[_0x4675('0x79')];_0x4b2d34+=0x1){var _0xccb013=_0x282eda[_0x4b2d34][_0x4675('0x7a')]('}');if(_0xccb013['length']>0x1){_0x38bfd6=_0x38bfd6[_0x4675('0x7b')]('{'+_0xccb013[0x0]+'}',this[_0x4675('0x39')][_0x4675('0x11')](_0xccb013[0x0])['extra']||_0xccb013[0x0]);}}if(_0x282eda[_0x4675('0x79')]===0x1){return _0x38bfd6[_0x4675('0x4d')]();}return this['replaceAllVariables'](_0x38bfd6);};AGIVertices[_0x4675('0x10')][_0x4675('0x7c')]=function(_0x6550ac,_0x2aef80){var _0x1ab80e=this[_0x4675('0x39')][_0x4675('0x11')](_0x6550ac);if(_0x1ab80e['result']===-0x1){return _0x1ab80e;}logger['info'](util[_0x4675('0x2c')](_0x4675('0x7d'),_0x2aef80,_0x1ab80e[_0x4675('0x7e')]));return this['channel']['setVariable'](_0x2aef80,_0x1ab80e[_0x4675('0x7e')]);};AGIVertices[_0x4675('0x10')][_0x4675('0x67')]=function(_0x38a799){return _0x38a799&&_0x38a799!=='0'&&_0x38a799!=='-1'&&_0x38a799!=='';};AGIVertices[_0x4675('0x10')]['maxRetry']=function(_0x492623){this[_0x4675('0x36')][_0x4675('0x7f')](this,_0x492623,'-');_0x492623[_0x4675('0x80')]=_0x492623[_0x4675('0x81')];return{'code':0xc8,'result':'-'};};AGIVertices[_0x4675('0x10')]['agi']=function(_0x19d97e){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x82'),_0x19d97e['label']));return this['channel']['agi']([_0x19d97e[_0x4675('0x83')],_0x19d97e['args']]);};AGIVertices[_0x4675('0x10')][_0x4675('0x84')]=function(_0x5e67a1){logger[_0x4675('0x2f')](util[_0x4675('0x2c')]('Enter\x20in\x20ANSWER\x20(%s)\x20block',_0x5e67a1[_0x4675('0x37')]));if(this[_0x4675('0x67')](_0x5e67a1[_0x4675('0x85')])){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x86'),_0x5e67a1['timeout']));var _0x534e58=this['channel'][_0x4675('0x87')](_0x5e67a1[_0x4675('0x85')]);if(_0x534e58[_0x4675('0x88')]===-0x1){return _0x534e58;}}return this[_0x4675('0x39')][_0x4675('0x84')]();};AGIVertices['prototype'][_0x4675('0x89')]=function(_0x37c86a){logger[_0x4675('0x2f')](util[_0x4675('0x2c')]('Enter\x20in\x20CALLBACK\x20(%s)\x20block',_0x37c86a[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x37c86a['list_id'])){return this['channel'][_0x4675('0x2e')](_0x37c86a,_0x4675('0x8a'));}_0x37c86a[_0x4675('0x4c')]=moment();if(this[_0x4675('0x67')](_0x37c86a[_0x4675('0x8b')])){_0x37c86a[_0x4675('0x4c')]=moment()[_0x4675('0x8c')](_0x37c86a[_0x4675('0x8b')],_0x4675('0x8d'));}if(!this['isConfigured'](_0x37c86a[_0x4675('0x8e')])){_0x37c86a['callback_priority']=0x2;}this[_0x4675('0x44')][_0x4675('0x7f')](this,_0x37c86a);return this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x90'),_0x37c86a[_0x4675('0x4a')],_0x37c86a['list_id'],_0x37c86a[_0x4675('0x4c')]));};AGIVertices['prototype'][_0x4675('0x91')]=function(_0x212d2d){logger[_0x4675('0x2f')](util['format'](_0x4675('0x92'),_0x212d2d[_0x4675('0x37')]));var _0xb5fee5=this[_0x4675('0x39')][_0x4675('0x58')](_0x212d2d[_0x4675('0x93')],_0x212d2d[_0x4675('0x94')]);if(_0xb5fee5[_0x4675('0x88')]===-0x1){return _0xb5fee5;}return this[_0x4675('0x39')]['noop'](util[_0x4675('0x2c')](_0x4675('0x95'),_0x212d2d[_0x4675('0x93')],_0x212d2d['options']));};AGIVertices[_0x4675('0x10')][_0x4675('0x96')]=function(_0x41e37b){logger[_0x4675('0x2f')](util['format'](_0x4675('0x97'),_0x41e37b[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x41e37b['text'])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0x98'));}var _0x58bd93='\x22'+_0x41e37b[_0x4675('0x5c')]+'\x22';if(this[_0x4675('0x67')](_0x41e37b[_0x4675('0x94')])){_0x58bd93+=','+_0x41e37b['options'];}var _0x4107f4=this[_0x4675('0x39')][_0x4675('0x58')](_0x4675('0x99'),_0x58bd93);if(_0x4107f4['result']===-0x1){return _0x4107f4;}return this[_0x4675('0x39')]['noop'](util[_0x4675('0x2c')]('Executed\x20command\x20MRCPSynth\x20%s',_0x58bd93));};AGIVertices[_0x4675('0x10')]['sestektts']=function(_0xee620f){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x9a'),_0xee620f[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0xee620f['text'])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0x98'));}var _0x496733='\x22'+_0xee620f[_0x4675('0x5c')]+'\x22';if(this['isConfigured'](_0xee620f[_0x4675('0x94')])){_0x496733+=','+_0xee620f['options'];}var _0x5a24e8=this[_0x4675('0x39')][_0x4675('0x58')]('MRCPSynth',_0x496733);if(_0x5a24e8[_0x4675('0x88')]===-0x1){return _0x5a24e8;}return this[_0x4675('0x39')][_0x4675('0x8f')](util['format'](_0x4675('0x9b'),_0x496733));};AGIVertices['prototype']['lumenvoxasr']=function(_0x4f1b30){logger[_0x4675('0x2f')](util['format'](_0x4675('0x9c'),_0x4f1b30['label']));if(!this[_0x4675('0x67')](_0x4f1b30[_0x4675('0x9d')])){return this[_0x4675('0x39')][_0x4675('0x8f')]('no\x20grammar\x20configured');}var _0x2db816=_0x4f1b30[_0x4675('0x9d')];if(this[_0x4675('0x67')](_0x4f1b30[_0x4675('0x94')])){_0x2db816+=','+_0x4f1b30[_0x4675('0x94')];}var _0x27ddd3=this[_0x4675('0x39')][_0x4675('0x58')]('MRCPRecog',_0x2db816);if(_0x27ddd3[_0x4675('0x88')]===-0x1){return _0x27ddd3;}var _0x465056=this[_0x4675('0x7c')](_0x4675('0x9e'),'LUMENVOX_ASR_CONFIDENCE');if(_0x465056[_0x4675('0x88')]===-0x1){return _0x465056;}var _0x1e25df=this[_0x4675('0x7c')]('RECOG_INPUT()',_0x4675('0x9f'));if(_0x1e25df[_0x4675('0x88')]===-0x1){return _0x1e25df;}var _0x23dfaf=this[_0x4675('0x7c')]('RECOG_INSTANCE()',_0x4675('0xa0'));if(_0x23dfaf['result']===-0x1){return _0x23dfaf;}return this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0xa1'),_0x2db816));};AGIVertices[_0x4675('0x10')][_0x4675('0xa2')]=function(_0x4f384e){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0xa3'),_0x4f384e[_0x4675('0x37')]));if(!this['isConfigured'](_0x4f384e[_0x4675('0x9d')])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0xa4'));}var _0x3ffd3d=_0x4f384e[_0x4675('0x9d')];if(this[_0x4675('0x67')](_0x4f384e[_0x4675('0x94')])){_0x3ffd3d+=','+_0x4f384e[_0x4675('0x94')];}var _0x168b50=this[_0x4675('0x39')]['exec'](_0x4675('0xa5'),_0x3ffd3d);if(_0x168b50['result']===-0x1){return _0x168b50;}var _0x10e004=this[_0x4675('0x7c')](_0x4675('0x9e'),_0x4675('0xa6'));if(_0x10e004['result']===-0x1){return _0x10e004;}var _0x5b948b=this[_0x4675('0x7c')](_0x4675('0xa7'),_0x4675('0xa8'));if(_0x5b948b[_0x4675('0x88')]===-0x1){return _0x5b948b;}var _0x203ae2=this['getAndSetVariable'](_0x4675('0xa9'),_0x4675('0xaa'));if(_0x203ae2[_0x4675('0x88')]===-0x1){return _0x203ae2;}return this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0xa1'),_0x3ffd3d));};AGIVertices['prototype'][_0x4675('0xab')]=function(_0x38c31d){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0xac'),_0x38c31d['label']));if(!this[_0x4675('0x67')](_0x38c31d['odbc_id'])){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x38c31d,_0x4675('0xad'));}var _0x253ad8=this[_0x4675('0x19')][_0x4675('0x7f')](this,_0x38c31d['odbc_id']);if(!_0x253ad8){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x38c31d,_0x4675('0xae'));}if(!this[_0x4675('0x67')](_0x38c31d['query'])){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x38c31d,_0x4675('0xaf'));}var _0x99b42e=_0x38c31d['query'][_0x4675('0x5a')](/(\r\n|\n|\r)/gm,'\x20');this[_0x4675('0x39')]['noop'](util[_0x4675('0x2c')](_0x4675('0xb0'),_0x99b42e));var _0x5b55e5=this[_0x4675('0xb1')][_0x4675('0x7f')](this,_0x253ad8,_0x99b42e);this['createSquareDetailsReport'][_0x4675('0x7f')](this,_0x38c31d,_0x99b42e);if(!this[_0x4675('0x67')](_0x38c31d[_0x4675('0xb2')])){return this['channel'][_0x4675('0x8f')](_0x4675('0xb3'));}var _0x290f1c=this[_0x4675('0x11')]['sync'](this,_0x38c31d['variable_id']);if(!_0x290f1c){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x38c31d,_0x4675('0xb4'));}var _0x15fe1b=this;_0x5b55e5['forEach'](function(_0x46768d,_0x1884d3){Object[_0x4675('0xb5')](_0x46768d)[_0x4675('0xb6')](function(_0xdb0260){_0x15fe1b[_0x4675('0x39')][_0x4675('0xb7')](util['format']('%s[%s][%s]',_0x290f1c,_0x1884d3,_0xdb0260),_0x46768d[_0xdb0260]);});});this[_0x4675('0x39')][_0x4675('0xb7')](util[_0x4675('0x2c')](_0x4675('0xb8'),_0x290f1c),_0x5b55e5[_0x4675('0x79')]);return this[_0x4675('0x39')][_0x4675('0x8f')](util['format'](_0x4675('0xb9'),_0x290f1c));};AGIVertices[_0x4675('0x10')][_0x4675('0xba')]=function(_0x30fd1a){logger[_0x4675('0xbb')](util[_0x4675('0x2c')](_0x4675('0xbc'),_0x30fd1a[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x30fd1a[_0x4675('0xbd')])){return this[_0x4675('0x39')]['error'](_0x30fd1a,_0x4675('0xbe'));}var _0xcbf636=this[_0x4675('0x1b')][_0x4675('0x7f')](this,_0x30fd1a['sip_id']);if(!_0xcbf636){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x30fd1a,_0x4675('0xbf'));}var _0x5d79c9=this[_0x4675('0x39')][_0x4675('0x58')]('DIAL',[util[_0x4675('0x2c')](_0x4675('0xc0'),_0xcbf636),_0x30fd1a['timeout'],_0x30fd1a[_0x4675('0xc1')],_0x30fd1a[_0x4675('0xc2')]]);if(_0x5d79c9['result']===-0x1){return _0x5d79c9;}return this[_0x4675('0x39')][_0x4675('0x8f')](util['format'](_0x4675('0xc3'),'DIAL'));};AGIVertices[_0x4675('0x10')][_0x4675('0xc4')]=function(_0x204fee){logger['info'](util[_0x4675('0x2c')]('Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block',_0x204fee[_0x4675('0x37')]));if(!this['isConfigured'](_0x204fee[_0x4675('0x5f')])){return this[_0x4675('0x39')][_0x4675('0x8f')]('no\x20key\x20configured');}if(!this['isConfigured'](_0x204fee[_0x4675('0x5c')])){return this['channel'][_0x4675('0x8f')](_0x4675('0x98'));}this[_0x4675('0x39')]['bot']=!![];this[_0x4675('0x36')](_0x204fee);this[_0x4675('0x43')](_0x204fee[_0x4675('0x5c')],'in');this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0xc5'),_0x204fee['text']));var _0x3edf02=this[_0x4675('0x5e')][_0x4675('0x7f')](this,_0x204fee);if(_0x3edf02){for(var _0xf05a2c in _0x3edf02){if(_0x3edf02[_0x4675('0x77')](_0xf05a2c)){this[_0x4675('0x39')][_0x4675('0xb7')](util[_0x4675('0x2c')](_0x4675('0xc6'),_0xf05a2c[_0x4675('0xc7')]()),_0x3edf02[_0xf05a2c]);}}this[_0x4675('0x43')](_0x3edf02[_0x4675('0xc8')],_0x4675('0xc9'));return this['channel'][_0x4675('0x8f')](util['format']('Dialogflow\x20Result\x20%s',_0x3edf02[_0x4675('0xc8')]));}return this[_0x4675('0x39')]['error'](_0x204fee,_0x4675('0xca'));};AGIVertices['prototype']['sesteknda']=function(_0x205c62){logger['info'](util[_0x4675('0x2c')](_0x4675('0xcb'),_0x205c62['label']));if(!this['isConfigured'](_0x205c62[_0x4675('0xcc')])){return this[_0x4675('0x39')]['noop'](_0x4675('0xcd'));}if(!this[_0x4675('0x67')](_0x205c62[_0x4675('0xce')])){return this['channel'][_0x4675('0x8f')](_0x4675('0xcf'));}if(!this['isConfigured'](_0x205c62[_0x4675('0xd0')])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0xd1'));}if(!this[_0x4675('0x67')](_0x205c62[_0x4675('0xd2')])){return this['channel']['noop'](_0x4675('0x98'));}this[_0x4675('0x39')][_0x4675('0xd3')]=!![];this[_0x4675('0x36')](_0x205c62);this['createSquareMessage'](_0x205c62[_0x4675('0x5c')],'in');this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0xd4'),_0x205c62[_0x4675('0x5c')]));var _0x2bd866=this[_0x4675('0x61')]['sync'](this,_0x205c62);if(_0x2bd866){for(var _0x58bdea in _0x2bd866){if(_0x2bd866[_0x4675('0x77')](_0x58bdea)){this[_0x4675('0x39')][_0x4675('0xb7')](util['format']('SESTEK_NDA_%s',_0x58bdea[_0x4675('0xc7')]()),_0x2bd866[_0x58bdea]);}}this['createSquareMessage'](_0x2bd866['speech'],_0x4675('0xc9'));if(_0x2bd866[_0x4675('0xd5')]){this[_0x4675('0x39')][_0x4675('0x8f')](util['format'](_0x4675('0xd6'),_0x2bd866[_0x4675('0xd5')]));var _0x29c990=this['channel'][_0x4675('0xd7')](_0x2bd866[_0x4675('0xd5')]);try{fs[_0x4675('0xd8')](_0x2bd866[_0x4675('0xd5')]+_0x4675('0xd9'));}catch(_0x21c035){logger[_0x4675('0x2e')](_0x21c035);}return _0x29c990;}else{return this['channel'][_0x4675('0x8f')](util[_0x4675('0x2c')]('SestekNDA\x20Result\x20%s',_0x2bd866[_0x4675('0xc8')]));}}return this['channel'][_0x4675('0x2e')](_0x205c62,_0x4675('0xda'));};AGIVertices[_0x4675('0x10')]['end']=function(_0x1520f2){logger['info'](util['format'](_0x4675('0xdb'),_0x1520f2['label']));return this[_0x4675('0x39')][_0x4675('0x8f')]('end');};AGIVertices['prototype'][_0x4675('0xdc')]=function(_0x2da051){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0xdd'),_0x2da051[_0x4675('0x37')]));var _0x3c5c1d='';if(_0x2da051[_0x4675('0xde')]){if(!this['isConfigured'](_0x2da051[_0x4675('0xde')])){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x2da051,'no\x20trunk\x20selected');}else{var _0x2143ae=parseInt(_0x2da051['trunk_id'],0xa);if(isNaN(_0x2143ae)){_0x3c5c1d=_0x2da051[_0x4675('0xde')];}else{_0x3c5c1d=this[_0x4675('0x1d')][_0x4675('0x7f')](this,_0x2da051[_0x4675('0xde')]);if(!_0x3c5c1d){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x2da051,_0x4675('0xdf'));}}}}else if(_0x2da051[_0x4675('0xe0')]){_0x3c5c1d=_0x2da051[_0x4675('0xe0')];}else{return this['channel'][_0x4675('0x2e')](_0x2da051,_0x4675('0xe1'));}var _0x29e525=this[_0x4675('0x39')][_0x4675('0x58')]('DIAL',[util[_0x4675('0x2c')](_0x4675('0xe2'),_0x3c5c1d,_0x2da051[_0x4675('0x4a')]),_0x2da051[_0x4675('0x85')],_0x2da051['opts'],_0x2da051[_0x4675('0xc2')]]);if(_0x29e525[_0x4675('0x88')]===-0x1){return _0x29e525;}return this[_0x4675('0x39')][_0x4675('0x8f')](util['format'](_0x4675('0xc3'),_0x4675('0xe3')));};AGIVertices[_0x4675('0x10')][_0x4675('0xe4')]=function(_0x10daf3){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0xe5'),_0x10daf3['label']));return this[_0x4675('0x39')][_0x4675('0x8f')]('finally');};AGIVertices[_0x4675('0x10')]['getdigits']=function(_0x37be63){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0xe6'),_0x37be63[_0x4675('0x37')]));if(_0x37be63[_0x4675('0x80')]===0x0){return this[_0x4675('0x81')](_0x37be63);}_0x37be63[_0x4675('0x80')]-=0x1;if(!this[_0x4675('0x67')](_0x37be63[_0x4675('0xe7')])){return this[_0x4675('0x39')]['error'](_0x37be63,_0x4675('0xe8'));}var _0x1e5556=this['getSound'][_0x4675('0x7f')](this,_0x37be63[_0x4675('0xe7')]);if(!_0x1e5556){return this['channel'][_0x4675('0x2e')](_0x37be63,_0x4675('0xe9'));}if(!this[_0x4675('0x67')](_0x37be63[_0x4675('0xb2')])){return this['channel'][_0x4675('0x2e')]('no\x20variable\x20selected\x20for\x20the\x20result');}var _0x160ff6=this[_0x4675('0x39')]['getData'](_0x1e5556,_0x37be63[_0x4675('0xea')],_0x37be63[_0x4675('0xeb')]);var _0x205888=_0x160ff6[_0x4675('0x88')]?_0x160ff6[_0x4675('0x88')][_0x4675('0x4d')]():'';logger[_0x4675('0x2f')]('test',JSON['stringify'](_0x160ff6));if(_0x160ff6['result']===-0x1){this[_0x4675('0x36')]['sync'](this,_0x37be63,_0x205888);return _0x160ff6;}else if(_0x160ff6['extra']===_0x4675('0x85')){_0x160ff6[_0x4675('0x88')]=_0x205888[_0x4675('0x79')]>=parseInt(_0x37be63[_0x4675('0xec')])?'x':'i';}else{_0x160ff6[_0x4675('0x88')]=_0x205888[_0x4675('0x79')]>=parseInt(_0x37be63[_0x4675('0xec')])&&_0x205888['length']<=parseInt(_0x37be63[_0x4675('0xeb')])?'x':'i';}var _0x402571=this[_0x4675('0x11')][_0x4675('0x7f')](this,_0x37be63[_0x4675('0xb2')]);if(!_0x402571){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x37be63,'no\x20variable\x20found');}this[_0x4675('0x39')][_0x4675('0xb7')](_0x402571,_0x205888);if(this[_0x4675('0x67')](_0x37be63[_0x4675('0xed')])){var _0x3286fa=parseInt(_0x37be63[_0x4675('0xed')],0xa);var _0x194d36=rs['generate']({'charset':'*','length':_0x3286fa});var _0x5afb20=_0x205888[_0x4675('0x79')];if(_0x5afb20>0x0){if(_0x5afb20>_0x3286fa){this[_0x4675('0x36')]['sync'](this,_0x37be63,_0x37be63[_0x4675('0xee')]===_0x4675('0xef')?_0x194d36+_0x205888['substr'](_0x3286fa):_0x205888[_0x4675('0xf0')](0x0,_0x5afb20-_0x3286fa)+_0x194d36);}else{this[_0x4675('0x36')][_0x4675('0x7f')](this,_0x37be63,rs[_0x4675('0xf1')]({'charset':'*','length':_0x5afb20}));}}else{this[_0x4675('0x36')][_0x4675('0x7f')](this,_0x37be63,'');}}else{this[_0x4675('0x36')]['sync'](this,_0x37be63,_0x205888);}return _0x160ff6;};AGIVertices[_0x4675('0x10')][_0x4675('0xd')]=function(_0x86c8e5){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0xf2'),_0x86c8e5[_0x4675('0x37')]));return this['getdigits'](_0x86c8e5);};AGIVertices[_0x4675('0x10')][_0x4675('0xf3')]=function(_0x28c84d){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0xf4'),_0x28c84d[_0x4675('0x37')]));this[_0x4675('0x36')]['sync'](this,_0x28c84d,_0x28c84d['goalname']);return this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0xf5'),_0x28c84d[_0x4675('0xf6')]));};AGIVertices[_0x4675('0x10')][_0x4675('0xf7')]=function(_0x35b46b){logger[_0x4675('0x2f')](util[_0x4675('0x2c')]('[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block',_0x35b46b[_0x4675('0x37')]));if(!this['isConfigured'](_0x35b46b[_0x4675('0x6a')])||!this['isConfigured'](_0x35b46b[_0x4675('0xf8')])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0xf9'));}if(!this['isConfigured'](_0x35b46b[_0x4675('0x5c')])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0x98'));}this['channel']['noop'](util[_0x4675('0x2c')](_0x4675('0xfa'),_0x35b46b[_0x4675('0x5c')]));var _0x144a00=this[_0x4675('0x69')][_0x4675('0x7f')](this,_0x35b46b);if(_0x144a00){this['channel'][_0x4675('0x8f')](util[_0x4675('0x2c')]('aws\x20Polly\x20%s\x20file\x20created',_0x144a00));var _0xccba92=this['channel'][_0x4675('0xd7')](_0x144a00);try{fs[_0x4675('0xd8')](_0x144a00+_0x4675('0xd9'));}catch(_0x376ec3){logger['error'](_0x376ec3);}return _0xccba92;}return this[_0x4675('0x39')][_0x4675('0x2e')](_0x35b46b,'aws\x20Polly\x20is\x20unreachable');};AGIVertices['prototype'][_0x4675('0xfb')]=function(_0x11ce19){logger[_0x4675('0x2f')](util[_0x4675('0x2c')]('Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block',_0x11ce19['label']));if(!this[_0x4675('0x67')](_0x11ce19[_0x4675('0x6a')])||!this[_0x4675('0x67')](_0x11ce19['aws_secret_access_key'])){return this[_0x4675('0x39')]['noop'](_0x4675('0xf9'));}if(!this['isConfigured'](_0x11ce19['aws_bot_name'])){return this['channel'][_0x4675('0x8f')](_0x4675('0xfc'));}if(!this[_0x4675('0x67')](_0x11ce19[_0x4675('0x5c')])){return this[_0x4675('0x39')][_0x4675('0x8f')]('no\x20text\x20configured');}this[_0x4675('0x39')]['bot']=!![];this[_0x4675('0x36')](_0x11ce19);this[_0x4675('0x43')](_0x11ce19[_0x4675('0x5c')],'in');this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0xfd'),_0x11ce19[_0x4675('0x5c')]));var _0x1cedd0=this[_0x4675('0x6f')][_0x4675('0x7f')](this,_0x11ce19);if(_0x1cedd0){for(var _0x1c520b in _0x1cedd0){if(_0x1cedd0['hasOwnProperty'](_0x1c520b)&&_['isString'](_0x1cedd0[_0x1c520b])){this['channel']['setVariable'](util['format'](_0x4675('0xfe'),_0x1c520b[_0x4675('0xc7')]()),_0x1cedd0[_0x1c520b]);}}if(_[_0x4675('0x48')](_0x1cedd0[_0x4675('0xff')])){return this[_0x4675('0x39')]['noop']('Amazon\x20Lex\x20ready\x20for\x20fulfillment');}else{this[_0x4675('0x43')](_0x1cedd0['message'],_0x4675('0xc9'));return this[_0x4675('0x39')]['noop'](util[_0x4675('0x2c')](_0x4675('0x100'),_0x1cedd0[_0x4675('0xff')]));}}return this[_0x4675('0x39')]['error'](_0x11ce19,_0x4675('0x101'));};AGIVertices[_0x4675('0x10')]['googleasr']=function(_0x286f9b){logger[_0x4675('0x2f')](util['format']('Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s',_0x286f9b[_0x4675('0x37')],_0x286f9b['timeout']));if(!this[_0x4675('0x67')](_0x286f9b[_0x4675('0x5f')])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0x102'));}var _0x53d0ff=_0x4675('0x103');var _0x3c09e1=util[_0x4675('0x2c')](_0x4675('0x104'),FILES_PATH,rs[_0x4675('0xf1')](0x4));var _0x22bd7e=util[_0x4675('0x2c')](_0x4675('0x105'),_0x3c09e1,_0x53d0ff);var _0x138420=!![];if(_0x286f9b['beep']===_0x4675('0x106')){_0x138420=![];}var _0x171184=this['channel'][_0x4675('0x107')](_0x3c09e1,_0x53d0ff,_0x286f9b[_0x4675('0x108')],_0x286f9b[_0x4675('0x85')],undefined,_0x138420);if(_0x171184[_0x4675('0x88')]!==-0x1){this['channel']['noop'](util[_0x4675('0x2c')](_0x4675('0x109'),_0x22bd7e));var _0x33a717=this[_0x4675('0x71')]['sync'](this,_0x286f9b,_0x22bd7e);if(_0x33a717){for(var _0x7deb20 in _0x33a717){if(_0x33a717[_0x4675('0x77')](_0x7deb20)){this[_0x4675('0x39')][_0x4675('0xb7')](util[_0x4675('0x2c')](_0x4675('0x10a'),_0x7deb20[_0x4675('0xc7')]()),_0x33a717[_0x7deb20]);}}return this[_0x4675('0x39')]['noop'](util[_0x4675('0x2c')]('GoogleASR\x20Result\x20%s',JSON[_0x4675('0x10b')](_0x33a717)));}}return _0x171184;};AGIVertices[_0x4675('0x10')][_0x4675('0x10c')]=function(_0x207382){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x10d'),_0x207382[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x207382[_0x4675('0x10e')])){return this['channel'][_0x4675('0x8f')](_0x4675('0x10f'));}if(!this['isConfigured'](_0x207382[_0x4675('0x73')])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0x110'));}var _0x35e00d=_0x4675('0x103');var _0x34cdcc=util[_0x4675('0x2c')](_0x4675('0x104'),FILES_PATH,rs[_0x4675('0xf1')](0x4));var _0x437602=util['format'](_0x4675('0x105'),_0x34cdcc,_0x35e00d);var _0xea25b7=!![];if(_0x207382['beep']===_0x4675('0x106')){_0xea25b7=![];}var _0x37d78e=this[_0x4675('0x39')][_0x4675('0x107')](_0x34cdcc,_0x35e00d,_0x207382[_0x4675('0x108')],_0x207382[_0x4675('0x85')],undefined,_0xea25b7);if(_0x37d78e[_0x4675('0x88')]!==-0x1){this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x111'),_0x437602));var _0x10ef57=this[_0x4675('0x112')]['sync'](this,_0x207382,_0x437602);if(_0x10ef57){for(var _0x2442d2 in _0x10ef57){if(_0x10ef57[_0x4675('0x77')](_0x2442d2)){this[_0x4675('0x39')][_0x4675('0xb7')](util[_0x4675('0x2c')](_0x4675('0x113'),_0x2442d2[_0x4675('0xc7')]()),_0x10ef57[_0x2442d2]);}}return this[_0x4675('0x39')]['noop'](util[_0x4675('0x2c')]('TildeASR\x20Result\x20%s',JSON['stringify'](_0x10ef57)));}}return _0x37d78e;};AGIVertices[_0x4675('0x10')][_0x4675('0x114')]=function(_0x5b2430){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x115'),_0x5b2430[_0x4675('0x37')]));return this[_0x4675('0x39')][_0x4675('0x116')](_0x5b2430[_0x4675('0x3f')],_0x5b2430[_0x4675('0x40')],_0x5b2430[_0x4675('0x117')]);};AGIVertices[_0x4675('0x10')][_0x4675('0x118')]=function(_0x4504ba){logger[_0x4675('0x2f')](util['format'](_0x4675('0x119'),_0x4504ba['label']));if(!this[_0x4675('0x67')](_0x4504ba['condition'])){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x4504ba,_0x4675('0x11a'));}try{var _0xb3609f=eval(_0x4504ba['condition'])?_0x4675('0x11b'):_0x4675('0x11c');this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x11d'),_0x4504ba[_0x4675('0x11e')],_0xb3609f));return{'code':0xc8,'result':_0xb3609f};}catch(_0x2707dc){return{'code':0xc8,'result':'false'};}};AGIVertices[_0x4675('0x10')][_0x4675('0x11f')]=function(_0x3e4fd7){logger['info'](util[_0x4675('0x2c')](_0x4675('0x120'),_0x3e4fd7[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x3e4fd7[_0x4675('0x121')])){return this[_0x4675('0x39')]['error'](_0x3e4fd7,_0x4675('0x122'));}var _0x37b2a8=this['getIntervals'][_0x4675('0x7f')](this,_0x3e4fd7[_0x4675('0x121')]);if(!_0x37b2a8){return this['channel']['error'](_0x3e4fd7,_0x4675('0x123'));}for(var _0x5b1a86=0x0;_0x5b1a86<_0x37b2a8['length'];_0x5b1a86+=0x1){var _0x5b1a36=this[_0x4675('0x39')][_0x4675('0x11')](util[_0x4675('0x2c')](_0x4675('0x124'),_0x37b2a8[_0x5b1a86]));if(_0x5b1a36[_0x4675('0x88')]===-0x1){return _0x5b1a36;}logger['info'](util['format'](_0x4675('0x125'),_0x37b2a8[_0x5b1a86],_0x5b1a36[_0x4675('0x7e')]));if(_0x5b1a36['extra']===_0x4675('0x11b')){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x125'),_0x37b2a8[_0x5b1a86],_0x4675('0x11b')));this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x125'),_0x37b2a8[_0x5b1a86],_0x4675('0x11b')));return{'code':0xc8,'result':_0x4675('0x11b')};}else{logger[_0x4675('0x2f')](util['format']('IFTIME\x20%s\x20%s',_0x37b2a8[_0x5b1a86],_0x4675('0x11c')));this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')]('IFTIME\x20%s\x20%s',_0x37b2a8[_0x5b1a86],_0x4675('0x11c')));}}return{'code':0xc8,'result':'false'};};AGIVertices[_0x4675('0x10')][_0x4675('0x126')]=function(_0x1154b2){logger[_0x4675('0x2f')](util['format'](_0x4675('0x127'),_0x1154b2[_0x4675('0x37')]));return this[_0x4675('0x39')]['hangup']();};AGIVertices[_0x4675('0x10')][_0x4675('0x128')]=function(_0x16a64e){logger[_0x4675('0x2f')](util[_0x4675('0x2c')]('Enter\x20in\x20ISPEECHASR\x20(%s)\x20block',_0x16a64e[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x16a64e['key'])){return this[_0x4675('0x39')][_0x4675('0x8f')]('no\x20key\x20configured');}var _0x1c03e0=_0x4675('0x103');var _0x1df3aa=util[_0x4675('0x2c')](_0x4675('0x104'),FILES_PATH,rs[_0x4675('0xf1')](0x4));var _0x761a5e=util[_0x4675('0x2c')](_0x4675('0x105'),_0x1df3aa,_0x1c03e0);var _0x5625b2=!![];if(_0x16a64e[_0x4675('0x129')]===_0x4675('0x106')){_0x5625b2=![];}var _0x242149=this['channel'][_0x4675('0x107')](_0x1df3aa,_0x1c03e0,_0x16a64e['intKey'],_0x16a64e[_0x4675('0x85')],undefined,_0x5625b2);if(_0x242149[_0x4675('0x88')]!==-0x1){this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x12a'),_0x761a5e));var _0x5c6b5e=this[_0x4675('0x65')]['sync'](this,_0x16a64e,_0x761a5e);if(_0x5c6b5e){for(var _0x32a0c8 in _0x5c6b5e){if(_0x5c6b5e['hasOwnProperty'](_0x32a0c8)){this[_0x4675('0x39')][_0x4675('0xb7')](util['format'](_0x4675('0x12b'),_0x32a0c8[_0x4675('0xc7')]()),_0x5c6b5e[_0x32a0c8]);}}return this['channel']['noop'](util[_0x4675('0x2c')]('IspeechASR\x20Result\x20%s',JSON[_0x4675('0x10b')](_0x5c6b5e)));}}return _0x242149;};AGIVertices['prototype']['ispeechtts']=function(_0x1b1050){logger['info'](util[_0x4675('0x2c')]('Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block',_0x1b1050[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x1b1050['key'])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0x102'));}if(!this[_0x4675('0x67')](_0x1b1050[_0x4675('0x5c')])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0x98'));}this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')]('Trying\x20ispeech\x20TTS\x20%s',_0x1b1050['text']));var _0xea3c2d=this['ispeechTTS'][_0x4675('0x7f')](this,_0x1b1050);if(_0xea3c2d){this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x12a'),_0xea3c2d));var _0x58b012=this['channel'][_0x4675('0xd7')](_0xea3c2d,_0x1b1050['intKey']);try{fs[_0x4675('0xd8')](_0xea3c2d+'.wav');}catch(_0x2acde2){logger['error'](_0x2acde2);}return _0x58b012;}return this[_0x4675('0x39')][_0x4675('0x2e')](_0x1b1050,'ispeech\x20TTS\x20is\x20unreachable');};AGIVertices[_0x4675('0x10')][_0x4675('0x12c')]=function(_0x375ef1){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x12d'),_0x375ef1[_0x4675('0x37')]));if(!this['isConfigured'](_0x375ef1['findBy'])){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x375ef1,_0x4675('0x12e'));}logger['info'](util[_0x4675('0x2c')](_0x4675('0x12f'),this['channel'][_0x4675('0x3b')],_0x375ef1[_0x4675('0x130')]));var _0x57adb1=this[_0x4675('0x56')][_0x4675('0x7f')](this,_0x375ef1['findBy']);if(_0x57adb1){logger[_0x4675('0x2f')](util['format'](_0x4675('0x131'),this[_0x4675('0x39')][_0x4675('0x3b')],_0x375ef1['findBy']));this['channel'][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x131'),this[_0x4675('0x39')]['callerid'],_0x375ef1[_0x4675('0x130')]));return{'code':0xc8,'result':_0x4675('0x132')};}else{logger['info'](util['format'](_0x4675('0x133'),this[_0x4675('0x39')][_0x4675('0x3b')],_0x375ef1[_0x4675('0x130')]));this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x133'),this[_0x4675('0x39')][_0x4675('0x3b')],_0x375ef1['findBy']));return{'code':0xc8,'result':_0x4675('0x134')};}};AGIVertices[_0x4675('0x10')][_0x4675('0x135')]=function(_0x343365){logger[_0x4675('0x2f')](util['format'](_0x4675('0x136'),_0x343365[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x343365[_0x4675('0x130')])){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x343365,_0x4675('0x12e'));}logger['info'](util[_0x4675('0x2c')](_0x4675('0x12f'),this[_0x4675('0x39')][_0x4675('0x3b')],_0x343365['findBy']));var _0x575950=this[_0x4675('0x52')][_0x4675('0x7f')](this,_0x343365[_0x4675('0x130')]);if(_0x575950){logger['info'](util['format'](_0x4675('0x131'),this[_0x4675('0x39')][_0x4675('0x3b')],_0x343365[_0x4675('0x130')]));this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x131'),this[_0x4675('0x39')]['callerid'],_0x343365[_0x4675('0x130')]));return{'code':0xc8,'result':_0x4675('0x132')};}else{logger['info'](util[_0x4675('0x2c')](_0x4675('0x133'),this[_0x4675('0x39')]['callerid'],_0x343365[_0x4675('0x130')]));this[_0x4675('0x39')][_0x4675('0x8f')](util['format']('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x4675('0x39')][_0x4675('0x3b')],_0x343365[_0x4675('0x130')]));return{'code':0xc8,'result':_0x4675('0x134')};}};AGIVertices[_0x4675('0x10')][_0x4675('0x137')]=function(_0x26f3b7){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x138'),_0x26f3b7[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x26f3b7[_0x4675('0x139')])){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x26f3b7,_0x4675('0x13a'));}this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x13b'),_0x26f3b7[_0x4675('0x139')]));var _0x5a66ae=eval(_0x26f3b7[_0x4675('0x139')]);if(!this[_0x4675('0x67')](_0x26f3b7[_0x4675('0xb2')])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0xb3'));}var _0x117168=this[_0x4675('0x11')][_0x4675('0x7f')](this,_0x26f3b7[_0x4675('0xb2')]);if(!_0x117168){return this[_0x4675('0x39')]['error'](_0x26f3b7,_0x4675('0xb4'));}if(_[_0x4675('0x13c')](_0x5a66ae)){var _0x548d2c=this;_0x5a66ae[_0x4675('0xb6')](function(_0x5967ca,_0x35ee17){_0x548d2c['channel'][_0x4675('0xb7')](util[_0x4675('0x2c')](_0x4675('0x13d'),_0x117168,_0x35ee17),_0x5967ca);});return this[_0x4675('0x39')]['noop'](util[_0x4675('0x2c')](_0x4675('0x13e'),_0x117168));}else{return this[_0x4675('0x39')]['setVariable'](_0x117168,_0x5a66ae);}};AGIVertices[_0x4675('0x10')][_0x4675('0xb')]=function(_0x523e5a){logger[_0x4675('0x2f')](util[_0x4675('0x2c')]('Enter\x20in\x20MENU\x20(%s)\x20block',_0x523e5a[_0x4675('0x37')]));if(_0x523e5a[_0x4675('0x80')]===0x0){return this[_0x4675('0x81')](_0x523e5a);}_0x523e5a[_0x4675('0x80')]-=0x1;if(!this[_0x4675('0x67')](_0x523e5a[_0x4675('0xe7')])){return this['channel']['error'](_0x523e5a,_0x4675('0xe8'));}var _0x5c3a48=this[_0x4675('0x1f')]['sync'](this,_0x523e5a[_0x4675('0xe7')]);if(!_0x5c3a48){return this[_0x4675('0x39')]['error'](_0x523e5a,'no\x20file\x20audio\x20found');}var _0x6b0b77=this[_0x4675('0x39')]['getData'](_0x5c3a48,_0x523e5a['response'],_0x523e5a[_0x4675('0x13f')]);var _0x4b7deb=_0x6b0b77['result'];if(_0x6b0b77[_0x4675('0x88')]===-0x1){this['createSquareDetailsReport']['sync'](this,_0x523e5a,'-1');return _0x6b0b77;}else if(_0x6b0b77[_0x4675('0x7e')]==='timeout'){_0x6b0b77['result']=_0x6b0b77[_0x4675('0x88')][_0x4675('0x79')]>0x0?_0x6b0b77[_0x4675('0x88')]:'t';}else if(_[_0x4675('0x47')](_0x6b0b77[_0x4675('0x88')])){_0x6b0b77[_0x4675('0x88')]='#';_0x4b7deb='#';}if(!this['isConfigured'](_0x523e5a[_0x4675('0xb2')])){this[_0x4675('0x39')][_0x4675('0x8f')]('no\x20variable\x20selected\x20for\x20the\x20result');}else{var _0x4ffc9d=this['getVariable'][_0x4675('0x7f')](this,_0x523e5a[_0x4675('0xb2')]);if(!_0x4ffc9d){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x523e5a,_0x4675('0xb4'));}this[_0x4675('0x39')][_0x4675('0xb7')](_0x4ffc9d,_0x4b7deb);}this['createSquareDetailsReport']['sync'](this,_0x523e5a,_0x4b7deb);return _0x6b0b77;};AGIVertices[_0x4675('0x10')]['noop']=function(_0x3f1afe){logger[_0x4675('0x2f')](util[_0x4675('0x2c')]('Enter\x20in\x20NOOP\x20(%s)\x20block',_0x3f1afe[_0x4675('0x37')]));return this[_0x4675('0x39')][_0x4675('0x8f')](_0x3f1afe[_0x4675('0x140')]||_0x3f1afe['label']);};AGIVertices[_0x4675('0x10')][_0x4675('0x141')]=function(_0x237365){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x142'),_0x237365[_0x4675('0x37')]));if(!this['isConfigured'](_0x237365[_0x4675('0x130')])){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x237365,_0x4675('0x12e'));}logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x12f'),this[_0x4675('0x39')][_0x4675('0x3b')],_0x237365['findBy']));var _0x202ef5=this[_0x4675('0x4e')]['sync'](this,_0x237365[_0x4675('0x143')]);var _0x378cf8=this[_0x4675('0x4f')]['sync'](this,_0x237365[_0x4675('0x130')],_0x202ef5);if(_0x378cf8){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x131'),this['channel']['callerid'],_0x237365[_0x4675('0x130')]));this['channel'][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x131'),this[_0x4675('0x39')][_0x4675('0x3b')],_0x237365[_0x4675('0x130')]));return{'code':0xc8,'result':'success'};}else{logger[_0x4675('0x2f')](util['format'](_0x4675('0x133'),this[_0x4675('0x39')][_0x4675('0x3b')],_0x237365[_0x4675('0x130')]));this['channel'][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x131'),this[_0x4675('0x39')][_0x4675('0x3b')],_0x237365['findBy']));return{'code':0xc8,'result':_0x4675('0x134')};}};AGIVertices[_0x4675('0x10')][_0x4675('0x144')]=function(_0x41490b){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x145'),_0x41490b[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x41490b[_0x4675('0xe7')])){return this['channel'][_0x4675('0x2e')](_0x41490b,_0x4675('0xe8'));}var _0x22e329=this[_0x4675('0x1f')][_0x4675('0x7f')](this,_0x41490b['file_id']);if(!_0x22e329){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x41490b,_0x4675('0xe9'));}var _0x13dcea=this[_0x4675('0x39')][_0x4675('0x58')](_0x4675('0x146'),[_0x22e329,_0x41490b[_0x4675('0xc1')]]);if(_0x13dcea['result']===-0x1){return _0x13dcea;}return this[_0x4675('0x39')][_0x4675('0x8f')](util['format'](_0x4675('0x95'),_0x4675('0x146'),_0x22e329));};AGIVertices[_0x4675('0x10')][_0x4675('0x147')]=function(_0x549e09){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x148'),_0x549e09[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x549e09[_0x4675('0x149')])){return this['channel']['error'](_0x549e09,_0x4675('0x14a'));}var _0x447bc3='';var _0x1ed38e=parseInt(_0x549e09[_0x4675('0x149')],0xa);if(isNaN(_0x1ed38e)){_0x447bc3=_0x549e09['queue_id'];}else{_0x447bc3=this[_0x4675('0x14b')]['sync'](this,_0x549e09[_0x4675('0x149')]);if(!_0x447bc3){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x549e09,_0x4675('0x14c'));}}var _0xd854ac='';if(this['isConfigured'](_0x549e09[_0x4675('0xe7')])){var _0x4ebf73=this[_0x4675('0x1f')]['sync'](this,_0x549e09[_0x4675('0xe7')]);if(_0x4ebf73){_0xd854ac=_0x4ebf73;}}this['createSquareDetailsReport'][_0x4675('0x7f')](this,_0x549e09,_0x447bc3);if(_0x549e09[_0x4675('0xc1')]['indexOf']('x')<0x0){_0x549e09['opts']+='x';}if(_0x549e09[_0x4675('0xc1')]['indexOf']('X')<0x0){_0x549e09['opts']+='X';}this['channel']['setVariable']('XMCS-QUEUE',_0x447bc3?_0x447bc3[_0x4675('0x14d')]():'');var _0x154e05=this[_0x4675('0x39')][_0x4675('0x58')](_0x4675('0x14e'),[_0x447bc3,_0x549e09[_0x4675('0xc1')],_0x549e09[_0x4675('0xc2')],_0xd854ac,_0x549e09['timeout'],_0x549e09[_0x4675('0x14f')],_0x549e09[_0x4675('0x150')],_0x549e09[_0x4675('0x151')],'',_0x549e09[_0x4675('0x152')]]);if(_0x154e05[_0x4675('0x88')]===-0x1){return _0x154e05;}return this['channel'][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x95'),_0x4675('0x14e'),_0x447bc3));};AGIVertices[_0x4675('0x10')]['record']=function(_0x463e39){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x153'),_0x463e39[_0x4675('0x37')]));var _0x5cb590=_0x463e39[_0x4675('0x154')]||_0x4675('0x103');var _0x1b6823=util[_0x4675('0x2c')](_0x4675('0x155'),this[_0x4675('0x39')]['uniqueid'],rs[_0x4675('0xf1')](0x5));var _0x25283c=util[_0x4675('0x2c')](_0x4675('0x156'),FILES_PATH,_0x1b6823,_0x5cb590);var _0x3cce78=util[_0x4675('0x2c')](_0x4675('0x104'),FILES_PATH,_0x1b6823);this[_0x4675('0x3c')]['sync'](this,_0x463e39,_0x1b6823,_0x25283c);this[_0x4675('0x39')]['setVariable'](_0x4675('0x157'),_0x1b6823);logger['info'](_0x4675('0x158'),_0x3cce78,_0x5cb590,_0x463e39['escape_digits'],_0x463e39['timeout']);return this['channel'][_0x4675('0x107')](_0x3cce78,_0x5cb590,_0x463e39['escape_digits'],_0x463e39['timeout'],undefined,!![]);};AGIVertices[_0x4675('0x10')][_0x4675('0x159')]=function(_0x1f3bf5){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x15a'),_0x1f3bf5[_0x4675('0x37')]));return this[_0x4675('0x39')][_0x4675('0x15b')](_0x1f3bf5[_0x4675('0x15c')][_0x4675('0x5a')](/\s+/g,''),_0x1f3bf5[_0x4675('0x15d')]);};AGIVertices[_0x4675('0x10')]['saynumber']=function(_0x2e606f){logger[_0x4675('0x2f')](util[_0x4675('0x2c')]('Enter\x20in\x20SAYNUMBER\x20(%s)\x20block',_0x2e606f['label']));return this[_0x4675('0x39')][_0x4675('0x15e')](_0x2e606f[_0x4675('0x15f')]['replace'](/\s+/g,''),_0x2e606f[_0x4675('0x15d')]);};AGIVertices[_0x4675('0x10')][_0x4675('0x160')]=function(_0x31e9b9){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x161'),_0x31e9b9[_0x4675('0x37')]));return this[_0x4675('0x39')]['sayPhonetic'](_0x31e9b9[_0x4675('0x5c')],_0x31e9b9[_0x4675('0x15d')]);};AGIVertices[_0x4675('0x10')]['sendMail']=function(_0x14b972){logger[_0x4675('0x2f')](util['format']('Enter\x20in\x20SENDMAIL\x20(%s)\x20block',_0x14b972[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x14b972[_0x4675('0x162')])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0x163'));}var _0x34104a=this[_0x4675('0x22')][_0x4675('0x7f')](this,_0x14b972[_0x4675('0x162')]);if(!_0x34104a||!_0x34104a[_0x4675('0x164')]){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x14b972,'no\x20mail\x20account\x20found');}var _0x589ede={'from':util[_0x4675('0x2c')]('\x22%s\x22\x20<%s>',_0x34104a['name'],_0x34104a[_0x4675('0x165')]||_0x34104a[_0x4675('0x164')][_0x4675('0x166')]),'to':_0x14b972['to']||'','cc':_0x14b972['cc']||'','bcc':_0x14b972[_0x4675('0x167')]||'','subject':_0x14b972[_0x4675('0x168')],'html':_0x14b972[_0x4675('0x5c')],'text':_0x14b972['text']};var _0x4a29dc={'tls':{'rejectUnauthorized':![]}};if(_0x34104a[_0x4675('0x164')][_0x4675('0x169')]){_0x4a29dc[_0x4675('0x169')]=_0x34104a[_0x4675('0x164')]['service'];}else{_0x4a29dc['host']=_0x34104a['Smtp'][_0x4675('0x16a')];_0x4a29dc[_0x4675('0x16b')]=_0x34104a['Smtp']['port'];_0x4a29dc[_0x4675('0x16c')]=_0x34104a[_0x4675('0x164')][_0x4675('0x16c')];}if(_0x34104a[_0x4675('0x164')][_0x4675('0x16d')]){_0x4a29dc[_0x4675('0x16e')]={'user':_0x34104a[_0x4675('0x164')][_0x4675('0x166')],'pass':_0x34104a['Smtp'][_0x4675('0x16f')]};}if(this[_0x4675('0x67')](_0x14b972[_0x4675('0x170')])){}logger[_0x4675('0xbb')](_0x4675('0x171'),JSON['stringify'](_0x589ede));this['createSquareDetailsReport']['sync'](this,_0x14b972,_0x14b972[_0x4675('0x162')]);this['channel'][_0x4675('0x8f')](util[_0x4675('0x2c')]('Trying\x20SendMail\x20with\x20account\x20%s',_0x34104a['name']));this[_0x4675('0x24')][_0x4675('0x7f')](this,_0x4a29dc,_0x589ede);return this[_0x4675('0x39')]['noop'](_0x4675('0x172'));};AGIVertices[_0x4675('0x10')][_0x4675('0x173')]=function(_0x3a27e4){logger[_0x4675('0x2f')](util['format']('Enter\x20in\x20SENDFAX\x20(%s)\x20block',_0x3a27e4[_0x4675('0x37')]));return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0x174'));};AGIVertices['prototype'][_0x4675('0x175')]=function(_0x1d7d26){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x176'),_0x1d7d26['label']));if(!this[_0x4675('0x67')](_0x1d7d26[_0x4675('0x177')])){return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0x178'));}var _0x326c07=this[_0x4675('0x34')][_0x4675('0x7f')](this,_0x1d7d26['sms_account_id']);if(!_0x326c07){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x1d7d26,_0x4675('0x179'));}var _0x815547={'body':_0x1d7d26[_0x4675('0x17a')],'phone':_0x1d7d26['to']||'','SmsAccountId':_0x326c07['id']};logger['debug'](_0x4675('0x17b'),JSON['stringify'](_0x815547));this[_0x4675('0x36')]['sync'](this,_0x1d7d26,_0x1d7d26[_0x4675('0x177')]);this[_0x4675('0x39')]['noop'](util[_0x4675('0x2c')](_0x4675('0x17c'),_0x326c07[_0x4675('0x14')]));this[_0x4675('0x35')][_0x4675('0x7f')](this,_0x815547);return this[_0x4675('0x39')][_0x4675('0x8f')](_0x4675('0x17d'));};AGIVertices[_0x4675('0x10')][_0x4675('0x17e')]=function(_0x10206b){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x17f'),_0x10206b['label']));if(!this[_0x4675('0x67')](_0x10206b[_0x4675('0xb2')])){return this['channel']['error'](_0x10206b,'no\x20variable\x20selected');}var _0x40fb18=this[_0x4675('0x11')][_0x4675('0x7f')](this,_0x10206b[_0x4675('0xb2')]);if(!_0x40fb18){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x10206b,_0x4675('0xb4'));}return this[_0x4675('0x39')][_0x4675('0xb7')](_0x40fb18,_0x10206b[_0x4675('0x180')]);};AGIVertices[_0x4675('0x10')][_0x4675('0x181')]=function(_0xa95818){logger['info'](util[_0x4675('0x2c')](_0x4675('0x182'),_0xa95818['label']));this['channel']['noop'](_0x4675('0x183'));if(_0xa95818[_0x4675('0x84')]==='yes'){this['channel'][_0x4675('0x8f')]('Answer');return this['channel'][_0x4675('0x84')]();}return this[_0x4675('0x39')][_0x4675('0x8f')]('Skipped\x20Answer');};AGIVertices[_0x4675('0x10')]['subproject']=function(_0x47ba88){logger[_0x4675('0x2f')](util[_0x4675('0x2c')]('Enter\x20in\x20SUBPROJECT\x20(%s)\x20block',_0x47ba88[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x47ba88[_0x4675('0x184')])){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x47ba88,_0x4675('0x185'));}var _0x4fad49=this[_0x4675('0x17')][_0x4675('0x7f')](this,_0x47ba88[_0x4675('0x184')]);if(!this['isConfigured'](_0x4fad49)){return this[_0x4675('0x39')]['error'](_0x47ba88,util[_0x4675('0x2c')]('no\x20subproject\x20found\x20with\x20id\x20%d',_0x47ba88[_0x4675('0x184')]));}if(_0x4fad49===this['channel'][_0x4675('0x3a')]){return this['channel'][_0x4675('0x2e')](_0x47ba88,_0x4675('0x186'));}this[_0x4675('0x36')][_0x4675('0x7f')](this,_0x47ba88,_0x4fad49);var _0x42457a=this['channel'][_0x4675('0x58')](_0x4675('0x187'),util[_0x4675('0x2c')](_0x4675('0x188'),config[_0x4675('0x14f')][_0x4675('0x16a')]||'127.0.0.1',_0x4fad49,this[_0x4675('0x39')][_0x4675('0x3a')]));if(_0x42457a[_0x4675('0x88')]===-0x1){return _0x42457a;}return this['channel'][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x95'),'AGI',_0x4fad49));};AGIVertices[_0x4675('0x10')][_0x4675('0x189')]=function(_0x5cf345){logger[_0x4675('0x2f')](util[_0x4675('0x2c')]('Enter\x20in\x20SYSTEM\x20(%s)\x20block',_0x5cf345['label']));var _0xe59bdc=this[_0x4675('0x57')]['sync'](this,_0x5cf345[_0x4675('0x83')]);this['createSquareDetailsReport'][_0x4675('0x7f')](this,_0x5cf345,_0x5cf345[_0x4675('0x83')]);if(this['isConfigured'](_0x5cf345[_0x4675('0xb2')])){var _0x294b26=this[_0x4675('0x11')][_0x4675('0x7f')](this,_0x5cf345['variable_id']);if(_0x294b26){this[_0x4675('0x39')][_0x4675('0xb7')](_0x294b26,_0xe59bdc);return this['channel'][_0x4675('0x8f')](util['format'](_0x4675('0x18a'),_0x5cf345[_0x4675('0x83')],_0x294b26));}}return this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x18b'),_0x5cf345[_0x4675('0x83')]));};AGIVertices[_0x4675('0x10')][_0x4675('0x18c')]=function(_0x10ad89){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x18d'),_0x10ad89[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x10ad89[_0x4675('0x5c')])){return this[_0x4675('0x39')][_0x4675('0x8f')]('no\x20text\x20configured');}this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')]('Trying\x20Google\x20TTS\x20%s',_0x10ad89[_0x4675('0x5c')]));var _0x189a92=this[_0x4675('0x5b')][_0x4675('0x7f')](this,_0x10ad89);if(_0x189a92){this[_0x4675('0x39')][_0x4675('0x8f')](util['format'](_0x4675('0x18e'),_0x189a92));var _0x42e44a=this[_0x4675('0x39')]['streamFile'](_0x189a92);try{fs[_0x4675('0xd8')](_0x189a92+_0x4675('0xd9'));}catch(_0x51bcf5){logger[_0x4675('0x2e')](_0x51bcf5);}return _0x42e44a;}return this[_0x4675('0x39')][_0x4675('0x2e')](_0x10ad89,_0x4675('0x18f'));};AGIVertices[_0x4675('0x10')][_0x4675('0x190')]=function(_0x2b1057){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x191'),_0x2b1057[_0x4675('0x37')]));if(!this[_0x4675('0x67')](_0x2b1057[_0x4675('0x130')])){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x2b1057,_0x4675('0x12e'));}logger[_0x4675('0x2f')](util['format'](_0x4675('0x12f'),this[_0x4675('0x39')]['callerid'],_0x2b1057[_0x4675('0x130')]));var _0x1192a0=this['agentUnpause'][_0x4675('0x7f')](this,_0x2b1057['findBy']);if(_0x1192a0){logger['info'](util['format'](_0x4675('0x131'),this[_0x4675('0x39')]['callerid'],_0x2b1057[_0x4675('0x130')]));this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')](_0x4675('0x131'),this[_0x4675('0x39')][_0x4675('0x3b')],_0x2b1057[_0x4675('0x130')]));return{'code':0xc8,'result':'success'};}else{logger['info'](util[_0x4675('0x2c')](_0x4675('0x133'),this[_0x4675('0x39')][_0x4675('0x3b')],_0x2b1057[_0x4675('0x130')]));this[_0x4675('0x39')]['noop'](util['format'](_0x4675('0x133'),this['channel']['callerid'],_0x2b1057[_0x4675('0x130')]));return{'code':0xc8,'result':_0x4675('0x134')};}};AGIVertices[_0x4675('0x10')][_0x4675('0x192')]=function(_0x747c21){logger[_0x4675('0x2f')](util[_0x4675('0x2c')](_0x4675('0x193'),_0x747c21[_0x4675('0x37')]));var _0x362dfb=this[_0x4675('0x39')][_0x4675('0x58')](_0x4675('0x194'),[_0x747c21[_0x4675('0x195')],_0x747c21[_0x4675('0x94')]]);if(_0x362dfb['result']===-0x1){return _0x362dfb;}return this[_0x4675('0x39')][_0x4675('0x8f')](util[_0x4675('0x2c')]('Executed\x20command\x20%s\x20%s',_0x4675('0x194'),_0x747c21[_0x4675('0x195')]));};AGIVertices[_0x4675('0x10')]['vswitch']=function(_0x146ebe){logger['info'](util[_0x4675('0x2c')]('Enter\x20in\x20SWITCH\x20(%s)\x20block',_0x146ebe['label']));if(!this[_0x4675('0x67')](_0x146ebe[_0x4675('0xb2')])){return this['channel'][_0x4675('0x2e')](_0x146ebe,'no\x20variable\x20selected');}var _0x3aa5c8=this[_0x4675('0x11')][_0x4675('0x7f')](this,_0x146ebe['variable_id']);if(!_0x3aa5c8){return this[_0x4675('0x39')][_0x4675('0x2e')](_0x146ebe,_0x4675('0xb4'));}var _0x29224b=this[_0x4675('0x39')][_0x4675('0x11')](_0x3aa5c8);return{'code':0xc8,'result':_0x29224b['extra']?_0x29224b[_0x4675('0x7e')]:'-'};};String[_0x4675('0x10')]['replaceAll']=function(_0x464854,_0x5ac3c9){return this[_0x4675('0x7a')](_0x464854)['join'](_0x5ac3c9);};module[_0x4675('0x196')]=AGIVertices;
\ No newline at end of file