Built motion from commit 67e5df37.|2.0.62
[motion2.git] / server / services / routing / server / applications / message.js
1 var _0x31c3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2F\x75\x74\x69\x6C\x73","\x72\x6F\x75\x74\x69\x6E\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x72\x70\x63\x2F\x63\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x72\x70\x63\x2F\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x72\x70\x63\x2F\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x72\x70\x63\x2F\x73\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x72\x70\x63\x2F\x66\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x63\x6F\x6E\x73\x65\x71\x75\x65\x6E\x63\x65","\x67\x65\x74\x4D\x75\x73\x74\x61\x63\x68\x65\x52\x65\x6E\x64\x65\x72","\x69\x64","\x63\x6F\x6E\x74\x61\x63\x74","\x63\x68\x61\x6E\x6E\x65\x6C","\x63\x68\x61\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x61\x63\x63\x6F\x75\x6E\x74","\x75\x70\x70\x65\x72\x46\x69\x72\x73\x74","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x49\x6E\x74\x65\x72\x61\x63\x74\x69\x6F\x6E\x49\x64","\x69\x6E\x74\x65\x72\x61\x63\x74\x69\x6F\x6E","\x4D\x65\x73\x73\x61\x67\x65","\x5B\x25\x73\x5D\x5B\x4D\x45\x53\x53\x41\x47\x45\x5D\x20\x25\x73","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x65\x72\x72\x6F\x72","\x73\x74\x6F\x70","\x63\x61\x74\x63\x68","\x62\x6F\x64\x79","\x69\x6E\x66\x6F","\x6E\x65\x78\x74","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65"];_0x31c3[0];var _=require(_0x31c3[1]);var utils=require(_0x31c3[2]);var logger=require(_0x31c3[4])(_0x31c3[3]);var rpc={chatMessage:require(_0x31c3[5]),openchannelMessage:require(_0x31c3[6]),mailMessage:require(_0x31c3[7]),smsMessage:require(_0x31c3[8]),faxMessage:require(_0x31c3[9])};exports[_0x31c3[10]]= function(_0x626ex5,_0x626ex6){return function(_0x626ex7){try{var _0x626ex8={body:utils[_0x31c3[11]](_0x626ex6[0],this),ContactId:this[_0x31c3[13]][_0x31c3[12]]};if(this[_0x31c3[14]]=== _0x31c3[15]){_0x626ex8[_0x31c3[16]]= this[_0x31c3[17]][_0x31c3[12]]}else {_0x626ex8[_[_0x31c3[18]](this[_0x31c3[14]])+ _0x31c3[19]]= this[_0x31c3[17]][_0x31c3[12]]};_0x626ex8[_[_0x31c3[18]](this[_0x31c3[14]])+ _0x31c3[20]]= this[_0x31c3[21]][_0x31c3[12]];if(rpc[this[_0x31c3[14]]+ _0x31c3[22]]){return rpc[this[_0x31c3[14]]+ _0x31c3[22]][_0x31c3[32]](_0x626ex8)[_0x31c3[31]](function(_0x626exa){logger[_0x31c3[29]](_0x31c3[23],_0x626ex5,_0x626ex8[_0x31c3[28]]);_0x626ex7[_0x31c3[30]]()})[_0x31c3[27]](function(_0x626ex9){logger[_0x31c3[25]](_0x31c3[23],_0x626ex5,JSON[_0x31c3[24]](_0x626ex9));_0x626ex7[_0x31c3[26]]()})}}catch(e){logger[_0x31c3[25]](_0x31c3[23],_0x626ex5,JSON[_0x31c3[24]](e));_0x626ex7[_0x31c3[26]]()}}}