Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / services / routing / server / index.js
index 0e45824..115e954 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe5d5=['interaction','applications','isArray','length','join','app','.js','toLowerCase','appdata','split','push','slice','dialogflowv2','amazonlex','tag','./interval','condition','intervals','./applications/','consequence','priority','Push\x20new\x20rule','\x20|\x20','error','Please\x20create\x20a\x20new\x20file\x20under','info','Applications\x20executed','stringify','matchPath','emit','complete','No\x20applications\x20to\x20execute','stack','routing\x20is\x20empty','agent','busy','agents','busyQueue','end','QueueReport','update','catch','error\x20update\x20queue\x20report','message\x20is\x20empty','hasOwnProperty','CurrentCapacity','capacity','updateRealtime','agent\x20not\x20found','values','chatQueues','name','paused','waiting','mailQueues','available','loggedIn','openchannelQueues','smsQueues','faxQueues','whatsappQueues','chatQueuesWaitingInteractions','mailQueuesWaitingInteractions','smsQueuesWaitingInteractions','faxQueuesWaitingInteractions','server','http','127.0.0.1','Routing\x20RPC\x20server\x20listening\x20on\x20127.0.0.1:%d!','path','bluebird','../../../config/environment','routing','../rpc/openchannelQueueReport','../rpc/mailQueueReport','../rpc/chatQueueReport','../rpc/smsQueueReport','../rpc/faxQueueReport','../rpc/whatsappQueueReport','../lib/rule-engine','format','%s.%s.%s','IntervalId','isNil','Intervals','map','interval','listen','rules','channel','message'];(function(_0x465028,_0x4570ac){var _0xb783d4=function(_0x5458c5){while(--_0x5458c5){_0x465028['push'](_0x465028['shift']());}};_0xb783d4(++_0x4570ac);}(_0xe5d5,0x156));var _0x5e5d=function(_0x16d316,_0x198875){_0x16d316=_0x16d316-0x0;var _0x4b7f7f=_0xe5d5[_0x16d316];return _0x4b7f7f;};'use strict';var _=require('lodash');var util=require('util');var path=require(_0x5e5d('0x0'));var fs=require('fs');var jayson=require('jayson/promise');var BPromise=require(_0x5e5d('0x1'));var uuid=require('uuid');var config=require(_0x5e5d('0x2'));var logger=require('../../../config/logger')(_0x5e5d('0x3'));var rpc={'openchannelQueueReport':require(_0x5e5d('0x4')),'mailQueueReport':require(_0x5e5d('0x5')),'chatQueueReport':require(_0x5e5d('0x6')),'smsQueueReport':require(_0x5e5d('0x7')),'faxQueueReport':require(_0x5e5d('0x8')),'whatsappQueueReport':require(_0x5e5d('0x9'))};var RuleEngine=require(_0x5e5d('0xa'));function getId(_0x23de8d,_0x131a59,_0x11973c){return util[_0x5e5d('0xb')](_0x5e5d('0xc'),_0x23de8d,_0x131a59||0x0,_0x11973c||0x0);}function getIntervals(_0x5d3a3b,_0x59917b){var _0x32d041=[];if(!_['isNil'](_0x59917b[_0x5e5d('0xd')])&&!_[_0x5e5d('0xe')](_0x5d3a3b[_0x59917b['IntervalId']])&&!_[_0x5e5d('0xe')](_0x5d3a3b[_0x59917b[_0x5e5d('0xd')]][_0x5e5d('0xf')])){_0x32d041=_[_0x5e5d('0x10')](_0x5d3a3b[_0x59917b['IntervalId']]['Intervals'],_0x5e5d('0x11'));}else if(!_[_0x5e5d('0xe')](_0x59917b['interval'])){_0x32d041=[_0x59917b[_0x5e5d('0x11')]];}return _0x32d041;}exports[_0x5e5d('0x12')]=function(_0x5a4474){_0x5a4474[_0x5e5d('0x13')]={};return new BPromise(function(_0x3402cf,_0x5a5258){var _0x5a8457={'Start':function(_0x5bf617){var _0x1a3e5c=this;return new Promise(function(_0x3dfb7e,_0x79e8c1){if(_0x5bf617){try{var _0x1e2d44=[];var _0x566dab=getId(_0x5bf617[_0x5e5d('0x14')],_0x5bf617[_0x5e5d('0x15')]?_0x5bf617[_0x5e5d('0x15')]['id']:0x0,_0x5bf617[_0x5e5d('0x16')]?_0x5bf617[_0x5e5d('0x16')]['id']:0x0);if(_0x5bf617[_0x5e5d('0x17')]&&_[_0x5e5d('0x18')](_0x5bf617[_0x5e5d('0x17')])&&_0x5bf617['applications'][_0x5e5d('0x19')]){for(var _0x1ceea7=0x0;_0x1ceea7<_0x5bf617[_0x5e5d('0x17')][_0x5e5d('0x19')];_0x1ceea7+=0x1){var _0xd3b6d6=_0x5bf617[_0x5e5d('0x17')][_0x1ceea7];if(fs['existsSync'](path[_0x5e5d('0x1a')](__dirname,'applications',_0xd3b6d6[_0x5e5d('0x1b')]+_0x5e5d('0x1c')))){var _0x3c5dd0=[];switch(_0xd3b6d6['app'][_0x5e5d('0x1d')]()){case'autoreply':var _0x35b65a=_0xd3b6d6[_0x5e5d('0x1e')][_0x5e5d('0x1f')](',');if(_0x5bf617['channel']==='mail'){_0x3c5dd0[_0x5e5d('0x20')](_0x35b65a[0x0]);_0x3c5dd0[_0x5e5d('0x20')](_0x35b65a[0x1]);_0x3c5dd0['push'](_0x35b65a['slice'](0x2,_0x35b65a[_0x5e5d('0x19')])[_0x5e5d('0x1a')](','));}else{_0x3c5dd0[_0x5e5d('0x20')](_0x35b65a[0x0]);_0x3c5dd0['push'](_0x35b65a[_0x5e5d('0x21')](0x1,_0x35b65a['length'])[_0x5e5d('0x1a')](','));}break;case'dialogflow':var _0x15abf2=_0xd3b6d6[_0x5e5d('0x1e')][_0x5e5d('0x1f')](',');_0x3c5dd0[_0x5e5d('0x20')](_0x15abf2[0x0]);_0x3c5dd0[_0x5e5d('0x20')](_0x15abf2[0x1]);_0x3c5dd0[_0x5e5d('0x20')](_0x15abf2[_0x5e5d('0x21')](0x2,_0x15abf2['length'])[_0x5e5d('0x1a')](','));break;case _0x5e5d('0x22'):var _0x3442c1=_0xd3b6d6[_0x5e5d('0x1e')][_0x5e5d('0x1f')](',');_0x3c5dd0[_0x5e5d('0x20')](_0x3442c1[0x0]);_0x3c5dd0[_0x5e5d('0x20')](_0x3442c1[0x1]);_0x3c5dd0[_0x5e5d('0x20')](_0x3442c1[0x2]);_0x3c5dd0[_0x5e5d('0x20')](_0x3442c1[0x3]);_0x3c5dd0['push'](_0x3442c1[_0x5e5d('0x21')](0x4,_0x3442c1['length'])['join'](','));break;case _0x5e5d('0x23'):var _0x1f948b=_0xd3b6d6[_0x5e5d('0x1e')][_0x5e5d('0x1f')](',');_0x3c5dd0[_0x5e5d('0x20')](_0x1f948b[0x0]);_0x3c5dd0['push'](_0x1f948b[0x1]);_0x3c5dd0[_0x5e5d('0x20')](_0x1f948b[0x2]);_0x3c5dd0[_0x5e5d('0x20')](_0x1f948b[0x3]);_0x3c5dd0[_0x5e5d('0x20')](_0x1f948b[_0x5e5d('0x21')](0x4,_0x1f948b[_0x5e5d('0x19')])[_0x5e5d('0x1a')](','));break;case _0x5e5d('0x15'):_0x3c5dd0['push'](_0xd3b6d6[_0x5e5d('0x1e')]);break;case _0x5e5d('0x24'):_0x3c5dd0['push'](_0xd3b6d6['TagId']);_0x3c5dd0[_0x5e5d('0x20')](_0xd3b6d6[_0x5e5d('0x1e')]);break;default:_0x3c5dd0=_[_0x5e5d('0xe')](_0xd3b6d6[_0x5e5d('0x1e')])?[]:_0xd3b6d6[_0x5e5d('0x1e')][_0x5e5d('0x1f')](',');}var _0x5a5696={'id':util[_0x5e5d('0xb')]('%s:%s:%s',_0x566dab,_0xd3b6d6['id'],_0xd3b6d6[_0x5e5d('0x1b')]),'condition':require(_0x5e5d('0x25'))[_0x5e5d('0x26')](_0x566dab,getIntervals(_0x5a4474[_0x5e5d('0x27')],_0xd3b6d6),_0x5a4474),'consequence':require(_0x5e5d('0x28')+_0xd3b6d6['app'])[_0x5e5d('0x29')](_0x566dab,_0x3c5dd0,_0x5a4474,_0x5bf617),'p':_0xd3b6d6[_0x5e5d('0x2a')]||0x0};logger['info'](_0x5e5d('0x2b'),_0x5a5696['id'],'on\x20interval',getIntervals(_0x5a4474[_0x5e5d('0x27')],_0xd3b6d6)[_0x5e5d('0x1a')](_0x5e5d('0x2c')));_0x1e2d44[_0x5e5d('0x20')](_0x5a5696);}else{logger[_0x5e5d('0x2d')](_0x5e5d('0x2e'),path[_0x5e5d('0x1a')](__dirname,_0x5e5d('0x17'),_0xd3b6d6[_0x5e5d('0x1b')]+_0x5e5d('0x1c')));}}_0x5a4474[_0x5e5d('0x13')][_0x566dab]=new RuleEngine(_0x1e2d44);_0x5a4474[_0x5e5d('0x13')][_0x566dab]['execute'](_0x5bf617,function(_0x272150){logger[_0x5e5d('0x2f')](_0x5e5d('0x30'),JSON[_0x5e5d('0x31')](_0x272150[_0x5e5d('0x32')]));if(_0x5a4474[_0x5e5d('0x13')][_0x566dab]){_0x5a4474['rules'][_0x566dab][_0x5e5d('0x33')](_0x5e5d('0x34'));}});return _0x3dfb7e({'code':0xc8,'message':_0x5bf617});}else{logger['info'](_0x5e5d('0x35'));return _0x3dfb7e({'code':0xc8,'message':_0x5bf617});}}catch(_0x38698e){logger[_0x5e5d('0x2d')](_0x38698e[_0x5e5d('0x36')]);return _0x79e8c1(_0x1a3e5c[_0x5e5d('0x2d')](0x1f4,_0x38698e));}}return _0x79e8c1(_0x5e5d('0x37'));});},'AcceptMessage':function(_0x577faa){var _0x502aac=this;return new Promise(function(_0x1032bc,_0x58fe19){if(_0x577faa[_0x5e5d('0x38')]&&_0x577faa['agent']['id']){if(_0x5a4474['agents'][_0x577faa[_0x5e5d('0x38')]['id']]){_0x5a4474['agents'][_0x577faa['agent']['id']][_0x5e5d('0x39')]=![];_0x5a4474[_0x5e5d('0x3a')][_0x577faa[_0x5e5d('0x38')]['id']][_0x5e5d('0x3b')]=undefined;}}if(_0x577faa[_0x5e5d('0x15')]&&_0x577faa[_0x5e5d('0x15')]['id']){try{var _0x583e4f=getId(_0x577faa['channel'],_0x577faa['message']?_0x577faa[_0x5e5d('0x15')]['id']:0x0,_0x577faa['interaction']?_0x577faa[_0x5e5d('0x16')]['id']:0x0);if(_0x5a4474[_0x5e5d('0x13')][_0x583e4f]){_0x5a4474['rules'][_0x583e4f][_0x5e5d('0x33')](_0x5e5d('0x3c'));if(rpc[_0x577faa['channel']+_0x5e5d('0x3d')]){rpc[_0x577faa[_0x5e5d('0x14')]+_0x5e5d('0x3d')][_0x5e5d('0x3e')](_0x583e4f,{'UserId':_0x577faa[_0x5e5d('0x15')]['UserId']})[_0x5e5d('0x3f')](function(_0x404df8){logger[_0x5e5d('0x2d')](_0x5e5d('0x40'));});}}return _0x1032bc({'code':0xc8,'message':_0x577faa});}catch(_0x6bf443){logger[_0x5e5d('0x2d')](_0x6bf443[_0x5e5d('0x36')]);return _0x58fe19(_0x502aac[_0x5e5d('0x2d')](0x1f4,_0x6bf443));}}logger['error'](_0x5e5d('0x41'));return _0x58fe19(_0x502aac[_0x5e5d('0x2d')](0x1f4,_0x5e5d('0x41')));});},'RejectMessage':function(_0x5d6369){var _0x11159c=this;return new Promise(function(_0xd724a7,_0x5efa97){if(_0x5d6369[_0x5e5d('0x38')]&&_0x5d6369[_0x5e5d('0x38')]['id']){try{if(_0x5a4474[_0x5e5d('0x3a')][_0x5d6369['agent']['id']]){_0x5a4474[_0x5e5d('0x3a')][_0x5d6369[_0x5e5d('0x38')]['id']][_0x5e5d('0x39')]=![];_0x5a4474[_0x5e5d('0x3a')][_0x5d6369[_0x5e5d('0x38')]['id']]['busyQueue']=undefined;}return _0xd724a7({'code':0xc8,'message':_0x5d6369});}catch(_0x1e2738){logger['error'](_0x1e2738['stack']);return _0x5efa97(_0x11159c[_0x5e5d('0x2d')](0x1f4,_0x1e2738));}}logger['error'](_0x5e5d('0x41'));return _0x5efa97(_0x11159c[_0x5e5d('0x2d')](0x1f4,'message\x20is\x20empty'));});},'AbandonInteraction':function(_0x3bf4c7){var _0x1a6160=this;return new Promise(function(_0x4f092e,_0x4f69ca){if(_0x3bf4c7[_0x5e5d('0x14')]&&_0x3bf4c7[_0x5e5d('0x16')]&&_0x3bf4c7['interaction']['id']){try{var _0x25065c=getId(_0x3bf4c7[_0x5e5d('0x14')],_0x3bf4c7[_0x5e5d('0x15')]?_0x3bf4c7['message']['id']:0x0,_0x3bf4c7[_0x5e5d('0x16')]?_0x3bf4c7[_0x5e5d('0x16')]['id']:0x0);if(_0x5a4474[_0x5e5d('0x13')][_0x25065c]){_0x5a4474['rules'][_0x25065c][_0x5e5d('0x33')](_0x5e5d('0x3c'));}return _0x4f092e({'code':0xc8,'message':_0x3bf4c7});}catch(_0x2764cf){logger['error'](_0x2764cf['stack']);return _0x4f69ca(_0x1a6160['error'](0x1f4,_0x2764cf));}}logger[_0x5e5d('0x2d')]('message\x20is\x20empty');return _0x4f69ca(_0x1a6160[_0x5e5d('0x2d')](0x1f4,'message\x20is\x20empty'));});},'AgentCapacity':function(_0x1233e5){var _0x55a335=this;return new Promise(function(_0x3e32df,_0x183a48){if(_0x5a4474['agents'][_0x5e5d('0x42')](_0x1233e5['id'])){for(var _0x5584aa in _0x1233e5['capacity']){if(_0x1233e5['capacity'][_0x5e5d('0x42')](_0x5584aa)){if(_0x5a4474[_0x5e5d('0x3a')][_0x1233e5['id']]['hasOwnProperty'](_0x5584aa+_0x5e5d('0x43'))){_0x5a4474[_0x5e5d('0x3a')][_0x1233e5['id']][_0x5584aa+_0x5e5d('0x43')]=parseInt(_0x1233e5[_0x5e5d('0x44')][_0x5584aa],0xa);}}}_0x5a4474[_0x5e5d('0x3a')][_0x1233e5['id']][_0x5e5d('0x45')]();return _0x3e32df({'code':0xc8,'message':_0x5a4474['agents'][_0x1233e5['id']]});}else{return _0x183a48(_0x55a335[_0x5e5d('0x2d')](0x1f4,_0x5e5d('0x46')));}});},'Agents':function(_0x543739){return new Promise(function(_0x4ed2fb,_0x29a32c){var _0x1971d6=_[_0x5e5d('0x47')](_0x5a4474[_0x5e5d('0x3a')]);_0x4ed2fb({'count':_0x1971d6[_0x5e5d('0x19')],'rows':_0x1971d6});});},'ChatQueues':function(_0x5a80ed){return new Promise(function(_0x3ba251,_0x5bd936){var _0x50521b=[];for(var _0x46950c in _0x5a4474[_0x5e5d('0x48')]){if(_0x5a4474[_0x5e5d('0x48')][_0x5e5d('0x42')](_0x46950c)){var _0xf5ccbe=_0x5a4474['chatQueues'][_0x46950c];var _0x37b6bf={'id':_0xf5ccbe['id'],'available':_0xf5ccbe['available'],'loggedIn':_0xf5ccbe['loggedIn'],'name':_0xf5ccbe[_0x5e5d('0x49')],'paused':_0xf5ccbe[_0x5e5d('0x4a')],'waiting':_0xf5ccbe[_0x5e5d('0x4b')]};_0x50521b[_0x5e5d('0x20')](_0x37b6bf);}}_0x3ba251({'count':_0x50521b[_0x5e5d('0x19')],'rows':_0x50521b});});},'MailQueues':function(_0x3965f6){return new Promise(function(_0x49c4cc,_0x2d2063){var _0x34b114=[];for(var _0x3bc311 in _0x5a4474[_0x5e5d('0x4c')]){if(_0x5a4474[_0x5e5d('0x4c')]['hasOwnProperty'](_0x3bc311)){var _0x25c463=_0x5a4474[_0x5e5d('0x4c')][_0x3bc311];var _0xb3148e={'id':_0x25c463['id'],'available':_0x25c463[_0x5e5d('0x4d')],'loggedIn':_0x25c463[_0x5e5d('0x4e')],'name':_0x25c463[_0x5e5d('0x49')],'paused':_0x25c463['paused'],'waiting':_0x25c463['waiting']};_0x34b114[_0x5e5d('0x20')](_0xb3148e);}}_0x49c4cc({'count':_0x34b114[_0x5e5d('0x19')],'rows':_0x34b114});});},'OpenchannelQueues':function(_0x3b9e9c){return new Promise(function(_0x2eca48,_0x33c8b0){var _0x51d3f6=[];for(var _0x47e2ad in _0x5a4474[_0x5e5d('0x4f')]){if(_0x5a4474['openchannelQueues'][_0x5e5d('0x42')](_0x47e2ad)){var _0xa6212=_0x5a4474['openchannelQueues'][_0x47e2ad];var _0x92a71={'id':_0xa6212['id'],'available':_0xa6212[_0x5e5d('0x4d')],'loggedIn':_0xa6212['loggedIn'],'name':_0xa6212[_0x5e5d('0x49')],'paused':_0xa6212[_0x5e5d('0x4a')],'waiting':_0xa6212[_0x5e5d('0x4b')]};_0x51d3f6[_0x5e5d('0x20')](_0x92a71);}}_0x2eca48({'count':_0x51d3f6['length'],'rows':_0x51d3f6});});},'SmsQueues':function(_0x5f305a){return new Promise(function(_0x57728d,_0x3402f9){var _0x330c30=[];for(var _0x4bb8c8 in _0x5a4474['smsQueues']){if(_0x5a4474[_0x5e5d('0x50')][_0x5e5d('0x42')](_0x4bb8c8)){var _0xa99b8=_0x5a4474[_0x5e5d('0x50')][_0x4bb8c8];var _0x1b4238={'id':_0xa99b8['id'],'available':_0xa99b8[_0x5e5d('0x4d')],'loggedIn':_0xa99b8['loggedIn'],'name':_0xa99b8['name'],'paused':_0xa99b8[_0x5e5d('0x4a')],'waiting':_0xa99b8[_0x5e5d('0x4b')]};_0x330c30['push'](_0x1b4238);}}_0x57728d({'count':_0x330c30[_0x5e5d('0x19')],'rows':_0x330c30});});},'FaxQueues':function(_0x45bd02){return new Promise(function(_0x359a02,_0x308a85){var _0x34c8d3=[];for(var _0x19b345 in _0x5a4474[_0x5e5d('0x51')]){if(_0x5a4474[_0x5e5d('0x51')][_0x5e5d('0x42')](_0x19b345)){var _0x5a1dd8=_0x5a4474[_0x5e5d('0x51')][_0x19b345];var _0x53b2e4={'id':_0x5a1dd8['id'],'available':_0x5a1dd8[_0x5e5d('0x4d')],'loggedIn':_0x5a1dd8[_0x5e5d('0x4e')],'name':_0x5a1dd8[_0x5e5d('0x49')],'paused':_0x5a1dd8[_0x5e5d('0x4a')],'waiting':_0x5a1dd8['waiting']};_0x34c8d3[_0x5e5d('0x20')](_0x53b2e4);}}_0x359a02({'count':_0x34c8d3[_0x5e5d('0x19')],'rows':_0x34c8d3});});},'WhatsappQueues':function(_0x4c99a6){return new Promise(function(_0x5d887e,_0x59c7f1){var _0x4a4640=[];for(var _0x4b089b in _0x5a4474[_0x5e5d('0x52')]){if(_0x5a4474['whatsappQueues'][_0x5e5d('0x42')](_0x4b089b)){var _0x1192da=_0x5a4474[_0x5e5d('0x52')][_0x4b089b];var _0x14a117={'id':_0x1192da['id'],'available':_0x1192da['available'],'loggedIn':_0x1192da[_0x5e5d('0x4e')],'name':_0x1192da[_0x5e5d('0x49')],'paused':_0x1192da[_0x5e5d('0x4a')],'waiting':_0x1192da[_0x5e5d('0x4b')]};_0x4a4640[_0x5e5d('0x20')](_0x14a117);}}_0x5d887e({'count':_0x4a4640['length'],'rows':_0x4a4640});});},'ChatQueuesWaitingInteractions':function(_0x319922){return new Promise(function(_0x3e374d,_0x262790){var _0x1d1b63=_[_0x5e5d('0x47')](_0x5a4474[_0x5e5d('0x53')]);_0x3e374d({'count':_0x1d1b63[_0x5e5d('0x19')],'rows':_0x1d1b63});});},'MailQueuesWaitingInteractions':function(_0x383a30){return new Promise(function(_0x5825ca,_0x555e58){var _0x1a482a=_[_0x5e5d('0x47')](_0x5a4474[_0x5e5d('0x54')]);_0x5825ca({'count':_0x1a482a[_0x5e5d('0x19')],'rows':_0x1a482a});});},'OpenchannelQueuesWaitingInteractions':function(_0x5c9374){return new Promise(function(_0x855260,_0x269272){var _0xbebb50=_['values'](_0x5a4474['openchannelQueuesWaitingInteractions']);_0x855260({'count':_0xbebb50[_0x5e5d('0x19')],'rows':_0xbebb50});});},'SmsQueuesWaitingInteractions':function(_0x1b0843){return new Promise(function(_0x5af2eb,_0x4dcd3b){var _0x1c1837=_[_0x5e5d('0x47')](_0x5a4474[_0x5e5d('0x55')]);_0x5af2eb({'count':_0x1c1837['length'],'rows':_0x1c1837});});},'FaxQueuesWaitingInteractions':function(_0x96b120){return new Promise(function(_0x9e448e,_0x54e9b6){var _0x1b61d2=_['values'](_0x5a4474[_0x5e5d('0x56')]);_0x9e448e({'count':_0x1b61d2[_0x5e5d('0x19')],'rows':_0x1b61d2});});},'WhatsappQueuesWaitingInteractions':function(_0x5c34a3){return new Promise(function(_0xd29bb7,_0x14895c){var _0x2562ab=_[_0x5e5d('0x47')](_0x5a4474['whatsappQueuesWaitingInteractions']);_0xd29bb7({'count':_0x2562ab['length'],'rows':_0x2562ab});});}};var _0x7ef2ae=jayson[_0x5e5d('0x57')](_0x5a8457)[_0x5e5d('0x58')]();_0x7ef2ae['on'](_0x5e5d('0x2d'),function(_0x9ce6e8){logger[_0x5e5d('0x2d')](JSON[_0x5e5d('0x31')](_0x9ce6e8));return _0x5a5258(_0x9ce6e8);});_0x7ef2ae['listen'](0x232c,_0x5e5d('0x59'),function(){console['log'](_0x5e5d('0x5a'),0x232c);return _0x3402cf('RPC\x20listening\x20on\x20port:'+0x232c);});});};
\ No newline at end of file
+var _0xec39=['Push\x20new\x20rule','intervals','\x20|\x20','error','Please\x20create\x20a\x20new\x20file\x20under','execute','stringify','matchPath','emit','complete','stack','routing\x20is\x20empty','agent','agents','busy','busyQueue','end','QueueReport','update','UserId','error\x20update\x20queue\x20report','message\x20is\x20empty','capacity','hasOwnProperty','CurrentCapacity','updateRealtime','agent\x20not\x20found','chatQueues','available','loggedIn','name','mailQueues','waiting','openchannelQueues','smsQueues','paused','faxQueues','whatsappQueues','chatQueuesWaitingInteractions','values','openchannelQueuesWaitingInteractions','smsQueuesWaitingInteractions','whatsappQueuesWaitingInteractions','127.0.0.1','log','Routing\x20RPC\x20server\x20listening\x20on\x20127.0.0.1:%d!','RPC\x20listening\x20on\x20port:','lodash','util','path','jayson/promise','bluebird','uuid','../../../config/environment','routing','../rpc/openchannelQueueReport','../rpc/mailQueueReport','../rpc/whatsappQueueReport','../lib/rule-engine','format','%s.%s.%s','isNil','IntervalId','Intervals','map','interval','listen','rules','channel','interaction','applications','isArray','length','existsSync','.js','app','toLowerCase','autoreply','appdata','split','push','slice','join','dialogflowv2','amazonlex','message','TagId','./interval','./applications/','consequence','priority','info'];(function(_0x4e2e96,_0x1fc382){var _0x168a6d=function(_0x3224f9){while(--_0x3224f9){_0x4e2e96['push'](_0x4e2e96['shift']());}};_0x168a6d(++_0x1fc382);}(_0xec39,0x19f));var _0x9ec3=function(_0x5811c8,_0x3616e8){_0x5811c8=_0x5811c8-0x0;var _0x14681c=_0xec39[_0x5811c8];return _0x14681c;};'use strict';var _=require(_0x9ec3('0x0'));var util=require(_0x9ec3('0x1'));var path=require(_0x9ec3('0x2'));var fs=require('fs');var jayson=require(_0x9ec3('0x3'));var BPromise=require(_0x9ec3('0x4'));var uuid=require(_0x9ec3('0x5'));var config=require(_0x9ec3('0x6'));var logger=require('../../../config/logger')(_0x9ec3('0x7'));var rpc={'openchannelQueueReport':require(_0x9ec3('0x8')),'mailQueueReport':require(_0x9ec3('0x9')),'chatQueueReport':require('../rpc/chatQueueReport'),'smsQueueReport':require('../rpc/smsQueueReport'),'faxQueueReport':require('../rpc/faxQueueReport'),'whatsappQueueReport':require(_0x9ec3('0xa'))};var RuleEngine=require(_0x9ec3('0xb'));function getId(_0x29a6a2,_0x595e3a,_0x570a91){return util[_0x9ec3('0xc')](_0x9ec3('0xd'),_0x29a6a2,_0x595e3a||0x0,_0x570a91||0x0);}function getIntervals(_0x2d0c30,_0x11c3e9){var _0x3347b6=[];if(!_[_0x9ec3('0xe')](_0x11c3e9['IntervalId'])&&!_[_0x9ec3('0xe')](_0x2d0c30[_0x11c3e9[_0x9ec3('0xf')]])&&!_[_0x9ec3('0xe')](_0x2d0c30[_0x11c3e9[_0x9ec3('0xf')]][_0x9ec3('0x10')])){_0x3347b6=_[_0x9ec3('0x11')](_0x2d0c30[_0x11c3e9[_0x9ec3('0xf')]]['Intervals'],_0x9ec3('0x12'));}else if(!_[_0x9ec3('0xe')](_0x11c3e9[_0x9ec3('0x12')])){_0x3347b6=[_0x11c3e9['interval']];}return _0x3347b6;}exports[_0x9ec3('0x13')]=function(_0x4d26ad){_0x4d26ad[_0x9ec3('0x14')]={};return new BPromise(function(_0x23ac30,_0xcbb897){var _0x3cb266={'Start':function(_0x42b0fb){var _0x2c0ad5=this;return new Promise(function(_0xb0af54,_0x21c2db){if(_0x42b0fb){try{var _0x453010=[];var _0x58dd6f=getId(_0x42b0fb[_0x9ec3('0x15')],_0x42b0fb['message']?_0x42b0fb['message']['id']:0x0,_0x42b0fb[_0x9ec3('0x16')]?_0x42b0fb[_0x9ec3('0x16')]['id']:0x0);if(_0x42b0fb[_0x9ec3('0x17')]&&_[_0x9ec3('0x18')](_0x42b0fb[_0x9ec3('0x17')])&&_0x42b0fb['applications'][_0x9ec3('0x19')]){for(var _0x4a413c=0x0;_0x4a413c<_0x42b0fb[_0x9ec3('0x17')]['length'];_0x4a413c+=0x1){var _0x477a59=_0x42b0fb[_0x9ec3('0x17')][_0x4a413c];if(fs[_0x9ec3('0x1a')](path['join'](__dirname,_0x9ec3('0x17'),_0x477a59['app']+_0x9ec3('0x1b')))){var _0x4a8c62=[];switch(_0x477a59[_0x9ec3('0x1c')][_0x9ec3('0x1d')]()){case _0x9ec3('0x1e'):var _0xdc6ed0=_0x477a59[_0x9ec3('0x1f')][_0x9ec3('0x20')](',');if(_0x42b0fb[_0x9ec3('0x15')]==='mail'){_0x4a8c62[_0x9ec3('0x21')](_0xdc6ed0[0x0]);_0x4a8c62[_0x9ec3('0x21')](_0xdc6ed0[0x1]);_0x4a8c62[_0x9ec3('0x21')](_0xdc6ed0[_0x9ec3('0x22')](0x2,_0xdc6ed0[_0x9ec3('0x19')])[_0x9ec3('0x23')](','));}else{_0x4a8c62[_0x9ec3('0x21')](_0xdc6ed0[0x0]);_0x4a8c62[_0x9ec3('0x21')](_0xdc6ed0[_0x9ec3('0x22')](0x1,_0xdc6ed0[_0x9ec3('0x19')])[_0x9ec3('0x23')](','));}break;case'dialogflow':var _0x469313=_0x477a59[_0x9ec3('0x1f')][_0x9ec3('0x20')](',');_0x4a8c62[_0x9ec3('0x21')](_0x469313[0x0]);_0x4a8c62['push'](_0x469313[0x1]);_0x4a8c62[_0x9ec3('0x21')](_0x469313[_0x9ec3('0x22')](0x2,_0x469313[_0x9ec3('0x19')])[_0x9ec3('0x23')](','));break;case _0x9ec3('0x24'):var _0x1a45c8=_0x477a59[_0x9ec3('0x1f')][_0x9ec3('0x20')](',');_0x4a8c62[_0x9ec3('0x21')](_0x1a45c8[0x0]);_0x4a8c62[_0x9ec3('0x21')](_0x1a45c8[0x1]);_0x4a8c62[_0x9ec3('0x21')](_0x1a45c8[0x2]);_0x4a8c62[_0x9ec3('0x21')](_0x1a45c8[0x3]);_0x4a8c62[_0x9ec3('0x21')](_0x1a45c8[_0x9ec3('0x22')](0x4,_0x1a45c8[_0x9ec3('0x19')])[_0x9ec3('0x23')](','));break;case _0x9ec3('0x25'):var _0x525ade=_0x477a59['appdata']['split'](',');_0x4a8c62[_0x9ec3('0x21')](_0x525ade[0x0]);_0x4a8c62[_0x9ec3('0x21')](_0x525ade[0x1]);_0x4a8c62[_0x9ec3('0x21')](_0x525ade[0x2]);_0x4a8c62[_0x9ec3('0x21')](_0x525ade[0x3]);_0x4a8c62[_0x9ec3('0x21')](_0x525ade[_0x9ec3('0x22')](0x4,_0x525ade[_0x9ec3('0x19')])['join'](','));break;case _0x9ec3('0x26'):_0x4a8c62[_0x9ec3('0x21')](_0x477a59[_0x9ec3('0x1f')]);break;case'tag':_0x4a8c62[_0x9ec3('0x21')](_0x477a59[_0x9ec3('0x27')]);_0x4a8c62['push'](_0x477a59[_0x9ec3('0x1f')]);break;default:_0x4a8c62=_[_0x9ec3('0xe')](_0x477a59[_0x9ec3('0x1f')])?[]:_0x477a59[_0x9ec3('0x1f')][_0x9ec3('0x20')](',');}var _0x19fea1={'id':util[_0x9ec3('0xc')]('%s:%s:%s',_0x58dd6f,_0x477a59['id'],_0x477a59[_0x9ec3('0x1c')]),'condition':require(_0x9ec3('0x28'))['condition'](_0x58dd6f,getIntervals(_0x4d26ad['intervals'],_0x477a59),_0x4d26ad),'consequence':require(_0x9ec3('0x29')+_0x477a59['app'])[_0x9ec3('0x2a')](_0x58dd6f,_0x4a8c62,_0x4d26ad,_0x42b0fb),'p':_0x477a59[_0x9ec3('0x2b')]||0x0};logger[_0x9ec3('0x2c')](_0x9ec3('0x2d'),_0x19fea1['id'],'on\x20interval',getIntervals(_0x4d26ad[_0x9ec3('0x2e')],_0x477a59)[_0x9ec3('0x23')](_0x9ec3('0x2f')));_0x453010[_0x9ec3('0x21')](_0x19fea1);}else{logger[_0x9ec3('0x30')](_0x9ec3('0x31'),path['join'](__dirname,'applications',_0x477a59['app']+_0x9ec3('0x1b')));}}_0x4d26ad[_0x9ec3('0x14')][_0x58dd6f]=new RuleEngine(_0x453010);_0x4d26ad[_0x9ec3('0x14')][_0x58dd6f][_0x9ec3('0x32')](_0x42b0fb,function(_0x2e0b54){logger[_0x9ec3('0x2c')]('Applications\x20executed',JSON[_0x9ec3('0x33')](_0x2e0b54[_0x9ec3('0x34')]));if(_0x4d26ad['rules'][_0x58dd6f]){_0x4d26ad[_0x9ec3('0x14')][_0x58dd6f][_0x9ec3('0x35')](_0x9ec3('0x36'));}});return _0xb0af54({'code':0xc8,'message':_0x42b0fb});}else{logger[_0x9ec3('0x2c')]('No\x20applications\x20to\x20execute');return _0xb0af54({'code':0xc8,'message':_0x42b0fb});}}catch(_0xc41a94){logger['error'](_0xc41a94[_0x9ec3('0x37')]);return _0x21c2db(_0x2c0ad5[_0x9ec3('0x30')](0x1f4,_0xc41a94));}}return _0x21c2db(_0x9ec3('0x38'));});},'AcceptMessage':function(_0x234a27){var _0x42ca14=this;return new Promise(function(_0x489cbf,_0x5ef1dc){if(_0x234a27[_0x9ec3('0x39')]&&_0x234a27['agent']['id']){if(_0x4d26ad[_0x9ec3('0x3a')][_0x234a27['agent']['id']]){_0x4d26ad[_0x9ec3('0x3a')][_0x234a27['agent']['id']][_0x9ec3('0x3b')]=![];_0x4d26ad[_0x9ec3('0x3a')][_0x234a27['agent']['id']][_0x9ec3('0x3c')]=undefined;}}if(_0x234a27['message']&&_0x234a27[_0x9ec3('0x26')]['id']){try{var _0x1f8a1c=getId(_0x234a27['channel'],_0x234a27[_0x9ec3('0x26')]?_0x234a27[_0x9ec3('0x26')]['id']:0x0,_0x234a27[_0x9ec3('0x16')]?_0x234a27['interaction']['id']:0x0);if(_0x4d26ad[_0x9ec3('0x14')][_0x1f8a1c]){_0x4d26ad[_0x9ec3('0x14')][_0x1f8a1c]['emit'](_0x9ec3('0x3d'));if(rpc[_0x234a27[_0x9ec3('0x15')]+_0x9ec3('0x3e')]){rpc[_0x234a27[_0x9ec3('0x15')]+_0x9ec3('0x3e')][_0x9ec3('0x3f')](_0x1f8a1c,{'UserId':_0x234a27[_0x9ec3('0x26')][_0x9ec3('0x40')]})['catch'](function(_0x57e5d7){logger[_0x9ec3('0x30')](_0x9ec3('0x41'));});}}return _0x489cbf({'code':0xc8,'message':_0x234a27});}catch(_0x4a210c){logger[_0x9ec3('0x30')](_0x4a210c[_0x9ec3('0x37')]);return _0x5ef1dc(_0x42ca14['error'](0x1f4,_0x4a210c));}}logger[_0x9ec3('0x30')](_0x9ec3('0x42'));return _0x5ef1dc(_0x42ca14[_0x9ec3('0x30')](0x1f4,_0x9ec3('0x42')));});},'RejectMessage':function(_0x278f1a){var _0x1b9346=this;return new Promise(function(_0xd233a6,_0x736c44){if(_0x278f1a[_0x9ec3('0x39')]&&_0x278f1a[_0x9ec3('0x39')]['id']){try{if(_0x4d26ad[_0x9ec3('0x3a')][_0x278f1a[_0x9ec3('0x39')]['id']]){_0x4d26ad[_0x9ec3('0x3a')][_0x278f1a['agent']['id']][_0x9ec3('0x3b')]=![];_0x4d26ad['agents'][_0x278f1a[_0x9ec3('0x39')]['id']][_0x9ec3('0x3c')]=undefined;}return _0xd233a6({'code':0xc8,'message':_0x278f1a});}catch(_0x7713b5){logger['error'](_0x7713b5['stack']);return _0x736c44(_0x1b9346['error'](0x1f4,_0x7713b5));}}logger[_0x9ec3('0x30')](_0x9ec3('0x42'));return _0x736c44(_0x1b9346[_0x9ec3('0x30')](0x1f4,'message\x20is\x20empty'));});},'AbandonInteraction':function(_0x4f2a2c){var _0x5d48d1=this;return new Promise(function(_0x400438,_0x25333a){if(_0x4f2a2c[_0x9ec3('0x15')]&&_0x4f2a2c[_0x9ec3('0x16')]&&_0x4f2a2c[_0x9ec3('0x16')]['id']){try{var _0x38e099=getId(_0x4f2a2c['channel'],_0x4f2a2c[_0x9ec3('0x26')]?_0x4f2a2c[_0x9ec3('0x26')]['id']:0x0,_0x4f2a2c[_0x9ec3('0x16')]?_0x4f2a2c[_0x9ec3('0x16')]['id']:0x0);if(_0x4d26ad[_0x9ec3('0x14')][_0x38e099]){_0x4d26ad[_0x9ec3('0x14')][_0x38e099][_0x9ec3('0x35')](_0x9ec3('0x3d'));}return _0x400438({'code':0xc8,'message':_0x4f2a2c});}catch(_0x3ad97e){logger[_0x9ec3('0x30')](_0x3ad97e[_0x9ec3('0x37')]);return _0x25333a(_0x5d48d1['error'](0x1f4,_0x3ad97e));}}logger['error'](_0x9ec3('0x42'));return _0x25333a(_0x5d48d1[_0x9ec3('0x30')](0x1f4,'message\x20is\x20empty'));});},'AgentCapacity':function(_0xcf1800){var _0x4dfb69=this;return new Promise(function(_0x540e03,_0x1b3ebf){if(_0x4d26ad[_0x9ec3('0x3a')]['hasOwnProperty'](_0xcf1800['id'])){for(var _0xa1bfb9 in _0xcf1800[_0x9ec3('0x43')]){if(_0xcf1800[_0x9ec3('0x43')][_0x9ec3('0x44')](_0xa1bfb9)){if(_0x4d26ad[_0x9ec3('0x3a')][_0xcf1800['id']]['hasOwnProperty'](_0xa1bfb9+_0x9ec3('0x45'))){_0x4d26ad[_0x9ec3('0x3a')][_0xcf1800['id']][_0xa1bfb9+'CurrentCapacity']=parseInt(_0xcf1800[_0x9ec3('0x43')][_0xa1bfb9],0xa);}}}_0x4d26ad['agents'][_0xcf1800['id']][_0x9ec3('0x46')]();return _0x540e03({'code':0xc8,'message':_0x4d26ad[_0x9ec3('0x3a')][_0xcf1800['id']]});}else{return _0x1b3ebf(_0x4dfb69[_0x9ec3('0x30')](0x1f4,_0x9ec3('0x47')));}});},'Agents':function(_0x18813b){return new Promise(function(_0x2abe02,_0x3c9e69){var _0x4d30aa=_['values'](_0x4d26ad['agents']);_0x2abe02({'count':_0x4d30aa[_0x9ec3('0x19')],'rows':_0x4d30aa});});},'ChatQueues':function(_0x11a53f){return new Promise(function(_0x320443,_0x3f3856){var _0xe6644=[];for(var _0x2dc851 in _0x4d26ad[_0x9ec3('0x48')]){if(_0x4d26ad[_0x9ec3('0x48')][_0x9ec3('0x44')](_0x2dc851)){var _0x1d41ff=_0x4d26ad[_0x9ec3('0x48')][_0x2dc851];var _0x220b1a={'id':_0x1d41ff['id'],'available':_0x1d41ff[_0x9ec3('0x49')],'loggedIn':_0x1d41ff[_0x9ec3('0x4a')],'name':_0x1d41ff[_0x9ec3('0x4b')],'paused':_0x1d41ff['paused'],'waiting':_0x1d41ff['waiting']};_0xe6644[_0x9ec3('0x21')](_0x220b1a);}}_0x320443({'count':_0xe6644[_0x9ec3('0x19')],'rows':_0xe6644});});},'MailQueues':function(_0x5a77e0){return new Promise(function(_0x4cc75,_0xf48efa){var _0x313723=[];for(var _0x4e431a in _0x4d26ad[_0x9ec3('0x4c')]){if(_0x4d26ad['mailQueues'][_0x9ec3('0x44')](_0x4e431a)){var _0x31ad78=_0x4d26ad[_0x9ec3('0x4c')][_0x4e431a];var _0x2a60a4={'id':_0x31ad78['id'],'available':_0x31ad78['available'],'loggedIn':_0x31ad78['loggedIn'],'name':_0x31ad78[_0x9ec3('0x4b')],'paused':_0x31ad78['paused'],'waiting':_0x31ad78[_0x9ec3('0x4d')]};_0x313723[_0x9ec3('0x21')](_0x2a60a4);}}_0x4cc75({'count':_0x313723['length'],'rows':_0x313723});});},'OpenchannelQueues':function(_0x1471d5){return new Promise(function(_0x4b4045,_0xbbfd0f){var _0x158f92=[];for(var _0x401d93 in _0x4d26ad[_0x9ec3('0x4e')]){if(_0x4d26ad[_0x9ec3('0x4e')]['hasOwnProperty'](_0x401d93)){var _0x57243f=_0x4d26ad[_0x9ec3('0x4e')][_0x401d93];var _0x27e460={'id':_0x57243f['id'],'available':_0x57243f[_0x9ec3('0x49')],'loggedIn':_0x57243f[_0x9ec3('0x4a')],'name':_0x57243f['name'],'paused':_0x57243f['paused'],'waiting':_0x57243f[_0x9ec3('0x4d')]};_0x158f92[_0x9ec3('0x21')](_0x27e460);}}_0x4b4045({'count':_0x158f92[_0x9ec3('0x19')],'rows':_0x158f92});});},'SmsQueues':function(_0xf33a1e){return new Promise(function(_0x130a8f,_0x2a41a0){var _0x413508=[];for(var _0x52c447 in _0x4d26ad[_0x9ec3('0x4f')]){if(_0x4d26ad[_0x9ec3('0x4f')]['hasOwnProperty'](_0x52c447)){var _0x1a3f7f=_0x4d26ad['smsQueues'][_0x52c447];var _0x25709f={'id':_0x1a3f7f['id'],'available':_0x1a3f7f['available'],'loggedIn':_0x1a3f7f[_0x9ec3('0x4a')],'name':_0x1a3f7f[_0x9ec3('0x4b')],'paused':_0x1a3f7f[_0x9ec3('0x50')],'waiting':_0x1a3f7f['waiting']};_0x413508['push'](_0x25709f);}}_0x130a8f({'count':_0x413508[_0x9ec3('0x19')],'rows':_0x413508});});},'FaxQueues':function(_0x2c85e8){return new Promise(function(_0x503b6a,_0x2fed2b){var _0x299d23=[];for(var _0x3f3e2b in _0x4d26ad[_0x9ec3('0x51')]){if(_0x4d26ad[_0x9ec3('0x51')]['hasOwnProperty'](_0x3f3e2b)){var _0x2bcc6e=_0x4d26ad[_0x9ec3('0x51')][_0x3f3e2b];var _0x44ab6d={'id':_0x2bcc6e['id'],'available':_0x2bcc6e[_0x9ec3('0x49')],'loggedIn':_0x2bcc6e[_0x9ec3('0x4a')],'name':_0x2bcc6e[_0x9ec3('0x4b')],'paused':_0x2bcc6e[_0x9ec3('0x50')],'waiting':_0x2bcc6e[_0x9ec3('0x4d')]};_0x299d23[_0x9ec3('0x21')](_0x44ab6d);}}_0x503b6a({'count':_0x299d23[_0x9ec3('0x19')],'rows':_0x299d23});});},'WhatsappQueues':function(_0x38f503){return new Promise(function(_0x105497,_0x50ee96){var _0x301f55=[];for(var _0x1d6a70 in _0x4d26ad['whatsappQueues']){if(_0x4d26ad[_0x9ec3('0x52')][_0x9ec3('0x44')](_0x1d6a70)){var _0x1872b7=_0x4d26ad[_0x9ec3('0x52')][_0x1d6a70];var _0x253876={'id':_0x1872b7['id'],'available':_0x1872b7[_0x9ec3('0x49')],'loggedIn':_0x1872b7[_0x9ec3('0x4a')],'name':_0x1872b7[_0x9ec3('0x4b')],'paused':_0x1872b7[_0x9ec3('0x50')],'waiting':_0x1872b7[_0x9ec3('0x4d')]};_0x301f55[_0x9ec3('0x21')](_0x253876);}}_0x105497({'count':_0x301f55['length'],'rows':_0x301f55});});},'ChatQueuesWaitingInteractions':function(_0x491719){return new Promise(function(_0x5ef50b,_0xe1b497){var _0x2edfe5=_['values'](_0x4d26ad[_0x9ec3('0x53')]);_0x5ef50b({'count':_0x2edfe5[_0x9ec3('0x19')],'rows':_0x2edfe5});});},'MailQueuesWaitingInteractions':function(_0xa29ef0){return new Promise(function(_0x13f497,_0x21acd8){var _0xa1c725=_[_0x9ec3('0x54')](_0x4d26ad['mailQueuesWaitingInteractions']);_0x13f497({'count':_0xa1c725[_0x9ec3('0x19')],'rows':_0xa1c725});});},'OpenchannelQueuesWaitingInteractions':function(_0xe42bc4){return new Promise(function(_0x1ac7fd,_0x4eb440){var _0x2e1659=_[_0x9ec3('0x54')](_0x4d26ad[_0x9ec3('0x55')]);_0x1ac7fd({'count':_0x2e1659[_0x9ec3('0x19')],'rows':_0x2e1659});});},'SmsQueuesWaitingInteractions':function(_0x25d92b){return new Promise(function(_0x18921b,_0x34c00c){var _0x420789=_[_0x9ec3('0x54')](_0x4d26ad[_0x9ec3('0x56')]);_0x18921b({'count':_0x420789[_0x9ec3('0x19')],'rows':_0x420789});});},'FaxQueuesWaitingInteractions':function(_0x25730a){return new Promise(function(_0xa73dc7,_0x44f71a){var _0xd43828=_[_0x9ec3('0x54')](_0x4d26ad['faxQueuesWaitingInteractions']);_0xa73dc7({'count':_0xd43828[_0x9ec3('0x19')],'rows':_0xd43828});});},'WhatsappQueuesWaitingInteractions':function(_0x34c146){return new Promise(function(_0x29c01f,_0x942376){var _0x9e9cd1=_[_0x9ec3('0x54')](_0x4d26ad[_0x9ec3('0x57')]);_0x29c01f({'count':_0x9e9cd1[_0x9ec3('0x19')],'rows':_0x9e9cd1});});}};var _0xe15edf=jayson['server'](_0x3cb266)['http']();_0xe15edf['on'](_0x9ec3('0x30'),function(_0x2ca5c1){logger[_0x9ec3('0x30')](JSON[_0x9ec3('0x33')](_0x2ca5c1));return _0xcbb897(_0x2ca5c1);});_0xe15edf[_0x9ec3('0x13')](0x232c,_0x9ec3('0x58'),function(){console[_0x9ec3('0x59')](_0x9ec3('0x5a'),0x232c);return _0x23ac30(_0x9ec3('0x5b')+0x232c);});});};
\ No newline at end of file