Built motion from commit 420f8c692.|1.0.30
[motion.git] / server / config / ami / utils.js
1 var _0xd30d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x61\x6D\x69","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\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","\x64\x65\x62\x75\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"];_0xd30d[0];var logger=require(_0xd30d[2])(_0xd30d[1]);module[_0xd30d[3]]= {isWaiting:function(_0xd494x2){return !_0xd494x2[_0xd30d[4]]},isActive:function(_0xd494x2){return _0xd494x2[_0xd30d[5]]=== 0&& _0xd494x2[_0xd30d[6]]=== 0&& _0xd494x2[_0xd30d[7]]=== 0&& _0xd494x2[_0xd30d[4]]},isCompleted:function(_0xd494x2){return _0xd494x2[_0xd30d[7]]=== 1},isAbandoned:function(_0xd494x2){return _0xd494x2[_0xd30d[6]]=== 1},isUnmanaged:function(_0xd494x2){return _0xd494x2[_0xd30d[5]]=== 1},prune:function(_0xd494x3,_0xd494x4){return _0xd494x3({action:_0xd30d[16],command:_0xd30d[17]+ _0xd494x4[_0xd30d[12]]})[_0xd30d[15]](function(_0xd494x6){_0xd494x6&& logger[_0xd30d[14]](_0xd30d[11]+ _0xd494x4[_0xd30d[12]]+ _0xd30d[13])})[_0xd30d[10]](function(_0xd494x5){logger[_0xd30d[9]](_0xd30d[8],_0xd494x5)})}}