Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / cmHopper / cmHopper.controller.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 _0xcb81=['hasOwnProperty','order','sort','where','filter','merge','VIRTUAL','options','then','includeAll','include','rows','rawAttributes','find','catch','create','body','params','describe','destroy','CampaignId','VoiceQueueId','VoiceQueue','omit','state','deleted','campaign','membername','user','UserId','deletedat','format','YYYY-MM-DD\x20HH:mm:ss','calleridnum','campaigntype','queue','ivr','CmContact','ContactId','isNil','firstName','calleridname','finally','CmHopperFinal','CmHopperAdditionalPhone','end','getPreview','outbound','preview','dialOrderByScheduledAt','sequelize','dialPreviewAutoRecallMe','direction','prev','isEmpty','hopperIds','ASC','scheduledAt','DESC','literal','COALESCE(CmHopper.UserId,\x200)\x20ASC','findOne','scheduledat','phone','recallme','LOCK','Company','CmList','Queue','dialActive','getPreviewRecall','transaction','UPDATE','Contact','CmCompany','List','getOpenContacts','CmHopper,\x20%s,\x20%s,\x20%s','entity\x20not\x20found','getTimezones','timezones','utcOffset','moment','lodash','../../config/logger','status','json','offset','undefined','limit','count','set','update','sendStatus','stack','name','send','index','map','CmHopper','fieldName','type','key','query','keys','filters','concat','$and','$or','$gt','$lt','$lte','$ne','$eq','$not','$between','$in','$notIn','$like','$notLike','$iLike','$overlap','$contains','$contained','attributes','intersection','model','fields','length'];(function(_0x1d70db,_0x142b63){var _0x3060c6=function(_0x347866){while(--_0x347866){_0x1d70db['push'](_0x1d70db['shift']());}};_0x3060c6(++_0x142b63);}(_0xcb81,0x154));var _0x1cb8=function(_0x2ddfd9,_0x5877d0){_0x2ddfd9=_0x2ddfd9-0x0;var _0x2668f0=_0xcb81[_0x2ddfd9];return _0x2668f0;};'use strict';var moment=require(_0x1cb8('0x0'));var _=require(_0x1cb8('0x1'));var qs=require('../../components/parsers/qs');var logger=require(_0x1cb8('0x2'))('api');var shared=require('../../config/environment');var db=require('../../mysqldb')['db'];function respondWithResult(_0x38c3ea,_0x33a8f2){_0x33a8f2=_0x33a8f2||0xc8;return function(_0x237e94){if(_0x237e94){return _0x38c3ea[_0x1cb8('0x3')](_0x33a8f2)[_0x1cb8('0x4')](_0x237e94);}};}function respondWithFilteredResult(_0x4e5c19,_0x98d682){return function(_0x2ac2d6){if(_0x2ac2d6){var _0x584b16=typeof _0x98d682[_0x1cb8('0x5')]===_0x1cb8('0x6')&&typeof _0x98d682[_0x1cb8('0x7')]==='undefined';var _0x1ff267=_0x2ac2d6['count'];var _0x480823=_0x584b16?0x0:_0x98d682[_0x1cb8('0x5')];var _0x2158a9=_0x584b16?_0x2ac2d6[_0x1cb8('0x8')]:_0x98d682[_0x1cb8('0x5')]+_0x98d682[_0x1cb8('0x7')];var _0x32715a;if(_0x2158a9>=_0x1ff267){_0x2158a9=_0x1ff267;_0x32715a=0xc8;}else{_0x32715a=0xce;}_0x4e5c19[_0x1cb8('0x3')](_0x32715a);return _0x4e5c19[_0x1cb8('0x9')]('Content-Range',_0x480823+'-'+_0x2158a9+'/'+_0x1ff267)[_0x1cb8('0x4')](_0x2ac2d6);}return null;};}function saveUpdates(_0x1ffe94,_0x1938ee){return function(_0x299eea){if(_0x299eea){return _0x299eea[_0x1cb8('0xa')](_0x1ffe94)['then'](function(_0x389c12){return _0x389c12;});}return null;};}function handleEntityNotFound(_0x2c600,_0xcb6ad1){return function(_0x14d84d){if(!_0x14d84d){_0x2c600[_0x1cb8('0xb')](0x194);}return _0x14d84d;};}function handleError(_0xe5402a,_0x339ad0){_0x339ad0=_0x339ad0||0x1f4;return function(_0x243930){logger['error'](_0x243930[_0x1cb8('0xc')]);if(_0x243930['name']){delete _0x243930[_0x1cb8('0xd')];}_0xe5402a[_0x1cb8('0x3')](_0x339ad0)[_0x1cb8('0xe')](_0x243930);};}exports[_0x1cb8('0xf')]=function(_0x2635a8,_0x308088){var _0x3bfbcf={},_0x9f0adb={},_0x2631db={'count':0x0,'rows':[]};var _0x1f9fd7=_[_0x1cb8('0x10')](db[_0x1cb8('0x11')]['rawAttributes'],function(_0x429d10){return{'name':_0x429d10[_0x1cb8('0x12')],'type':_0x429d10[_0x1cb8('0x13')][_0x1cb8('0x14')]};});_0x9f0adb['model']=_[_0x1cb8('0x10')](_0x1f9fd7,'name');_0x9f0adb[_0x1cb8('0x15')]=_[_0x1cb8('0x16')](_0x2635a8[_0x1cb8('0x15')]);_0x9f0adb[_0x1cb8('0x17')]=_['intersection'](_0x9f0adb['model'],_0x9f0adb[_0x1cb8('0x15')]);_0x9f0adb[_0x1cb8('0x17')]=_[_0x1cb8('0x18')](_0x9f0adb[_0x1cb8('0x17')],[_0x1cb8('0x19'),_0x1cb8('0x1a'),_0x1cb8('0x1b'),'$gte',_0x1cb8('0x1c'),_0x1cb8('0x1d'),_0x1cb8('0x1e'),_0x1cb8('0x1f'),_0x1cb8('0x20'),_0x1cb8('0x21'),'$notBetween',_0x1cb8('0x22'),_0x1cb8('0x23'),_0x1cb8('0x24'),_0x1cb8('0x25'),_0x1cb8('0x26'),'$notILike',_0x1cb8('0x24'),_0x1cb8('0x27'),_0x1cb8('0x28'),_0x1cb8('0x29'),'$any']);_0x3bfbcf[_0x1cb8('0x2a')]=_[_0x1cb8('0x2b')](_0x9f0adb[_0x1cb8('0x2c')],qs['fields'](_0x2635a8[_0x1cb8('0x15')][_0x1cb8('0x2d')]));_0x3bfbcf[_0x1cb8('0x2a')]=_0x3bfbcf['attributes'][_0x1cb8('0x2e')]?_0x3bfbcf[_0x1cb8('0x2a')]:_0x9f0adb[_0x1cb8('0x2c')];if(!_0x2635a8[_0x1cb8('0x15')][_0x1cb8('0x2f')]('nolimit')){_0x3bfbcf[_0x1cb8('0x7')]=qs[_0x1cb8('0x7')](_0x2635a8[_0x1cb8('0x15')][_0x1cb8('0x7')]);_0x3bfbcf[_0x1cb8('0x5')]=qs[_0x1cb8('0x5')](_0x2635a8[_0x1cb8('0x15')][_0x1cb8('0x5')]);}_0x3bfbcf[_0x1cb8('0x30')]=qs['sort'](_0x2635a8['query'][_0x1cb8('0x31')]);_0x3bfbcf[_0x1cb8('0x32')]=qs[_0x1cb8('0x17')](_['pick'](_0x2635a8['query'],_0x9f0adb[_0x1cb8('0x17')]),_0x1f9fd7);if(_0x2635a8[_0x1cb8('0x15')][_0x1cb8('0x33')]){_0x3bfbcf[_0x1cb8('0x32')]=_[_0x1cb8('0x34')](_0x3bfbcf[_0x1cb8('0x32')],{'$or':_[_0x1cb8('0x10')](_0x1f9fd7,function(_0x43dce0){if(_0x43dce0['type']!==_0x1cb8('0x35')){var _0x1a6518={};_0x1a6518[_0x43dce0[_0x1cb8('0xd')]]={'$like':'%'+_0x2635a8[_0x1cb8('0x15')][_0x1cb8('0x33')]+'%'};return _0x1a6518;}})});}_0x3bfbcf=_[_0x1cb8('0x34')]({},_0x3bfbcf,_0x2635a8[_0x1cb8('0x36')]);var _0x2ad7f6={'where':_0x3bfbcf[_0x1cb8('0x32')]};return db['CmHopper'][_0x1cb8('0x8')](_0x2ad7f6)[_0x1cb8('0x37')](function(_0x5e9f5f){_0x2631db[_0x1cb8('0x8')]=_0x5e9f5f;if(_0x2635a8[_0x1cb8('0x15')][_0x1cb8('0x38')]){_0x3bfbcf[_0x1cb8('0x39')]=[{'all':!![]}];}return db[_0x1cb8('0x11')]['findAll'](_0x3bfbcf);})[_0x1cb8('0x37')](function(_0x4666bc){_0x2631db[_0x1cb8('0x3a')]=_0x4666bc;return _0x2631db;})['then'](respondWithFilteredResult(_0x308088,_0x3bfbcf))['catch'](handleError(_0x308088,null));};exports['show']=function(_0xca5f83,_0x35e713){var _0x328f7e={'raw':!![],'where':{'id':_0xca5f83['params']['id']}},_0x4783c8={};_0x4783c8['model']=_[_0x1cb8('0x16')](db[_0x1cb8('0x11')][_0x1cb8('0x3b')]);_0x4783c8[_0x1cb8('0x15')]=_[_0x1cb8('0x16')](_0xca5f83[_0x1cb8('0x15')]);_0x4783c8[_0x1cb8('0x17')]=_[_0x1cb8('0x2b')](_0x4783c8['model'],_0x4783c8[_0x1cb8('0x15')]);_0x328f7e[_0x1cb8('0x2a')]=_[_0x1cb8('0x2b')](_0x4783c8[_0x1cb8('0x2c')],qs['fields'](_0xca5f83[_0x1cb8('0x15')]['fields']));_0x328f7e[_0x1cb8('0x2a')]=_0x328f7e[_0x1cb8('0x2a')]['length']?_0x328f7e[_0x1cb8('0x2a')]:_0x4783c8[_0x1cb8('0x2c')];if(_0xca5f83[_0x1cb8('0x15')]['includeAll']){_0x328f7e['include']=[{'all':!![]}];}_0x328f7e=_[_0x1cb8('0x34')]({},_0x328f7e,_0xca5f83['options']);return db[_0x1cb8('0x11')][_0x1cb8('0x3c')](_0x328f7e)[_0x1cb8('0x37')](handleEntityNotFound(_0x35e713,null))[_0x1cb8('0x37')](respondWithResult(_0x35e713,null))[_0x1cb8('0x3d')](handleError(_0x35e713,null));};exports[_0x1cb8('0x3e')]=function(_0x15e960,_0x5cc9e1){return db[_0x1cb8('0x11')][_0x1cb8('0x3e')](_0x15e960[_0x1cb8('0x3f')],{})[_0x1cb8('0x37')](respondWithResult(_0x5cc9e1,0xc9))['catch'](handleError(_0x5cc9e1,null));};exports[_0x1cb8('0xa')]=function(_0x7f7a09,_0x1b83a6){if(_0x7f7a09[_0x1cb8('0x3f')]['id']){delete _0x7f7a09[_0x1cb8('0x3f')]['id'];}return db['CmHopper'][_0x1cb8('0x3c')]({'where':{'id':_0x7f7a09[_0x1cb8('0x40')]['id']}})[_0x1cb8('0x37')](handleEntityNotFound(_0x1b83a6,null))[_0x1cb8('0x37')](saveUpdates(_0x7f7a09[_0x1cb8('0x3f')],null))['then'](respondWithResult(_0x1b83a6,null))[_0x1cb8('0x3d')](handleError(_0x1b83a6,null));};exports[_0x1cb8('0x41')]=function(_0x5598b1,_0x423916){return db[_0x1cb8('0x11')][_0x1cb8('0x41')]()[_0x1cb8('0x37')](respondWithResult(_0x423916,null))[_0x1cb8('0x3d')](handleError(_0x423916,null));};exports[_0x1cb8('0x42')]=function(_0x3b063c,_0x219541){var _0xd530f8;var _0x713a43=_0x3b063c[_0x1cb8('0x40')]['id'];return db[_0x1cb8('0x11')][_0x1cb8('0x3c')]({'where':{'id':_0x3b063c[_0x1cb8('0x40')]['id']}})['then'](handleEntityNotFound(_0x219541,null))[_0x1cb8('0x37')](function(_0x1e1272){if(_0x1e1272){return _0x1e1272[_0x1cb8('0x42')]()[_0x1cb8('0x37')](function(_0x21aba7){return _0x21aba7;});}})[_0x1cb8('0x37')](function(_0x2f853d){_0xd530f8=_0x2f853d;if(_0x2f853d){if(_0x2f853d['VoiceQueueId']||_0x2f853d[_0x1cb8('0x43')]){return db[_0x2f853d[_0x1cb8('0x44')]?_0x1cb8('0x45'):'Campaign']['find']({'where':{'id':_0x2f853d[_0x1cb8('0x44')]?_0x2f853d[_0x1cb8('0x44')]:_0x2f853d[_0x1cb8('0x43')]},'attributes':['id',_0x1cb8('0xd')],'raw':!![]});}}})[_0x1cb8('0x37')](function(_0x4d59db){var _0xd89636={};if(_0x4d59db){_[_0x1cb8('0x34')](_0xd89636,_[_0x1cb8('0x46')](_0xd530f8['dataValues'],['createdAt','updatedAt','id']));_0xd89636[_0x1cb8('0x47')]=0x15;_0xd89636['statedesc']=_0x1cb8('0x48');_0xd89636[_0x1cb8('0x49')]=_0x4d59db[_0x1cb8('0xd')];_0xd89636[_0x1cb8('0x4a')]=_0x3b063c[_0x1cb8('0x4b')]['name'];_0xd89636[_0x1cb8('0x4c')]=_0x3b063c[_0x1cb8('0x4b')]['id'];_0xd89636[_0x1cb8('0x48')]=!![];_0xd89636[_0x1cb8('0x4d')]=moment()[_0x1cb8('0x4e')](_0x1cb8('0x4f'));_0xd89636[_0x1cb8('0x50')]=_0xd530f8['phone'];_0xd89636[_0x1cb8('0x51')]=_0xd530f8[_0x1cb8('0x44')]?_0x1cb8('0x52'):_0x1cb8('0x53');return db[_0x1cb8('0x54')][_0x1cb8('0x3c')]({'where':{'id':_0xd89636[_0x1cb8('0x55')]},'attributes':['firstName','lastName']})['then'](function(_0x17ade3){if(!_['isNil'](_0x219541)&&!_[_0x1cb8('0x56')](_0x17ade3[_0x1cb8('0x57')])){_0xd89636[_0x1cb8('0x58')]=_0x17ade3[_0x1cb8('0x57')];if(!_[_0x1cb8('0x56')](_0x17ade3['lastName'])){_0xd89636['calleridname']+='\x20'+_0x17ade3['lastName'];}}})[_0x1cb8('0x59')](function(){return db[_0x1cb8('0x5a')]['create'](_0xd89636);});}})[_0x1cb8('0x37')](function(_0x5306fb){return db[_0x1cb8('0x5b')][_0x1cb8('0x42')]({'where':{'CmHopperId':_0x713a43}});})['then'](function(){return _0x219541[_0x1cb8('0x3')](0xcc)[_0x1cb8('0x5c')]();})[_0x1cb8('0x3d')](handleError(_0x219541,null));};exports[_0x1cb8('0x5d')]=function(_0x1396fc,_0x16ec38){var _0x416817=[];return db[_0x1cb8('0x54')][_0x1cb8('0x41')]()[_0x1cb8('0x37')](function(_0x2fb1a7){_0x416817=_[_0x1cb8('0x16')](_0x2fb1a7);return _0x1396fc[_0x1cb8('0x4b')]['getVoiceQueues']({'where':{'type':_0x1cb8('0x5e'),'dialActive':!![],'dialMethod':_0x1cb8('0x5f')},'attributes':['id',_0x1cb8('0x60'),'dialPreviewAutoRecallMe'],'raw':!![]});})[_0x1cb8('0x37')](function(_0x39de0b){if(_0x39de0b&&_0x39de0b[_0x1cb8('0x2e')]){return db[_0x1cb8('0x61')]['transaction'](function(_0x37f282){var _0x2b92f1={'active':![],'recallme':![],'scheduledAt':{'$lte':moment()['format'](_0x1cb8('0x4f'))},'VoiceQueueId':{'$in':_[_0x1cb8('0x10')](_0x39de0b,'id')},'$or':[{'UserId':null},{'UserId':_0x1396fc['user']['id']}]};var _0x41a5b2={'active':![],'recallme':!![],'VoiceQueueId':{'$in':_(_0x39de0b)[_0x1cb8('0x33')]([_0x1cb8('0x62'),0x0])[_0x1cb8('0x10')]('id')['value']()},'$or':[{'UserId':null},{'UserId':_0x1396fc['user']['id']}]};var _0x4e6a41={'$or':[_0x2b92f1,_0x41a5b2]};var _0x7f7524=[];if(_0x1396fc[_0x1cb8('0x3f')][_0x1cb8('0x63')]&&_0x1396fc[_0x1cb8('0x3f')][_0x1cb8('0x63')]===_0x1cb8('0x64')){if(!_[_0x1cb8('0x65')](_0x1396fc['body'][_0x1cb8('0x66')])){_0x4e6a41['id']={'$in':_0x1396fc[_0x1cb8('0x3f')][_0x1cb8('0x66')]};}_0x7f7524=[['priority',_0x1cb8('0x67')],[_0x1cb8('0x68'),_0x39de0b[0x0][_0x1cb8('0x60')]===_0x1cb8('0x67')?_0x1cb8('0x69'):'ASC'],db[_0x1cb8('0x61')][_0x1cb8('0x6a')](_0x1cb8('0x6b')),['id','DESC']];}else{if(!_[_0x1cb8('0x65')](_0x1396fc[_0x1cb8('0x3f')]['hopperIds'])){_0x4e6a41['id']={'$notIn':_0x1396fc[_0x1cb8('0x3f')]['hopperIds']};}_0x7f7524=[['priority',_0x1cb8('0x69')],[_0x1cb8('0x68'),_0x39de0b[0x0][_0x1cb8('0x60')]],db['sequelize']['literal']('COALESCE(CmHopper.UserId,\x200)\x20DESC'),['id',_0x1cb8('0x67')]];}return db[_0x1cb8('0x11')][_0x1cb8('0x6c')]({'attributes':['id',_0x1cb8('0x6d'),_0x1cb8('0x6e'),_0x1cb8('0x6f')],'where':_0x4e6a41,'order':_0x7f7524,'transaction':_0x37f282,'lock':_0x37f282[_0x1cb8('0x70')]['UPDATE'],'include':[{'model':db['CmContact'],'as':'Contact','attributes':_0x416817,'include':[{'model':db['CmCompany'],'as':_0x1cb8('0x71'),'attributes':['id','name']}]},{'model':db[_0x1cb8('0x72')],'as':'List','attributes':['id','name']},{'model':db['VoiceQueue'],'as':_0x1cb8('0x73'),'attributes':['id',_0x1cb8('0xd'),_0x1cb8('0x74')]}]})[_0x1cb8('0x37')](function(_0x26f661){if(_0x26f661){return _0x26f661[_0x1cb8('0xa')]({'UserId':_0x1396fc[_0x1cb8('0x4b')]['id']},{'transaction':_0x37f282});}});});}})[_0x1cb8('0x37')](handleEntityNotFound(_0x16ec38,null))[_0x1cb8('0x37')](respondWithResult(_0x16ec38,null))[_0x1cb8('0x3d')](handleError(_0x16ec38,null));};exports[_0x1cb8('0x75')]=function(_0x1f1bc9,_0x279a03,_0x1cc13f){var _0xafc24b=[];var _0x38aa03=_0x1f1bc9['params']['id'];var _0xd1ee6d=_0x1f1bc9[_0x1cb8('0x4b')]['id'];return db[_0x1cb8('0x54')][_0x1cb8('0x41')]()[_0x1cb8('0x37')](function(_0x284c46){_0xafc24b=_['keys'](_0x284c46);return db[_0x1cb8('0x61')][_0x1cb8('0x76')](function(_0x19c7ca){const _0xe2c1b8={'id':_0x38aa03};return db[_0x1cb8('0x11')]['findOne']({'attributes':['id',_0x1cb8('0x6d'),_0x1cb8('0x6f')],'where':_0xe2c1b8,'transaction':_0x19c7ca,'lock':_0x19c7ca['LOCK'][_0x1cb8('0x77')],'include':[{'model':db['CmContact'],'as':_0x1cb8('0x78'),'attributes':_0xafc24b,'include':[{'model':db[_0x1cb8('0x79')],'as':_0x1cb8('0x71'),'attributes':['id','name']}]},{'model':db[_0x1cb8('0x72')],'as':_0x1cb8('0x7a'),'attributes':['id','name']},{'model':db['VoiceQueue'],'as':_0x1cb8('0x73'),'attributes':['id',_0x1cb8('0xd'),'dialActive']}]})[_0x1cb8('0x37')](function(_0x257156){if(_0x257156){return _0x257156[_0x1cb8('0xa')]({'UserId':_0xd1ee6d},{'transaction':_0x19c7ca});}});});})[_0x1cb8('0x37')](handleEntityNotFound(_0x279a03,null))[_0x1cb8('0x37')](respondWithResult(_0x279a03,null))[_0x1cb8('0x3d')](handleError(_0x279a03,null));};exports[_0x1cb8('0x7b')]=function(_0x4eb044,_0x438d49){return _0x4eb044['user']['getVoiceQueues']({'where':{'type':'outbound','dialActive':!![],'dialMethod':_0x1cb8('0x5f')},'attributes':['id'],'raw':!![]})[_0x1cb8('0x37')](function(_0x4ab060){if(_0x4ab060&&_0x4ab060[_0x1cb8('0x2e')]){return db[_0x1cb8('0x11')][_0x1cb8('0x8')]({'where':{'active':![],'recallme':![],'scheduledAt':{'$lte':moment()['format']('YYYY-MM-DD\x20HH:mm:ss')},'VoiceQueueId':{'$in':_[_0x1cb8('0x10')](_0x4ab060,'id')},'$or':[{'UserId':null},{'UserId':_0x4eb044['user']['id']}]}});}return 0x0;})[_0x1cb8('0x37')](function(_0x3ec1ce){if(!_[_0x1cb8('0x56')](_0x3ec1ce)&&_['isNumber'](_0x3ec1ce)){return _0x438d49['status'](0xc8)[_0x1cb8('0x4')]({'contacts':_0x3ec1ce});}else{logger['error'](_0x1cb8('0x7c'),_0x1cb8('0x7b'),0x194,_0x1cb8('0x7d'));_0x438d49[_0x1cb8('0xb')](0x194);}})[_0x1cb8('0x3d')](handleError(_0x438d49,null));};exports[_0x1cb8('0x7e')]=function(_0x111011,_0x2f22cd){var _0x99de73=shared[_0x1cb8('0x7f')];var _0x255cec=[];_[_0x1cb8('0x10')](_0x99de73,function(_0xdb3ec3){_0x255cec['push']({'id':_0xdb3ec3['name'],'name':_0xdb3ec3[_0x1cb8('0xd')],'utcOffset':_0xdb3ec3[_0x1cb8('0x80')]});});return _0x2f22cd[_0x1cb8('0x3')](0xc8)[_0x1cb8('0x4')]({'tz':_0x255cec});};exports['getTimezone']=function(_0x745acb,_0x1e343c){var _0x4b48a6=shared[_0x1cb8('0x7f')];var _0x157290={};if(!_['isNil'](_0x4b48a6[_0x745acb[_0x1cb8('0x3f')]['id']]))_0x157290=_0x4b48a6[_0x745acb[_0x1cb8('0x3f')]['id']];return _0x1e343c[_0x1cb8('0x3')](0xc8)[_0x1cb8('0x4')](_0x157290);};