9b262e78b1daf0f19a146c097b0fbede65687642
[motion.git] / server / config / ami / utils.js
1 var _0xb368=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x41\x4D\x49\x55\x54\x49\x4C\x20\x50\x72\x75\x6E\x65\x20\x65\x72\x72\x6F\x72\x3A","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x41\x67\x65\x6E\x74\x20","\x6E\x61\x6D\x65","\x20\x70\x72\x75\x6E\x65\x64\x20\x66\x72\x6F\x6D\x20\x72\x65\x61\x6C\x74\x69\x6D\x65\x20\x63\x61\x63\x68\x65\x21","\x6C\x6F\x67","\x74\x68\x65\x6E","\x43\x6F\x6D\x6D\x61\x6E\x64","\x73\x69\x70\x20\x70\x72\x75\x6E\x65\x20\x72\x65\x61\x6C\x74\x69\x6D\x65\x20"];_0xb368[0];module[_0xb368[1]]= {isWaiting:function(_0x7821x1){return !_0x7821x1[_0xb368[2]]},isActive:function(_0x7821x1){return _0x7821x1[_0xb368[3]]=== 0&& _0x7821x1[_0xb368[4]]=== 0&& _0x7821x1[_0xb368[5]]=== 0&& _0x7821x1[_0xb368[2]]},isCompleted:function(_0x7821x1){return _0x7821x1[_0xb368[5]]=== 1},isAbandoned:function(_0x7821x1){return _0x7821x1[_0xb368[4]]=== 1},isUnmanaged:function(_0x7821x1){return _0x7821x1[_0xb368[3]]=== 1},prune:function(_0x7821x2,_0x7821x3){return _0x7821x2({action:_0xb368[14],command:_0xb368[15]+ _0x7821x3[_0xb368[10]]})[_0xb368[13]](function(_0x7821x5){_0x7821x5&& console[_0xb368[12]](_0xb368[9]+ _0x7821x3[_0xb368[10]]+ _0xb368[11])})[_0xb368[8]](function(_0x7821x4){console[_0xb368[7]](_0xb368[6],_0x7821x4)})}}