// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x85e5=['../../config/utils','../../config/logger','rpc','http','request','then','info','DeskField,\x20%s,\x20%s','debug','DeskField,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','lodash','util','moment','ioredis'];(function(_0x19acaf,_0x2f7815){var _0x58cb9c=function(_0xd08dc7){while(--_0xd08dc7){_0x19acaf['push'](_0x19acaf['shift']());}};_0x58cb9c(++_0x2f7815);}(_0x85e5,0x1f4));var _0x585e=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x85e5[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x585e('0x0'));var util=require(_0x585e('0x1'));var moment=require(_0x585e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x585e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x585e('0x4'));var logger=require(_0x585e('0x5'))(_0x585e('0x6'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson['client'][_0x585e('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x211db2,_0xf04cd4,_0x13abe7){return new BPromise(function(_0x3ca4c4,_0x190cc9){return client[_0x585e('0x8')](_0x211db2,_0x13abe7)[_0x585e('0x9')](function(_0x3cc4cb){logger[_0x585e('0xa')](_0x585e('0xb'),_0xf04cd4,'request\x20sent');logger[_0x585e('0xc')](_0x585e('0xd'),_0xf04cd4,_0x585e('0xe'),JSON[_0x585e('0xf')](_0x3cc4cb));if(_0x3cc4cb['error']){if(_0x3cc4cb[_0x585e('0x10')][_0x585e('0x11')]===0x1f4){logger[_0x585e('0x10')](_0x585e('0xb'),_0xf04cd4,_0x3cc4cb[_0x585e('0x10')][_0x585e('0x12')]);return _0x190cc9(_0x3cc4cb['error'][_0x585e('0x12')]);}logger[_0x585e('0x10')](_0x585e('0xb'),_0xf04cd4,_0x3cc4cb[_0x585e('0x10')][_0x585e('0x12')]);return _0x3ca4c4(_0x3cc4cb[_0x585e('0x10')][_0x585e('0x12')]);}else{logger[_0x585e('0xa')](_0x585e('0xb'),_0xf04cd4,'request\x20sent');_0x3ca4c4(_0x3cc4cb[_0x585e('0x13')][_0x585e('0x12')]);}})[_0x585e('0x14')](function(_0x34cfe4){logger[_0x585e('0x10')](_0x585e('0xb'),_0xf04cd4,_0x34cfe4);_0x190cc9(_0x34cfe4);});});}
\ No newline at end of file
+var _0x7630=['randomstring','../../config/utils','../../config/logger','../../config/environment','client','http','then','info','DeskField,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','catch','lodash','util'];(function(_0x408077,_0x23a77c){var _0x5c5bf4=function(_0x537d2b){while(--_0x537d2b){_0x408077['push'](_0x408077['shift']());}};_0x5c5bf4(++_0x23a77c);}(_0x7630,0x154));var _0x0763=function(_0x3eee7e,_0x4ee836){_0x3eee7e=_0x3eee7e-0x0;var _0x2c0a97=_0x7630[_0x3eee7e];return _0x2c0a97;};'use strict';var _=require(_0x0763('0x0'));var util=require(_0x0763('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x0763('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x0763('0x3'));var logger=require(_0x0763('0x4'))('rpc');var config=require(_0x0763('0x5'));var jayson=require('jayson/promise');var client=jayson[_0x0763('0x6')][_0x0763('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x3171f3,_0x2945b6,_0x2651c7){return new BPromise(function(_0x33cf2b,_0x397025){return client['request'](_0x3171f3,_0x2651c7)[_0x0763('0x8')](function(_0x2a816e){logger[_0x0763('0x9')](_0x0763('0xa'),_0x2945b6,_0x0763('0xb'));logger[_0x0763('0xc')]('DeskField,\x20%s,\x20%s,\x20%s',_0x2945b6,_0x0763('0xb'),JSON[_0x0763('0xd')](_0x2a816e));if(_0x2a816e['error']){if(_0x2a816e[_0x0763('0xe')][_0x0763('0xf')]===0x1f4){logger[_0x0763('0xe')](_0x0763('0xa'),_0x2945b6,_0x2a816e[_0x0763('0xe')]['message']);return _0x397025(_0x2a816e[_0x0763('0xe')][_0x0763('0x10')]);}logger[_0x0763('0xe')](_0x0763('0xa'),_0x2945b6,_0x2a816e[_0x0763('0xe')][_0x0763('0x10')]);return _0x33cf2b(_0x2a816e[_0x0763('0xe')]['message']);}else{logger['info']('DeskField,\x20%s,\x20%s',_0x2945b6,_0x0763('0xb'));_0x33cf2b(_0x2a816e[_0x0763('0x11')]['message']);}})[_0x0763('0x12')](function(_0x42c9ef){logger[_0x0763('0xe')]('DeskField,\x20%s,\x20%s',_0x2945b6,_0x42c9ef);_0x397025(_0x42c9ef);});});}
\ No newline at end of file