Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / userProfileSection / userProfileSection.controller.js
index 1ad63f5..e0b1ab0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe256=['findAll','rows','catch','show','params','rawAttributes','includeAll','find','create','body','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','path','to-csv','lodash','crypto','desk.js','querystring','papaparse','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','end','json','count','offset','limit','set','Content-Range','apply','save','update','then','destroy','sendStatus','error','name','send','UserProfileSection','fieldName','type','key','model','map','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','VIRTUAL','merge','include'];(function(_0x3cf307,_0x4646ac){var _0x139bc9=function(_0x177353){while(--_0x177353){_0x3cf307['push'](_0x3cf307['shift']());}};_0x139bc9(++_0x4646ac);}(_0xe256,0x16e));var _0x6e25=function(_0x1e8f74,_0x311362){_0x1e8f74=_0x1e8f74-0x0;var _0x5935d7=_0xe256[_0x1e8f74];return _0x5935d7;};'use strict';var pdf=require(_0x6e25('0x0'));var emlformat=require(_0x6e25('0x1'));var rimraf=require(_0x6e25('0x2'));var zipdir=require(_0x6e25('0x3'));var jsonpatch=require(_0x6e25('0x4'));var rp=require(_0x6e25('0x5'));var moment=require(_0x6e25('0x6'));var BPromise=require(_0x6e25('0x7'));var Mustache=require('mustache');var util=require('util');var path=require(_0x6e25('0x8'));var sox=require('sox');var csv=require(_0x6e25('0x9'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x6e25('0xa'));var squel=require('squel');var crypto=require(_0x6e25('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x6e25('0xc'));var toCsv=require(_0x6e25('0x9'));var querystring=require(_0x6e25('0xd'));var Papa=require(_0x6e25('0xe'));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('../../config/license/hardware');var logger=require('../../config/logger')(_0x6e25('0xf'));var utils=require(_0x6e25('0x10'));var config=require(_0x6e25('0x11'));var licenseUtil=require(_0x6e25('0x12'));var db=require(_0x6e25('0x13'))['db'];function respondWithStatusCode(_0x5acbc2,_0x15b0e6){_0x15b0e6=_0x15b0e6||0xcc;return function(_0x5a004){if(_0x5a004){return _0x5acbc2['sendStatus'](_0x15b0e6);}return _0x5acbc2[_0x6e25('0x14')](_0x15b0e6)[_0x6e25('0x15')]();};}function respondWithResult(_0x2507e4,_0x4d8b28){_0x4d8b28=_0x4d8b28||0xc8;return function(_0x1bb391){if(_0x1bb391){return _0x2507e4[_0x6e25('0x14')](_0x4d8b28)[_0x6e25('0x16')](_0x1bb391);}};}function respondWithFilteredResult(_0x368883,_0x117104){return function(_0x3817bb){if(_0x3817bb){var _0x4fa00b=_0x3817bb[_0x6e25('0x17')],_0x144b79=_0x117104[_0x6e25('0x18')],_0x50ed2c=_0x117104[_0x6e25('0x18')]+_0x117104[_0x6e25('0x19')],_0x2cafa4;if(_0x50ed2c>=_0x4fa00b){_0x50ed2c=_0x4fa00b;_0x2cafa4=0xc8;}else{_0x2cafa4=0xce;}_0x368883['status'](_0x2cafa4);return _0x368883[_0x6e25('0x1a')](_0x6e25('0x1b'),_0x144b79+'-'+_0x50ed2c+'/'+_0x4fa00b)['json'](_0x3817bb);}return null;};}function patchUpdates(_0x15b940){return function(_0x157142){try{jsonpatch[_0x6e25('0x1c')](_0x157142,_0x15b940,!![]);}catch(_0x17bea4){return BPromise['reject'](_0x17bea4);}return _0x157142[_0x6e25('0x1d')]();};}function saveUpdates(_0x5ed492,_0x3180d4){return function(_0x4ea049){if(_0x4ea049){return _0x4ea049[_0x6e25('0x1e')](_0x5ed492)[_0x6e25('0x1f')](function(_0x42a335){return _0x42a335;});}return null;};}function removeEntity(_0x498faf,_0x25718c){return function(_0x26169f){if(_0x26169f){return _0x26169f[_0x6e25('0x20')]()[_0x6e25('0x1f')](function(){_0x498faf[_0x6e25('0x14')](0xcc)[_0x6e25('0x15')]();});}};}function handleEntityNotFound(_0x2dda0f,_0x24a3ab){return function(_0x44d8e5){if(!_0x44d8e5){_0x2dda0f[_0x6e25('0x21')](0x194);}return _0x44d8e5;};}function handleError(_0x492163,_0x62ef2){_0x62ef2=_0x62ef2||0x1f4;return function(_0x46bf24){logger[_0x6e25('0x22')](_0x46bf24['stack']);if(_0x46bf24[_0x6e25('0x23')]){delete _0x46bf24['name'];}_0x492163[_0x6e25('0x14')](_0x62ef2)[_0x6e25('0x24')](_0x46bf24);};}exports['index']=function(_0x548e23,_0x233531){var _0x5f03d6={},_0x25a58e={},_0x51ce8e={'count':0x0,'rows':[]};var _0x515e84=_['map'](db[_0x6e25('0x25')]['rawAttributes'],function(_0x2d147f){return{'name':_0x2d147f[_0x6e25('0x26')],'type':_0x2d147f[_0x6e25('0x27')][_0x6e25('0x28')]};});_0x25a58e[_0x6e25('0x29')]=_[_0x6e25('0x2a')](_0x515e84,_0x6e25('0x23'));_0x25a58e[_0x6e25('0x2b')]=_[_0x6e25('0x2c')](_0x548e23[_0x6e25('0x2b')]);_0x25a58e[_0x6e25('0x2d')]=_[_0x6e25('0x2e')](_0x25a58e['model'],_0x25a58e['query']);_0x5f03d6[_0x6e25('0x2f')]=_[_0x6e25('0x2e')](_0x25a58e[_0x6e25('0x29')],qs[_0x6e25('0x30')](_0x548e23[_0x6e25('0x2b')][_0x6e25('0x30')]));_0x5f03d6[_0x6e25('0x2f')]=_0x5f03d6[_0x6e25('0x2f')][_0x6e25('0x31')]?_0x5f03d6['attributes']:_0x25a58e[_0x6e25('0x29')];if(!_0x548e23[_0x6e25('0x2b')][_0x6e25('0x32')](_0x6e25('0x33'))){_0x5f03d6[_0x6e25('0x19')]=qs[_0x6e25('0x19')](_0x548e23['query']['limit']);_0x5f03d6[_0x6e25('0x18')]=qs[_0x6e25('0x18')](_0x548e23[_0x6e25('0x2b')]['offset']);}_0x5f03d6[_0x6e25('0x34')]=qs[_0x6e25('0x35')](_0x548e23[_0x6e25('0x2b')]['sort']);_0x5f03d6[_0x6e25('0x36')]=qs[_0x6e25('0x2d')](_[_0x6e25('0x37')](_0x548e23[_0x6e25('0x2b')],_0x25a58e[_0x6e25('0x2d')]),_0x515e84);if(_0x548e23[_0x6e25('0x2b')][_0x6e25('0x38')]){_0x5f03d6[_0x6e25('0x36')]=_['merge'](_0x5f03d6[_0x6e25('0x36')],{'$or':_['map'](_0x515e84,function(_0x59a6dc){if(_0x59a6dc['type']!==_0x6e25('0x39')){var _0x32c093={};_0x32c093[_0x59a6dc[_0x6e25('0x23')]]={'$like':'%'+_0x548e23[_0x6e25('0x2b')][_0x6e25('0x38')]+'%'};return _0x32c093;}})});}_0x5f03d6=_[_0x6e25('0x3a')]({},_0x5f03d6,_0x548e23['options']);var _0x3d953e={'where':_0x5f03d6['where']};return db['UserProfileSection']['count'](_0x3d953e)[_0x6e25('0x1f')](function(_0x377dc5){_0x51ce8e[_0x6e25('0x17')]=_0x377dc5;if(_0x548e23[_0x6e25('0x2b')]['includeAll']){_0x5f03d6[_0x6e25('0x3b')]=[{'all':!![]}];}return db[_0x6e25('0x25')][_0x6e25('0x3c')](_0x5f03d6);})['then'](function(_0x253e1d){_0x51ce8e[_0x6e25('0x3d')]=_0x253e1d;return _0x51ce8e;})[_0x6e25('0x1f')](respondWithFilteredResult(_0x233531,_0x5f03d6))[_0x6e25('0x3e')](handleError(_0x233531,null));};exports[_0x6e25('0x3f')]=function(_0x341d2f,_0xc02e9b){var _0x19ae99={'raw':![],'where':{'id':_0x341d2f[_0x6e25('0x40')]['id']}},_0xc9807d={};_0xc9807d[_0x6e25('0x29')]=_['keys'](db['UserProfileSection'][_0x6e25('0x41')]);_0xc9807d['query']=_['keys'](_0x341d2f[_0x6e25('0x2b')]);_0xc9807d['filters']=_[_0x6e25('0x2e')](_0xc9807d[_0x6e25('0x29')],_0xc9807d[_0x6e25('0x2b')]);_0x19ae99[_0x6e25('0x2f')]=_['intersection'](_0xc9807d['model'],qs[_0x6e25('0x30')](_0x341d2f[_0x6e25('0x2b')][_0x6e25('0x30')]));_0x19ae99[_0x6e25('0x2f')]=_0x19ae99[_0x6e25('0x2f')][_0x6e25('0x31')]?_0x19ae99[_0x6e25('0x2f')]:_0xc9807d['model'];if(_0x341d2f[_0x6e25('0x2b')][_0x6e25('0x42')]){_0x19ae99[_0x6e25('0x3b')]=[{'all':!![]}];}_0x19ae99=_[_0x6e25('0x3a')]({},_0x19ae99,_0x341d2f['options']);return db['UserProfileSection'][_0x6e25('0x43')](_0x19ae99)['then'](handleEntityNotFound(_0xc02e9b,null))[_0x6e25('0x1f')](respondWithResult(_0xc02e9b,null))['catch'](handleError(_0xc02e9b,null));};exports['create']=function(_0x35b726,_0x8d674a){return db[_0x6e25('0x25')][_0x6e25('0x44')](_0x35b726[_0x6e25('0x45')],{})['then'](respondWithResult(_0x8d674a,0xc9))[_0x6e25('0x3e')](handleError(_0x8d674a,null));};exports['update']=function(_0x3e9cd9,_0x37f7fc){if(_0x3e9cd9[_0x6e25('0x45')]['id']){delete _0x3e9cd9['body']['id'];}return db[_0x6e25('0x25')][_0x6e25('0x43')]({'where':{'id':_0x3e9cd9[_0x6e25('0x40')]['id']}})[_0x6e25('0x1f')](handleEntityNotFound(_0x37f7fc,null))[_0x6e25('0x1f')](saveUpdates(_0x3e9cd9[_0x6e25('0x45')],null))[_0x6e25('0x1f')](respondWithResult(_0x37f7fc,null))[_0x6e25('0x3e')](handleError(_0x37f7fc,null));};exports[_0x6e25('0x20')]=function(_0x36e2ef,_0x544de5){return db['UserProfileSection']['find']({'where':{'id':_0x36e2ef[_0x6e25('0x40')]['id']}})[_0x6e25('0x1f')](handleEntityNotFound(_0x544de5,null))[_0x6e25('0x1f')](removeEntity(_0x544de5,null))[_0x6e25('0x3e')](handleError(_0x544de5,null));};exports[_0x6e25('0x46')]=function(_0x200eb9,_0x1bbc26){return db[_0x6e25('0x25')][_0x6e25('0x46')]()['then'](respondWithResult(_0x1bbc26,null))[_0x6e25('0x3e')](handleError(_0x1bbc26,null));};
\ No newline at end of file
+var _0xd355=['fs-extra','lodash','squel','jsforce','querystring','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','offset','undefined','count','limit','set','Content-Range','json','apply','save','then','destroy','stack','name','UserProfileSection','rawAttributes','model','query','keys','filters','intersection','attributes','fields','hasOwnProperty','nolimit','sort','where','pick','filter','map','VIRTUAL','merge','options','include','rows','catch','params','length','includeAll','create','body','update','find','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv'];(function(_0x489e7a,_0x3104eb){var _0xc1d33=function(_0x4277ff){while(--_0x4277ff){_0x489e7a['push'](_0x489e7a['shift']());}};_0xc1d33(++_0x3104eb);}(_0xd355,0x193));var _0x5d35=function(_0x34cafa,_0x251fc9){_0x34cafa=_0x34cafa-0x0;var _0x2741d1=_0xd355[_0x34cafa];return _0x2741d1;};'use strict';var emlformat=require(_0x5d35('0x0'));var rimraf=require(_0x5d35('0x1'));var zipdir=require(_0x5d35('0x2'));var jsonpatch=require(_0x5d35('0x3'));var rp=require(_0x5d35('0x4'));var moment=require(_0x5d35('0x5'));var BPromise=require(_0x5d35('0x6'));var Mustache=require(_0x5d35('0x7'));var util=require('util');var path=require(_0x5d35('0x8'));var sox=require(_0x5d35('0x9'));var csv=require(_0x5d35('0xa'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x5d35('0xb'));var _=require(_0x5d35('0xc'));var squel=require(_0x5d35('0xd'));var crypto=require('crypto');var jsforce=require(_0x5d35('0xe'));var deskjs=require('desk.js');var toCsv=require(_0x5d35('0xa'));var querystring=require(_0x5d35('0xf'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0x5d35('0x10'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x5d35('0x11'));var logger=require(_0x5d35('0x12'))(_0x5d35('0x13'));var utils=require(_0x5d35('0x14'));var config=require(_0x5d35('0x15'));var licenseUtil=require('../../config/license/util');var db=require(_0x5d35('0x16'))['db'];function respondWithStatusCode(_0x107c3a,_0x5dbb98){_0x5dbb98=_0x5dbb98||0xcc;return function(_0x53d302){if(_0x53d302){return _0x107c3a[_0x5d35('0x17')](_0x5dbb98);}return _0x107c3a[_0x5d35('0x18')](_0x5dbb98)[_0x5d35('0x19')]();};}function respondWithResult(_0x54f947,_0x1513ce){_0x1513ce=_0x1513ce||0xc8;return function(_0xe7b436){if(_0xe7b436){return _0x54f947[_0x5d35('0x18')](_0x1513ce)['json'](_0xe7b436);}};}function respondWithFilteredResult(_0x193cd0,_0x434338){return function(_0x5391c2){if(_0x5391c2){var _0x15dd25=typeof _0x434338[_0x5d35('0x1a')]==='undefined'&&typeof _0x434338['limit']===_0x5d35('0x1b');var _0x23d77a=_0x5391c2[_0x5d35('0x1c')];var _0x1626d0=_0x15dd25?0x0:_0x434338[_0x5d35('0x1a')];var _0x11997e=_0x15dd25?_0x5391c2[_0x5d35('0x1c')]:_0x434338[_0x5d35('0x1a')]+_0x434338[_0x5d35('0x1d')];var _0x51a250;if(_0x11997e>=_0x23d77a){_0x11997e=_0x23d77a;_0x51a250=0xc8;}else{_0x51a250=0xce;}_0x193cd0['status'](_0x51a250);return _0x193cd0[_0x5d35('0x1e')](_0x5d35('0x1f'),_0x1626d0+'-'+_0x11997e+'/'+_0x23d77a)[_0x5d35('0x20')](_0x5391c2);}return null;};}function patchUpdates(_0x4bd09d){return function(_0x2838e2){try{jsonpatch[_0x5d35('0x21')](_0x2838e2,_0x4bd09d,!![]);}catch(_0x14c15f){return BPromise['reject'](_0x14c15f);}return _0x2838e2[_0x5d35('0x22')]();};}function saveUpdates(_0x2ae140,_0x4cc9b6){return function(_0x2c2e0c){if(_0x2c2e0c){return _0x2c2e0c['update'](_0x2ae140)[_0x5d35('0x23')](function(_0x439760){return _0x439760;});}return null;};}function removeEntity(_0x5ae77d,_0x31ad1c){return function(_0x516615){if(_0x516615){return _0x516615[_0x5d35('0x24')]()[_0x5d35('0x23')](function(){_0x5ae77d[_0x5d35('0x18')](0xcc)[_0x5d35('0x19')]();});}};}function handleEntityNotFound(_0x553276,_0x2c4c49){return function(_0x5a4622){if(!_0x5a4622){_0x553276[_0x5d35('0x17')](0x194);}return _0x5a4622;};}function handleError(_0x55174c,_0x53b2cb){_0x53b2cb=_0x53b2cb||0x1f4;return function(_0x735606){logger['error'](_0x735606[_0x5d35('0x25')]);if(_0x735606[_0x5d35('0x26')]){delete _0x735606[_0x5d35('0x26')];}_0x55174c[_0x5d35('0x18')](_0x53b2cb)['send'](_0x735606);};}exports['index']=function(_0x5d4704,_0x2d9278){var _0x33feec={},_0x2fce4e={},_0x31cddd={'count':0x0,'rows':[]};var _0x5235d4=_['map'](db[_0x5d35('0x27')][_0x5d35('0x28')],function(_0x38f4c1){return{'name':_0x38f4c1['fieldName'],'type':_0x38f4c1['type']['key']};});_0x2fce4e[_0x5d35('0x29')]=_['map'](_0x5235d4,_0x5d35('0x26'));_0x2fce4e[_0x5d35('0x2a')]=_[_0x5d35('0x2b')](_0x5d4704['query']);_0x2fce4e[_0x5d35('0x2c')]=_[_0x5d35('0x2d')](_0x2fce4e[_0x5d35('0x29')],_0x2fce4e[_0x5d35('0x2a')]);_0x33feec[_0x5d35('0x2e')]=_[_0x5d35('0x2d')](_0x2fce4e[_0x5d35('0x29')],qs[_0x5d35('0x2f')](_0x5d4704[_0x5d35('0x2a')][_0x5d35('0x2f')]));_0x33feec[_0x5d35('0x2e')]=_0x33feec[_0x5d35('0x2e')]['length']?_0x33feec[_0x5d35('0x2e')]:_0x2fce4e[_0x5d35('0x29')];if(!_0x5d4704[_0x5d35('0x2a')][_0x5d35('0x30')](_0x5d35('0x31'))){_0x33feec[_0x5d35('0x1d')]=qs[_0x5d35('0x1d')](_0x5d4704[_0x5d35('0x2a')][_0x5d35('0x1d')]);_0x33feec[_0x5d35('0x1a')]=qs['offset'](_0x5d4704[_0x5d35('0x2a')]['offset']);}_0x33feec['order']=qs[_0x5d35('0x32')](_0x5d4704[_0x5d35('0x2a')][_0x5d35('0x32')]);_0x33feec[_0x5d35('0x33')]=qs[_0x5d35('0x2c')](_[_0x5d35('0x34')](_0x5d4704['query'],_0x2fce4e[_0x5d35('0x2c')]),_0x5235d4);if(_0x5d4704[_0x5d35('0x2a')][_0x5d35('0x35')]){_0x33feec['where']=_['merge'](_0x33feec[_0x5d35('0x33')],{'$or':_[_0x5d35('0x36')](_0x5235d4,function(_0x40ed31){if(_0x40ed31['type']!==_0x5d35('0x37')){var _0x2c6fce={};_0x2c6fce[_0x40ed31['name']]={'$like':'%'+_0x5d4704[_0x5d35('0x2a')][_0x5d35('0x35')]+'%'};return _0x2c6fce;}})});}_0x33feec=_[_0x5d35('0x38')]({},_0x33feec,_0x5d4704[_0x5d35('0x39')]);var _0x58dec0={'where':_0x33feec[_0x5d35('0x33')]};return db['UserProfileSection'][_0x5d35('0x1c')](_0x58dec0)['then'](function(_0x2b58a5){_0x31cddd[_0x5d35('0x1c')]=_0x2b58a5;if(_0x5d4704[_0x5d35('0x2a')]['includeAll']){_0x33feec[_0x5d35('0x3a')]=[{'all':!![]}];}return db['UserProfileSection']['findAll'](_0x33feec);})[_0x5d35('0x23')](function(_0x4914ff){_0x31cddd[_0x5d35('0x3b')]=_0x4914ff;return _0x31cddd;})[_0x5d35('0x23')](respondWithFilteredResult(_0x2d9278,_0x33feec))[_0x5d35('0x3c')](handleError(_0x2d9278,null));};exports['show']=function(_0x55a2cb,_0x4f531d){var _0x322f41={'raw':![],'where':{'id':_0x55a2cb[_0x5d35('0x3d')]['id']}},_0x555c2a={};_0x555c2a[_0x5d35('0x29')]=_[_0x5d35('0x2b')](db[_0x5d35('0x27')][_0x5d35('0x28')]);_0x555c2a['query']=_[_0x5d35('0x2b')](_0x55a2cb[_0x5d35('0x2a')]);_0x555c2a['filters']=_[_0x5d35('0x2d')](_0x555c2a['model'],_0x555c2a[_0x5d35('0x2a')]);_0x322f41[_0x5d35('0x2e')]=_[_0x5d35('0x2d')](_0x555c2a['model'],qs[_0x5d35('0x2f')](_0x55a2cb[_0x5d35('0x2a')][_0x5d35('0x2f')]));_0x322f41['attributes']=_0x322f41[_0x5d35('0x2e')][_0x5d35('0x3e')]?_0x322f41[_0x5d35('0x2e')]:_0x555c2a['model'];if(_0x55a2cb[_0x5d35('0x2a')][_0x5d35('0x3f')]){_0x322f41[_0x5d35('0x3a')]=[{'all':!![]}];}_0x322f41=_[_0x5d35('0x38')]({},_0x322f41,_0x55a2cb['options']);return db[_0x5d35('0x27')]['find'](_0x322f41)[_0x5d35('0x23')](handleEntityNotFound(_0x4f531d,null))[_0x5d35('0x23')](respondWithResult(_0x4f531d,null))[_0x5d35('0x3c')](handleError(_0x4f531d,null));};exports[_0x5d35('0x40')]=function(_0x52f937,_0x267a95){return db[_0x5d35('0x27')][_0x5d35('0x40')](_0x52f937[_0x5d35('0x41')],{})[_0x5d35('0x23')](respondWithResult(_0x267a95,0xc9))[_0x5d35('0x3c')](handleError(_0x267a95,null));};exports[_0x5d35('0x42')]=function(_0x728a,_0x5b1a78){if(_0x728a['body']['id']){delete _0x728a[_0x5d35('0x41')]['id'];}return db[_0x5d35('0x27')][_0x5d35('0x43')]({'where':{'id':_0x728a[_0x5d35('0x3d')]['id']}})['then'](handleEntityNotFound(_0x5b1a78,null))[_0x5d35('0x23')](saveUpdates(_0x728a[_0x5d35('0x41')],null))[_0x5d35('0x23')](respondWithResult(_0x5b1a78,null))[_0x5d35('0x3c')](handleError(_0x5b1a78,null));};exports[_0x5d35('0x24')]=function(_0x1df1fe,_0x157484){return db[_0x5d35('0x27')]['find']({'where':{'id':_0x1df1fe[_0x5d35('0x3d')]['id']}})[_0x5d35('0x23')](handleEntityNotFound(_0x157484,null))[_0x5d35('0x23')](removeEntity(_0x157484,null))[_0x5d35('0x3c')](handleError(_0x157484,null));};exports['describe']=function(_0x4477ed,_0x29171a){return db['UserProfileSection'][_0x5d35('0x44')]()[_0x5d35('0x23')](respondWithResult(_0x29171a,null))[_0x5d35('0x3c')](handleError(_0x29171a,null));};
\ No newline at end of file