Built motion from commit c36c9c6.|1.0.17
[motion.git] / server / config / chat.js
index 8301940..0b7bbfa 100644 (file)
@@ -1 +1 @@
-var _0xd806=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2F\x63\x68\x61\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2F\x75\x74\x69\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x43\x48\x41\x54\x20\x77\x65\x62\x73\x69\x74\x65\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E","\x6C\x6F\x67","\x77\x65\x62\x73\x69\x74\x65\x69\x64","\x66\x69\x6E\x64","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\x63\x68\x61\x6E\x67\x65\x64","\x61\x63\x63\x65\x70\x74","\x72\x65\x6A\x65\x63\x74\x65\x64\x41\x74","\x72\x65\x6A\x65\x63\x74","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x63\x6C\x6F\x73\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74\x4D\x65\x74\x68\x6F\x64","\x61\x63\x63\x65\x70\x74\x55\x72\x6C","\x43\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65\x20\x3C","\x6E\x61\x6D\x65","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x61\x63\x63\x65\x70\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x63\x74\x69\x6F\x6E\x73","\x65\x6E\x61\x62\x6C\x65\x64","\x65\x78\x65\x63\x41\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x65\x6A\x65\x63\x74\x4D\x65\x74\x68\x6F\x64","\x72\x65\x6A\x65\x63\x74\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x72\x65\x6A\x65\x63\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x63\x6C\x6F\x73\x65\x4D\x65\x74\x68\x6F\x64","\x63\x6C\x6F\x73\x65\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x63\x6C\x6F\x73\x65\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x57\x65\x62\x68\x6F\x6F\x6B\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64","\x72\x65\x71\x75\x65\x73\x74\x20\x66\x61\x69\x6C\x65\x64\x21","\x72\x65\x71\x75\x65\x73\x74\x20\x73\x75\x63\x63\x65\x73\x73\x65\x66\x75\x6C\x21","\x73\x65\x6E\x64\x52\x65\x71\x75\x65\x73\x74","\x43\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65\x3A\x20","\x20\x43\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x69\x64","\x20\x55\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x72\x65\x6D\x6F\x76\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79"];_0xd806[0];var ChatWebsite=require(_0xd806[2])[_0xd806[1]];var ChatRoom=require(_0xd806[2])[_0xd806[3]];var Website=require(_0xd806[4]);var ReportChat=require(_0xd806[2])[_0xd806[5]];var _=require(_0xd806[6]);var Util=require(_0xd806[7]);var chatwebsites;module[_0xd806[8]]= function(){return ChatWebsite[_0xd806[26]]()[_0xd806[25]](function(_0x9cf9x9){console[_0xd806[12]](_0xd806[11]);chatwebsites= _0x9cf9x9;synch(chatwebsites);ReportChat[_0xd806[20]](function(_0x9cf9xa){var _0x9cf9xb=_[_0xd806[14]](chatwebsites,{id:_0x9cf9xa[_0xd806[13]]});if(_0x9cf9xb&& _0x9cf9xa[_0xd806[16]](_0xd806[15])){webhook(_0x9cf9xa,_0x9cf9xb,_0xd806[17])};if(_0x9cf9xb&& _0x9cf9xa[_0xd806[16]](_0xd806[18])){webhook(_0x9cf9xa,_0x9cf9xb,_0xd806[19])}});ChatRoom[_0xd806[20]](function(_0x9cf9xa){var _0x9cf9xb=_[_0xd806[14]](chatwebsites,{id:_0x9cf9xa[_0xd806[21]]});if(_0x9cf9xb&& _0x9cf9xa[_0xd806[16]](_0xd806[22])&& _0x9cf9xa[_0xd806[22]]=== _0xd806[23]){webhook(_0x9cf9xa,_0x9cf9xb,_0xd806[24])}})})[_0xd806[10]](function(_0x9cf9x8){console[_0xd806[9]](_0x9cf9x8)})};function webhook(_0x9cf9xa,_0x9cf9xb,_0x9cf9xd){var _0x9cf9xe=_0x9cf9xb;switch(_0x9cf9xd){case _0xd806[17]:if(_0x9cf9xe[_0xd806[27]]&& _0x9cf9xe[_0xd806[28]]){console[_0xd806[12]](_0xd806[29]+ _0x9cf9xe[_0xd806[30]]+ _0xd806[31]);execRequest(_0x9cf9xa[_0xd806[32]],_0x9cf9xe[_0xd806[27]],_0x9cf9xe[_0xd806[28]])};if(_0x9cf9xe[_0xd806[34]][_0xd806[33]]){_[_0xd806[37]](_0x9cf9xe[_0xd806[34]],function(_0x9cf9xf){if(_0x9cf9xf[_0xd806[35]]){Util[_0xd806[36]](_0x9cf9xf,_0x9cf9xa)}})};break;case _0xd806[19]:if(_0x9cf9xe[_0xd806[38]]&& _0x9cf9xe[_0xd806[39]]){console[_0xd806[12]](_0xd806[29]+ _0x9cf9xe[_0xd806[30]]+ _0xd806[40]);execRequest(_0x9cf9xa[_0xd806[32]],_0x9cf9xe[_0xd806[38]],_0x9cf9xe[_0xd806[39]])};break;case _0xd806[24]:if(_0x9cf9xe[_0xd806[41]]&& _0x9cf9xe[_0xd806[42]]){console[_0xd806[12]](_0xd806[29]+ _0x9cf9xe[_0xd806[30]]+ _0xd806[43]);execRequest(_0x9cf9xa[_0xd806[32]],_0x9cf9xe[_0xd806[41]],_0x9cf9xe[_0xd806[42]])};break;default:console[_0xd806[12]](_0xd806[44])}}function execRequest(_0x9cf9xa,_0x9cf9x11,_0x9cf9x12){Util[_0xd806[47]](_0x9cf9xa,_0x9cf9x11,_0x9cf9x12)[_0xd806[25]](function(_0x9cf9x13){console[_0xd806[12]](_0xd806[46])})[_0xd806[10]](function(_0x9cf9x8){console[_0xd806[12]](_0xd806[45])})}function synch(chatwebsites){ChatWebsite[_0xd806[51]](function(_0x9cf9xa){console[_0xd806[12]](_0xd806[48]+ _0x9cf9xa[_0xd806[30]]+ _0xd806[49]);chatwebsites[_0xd806[50]](_0x9cf9xa)});ChatWebsite[_0xd806[20]](function(_0x9cf9xa){var _0x9cf9x15=_[_0xd806[14]](chatwebsites,{id:_0x9cf9xa[_0xd806[52]]});if(_0x9cf9x15){console[_0xd806[12]](_0xd806[48]+ _0x9cf9x15[_0xd806[30]]+ _0xd806[53]);_[_0xd806[54]](_0x9cf9x15,_0x9cf9xa)}else {chatwebsites[_0xd806[55]](_0x9cf9xa)}});ChatWebsite[_0xd806[57]](function(_0x9cf9xa){_[_0xd806[56]](chatwebsites,{id:_0x9cf9xa[_0xd806[52]]})})}
\ No newline at end of file
+var _0x915b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2F\x63\x68\x61\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2F\x75\x74\x69\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x43\x48\x41\x54\x20\x77\x65\x62\x73\x69\x74\x65\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E","\x6C\x6F\x67","\x77\x65\x62\x73\x69\x74\x65\x69\x64","\x66\x69\x6E\x64","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\x63\x68\x61\x6E\x67\x65\x64","\x61\x63\x63\x65\x70\x74","\x72\x65\x6A\x65\x63\x74\x65\x64\x41\x74","\x72\x65\x6A\x65\x63\x74","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x63\x6C\x6F\x73\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74\x4D\x65\x74\x68\x6F\x64","\x61\x63\x63\x65\x70\x74\x55\x72\x6C","\x43\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65\x20\x3C","\x6E\x61\x6D\x65","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x61\x63\x63\x65\x70\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x63\x74\x69\x6F\x6E\x73","\x65\x6E\x61\x62\x6C\x65\x64","\x65\x78\x65\x63\x41\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x65\x6A\x65\x63\x74\x4D\x65\x74\x68\x6F\x64","\x72\x65\x6A\x65\x63\x74\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x72\x65\x6A\x65\x63\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x63\x6C\x6F\x73\x65\x4D\x65\x74\x68\x6F\x64","\x63\x6C\x6F\x73\x65\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x63\x6C\x6F\x73\x65\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x57\x65\x62\x68\x6F\x6F\x6B\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64","\x72\x65\x71\x75\x65\x73\x74\x20\x66\x61\x69\x6C\x65\x64\x21","\x72\x65\x71\x75\x65\x73\x74\x20\x73\x75\x63\x63\x65\x73\x73\x65\x66\x75\x6C\x21","\x73\x65\x6E\x64\x52\x65\x71\x75\x65\x73\x74","\x43\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65\x3A\x20","\x20\x43\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x69\x64","\x20\x55\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x72\x65\x6D\x6F\x76\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79"];_0x915b[0];var ChatWebsite=require(_0x915b[2])[_0x915b[1]];var ChatRoom=require(_0x915b[2])[_0x915b[3]];var Website=require(_0x915b[4]);var ReportChat=require(_0x915b[2])[_0x915b[5]];var _=require(_0x915b[6]);var Util=require(_0x915b[7]);var chatwebsites;module[_0x915b[8]]= function(){return ChatWebsite[_0x915b[26]]()[_0x915b[25]](function(_0x53bbx9){console[_0x915b[12]](_0x915b[11]);chatwebsites= _0x53bbx9;synch(chatwebsites);ReportChat[_0x915b[20]](function(_0x53bbxa){var _0x53bbxb=_[_0x915b[14]](chatwebsites,{id:_0x53bbxa[_0x915b[13]]});if(_0x53bbxb&& _0x53bbxa[_0x915b[16]](_0x915b[15])){webhook(_0x53bbxa,_0x53bbxb,_0x915b[17])};if(_0x53bbxb&& _0x53bbxa[_0x915b[16]](_0x915b[18])){webhook(_0x53bbxa,_0x53bbxb,_0x915b[19])}});ChatRoom[_0x915b[20]](function(_0x53bbxa){var _0x53bbxb=_[_0x915b[14]](chatwebsites,{id:_0x53bbxa[_0x915b[21]]});if(_0x53bbxb&& _0x53bbxa[_0x915b[16]](_0x915b[22])&& _0x53bbxa[_0x915b[22]]=== _0x915b[23]){webhook(_0x53bbxa,_0x53bbxb,_0x915b[24])}})})[_0x915b[10]](function(_0x53bbx8){console[_0x915b[9]](_0x53bbx8)})};function webhook(_0x53bbxa,_0x53bbxb,_0x53bbxd){var _0x53bbxe=_0x53bbxb;switch(_0x53bbxd){case _0x915b[17]:if(_0x53bbxe[_0x915b[27]]&& _0x53bbxe[_0x915b[28]]){console[_0x915b[12]](_0x915b[29]+ _0x53bbxe[_0x915b[30]]+ _0x915b[31]);execRequest(_0x53bbxa[_0x915b[32]],_0x53bbxe[_0x915b[27]],_0x53bbxe[_0x915b[28]])};if(_0x53bbxe[_0x915b[34]][_0x915b[33]]){_[_0x915b[37]](_0x53bbxe[_0x915b[34]],function(_0x53bbxf){if(_0x53bbxf[_0x915b[35]]){Util[_0x915b[36]](_0x53bbxf,_0x53bbxa)}})};break;case _0x915b[19]:if(_0x53bbxe[_0x915b[38]]&& _0x53bbxe[_0x915b[39]]){console[_0x915b[12]](_0x915b[29]+ _0x53bbxe[_0x915b[30]]+ _0x915b[40]);execRequest(_0x53bbxa[_0x915b[32]],_0x53bbxe[_0x915b[38]],_0x53bbxe[_0x915b[39]])};break;case _0x915b[24]:if(_0x53bbxe[_0x915b[41]]&& _0x53bbxe[_0x915b[42]]){console[_0x915b[12]](_0x915b[29]+ _0x53bbxe[_0x915b[30]]+ _0x915b[43]);execRequest(_0x53bbxa[_0x915b[32]],_0x53bbxe[_0x915b[41]],_0x53bbxe[_0x915b[42]])};break;default:console[_0x915b[12]](_0x915b[44])}}function execRequest(_0x53bbxa,_0x53bbx11,_0x53bbx12){Util[_0x915b[47]](_0x53bbxa,_0x53bbx11,_0x53bbx12)[_0x915b[25]](function(_0x53bbx13){console[_0x915b[12]](_0x915b[46])})[_0x915b[10]](function(_0x53bbx8){console[_0x915b[12]](_0x915b[45])})}function synch(chatwebsites){ChatWebsite[_0x915b[51]](function(_0x53bbxa){console[_0x915b[12]](_0x915b[48]+ _0x53bbxa[_0x915b[30]]+ _0x915b[49]);chatwebsites[_0x915b[50]](_0x53bbxa)});ChatWebsite[_0x915b[20]](function(_0x53bbxa){var _0x53bbx15=_[_0x915b[14]](chatwebsites,{id:_0x53bbxa[_0x915b[52]]});if(_0x53bbx15){console[_0x915b[12]](_0x915b[48]+ _0x53bbx15[_0x915b[30]]+ _0x915b[53]);_[_0x915b[54]](_0x53bbx15,_0x53bbxa)}else {chatwebsites[_0x915b[55]](_0x53bbxa)}});ChatWebsite[_0x915b[57]](function(_0x53bbxa){_[_0x915b[56]](chatwebsites,{id:_0x53bbxa[_0x915b[52]]})})}
\ No newline at end of file