1 var _0x1930=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\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","\x6D\x65\x74\x72\x69\x63\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x65\x74\x72\x69\x63\x3A\x72\x65\x6D\x6F\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x6D\x65\x74\x72\x69\x63","\x69\x64","\x75\x70\x64\x61\x74\x65"];_0x1930[0];var Metric=require(_0x1930[2])[_0x1930[1]];var ReportField=require(_0x1930[2])[_0x1930[3]];exports[_0x1930[4]]=function(_0x10b4x3){Metric[_0x1930[5]](function(_0x10b4x4){onSave(_0x10b4x3,_0x10b4x4)});Metric[_0x1930[6]](function(_0x10b4x4){updateFields(_0x10b4x4)});Metric[_0x1930[7]](function(_0x10b4x4){onRemove(_0x10b4x3,_0x10b4x4)})};function onSave(_0x10b4x3,_0x10b4x4,_0x10b4x6){_0x10b4x3[_0x1930[9]](_0x1930[8],_0x10b4x4)}function onRemove(_0x10b4x3,_0x10b4x4,_0x10b4x6){_0x10b4x3[_0x1930[9]](_0x1930[10],_0x10b4x4)}function updateFields(_0x10b4x4){return ReportField[_0x1930[15]]({field:_0x10b4x4[_0x1930[13]]},{where:{MetricId:_0x10b4x4[_0x1930[14]]}})[_0x1930[12]](function(_0x10b4x9){console[_0x1930[11]](_0x10b4x9)})}