1 var _0xeb7f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x54\x72\x75\x6E\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x65\x78\x70\x6F\x72\x74\x73","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x73\x74\x61\x74\x75\x73","\x72\x65\x73\x6F\x6C\x76\x65","\x54\x72\x75\x6E\x6B\x20\x2D\x20\x72\x65\x67\x69\x73\x74\x72\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x64\x6F\x6D\x61\x69\x6E","\x75\x70\x64\x61\x74\x65","\x54\x72\x75\x6E\x6B\x20\x2D\x20\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x2F","\x73\x70\x6C\x69\x74","\x70\x65\x65\x72"];_0xeb7f[0];var BPromise=require(_0xeb7f[1]);var Trunk=require(_0xeb7f[3])[_0xeb7f[2]];var logger=require(_0xeb7f[5])(_0xeb7f[4]);var trunkStates={};module[_0xeb7f[6]]= function(){return {registry:function(_0x352dx5){return function(_0x352dx6){if(trunkStates[_0x352dx5[_0xeb7f[7]]]&& trunkStates[_0x352dx5[_0xeb7f[7]]]=== _0x352dx5[_0xeb7f[8]]){return BPromise[_0xeb7f[9]]()}else {trunkStates[_0x352dx5[_0xeb7f[7]]]= _0x352dx5[_0xeb7f[8]]};return Trunk[_0xeb7f[14]]({status:_0x352dx5[_0xeb7f[8]]},{where:{defaultuser:_0x352dx5[_0xeb7f[7]],host:_0x352dx5[_0xeb7f[13]],active:true},individualHooks:true,raw:true})[_0xeb7f[12]](function(_0x352dx7){logger[_0xeb7f[11]](_0xeb7f[10],_0x352dx7)})}},peerstatus:function(_0x352dx5){return function(_0x352dx6){return Trunk[_0xeb7f[14]]({peerstatus:_0x352dx5[_0xeb7f[16]]},{where:{name:_0x352dx5[_0xeb7f[19]][_0xeb7f[18]](_0xeb7f[17])[1]},individualHooks:true,raw:true})[_0xeb7f[12]](function(_0x352dx7){logger[_0xeb7f[11]](_0xeb7f[15],_0x352dx7)})}}}}