Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / intFreshsalesField / intFreshsalesField.controller.js
index aac69be..7d141e4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe7b4=['merge','VIRTUAL','includeAll','include','findAll','then','catch','show','params','length','options','find','create','body','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','sendStatus','status','json','count','offset','limit','set','Content-Range','reject','save','update','destroy','end','error','stack','name','send','index','map','FreshsalesField','rawAttributes','fieldName','key','model','query','keys','filters','intersection','fields','attributes','hasOwnProperty','nolimit','order','where','pick','filter'];(function(_0x2ab28b,_0x5dfc33){var _0x19a65a=function(_0x2edb1b){while(--_0x2edb1b){_0x2ab28b['push'](_0x2ab28b['shift']());}};_0x19a65a(++_0x5dfc33);}(_0xe7b4,0xa4));var _0x4e7b=function(_0x8a969d,_0x339d9f){_0x8a969d=_0x8a969d-0x0;var _0x1d8dc7=_0xe7b4[_0x8a969d];return _0x1d8dc7;};'use strict';var pdf=require(_0x4e7b('0x0'));var emlformat=require(_0x4e7b('0x1'));var rimraf=require(_0x4e7b('0x2'));var zipdir=require(_0x4e7b('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x4e7b('0x4'));var moment=require(_0x4e7b('0x5'));var BPromise=require(_0x4e7b('0x6'));var Mustache=require(_0x4e7b('0x7'));var util=require('util');var path=require(_0x4e7b('0x8'));var sox=require(_0x4e7b('0x9'));var csv=require(_0x4e7b('0xa'));var ejs=require(_0x4e7b('0xb'));var fs=require('fs');var _=require(_0x4e7b('0xc'));var squel=require(_0x4e7b('0xd'));var crypto=require(_0x4e7b('0xe'));var jsforce=require(_0x4e7b('0xf'));var deskjs=require(_0x4e7b('0x10'));var toCsv=require(_0x4e7b('0xa'));var querystring=require(_0x4e7b('0x11'));var Papa=require(_0x4e7b('0x12'));var Redis=require('ioredis');var authService=require(_0x4e7b('0x13'));var qs=require(_0x4e7b('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x4e7b('0x15'));var logger=require(_0x4e7b('0x16'))('api');var utils=require(_0x4e7b('0x17'));var config=require(_0x4e7b('0x18'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x99b686,_0x4cab47){_0x4cab47=_0x4cab47||0xcc;return function(_0x44fb0a){if(_0x44fb0a){return _0x99b686[_0x4e7b('0x19')](_0x4cab47);}return _0x99b686[_0x4e7b('0x1a')](_0x4cab47)['end']();};}function respondWithResult(_0x3b7b04,_0x326f80){_0x326f80=_0x326f80||0xc8;return function(_0x4cbebe){if(_0x4cbebe){return _0x3b7b04[_0x4e7b('0x1a')](_0x326f80)[_0x4e7b('0x1b')](_0x4cbebe);}};}function respondWithFilteredResult(_0x3ac838,_0xb6b01b){return function(_0x12cbd1){if(_0x12cbd1){var _0x716daf=_0x12cbd1[_0x4e7b('0x1c')],_0x2e3cbf=_0xb6b01b[_0x4e7b('0x1d')],_0x48e878=_0xb6b01b['offset']+_0xb6b01b[_0x4e7b('0x1e')],_0x20ac8a;if(_0x48e878>=_0x716daf){_0x48e878=_0x716daf;_0x20ac8a=0xc8;}else{_0x20ac8a=0xce;}_0x3ac838[_0x4e7b('0x1a')](_0x20ac8a);return _0x3ac838[_0x4e7b('0x1f')](_0x4e7b('0x20'),_0x2e3cbf+'-'+_0x48e878+'/'+_0x716daf)['json'](_0x12cbd1);}return null;};}function patchUpdates(_0x35f072){return function(_0x2f3679){try{jsonpatch['apply'](_0x2f3679,_0x35f072,!![]);}catch(_0x1c3744){return BPromise[_0x4e7b('0x21')](_0x1c3744);}return _0x2f3679[_0x4e7b('0x22')]();};}function saveUpdates(_0x454098,_0x4c8385){return function(_0x1dad2f){if(_0x1dad2f){return _0x1dad2f[_0x4e7b('0x23')](_0x454098)['then'](function(_0x49b645){return _0x49b645;});}return null;};}function removeEntity(_0x4191ae,_0x166662){return function(_0x40450f){if(_0x40450f){return _0x40450f[_0x4e7b('0x24')]()['then'](function(){_0x4191ae[_0x4e7b('0x1a')](0xcc)[_0x4e7b('0x25')]();});}};}function handleEntityNotFound(_0x41c4b4,_0xfef3a4){return function(_0x41a7a6){if(!_0x41a7a6){_0x41c4b4[_0x4e7b('0x19')](0x194);}return _0x41a7a6;};}function handleError(_0x37a26d,_0x1d722a){_0x1d722a=_0x1d722a||0x1f4;return function(_0xd46fdc){logger[_0x4e7b('0x26')](_0xd46fdc[_0x4e7b('0x27')]);if(_0xd46fdc[_0x4e7b('0x28')]){delete _0xd46fdc[_0x4e7b('0x28')];}_0x37a26d[_0x4e7b('0x1a')](_0x1d722a)[_0x4e7b('0x29')](_0xd46fdc);};}exports[_0x4e7b('0x2a')]=function(_0x2e2226,_0x3ffc5c){var _0x4baf53={},_0x4af748={},_0x1666d0={'count':0x0,'rows':[]};var _0x1e450c=_[_0x4e7b('0x2b')](db[_0x4e7b('0x2c')][_0x4e7b('0x2d')],function(_0x1203a8){return{'name':_0x1203a8[_0x4e7b('0x2e')],'type':_0x1203a8['type'][_0x4e7b('0x2f')]};});_0x4af748[_0x4e7b('0x30')]=_[_0x4e7b('0x2b')](_0x1e450c,'name');_0x4af748[_0x4e7b('0x31')]=_[_0x4e7b('0x32')](_0x2e2226['query']);_0x4af748[_0x4e7b('0x33')]=_[_0x4e7b('0x34')](_0x4af748[_0x4e7b('0x30')],_0x4af748[_0x4e7b('0x31')]);_0x4baf53['attributes']=_[_0x4e7b('0x34')](_0x4af748[_0x4e7b('0x30')],qs['fields'](_0x2e2226['query'][_0x4e7b('0x35')]));_0x4baf53[_0x4e7b('0x36')]=_0x4baf53[_0x4e7b('0x36')]['length']?_0x4baf53[_0x4e7b('0x36')]:_0x4af748['model'];if(!_0x2e2226[_0x4e7b('0x31')][_0x4e7b('0x37')](_0x4e7b('0x38'))){_0x4baf53[_0x4e7b('0x1e')]=qs['limit'](_0x2e2226['query'][_0x4e7b('0x1e')]);_0x4baf53[_0x4e7b('0x1d')]=qs[_0x4e7b('0x1d')](_0x2e2226[_0x4e7b('0x31')][_0x4e7b('0x1d')]);}_0x4baf53[_0x4e7b('0x39')]=qs['sort'](_0x2e2226[_0x4e7b('0x31')]['sort']);_0x4baf53[_0x4e7b('0x3a')]=qs[_0x4e7b('0x33')](_[_0x4e7b('0x3b')](_0x2e2226[_0x4e7b('0x31')],_0x4af748['filters']),_0x1e450c);if(_0x2e2226[_0x4e7b('0x31')][_0x4e7b('0x3c')]){_0x4baf53[_0x4e7b('0x3a')]=_[_0x4e7b('0x3d')](_0x4baf53['where'],{'$or':_['map'](_0x1e450c,function(_0xd8fe1c){if(_0xd8fe1c['type']!==_0x4e7b('0x3e')){var _0x161633={};_0x161633[_0xd8fe1c[_0x4e7b('0x28')]]={'$like':'%'+_0x2e2226[_0x4e7b('0x31')][_0x4e7b('0x3c')]+'%'};return _0x161633;}})});}_0x4baf53=_['merge']({},_0x4baf53,_0x2e2226['options']);var _0x1a7a13={'where':_0x4baf53[_0x4e7b('0x3a')]};return db[_0x4e7b('0x2c')]['count'](_0x1a7a13)['then'](function(_0x5df5e2){_0x1666d0[_0x4e7b('0x1c')]=_0x5df5e2;if(_0x2e2226[_0x4e7b('0x31')][_0x4e7b('0x3f')]){_0x4baf53[_0x4e7b('0x40')]=[{'all':!![]}];}return db[_0x4e7b('0x2c')][_0x4e7b('0x41')](_0x4baf53);})[_0x4e7b('0x42')](function(_0x45a016){_0x1666d0['rows']=_0x45a016;return _0x1666d0;})[_0x4e7b('0x42')](respondWithFilteredResult(_0x3ffc5c,_0x4baf53))[_0x4e7b('0x43')](handleError(_0x3ffc5c,null));};exports[_0x4e7b('0x44')]=function(_0x4e2605,_0x13f29a){var _0x555ed1={'raw':!![],'where':{'id':_0x4e2605[_0x4e7b('0x45')]['id']}},_0x12fda2={};_0x12fda2[_0x4e7b('0x30')]=_[_0x4e7b('0x32')](db[_0x4e7b('0x2c')][_0x4e7b('0x2d')]);_0x12fda2['query']=_['keys'](_0x4e2605['query']);_0x12fda2[_0x4e7b('0x33')]=_[_0x4e7b('0x34')](_0x12fda2[_0x4e7b('0x30')],_0x12fda2[_0x4e7b('0x31')]);_0x555ed1['attributes']=_[_0x4e7b('0x34')](_0x12fda2[_0x4e7b('0x30')],qs[_0x4e7b('0x35')](_0x4e2605[_0x4e7b('0x31')]['fields']));_0x555ed1['attributes']=_0x555ed1['attributes'][_0x4e7b('0x46')]?_0x555ed1[_0x4e7b('0x36')]:_0x12fda2[_0x4e7b('0x30')];if(_0x4e2605[_0x4e7b('0x31')]['includeAll']){_0x555ed1[_0x4e7b('0x40')]=[{'all':!![]}];}_0x555ed1=_[_0x4e7b('0x3d')]({},_0x555ed1,_0x4e2605[_0x4e7b('0x47')]);return db['FreshsalesField'][_0x4e7b('0x48')](_0x555ed1)[_0x4e7b('0x42')](handleEntityNotFound(_0x13f29a,null))[_0x4e7b('0x42')](respondWithResult(_0x13f29a,null))[_0x4e7b('0x43')](handleError(_0x13f29a,null));};exports[_0x4e7b('0x49')]=function(_0x5cc4c6,_0x1960dc){return db[_0x4e7b('0x2c')][_0x4e7b('0x49')](_0x5cc4c6['body'],{})[_0x4e7b('0x42')](respondWithResult(_0x1960dc,0xc9))[_0x4e7b('0x43')](handleError(_0x1960dc,null));};exports[_0x4e7b('0x23')]=function(_0x459ba9,_0x664979){if(_0x459ba9[_0x4e7b('0x4a')]['id']){delete _0x459ba9[_0x4e7b('0x4a')]['id'];}return db[_0x4e7b('0x2c')][_0x4e7b('0x48')]({'where':{'id':_0x459ba9[_0x4e7b('0x45')]['id']}})[_0x4e7b('0x42')](handleEntityNotFound(_0x664979,null))['then'](saveUpdates(_0x459ba9['body'],null))[_0x4e7b('0x42')](respondWithResult(_0x664979,null))[_0x4e7b('0x43')](handleError(_0x664979,null));};exports[_0x4e7b('0x24')]=function(_0x3f49bb,_0x72e8d6){return db[_0x4e7b('0x2c')]['find']({'where':{'id':_0x3f49bb['params']['id']}})[_0x4e7b('0x42')](handleEntityNotFound(_0x72e8d6,null))[_0x4e7b('0x42')](removeEntity(_0x72e8d6,null))[_0x4e7b('0x43')](handleError(_0x72e8d6,null));};
\ No newline at end of file
+var _0xa0fe=['error','stack','name','send','index','map','rawAttributes','fieldName','model','query','keys','intersection','fields','attributes','length','hasOwnProperty','nolimit','sort','filters','pick','where','merge','options','FreshsalesField','includeAll','rows','catch','show','params','include','find','create','body','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','../../components/auth/service','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','end','json','count','offset','limit','set','Content-Range','reject','update','then','destroy','sendStatus'];(function(_0x30f07a,_0x98341){var _0xb38461=function(_0x7b287a){while(--_0x7b287a){_0x30f07a['push'](_0x30f07a['shift']());}};_0xb38461(++_0x98341);}(_0xa0fe,0x13d));var _0xea0f=function(_0x12ad72,_0x4fc1d3){_0x12ad72=_0x12ad72-0x0;var _0xe59be7=_0xa0fe[_0x12ad72];return _0xe59be7;};'use strict';var pdf=require(_0xea0f('0x0'));var emlformat=require(_0xea0f('0x1'));var rimraf=require(_0xea0f('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xea0f('0x3'));var rp=require(_0xea0f('0x4'));var moment=require(_0xea0f('0x5'));var BPromise=require(_0xea0f('0x6'));var Mustache=require(_0xea0f('0x7'));var util=require(_0xea0f('0x8'));var path=require('path');var sox=require(_0xea0f('0x9'));var csv=require(_0xea0f('0xa'));var ejs=require(_0xea0f('0xb'));var fs=require('fs');var _=require(_0xea0f('0xc'));var squel=require(_0xea0f('0xd'));var crypto=require(_0xea0f('0xe'));var jsforce=require(_0xea0f('0xf'));var deskjs=require(_0xea0f('0x10'));var toCsv=require(_0xea0f('0xa'));var querystring=require(_0xea0f('0x11'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0xea0f('0x12'));var qs=require('../../components/parsers/qs');var as=require(_0xea0f('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0xea0f('0x14'));var utils=require(_0xea0f('0x15'));var config=require(_0xea0f('0x16'));var licenseUtil=require(_0xea0f('0x17'));var db=require(_0xea0f('0x18'))['db'];function respondWithStatusCode(_0xa7fce3,_0xfd27c8){_0xfd27c8=_0xfd27c8||0xcc;return function(_0x55bdb3){if(_0x55bdb3){return _0xa7fce3['sendStatus'](_0xfd27c8);}return _0xa7fce3[_0xea0f('0x19')](_0xfd27c8)[_0xea0f('0x1a')]();};}function respondWithResult(_0x1929f1,_0x360233){_0x360233=_0x360233||0xc8;return function(_0x5f5b10){if(_0x5f5b10){return _0x1929f1[_0xea0f('0x19')](_0x360233)[_0xea0f('0x1b')](_0x5f5b10);}};}function respondWithFilteredResult(_0x314ec4,_0x1652aa){return function(_0xdbf95f){if(_0xdbf95f){var _0x273aed=_0xdbf95f[_0xea0f('0x1c')],_0xa7c420=_0x1652aa[_0xea0f('0x1d')],_0x5e91fc=_0x1652aa[_0xea0f('0x1d')]+_0x1652aa[_0xea0f('0x1e')],_0x10a9ec;if(_0x5e91fc>=_0x273aed){_0x5e91fc=_0x273aed;_0x10a9ec=0xc8;}else{_0x10a9ec=0xce;}_0x314ec4[_0xea0f('0x19')](_0x10a9ec);return _0x314ec4[_0xea0f('0x1f')](_0xea0f('0x20'),_0xa7c420+'-'+_0x5e91fc+'/'+_0x273aed)[_0xea0f('0x1b')](_0xdbf95f);}return null;};}function patchUpdates(_0x1423f4){return function(_0x582134){try{jsonpatch['apply'](_0x582134,_0x1423f4,!![]);}catch(_0x5dead4){return BPromise[_0xea0f('0x21')](_0x5dead4);}return _0x582134['save']();};}function saveUpdates(_0x4c066a,_0x4693a1){return function(_0xe953e9){if(_0xe953e9){return _0xe953e9[_0xea0f('0x22')](_0x4c066a)[_0xea0f('0x23')](function(_0x244cbb){return _0x244cbb;});}return null;};}function removeEntity(_0xec859c,_0x4474c1){return function(_0x321f7b){if(_0x321f7b){return _0x321f7b[_0xea0f('0x24')]()[_0xea0f('0x23')](function(){_0xec859c['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x4907ae,_0x509940){return function(_0x442ccf){if(!_0x442ccf){_0x4907ae[_0xea0f('0x25')](0x194);}return _0x442ccf;};}function handleError(_0x4421c6,_0xf26b62){_0xf26b62=_0xf26b62||0x1f4;return function(_0xad2507){logger[_0xea0f('0x26')](_0xad2507[_0xea0f('0x27')]);if(_0xad2507['name']){delete _0xad2507[_0xea0f('0x28')];}_0x4421c6[_0xea0f('0x19')](_0xf26b62)[_0xea0f('0x29')](_0xad2507);};}exports[_0xea0f('0x2a')]=function(_0x43fdfa,_0x5765eb){var _0x1c2a02={},_0x144faf={},_0x1c72e0={'count':0x0,'rows':[]};var _0x3359fe=_[_0xea0f('0x2b')](db['FreshsalesField'][_0xea0f('0x2c')],function(_0x16bb8d){return{'name':_0x16bb8d[_0xea0f('0x2d')],'type':_0x16bb8d['type']['key']};});_0x144faf[_0xea0f('0x2e')]=_[_0xea0f('0x2b')](_0x3359fe,'name');_0x144faf[_0xea0f('0x2f')]=_[_0xea0f('0x30')](_0x43fdfa[_0xea0f('0x2f')]);_0x144faf['filters']=_[_0xea0f('0x31')](_0x144faf['model'],_0x144faf['query']);_0x1c2a02['attributes']=_['intersection'](_0x144faf[_0xea0f('0x2e')],qs['fields'](_0x43fdfa[_0xea0f('0x2f')][_0xea0f('0x32')]));_0x1c2a02[_0xea0f('0x33')]=_0x1c2a02[_0xea0f('0x33')][_0xea0f('0x34')]?_0x1c2a02[_0xea0f('0x33')]:_0x144faf[_0xea0f('0x2e')];if(!_0x43fdfa['query'][_0xea0f('0x35')](_0xea0f('0x36'))){_0x1c2a02[_0xea0f('0x1e')]=qs[_0xea0f('0x1e')](_0x43fdfa['query'][_0xea0f('0x1e')]);_0x1c2a02['offset']=qs[_0xea0f('0x1d')](_0x43fdfa[_0xea0f('0x2f')][_0xea0f('0x1d')]);}_0x1c2a02['order']=qs[_0xea0f('0x37')](_0x43fdfa[_0xea0f('0x2f')][_0xea0f('0x37')]);_0x1c2a02['where']=qs[_0xea0f('0x38')](_[_0xea0f('0x39')](_0x43fdfa[_0xea0f('0x2f')],_0x144faf[_0xea0f('0x38')]),_0x3359fe);if(_0x43fdfa[_0xea0f('0x2f')]['filter']){_0x1c2a02[_0xea0f('0x3a')]=_[_0xea0f('0x3b')](_0x1c2a02[_0xea0f('0x3a')],{'$or':_['map'](_0x3359fe,function(_0xc8f706){if(_0xc8f706['type']!=='VIRTUAL'){var _0x20f9c2={};_0x20f9c2[_0xc8f706[_0xea0f('0x28')]]={'$like':'%'+_0x43fdfa[_0xea0f('0x2f')]['filter']+'%'};return _0x20f9c2;}})});}_0x1c2a02=_[_0xea0f('0x3b')]({},_0x1c2a02,_0x43fdfa[_0xea0f('0x3c')]);var _0x3ca559={'where':_0x1c2a02[_0xea0f('0x3a')]};return db[_0xea0f('0x3d')]['count'](_0x3ca559)[_0xea0f('0x23')](function(_0x5c4ca9){_0x1c72e0[_0xea0f('0x1c')]=_0x5c4ca9;if(_0x43fdfa[_0xea0f('0x2f')][_0xea0f('0x3e')]){_0x1c2a02['include']=[{'all':!![]}];}return db[_0xea0f('0x3d')]['findAll'](_0x1c2a02);})['then'](function(_0x479814){_0x1c72e0[_0xea0f('0x3f')]=_0x479814;return _0x1c72e0;})[_0xea0f('0x23')](respondWithFilteredResult(_0x5765eb,_0x1c2a02))[_0xea0f('0x40')](handleError(_0x5765eb,null));};exports[_0xea0f('0x41')]=function(_0x26ef2f,_0x6d3e5a){var _0x3078bb={'raw':!![],'where':{'id':_0x26ef2f[_0xea0f('0x42')]['id']}},_0x2f1e2d={};_0x2f1e2d[_0xea0f('0x2e')]=_['keys'](db[_0xea0f('0x3d')][_0xea0f('0x2c')]);_0x2f1e2d[_0xea0f('0x2f')]=_[_0xea0f('0x30')](_0x26ef2f[_0xea0f('0x2f')]);_0x2f1e2d[_0xea0f('0x38')]=_['intersection'](_0x2f1e2d[_0xea0f('0x2e')],_0x2f1e2d[_0xea0f('0x2f')]);_0x3078bb[_0xea0f('0x33')]=_[_0xea0f('0x31')](_0x2f1e2d['model'],qs[_0xea0f('0x32')](_0x26ef2f[_0xea0f('0x2f')][_0xea0f('0x32')]));_0x3078bb[_0xea0f('0x33')]=_0x3078bb[_0xea0f('0x33')][_0xea0f('0x34')]?_0x3078bb[_0xea0f('0x33')]:_0x2f1e2d['model'];if(_0x26ef2f[_0xea0f('0x2f')]['includeAll']){_0x3078bb[_0xea0f('0x43')]=[{'all':!![]}];}_0x3078bb=_['merge']({},_0x3078bb,_0x26ef2f[_0xea0f('0x3c')]);return db['FreshsalesField'][_0xea0f('0x44')](_0x3078bb)[_0xea0f('0x23')](handleEntityNotFound(_0x6d3e5a,null))[_0xea0f('0x23')](respondWithResult(_0x6d3e5a,null))[_0xea0f('0x40')](handleError(_0x6d3e5a,null));};exports[_0xea0f('0x45')]=function(_0x2a87e1,_0x310804){return db['FreshsalesField']['create'](_0x2a87e1[_0xea0f('0x46')],{})['then'](respondWithResult(_0x310804,0xc9))[_0xea0f('0x40')](handleError(_0x310804,null));};exports[_0xea0f('0x22')]=function(_0x11465f,_0xc1a45a){if(_0x11465f[_0xea0f('0x46')]['id']){delete _0x11465f[_0xea0f('0x46')]['id'];}return db[_0xea0f('0x3d')][_0xea0f('0x44')]({'where':{'id':_0x11465f[_0xea0f('0x42')]['id']}})[_0xea0f('0x23')](handleEntityNotFound(_0xc1a45a,null))[_0xea0f('0x23')](saveUpdates(_0x11465f[_0xea0f('0x46')],null))[_0xea0f('0x23')](respondWithResult(_0xc1a45a,null))['catch'](handleError(_0xc1a45a,null));};exports[_0xea0f('0x24')]=function(_0x355568,_0x1984f9){return db['FreshsalesField'][_0xea0f('0x44')]({'where':{'id':_0x355568['params']['id']}})[_0xea0f('0x23')](handleEntityNotFound(_0x1984f9,null))[_0xea0f('0x23')](removeEntity(_0x1984f9,null))[_0xea0f('0x40')](handleError(_0x1984f9,null));};
\ No newline at end of file