Built motion from commit 39cd900.|1.0.3
[motion.git] / server / config / chat.js
index cb2450f..997b9e4 100644 (file)
@@ -1 +1 @@
-var _0x76e5=["\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"];_0x76e5[0];var ChatWebsite=require(_0x76e5[2])[_0x76e5[1]];var ChatRoom=require(_0x76e5[2])[_0x76e5[3]];var Website=require(_0x76e5[4]);var ReportChat=require(_0x76e5[2])[_0x76e5[5]];var _=require(_0x76e5[6]);var Util=require(_0x76e5[7]);var chatwebsites;module[_0x76e5[8]]= function(){return ChatWebsite[_0x76e5[26]]()[_0x76e5[25]](function(_0xaf8ex9){console[_0x76e5[12]](_0x76e5[11]);chatwebsites= _0xaf8ex9;synch(chatwebsites);ReportChat[_0x76e5[20]](function(_0xaf8exa){var _0xaf8exb=_[_0x76e5[14]](chatwebsites,{id:_0xaf8exa[_0x76e5[13]]});if(_0xaf8exb&& _0xaf8exa[_0x76e5[16]](_0x76e5[15])){webhook(_0xaf8exa,_0xaf8exb,_0x76e5[17])};if(_0xaf8exb&& _0xaf8exa[_0x76e5[16]](_0x76e5[18])){webhook(_0xaf8exa,_0xaf8exb,_0x76e5[19])}});ChatRoom[_0x76e5[20]](function(_0xaf8exa){var _0xaf8exb=_[_0x76e5[14]](chatwebsites,{id:_0xaf8exa[_0x76e5[21]]});if(_0xaf8exb&& _0xaf8exa[_0x76e5[16]](_0x76e5[22])&& _0xaf8exa[_0x76e5[22]]=== _0x76e5[23]){webhook(_0xaf8exa,_0xaf8exb,_0x76e5[24])}})})[_0x76e5[10]](function(_0xaf8ex8){console[_0x76e5[9]](_0xaf8ex8)})};function webhook(_0xaf8exa,_0xaf8exb,_0xaf8exd){var _0xaf8exe=_0xaf8exb;switch(_0xaf8exd){case _0x76e5[17]:if(_0xaf8exe[_0x76e5[27]]&& _0xaf8exe[_0x76e5[28]]){console[_0x76e5[12]](_0x76e5[29]+ _0xaf8exe[_0x76e5[30]]+ _0x76e5[31]);execRequest(_0xaf8exa[_0x76e5[32]],_0xaf8exe[_0x76e5[27]],_0xaf8exe[_0x76e5[28]])};if(_0xaf8exe[_0x76e5[34]][_0x76e5[33]]){_[_0x76e5[37]](_0xaf8exe[_0x76e5[34]],function(_0xaf8exf){if(_0xaf8exf[_0x76e5[35]]){Util[_0x76e5[36]](_0xaf8exf,_0xaf8exa)}})};break;case _0x76e5[19]:if(_0xaf8exe[_0x76e5[38]]&& _0xaf8exe[_0x76e5[39]]){console[_0x76e5[12]](_0x76e5[29]+ _0xaf8exe[_0x76e5[30]]+ _0x76e5[40]);execRequest(_0xaf8exa[_0x76e5[32]],_0xaf8exe[_0x76e5[38]],_0xaf8exe[_0x76e5[39]])};break;case _0x76e5[24]:if(_0xaf8exe[_0x76e5[41]]&& _0xaf8exe[_0x76e5[42]]){console[_0x76e5[12]](_0x76e5[29]+ _0xaf8exe[_0x76e5[30]]+ _0x76e5[43]);execRequest(_0xaf8exa[_0x76e5[32]],_0xaf8exe[_0x76e5[41]],_0xaf8exe[_0x76e5[42]])};break;default:console[_0x76e5[12]](_0x76e5[44])}}function execRequest(_0xaf8exa,_0xaf8ex11,_0xaf8ex12){Util[_0x76e5[47]](_0xaf8exa,_0xaf8ex11,_0xaf8ex12)[_0x76e5[25]](function(_0xaf8ex13){console[_0x76e5[12]](_0x76e5[46])})[_0x76e5[10]](function(_0xaf8ex8){console[_0x76e5[12]](_0x76e5[45])})}function synch(chatwebsites){ChatWebsite[_0x76e5[51]](function(_0xaf8exa){console[_0x76e5[12]](_0x76e5[48]+ _0xaf8exa[_0x76e5[30]]+ _0x76e5[49]);chatwebsites[_0x76e5[50]](_0xaf8exa)});ChatWebsite[_0x76e5[20]](function(_0xaf8exa){var _0xaf8ex15=_[_0x76e5[14]](chatwebsites,{id:_0xaf8exa[_0x76e5[52]]});if(_0xaf8ex15){console[_0x76e5[12]](_0x76e5[48]+ _0xaf8ex15[_0x76e5[30]]+ _0x76e5[53]);_[_0x76e5[54]](_0xaf8ex15,_0xaf8exa)}else {chatwebsites[_0x76e5[55]](_0xaf8exa)}});ChatWebsite[_0x76e5[57]](function(_0xaf8exa){_[_0x76e5[56]](chatwebsites,{id:_0xaf8exa[_0x76e5[52]]})})}
\ No newline at end of file
+var _0xd3bf=["\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"];_0xd3bf[0];var ChatWebsite=require(_0xd3bf[2])[_0xd3bf[1]];var ChatRoom=require(_0xd3bf[2])[_0xd3bf[3]];var Website=require(_0xd3bf[4]);var ReportChat=require(_0xd3bf[2])[_0xd3bf[5]];var _=require(_0xd3bf[6]);var Util=require(_0xd3bf[7]);var chatwebsites;module[_0xd3bf[8]]= function(){return ChatWebsite[_0xd3bf[26]]()[_0xd3bf[25]](function(_0x5cf8x9){console[_0xd3bf[12]](_0xd3bf[11]);chatwebsites= _0x5cf8x9;synch(chatwebsites);ReportChat[_0xd3bf[20]](function(_0x5cf8xa){var _0x5cf8xb=_[_0xd3bf[14]](chatwebsites,{id:_0x5cf8xa[_0xd3bf[13]]});if(_0x5cf8xb&& _0x5cf8xa[_0xd3bf[16]](_0xd3bf[15])){webhook(_0x5cf8xa,_0x5cf8xb,_0xd3bf[17])};if(_0x5cf8xb&& _0x5cf8xa[_0xd3bf[16]](_0xd3bf[18])){webhook(_0x5cf8xa,_0x5cf8xb,_0xd3bf[19])}});ChatRoom[_0xd3bf[20]](function(_0x5cf8xa){var _0x5cf8xb=_[_0xd3bf[14]](chatwebsites,{id:_0x5cf8xa[_0xd3bf[21]]});if(_0x5cf8xb&& _0x5cf8xa[_0xd3bf[16]](_0xd3bf[22])&& _0x5cf8xa[_0xd3bf[22]]=== _0xd3bf[23]){webhook(_0x5cf8xa,_0x5cf8xb,_0xd3bf[24])}})})[_0xd3bf[10]](function(_0x5cf8x8){console[_0xd3bf[9]](_0x5cf8x8)})};function webhook(_0x5cf8xa,_0x5cf8xb,_0x5cf8xd){var _0x5cf8xe=_0x5cf8xb;switch(_0x5cf8xd){case _0xd3bf[17]:if(_0x5cf8xe[_0xd3bf[27]]&& _0x5cf8xe[_0xd3bf[28]]){console[_0xd3bf[12]](_0xd3bf[29]+ _0x5cf8xe[_0xd3bf[30]]+ _0xd3bf[31]);execRequest(_0x5cf8xa[_0xd3bf[32]],_0x5cf8xe[_0xd3bf[27]],_0x5cf8xe[_0xd3bf[28]])};if(_0x5cf8xe[_0xd3bf[34]][_0xd3bf[33]]){_[_0xd3bf[37]](_0x5cf8xe[_0xd3bf[34]],function(_0x5cf8xf){if(_0x5cf8xf[_0xd3bf[35]]){Util[_0xd3bf[36]](_0x5cf8xf,_0x5cf8xa)}})};break;case _0xd3bf[19]:if(_0x5cf8xe[_0xd3bf[38]]&& _0x5cf8xe[_0xd3bf[39]]){console[_0xd3bf[12]](_0xd3bf[29]+ _0x5cf8xe[_0xd3bf[30]]+ _0xd3bf[40]);execRequest(_0x5cf8xa[_0xd3bf[32]],_0x5cf8xe[_0xd3bf[38]],_0x5cf8xe[_0xd3bf[39]])};break;case _0xd3bf[24]:if(_0x5cf8xe[_0xd3bf[41]]&& _0x5cf8xe[_0xd3bf[42]]){console[_0xd3bf[12]](_0xd3bf[29]+ _0x5cf8xe[_0xd3bf[30]]+ _0xd3bf[43]);execRequest(_0x5cf8xa[_0xd3bf[32]],_0x5cf8xe[_0xd3bf[41]],_0x5cf8xe[_0xd3bf[42]])};break;default:console[_0xd3bf[12]](_0xd3bf[44])}}function execRequest(_0x5cf8xa,_0x5cf8x11,_0x5cf8x12){Util[_0xd3bf[47]](_0x5cf8xa,_0x5cf8x11,_0x5cf8x12)[_0xd3bf[25]](function(_0x5cf8x13){console[_0xd3bf[12]](_0xd3bf[46])})[_0xd3bf[10]](function(_0x5cf8x8){console[_0xd3bf[12]](_0xd3bf[45])})}function synch(chatwebsites){ChatWebsite[_0xd3bf[51]](function(_0x5cf8xa){console[_0xd3bf[12]](_0xd3bf[48]+ _0x5cf8xa[_0xd3bf[30]]+ _0xd3bf[49]);chatwebsites[_0xd3bf[50]](_0x5cf8xa)});ChatWebsite[_0xd3bf[20]](function(_0x5cf8xa){var _0x5cf8x15=_[_0xd3bf[14]](chatwebsites,{id:_0x5cf8xa[_0xd3bf[52]]});if(_0x5cf8x15){console[_0xd3bf[12]](_0xd3bf[48]+ _0x5cf8x15[_0xd3bf[30]]+ _0xd3bf[53]);_[_0xd3bf[54]](_0x5cf8x15,_0x5cf8xa)}else {chatwebsites[_0xd3bf[55]](_0x5cf8xa)}});ChatWebsite[_0xd3bf[57]](function(_0x5cf8xa){_[_0xd3bf[56]](chatwebsites,{id:_0x5cf8xa[_0xd3bf[52]]})})}
\ No newline at end of file