Built motion from commit ab2cbc7.|0.0.98
[motion.git] / server / api / ami / ami.ami.js
1 var _0xe3bf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x73\x79\x6E\x63","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x6D\x69","\x61\x63\x74\x69\x6F\x6E","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x6D\x65\x72\x67\x65","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x41\x73\x74\x65\x72\x69\x73\x6B\x20\x4D\x61\x6E\x61\x67\x65\x72\x20\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x2E\x2E"];_0xe3bf[0];var Ami=require(_0xe3bf[2])[_0xe3bf[1]];var async=require(_0xe3bf[3]);var _=require(_0xe3bf[4]);var ami=null;exports[_0xe3bf[5]]=function(ami){this[_0xe3bf[6]]=ami};exports[_0xe3bf[7]]=function(_0x5601x5,_0x5601x6){if(this[_0xe3bf[6]]&&this[_0xe3bf[6]][_0xe3bf[8]]()){this[_0xe3bf[6]][_0xe3bf[7]](_0x5601x5,function(_0x5601x7,_0x5601x8){if(_0x5601x7){_0x5601x6(_0x5601x7)};var _0x5601x9=_[_0xe3bf[9]](_0x5601x8,_0x5601x5);Ami[_0xe3bf[12]](_0x5601x9)[_0xe3bf[11]](function(ami){_0x5601x6(null,ami)})[_0xe3bf[10]](function(_0x5601x7){return _0x5601x6(_0x5601x7)})})}else {_0x5601x6( new Error(_0xe3bf[13]))}}