1 var _0xb1c7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x55\x73\x65\x72\x49\x64","\x66\x69\x6E\x64","\x75\x73\x65\x72\x49\x64","\x69\x64","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x65\x72\x67\x65","\x65\x6D\x69\x74","\x66\x6F\x72\x45\x61\x63\x68","\x73\x70\x72\x65\x61\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x67\x65\x74\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x74\x68\x65\x6E","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb1c7[0];var chat_message=require(_0xb1c7[2])[_0xb1c7[1]];var _=require(_0xb1c7[3]);exports[_0xb1c7[4]]=function(_0xc318x3){chat_message[_0xb1c7[5]](function(_0xc318x4){onSave(_0xc318x3,_0xc318x4)});chat_message[_0xb1c7[6]](function(_0xc318x4){onSave(_0xc318x3,_0xc318x4)});chat_message[_0xb1c7[7]](function(_0xc318x4){onRemove(_0xc318x3,_0xc318x4)})};function onSave(_0xc318x3,_0xc318x4,_0xc318x6){return _0xc318x4[_0xb1c7[28]]()[_0xb1c7[27]](function(_0xc318xc){return [_0xc318xc[_0xb1c7[25]]({attributes:[_0xb1c7[13],_0xb1c7[20],_0xb1c7[21],_0xb1c7[22],_0xb1c7[23],_0xb1c7[24]],raw:true}),_0xc318xc[_0xb1c7[26]]({attributes:[_0xb1c7[13],_0xb1c7[21],_0xb1c7[22]],raw:true})]})[_0xb1c7[19]](function(_0xc318x8,_0xc318x9){var _0xc318xa=_[_0xb1c7[11]](_0xc318x8,{id:_0xc318x4[_0xb1c7[10]]});_0xc318x8[_0xb1c7[18]](function(_0xc318xb){if(_0xc318x3[_0xb1c7[12]]==_0xc318xb[_0xb1c7[13]]&&(_0xc318xa||_0xc318x9)){_0xc318x3[_0xb1c7[17]](_0xb1c7[14],_[_0xb1c7[16]](_0xc318x4[_0xb1c7[15]],{User:_0xc318xa,ChatVisitor:_0xc318x9}))}})})[_0xb1c7[9]](function(_0xc318x7){console[_0xb1c7[8]](_0xc318x7)})}function onRemove(_0xc318x3,_0xc318x4,_0xc318x6){_0xc318x3[_0xb1c7[17]](_0xb1c7[29],_0xc318x4)}