1 var _0x3106=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x6D\x65\x74\x72\x69\x63\x2E\x65\x76\x65\x6E\x74\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x6D\x65\x74\x72\x69\x63\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x6D\x65\x74\x72\x69\x63\x3A\x73\x61\x76\x65","\x6D\x65\x74\x72\x69\x63\x3A\x75\x70\x64\x61\x74\x65","\x6D\x65\x74\x72\x69\x63\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x6D\x65\x74\x72\x69\x63","\x69\x64","\x75\x70\x64\x61\x74\x65"];_0x3106[0];const MetricEvents=require(_0x3106[1]);const ReportField=require(_0x3106[3])[_0x3106[2]];var events=[_0x3106[4],_0x3106[5]];exports[_0x3106[6]]= function(_0x77d9x4){for(var _0x77d9x5=0,_0x77d9x6=events[_0x3106[7]];_0x77d9x5< _0x77d9x6;_0x77d9x5++){var _0x77d9x7=events[_0x77d9x5];var _0x77d9x8=createListener(_0x3106[8]+ _0x77d9x7,_0x77d9x4);MetricEvents[_0x3106[9]](_0x77d9x7,_0x77d9x8);_0x77d9x4[_0x3106[9]](_0x3106[10],removeListener(_0x77d9x7,_0x77d9x8))}};function createListener(_0x77d9x7,_0x77d9x4){return function(_0x77d9xa){switch(_0x77d9x7){case _0x3106[12]:_0x77d9x4[_0x3106[11]](_0x77d9x7,_0x77d9xa);break;case _0x3106[13]:updateFields(_0x77d9xa);break;case _0x3106[14]:_0x77d9x4[_0x3106[11]](_0x77d9x7,_0x77d9xa);break;default:}}}function removeListener(_0x77d9x7,_0x77d9x8){return function(){MetricEvents[_0x3106[15]](_0x77d9x7,_0x77d9x8)}}function updateFields(_0x77d9xa){return ReportField[_0x3106[20]]({field:_0x77d9xa[_0x3106[18]]},{where:{MetricId:_0x77d9xa[_0x3106[19]]}})[_0x3106[17]](function(_0x77d9xd){console[_0x3106[16]](_0x77d9xd)})}