Built motion from commit 4d2cf597c.|1.0.26
[motion.git] / server / config / triggers / voice.js
1 var _0x7c75=["\x6C\x6F\x64\x61\x73\x68","\x6D\x75\x73\x74\x61\x63\x68\x65","\x75\x74\x69\x6C","\x6D\x6F\x74\x69\x6F\x6E","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x54\x72\x69\x67\x67\x65\x72\x20\x56\x6F\x69\x63\x65\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x69\x6E\x66\x6F","\x77\x65\x62\x50\x6F\x70\x75\x70","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6C\x6F\x6E\x65","\x6D\x65\x72\x67\x65","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x74\x79\x70\x65","\x57\x65\x62\x70\x6F\x70\x75\x70\x20\x6D\x6F\x74\x69\x6F\x6E\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x65\x72\x72\x6F\x72","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x68\x74\x6D\x6C","\x72\x65\x6E\x64\x65\x72","\x3C\x68\x74\x6D\x6C\x3E\x3C\x62\x6F\x64\x79\x3E\x45\x6D\x70\x74\x79\x20\x54\x65\x6D\x70\x6C\x61\x74\x65\x3C\x2F\x62\x6F\x64\x79\x3E\x3C\x2F\x68\x74\x6D\x6C\x3E","\x73\x75\x62\x6A\x65\x63\x74","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x77\x65\x62\x50\x6F\x70\x75\x70","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x3A\x25\x73","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x74\x6F","\x63\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x72\x6C","\x57\x65\x62\x70\x6F\x70\x75\x70\x20\x62\x72\x6F\x77\x73\x65\x72\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x65\x72\x72\x6F\x72","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x7c75[0]);var Mustache=require(_0x7c75[1]);var util=require(_0x7c75[2]);var logger=require(_0x7c75[4])(_0x7c75[3]);var Template=require(_0x7c75[6])[_0x7c75[5]];var ReportIntegration=require(_0x7c75[6])[_0x7c75[7]];function Voice(){logger[_0x7c75[9]](_0x7c75[8])}Voice[_0x7c75[11]][_0x7c75[10]]= function(_0x47b9x8,_0x47b9x9,_0x47b9xa,_0x47b9xb,_0x47b9xc,_0x47b9xd){var _0x47b9xe=_[_0x7c75[13]](_[_0x7c75[12]](_0x47b9xa),_0x47b9xc);_0x47b9xa[_0x7c75[14]]= _0x7c75[10];_0x47b9xa[_0x7c75[15]]= _0x47b9xb;_0x47b9xa[_0x7c75[16]]= _0x47b9x9?_0x47b9x9:_0x7c75[3];if(_0x47b9xa[_0x7c75[16]]=== _0x7c75[3]){return Template[_0x7c75[33]](_0x47b9x8)[_0x7c75[32]](function(_0x47b9x10){_0x47b9xa[_0x7c75[21]]= _0x47b9x10[_0x7c75[21]]?Mustache[_0x7c75[22]](_0x47b9x10[_0x7c75[21]],_0x47b9xe):_0x7c75[23];_0x47b9xa[_0x7c75[24]]= _0x47b9x10[_0x7c75[24]]?Mustache[_0x7c75[22]](_0x47b9x10[_0x7c75[24]].toString(),_0x47b9xe):null;_0x47b9xd[_0x7c75[30]](util[_0x7c75[29]](_0x7c75[27],_0x47b9xa[_0x7c75[28]]))[_0x7c75[26]](_0x7c75[25],_0x47b9xa);return ReportIntegration[_0x7c75[31]](_0x47b9xa)})[_0x7c75[20]](function(_0x47b9xf){logger[_0x7c75[19]](_0x7c75[17],_0x47b9xf[_0x7c75[18]])})}else {_0x47b9xa[_0x7c75[34]]= Mustache[_0x7c75[22]](_0x47b9x8,_0x47b9xe);_0x47b9xd[_0x7c75[30]](util[_0x7c75[29]](_0x7c75[27],_0x47b9xa[_0x7c75[28]]))[_0x7c75[26]](_0x7c75[25],_0x47b9xa);return ReportIntegration[_0x7c75[31]](_0x47b9xa)[_0x7c75[20]](function(_0x47b9xf){logger[_0x7c75[19]](_0x7c75[35],_0x47b9xf[_0x7c75[18]])})}};module[_0x7c75[36]]= Voice