Built motion from commit d5e4af8c.|2.6.23
[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 _0x05f1=['destroy','CampaignId','push','info','[CmContact][afterDestroy][Succesfull]','[CmContact][afterDestroy][Error]','lodash','util','../../config/logger','api','moment','bluebird','path','../../config/environment','./cmContact.attributes','exports','define','CmContact','cm_contacts','phone','fti_cm_contacts','firstName','mobile','email','FULLTEXT','utf8mb4','models','get','error','cmContact','inspect','scheduledat','format','isNil','dialTimezone','VoiceQueue','then','minutes','YYYY-MM-DD\x20HH:mm:ss','findOne','\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20onlyIfOpen,\x20exist\x20in\x20hopper\x20VoiceQueue\x20','CmHopper','create','ListId','priority','callbackUniqueid','ret','cmContact,\x20afterCreate\x20','\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','catch','afterCreate','Campaign','timezones','utcOffset','add','\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20onlyIfOpen,\x20exist\x20in\x20hopper\x20Campaign\x20','\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20always,\x20exist\x20in\x20hopper\x20Campaign\x20','\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20always,\x20exist\x20in\x20hopperFinal\x20Campaign\x20','outbound','CmList','Lists','length','dialCheckDuplicateType','always','onlyIfOpen','BlackLists','cmContact,\x20%s,\x20%s','message','findAll','List\x20not\x20found','isEmpty'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0x05f1,0x12e));var _0x105f=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x05f1[_0x2c91e9];return _0x13f0ff;};'use strict';var _=require(_0x105f('0x0'));var util=require(_0x105f('0x1'));var logger=require(_0x105f('0x2'))(_0x105f('0x3'));var moment=require(_0x105f('0x4'));var BPromise=require(_0x105f('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x105f('0x6'));var rimraf=require('rimraf');var config=require(_0x105f('0x7'));var shared=require('../../config/environment/shared');var attributes=require(_0x105f('0x8'));module[_0x105f('0x9')]=function(_0x18566b,_0xf6e852){return _0x18566b[_0x105f('0xa')](_0x105f('0xb'),attributes,{'tableName':_0x105f('0xc'),'paranoid':!![],'indexes':[{'name':_0x105f('0xd'),'fields':[_0x105f('0xd')]},{'name':_0x105f('0xe'),'fields':[_0x105f('0xf'),'lastName',_0x105f('0xd'),_0x105f('0x10'),'fax',_0x105f('0x11')],'type':_0x105f('0x12')}],'timestamps':!![],'charset':_0x105f('0x13'),'collate':'utf8mb4_unicode_ci','hooks':{'afterCreate':function(_0x23faf8,_0x833ddc,_0x508dba){var _0xf30d1f=_0x18566b[_0x105f('0x14')];var _0x24ab11=_0x23faf8[_0x105f('0x15')]({'plain':!![]});function _0x3ea6ce(){return function(_0xd465e1){logger[_0x105f('0x16')](_0x105f('0x17'),'afterCreate',util[_0x105f('0x18')](_0xd465e1,{'showHidden':![],'depth':null}));};}function _0x342981(_0x4c04ab,_0x194b17){var _0x25aed9=_0x194b17[_0x105f('0x19')]?_0x194b17[_0x105f('0x19')]:moment()[_0x105f('0x1a')]('YYYY-MM-DD\x20HH:mm:ss');return new BPromise(function(_0x1727bf,_0x2986f4){if(_[_0x105f('0x1b')](_0x194b17[_0x105f('0x1c')])){_0x1727bf({'ret':_0x25aed9});}else{_0xf30d1f[_0x105f('0x1d')]['findOne']({'where':{'id':_0x4c04ab['id']}})[_0x105f('0x1e')](function(_0x5ca1d9){if(!_[_0x105f('0x1b')](_0x5ca1d9)){var _0x141b6a=_0x5ca1d9[_0x105f('0x1c')];if(!_[_0x105f('0x1b')](_0x141b6a)){var _0x3d1c8f=shared['timezones'];var _0x228197=_0x3d1c8f[_0x141b6a];var _0x303e28=_0x3d1c8f[_0x194b17[_0x105f('0x1c')]];if(!_[_0x105f('0x1b')](_0x228197)&&!_[_0x105f('0x1b')](_0x303e28)){var _0x59c67f=_0x228197['utcOffset']-_0x303e28['utcOffset'];_0x25aed9=_0x194b17[_0x105f('0x19')]?_0x194b17[_0x105f('0x19')]:moment();var _0x475e74=moment(_0x25aed9)['add'](_0x59c67f,_0x105f('0x1f'));_0x1727bf({'ret':_0x475e74[_0x105f('0x1a')](_0x105f('0x20'))});}else _0x1727bf({'ret':_0x25aed9});}else _0x1727bf({'ret':_0x25aed9});}else{_0x1727bf({'ret':_0x25aed9});}});}});return 0xa;}var _0x30b2ea=function(_0x25d1e8){return new BPromise(function(_0x53b395,_0x37a810){_0x342981(_0x25d1e8,_0x24ab11)[_0x105f('0x1e')](function(_0x4bad30){_0x24ab11['scheduledat']=_0x4bad30['ret'];_0xf30d1f['CmHopper'][_0x105f('0x21')]({'where':{'phone':_0x24ab11[_0x105f('0xd')],'VoiceQueueId':_0x25d1e8['id']}})[_0x105f('0x1e')](function(_0x178e4c){if(!_[_0x105f('0x1b')](_0x178e4c)){throw new Error('cmContact,\x20afterCreate\x20'+_0x24ab11[_0x105f('0xd')]+_0x105f('0x22')+_0x25d1e8['id']);}return _0xf30d1f[_0x105f('0x23')][_0x105f('0x24')]({'phone':_0x24ab11[_0x105f('0xd')],'ContactId':_0x24ab11['id'],'ListId':_0x24ab11[_0x105f('0x25')],'priority':_0x24ab11[_0x105f('0x26')]?_0x24ab11[_0x105f('0x26')]:0x2,'scheduledat':_0x24ab11[_0x105f('0x19')]?_0x24ab11[_0x105f('0x19')]:moment()[_0x105f('0x1a')]('YYYY-MM-DD\x20HH:mm:ss'),'callback':_0x24ab11[_0x105f('0x27')]?!![]:![],'callbackuniqueid':_0x24ab11[_0x105f('0x27')]?_0x24ab11['callbackUniqueid']:undefined,'callbackat':_0x24ab11['callbackUniqueid']?moment()[_0x105f('0x1a')](_0x105f('0x20')):undefined,'VoiceQueueId':_0x25d1e8['id']});})['catch'](function(_0x5c35ca){_0x37a810(_0x5c35ca);});});});};var _0x5da48b=function(_0x5b4c1a){return new BPromise(function(_0x4d81e6,_0x361898){_0x342981(_0x5b4c1a,_0x24ab11)[_0x105f('0x1e')](function(_0x30da04){_0x24ab11[_0x105f('0x19')]=_0x30da04[_0x105f('0x28')];_0xf30d1f[_0x105f('0x23')]['findOne']({'where':{'phone':_0x24ab11[_0x105f('0xd')],'VoiceQueueId':_0x5b4c1a['id']}})[_0x105f('0x1e')](function(_0x2889dd){if(!_[_0x105f('0x1b')](_0x2889dd)){throw new Error(_0x105f('0x29')+_0x24ab11[_0x105f('0xd')]+_0x105f('0x2a')+_0x5b4c1a['id']);}return _0xf30d1f[_0x105f('0x2b')]['findOne']({'where':{'calleridnum':_0x24ab11[_0x105f('0xd')],'VoiceQueueId':_0x5b4c1a['id']}});})['then'](function(_0x1d32a6){if(!_[_0x105f('0x1b')](_0x1d32a6)){throw new Error(_0x105f('0x2c')+_0x24ab11[_0x105f('0xd')]+_0x105f('0x2d')+_0x5b4c1a['id']);}return _0xf30d1f[_0x105f('0x23')][_0x105f('0x24')]({'phone':_0x24ab11[_0x105f('0xd')],'ContactId':_0x24ab11['id'],'ListId':_0x24ab11[_0x105f('0x25')],'priority':_0x24ab11[_0x105f('0x26')]?_0x24ab11['priority']:0x2,'scheduledat':_0x24ab11[_0x105f('0x19')]?_0x24ab11[_0x105f('0x19')]:moment()[_0x105f('0x1a')](_0x105f('0x20')),'callback':_0x24ab11[_0x105f('0x27')]?!![]:![],'callbackuniqueid':_0x24ab11[_0x105f('0x27')]?_0x24ab11[_0x105f('0x27')]:undefined,'callbackat':_0x24ab11['callbackUniqueid']?moment()[_0x105f('0x1a')](_0x105f('0x20')):undefined,'VoiceQueueId':_0x5b4c1a['id']});})[_0x105f('0x2e')](function(_0x5867e0){_0x361898(_0x5867e0);});});});};function _0x418f2e(){return function(_0x5a04ad){logger[_0x105f('0x16')]('cmContact',_0x105f('0x2f'),util[_0x105f('0x18')](_0x5a04ad,{'showHidden':![],'depth':null}));};}function _0x521c5c(_0x540ae7,_0xc30caf){var _0x3f84ae=_0xc30caf[_0x105f('0x19')]?_0xc30caf[_0x105f('0x19')]:moment()['format'](_0x105f('0x20'));return new BPromise(function(_0x5b110e,_0xc13ae4){if(_[_0x105f('0x1b')](_0xc30caf[_0x105f('0x1c')])){_0x5b110e({'ret':_0x3f84ae});}else{_0xf30d1f[_0x105f('0x30')]['findOne']({'where':{'id':_0x540ae7['id']}})[_0x105f('0x1e')](function(_0x523da0){if(!_['isNil'](_0x523da0)){var _0x159fea=_0x523da0['dialTimezone'];if(!_[_0x105f('0x1b')](_0x159fea)){var _0x500023=shared[_0x105f('0x31')];var _0xc07853=_0x500023[_0x159fea];var _0x209438=_0x500023[_0xc30caf[_0x105f('0x1c')]];if(!_['isNil'](_0xc07853)&&!_[_0x105f('0x1b')](_0x209438)){var _0x28910b=_0xc07853[_0x105f('0x32')]-_0x209438[_0x105f('0x32')];_0x3f84ae=_0xc30caf['scheduledat']?_0xc30caf['scheduledat']:moment();var _0x20bcc3=moment(_0x3f84ae)[_0x105f('0x33')](_0x28910b,'minutes');_0x5b110e({'ret':_0x20bcc3['format'](_0x105f('0x20'))});}else _0x5b110e({'ret':_0x3f84ae});}else _0x5b110e({'ret':_0x3f84ae});}else{_0x5b110e({'ret':_0x3f84ae});}});}});return 0xa;}var _0x340212=function(_0x5f8039){return new BPromise(function(_0x52c1d0,_0x2a896d){_0x521c5c(_0x5f8039,_0x24ab11)['then'](function(_0x434a3c){_0x24ab11[_0x105f('0x19')]=_0x434a3c['ret'];_0xf30d1f[_0x105f('0x23')][_0x105f('0x21')]({'where':{'phone':_0x24ab11[_0x105f('0xd')],'CampaignId':_0x5f8039['id']}})[_0x105f('0x1e')](function(_0x2be121){if(!_[_0x105f('0x1b')](_0x2be121)){throw new Error(_0x105f('0x29')+_0x24ab11[_0x105f('0xd')]+_0x105f('0x34')+_0x5f8039['id']);}return _0xf30d1f[_0x105f('0x23')][_0x105f('0x24')]({'phone':_0x24ab11[_0x105f('0xd')],'ContactId':_0x24ab11['id'],'ListId':_0x24ab11[_0x105f('0x25')],'priority':_0x24ab11[_0x105f('0x26')]?_0x24ab11['priority']:0x2,'scheduledat':_0x24ab11['scheduledat']?_0x24ab11[_0x105f('0x19')]:moment()[_0x105f('0x1a')]('YYYY-MM-DD\x20HH:mm:ss'),'callback':_0x24ab11['callbackUniqueid']?!![]:![],'callbackuniqueid':_0x24ab11[_0x105f('0x27')]?_0x24ab11[_0x105f('0x27')]:undefined,'callbackat':_0x24ab11[_0x105f('0x27')]?moment()['format'](_0x105f('0x20')):undefined,'CampaignId':_0x5f8039['id']});})[_0x105f('0x2e')](function(_0x3ec0c1){_0x2a896d(_0x3ec0c1);});});});};var _0x44fdb2=function(_0x4e2059){return new BPromise(function(_0x1d4623,_0x4e680e){_0x521c5c(_0x4e2059,_0x24ab11)[_0x105f('0x1e')](function(_0x43f84b){_0x24ab11['scheduledat']=_0x43f84b[_0x105f('0x28')];_0xf30d1f[_0x105f('0x23')][_0x105f('0x21')]({'where':{'phone':_0x24ab11[_0x105f('0xd')],'CampaignId':_0x4e2059['id']}})[_0x105f('0x1e')](function(_0x5b0e33){if(!_[_0x105f('0x1b')](_0x5b0e33)){throw new Error(_0x105f('0x29')+_0x24ab11['phone']+_0x105f('0x35')+_0x4e2059['id']);}return _0xf30d1f[_0x105f('0x2b')][_0x105f('0x21')]({'where':{'calleridnum':_0x24ab11['phone'],'CampaignId':_0x4e2059['id']}});})['then'](function(_0x7d2c87){if(!_[_0x105f('0x1b')](_0x7d2c87)){throw new Error(_0x105f('0x2c')+_0x24ab11[_0x105f('0xd')]+_0x105f('0x36')+_0x4e2059['id']);}return _0xf30d1f[_0x105f('0x23')][_0x105f('0x24')]({'phone':_0x24ab11[_0x105f('0xd')],'ContactId':_0x24ab11['id'],'ListId':_0x24ab11[_0x105f('0x25')],'priority':_0x24ab11[_0x105f('0x26')]?_0x24ab11[_0x105f('0x26')]:0x2,'scheduledat':_0x24ab11[_0x105f('0x19')]?_0x24ab11['scheduledat']:moment()[_0x105f('0x1a')](_0x105f('0x20')),'callback':_0x24ab11['callbackUniqueid']?!![]:![],'callbackuniqueid':_0x24ab11[_0x105f('0x27')]?_0x24ab11[_0x105f('0x27')]:undefined,'callbackat':_0x24ab11[_0x105f('0x27')]?moment()['format'](_0x105f('0x20')):undefined,'CampaignId':_0x4e2059['id']});})[_0x105f('0x2e')](function(_0x328bb3){_0x4e680e(_0x328bb3);});});});};if(_0x24ab11[_0x105f('0x25')]){_0xf30d1f[_0x105f('0x1d')]['findAll']({'where':{'type':_0x105f('0x37')},'attributes':['id','dialCheckDuplicateType','dialTimezone'],'include':[{'model':_0xf30d1f[_0x105f('0x38')],'as':_0x105f('0x39'),'where':{'id':_0x24ab11[_0x105f('0x25')]}}]})['then'](function(_0x1637c6){if(_0x1637c6){var _0x39560a=[];for(var _0x3be94d=0x0,_0x217286;_0x3be94d<_0x1637c6[_0x105f('0x3a')];_0x3be94d+=0x1){_0x217286=_0x1637c6[_0x3be94d][_0x105f('0x15')]({'plain':!![]});switch(_0x217286[_0x105f('0x3b')]){case _0x105f('0x3c'):_0x5da48b(_0x217286)[_0x105f('0x2e')](_0x3ea6ce());break;case _0x105f('0x3d'):_0x30b2ea(_0x217286)[_0x105f('0x2e')](_0x3ea6ce());break;default:_0x521c5c(_0x217286,_0x24ab11)[_0x105f('0x1e')](function(_0x2b1d0e){_0x24ab11[_0x105f('0x19')]=_0x2b1d0e[_0x105f('0x28')];_0xf30d1f['CmHopper'][_0x105f('0x24')]({'phone':_0x24ab11[_0x105f('0xd')],'ContactId':_0x24ab11['id'],'ListId':_0x24ab11['ListId'],'scheduledat':_0x24ab11[_0x105f('0x19')]?_0x24ab11['scheduledat']:moment()[_0x105f('0x1a')](_0x105f('0x20')),'priority':_0x24ab11[_0x105f('0x26')]?_0x24ab11[_0x105f('0x26')]:0x2,'callback':_0x24ab11['callbackUniqueid']?!![]:![],'callbackuniqueid':_0x24ab11['callbackUniqueid']?_0x24ab11['callbackUniqueid']:undefined,'callbackat':_0x24ab11[_0x105f('0x27')]?moment()[_0x105f('0x1a')](_0x105f('0x20')):undefined,'VoiceQueueId':_0x217286['id']})[_0x105f('0x2e')](_0x3ea6ce());});}}}})['then'](function(){return _0xf30d1f[_0x105f('0x1d')]['findAll']({'where':{'type':_0x105f('0x37')},'attributes':['id'],'include':[{'model':_0xf30d1f['CmList'],'as':_0x105f('0x3e'),'where':{'id':_0x24ab11['ListId']}}]})[_0x105f('0x1e')](function(_0x4fdd6c){if(_0x4fdd6c){var _0x1f43e1=[];for(var _0x5dbc45=0x0,_0x4b03c3;_0x5dbc45<_0x4fdd6c[_0x105f('0x3a')];_0x5dbc45+=0x1){_0x4b03c3=_0x4fdd6c[_0x5dbc45][_0x105f('0x15')]({'plain':!![]});_0xf30d1f['CmHopperBlack'][_0x105f('0x24')]({'phone':_0x24ab11[_0x105f('0xd')],'ContactId':_0x24ab11['id'],'ListId':_0x24ab11[_0x105f('0x25')],'VoiceQueueId':_0x4b03c3['id']})['catch'](function(_0x359742){logger['error'](_0x105f('0x3f'),'afterCreate',_0x359742[_0x105f('0x40')]);});}}});})[_0x105f('0x1e')](function(){return _0xf30d1f[_0x105f('0x30')][_0x105f('0x41')]({'attributes':['id',_0x105f('0x3b'),'dialTimezone'],'include':[{'model':_0xf30d1f['CmList'],'as':_0x105f('0x39'),'where':{'id':_0x24ab11[_0x105f('0x25')]}}]})['then'](function(_0x558c92){if(_0x558c92){var _0x498edf=[];for(var _0x48eb3c=0x0,_0x17f928;_0x48eb3c<_0x558c92['length'];_0x48eb3c+=0x1){_0x17f928=_0x558c92[_0x48eb3c][_0x105f('0x15')]({'plain':!![]});switch(_0x17f928[_0x105f('0x3b')]){case _0x105f('0x3c'):_0x44fdb2(_0x17f928)[_0x105f('0x2e')](_0x418f2e());break;case _0x105f('0x3d'):_0x340212(_0x17f928)[_0x105f('0x2e')](_0x418f2e());break;default:_0xf30d1f[_0x105f('0x23')][_0x105f('0x24')]({'phone':_0x24ab11[_0x105f('0xd')],'ContactId':_0x24ab11['id'],'ListId':_0x24ab11['ListId'],'scheduledat':_0x24ab11['scheduledat']?_0x24ab11[_0x105f('0x19')]:moment()[_0x105f('0x1a')](_0x105f('0x20')),'priority':_0x24ab11[_0x105f('0x26')]?_0x24ab11[_0x105f('0x26')]:0x2,'callback':_0x24ab11[_0x105f('0x27')]?!![]:![],'callbackuniqueid':_0x24ab11[_0x105f('0x27')]?_0x24ab11[_0x105f('0x27')]:undefined,'callbackat':_0x24ab11[_0x105f('0x27')]?moment()['format'](_0x105f('0x20')):undefined,'CampaignId':_0x17f928['id']})[_0x105f('0x2e')](_0x418f2e());}}}});})[_0x105f('0x1e')](function(){return _0xf30d1f[_0x105f('0x30')][_0x105f('0x41')]({'attributes':['id'],'include':[{'model':_0xf30d1f[_0x105f('0x38')],'as':'BlackLists','where':{'id':_0x24ab11[_0x105f('0x25')]}}]})['then'](function(_0x45192b){if(_0x45192b){var _0x5435b7=[];for(var _0x2b016b=0x0,_0x38b776;_0x2b016b<_0x45192b['length'];_0x2b016b+=0x1){_0x38b776=_0x45192b[_0x2b016b][_0x105f('0x15')]({'plain':!![]});_0xf30d1f['CmHopperBlack'][_0x105f('0x24')]({'phone':_0x24ab11[_0x105f('0xd')],'ContactId':_0x24ab11['id'],'ListId':_0x24ab11[_0x105f('0x25')],'CampaignId':_0x38b776['id']})['catch'](function(_0x556662){logger['error']('cmContact,\x20%s,\x20%s',_0x105f('0x2f'),_0x556662['message']);});}}});})[_0x105f('0x1e')](function(){_0x508dba();})[_0x105f('0x2e')](function(_0x3f4b86){logger[_0x105f('0x16')](_0x105f('0x3f'),_0x105f('0x2f'),_0x3f4b86[_0x105f('0x40')]);_0x508dba(_0x3f4b86);});}else{_0x508dba(new Error(_0x105f('0x42')));}},'afterDestroy':function(_0x341543,_0x1cfee2,_0x2bfd59){var _0x171fa0=_0x18566b['models'];var _0x21de7a=_0x341543[_0x105f('0x15')]({'plain':!![]});return _0x171fa0['CmHopper'][_0x105f('0x41')]({'raw':!![],'where':{'ListId':_0x21de7a[_0x105f('0x25')],'ContactId':_0x21de7a['id']}})[_0x105f('0x1e')](function(_0x4f0cc1){if(!_[_0x105f('0x43')](_0x4f0cc1)){var _0x1b950e=[];for(var _0x1e7489=0x0;_0x1e7489<_0x4f0cc1[_0x105f('0x3a')];_0x1e7489+=0x1){var _0x3c7db9=_0x171fa0['CmHopper'][_0x105f('0x44')]({'where':{'ListId':_0x4f0cc1[_0x1e7489][_0x105f('0x25')],'ContactId':_0x4f0cc1[_0x1e7489]['ContactId'],'VoiceQueueId':_0x4f0cc1[_0x1e7489]['VoiceQueueId'],'CampaignId':_0x4f0cc1[_0x1e7489][_0x105f('0x45')]}});_0x1b950e[_0x105f('0x46')](_0x3c7db9);}return BPromise['all'](_0x1b950e);}})[_0x105f('0x1e')](function(_0x509645){logger[_0x105f('0x47')](_0x105f('0x48'),util[_0x105f('0x18')](_0x509645,{'showHidden':![],'depth':null}));_0x2bfd59();})[_0x105f('0x2e')](function(_0x59df93){logger[_0x105f('0x16')](_0x105f('0x49'),util[_0x105f('0x18')](_0x59df93,{'showHidden':![],'depth':null}));_0x2bfd59(_0x59df93);});}}});};