1 var _0x193a=["\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"];_0x193a[0];var BPromise=require(_0x193a[1]);var Trunk=require(_0x193a[3])[_0x193a[2]];var logger=require(_0x193a[5])(_0x193a[4]);var trunkStates={};module[_0x193a[6]]= function(){return {registry:function(_0xc3e8x5){return function(_0xc3e8x6){if(trunkStates[_0xc3e8x5[_0x193a[7]]]&& trunkStates[_0xc3e8x5[_0x193a[7]]]=== _0xc3e8x5[_0x193a[8]]){return BPromise[_0x193a[9]]()}else {trunkStates[_0xc3e8x5[_0x193a[7]]]= _0xc3e8x5[_0x193a[8]]};return Trunk[_0x193a[14]]({status:_0xc3e8x5[_0x193a[8]]},{where:{defaultuser:_0xc3e8x5[_0x193a[7]],host:_0xc3e8x5[_0x193a[13]],active:true},individualHooks:true,raw:true})[_0x193a[12]](function(_0xc3e8x7){logger[_0x193a[11]](_0x193a[10],_0xc3e8x7)})}},peerstatus:function(_0xc3e8x5){return function(_0xc3e8x6){return Trunk[_0x193a[14]]({peerstatus:_0xc3e8x5[_0x193a[16]]},{where:{name:_0xc3e8x5[_0x193a[19]][_0x193a[18]](_0x193a[17])[1]},individualHooks:true,raw:true})[_0x193a[12]](function(_0xc3e8x7){logger[_0x193a[11]](_0x193a[15],_0xc3e8x7)})}}}}