1 var _0x5c56=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x55\x73\x65\x72\x49\x64","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x65\x72\x67\x65","\x74\x68\x65\x6E","\x69\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x75\x73\x65\x72\x49\x64","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x75\x70\x64\x61\x74\x65","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5c56[0];var SmsMessage=require(_0x5c56[2])[_0x5c56[1]];var User=require(_0x5c56[2])[_0x5c56[3]];var _=require(_0x5c56[4]);exports[_0x5c56[5]]=function(_0xbc7ax4){SmsMessage[_0x5c56[17]](function(_0xbc7ax5){if(_0xbc7ax5[_0x5c56[6]]){return User[_0x5c56[16]](_0xbc7ax5.UserId,{attributes:[_0x5c56[12],_0x5c56[13],_0x5c56[14],_0x5c56[15]]})[_0x5c56[11]](function(_0xbc7ax7){var _0xbc7ax8=_[_0x5c56[10]](_0xbc7ax5[_0x5c56[9]],{User:_0xbc7ax7});onSave(_0xbc7ax4,_0xbc7ax8)})[_0x5c56[8]](function(_0xbc7ax6){console[_0x5c56[7]](_0xbc7ax6)})}else {onSave(_0xbc7ax4,_0xbc7ax5)}});SmsMessage[_0x5c56[18]](function(_0xbc7ax5){onRemove(_0xbc7ax4,_0xbc7ax5)});SmsMessage[_0x5c56[19]](function(_0xbc7ax5){onUpdate(_0xbc7ax4,_0xbc7ax5)})};function onSave(_0xbc7ax4,_0xbc7ax5,_0xbc7axa){if(_0xbc7ax4[_0x5c56[20]]==_0xbc7ax5[_0x5c56[6]]||_0xbc7ax4[_0x5c56[21]]===_0x5c56[22]){_0xbc7ax4[_0x5c56[24]](_0x5c56[23],_0xbc7ax5)}}function onUpdate(_0xbc7ax4,_0xbc7ax5,_0xbc7axa){if(_0xbc7ax4[_0x5c56[20]]==_0xbc7ax5[_0x5c56[6]]&&_0xbc7ax5[_0x5c56[26]](_0x5c56[25])||_0xbc7ax4[_0x5c56[21]]===_0x5c56[22]){_0xbc7ax4[_0x5c56[24]](_0x5c56[27],_0xbc7ax5)}}function onRemove(_0xbc7ax4,_0xbc7ax5,_0xbc7axa){_0xbc7ax4[_0x5c56[24]](_0x5c56[28],_0xbc7ax5)}