Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / intSalesforceField / intSalesforceField.controller.js
index 772a5e2..dc69f19 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0b0e=['update','then','destroy','end','error','name','index','map','SalesforceField','fieldName','type','key','model','keys','query','attributes','intersection','fields','length','hasOwnProperty','nolimit','limit','order','sort','where','filters','pick','filter','VIRTUAL','merge','count','includeAll','rows','show','params','rawAttributes','include','find','catch','create','body','html-pdf','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','sendStatus','status','json','offset','set','reject'];(function(_0x4bdac4,_0x5acbd2){var _0x18ccc8=function(_0x49f4be){while(--_0x49f4be){_0x4bdac4['push'](_0x4bdac4['shift']());}};_0x18ccc8(++_0x5acbd2);}(_0x0b0e,0x187));var _0xe0b0=function(_0x24502f,_0x134350){_0x24502f=_0x24502f-0x0;var _0x402fd9=_0x0b0e[_0x24502f];return _0x402fd9;};'use strict';var pdf=require(_0xe0b0('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xe0b0('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xe0b0('0x2'));var rp=require(_0xe0b0('0x3'));var moment=require(_0xe0b0('0x4'));var BPromise=require(_0xe0b0('0x5'));var Mustache=require(_0xe0b0('0x6'));var util=require(_0xe0b0('0x7'));var path=require(_0xe0b0('0x8'));var sox=require(_0xe0b0('0x9'));var csv=require(_0xe0b0('0xa'));var ejs=require(_0xe0b0('0xb'));var fs=require('fs');var _=require(_0xe0b0('0xc'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xe0b0('0xd'));var deskjs=require(_0xe0b0('0xe'));var toCsv=require(_0xe0b0('0xa'));var querystring=require(_0xe0b0('0xf'));var Papa=require('papaparse');var Redis=require(_0xe0b0('0x10'));var authService=require(_0xe0b0('0x11'));var qs=require('../../components/parsers/qs');var as=require(_0xe0b0('0x12'));var hardwareService=require(_0xe0b0('0x13'));var logger=require('../../config/logger')(_0xe0b0('0x14'));var utils=require(_0xe0b0('0x15'));var config=require(_0xe0b0('0x16'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x3068c0,_0x1c358a){_0x1c358a=_0x1c358a||0xcc;return function(_0x3cc19a){if(_0x3cc19a){return _0x3068c0[_0xe0b0('0x17')](_0x1c358a);}return _0x3068c0[_0xe0b0('0x18')](_0x1c358a)['end']();};}function respondWithResult(_0x3782be,_0x154de6){_0x154de6=_0x154de6||0xc8;return function(_0x743318){if(_0x743318){return _0x3782be[_0xe0b0('0x18')](_0x154de6)[_0xe0b0('0x19')](_0x743318);}};}function respondWithFilteredResult(_0x55d884,_0x41a7e2){return function(_0x5adb01){if(_0x5adb01){var _0x35cb40=_0x5adb01['count'],_0xadee6e=_0x41a7e2[_0xe0b0('0x1a')],_0x519ae8=_0x41a7e2[_0xe0b0('0x1a')]+_0x41a7e2['limit'],_0x11fdca;if(_0x519ae8>=_0x35cb40){_0x519ae8=_0x35cb40;_0x11fdca=0xc8;}else{_0x11fdca=0xce;}_0x55d884['status'](_0x11fdca);return _0x55d884[_0xe0b0('0x1b')]('Content-Range',_0xadee6e+'-'+_0x519ae8+'/'+_0x35cb40)['json'](_0x5adb01);}return null;};}function patchUpdates(_0x4bce65){return function(_0x1920ee){try{jsonpatch['apply'](_0x1920ee,_0x4bce65,!![]);}catch(_0x52598b){return BPromise[_0xe0b0('0x1c')](_0x52598b);}return _0x1920ee['save']();};}function saveUpdates(_0x472286,_0x5dba2f){return function(_0x2c84cc){if(_0x2c84cc){return _0x2c84cc[_0xe0b0('0x1d')](_0x472286)[_0xe0b0('0x1e')](function(_0x310a6d){return _0x310a6d;});}return null;};}function removeEntity(_0x2cf6a1,_0x58b804){return function(_0x4cae54){if(_0x4cae54){return _0x4cae54[_0xe0b0('0x1f')]()['then'](function(){_0x2cf6a1[_0xe0b0('0x18')](0xcc)[_0xe0b0('0x20')]();});}};}function handleEntityNotFound(_0x513e63,_0x170ad8){return function(_0x503883){if(!_0x503883){_0x513e63[_0xe0b0('0x17')](0x194);}return _0x503883;};}function handleError(_0x49a727,_0x28586d){_0x28586d=_0x28586d||0x1f4;return function(_0x576352){logger[_0xe0b0('0x21')](_0x576352['stack']);if(_0x576352[_0xe0b0('0x22')]){delete _0x576352['name'];}_0x49a727[_0xe0b0('0x18')](_0x28586d)['send'](_0x576352);};}exports[_0xe0b0('0x23')]=function(_0x3c3bc2,_0x1f1ebd){var _0x1d91ad={},_0x3ec2={},_0x10745d={'count':0x0,'rows':[]};var _0x5200a6=_[_0xe0b0('0x24')](db[_0xe0b0('0x25')]['rawAttributes'],function(_0x15e13b){return{'name':_0x15e13b[_0xe0b0('0x26')],'type':_0x15e13b[_0xe0b0('0x27')][_0xe0b0('0x28')]};});_0x3ec2[_0xe0b0('0x29')]=_[_0xe0b0('0x24')](_0x5200a6,_0xe0b0('0x22'));_0x3ec2['query']=_[_0xe0b0('0x2a')](_0x3c3bc2[_0xe0b0('0x2b')]);_0x3ec2['filters']=_['intersection'](_0x3ec2[_0xe0b0('0x29')],_0x3ec2[_0xe0b0('0x2b')]);_0x1d91ad[_0xe0b0('0x2c')]=_[_0xe0b0('0x2d')](_0x3ec2[_0xe0b0('0x29')],qs['fields'](_0x3c3bc2[_0xe0b0('0x2b')][_0xe0b0('0x2e')]));_0x1d91ad[_0xe0b0('0x2c')]=_0x1d91ad[_0xe0b0('0x2c')][_0xe0b0('0x2f')]?_0x1d91ad['attributes']:_0x3ec2[_0xe0b0('0x29')];if(!_0x3c3bc2[_0xe0b0('0x2b')][_0xe0b0('0x30')](_0xe0b0('0x31'))){_0x1d91ad[_0xe0b0('0x32')]=qs[_0xe0b0('0x32')](_0x3c3bc2[_0xe0b0('0x2b')][_0xe0b0('0x32')]);_0x1d91ad[_0xe0b0('0x1a')]=qs[_0xe0b0('0x1a')](_0x3c3bc2[_0xe0b0('0x2b')][_0xe0b0('0x1a')]);}_0x1d91ad[_0xe0b0('0x33')]=qs[_0xe0b0('0x34')](_0x3c3bc2[_0xe0b0('0x2b')]['sort']);_0x1d91ad[_0xe0b0('0x35')]=qs[_0xe0b0('0x36')](_[_0xe0b0('0x37')](_0x3c3bc2[_0xe0b0('0x2b')],_0x3ec2[_0xe0b0('0x36')]));if(_0x3c3bc2[_0xe0b0('0x2b')][_0xe0b0('0x38')]){_0x1d91ad['where']=_['merge'](_0x1d91ad['where'],{'$or':_['map'](_0x5200a6,function(_0x26137c){if(_0x26137c[_0xe0b0('0x27')]!==_0xe0b0('0x39')){var _0x4e4b20={};_0x4e4b20[_0x26137c[_0xe0b0('0x22')]]={'$like':'%'+_0x3c3bc2[_0xe0b0('0x2b')][_0xe0b0('0x38')]+'%'};return _0x4e4b20;}})});}_0x1d91ad=_[_0xe0b0('0x3a')]({},_0x1d91ad,_0x3c3bc2['options']);var _0xed3226={'where':_0x1d91ad[_0xe0b0('0x35')]};return db[_0xe0b0('0x25')][_0xe0b0('0x3b')](_0xed3226)[_0xe0b0('0x1e')](function(_0x1205db){_0x10745d[_0xe0b0('0x3b')]=_0x1205db;if(_0x3c3bc2[_0xe0b0('0x2b')][_0xe0b0('0x3c')]){_0x1d91ad['include']=[{'all':!![]}];}return db[_0xe0b0('0x25')]['findAll'](_0x1d91ad);})[_0xe0b0('0x1e')](function(_0x2d5f47){_0x10745d[_0xe0b0('0x3d')]=_0x2d5f47;return _0x10745d;})[_0xe0b0('0x1e')](respondWithFilteredResult(_0x1f1ebd,_0x1d91ad))['catch'](handleError(_0x1f1ebd,null));};exports[_0xe0b0('0x3e')]=function(_0x41adcb,_0x33706d){var _0x402a0e={'raw':!![],'where':{'id':_0x41adcb[_0xe0b0('0x3f')]['id']}},_0x19c80e={};_0x19c80e[_0xe0b0('0x29')]=_[_0xe0b0('0x2a')](db['SalesforceField'][_0xe0b0('0x40')]);_0x19c80e[_0xe0b0('0x2b')]=_['keys'](_0x41adcb['query']);_0x19c80e[_0xe0b0('0x36')]=_[_0xe0b0('0x2d')](_0x19c80e['model'],_0x19c80e[_0xe0b0('0x2b')]);_0x402a0e[_0xe0b0('0x2c')]=_[_0xe0b0('0x2d')](_0x19c80e[_0xe0b0('0x29')],qs[_0xe0b0('0x2e')](_0x41adcb['query']['fields']));_0x402a0e['attributes']=_0x402a0e[_0xe0b0('0x2c')][_0xe0b0('0x2f')]?_0x402a0e['attributes']:_0x19c80e[_0xe0b0('0x29')];if(_0x41adcb[_0xe0b0('0x2b')][_0xe0b0('0x3c')]){_0x402a0e[_0xe0b0('0x41')]=[{'all':!![]}];}_0x402a0e=_[_0xe0b0('0x3a')]({},_0x402a0e,_0x41adcb['options']);return db['SalesforceField'][_0xe0b0('0x42')](_0x402a0e)[_0xe0b0('0x1e')](handleEntityNotFound(_0x33706d,null))[_0xe0b0('0x1e')](respondWithResult(_0x33706d,null))[_0xe0b0('0x43')](handleError(_0x33706d,null));};exports[_0xe0b0('0x44')]=function(_0x575c7d,_0x3b1474){return db[_0xe0b0('0x25')]['create'](_0x575c7d['body'],{})['then'](respondWithResult(_0x3b1474,0xc9))[_0xe0b0('0x43')](handleError(_0x3b1474,null));};exports[_0xe0b0('0x1d')]=function(_0x2419ce,_0x364877){if(_0x2419ce['body']['id']){delete _0x2419ce[_0xe0b0('0x45')]['id'];}return db[_0xe0b0('0x25')]['find']({'where':{'id':_0x2419ce['params']['id']}})[_0xe0b0('0x1e')](handleEntityNotFound(_0x364877,null))[_0xe0b0('0x1e')](saveUpdates(_0x2419ce['body'],null))[_0xe0b0('0x1e')](respondWithResult(_0x364877,null))[_0xe0b0('0x43')](handleError(_0x364877,null));};exports['destroy']=function(_0x5cb2b6,_0x123ad2){return db['SalesforceField'][_0xe0b0('0x42')]({'where':{'id':_0x5cb2b6[_0xe0b0('0x3f')]['id']}})[_0xe0b0('0x1e')](handleEntityNotFound(_0x123ad2,null))[_0xe0b0('0x1e')](removeEntity(_0x123ad2,null))[_0xe0b0('0x43')](handleError(_0x123ad2,null));};
\ No newline at end of file
+var _0x50ca=['request-promise','bluebird','mustache','path','sox','to-csv','ejs','fs-extra','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','count','set','Content-Range','reject','update','then','error','name','send','index','map','SalesforceField','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','sort','where','filter','merge','includeAll','include','rows','show','params','options','catch','create','body','find','destroy','eml-format','rimraf','fast-json-patch'];(function(_0xe851f4,_0x30aec6){var _0x4f3bcd=function(_0x1e963f){while(--_0x1e963f){_0xe851f4['push'](_0xe851f4['shift']());}};_0x4f3bcd(++_0x30aec6);}(_0x50ca,0x1b9));var _0xa50c=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0x50ca[_0x3ab51d];return _0x29a04e;};'use strict';var emlformat=require(_0xa50c('0x0'));var rimraf=require(_0xa50c('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xa50c('0x2'));var rp=require(_0xa50c('0x3'));var moment=require('moment');var BPromise=require(_0xa50c('0x4'));var Mustache=require(_0xa50c('0x5'));var util=require('util');var path=require(_0xa50c('0x6'));var sox=require(_0xa50c('0x7'));var csv=require(_0xa50c('0x8'));var ejs=require(_0xa50c('0x9'));var fs=require('fs');var fs_extra=require(_0xa50c('0xa'));var _=require(_0xa50c('0xb'));var squel=require(_0xa50c('0xc'));var crypto=require('crypto');var jsforce=require(_0xa50c('0xd'));var deskjs=require(_0xa50c('0xe'));var toCsv=require(_0xa50c('0x8'));var querystring=require(_0xa50c('0xf'));var Papa=require(_0xa50c('0x10'));var Redis=require(_0xa50c('0x11'));var authService=require(_0xa50c('0x12'));var qs=require('../../components/parsers/qs');var as=require(_0xa50c('0x13'));var hardwareService=require(_0xa50c('0x14'));var logger=require('../../config/logger')(_0xa50c('0x15'));var utils=require(_0xa50c('0x16'));var config=require(_0xa50c('0x17'));var licenseUtil=require(_0xa50c('0x18'));var db=require(_0xa50c('0x19'))['db'];function respondWithStatusCode(_0x4cc889,_0x230b25){_0x230b25=_0x230b25||0xcc;return function(_0x1480c9){if(_0x1480c9){return _0x4cc889[_0xa50c('0x1a')](_0x230b25);}return _0x4cc889[_0xa50c('0x1b')](_0x230b25)[_0xa50c('0x1c')]();};}function respondWithResult(_0x54895f,_0x5b0a8d){_0x5b0a8d=_0x5b0a8d||0xc8;return function(_0x226dc4){if(_0x226dc4){return _0x54895f[_0xa50c('0x1b')](_0x5b0a8d)[_0xa50c('0x1d')](_0x226dc4);}};}function respondWithFilteredResult(_0x4b9a04,_0x37cb31){return function(_0xebd8a6){if(_0xebd8a6){var _0x4bd374=typeof _0x37cb31[_0xa50c('0x1e')]===_0xa50c('0x1f')&&typeof _0x37cb31[_0xa50c('0x20')]===_0xa50c('0x1f');var _0x166b0f=_0xebd8a6['count'];var _0x1d8ccd=_0x4bd374?0x0:_0x37cb31[_0xa50c('0x1e')];var _0x2745e5=_0x4bd374?_0xebd8a6[_0xa50c('0x21')]:_0x37cb31[_0xa50c('0x1e')]+_0x37cb31[_0xa50c('0x20')];var _0x101523;if(_0x2745e5>=_0x166b0f){_0x2745e5=_0x166b0f;_0x101523=0xc8;}else{_0x101523=0xce;}_0x4b9a04[_0xa50c('0x1b')](_0x101523);return _0x4b9a04[_0xa50c('0x22')](_0xa50c('0x23'),_0x1d8ccd+'-'+_0x2745e5+'/'+_0x166b0f)[_0xa50c('0x1d')](_0xebd8a6);}return null;};}function patchUpdates(_0x2b454c){return function(_0x4eacee){try{jsonpatch['apply'](_0x4eacee,_0x2b454c,!![]);}catch(_0x281541){return BPromise[_0xa50c('0x24')](_0x281541);}return _0x4eacee['save']();};}function saveUpdates(_0x3e1d5c,_0x4b7390){return function(_0x23a184){if(_0x23a184){return _0x23a184[_0xa50c('0x25')](_0x3e1d5c)[_0xa50c('0x26')](function(_0x440eaf){return _0x440eaf;});}return null;};}function removeEntity(_0x5bf6dd,_0x81e252){return function(_0x39c6d3){if(_0x39c6d3){return _0x39c6d3['destroy']()[_0xa50c('0x26')](function(){_0x5bf6dd[_0xa50c('0x1b')](0xcc)[_0xa50c('0x1c')]();});}};}function handleEntityNotFound(_0x12d651,_0x5ee04a){return function(_0x2d0a0e){if(!_0x2d0a0e){_0x12d651[_0xa50c('0x1a')](0x194);}return _0x2d0a0e;};}function handleError(_0x391529,_0xff7442){_0xff7442=_0xff7442||0x1f4;return function(_0x4da92a){logger[_0xa50c('0x27')](_0x4da92a['stack']);if(_0x4da92a[_0xa50c('0x28')]){delete _0x4da92a[_0xa50c('0x28')];}_0x391529[_0xa50c('0x1b')](_0xff7442)[_0xa50c('0x29')](_0x4da92a);};}exports[_0xa50c('0x2a')]=function(_0x2055d9,_0x22a226){var _0x11f047={},_0x150c42={},_0x42dc79={'count':0x0,'rows':[]};var _0x147872=_[_0xa50c('0x2b')](db[_0xa50c('0x2c')][_0xa50c('0x2d')],function(_0x53a924){return{'name':_0x53a924[_0xa50c('0x2e')],'type':_0x53a924[_0xa50c('0x2f')][_0xa50c('0x30')]};});_0x150c42['model']=_['map'](_0x147872,_0xa50c('0x28'));_0x150c42[_0xa50c('0x31')]=_[_0xa50c('0x32')](_0x2055d9[_0xa50c('0x31')]);_0x150c42[_0xa50c('0x33')]=_[_0xa50c('0x34')](_0x150c42[_0xa50c('0x35')],_0x150c42[_0xa50c('0x31')]);_0x11f047[_0xa50c('0x36')]=_['intersection'](_0x150c42[_0xa50c('0x35')],qs[_0xa50c('0x37')](_0x2055d9[_0xa50c('0x31')]['fields']));_0x11f047[_0xa50c('0x36')]=_0x11f047[_0xa50c('0x36')][_0xa50c('0x38')]?_0x11f047['attributes']:_0x150c42[_0xa50c('0x35')];if(!_0x2055d9['query'][_0xa50c('0x39')](_0xa50c('0x3a'))){_0x11f047[_0xa50c('0x20')]=qs[_0xa50c('0x20')](_0x2055d9[_0xa50c('0x31')][_0xa50c('0x20')]);_0x11f047[_0xa50c('0x1e')]=qs['offset'](_0x2055d9[_0xa50c('0x31')][_0xa50c('0x1e')]);}_0x11f047['order']=qs[_0xa50c('0x3b')](_0x2055d9[_0xa50c('0x31')][_0xa50c('0x3b')]);_0x11f047[_0xa50c('0x3c')]=qs[_0xa50c('0x33')](_['pick'](_0x2055d9[_0xa50c('0x31')],_0x150c42['filters']),_0x147872);if(_0x2055d9[_0xa50c('0x31')][_0xa50c('0x3d')]){_0x11f047[_0xa50c('0x3c')]=_[_0xa50c('0x3e')](_0x11f047[_0xa50c('0x3c')],{'$or':_['map'](_0x147872,function(_0x37981f){if(_0x37981f[_0xa50c('0x2f')]!=='VIRTUAL'){var _0x3fabab={};_0x3fabab[_0x37981f['name']]={'$like':'%'+_0x2055d9[_0xa50c('0x31')][_0xa50c('0x3d')]+'%'};return _0x3fabab;}})});}_0x11f047=_[_0xa50c('0x3e')]({},_0x11f047,_0x2055d9['options']);var _0x3e3d53={'where':_0x11f047['where']};return db[_0xa50c('0x2c')][_0xa50c('0x21')](_0x3e3d53)[_0xa50c('0x26')](function(_0x18bed4){_0x42dc79['count']=_0x18bed4;if(_0x2055d9['query'][_0xa50c('0x3f')]){_0x11f047[_0xa50c('0x40')]=[{'all':!![]}];}return db[_0xa50c('0x2c')]['findAll'](_0x11f047);})[_0xa50c('0x26')](function(_0x55d42f){_0x42dc79[_0xa50c('0x41')]=_0x55d42f;return _0x42dc79;})[_0xa50c('0x26')](respondWithFilteredResult(_0x22a226,_0x11f047))['catch'](handleError(_0x22a226,null));};exports[_0xa50c('0x42')]=function(_0x1e9f49,_0x4bdba0){var _0x5ed38f={'raw':!![],'where':{'id':_0x1e9f49[_0xa50c('0x43')]['id']}},_0x49a01e={};_0x49a01e[_0xa50c('0x35')]=_[_0xa50c('0x32')](db['SalesforceField'][_0xa50c('0x2d')]);_0x49a01e['query']=_[_0xa50c('0x32')](_0x1e9f49[_0xa50c('0x31')]);_0x49a01e[_0xa50c('0x33')]=_['intersection'](_0x49a01e[_0xa50c('0x35')],_0x49a01e['query']);_0x5ed38f[_0xa50c('0x36')]=_[_0xa50c('0x34')](_0x49a01e['model'],qs[_0xa50c('0x37')](_0x1e9f49[_0xa50c('0x31')][_0xa50c('0x37')]));_0x5ed38f[_0xa50c('0x36')]=_0x5ed38f[_0xa50c('0x36')][_0xa50c('0x38')]?_0x5ed38f[_0xa50c('0x36')]:_0x49a01e['model'];if(_0x1e9f49[_0xa50c('0x31')][_0xa50c('0x3f')]){_0x5ed38f[_0xa50c('0x40')]=[{'all':!![]}];}_0x5ed38f=_['merge']({},_0x5ed38f,_0x1e9f49[_0xa50c('0x44')]);return db['SalesforceField']['find'](_0x5ed38f)[_0xa50c('0x26')](handleEntityNotFound(_0x4bdba0,null))[_0xa50c('0x26')](respondWithResult(_0x4bdba0,null))[_0xa50c('0x45')](handleError(_0x4bdba0,null));};exports['create']=function(_0xdb745a,_0x34f5d6){return db[_0xa50c('0x2c')][_0xa50c('0x46')](_0xdb745a[_0xa50c('0x47')],{})[_0xa50c('0x26')](respondWithResult(_0x34f5d6,0xc9))[_0xa50c('0x45')](handleError(_0x34f5d6,null));};exports[_0xa50c('0x25')]=function(_0x114ae5,_0x2bce68){if(_0x114ae5['body']['id']){delete _0x114ae5[_0xa50c('0x47')]['id'];}return db[_0xa50c('0x2c')][_0xa50c('0x48')]({'where':{'id':_0x114ae5[_0xa50c('0x43')]['id']}})[_0xa50c('0x26')](handleEntityNotFound(_0x2bce68,null))[_0xa50c('0x26')](saveUpdates(_0x114ae5[_0xa50c('0x47')],null))['then'](respondWithResult(_0x2bce68,null))['catch'](handleError(_0x2bce68,null));};exports[_0xa50c('0x49')]=function(_0x541649,_0x33a4e6){return db[_0xa50c('0x2c')][_0xa50c('0x48')]({'where':{'id':_0x541649[_0xa50c('0x43')]['id']}})[_0xa50c('0x26')](handleEntityNotFound(_0x33a4e6,null))['then'](removeEntity(_0x33a4e6,null))[_0xa50c('0x45')](handleError(_0x33a4e6,null));};
\ No newline at end of file