Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / analyticTreeReport / analyticTreeReport.controller.js
index 56dd075..bdc39a7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbaf0=['crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','sendStatus','end','status','json','count','offset','set','Content-Range','reject','save','update','then','destroy','error','stack','name','send','index','map','AnalyticTreeReport','fieldName','key','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','limit','order','sort','where','filters','pick','filter','merge','type','options','includeAll','findAll','rows','catch','show','rawAttributes','include','find','create','body','params','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','squel'];(function(_0x1e4150,_0x55b02a){var _0x1ce3ee=function(_0x59324e){while(--_0x59324e){_0x1e4150['push'](_0x1e4150['shift']());}};_0x1ce3ee(++_0x55b02a);}(_0xbaf0,0x12a));var _0x0baf=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0xbaf0[_0x5b644e];return _0x49c6bf;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x0baf('0x0'));var rimraf=require(_0x0baf('0x1'));var zipdir=require(_0x0baf('0x2'));var jsonpatch=require(_0x0baf('0x3'));var rp=require(_0x0baf('0x4'));var moment=require(_0x0baf('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x0baf('0x6'));var util=require(_0x0baf('0x7'));var path=require(_0x0baf('0x8'));var sox=require(_0x0baf('0x9'));var csv=require(_0x0baf('0xa'));var ejs=require(_0x0baf('0xb'));var fs=require('fs');var _=require(_0x0baf('0xc'));var squel=require(_0x0baf('0xd'));var crypto=require(_0x0baf('0xe'));var jsforce=require('jsforce');var deskjs=require(_0x0baf('0xf'));var toCsv=require('to-csv');var querystring=require(_0x0baf('0x10'));var Papa=require(_0x0baf('0x11'));var Redis=require(_0x0baf('0x12'));var authService=require(_0x0baf('0x13'));var qs=require(_0x0baf('0x14'));var as=require(_0x0baf('0x15'));var hardwareService=require(_0x0baf('0x16'));var logger=require(_0x0baf('0x17'))(_0x0baf('0x18'));var utils=require(_0x0baf('0x19'));var config=require(_0x0baf('0x1a'));var licenseUtil=require('../../config/license/util');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x465dd7,_0xe4378c){_0xe4378c=_0xe4378c||0xcc;return function(_0x5db689){if(_0x5db689){return _0x465dd7[_0x0baf('0x1b')](_0xe4378c);}return _0x465dd7['status'](_0xe4378c)[_0x0baf('0x1c')]();};}function respondWithResult(_0x49e44b,_0x1c76a8){_0x1c76a8=_0x1c76a8||0xc8;return function(_0x1f50c3){if(_0x1f50c3){return _0x49e44b[_0x0baf('0x1d')](_0x1c76a8)[_0x0baf('0x1e')](_0x1f50c3);}};}function respondWithFilteredResult(_0xb8339e,_0x469599){return function(_0x4f80a8){if(_0x4f80a8){var _0x4cd79d=_0x4f80a8[_0x0baf('0x1f')],_0x2312c7=_0x469599[_0x0baf('0x20')],_0x38395b=_0x469599[_0x0baf('0x20')]+_0x469599['limit'],_0x283408;if(_0x38395b>=_0x4cd79d){_0x38395b=_0x4cd79d;_0x283408=0xc8;}else{_0x283408=0xce;}_0xb8339e[_0x0baf('0x1d')](_0x283408);return _0xb8339e[_0x0baf('0x21')](_0x0baf('0x22'),_0x2312c7+'-'+_0x38395b+'/'+_0x4cd79d)[_0x0baf('0x1e')](_0x4f80a8);}return null;};}function patchUpdates(_0x47070d){return function(_0x42b7f2){try{jsonpatch['apply'](_0x42b7f2,_0x47070d,!![]);}catch(_0x5cff5d){return BPromise[_0x0baf('0x23')](_0x5cff5d);}return _0x42b7f2[_0x0baf('0x24')]();};}function saveUpdates(_0x32e839,_0x1848e8){return function(_0x1fa92b){if(_0x1fa92b){return _0x1fa92b[_0x0baf('0x25')](_0x32e839)[_0x0baf('0x26')](function(_0x636a13){return _0x636a13;});}return null;};}function removeEntity(_0x2c42e2,_0x15a2c3){return function(_0x54f2fa){if(_0x54f2fa){return _0x54f2fa[_0x0baf('0x27')]()['then'](function(){_0x2c42e2[_0x0baf('0x1d')](0xcc)['end']();});}};}function handleEntityNotFound(_0x4de74c,_0x2ef0aa){return function(_0x48a0e9){if(!_0x48a0e9){_0x4de74c['sendStatus'](0x194);}return _0x48a0e9;};}function handleError(_0x47c4b,_0x27b59c){_0x27b59c=_0x27b59c||0x1f4;return function(_0x34e264){logger[_0x0baf('0x28')](_0x34e264[_0x0baf('0x29')]);if(_0x34e264['name']){delete _0x34e264[_0x0baf('0x2a')];}_0x47c4b[_0x0baf('0x1d')](_0x27b59c)[_0x0baf('0x2b')](_0x34e264);};}exports[_0x0baf('0x2c')]=function(_0x3843b8,_0x3b9b31){var _0x453525={},_0x549fd0={},_0x1590b4={'count':0x0,'rows':[]};var _0x393a5a=_[_0x0baf('0x2d')](db[_0x0baf('0x2e')]['rawAttributes'],function(_0x29dbdf){return{'name':_0x29dbdf[_0x0baf('0x2f')],'type':_0x29dbdf['type'][_0x0baf('0x30')]};});_0x549fd0[_0x0baf('0x31')]=_[_0x0baf('0x2d')](_0x393a5a,_0x0baf('0x2a'));_0x549fd0[_0x0baf('0x32')]=_[_0x0baf('0x33')](_0x3843b8[_0x0baf('0x32')]);_0x549fd0['filters']=_[_0x0baf('0x34')](_0x549fd0[_0x0baf('0x31')],_0x549fd0[_0x0baf('0x32')]);_0x453525[_0x0baf('0x35')]=_[_0x0baf('0x34')](_0x549fd0[_0x0baf('0x31')],qs[_0x0baf('0x36')](_0x3843b8[_0x0baf('0x32')][_0x0baf('0x36')]));_0x453525[_0x0baf('0x35')]=_0x453525[_0x0baf('0x35')][_0x0baf('0x37')]?_0x453525[_0x0baf('0x35')]:_0x549fd0[_0x0baf('0x31')];if(!_0x3843b8['query'][_0x0baf('0x38')]('nolimit')){_0x453525[_0x0baf('0x39')]=qs[_0x0baf('0x39')](_0x3843b8[_0x0baf('0x32')][_0x0baf('0x39')]);_0x453525['offset']=qs[_0x0baf('0x20')](_0x3843b8[_0x0baf('0x32')]['offset']);}_0x453525[_0x0baf('0x3a')]=qs[_0x0baf('0x3b')](_0x3843b8[_0x0baf('0x32')][_0x0baf('0x3b')]);_0x453525[_0x0baf('0x3c')]=qs[_0x0baf('0x3d')](_[_0x0baf('0x3e')](_0x3843b8[_0x0baf('0x32')],_0x549fd0['filters']),_0x393a5a);if(_0x3843b8[_0x0baf('0x32')][_0x0baf('0x3f')]){_0x453525['where']=_[_0x0baf('0x40')](_0x453525['where'],{'$or':_['map'](_0x393a5a,function(_0x11bc49){if(_0x11bc49[_0x0baf('0x41')]!=='VIRTUAL'){var _0x49e792={};_0x49e792[_0x11bc49[_0x0baf('0x2a')]]={'$like':'%'+_0x3843b8[_0x0baf('0x32')][_0x0baf('0x3f')]+'%'};return _0x49e792;}})});}_0x453525=_[_0x0baf('0x40')]({},_0x453525,_0x3843b8[_0x0baf('0x42')]);var _0x2028ad={'where':_0x453525[_0x0baf('0x3c')]};return db[_0x0baf('0x2e')][_0x0baf('0x1f')](_0x2028ad)[_0x0baf('0x26')](function(_0x200864){_0x1590b4[_0x0baf('0x1f')]=_0x200864;if(_0x3843b8[_0x0baf('0x32')][_0x0baf('0x43')]){_0x453525['include']=[{'all':!![]}];}return db[_0x0baf('0x2e')][_0x0baf('0x44')](_0x453525);})['then'](function(_0x38006a){_0x1590b4[_0x0baf('0x45')]=_0x38006a;return _0x1590b4;})[_0x0baf('0x26')](respondWithFilteredResult(_0x3b9b31,_0x453525))[_0x0baf('0x46')](handleError(_0x3b9b31,null));};exports[_0x0baf('0x47')]=function(_0x456d0b,_0x57b581){var _0x23ad34={'raw':!![],'where':{'id':_0x456d0b['params']['id']}},_0x465361={};_0x465361[_0x0baf('0x31')]=_[_0x0baf('0x33')](db[_0x0baf('0x2e')][_0x0baf('0x48')]);_0x465361['query']=_[_0x0baf('0x33')](_0x456d0b[_0x0baf('0x32')]);_0x465361[_0x0baf('0x3d')]=_[_0x0baf('0x34')](_0x465361[_0x0baf('0x31')],_0x465361[_0x0baf('0x32')]);_0x23ad34[_0x0baf('0x35')]=_[_0x0baf('0x34')](_0x465361[_0x0baf('0x31')],qs[_0x0baf('0x36')](_0x456d0b['query'][_0x0baf('0x36')]));_0x23ad34[_0x0baf('0x35')]=_0x23ad34[_0x0baf('0x35')][_0x0baf('0x37')]?_0x23ad34[_0x0baf('0x35')]:_0x465361['model'];if(_0x456d0b[_0x0baf('0x32')][_0x0baf('0x43')]){_0x23ad34[_0x0baf('0x49')]=[{'all':!![]}];}_0x23ad34=_[_0x0baf('0x40')]({},_0x23ad34,_0x456d0b[_0x0baf('0x42')]);return db['AnalyticTreeReport'][_0x0baf('0x4a')](_0x23ad34)[_0x0baf('0x26')](handleEntityNotFound(_0x57b581,null))[_0x0baf('0x26')](respondWithResult(_0x57b581,null))[_0x0baf('0x46')](handleError(_0x57b581,null));};exports[_0x0baf('0x4b')]=function(_0x22d10f,_0x178995){return db['AnalyticTreeReport'][_0x0baf('0x4b')](_0x22d10f[_0x0baf('0x4c')],{})[_0x0baf('0x26')](respondWithResult(_0x178995,0xc9))['catch'](handleError(_0x178995,null));};exports[_0x0baf('0x25')]=function(_0x2222b6,_0x10fa62){if(_0x2222b6[_0x0baf('0x4c')]['id']){delete _0x2222b6[_0x0baf('0x4c')]['id'];}return db[_0x0baf('0x2e')][_0x0baf('0x4a')]({'where':{'id':_0x2222b6['params']['id']}})[_0x0baf('0x26')](handleEntityNotFound(_0x10fa62,null))[_0x0baf('0x26')](saveUpdates(_0x2222b6[_0x0baf('0x4c')],null))[_0x0baf('0x26')](respondWithResult(_0x10fa62,null))[_0x0baf('0x46')](handleError(_0x10fa62,null));};exports[_0x0baf('0x27')]=function(_0x40d4a6,_0x1af4aa){return db[_0x0baf('0x2e')][_0x0baf('0x4a')]({'where':{'id':_0x40d4a6[_0x0baf('0x4d')]['id']}})['then'](handleEntityNotFound(_0x1af4aa,null))['then'](removeEntity(_0x1af4aa,null))[_0x0baf('0x46')](handleError(_0x1af4aa,null));};
\ No newline at end of file
+var _0x5f93=['reject','save','update','then','destroy','end','error','stack','name','index','AnalyticTreeReport','rawAttributes','fieldName','type','key','keys','query','intersection','model','attributes','fields','length','hasOwnProperty','order','sort','where','filters','pick','map','filter','merge','includeAll','include','findAll','rows','catch','params','options','find','create','body','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','status','json','offset','undefined','count','limit','set','apply'];(function(_0x4e7e03,_0x5b0f86){var _0x50b732=function(_0x170c2c){while(--_0x170c2c){_0x4e7e03['push'](_0x4e7e03['shift']());}};_0x50b732(++_0x5b0f86);}(_0x5f93,0x10d));var _0x35f9=function(_0x5e3e18,_0xd16a93){_0x5e3e18=_0x5e3e18-0x0;var _0x2502b2=_0x5f93[_0x5e3e18];return _0x2502b2;};'use strict';var emlformat=require(_0x35f9('0x0'));var rimraf=require(_0x35f9('0x1'));var zipdir=require(_0x35f9('0x2'));var jsonpatch=require(_0x35f9('0x3'));var rp=require(_0x35f9('0x4'));var moment=require(_0x35f9('0x5'));var BPromise=require(_0x35f9('0x6'));var Mustache=require('mustache');var util=require(_0x35f9('0x7'));var path=require('path');var sox=require(_0x35f9('0x8'));var csv=require(_0x35f9('0x9'));var ejs=require(_0x35f9('0xa'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x35f9('0xb'));var squel=require('squel');var crypto=require(_0x35f9('0xc'));var jsforce=require(_0x35f9('0xd'));var deskjs=require(_0x35f9('0xe'));var toCsv=require('to-csv');var querystring=require(_0x35f9('0xf'));var Papa=require(_0x35f9('0x10'));var Redis=require(_0x35f9('0x11'));var authService=require(_0x35f9('0x12'));var qs=require(_0x35f9('0x13'));var as=require(_0x35f9('0x14'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x35f9('0x15'))(_0x35f9('0x16'));var utils=require(_0x35f9('0x17'));var config=require('../../config/environment');var licenseUtil=require(_0x35f9('0x18'));var db=require(_0x35f9('0x19'))['db'];function respondWithStatusCode(_0x5656f4,_0x2d960b){_0x2d960b=_0x2d960b||0xcc;return function(_0xa5c57f){if(_0xa5c57f){return _0x5656f4[_0x35f9('0x1a')](_0x2d960b);}return _0x5656f4['status'](_0x2d960b)['end']();};}function respondWithResult(_0x2d2896,_0x215272){_0x215272=_0x215272||0xc8;return function(_0xe60b2c){if(_0xe60b2c){return _0x2d2896[_0x35f9('0x1b')](_0x215272)[_0x35f9('0x1c')](_0xe60b2c);}};}function respondWithFilteredResult(_0xb58759,_0xabebb5){return function(_0x3220f8){if(_0x3220f8){var _0xcb0c8d=typeof _0xabebb5[_0x35f9('0x1d')]===_0x35f9('0x1e')&&typeof _0xabebb5['limit']===_0x35f9('0x1e');var _0x15631e=_0x3220f8[_0x35f9('0x1f')];var _0x172718=_0xcb0c8d?0x0:_0xabebb5[_0x35f9('0x1d')];var _0x42ad48=_0xcb0c8d?_0x3220f8[_0x35f9('0x1f')]:_0xabebb5[_0x35f9('0x1d')]+_0xabebb5[_0x35f9('0x20')];var _0x5b7a62;if(_0x42ad48>=_0x15631e){_0x42ad48=_0x15631e;_0x5b7a62=0xc8;}else{_0x5b7a62=0xce;}_0xb58759['status'](_0x5b7a62);return _0xb58759[_0x35f9('0x21')]('Content-Range',_0x172718+'-'+_0x42ad48+'/'+_0x15631e)['json'](_0x3220f8);}return null;};}function patchUpdates(_0x5af511){return function(_0x5e0a36){try{jsonpatch[_0x35f9('0x22')](_0x5e0a36,_0x5af511,!![]);}catch(_0x4c6c4b){return BPromise[_0x35f9('0x23')](_0x4c6c4b);}return _0x5e0a36[_0x35f9('0x24')]();};}function saveUpdates(_0x32effc,_0x3e33e0){return function(_0x4f4165){if(_0x4f4165){return _0x4f4165[_0x35f9('0x25')](_0x32effc)[_0x35f9('0x26')](function(_0x58ccbe){return _0x58ccbe;});}return null;};}function removeEntity(_0xa06b49,_0x53c33a){return function(_0x48f98b){if(_0x48f98b){return _0x48f98b[_0x35f9('0x27')]()[_0x35f9('0x26')](function(){_0xa06b49[_0x35f9('0x1b')](0xcc)[_0x35f9('0x28')]();});}};}function handleEntityNotFound(_0x5bfe29,_0x51c4b4){return function(_0x76ca49){if(!_0x76ca49){_0x5bfe29[_0x35f9('0x1a')](0x194);}return _0x76ca49;};}function handleError(_0x383625,_0x37d273){_0x37d273=_0x37d273||0x1f4;return function(_0x27b5e7){logger[_0x35f9('0x29')](_0x27b5e7[_0x35f9('0x2a')]);if(_0x27b5e7[_0x35f9('0x2b')]){delete _0x27b5e7[_0x35f9('0x2b')];}_0x383625['status'](_0x37d273)['send'](_0x27b5e7);};}exports[_0x35f9('0x2c')]=function(_0x591461,_0x2fdb4c){var _0x4293d0={},_0x324f93={},_0x5049d6={'count':0x0,'rows':[]};var _0x2831d6=_['map'](db[_0x35f9('0x2d')][_0x35f9('0x2e')],function(_0x4ed1de){return{'name':_0x4ed1de[_0x35f9('0x2f')],'type':_0x4ed1de[_0x35f9('0x30')][_0x35f9('0x31')]};});_0x324f93['model']=_['map'](_0x2831d6,'name');_0x324f93['query']=_[_0x35f9('0x32')](_0x591461[_0x35f9('0x33')]);_0x324f93['filters']=_[_0x35f9('0x34')](_0x324f93[_0x35f9('0x35')],_0x324f93[_0x35f9('0x33')]);_0x4293d0[_0x35f9('0x36')]=_['intersection'](_0x324f93['model'],qs[_0x35f9('0x37')](_0x591461[_0x35f9('0x33')][_0x35f9('0x37')]));_0x4293d0[_0x35f9('0x36')]=_0x4293d0[_0x35f9('0x36')][_0x35f9('0x38')]?_0x4293d0[_0x35f9('0x36')]:_0x324f93[_0x35f9('0x35')];if(!_0x591461[_0x35f9('0x33')][_0x35f9('0x39')]('nolimit')){_0x4293d0[_0x35f9('0x20')]=qs[_0x35f9('0x20')](_0x591461['query'][_0x35f9('0x20')]);_0x4293d0['offset']=qs[_0x35f9('0x1d')](_0x591461[_0x35f9('0x33')][_0x35f9('0x1d')]);}_0x4293d0[_0x35f9('0x3a')]=qs[_0x35f9('0x3b')](_0x591461[_0x35f9('0x33')][_0x35f9('0x3b')]);_0x4293d0[_0x35f9('0x3c')]=qs[_0x35f9('0x3d')](_[_0x35f9('0x3e')](_0x591461[_0x35f9('0x33')],_0x324f93[_0x35f9('0x3d')]),_0x2831d6);if(_0x591461[_0x35f9('0x33')]['filter']){_0x4293d0[_0x35f9('0x3c')]=_['merge'](_0x4293d0[_0x35f9('0x3c')],{'$or':_[_0x35f9('0x3f')](_0x2831d6,function(_0x40bc4c){if(_0x40bc4c['type']!=='VIRTUAL'){var _0x54e652={};_0x54e652[_0x40bc4c[_0x35f9('0x2b')]]={'$like':'%'+_0x591461[_0x35f9('0x33')][_0x35f9('0x40')]+'%'};return _0x54e652;}})});}_0x4293d0=_[_0x35f9('0x41')]({},_0x4293d0,_0x591461['options']);var _0xf64f19={'where':_0x4293d0['where']};return db[_0x35f9('0x2d')][_0x35f9('0x1f')](_0xf64f19)[_0x35f9('0x26')](function(_0x429da7){_0x5049d6[_0x35f9('0x1f')]=_0x429da7;if(_0x591461[_0x35f9('0x33')][_0x35f9('0x42')]){_0x4293d0[_0x35f9('0x43')]=[{'all':!![]}];}return db[_0x35f9('0x2d')][_0x35f9('0x44')](_0x4293d0);})[_0x35f9('0x26')](function(_0x9488fc){_0x5049d6[_0x35f9('0x45')]=_0x9488fc;return _0x5049d6;})[_0x35f9('0x26')](respondWithFilteredResult(_0x2fdb4c,_0x4293d0))[_0x35f9('0x46')](handleError(_0x2fdb4c,null));};exports['show']=function(_0x2f37b6,_0x44f293){var _0x53ccb7={'raw':!![],'where':{'id':_0x2f37b6[_0x35f9('0x47')]['id']}},_0x240800={};_0x240800[_0x35f9('0x35')]=_[_0x35f9('0x32')](db[_0x35f9('0x2d')]['rawAttributes']);_0x240800[_0x35f9('0x33')]=_[_0x35f9('0x32')](_0x2f37b6[_0x35f9('0x33')]);_0x240800['filters']=_[_0x35f9('0x34')](_0x240800[_0x35f9('0x35')],_0x240800[_0x35f9('0x33')]);_0x53ccb7['attributes']=_[_0x35f9('0x34')](_0x240800[_0x35f9('0x35')],qs[_0x35f9('0x37')](_0x2f37b6[_0x35f9('0x33')][_0x35f9('0x37')]));_0x53ccb7['attributes']=_0x53ccb7[_0x35f9('0x36')]['length']?_0x53ccb7[_0x35f9('0x36')]:_0x240800['model'];if(_0x2f37b6[_0x35f9('0x33')][_0x35f9('0x42')]){_0x53ccb7[_0x35f9('0x43')]=[{'all':!![]}];}_0x53ccb7=_['merge']({},_0x53ccb7,_0x2f37b6[_0x35f9('0x48')]);return db[_0x35f9('0x2d')][_0x35f9('0x49')](_0x53ccb7)[_0x35f9('0x26')](handleEntityNotFound(_0x44f293,null))[_0x35f9('0x26')](respondWithResult(_0x44f293,null))['catch'](handleError(_0x44f293,null));};exports[_0x35f9('0x4a')]=function(_0x42e93a,_0x3a02da){return db['AnalyticTreeReport']['create'](_0x42e93a['body'],{})[_0x35f9('0x26')](respondWithResult(_0x3a02da,0xc9))[_0x35f9('0x46')](handleError(_0x3a02da,null));};exports[_0x35f9('0x25')]=function(_0x4121bd,_0x450214){if(_0x4121bd[_0x35f9('0x4b')]['id']){delete _0x4121bd[_0x35f9('0x4b')]['id'];}return db['AnalyticTreeReport'][_0x35f9('0x49')]({'where':{'id':_0x4121bd[_0x35f9('0x47')]['id']}})[_0x35f9('0x26')](handleEntityNotFound(_0x450214,null))[_0x35f9('0x26')](saveUpdates(_0x4121bd['body'],null))[_0x35f9('0x26')](respondWithResult(_0x450214,null))[_0x35f9('0x46')](handleError(_0x450214,null));};exports['destroy']=function(_0x5be265,_0x5979f4){return db['AnalyticTreeReport'][_0x35f9('0x49')]({'where':{'id':_0x5be265[_0x35f9('0x47')]['id']}})['then'](handleEntityNotFound(_0x5979f4,null))[_0x35f9('0x26')](removeEntity(_0x5979f4,null))[_0x35f9('0x46')](handleError(_0x5979f4,null));};
\ No newline at end of file