10f25c499baee6e37046be77aa9d8bc98d451f0e
[motion.git] / server / config / triggers / urlForward.js
1 var _0x5ed9=["\x6C\x6F\x64\x61\x73\x68","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x54\x72\x69\x67\x67\x65\x72\x20\x55\x52\x4C\x20\x46\x6F\x72\x77\x61\x72\x64\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x73\x65\x6E\x64\x52\x65\x71\x75\x65\x73\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x47\x45\x54","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x50\x4F\x53\x54","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x75\x72\x6C\x46\x6F\x72\x77\x61\x72\x64","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x63\x61\x74\x63\x68","\x63\x72\x65\x61\x74\x65","\x66\x69\x6E\x61\x6C\x6C\x79","\x55\x52\x4C\x20\x46\x6F\x72\x77\x61\x72\x64\x20\x66\x61\x69\x6C\x65\x64\x21","\x65\x72\x72\x6F\x72","\x65\x78\x69\x74\x53\x74\x61\x74\x75\x73","\x66\x61\x69\x6C\x65\x64","\x55\x52\x4C\x20\x46\x6F\x72\x77\x61\x72\x64\x20\x73\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x21","\x73\x75\x63\x63\x65\x73\x73","\x74\x68\x65\x6E","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x5ed9[0]);var rp=require(_0x5ed9[1]);function UrlForward(){console[_0x5ed9[3]](_0x5ed9[2])}UrlForward[_0x5ed9[5]][_0x5ed9[4]]= function(_0xf823x4,_0xf823x5,_0xf823x6){switch(_0xf823x6[_0x5ed9[7]]){case _0x5ed9[6]:;case _0x5ed9[9]:httpRequest(_0xf823x4,_0xf823x5,_0xf823x6[_0x5ed9[7]],_0xf823x6[_0x5ed9[8]]);break;default:}};function httpRequest(_0xf823x4,_0xf823x5,_0xf823x8,_0xf823x9){var _0xf823xa=require(_0x5ed9[11])[_0x5ed9[10]];var _0xf823xb={method:_0xf823x8,uri:_0xf823x9,body:_0xf823x4,json:true};rp(_0xf823xb)[_0x5ed9[25]](function(_0xf823xd){console[_0x5ed9[3]](_0x5ed9[23]);_0xf823x4[_0x5ed9[21]]= _0x5ed9[24]})[_0x5ed9[16]](function(_0xf823xc){console[_0x5ed9[20]](_0x5ed9[19]);_0xf823x4[_0x5ed9[21]]= _0x5ed9[22]})[_0x5ed9[18]](function(){delete _0xf823x4[_0x5ed9[12]];_0xf823x4[_0x5ed9[13]]= _0x5ed9[14];_0xf823x4[_0x5ed9[15]]= _0xf823x5;return _0xf823xa[_0x5ed9[17]](_0xf823x4)[_0x5ed9[16]](function(_0xf823xc){console[_0x5ed9[3]](_0xf823xc)})})}module[_0x5ed9[26]]= UrlForward