Built motion from commit ab870f9e.|2.5.44
[motion2.git] / server / api / jscriptyAnswerReport / jscriptyAnswerReport.controller.js
index c2f6b3a..558b113 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x565f=['JscriptyAnswerReport','rawAttributes','fieldName','type','key','model','keys','query','intersection','attributes','fields','length','hasOwnProperty','nolimit','limit','order','sort','filters','filter','merge','where','count','include','findAll','rows','catch','params','includeAll','create','body','find','describe','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','fs-extra','squel','crypto','jsforce','to-csv','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','undefined','set','apply','reject','update','then','destroy','error','stack','name','send','index','map'];(function(_0x2a7113,_0xcb1144){var _0x3562f2=function(_0x40605f){while(--_0x40605f){_0x2a7113['push'](_0x2a7113['shift']());}};_0x3562f2(++_0xcb1144);}(_0x565f,0x68));var _0xf565=function(_0x4a077c,_0x4d3b48){_0x4a077c=_0x4a077c-0x0;var _0x39f697=_0x565f[_0x4a077c];return _0x39f697;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0xf565('0x0'));var zipdir=require(_0xf565('0x1'));var jsonpatch=require(_0xf565('0x2'));var rp=require('request-promise');var moment=require(_0xf565('0x3'));var BPromise=require(_0xf565('0x4'));var Mustache=require(_0xf565('0x5'));var util=require(_0xf565('0x6'));var path=require(_0xf565('0x7'));var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0xf565('0x8'));var _=require('lodash');var squel=require(_0xf565('0x9'));var crypto=require(_0xf565('0xa'));var jsforce=require(_0xf565('0xb'));var deskjs=require('desk.js');var toCsv=require(_0xf565('0xc'));var querystring=require('querystring');var Papa=require(_0xf565('0xd'));var Redis=require('ioredis');var authService=require(_0xf565('0xe'));var qs=require(_0xf565('0xf'));var as=require(_0xf565('0x10'));var hardwareService=require(_0xf565('0x11'));var logger=require(_0xf565('0x12'))(_0xf565('0x13'));var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require(_0xf565('0x14'));var db=require(_0xf565('0x15'))['db'];function respondWithStatusCode(_0xd29dae,_0xb66e55){_0xb66e55=_0xb66e55||0xcc;return function(_0xa56a8b){if(_0xa56a8b){return _0xd29dae[_0xf565('0x16')](_0xb66e55);}return _0xd29dae[_0xf565('0x17')](_0xb66e55)[_0xf565('0x18')]();};}function respondWithResult(_0x3b7abc,_0x366ac2){_0x366ac2=_0x366ac2||0xc8;return function(_0x4f926d){if(_0x4f926d){return _0x3b7abc[_0xf565('0x17')](_0x366ac2)[_0xf565('0x19')](_0x4f926d);}};}function respondWithFilteredResult(_0x4c209f,_0x394e33){return function(_0x2cd6a8){if(_0x2cd6a8){var _0x468d80=typeof _0x394e33[_0xf565('0x1a')]===_0xf565('0x1b')&&typeof _0x394e33['limit']===_0xf565('0x1b');var _0x4e7abb=_0x2cd6a8['count'];var _0x3d0412=_0x468d80?0x0:_0x394e33[_0xf565('0x1a')];var _0x4fb154=_0x468d80?_0x2cd6a8['count']:_0x394e33[_0xf565('0x1a')]+_0x394e33['limit'];var _0x248111;if(_0x4fb154>=_0x4e7abb){_0x4fb154=_0x4e7abb;_0x248111=0xc8;}else{_0x248111=0xce;}_0x4c209f[_0xf565('0x17')](_0x248111);return _0x4c209f[_0xf565('0x1c')]('Content-Range',_0x3d0412+'-'+_0x4fb154+'/'+_0x4e7abb)['json'](_0x2cd6a8);}return null;};}function patchUpdates(_0xb7b197){return function(_0x3a8a09){try{jsonpatch[_0xf565('0x1d')](_0x3a8a09,_0xb7b197,!![]);}catch(_0x4114d0){return BPromise[_0xf565('0x1e')](_0x4114d0);}return _0x3a8a09['save']();};}function saveUpdates(_0x436a7d,_0x24aa90){return function(_0x282f3a){if(_0x282f3a){return _0x282f3a[_0xf565('0x1f')](_0x436a7d)[_0xf565('0x20')](function(_0x2c67a6){return _0x2c67a6;});}return null;};}function removeEntity(_0xe23d61,_0x139915){return function(_0x11d948){if(_0x11d948){return _0x11d948[_0xf565('0x21')]()['then'](function(){_0xe23d61[_0xf565('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0x46da9b,_0x2df868){return function(_0x50da32){if(!_0x50da32){_0x46da9b[_0xf565('0x16')](0x194);}return _0x50da32;};}function handleError(_0xe06651,_0x2e8f6b){_0x2e8f6b=_0x2e8f6b||0x1f4;return function(_0x33e81c){logger[_0xf565('0x22')](_0x33e81c[_0xf565('0x23')]);if(_0x33e81c[_0xf565('0x24')]){delete _0x33e81c[_0xf565('0x24')];}_0xe06651['status'](_0x2e8f6b)[_0xf565('0x25')](_0x33e81c);};}exports[_0xf565('0x26')]=function(_0x18082a,_0x2e41e7){var _0x28f75d={},_0x5ecd01={},_0x2288db={'count':0x0,'rows':[]};var _0x2ce91d=_[_0xf565('0x27')](db[_0xf565('0x28')][_0xf565('0x29')],function(_0x5a292c){return{'name':_0x5a292c[_0xf565('0x2a')],'type':_0x5a292c[_0xf565('0x2b')][_0xf565('0x2c')]};});_0x5ecd01[_0xf565('0x2d')]=_[_0xf565('0x27')](_0x2ce91d,_0xf565('0x24'));_0x5ecd01['query']=_[_0xf565('0x2e')](_0x18082a[_0xf565('0x2f')]);_0x5ecd01['filters']=_[_0xf565('0x30')](_0x5ecd01[_0xf565('0x2d')],_0x5ecd01[_0xf565('0x2f')]);_0x28f75d[_0xf565('0x31')]=_[_0xf565('0x30')](_0x5ecd01[_0xf565('0x2d')],qs[_0xf565('0x32')](_0x18082a[_0xf565('0x2f')]['fields']));_0x28f75d[_0xf565('0x31')]=_0x28f75d[_0xf565('0x31')][_0xf565('0x33')]?_0x28f75d['attributes']:_0x5ecd01[_0xf565('0x2d')];if(!_0x18082a[_0xf565('0x2f')][_0xf565('0x34')](_0xf565('0x35'))){_0x28f75d[_0xf565('0x36')]=qs['limit'](_0x18082a[_0xf565('0x2f')]['limit']);_0x28f75d[_0xf565('0x1a')]=qs[_0xf565('0x1a')](_0x18082a['query']['offset']);}_0x28f75d[_0xf565('0x37')]=qs[_0xf565('0x38')](_0x18082a['query'][_0xf565('0x38')]);_0x28f75d['where']=qs['filters'](_['pick'](_0x18082a['query'],_0x5ecd01[_0xf565('0x39')]),_0x2ce91d);if(_0x18082a[_0xf565('0x2f')][_0xf565('0x3a')]){_0x28f75d['where']=_[_0xf565('0x3b')](_0x28f75d[_0xf565('0x3c')],{'$or':_[_0xf565('0x27')](_0x2ce91d,function(_0x5e6c27){if(_0x5e6c27[_0xf565('0x2b')]!=='VIRTUAL'){var _0x2d09fb={};_0x2d09fb[_0x5e6c27[_0xf565('0x24')]]={'$like':'%'+_0x18082a[_0xf565('0x2f')]['filter']+'%'};return _0x2d09fb;}})});}_0x28f75d=_[_0xf565('0x3b')]({},_0x28f75d,_0x18082a['options']);var _0x1da55c={'where':_0x28f75d['where']};return db[_0xf565('0x28')][_0xf565('0x3d')](_0x1da55c)['then'](function(_0x36d030){_0x2288db[_0xf565('0x3d')]=_0x36d030;if(_0x18082a[_0xf565('0x2f')]['includeAll']){_0x28f75d[_0xf565('0x3e')]=[{'all':!![]}];}return db['JscriptyAnswerReport'][_0xf565('0x3f')](_0x28f75d);})[_0xf565('0x20')](function(_0x3c43ff){_0x2288db[_0xf565('0x40')]=_0x3c43ff;return _0x2288db;})[_0xf565('0x20')](respondWithFilteredResult(_0x2e41e7,_0x28f75d))[_0xf565('0x41')](handleError(_0x2e41e7,null));};exports['show']=function(_0x58cea5,_0x42ebdd){var _0x27cc58={'raw':!![],'where':{'id':_0x58cea5[_0xf565('0x42')]['id']}},_0x40920b={};_0x40920b[_0xf565('0x2d')]=_['keys'](db[_0xf565('0x28')][_0xf565('0x29')]);_0x40920b[_0xf565('0x2f')]=_[_0xf565('0x2e')](_0x58cea5['query']);_0x40920b[_0xf565('0x39')]=_['intersection'](_0x40920b['model'],_0x40920b[_0xf565('0x2f')]);_0x27cc58[_0xf565('0x31')]=_['intersection'](_0x40920b['model'],qs['fields'](_0x58cea5[_0xf565('0x2f')][_0xf565('0x32')]));_0x27cc58[_0xf565('0x31')]=_0x27cc58[_0xf565('0x31')][_0xf565('0x33')]?_0x27cc58[_0xf565('0x31')]:_0x40920b[_0xf565('0x2d')];if(_0x58cea5[_0xf565('0x2f')][_0xf565('0x43')]){_0x27cc58[_0xf565('0x3e')]=[{'all':!![]}];}_0x27cc58=_[_0xf565('0x3b')]({},_0x27cc58,_0x58cea5['options']);return db['JscriptyAnswerReport']['find'](_0x27cc58)[_0xf565('0x20')](handleEntityNotFound(_0x42ebdd,null))[_0xf565('0x20')](respondWithResult(_0x42ebdd,null))[_0xf565('0x41')](handleError(_0x42ebdd,null));};exports['create']=function(_0x4ded10,_0xfd4b53){return db[_0xf565('0x28')][_0xf565('0x44')](_0x4ded10['body'],{})[_0xf565('0x20')](respondWithResult(_0xfd4b53,0xc9))[_0xf565('0x41')](handleError(_0xfd4b53,null));};exports[_0xf565('0x1f')]=function(_0x483632,_0x5b6cbb){if(_0x483632[_0xf565('0x45')]['id']){delete _0x483632['body']['id'];}return db[_0xf565('0x28')][_0xf565('0x46')]({'where':{'id':_0x483632[_0xf565('0x42')]['id']}})[_0xf565('0x20')](handleEntityNotFound(_0x5b6cbb,null))[_0xf565('0x20')](saveUpdates(_0x483632[_0xf565('0x45')],null))[_0xf565('0x20')](respondWithResult(_0x5b6cbb,null))[_0xf565('0x41')](handleError(_0x5b6cbb,null));};exports[_0xf565('0x21')]=function(_0x1a3751,_0x47464e){return db[_0xf565('0x28')][_0xf565('0x46')]({'where':{'id':_0x1a3751[_0xf565('0x42')]['id']}})['then'](handleEntityNotFound(_0x47464e,null))['then'](removeEntity(_0x47464e,null))[_0xf565('0x41')](handleError(_0x47464e,null));};exports[_0xf565('0x47')]=function(_0x567c8e,_0x186f3e){return db[_0xf565('0x28')]['describe']()['then'](respondWithResult(_0x186f3e,null))[_0xf565('0x41')](handleError(_0x186f3e,null));};
\ No newline at end of file
+var _0x7f94=['JscriptyAnswerReport','rawAttributes','fieldName','type','keys','query','filters','intersection','model','attributes','fields','length','hasOwnProperty','order','sort','pick','where','filter','merge','options','include','findAll','rows','catch','find','create','body','params','describe','eml-format','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','fs-extra','squel','crypto','jsforce','desk.js','querystring','papaparse','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','end','status','json','offset','undefined','limit','count','set','Content-Range','reject','update','then','destroy','error','stack','name','send','index','map'];(function(_0x37c37d,_0x82e988){var _0x2383c2=function(_0x13b5b7){while(--_0x13b5b7){_0x37c37d['push'](_0x37c37d['shift']());}};_0x2383c2(++_0x82e988);}(_0x7f94,0x65));var _0x47f9=function(_0x5cb992,_0x40e046){_0x5cb992=_0x5cb992-0x0;var _0x450e90=_0x7f94[_0x5cb992];return _0x450e90;};'use strict';var emlformat=require(_0x47f9('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x47f9('0x1'));var jsonpatch=require(_0x47f9('0x2'));var rp=require(_0x47f9('0x3'));var moment=require(_0x47f9('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x47f9('0x5'));var util=require(_0x47f9('0x6'));var path=require(_0x47f9('0x7'));var sox=require(_0x47f9('0x8'));var csv=require(_0x47f9('0x9'));var ejs=require(_0x47f9('0xa'));var fs=require('fs');var fs_extra=require(_0x47f9('0xb'));var _=require('lodash');var squel=require(_0x47f9('0xc'));var crypto=require(_0x47f9('0xd'));var jsforce=require(_0x47f9('0xe'));var deskjs=require(_0x47f9('0xf'));var toCsv=require(_0x47f9('0x9'));var querystring=require(_0x47f9('0x10'));var Papa=require(_0x47f9('0x11'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x47f9('0x12'));var logger=require(_0x47f9('0x13'))(_0x47f9('0x14'));var utils=require(_0x47f9('0x15'));var config=require(_0x47f9('0x16'));var licenseUtil=require(_0x47f9('0x17'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x5a8bac,_0x1002f7){_0x1002f7=_0x1002f7||0xcc;return function(_0x49c33c){if(_0x49c33c){return _0x5a8bac['sendStatus'](_0x1002f7);}return _0x5a8bac['status'](_0x1002f7)[_0x47f9('0x18')]();};}function respondWithResult(_0x43e4db,_0x4d44dd){_0x4d44dd=_0x4d44dd||0xc8;return function(_0x166860){if(_0x166860){return _0x43e4db[_0x47f9('0x19')](_0x4d44dd)[_0x47f9('0x1a')](_0x166860);}};}function respondWithFilteredResult(_0x2a6444,_0x48cc81){return function(_0x3320d1){if(_0x3320d1){var _0x3703e1=typeof _0x48cc81[_0x47f9('0x1b')]===_0x47f9('0x1c')&&typeof _0x48cc81[_0x47f9('0x1d')]==='undefined';var _0x56775f=_0x3320d1['count'];var _0xd80474=_0x3703e1?0x0:_0x48cc81[_0x47f9('0x1b')];var _0x32bb57=_0x3703e1?_0x3320d1[_0x47f9('0x1e')]:_0x48cc81[_0x47f9('0x1b')]+_0x48cc81[_0x47f9('0x1d')];var _0x29700e;if(_0x32bb57>=_0x56775f){_0x32bb57=_0x56775f;_0x29700e=0xc8;}else{_0x29700e=0xce;}_0x2a6444[_0x47f9('0x19')](_0x29700e);return _0x2a6444[_0x47f9('0x1f')](_0x47f9('0x20'),_0xd80474+'-'+_0x32bb57+'/'+_0x56775f)[_0x47f9('0x1a')](_0x3320d1);}return null;};}function patchUpdates(_0x328d14){return function(_0x397dd5){try{jsonpatch['apply'](_0x397dd5,_0x328d14,!![]);}catch(_0x4d35bf){return BPromise[_0x47f9('0x21')](_0x4d35bf);}return _0x397dd5['save']();};}function saveUpdates(_0x2e2b69,_0x29b7f8){return function(_0x2ecf99){if(_0x2ecf99){return _0x2ecf99[_0x47f9('0x22')](_0x2e2b69)[_0x47f9('0x23')](function(_0x11ef91){return _0x11ef91;});}return null;};}function removeEntity(_0x6a49d,_0x3c4778){return function(_0x4fd2b1){if(_0x4fd2b1){return _0x4fd2b1[_0x47f9('0x24')]()[_0x47f9('0x23')](function(){_0x6a49d['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x26bd84,_0x4c16e0){return function(_0x76077d){if(!_0x76077d){_0x26bd84['sendStatus'](0x194);}return _0x76077d;};}function handleError(_0x26174a,_0x1a8c4b){_0x1a8c4b=_0x1a8c4b||0x1f4;return function(_0x5dbdda){logger[_0x47f9('0x25')](_0x5dbdda[_0x47f9('0x26')]);if(_0x5dbdda[_0x47f9('0x27')]){delete _0x5dbdda[_0x47f9('0x27')];}_0x26174a[_0x47f9('0x19')](_0x1a8c4b)[_0x47f9('0x28')](_0x5dbdda);};}exports[_0x47f9('0x29')]=function(_0x52927a,_0x53e951){var _0x4c37d2={},_0x481ccb={},_0x1a5b58={'count':0x0,'rows':[]};var _0x5818a6=_[_0x47f9('0x2a')](db[_0x47f9('0x2b')][_0x47f9('0x2c')],function(_0xaf0fea){return{'name':_0xaf0fea[_0x47f9('0x2d')],'type':_0xaf0fea[_0x47f9('0x2e')]['key']};});_0x481ccb['model']=_[_0x47f9('0x2a')](_0x5818a6,_0x47f9('0x27'));_0x481ccb['query']=_[_0x47f9('0x2f')](_0x52927a[_0x47f9('0x30')]);_0x481ccb[_0x47f9('0x31')]=_[_0x47f9('0x32')](_0x481ccb[_0x47f9('0x33')],_0x481ccb[_0x47f9('0x30')]);_0x4c37d2[_0x47f9('0x34')]=_[_0x47f9('0x32')](_0x481ccb[_0x47f9('0x33')],qs[_0x47f9('0x35')](_0x52927a[_0x47f9('0x30')][_0x47f9('0x35')]));_0x4c37d2[_0x47f9('0x34')]=_0x4c37d2['attributes'][_0x47f9('0x36')]?_0x4c37d2[_0x47f9('0x34')]:_0x481ccb['model'];if(!_0x52927a[_0x47f9('0x30')][_0x47f9('0x37')]('nolimit')){_0x4c37d2[_0x47f9('0x1d')]=qs['limit'](_0x52927a[_0x47f9('0x30')][_0x47f9('0x1d')]);_0x4c37d2[_0x47f9('0x1b')]=qs['offset'](_0x52927a[_0x47f9('0x30')][_0x47f9('0x1b')]);}_0x4c37d2[_0x47f9('0x38')]=qs[_0x47f9('0x39')](_0x52927a[_0x47f9('0x30')]['sort']);_0x4c37d2['where']=qs['filters'](_[_0x47f9('0x3a')](_0x52927a[_0x47f9('0x30')],_0x481ccb[_0x47f9('0x31')]),_0x5818a6);if(_0x52927a['query']['filter']){_0x4c37d2[_0x47f9('0x3b')]=_['merge'](_0x4c37d2[_0x47f9('0x3b')],{'$or':_['map'](_0x5818a6,function(_0x563492){if(_0x563492[_0x47f9('0x2e')]!=='VIRTUAL'){var _0xfe4480={};_0xfe4480[_0x563492[_0x47f9('0x27')]]={'$like':'%'+_0x52927a[_0x47f9('0x30')][_0x47f9('0x3c')]+'%'};return _0xfe4480;}})});}_0x4c37d2=_[_0x47f9('0x3d')]({},_0x4c37d2,_0x52927a[_0x47f9('0x3e')]);var _0x27ca33={'where':_0x4c37d2['where']};return db['JscriptyAnswerReport'][_0x47f9('0x1e')](_0x27ca33)[_0x47f9('0x23')](function(_0x118db1){_0x1a5b58[_0x47f9('0x1e')]=_0x118db1;if(_0x52927a[_0x47f9('0x30')]['includeAll']){_0x4c37d2[_0x47f9('0x3f')]=[{'all':!![]}];}return db[_0x47f9('0x2b')][_0x47f9('0x40')](_0x4c37d2);})[_0x47f9('0x23')](function(_0x3128bc){_0x1a5b58[_0x47f9('0x41')]=_0x3128bc;return _0x1a5b58;})[_0x47f9('0x23')](respondWithFilteredResult(_0x53e951,_0x4c37d2))[_0x47f9('0x42')](handleError(_0x53e951,null));};exports['show']=function(_0x311975,_0xc61254){var _0x55443d={'raw':!![],'where':{'id':_0x311975['params']['id']}},_0x587a7f={};_0x587a7f[_0x47f9('0x33')]=_[_0x47f9('0x2f')](db[_0x47f9('0x2b')][_0x47f9('0x2c')]);_0x587a7f[_0x47f9('0x30')]=_[_0x47f9('0x2f')](_0x311975[_0x47f9('0x30')]);_0x587a7f[_0x47f9('0x31')]=_[_0x47f9('0x32')](_0x587a7f[_0x47f9('0x33')],_0x587a7f['query']);_0x55443d['attributes']=_['intersection'](_0x587a7f[_0x47f9('0x33')],qs['fields'](_0x311975[_0x47f9('0x30')][_0x47f9('0x35')]));_0x55443d['attributes']=_0x55443d[_0x47f9('0x34')][_0x47f9('0x36')]?_0x55443d['attributes']:_0x587a7f[_0x47f9('0x33')];if(_0x311975[_0x47f9('0x30')]['includeAll']){_0x55443d[_0x47f9('0x3f')]=[{'all':!![]}];}_0x55443d=_[_0x47f9('0x3d')]({},_0x55443d,_0x311975[_0x47f9('0x3e')]);return db[_0x47f9('0x2b')][_0x47f9('0x43')](_0x55443d)[_0x47f9('0x23')](handleEntityNotFound(_0xc61254,null))[_0x47f9('0x23')](respondWithResult(_0xc61254,null))[_0x47f9('0x42')](handleError(_0xc61254,null));};exports[_0x47f9('0x44')]=function(_0x411695,_0x38d61d){return db[_0x47f9('0x2b')][_0x47f9('0x44')](_0x411695[_0x47f9('0x45')],{})[_0x47f9('0x23')](respondWithResult(_0x38d61d,0xc9))['catch'](handleError(_0x38d61d,null));};exports[_0x47f9('0x22')]=function(_0x1c6e21,_0x58fc09){if(_0x1c6e21[_0x47f9('0x45')]['id']){delete _0x1c6e21[_0x47f9('0x45')]['id'];}return db[_0x47f9('0x2b')]['find']({'where':{'id':_0x1c6e21['params']['id']}})[_0x47f9('0x23')](handleEntityNotFound(_0x58fc09,null))['then'](saveUpdates(_0x1c6e21[_0x47f9('0x45')],null))['then'](respondWithResult(_0x58fc09,null))['catch'](handleError(_0x58fc09,null));};exports[_0x47f9('0x24')]=function(_0x2bd2c7,_0x1b1029){return db[_0x47f9('0x2b')]['find']({'where':{'id':_0x2bd2c7[_0x47f9('0x46')]['id']}})['then'](handleEntityNotFound(_0x1b1029,null))['then'](removeEntity(_0x1b1029,null))[_0x47f9('0x42')](handleError(_0x1b1029,null));};exports[_0x47f9('0x47')]=function(_0x43eb5b,_0x3d796c){return db[_0x47f9('0x2b')][_0x47f9('0x47')]()['then'](respondWithResult(_0x3d796c,null))[_0x47f9('0x42')](handleError(_0x3d796c,null));};
\ No newline at end of file