Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / api / cmContact / cmContact.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc43b=['get','error','inspect','scheduledat','format','YYYY-MM-DD\x20HH:mm:ss','dialTimezone','VoiceQueue','findOne','isNil','timezones','add','minutes','then','ret','CmHopper','cmContact,\x20afterCreate\x20','\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20onlyIfOpen,\x20exist\x20in\x20hopper\x20VoiceQueue\x20','create','ListId','priority','callbackUniqueid','catch','\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20always,\x20exist\x20in\x20hopper\x20VoiceQueue\x20','CmHopperFinal','cmContact,\x20afterCreate,\x20','\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20always,\x20exist\x20in\x20hopperFinal\x20VoiceQueue\x20','utcOffset','\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20always,\x20exist\x20in\x20hopper\x20Campaign\x20','findAll','outbound','CmList','dialCheckDuplicateType','always','onlyIfOpen','length','CmHopperBlack','cmContact,\x20%s,\x20%s','afterCreate','message','Campaign','Lists','BlackLists','List\x20not\x20found','models','isEmpty','destroy','ContactId','VoiceQueueId','CampaignId','push','all','[CmContact][afterDestroy][Succesfull]','[CmContact][afterDestroy][Error]','../../config/logger','request-promise','path','rimraf','../../config/environment','./cmContact.attributes','exports','define','CmContact','cm_contacts','phone','fti_cm_contacts','firstName','lastName','mobile','fax','FULLTEXT','utf8mb4','utf8mb4_unicode_ci'];(function(_0x2e03a0,_0x1fd594){var _0xcc3526=function(_0x83f383){while(--_0x83f383){_0x2e03a0['push'](_0x2e03a0['shift']());}};_0xcc3526(++_0x1fd594);}(_0xc43b,0x15a));var _0xbc43=function(_0x45d55e,_0x2fede3){_0x45d55e=_0x45d55e-0x0;var _0x29812a=_0xc43b[_0x45d55e];return _0x29812a;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xbc43('0x0'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xbc43('0x1'));var fs=require('fs');var path=require(_0xbc43('0x2'));var rimraf=require(_0xbc43('0x3'));var config=require(_0xbc43('0x4'));var shared=require('../../config/environment/shared');var attributes=require(_0xbc43('0x5'));module[_0xbc43('0x6')]=function(_0x170fc0,_0x4050c6){return _0x170fc0[_0xbc43('0x7')](_0xbc43('0x8'),attributes,{'tableName':_0xbc43('0x9'),'paranoid':!![],'indexes':[{'name':_0xbc43('0xa'),'fields':[_0xbc43('0xa')]},{'name':_0xbc43('0xb'),'fields':[_0xbc43('0xc'),_0xbc43('0xd'),_0xbc43('0xa'),_0xbc43('0xe'),_0xbc43('0xf'),'email'],'type':_0xbc43('0x10')}],'timestamps':!![],'charset':_0xbc43('0x11'),'collate':_0xbc43('0x12'),'hooks':{'afterCreate':function(_0x551e4b,_0x18a310,_0x1b076e){var _0x289fde=_0x170fc0['models'];var _0x48256a=_0x551e4b[_0xbc43('0x13')]({'plain':!![]});function _0x470de3(){return function(_0x280c6e){logger[_0xbc43('0x14')]('cmContact','afterCreate',util[_0xbc43('0x15')](_0x280c6e,{'showHidden':![],'depth':null}));};}function _0x2e59ee(_0x4a8436,_0xb84b7b){var _0x427181=_0xb84b7b['scheduledat']?_0xb84b7b[_0xbc43('0x16')]:moment()[_0xbc43('0x17')](_0xbc43('0x18'));return new BPromise(function(_0x5c140b,_0x3f0528){if(_['isNil'](_0xb84b7b[_0xbc43('0x19')])){_0x5c140b({'ret':_0x427181});}else{_0x289fde[_0xbc43('0x1a')][_0xbc43('0x1b')]({'where':{'id':_0x4a8436['id']}})['then'](function(_0x1a9c42){if(!_[_0xbc43('0x1c')](_0x1a9c42)){var _0x51debe=_0x1a9c42['dialTimezone'];if(!_[_0xbc43('0x1c')](_0x51debe)){var _0x1021b0=shared[_0xbc43('0x1d')];var _0x2590da=_0x1021b0[_0x51debe];var _0x473eab=_0x1021b0[_0xb84b7b['dialTimezone']];if(!_[_0xbc43('0x1c')](_0x2590da)&&!_[_0xbc43('0x1c')](_0x473eab)){var _0x1dee23=_0x2590da['utcOffset']-_0x473eab['utcOffset'];_0x427181=_0xb84b7b[_0xbc43('0x16')]?_0xb84b7b['scheduledat']:moment();var _0x5c97f2=moment(_0x427181)[_0xbc43('0x1e')](_0x1dee23,_0xbc43('0x1f'));_0x5c140b({'ret':_0x5c97f2[_0xbc43('0x17')]('YYYY-MM-DD\x20HH:mm:ss')});}else _0x5c140b({'ret':_0x427181});}else _0x5c140b({'ret':_0x427181});}else{_0x5c140b({'ret':_0x427181});}});}});return 0xa;}var _0x3df83c=function(_0x4dd771){return new BPromise(function(_0x169b72,_0x599c95){_0x2e59ee(_0x4dd771,_0x48256a)[_0xbc43('0x20')](function(_0x3d5067){_0x48256a['scheduledat']=_0x3d5067[_0xbc43('0x21')];_0x289fde[_0xbc43('0x22')][_0xbc43('0x1b')]({'where':{'phone':_0x48256a[_0xbc43('0xa')],'VoiceQueueId':_0x4dd771['id']}})[_0xbc43('0x20')](function(_0x52704e){if(!_[_0xbc43('0x1c')](_0x52704e)){throw new Error(_0xbc43('0x23')+_0x48256a[_0xbc43('0xa')]+_0xbc43('0x24')+_0x4dd771['id']);}return _0x289fde[_0xbc43('0x22')][_0xbc43('0x25')]({'phone':_0x48256a[_0xbc43('0xa')],'ContactId':_0x48256a['id'],'ListId':_0x48256a[_0xbc43('0x26')],'priority':_0x48256a[_0xbc43('0x27')]?_0x48256a['priority']:0x2,'scheduledat':_0x48256a[_0xbc43('0x16')]?_0x48256a[_0xbc43('0x16')]:moment()['format']('YYYY-MM-DD\x20HH:mm:ss'),'callback':_0x48256a[_0xbc43('0x28')]?!![]:![],'callbackuniqueid':_0x48256a['callbackUniqueid']?_0x48256a['callbackUniqueid']:undefined,'callbackat':_0x48256a[_0xbc43('0x28')]?moment()['format'](_0xbc43('0x18')):undefined,'VoiceQueueId':_0x4dd771['id']});})[_0xbc43('0x29')](function(_0x3b8f6c){_0x599c95(_0x3b8f6c);});});});};var _0x333cc4=function(_0x3ef6f1){return new BPromise(function(_0x539295,_0x2e0e1d){_0x2e59ee(_0x3ef6f1,_0x48256a)[_0xbc43('0x20')](function(_0x1572a0){_0x48256a[_0xbc43('0x16')]=_0x1572a0[_0xbc43('0x21')];_0x289fde[_0xbc43('0x22')][_0xbc43('0x1b')]({'where':{'phone':_0x48256a[_0xbc43('0xa')],'VoiceQueueId':_0x3ef6f1['id']}})[_0xbc43('0x20')](function(_0x10bb6e){if(!_[_0xbc43('0x1c')](_0x10bb6e)){throw new Error(_0xbc43('0x23')+_0x48256a[_0xbc43('0xa')]+_0xbc43('0x2a')+_0x3ef6f1['id']);}return _0x289fde[_0xbc43('0x2b')][_0xbc43('0x1b')]({'where':{'calleridnum':_0x48256a[_0xbc43('0xa')],'VoiceQueueId':_0x3ef6f1['id']}});})['then'](function(_0x52f887){if(!_[_0xbc43('0x1c')](_0x52f887)){throw new Error(_0xbc43('0x2c')+_0x48256a['phone']+_0xbc43('0x2d')+_0x3ef6f1['id']);}return _0x289fde[_0xbc43('0x22')]['create']({'phone':_0x48256a[_0xbc43('0xa')],'ContactId':_0x48256a['id'],'ListId':_0x48256a[_0xbc43('0x26')],'priority':_0x48256a[_0xbc43('0x27')]?_0x48256a['priority']:0x2,'scheduledat':_0x48256a['scheduledat']?_0x48256a[_0xbc43('0x16')]:moment()['format'](_0xbc43('0x18')),'callback':_0x48256a[_0xbc43('0x28')]?!![]:![],'callbackuniqueid':_0x48256a[_0xbc43('0x28')]?_0x48256a[_0xbc43('0x28')]:undefined,'callbackat':_0x48256a[_0xbc43('0x28')]?moment()[_0xbc43('0x17')](_0xbc43('0x18')):undefined,'VoiceQueueId':_0x3ef6f1['id']});})[_0xbc43('0x29')](function(_0x4c4655){_0x2e0e1d(_0x4c4655);});});});};function _0x4e67c0(){return function(_0x3750b5){logger[_0xbc43('0x14')]('cmContact','afterCreate',util['inspect'](_0x3750b5,{'showHidden':![],'depth':null}));};}function _0x1b9c1b(_0x37acae,_0x3f5912){var _0x2b7408=_0x3f5912[_0xbc43('0x16')]?_0x3f5912[_0xbc43('0x16')]:moment()[_0xbc43('0x17')]('YYYY-MM-DD\x20HH:mm:ss');return new BPromise(function(_0x571d24,_0x51ecaf){if(_['isNil'](_0x3f5912[_0xbc43('0x19')])){_0x571d24({'ret':_0x2b7408});}else{_0x289fde['Campaign']['findOne']({'where':{'id':_0x37acae['id']}})[_0xbc43('0x20')](function(_0x126530){if(!_[_0xbc43('0x1c')](_0x126530)){var _0x50feb8=_0x126530[_0xbc43('0x19')];if(!_[_0xbc43('0x1c')](_0x50feb8)){var _0xd92da8=shared[_0xbc43('0x1d')];var _0x18c111=_0xd92da8[_0x50feb8];var _0x4c7df5=_0xd92da8[_0x3f5912['dialTimezone']];if(!_[_0xbc43('0x1c')](_0x18c111)&&!_[_0xbc43('0x1c')](_0x4c7df5)){var _0x169df2=_0x18c111[_0xbc43('0x2e')]-_0x4c7df5['utcOffset'];_0x2b7408=_0x3f5912['scheduledat']?_0x3f5912[_0xbc43('0x16')]:moment();var _0x320fbc=moment(_0x2b7408)[_0xbc43('0x1e')](_0x169df2,_0xbc43('0x1f'));_0x571d24({'ret':_0x320fbc[_0xbc43('0x17')]('YYYY-MM-DD\x20HH:mm:ss')});}else _0x571d24({'ret':_0x2b7408});}else _0x571d24({'ret':_0x2b7408});}else{_0x571d24({'ret':_0x2b7408});}});}});return 0xa;}var _0xfbc57c=function(_0x3a1fee){return new BPromise(function(_0x497369,_0x255d4f){_0x1b9c1b(_0x3a1fee,_0x48256a)[_0xbc43('0x20')](function(_0x2620d8){_0x48256a['scheduledat']=_0x2620d8[_0xbc43('0x21')];_0x289fde[_0xbc43('0x22')][_0xbc43('0x1b')]({'where':{'phone':_0x48256a[_0xbc43('0xa')],'CampaignId':_0x3a1fee['id']}})[_0xbc43('0x20')](function(_0x4920bc){if(!_[_0xbc43('0x1c')](_0x4920bc)){throw new Error(_0xbc43('0x23')+_0x48256a[_0xbc43('0xa')]+'\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20onlyIfOpen,\x20exist\x20in\x20hopper\x20Campaign\x20'+_0x3a1fee['id']);}return _0x289fde[_0xbc43('0x22')][_0xbc43('0x25')]({'phone':_0x48256a['phone'],'ContactId':_0x48256a['id'],'ListId':_0x48256a[_0xbc43('0x26')],'priority':_0x48256a[_0xbc43('0x27')]?_0x48256a[_0xbc43('0x27')]:0x2,'scheduledat':_0x48256a[_0xbc43('0x16')]?_0x48256a['scheduledat']:moment()[_0xbc43('0x17')]('YYYY-MM-DD\x20HH:mm:ss'),'callback':_0x48256a[_0xbc43('0x28')]?!![]:![],'callbackuniqueid':_0x48256a[_0xbc43('0x28')]?_0x48256a[_0xbc43('0x28')]:undefined,'callbackat':_0x48256a[_0xbc43('0x28')]?moment()[_0xbc43('0x17')]('YYYY-MM-DD\x20HH:mm:ss'):undefined,'CampaignId':_0x3a1fee['id']});})[_0xbc43('0x29')](function(_0x5bd38b){_0x255d4f(_0x5bd38b);});});});};var _0x17f15a=function(_0x13ab68){return new BPromise(function(_0x4b98e3,_0x2664b6){_0x1b9c1b(_0x13ab68,_0x48256a)[_0xbc43('0x20')](function(_0x309fc1){_0x48256a[_0xbc43('0x16')]=_0x309fc1[_0xbc43('0x21')];_0x289fde[_0xbc43('0x22')][_0xbc43('0x1b')]({'where':{'phone':_0x48256a[_0xbc43('0xa')],'CampaignId':_0x13ab68['id']}})[_0xbc43('0x20')](function(_0x3b2f00){if(!_['isNil'](_0x3b2f00)){throw new Error(_0xbc43('0x23')+_0x48256a[_0xbc43('0xa')]+_0xbc43('0x2f')+_0x13ab68['id']);}return _0x289fde[_0xbc43('0x2b')][_0xbc43('0x1b')]({'where':{'calleridnum':_0x48256a[_0xbc43('0xa')],'CampaignId':_0x13ab68['id']}});})[_0xbc43('0x20')](function(_0x5b4f8e){if(!_[_0xbc43('0x1c')](_0x5b4f8e)){throw new Error(_0xbc43('0x2c')+_0x48256a[_0xbc43('0xa')]+'\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20always,\x20exist\x20in\x20hopperFinal\x20Campaign\x20'+_0x13ab68['id']);}return _0x289fde[_0xbc43('0x22')][_0xbc43('0x25')]({'phone':_0x48256a[_0xbc43('0xa')],'ContactId':_0x48256a['id'],'ListId':_0x48256a[_0xbc43('0x26')],'priority':_0x48256a[_0xbc43('0x27')]?_0x48256a['priority']:0x2,'scheduledat':_0x48256a[_0xbc43('0x16')]?_0x48256a['scheduledat']:moment()[_0xbc43('0x17')](_0xbc43('0x18')),'callback':_0x48256a['callbackUniqueid']?!![]:![],'callbackuniqueid':_0x48256a[_0xbc43('0x28')]?_0x48256a[_0xbc43('0x28')]:undefined,'callbackat':_0x48256a['callbackUniqueid']?moment()['format'](_0xbc43('0x18')):undefined,'CampaignId':_0x13ab68['id']});})[_0xbc43('0x29')](function(_0x5ddb86){_0x2664b6(_0x5ddb86);});});});};if(_0x48256a[_0xbc43('0x26')]){_0x289fde[_0xbc43('0x1a')][_0xbc43('0x30')]({'where':{'type':_0xbc43('0x31')},'attributes':['id','dialCheckDuplicateType',_0xbc43('0x19')],'include':[{'model':_0x289fde[_0xbc43('0x32')],'as':'Lists','where':{'id':_0x48256a[_0xbc43('0x26')]}}]})['then'](function(_0x3e7876){if(_0x3e7876){var _0x5796d2=[];for(var _0x4c95f4=0x0,_0x4da980;_0x4c95f4<_0x3e7876['length'];_0x4c95f4+=0x1){_0x4da980=_0x3e7876[_0x4c95f4][_0xbc43('0x13')]({'plain':!![]});switch(_0x4da980[_0xbc43('0x33')]){case _0xbc43('0x34'):_0x333cc4(_0x4da980)[_0xbc43('0x29')](_0x470de3());break;case _0xbc43('0x35'):_0x3df83c(_0x4da980)['catch'](_0x470de3());break;default:_0x1b9c1b(_0x4da980,_0x48256a)[_0xbc43('0x20')](function(_0x3cc59d){_0x48256a[_0xbc43('0x16')]=_0x3cc59d[_0xbc43('0x21')];_0x289fde['CmHopper'][_0xbc43('0x25')]({'phone':_0x48256a[_0xbc43('0xa')],'ContactId':_0x48256a['id'],'ListId':_0x48256a[_0xbc43('0x26')],'scheduledat':_0x48256a['scheduledat']?_0x48256a[_0xbc43('0x16')]:moment()['format']('YYYY-MM-DD\x20HH:mm:ss'),'priority':_0x48256a[_0xbc43('0x27')]?_0x48256a['priority']:0x2,'callback':_0x48256a['callbackUniqueid']?!![]:![],'callbackuniqueid':_0x48256a[_0xbc43('0x28')]?_0x48256a[_0xbc43('0x28')]:undefined,'callbackat':_0x48256a[_0xbc43('0x28')]?moment()['format'](_0xbc43('0x18')):undefined,'VoiceQueueId':_0x4da980['id']})['catch'](_0x470de3());});}}}})[_0xbc43('0x20')](function(){return _0x289fde[_0xbc43('0x1a')][_0xbc43('0x30')]({'where':{'type':'outbound'},'attributes':['id'],'include':[{'model':_0x289fde[_0xbc43('0x32')],'as':'BlackLists','where':{'id':_0x48256a[_0xbc43('0x26')]}}]})[_0xbc43('0x20')](function(_0x4e49d8){if(_0x4e49d8){var _0x3c130c=[];for(var _0x2f279f=0x0,_0x3355b0;_0x2f279f<_0x4e49d8[_0xbc43('0x36')];_0x2f279f+=0x1){_0x3355b0=_0x4e49d8[_0x2f279f][_0xbc43('0x13')]({'plain':!![]});_0x289fde[_0xbc43('0x37')]['create']({'phone':_0x48256a[_0xbc43('0xa')],'ContactId':_0x48256a['id'],'ListId':_0x48256a['ListId'],'VoiceQueueId':_0x3355b0['id']})['catch'](function(_0x54cf5d){logger[_0xbc43('0x14')](_0xbc43('0x38'),_0xbc43('0x39'),_0x54cf5d[_0xbc43('0x3a')]);});}}});})[_0xbc43('0x20')](function(){return _0x289fde[_0xbc43('0x3b')]['findAll']({'attributes':['id',_0xbc43('0x33'),_0xbc43('0x19')],'include':[{'model':_0x289fde['CmList'],'as':_0xbc43('0x3c'),'where':{'id':_0x48256a['ListId']}}]})[_0xbc43('0x20')](function(_0x10b29a){if(_0x10b29a){var _0x1428d3=[];for(var _0x3271b6=0x0,_0x3d6514;_0x3271b6<_0x10b29a['length'];_0x3271b6+=0x1){_0x3d6514=_0x10b29a[_0x3271b6]['get']({'plain':!![]});switch(_0x3d6514[_0xbc43('0x33')]){case _0xbc43('0x34'):_0x17f15a(_0x3d6514)[_0xbc43('0x29')](_0x4e67c0());break;case _0xbc43('0x35'):_0xfbc57c(_0x3d6514)[_0xbc43('0x29')](_0x4e67c0());break;default:_0x289fde[_0xbc43('0x22')][_0xbc43('0x25')]({'phone':_0x48256a[_0xbc43('0xa')],'ContactId':_0x48256a['id'],'ListId':_0x48256a[_0xbc43('0x26')],'scheduledat':_0x48256a['scheduledat']?_0x48256a[_0xbc43('0x16')]:moment()[_0xbc43('0x17')](_0xbc43('0x18')),'priority':_0x48256a[_0xbc43('0x27')]?_0x48256a['priority']:0x2,'callback':_0x48256a['callbackUniqueid']?!![]:![],'callbackuniqueid':_0x48256a[_0xbc43('0x28')]?_0x48256a[_0xbc43('0x28')]:undefined,'callbackat':_0x48256a[_0xbc43('0x28')]?moment()[_0xbc43('0x17')](_0xbc43('0x18')):undefined,'CampaignId':_0x3d6514['id']})[_0xbc43('0x29')](_0x4e67c0());}}}});})['then'](function(){return _0x289fde[_0xbc43('0x3b')]['findAll']({'attributes':['id'],'include':[{'model':_0x289fde['CmList'],'as':_0xbc43('0x3d'),'where':{'id':_0x48256a[_0xbc43('0x26')]}}]})['then'](function(_0x57cd97){if(_0x57cd97){var _0x43dcb6=[];for(var _0x164846=0x0,_0x5e723f;_0x164846<_0x57cd97[_0xbc43('0x36')];_0x164846+=0x1){_0x5e723f=_0x57cd97[_0x164846][_0xbc43('0x13')]({'plain':!![]});_0x289fde[_0xbc43('0x37')][_0xbc43('0x25')]({'phone':_0x48256a[_0xbc43('0xa')],'ContactId':_0x48256a['id'],'ListId':_0x48256a['ListId'],'CampaignId':_0x5e723f['id']})[_0xbc43('0x29')](function(_0x2f5df1){logger[_0xbc43('0x14')](_0xbc43('0x38'),_0xbc43('0x39'),_0x2f5df1[_0xbc43('0x3a')]);});}}});})[_0xbc43('0x20')](function(){_0x1b076e();})[_0xbc43('0x29')](function(_0x539cf4){logger[_0xbc43('0x14')](_0xbc43('0x38'),_0xbc43('0x39'),_0x539cf4[_0xbc43('0x3a')]);_0x1b076e(_0x539cf4);});}else{_0x1b076e(new Error(_0xbc43('0x3e')));}},'afterDestroy':function(_0x1f3504,_0x598e4d,_0x42c6ee){var _0x50e636=_0x170fc0[_0xbc43('0x3f')];var _0x154256=_0x1f3504[_0xbc43('0x13')]({'plain':!![]});return _0x50e636['CmHopper'][_0xbc43('0x30')]({'raw':!![],'where':{'ListId':_0x154256[_0xbc43('0x26')],'ContactId':_0x154256['id']}})['then'](function(_0x29bd7c){if(!_[_0xbc43('0x40')](_0x29bd7c)){var _0x50c202=[];for(var _0x126e53=0x0;_0x126e53<_0x29bd7c['length'];_0x126e53+=0x1){var _0x10c9dd=_0x50e636[_0xbc43('0x22')][_0xbc43('0x41')]({'where':{'ListId':_0x29bd7c[_0x126e53][_0xbc43('0x26')],'ContactId':_0x29bd7c[_0x126e53][_0xbc43('0x42')],'VoiceQueueId':_0x29bd7c[_0x126e53][_0xbc43('0x43')],'CampaignId':_0x29bd7c[_0x126e53][_0xbc43('0x44')]}});_0x50c202[_0xbc43('0x45')](_0x10c9dd);}return BPromise[_0xbc43('0x46')](_0x50c202);}})['then'](function(_0x1ef82a){logger['info'](_0xbc43('0x47'),util[_0xbc43('0x15')](_0x1ef82a,{'showHidden':![],'depth':null}));_0x42c6ee();})['catch'](function(_0x5ea570){logger[_0xbc43('0x14')](_0xbc43('0x48'),util[_0xbc43('0x15')](_0x5ea570,{'showHidden':![],'depth':null}));_0x42c6ee(_0x5ea570);});}}});};