Built motion from commit 9d7072cc.|2.5.39
[motion2.git] / server / api / voiceQueuesLog / voiceQueuesLog.controller.js
index 596837e..0a8bcb6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb1d3=['destroy','error','stack','name','send','index','map','VoiceQueuesLog','fieldName','type','model','query','keys','filters','intersection','fields','attributes','hasOwnProperty','limit','order','sort','where','filter','merge','VIRTUAL','includeAll','catch','show','params','rawAttributes','include','find','create','body','html-pdf','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','squel','crypto','jsforce','desk.js','ioredis','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','count','offset','set','apply','reject','save','update','then'];(function(_0x39d656,_0x448264){var _0x2d9348=function(_0x524e87){while(--_0x524e87){_0x39d656['push'](_0x39d656['shift']());}};_0x2d9348(++_0x448264);}(_0xb1d3,0xe8));var _0x3b1d=function(_0x4a49d4,_0x219209){_0x4a49d4=_0x4a49d4-0x0;var _0x20c7a6=_0xb1d3[_0x4a49d4];return _0x20c7a6;};'use strict';var pdf=require(_0x3b1d('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0x3b1d('0x1'));var rp=require(_0x3b1d('0x2'));var moment=require(_0x3b1d('0x3'));var BPromise=require(_0x3b1d('0x4'));var Mustache=require('mustache');var util=require(_0x3b1d('0x5'));var path=require(_0x3b1d('0x6'));var sox=require(_0x3b1d('0x7'));var csv=require(_0x3b1d('0x8'));var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require(_0x3b1d('0x9'));var crypto=require(_0x3b1d('0xa'));var jsforce=require(_0x3b1d('0xb'));var deskjs=require(_0x3b1d('0xc'));var toCsv=require(_0x3b1d('0x8'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x3b1d('0xd'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x3b1d('0xe'))(_0x3b1d('0xf'));var utils=require(_0x3b1d('0x10'));var config=require(_0x3b1d('0x11'));var licenseUtil=require(_0x3b1d('0x12'));var db=require(_0x3b1d('0x13'))['db'];function respondWithStatusCode(_0x404f03,_0x44b011){_0x44b011=_0x44b011||0xcc;return function(_0x2886d5){if(_0x2886d5){return _0x404f03[_0x3b1d('0x14')](_0x44b011);}return _0x404f03[_0x3b1d('0x15')](_0x44b011)[_0x3b1d('0x16')]();};}function respondWithResult(_0x3cc04b,_0x4b6108){_0x4b6108=_0x4b6108||0xc8;return function(_0x55225a){if(_0x55225a){return _0x3cc04b['status'](_0x4b6108)[_0x3b1d('0x17')](_0x55225a);}};}function respondWithFilteredResult(_0x7f639d,_0x12b960){return function(_0x2ebcae){if(_0x2ebcae){var _0x108c1f=_0x2ebcae[_0x3b1d('0x18')],_0xe9e6a8=_0x12b960[_0x3b1d('0x19')],_0x49b5aa=_0x12b960[_0x3b1d('0x19')]+_0x12b960['limit'],_0x511806;if(_0x49b5aa>=_0x108c1f){_0x49b5aa=_0x108c1f;_0x511806=0xc8;}else{_0x511806=0xce;}_0x7f639d['status'](_0x511806);return _0x7f639d[_0x3b1d('0x1a')]('Content-Range',_0xe9e6a8+'-'+_0x49b5aa+'/'+_0x108c1f)['json'](_0x2ebcae);}return null;};}function patchUpdates(_0x1ae608){return function(_0x455b74){try{jsonpatch[_0x3b1d('0x1b')](_0x455b74,_0x1ae608,!![]);}catch(_0x6e80b){return BPromise[_0x3b1d('0x1c')](_0x6e80b);}return _0x455b74[_0x3b1d('0x1d')]();};}function saveUpdates(_0x602d8e,_0x4c5da8){return function(_0x5637e5){if(_0x5637e5){return _0x5637e5[_0x3b1d('0x1e')](_0x602d8e)[_0x3b1d('0x1f')](function(_0x323047){return _0x323047;});}return null;};}function removeEntity(_0xd4aa8f,_0x1aeb1d){return function(_0x5940af){if(_0x5940af){return _0x5940af[_0x3b1d('0x20')]()[_0x3b1d('0x1f')](function(){_0xd4aa8f[_0x3b1d('0x15')](0xcc)['end']();});}};}function handleEntityNotFound(_0x555229,_0x4d3e9d){return function(_0x394ae5){if(!_0x394ae5){_0x555229[_0x3b1d('0x14')](0x194);}return _0x394ae5;};}function handleError(_0x44836b,_0x356709){_0x356709=_0x356709||0x1f4;return function(_0x5a72a2){logger[_0x3b1d('0x21')](_0x5a72a2[_0x3b1d('0x22')]);if(_0x5a72a2[_0x3b1d('0x23')]){delete _0x5a72a2[_0x3b1d('0x23')];}_0x44836b[_0x3b1d('0x15')](_0x356709)[_0x3b1d('0x24')](_0x5a72a2);};}exports[_0x3b1d('0x25')]=function(_0x58dde9,_0x403702){var _0x45e596={},_0x1794c5={},_0xea77a5={'count':0x0,'rows':[]};var _0x1dc271=_[_0x3b1d('0x26')](db[_0x3b1d('0x27')]['rawAttributes'],function(_0x36d8ba){return{'name':_0x36d8ba[_0x3b1d('0x28')],'type':_0x36d8ba[_0x3b1d('0x29')]['key']};});_0x1794c5[_0x3b1d('0x2a')]=_[_0x3b1d('0x26')](_0x1dc271,_0x3b1d('0x23'));_0x1794c5[_0x3b1d('0x2b')]=_[_0x3b1d('0x2c')](_0x58dde9['query']);_0x1794c5[_0x3b1d('0x2d')]=_[_0x3b1d('0x2e')](_0x1794c5[_0x3b1d('0x2a')],_0x1794c5[_0x3b1d('0x2b')]);_0x45e596['attributes']=_[_0x3b1d('0x2e')](_0x1794c5['model'],qs[_0x3b1d('0x2f')](_0x58dde9[_0x3b1d('0x2b')][_0x3b1d('0x2f')]));_0x45e596[_0x3b1d('0x30')]=_0x45e596[_0x3b1d('0x30')]['length']?_0x45e596[_0x3b1d('0x30')]:_0x1794c5['model'];if(!_0x58dde9[_0x3b1d('0x2b')][_0x3b1d('0x31')]('nolimit')){_0x45e596['limit']=qs[_0x3b1d('0x32')](_0x58dde9[_0x3b1d('0x2b')][_0x3b1d('0x32')]);_0x45e596[_0x3b1d('0x19')]=qs[_0x3b1d('0x19')](_0x58dde9[_0x3b1d('0x2b')][_0x3b1d('0x19')]);}_0x45e596[_0x3b1d('0x33')]=qs[_0x3b1d('0x34')](_0x58dde9[_0x3b1d('0x2b')][_0x3b1d('0x34')]);_0x45e596[_0x3b1d('0x35')]=qs[_0x3b1d('0x2d')](_['pick'](_0x58dde9[_0x3b1d('0x2b')],_0x1794c5[_0x3b1d('0x2d')]),_0x1dc271);if(_0x58dde9[_0x3b1d('0x2b')][_0x3b1d('0x36')]){_0x45e596[_0x3b1d('0x35')]=_[_0x3b1d('0x37')](_0x45e596['where'],{'$or':_[_0x3b1d('0x26')](_0x1dc271,function(_0xb26683){if(_0xb26683[_0x3b1d('0x29')]!==_0x3b1d('0x38')){var _0x12db42={};_0x12db42[_0xb26683[_0x3b1d('0x23')]]={'$like':'%'+_0x58dde9['query'][_0x3b1d('0x36')]+'%'};return _0x12db42;}})});}_0x45e596=_[_0x3b1d('0x37')]({},_0x45e596,_0x58dde9['options']);var _0x59fb19={'where':_0x45e596['where']};return db[_0x3b1d('0x27')][_0x3b1d('0x18')](_0x59fb19)[_0x3b1d('0x1f')](function(_0xd7b25a){_0xea77a5[_0x3b1d('0x18')]=_0xd7b25a;if(_0x58dde9[_0x3b1d('0x2b')][_0x3b1d('0x39')]){_0x45e596['include']=[{'all':!![]}];}return db[_0x3b1d('0x27')]['findAll'](_0x45e596);})[_0x3b1d('0x1f')](function(_0x39f0cb){_0xea77a5['rows']=_0x39f0cb;return _0xea77a5;})['then'](respondWithFilteredResult(_0x403702,_0x45e596))[_0x3b1d('0x3a')](handleError(_0x403702,null));};exports[_0x3b1d('0x3b')]=function(_0x18fa61,_0x14fbf4){var _0x138fce={'raw':!![],'where':{'id':_0x18fa61[_0x3b1d('0x3c')]['id']}},_0x5bc244={};_0x5bc244['model']=_[_0x3b1d('0x2c')](db[_0x3b1d('0x27')][_0x3b1d('0x3d')]);_0x5bc244[_0x3b1d('0x2b')]=_[_0x3b1d('0x2c')](_0x18fa61[_0x3b1d('0x2b')]);_0x5bc244[_0x3b1d('0x2d')]=_['intersection'](_0x5bc244[_0x3b1d('0x2a')],_0x5bc244[_0x3b1d('0x2b')]);_0x138fce[_0x3b1d('0x30')]=_[_0x3b1d('0x2e')](_0x5bc244['model'],qs['fields'](_0x18fa61['query'][_0x3b1d('0x2f')]));_0x138fce[_0x3b1d('0x30')]=_0x138fce['attributes']['length']?_0x138fce[_0x3b1d('0x30')]:_0x5bc244[_0x3b1d('0x2a')];if(_0x18fa61[_0x3b1d('0x2b')][_0x3b1d('0x39')]){_0x138fce[_0x3b1d('0x3e')]=[{'all':!![]}];}_0x138fce=_[_0x3b1d('0x37')]({},_0x138fce,_0x18fa61['options']);return db['VoiceQueuesLog'][_0x3b1d('0x3f')](_0x138fce)['then'](handleEntityNotFound(_0x14fbf4,null))[_0x3b1d('0x1f')](respondWithResult(_0x14fbf4,null))[_0x3b1d('0x3a')](handleError(_0x14fbf4,null));};exports[_0x3b1d('0x40')]=function(_0x396490,_0x3fece4){return db['VoiceQueuesLog'][_0x3b1d('0x40')](_0x396490[_0x3b1d('0x41')],{})[_0x3b1d('0x1f')](respondWithResult(_0x3fece4,0xc9))[_0x3b1d('0x3a')](handleError(_0x3fece4,null));};exports[_0x3b1d('0x1e')]=function(_0x15a692,_0x42c9d6){if(_0x15a692['body']['id']){delete _0x15a692[_0x3b1d('0x41')]['id'];}return db[_0x3b1d('0x27')][_0x3b1d('0x3f')]({'where':{'id':_0x15a692[_0x3b1d('0x3c')]['id']}})[_0x3b1d('0x1f')](handleEntityNotFound(_0x42c9d6,null))[_0x3b1d('0x1f')](saveUpdates(_0x15a692[_0x3b1d('0x41')],null))[_0x3b1d('0x1f')](respondWithResult(_0x42c9d6,null))['catch'](handleError(_0x42c9d6,null));};exports[_0x3b1d('0x20')]=function(_0x2f318d,_0x45e6c9){return db[_0x3b1d('0x27')][_0x3b1d('0x3f')]({'where':{'id':_0x2f318d[_0x3b1d('0x3c')]['id']}})['then'](handleEntityNotFound(_0x45e6c9,null))[_0x3b1d('0x1f')](removeEntity(_0x45e6c9,null))['catch'](handleError(_0x45e6c9,null));};
\ No newline at end of file
+var _0xcad1=['fields','nolimit','sort','filter','where','merge','options','count','includeAll','include','findAll','catch','length','find','create','body','update','params','eml-format','rimraf','zip-dir','fast-json-patch','bluebird','util','sox','to-csv','ejs','lodash','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json','offset','undefined','limit','set','Content-Range','apply','reject','save','destroy','then','end','error','stack','name','send','map','VoiceQueuesLog','rawAttributes','type','key','model','query','keys','filters','attributes','intersection'];(function(_0x1e7667,_0x27be67){var _0x4a5837=function(_0x539287){while(--_0x539287){_0x1e7667['push'](_0x1e7667['shift']());}};_0x4a5837(++_0x27be67);}(_0xcad1,0xe4));var _0x1cad=function(_0x32cff7,_0x2952d6){_0x32cff7=_0x32cff7-0x0;var _0x50e237=_0xcad1[_0x32cff7];return _0x50e237;};'use strict';var emlformat=require(_0x1cad('0x0'));var rimraf=require(_0x1cad('0x1'));var zipdir=require(_0x1cad('0x2'));var jsonpatch=require(_0x1cad('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x1cad('0x4'));var Mustache=require('mustache');var util=require(_0x1cad('0x5'));var path=require('path');var sox=require(_0x1cad('0x6'));var csv=require(_0x1cad('0x7'));var ejs=require(_0x1cad('0x8'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x1cad('0x9'));var squel=require(_0x1cad('0xa'));var crypto=require(_0x1cad('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x1cad('0xc'));var toCsv=require(_0x1cad('0x7'));var querystring=require(_0x1cad('0xd'));var Papa=require(_0x1cad('0xe'));var Redis=require(_0x1cad('0xf'));var authService=require(_0x1cad('0x10'));var qs=require(_0x1cad('0x11'));var as=require(_0x1cad('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x1cad('0x13'));var utils=require(_0x1cad('0x14'));var config=require(_0x1cad('0x15'));var licenseUtil=require('../../config/license/util');var db=require(_0x1cad('0x16'))['db'];function respondWithStatusCode(_0x54488b,_0x483281){_0x483281=_0x483281||0xcc;return function(_0x279e16){if(_0x279e16){return _0x54488b[_0x1cad('0x17')](_0x483281);}return _0x54488b[_0x1cad('0x18')](_0x483281)['end']();};}function respondWithResult(_0x261f81,_0x3022f9){_0x3022f9=_0x3022f9||0xc8;return function(_0xda54b3){if(_0xda54b3){return _0x261f81[_0x1cad('0x18')](_0x3022f9)[_0x1cad('0x19')](_0xda54b3);}};}function respondWithFilteredResult(_0x2cd87a,_0x208fc5){return function(_0x19c5c2){if(_0x19c5c2){var _0x112db9=typeof _0x208fc5[_0x1cad('0x1a')]===_0x1cad('0x1b')&&typeof _0x208fc5[_0x1cad('0x1c')]===_0x1cad('0x1b');var _0x5b2c5b=_0x19c5c2['count'];var _0x5ae7f3=_0x112db9?0x0:_0x208fc5[_0x1cad('0x1a')];var _0x5c35a8=_0x112db9?_0x19c5c2['count']:_0x208fc5['offset']+_0x208fc5[_0x1cad('0x1c')];var _0x41c18e;if(_0x5c35a8>=_0x5b2c5b){_0x5c35a8=_0x5b2c5b;_0x41c18e=0xc8;}else{_0x41c18e=0xce;}_0x2cd87a['status'](_0x41c18e);return _0x2cd87a[_0x1cad('0x1d')](_0x1cad('0x1e'),_0x5ae7f3+'-'+_0x5c35a8+'/'+_0x5b2c5b)[_0x1cad('0x19')](_0x19c5c2);}return null;};}function patchUpdates(_0x16a7f9){return function(_0x3cd43d){try{jsonpatch[_0x1cad('0x1f')](_0x3cd43d,_0x16a7f9,!![]);}catch(_0x4385ed){return BPromise[_0x1cad('0x20')](_0x4385ed);}return _0x3cd43d[_0x1cad('0x21')]();};}function saveUpdates(_0x19dbb5,_0x41713f){return function(_0x5f24aa){if(_0x5f24aa){return _0x5f24aa['update'](_0x19dbb5)['then'](function(_0x4855b9){return _0x4855b9;});}return null;};}function removeEntity(_0x14c00c,_0x21da55){return function(_0x163276){if(_0x163276){return _0x163276[_0x1cad('0x22')]()[_0x1cad('0x23')](function(){_0x14c00c[_0x1cad('0x18')](0xcc)[_0x1cad('0x24')]();});}};}function handleEntityNotFound(_0x4080a1,_0xf0bccd){return function(_0x58465c){if(!_0x58465c){_0x4080a1[_0x1cad('0x17')](0x194);}return _0x58465c;};}function handleError(_0x3d4927,_0x1e3e9d){_0x1e3e9d=_0x1e3e9d||0x1f4;return function(_0x20d9aa){logger[_0x1cad('0x25')](_0x20d9aa[_0x1cad('0x26')]);if(_0x20d9aa[_0x1cad('0x27')]){delete _0x20d9aa['name'];}_0x3d4927[_0x1cad('0x18')](_0x1e3e9d)[_0x1cad('0x28')](_0x20d9aa);};}exports['index']=function(_0xeedb8,_0x37d0b9){var _0x506c78={},_0x2bf152={},_0x55299d={'count':0x0,'rows':[]};var _0x12d4fc=_[_0x1cad('0x29')](db[_0x1cad('0x2a')][_0x1cad('0x2b')],function(_0x45a945){return{'name':_0x45a945['fieldName'],'type':_0x45a945[_0x1cad('0x2c')][_0x1cad('0x2d')]};});_0x2bf152[_0x1cad('0x2e')]=_[_0x1cad('0x29')](_0x12d4fc,_0x1cad('0x27'));_0x2bf152[_0x1cad('0x2f')]=_[_0x1cad('0x30')](_0xeedb8[_0x1cad('0x2f')]);_0x2bf152[_0x1cad('0x31')]=_['intersection'](_0x2bf152[_0x1cad('0x2e')],_0x2bf152['query']);_0x506c78[_0x1cad('0x32')]=_[_0x1cad('0x33')](_0x2bf152[_0x1cad('0x2e')],qs[_0x1cad('0x34')](_0xeedb8[_0x1cad('0x2f')][_0x1cad('0x34')]));_0x506c78[_0x1cad('0x32')]=_0x506c78[_0x1cad('0x32')]['length']?_0x506c78['attributes']:_0x2bf152[_0x1cad('0x2e')];if(!_0xeedb8['query']['hasOwnProperty'](_0x1cad('0x35'))){_0x506c78[_0x1cad('0x1c')]=qs[_0x1cad('0x1c')](_0xeedb8[_0x1cad('0x2f')][_0x1cad('0x1c')]);_0x506c78['offset']=qs[_0x1cad('0x1a')](_0xeedb8[_0x1cad('0x2f')][_0x1cad('0x1a')]);}_0x506c78['order']=qs[_0x1cad('0x36')](_0xeedb8[_0x1cad('0x2f')][_0x1cad('0x36')]);_0x506c78['where']=qs[_0x1cad('0x31')](_['pick'](_0xeedb8['query'],_0x2bf152['filters']),_0x12d4fc);if(_0xeedb8['query'][_0x1cad('0x37')]){_0x506c78[_0x1cad('0x38')]=_['merge'](_0x506c78['where'],{'$or':_[_0x1cad('0x29')](_0x12d4fc,function(_0x38c941){if(_0x38c941[_0x1cad('0x2c')]!=='VIRTUAL'){var _0x2187b3={};_0x2187b3[_0x38c941[_0x1cad('0x27')]]={'$like':'%'+_0xeedb8['query'][_0x1cad('0x37')]+'%'};return _0x2187b3;}})});}_0x506c78=_[_0x1cad('0x39')]({},_0x506c78,_0xeedb8[_0x1cad('0x3a')]);var _0x3c1173={'where':_0x506c78[_0x1cad('0x38')]};return db[_0x1cad('0x2a')]['count'](_0x3c1173)[_0x1cad('0x23')](function(_0x4ad852){_0x55299d[_0x1cad('0x3b')]=_0x4ad852;if(_0xeedb8['query'][_0x1cad('0x3c')]){_0x506c78[_0x1cad('0x3d')]=[{'all':!![]}];}return db[_0x1cad('0x2a')][_0x1cad('0x3e')](_0x506c78);})[_0x1cad('0x23')](function(_0x3afb2e){_0x55299d['rows']=_0x3afb2e;return _0x55299d;})[_0x1cad('0x23')](respondWithFilteredResult(_0x37d0b9,_0x506c78))[_0x1cad('0x3f')](handleError(_0x37d0b9,null));};exports['show']=function(_0x242e7f,_0x5340c5){var _0x1df6af={'raw':!![],'where':{'id':_0x242e7f['params']['id']}},_0x28f0f3={};_0x28f0f3[_0x1cad('0x2e')]=_['keys'](db[_0x1cad('0x2a')][_0x1cad('0x2b')]);_0x28f0f3[_0x1cad('0x2f')]=_[_0x1cad('0x30')](_0x242e7f[_0x1cad('0x2f')]);_0x28f0f3[_0x1cad('0x31')]=_['intersection'](_0x28f0f3[_0x1cad('0x2e')],_0x28f0f3[_0x1cad('0x2f')]);_0x1df6af[_0x1cad('0x32')]=_[_0x1cad('0x33')](_0x28f0f3['model'],qs['fields'](_0x242e7f['query'][_0x1cad('0x34')]));_0x1df6af[_0x1cad('0x32')]=_0x1df6af[_0x1cad('0x32')][_0x1cad('0x40')]?_0x1df6af[_0x1cad('0x32')]:_0x28f0f3[_0x1cad('0x2e')];if(_0x242e7f[_0x1cad('0x2f')][_0x1cad('0x3c')]){_0x1df6af[_0x1cad('0x3d')]=[{'all':!![]}];}_0x1df6af=_[_0x1cad('0x39')]({},_0x1df6af,_0x242e7f[_0x1cad('0x3a')]);return db[_0x1cad('0x2a')][_0x1cad('0x41')](_0x1df6af)[_0x1cad('0x23')](handleEntityNotFound(_0x5340c5,null))[_0x1cad('0x23')](respondWithResult(_0x5340c5,null))[_0x1cad('0x3f')](handleError(_0x5340c5,null));};exports[_0x1cad('0x42')]=function(_0x14f966,_0x5cc4cf){return db[_0x1cad('0x2a')][_0x1cad('0x42')](_0x14f966[_0x1cad('0x43')],{})[_0x1cad('0x23')](respondWithResult(_0x5cc4cf,0xc9))[_0x1cad('0x3f')](handleError(_0x5cc4cf,null));};exports[_0x1cad('0x44')]=function(_0x2d523e,_0x44c17c){if(_0x2d523e[_0x1cad('0x43')]['id']){delete _0x2d523e['body']['id'];}return db['VoiceQueuesLog'][_0x1cad('0x41')]({'where':{'id':_0x2d523e[_0x1cad('0x45')]['id']}})[_0x1cad('0x23')](handleEntityNotFound(_0x44c17c,null))[_0x1cad('0x23')](saveUpdates(_0x2d523e[_0x1cad('0x43')],null))['then'](respondWithResult(_0x44c17c,null))[_0x1cad('0x3f')](handleError(_0x44c17c,null));};exports[_0x1cad('0x22')]=function(_0xc5b70c,_0x433699){return db['VoiceQueuesLog'][_0x1cad('0x41')]({'where':{'id':_0xc5b70c[_0x1cad('0x45')]['id']}})['then'](handleEntityNotFound(_0x433699,null))[_0x1cad('0x23')](removeEntity(_0x433699,null))['catch'](handleError(_0x433699,null));};
\ No newline at end of file