Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / cmHopperHistory / cmHopperHistory.controller.js
index a80f58f..6ba79d8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf296=['path','sox','to-csv','ejs','lodash','crypto','jsforce','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','status','end','offset','limit','set','Content-Range','json','reject','save','update','then','destroy','stack','name','index','map','rawAttributes','fieldName','key','model','query','filters','intersection','attributes','fields','length','order','sort','where','pick','merge','type','filter','options','CmHopperHistory','count','includeAll','include','findAll','catch','show','params','keys','create','body','describe','uniqueid','html-pdf','eml-format','rimraf','request-promise','moment','bluebird','mustache','util'];(function(_0x7bb82c,_0x3b2e09){var _0x5a29ae=function(_0x1d863d){while(--_0x1d863d){_0x7bb82c['push'](_0x7bb82c['shift']());}};_0x5a29ae(++_0x3b2e09);}(_0xf296,0x11c));var _0x6f29=function(_0x1d36e9,_0x486977){_0x1d36e9=_0x1d36e9-0x0;var _0x824c53=_0xf296[_0x1d36e9];return _0x824c53;};'use strict';var pdf=require(_0x6f29('0x0'));var emlformat=require(_0x6f29('0x1'));var rimraf=require(_0x6f29('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x6f29('0x3'));var moment=require(_0x6f29('0x4'));var BPromise=require(_0x6f29('0x5'));var Mustache=require(_0x6f29('0x6'));var util=require(_0x6f29('0x7'));var path=require(_0x6f29('0x8'));var sox=require(_0x6f29('0x9'));var csv=require(_0x6f29('0xa'));var ejs=require(_0x6f29('0xb'));var fs=require('fs');var _=require(_0x6f29('0xc'));var squel=require('squel');var crypto=require(_0x6f29('0xd'));var jsforce=require(_0x6f29('0xe'));var deskjs=require('desk.js');var toCsv=require(_0x6f29('0xa'));var querystring=require('querystring');var Papa=require(_0x6f29('0xf'));var Redis=require('ioredis');var authService=require(_0x6f29('0x10'));var qs=require(_0x6f29('0x11'));var as=require(_0x6f29('0x12'));var hardwareService=require(_0x6f29('0x13'));var logger=require(_0x6f29('0x14'))(_0x6f29('0x15'));var utils=require(_0x6f29('0x16'));var config=require('../../config/environment');var licenseUtil=require(_0x6f29('0x17'));var db=require(_0x6f29('0x18'))['db'];function respondWithStatusCode(_0x26de9e,_0x3c1c25){_0x3c1c25=_0x3c1c25||0xcc;return function(_0x43ea0f){if(_0x43ea0f){return _0x26de9e[_0x6f29('0x19')](_0x3c1c25);}return _0x26de9e[_0x6f29('0x1a')](_0x3c1c25)[_0x6f29('0x1b')]();};}function respondWithResult(_0x207a0b,_0x32b57b){_0x32b57b=_0x32b57b||0xc8;return function(_0x637dd7){if(_0x637dd7){return _0x207a0b[_0x6f29('0x1a')](_0x32b57b)['json'](_0x637dd7);}};}function respondWithFilteredResult(_0x599e79,_0x4d40fc){return function(_0x5ebaad){if(_0x5ebaad){var _0x3d427f=_0x5ebaad['count'],_0x447ff9=_0x4d40fc[_0x6f29('0x1c')],_0x438992=_0x4d40fc[_0x6f29('0x1c')]+_0x4d40fc[_0x6f29('0x1d')],_0x5718f6;if(_0x438992>=_0x3d427f){_0x438992=_0x3d427f;_0x5718f6=0xc8;}else{_0x5718f6=0xce;}_0x599e79[_0x6f29('0x1a')](_0x5718f6);return _0x599e79[_0x6f29('0x1e')](_0x6f29('0x1f'),_0x447ff9+'-'+_0x438992+'/'+_0x3d427f)[_0x6f29('0x20')](_0x5ebaad);}return null;};}function patchUpdates(_0x37c766){return function(_0x508c30){try{jsonpatch['apply'](_0x508c30,_0x37c766,!![]);}catch(_0x632a68){return BPromise[_0x6f29('0x21')](_0x632a68);}return _0x508c30[_0x6f29('0x22')]();};}function saveUpdates(_0x2de476,_0x1e5b45){return function(_0x196402){if(_0x196402){return _0x196402[_0x6f29('0x23')](_0x2de476)[_0x6f29('0x24')](function(_0x5a5bdd){return _0x5a5bdd;});}return null;};}function removeEntity(_0x478138,_0x519758){return function(_0x12d9d4){if(_0x12d9d4){return _0x12d9d4[_0x6f29('0x25')]()[_0x6f29('0x24')](function(){_0x478138[_0x6f29('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x1b5585,_0x4548b6){return function(_0x559481){if(!_0x559481){_0x1b5585['sendStatus'](0x194);}return _0x559481;};}function handleError(_0x5b8a61,_0x38fe65){_0x38fe65=_0x38fe65||0x1f4;return function(_0x3c4923){logger['error'](_0x3c4923[_0x6f29('0x26')]);if(_0x3c4923[_0x6f29('0x27')]){delete _0x3c4923[_0x6f29('0x27')];}_0x5b8a61[_0x6f29('0x1a')](_0x38fe65)['send'](_0x3c4923);};}exports[_0x6f29('0x28')]=function(_0x573e54,_0xf5085e){var _0x2ee4d9={},_0x5591a7={},_0x98a32={'count':0x0,'rows':[]};var _0x72934b=_[_0x6f29('0x29')](db['CmHopperHistory'][_0x6f29('0x2a')],function(_0x489522){return{'name':_0x489522[_0x6f29('0x2b')],'type':_0x489522['type'][_0x6f29('0x2c')]};});_0x5591a7[_0x6f29('0x2d')]=_[_0x6f29('0x29')](_0x72934b,_0x6f29('0x27'));_0x5591a7['query']=_['keys'](_0x573e54[_0x6f29('0x2e')]);_0x5591a7[_0x6f29('0x2f')]=_[_0x6f29('0x30')](_0x5591a7['model'],_0x5591a7['query']);_0x2ee4d9[_0x6f29('0x31')]=_[_0x6f29('0x30')](_0x5591a7[_0x6f29('0x2d')],qs[_0x6f29('0x32')](_0x573e54[_0x6f29('0x2e')][_0x6f29('0x32')]));_0x2ee4d9[_0x6f29('0x31')]=_0x2ee4d9['attributes'][_0x6f29('0x33')]?_0x2ee4d9[_0x6f29('0x31')]:_0x5591a7[_0x6f29('0x2d')];if(!_0x573e54[_0x6f29('0x2e')]['hasOwnProperty']('nolimit')){_0x2ee4d9[_0x6f29('0x1d')]=qs[_0x6f29('0x1d')](_0x573e54['query']['limit']);_0x2ee4d9[_0x6f29('0x1c')]=qs[_0x6f29('0x1c')](_0x573e54[_0x6f29('0x2e')]['offset']);}_0x2ee4d9[_0x6f29('0x34')]=qs[_0x6f29('0x35')](_0x573e54[_0x6f29('0x2e')]['sort']);_0x2ee4d9[_0x6f29('0x36')]=qs[_0x6f29('0x2f')](_[_0x6f29('0x37')](_0x573e54['query'],_0x5591a7[_0x6f29('0x2f')]),_0x72934b);if(_0x573e54['query']['filter']){_0x2ee4d9[_0x6f29('0x36')]=_[_0x6f29('0x38')](_0x2ee4d9[_0x6f29('0x36')],{'$or':_[_0x6f29('0x29')](_0x72934b,function(_0x9b9b21){if(_0x9b9b21[_0x6f29('0x39')]!=='VIRTUAL'){var _0xb6bcaf={};_0xb6bcaf[_0x9b9b21[_0x6f29('0x27')]]={'$like':'%'+_0x573e54[_0x6f29('0x2e')][_0x6f29('0x3a')]+'%'};return _0xb6bcaf;}})});}_0x2ee4d9=_[_0x6f29('0x38')]({},_0x2ee4d9,_0x573e54[_0x6f29('0x3b')]);var _0x35470a={'where':_0x2ee4d9[_0x6f29('0x36')]};return db[_0x6f29('0x3c')]['count'](_0x35470a)['then'](function(_0x51decc){_0x98a32[_0x6f29('0x3d')]=_0x51decc;if(_0x573e54[_0x6f29('0x2e')][_0x6f29('0x3e')]){_0x2ee4d9[_0x6f29('0x3f')]=[{'all':!![]}];}return db['CmHopperHistory'][_0x6f29('0x40')](_0x2ee4d9);})[_0x6f29('0x24')](function(_0x2d6b6d){_0x98a32['rows']=_0x2d6b6d;return _0x98a32;})[_0x6f29('0x24')](respondWithFilteredResult(_0xf5085e,_0x2ee4d9))[_0x6f29('0x41')](handleError(_0xf5085e,null));};exports[_0x6f29('0x42')]=function(_0x3d59d9,_0x3cf688){var _0x2ab20e={'raw':!![],'where':{'id':_0x3d59d9[_0x6f29('0x43')]['id']}},_0x251a04={};_0x251a04[_0x6f29('0x2d')]=_[_0x6f29('0x44')](db[_0x6f29('0x3c')]['rawAttributes']);_0x251a04[_0x6f29('0x2e')]=_['keys'](_0x3d59d9[_0x6f29('0x2e')]);_0x251a04[_0x6f29('0x2f')]=_[_0x6f29('0x30')](_0x251a04['model'],_0x251a04[_0x6f29('0x2e')]);_0x2ab20e[_0x6f29('0x31')]=_[_0x6f29('0x30')](_0x251a04[_0x6f29('0x2d')],qs[_0x6f29('0x32')](_0x3d59d9[_0x6f29('0x2e')][_0x6f29('0x32')]));_0x2ab20e[_0x6f29('0x31')]=_0x2ab20e[_0x6f29('0x31')][_0x6f29('0x33')]?_0x2ab20e['attributes']:_0x251a04[_0x6f29('0x2d')];if(_0x3d59d9[_0x6f29('0x2e')][_0x6f29('0x3e')]){_0x2ab20e['include']=[{'all':!![]}];}_0x2ab20e=_[_0x6f29('0x38')]({},_0x2ab20e,_0x3d59d9[_0x6f29('0x3b')]);return db[_0x6f29('0x3c')]['find'](_0x2ab20e)['then'](handleEntityNotFound(_0x3cf688,null))[_0x6f29('0x24')](respondWithResult(_0x3cf688,null))[_0x6f29('0x41')](handleError(_0x3cf688,null));};exports[_0x6f29('0x45')]=function(_0xdb8b38,_0xba076d){return db[_0x6f29('0x3c')][_0x6f29('0x45')](_0xdb8b38[_0x6f29('0x46')],{})[_0x6f29('0x24')](respondWithResult(_0xba076d,0xc9))[_0x6f29('0x41')](handleError(_0xba076d,null));};exports['describe']=function(_0x4fa6a1,_0x1f5328){return db[_0x6f29('0x3c')][_0x6f29('0x47')]()['then'](respondWithResult(_0x1f5328,null))[_0x6f29('0x41')](handleError(_0x1f5328,null));};exports[_0x6f29('0x23')]=function(_0x4a4fb0,_0xab00b){if(_0x4a4fb0[_0x6f29('0x46')][_0x6f29('0x48')]){delete _0x4a4fb0[_0x6f29('0x46')][_0x6f29('0x48')];}return db[_0x6f29('0x3c')]['find']({'where':{'uniqueid':_0x4a4fb0[_0x6f29('0x43')]['id']}})[_0x6f29('0x24')](handleEntityNotFound(_0xab00b,null))['then'](saveUpdates(_0x4a4fb0[_0x6f29('0x46')],null))[_0x6f29('0x24')](respondWithResult(_0xab00b,null))[_0x6f29('0x41')](handleError(_0xab00b,null));};
\ No newline at end of file
+var _0x4bbe=['fast-json-patch','request-promise','moment','bluebird','mustache','sox','ejs','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','end','offset','limit','count','set','Content-Range','json','reject','save','update','then','destroy','sendStatus','error','stack','name','send','index','map','CmHopperHistory','rawAttributes','fieldName','key','model','query','keys','filters','intersection','attributes','fields','hasOwnProperty','order','sort','pick','filter','where','merge','VIRTUAL','include','findAll','rows','catch','params','includeAll','options','find','create','body','describe','uniqueid','eml-format'];(function(_0x1cd47d,_0x55bc75){var _0x29d52f=function(_0x37737a){while(--_0x37737a){_0x1cd47d['push'](_0x1cd47d['shift']());}};_0x29d52f(++_0x55bc75);}(_0x4bbe,0x91));var _0xe4bb=function(_0x3c9f8d,_0x4f8436){_0x3c9f8d=_0x3c9f8d-0x0;var _0x9624d6=_0x4bbe[_0x3c9f8d];return _0x9624d6;};'use strict';var emlformat=require(_0xe4bb('0x0'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0xe4bb('0x1'));var rp=require(_0xe4bb('0x2'));var moment=require(_0xe4bb('0x3'));var BPromise=require(_0xe4bb('0x4'));var Mustache=require(_0xe4bb('0x5'));var util=require('util');var path=require('path');var sox=require(_0xe4bb('0x6'));var csv=require('to-csv');var ejs=require(_0xe4bb('0x7'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require('lodash');var squel=require(_0xe4bb('0x8'));var crypto=require(_0xe4bb('0x9'));var jsforce=require(_0xe4bb('0xa'));var deskjs=require(_0xe4bb('0xb'));var toCsv=require(_0xe4bb('0xc'));var querystring=require(_0xe4bb('0xd'));var Papa=require(_0xe4bb('0xe'));var Redis=require(_0xe4bb('0xf'));var authService=require(_0xe4bb('0x10'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0xe4bb('0x11'));var utils=require(_0xe4bb('0x12'));var config=require(_0xe4bb('0x13'));var licenseUtil=require(_0xe4bb('0x14'));var db=require(_0xe4bb('0x15'))['db'];function respondWithStatusCode(_0x34ce80,_0x17415a){_0x17415a=_0x17415a||0xcc;return function(_0x17482b){if(_0x17482b){return _0x34ce80['sendStatus'](_0x17415a);}return _0x34ce80[_0xe4bb('0x16')](_0x17415a)[_0xe4bb('0x17')]();};}function respondWithResult(_0x28c4e2,_0x18173a){_0x18173a=_0x18173a||0xc8;return function(_0x727368){if(_0x727368){return _0x28c4e2['status'](_0x18173a)['json'](_0x727368);}};}function respondWithFilteredResult(_0x38692a,_0x207465){return function(_0x1f7914){if(_0x1f7914){var _0x1c1822=typeof _0x207465[_0xe4bb('0x18')]==='undefined'&&typeof _0x207465[_0xe4bb('0x19')]==='undefined';var _0xa78cad=_0x1f7914[_0xe4bb('0x1a')];var _0x53ac62=_0x1c1822?0x0:_0x207465[_0xe4bb('0x18')];var _0x2c7571=_0x1c1822?_0x1f7914[_0xe4bb('0x1a')]:_0x207465[_0xe4bb('0x18')]+_0x207465['limit'];var _0x50360c;if(_0x2c7571>=_0xa78cad){_0x2c7571=_0xa78cad;_0x50360c=0xc8;}else{_0x50360c=0xce;}_0x38692a['status'](_0x50360c);return _0x38692a[_0xe4bb('0x1b')](_0xe4bb('0x1c'),_0x53ac62+'-'+_0x2c7571+'/'+_0xa78cad)[_0xe4bb('0x1d')](_0x1f7914);}return null;};}function patchUpdates(_0x2c8bde){return function(_0x39ed00){try{jsonpatch['apply'](_0x39ed00,_0x2c8bde,!![]);}catch(_0x200fd2){return BPromise[_0xe4bb('0x1e')](_0x200fd2);}return _0x39ed00[_0xe4bb('0x1f')]();};}function saveUpdates(_0x2ec4b7,_0x279fcb){return function(_0x3ceebb){if(_0x3ceebb){return _0x3ceebb[_0xe4bb('0x20')](_0x2ec4b7)[_0xe4bb('0x21')](function(_0x46b72a){return _0x46b72a;});}return null;};}function removeEntity(_0x5502ef,_0x3c3f10){return function(_0x19eaee){if(_0x19eaee){return _0x19eaee[_0xe4bb('0x22')]()['then'](function(){_0x5502ef[_0xe4bb('0x16')](0xcc)[_0xe4bb('0x17')]();});}};}function handleEntityNotFound(_0x5546f7,_0x31b7f6){return function(_0x2764c3){if(!_0x2764c3){_0x5546f7[_0xe4bb('0x23')](0x194);}return _0x2764c3;};}function handleError(_0x42396d,_0x2c6ae4){_0x2c6ae4=_0x2c6ae4||0x1f4;return function(_0x156b6a){logger[_0xe4bb('0x24')](_0x156b6a[_0xe4bb('0x25')]);if(_0x156b6a[_0xe4bb('0x26')]){delete _0x156b6a[_0xe4bb('0x26')];}_0x42396d[_0xe4bb('0x16')](_0x2c6ae4)[_0xe4bb('0x27')](_0x156b6a);};}exports[_0xe4bb('0x28')]=function(_0x17b4da,_0x4e87da){var _0x7e7e41={},_0x466b13={},_0x33edab={'count':0x0,'rows':[]};var _0x55fc12=_[_0xe4bb('0x29')](db[_0xe4bb('0x2a')][_0xe4bb('0x2b')],function(_0x36711d){return{'name':_0x36711d[_0xe4bb('0x2c')],'type':_0x36711d['type'][_0xe4bb('0x2d')]};});_0x466b13[_0xe4bb('0x2e')]=_[_0xe4bb('0x29')](_0x55fc12,_0xe4bb('0x26'));_0x466b13[_0xe4bb('0x2f')]=_[_0xe4bb('0x30')](_0x17b4da[_0xe4bb('0x2f')]);_0x466b13[_0xe4bb('0x31')]=_[_0xe4bb('0x32')](_0x466b13['model'],_0x466b13[_0xe4bb('0x2f')]);_0x7e7e41[_0xe4bb('0x33')]=_[_0xe4bb('0x32')](_0x466b13[_0xe4bb('0x2e')],qs[_0xe4bb('0x34')](_0x17b4da[_0xe4bb('0x2f')][_0xe4bb('0x34')]));_0x7e7e41['attributes']=_0x7e7e41['attributes']['length']?_0x7e7e41[_0xe4bb('0x33')]:_0x466b13['model'];if(!_0x17b4da[_0xe4bb('0x2f')][_0xe4bb('0x35')]('nolimit')){_0x7e7e41[_0xe4bb('0x19')]=qs[_0xe4bb('0x19')](_0x17b4da['query'][_0xe4bb('0x19')]);_0x7e7e41[_0xe4bb('0x18')]=qs[_0xe4bb('0x18')](_0x17b4da[_0xe4bb('0x2f')]['offset']);}_0x7e7e41[_0xe4bb('0x36')]=qs['sort'](_0x17b4da[_0xe4bb('0x2f')][_0xe4bb('0x37')]);_0x7e7e41['where']=qs[_0xe4bb('0x31')](_[_0xe4bb('0x38')](_0x17b4da[_0xe4bb('0x2f')],_0x466b13[_0xe4bb('0x31')]),_0x55fc12);if(_0x17b4da[_0xe4bb('0x2f')][_0xe4bb('0x39')]){_0x7e7e41[_0xe4bb('0x3a')]=_[_0xe4bb('0x3b')](_0x7e7e41['where'],{'$or':_[_0xe4bb('0x29')](_0x55fc12,function(_0x19022f){if(_0x19022f['type']!==_0xe4bb('0x3c')){var _0x39c7ed={};_0x39c7ed[_0x19022f[_0xe4bb('0x26')]]={'$like':'%'+_0x17b4da[_0xe4bb('0x2f')]['filter']+'%'};return _0x39c7ed;}})});}_0x7e7e41=_[_0xe4bb('0x3b')]({},_0x7e7e41,_0x17b4da['options']);var _0x53f7be={'where':_0x7e7e41[_0xe4bb('0x3a')]};return db[_0xe4bb('0x2a')][_0xe4bb('0x1a')](_0x53f7be)[_0xe4bb('0x21')](function(_0x209f5e){_0x33edab['count']=_0x209f5e;if(_0x17b4da[_0xe4bb('0x2f')]['includeAll']){_0x7e7e41[_0xe4bb('0x3d')]=[{'all':!![]}];}return db[_0xe4bb('0x2a')][_0xe4bb('0x3e')](_0x7e7e41);})[_0xe4bb('0x21')](function(_0x1da6ac){_0x33edab[_0xe4bb('0x3f')]=_0x1da6ac;return _0x33edab;})[_0xe4bb('0x21')](respondWithFilteredResult(_0x4e87da,_0x7e7e41))[_0xe4bb('0x40')](handleError(_0x4e87da,null));};exports['show']=function(_0x5d4c88,_0x2b9a31){var _0x5d1938={'raw':!![],'where':{'id':_0x5d4c88[_0xe4bb('0x41')]['id']}},_0x33cc09={};_0x33cc09[_0xe4bb('0x2e')]=_[_0xe4bb('0x30')](db[_0xe4bb('0x2a')][_0xe4bb('0x2b')]);_0x33cc09['query']=_[_0xe4bb('0x30')](_0x5d4c88['query']);_0x33cc09['filters']=_[_0xe4bb('0x32')](_0x33cc09[_0xe4bb('0x2e')],_0x33cc09[_0xe4bb('0x2f')]);_0x5d1938[_0xe4bb('0x33')]=_[_0xe4bb('0x32')](_0x33cc09[_0xe4bb('0x2e')],qs[_0xe4bb('0x34')](_0x5d4c88['query'][_0xe4bb('0x34')]));_0x5d1938[_0xe4bb('0x33')]=_0x5d1938['attributes']['length']?_0x5d1938[_0xe4bb('0x33')]:_0x33cc09['model'];if(_0x5d4c88[_0xe4bb('0x2f')][_0xe4bb('0x42')]){_0x5d1938[_0xe4bb('0x3d')]=[{'all':!![]}];}_0x5d1938=_[_0xe4bb('0x3b')]({},_0x5d1938,_0x5d4c88[_0xe4bb('0x43')]);return db[_0xe4bb('0x2a')][_0xe4bb('0x44')](_0x5d1938)[_0xe4bb('0x21')](handleEntityNotFound(_0x2b9a31,null))[_0xe4bb('0x21')](respondWithResult(_0x2b9a31,null))[_0xe4bb('0x40')](handleError(_0x2b9a31,null));};exports['create']=function(_0x511b88,_0x36b737){return db['CmHopperHistory'][_0xe4bb('0x45')](_0x511b88[_0xe4bb('0x46')],{})[_0xe4bb('0x21')](respondWithResult(_0x36b737,0xc9))[_0xe4bb('0x40')](handleError(_0x36b737,null));};exports[_0xe4bb('0x47')]=function(_0x37c6b0,_0x38a170){return db[_0xe4bb('0x2a')][_0xe4bb('0x47')]()[_0xe4bb('0x21')](respondWithResult(_0x38a170,null))['catch'](handleError(_0x38a170,null));};exports[_0xe4bb('0x20')]=function(_0x161126,_0x5cd3d0){if(_0x161126[_0xe4bb('0x46')][_0xe4bb('0x48')]){delete _0x161126['body'][_0xe4bb('0x48')];}return db[_0xe4bb('0x2a')]['find']({'where':{'uniqueid':_0x161126['params']['id']}})['then'](handleEntityNotFound(_0x5cd3d0,null))[_0xe4bb('0x21')](saveUpdates(_0x161126['body'],null))[_0xe4bb('0x21')](respondWithResult(_0x5cd3d0,null))[_0xe4bb('0x40')](handleError(_0x5cd3d0,null));};
\ No newline at end of file