Built motion from commit 445c00a.|0.0.50
[motion.git] / server / api / jscripty_log / jscripty_log.controller.js
index 36b33d6..ac92dc8 100644 (file)
@@ -1 +1 @@
-var _0x48be=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4A\x73\x63\x72\x69\x70\x74\x79\x4C\x6F\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x48be[0];var _=require(_0x48be[1]);var JscriptyLog=require(_0x48be[3])[_0x48be[2]];function handleError(_0x5268x4,_0x5268x5){_0x5268x5=_0x5268x5||500;return function(_0x5268x6){_0x5268x4[_0x48be[5]](_0x5268x5)[_0x48be[4]](_0x5268x6)}}function responseWithResult(_0x5268x4,_0x5268x5){_0x5268x5=_0x5268x5||200;return function(_0x5268x8){if(_0x5268x8){_0x5268x4[_0x48be[5]](_0x5268x5)[_0x48be[6]](_0x5268x8)}}}function handleEntityNotFound(_0x5268x4){return function(_0x5268x8){if(!_0x5268x8){_0x5268x4[_0x48be[5]](404)[_0x48be[7]]();return null};return _0x5268x8}}function saveUpdates(_0x5268xb){return function(_0x5268x8){return _0x5268x8[_0x48be[9]](_0x5268xb)[_0x48be[8]](function(_0x5268xc){return _0x5268xc})}}function removeEntity(_0x5268x4){return function(_0x5268x8){if(_0x5268x8){return _0x5268x8[_0x48be[10]]()[_0x48be[8]](function(){_0x5268x4[_0x48be[5]](204)[_0x48be[7]]()})}}}exports[_0x48be[11]]=function(_0x5268xe,_0x5268x4){JscriptyLog[_0x48be[13]]()[_0x48be[8]](responseWithResult(_0x5268x4))[_0x48be[12]](handleError(_0x5268x4))};exports[_0x48be[14]]=function(_0x5268xe,_0x5268x4){JscriptyLog[_0x48be[17]](_0x5268xe[_0x48be[16]][_0x48be[15]])[_0x48be[8]](handleEntityNotFound(_0x5268x4))[_0x48be[8]](responseWithResult(_0x5268x4))[_0x48be[12]](handleError(_0x5268x4))};exports[_0x48be[18]]=function(_0x5268xe,_0x5268x4){JscriptyLog[_0x48be[18]](_0x5268xe[_0x48be[19]])[_0x48be[8]](function(_0x5268xf){return _0x5268x4[_0x48be[5]](201)[_0x48be[4]](_0x5268xf)})[_0x48be[12]](function(_0x5268x6){return handleError(_0x5268x4,_0x5268x6)})};exports[_0x48be[20]]=function(_0x5268xe,_0x5268x4){if(_0x5268xe[_0x48be[19]][_0x48be[15]]){delete _0x5268xe[_0x48be[19]][_0x48be[15]]};JscriptyLog[_0x48be[17]](_0x5268xe[_0x48be[16]][_0x48be[15]])[_0x48be[8]](handleEntityNotFound(_0x5268x4))[_0x48be[8]](saveUpdates(_0x5268xe[_0x48be[19]]))[_0x48be[8]](responseWithResult(_0x5268x4))[_0x48be[12]](handleError(_0x5268x4))};exports[_0x48be[10]]=function(_0x5268xe,_0x5268x4){JscriptyLog[_0x48be[17]](_0x5268xe[_0x48be[16]][_0x48be[15]])[_0x48be[8]](handleEntityNotFound(_0x5268x4))[_0x48be[8]](removeEntity(_0x5268x4))[_0x48be[12]](handleError(_0x5268x4))}
\ No newline at end of file
+var _0x1e6a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4A\x73\x63\x72\x69\x70\x74\x79\x4C\x6F\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x1e6a[0];var _=require(_0x1e6a[1]);var JscriptyLog=require(_0x1e6a[3])[_0x1e6a[2]];function handleError(_0x63cfx4,_0x63cfx5){_0x63cfx5=_0x63cfx5||500;return function(_0x63cfx6){_0x63cfx4[_0x1e6a[5]](_0x63cfx5)[_0x1e6a[4]](_0x63cfx6)}}function responseWithResult(_0x63cfx4,_0x63cfx5){_0x63cfx5=_0x63cfx5||200;return function(_0x63cfx8){if(_0x63cfx8){_0x63cfx4[_0x1e6a[5]](_0x63cfx5)[_0x1e6a[6]](_0x63cfx8)}}}function handleEntityNotFound(_0x63cfx4){return function(_0x63cfx8){if(!_0x63cfx8){_0x63cfx4[_0x1e6a[5]](404)[_0x1e6a[7]]();return null};return _0x63cfx8}}function saveUpdates(_0x63cfxb){return function(_0x63cfx8){return _0x63cfx8[_0x1e6a[9]](_0x63cfxb)[_0x1e6a[8]](function(_0x63cfxc){return _0x63cfxc})}}function removeEntity(_0x63cfx4){return function(_0x63cfx8){if(_0x63cfx8){return _0x63cfx8[_0x1e6a[10]]()[_0x1e6a[8]](function(){_0x63cfx4[_0x1e6a[5]](204)[_0x1e6a[7]]()})}}}exports[_0x1e6a[11]]=function(_0x63cfxe,_0x63cfx4){JscriptyLog[_0x1e6a[13]]()[_0x1e6a[8]](responseWithResult(_0x63cfx4))[_0x1e6a[12]](handleError(_0x63cfx4))};exports[_0x1e6a[14]]=function(_0x63cfxe,_0x63cfx4){JscriptyLog[_0x1e6a[17]](_0x63cfxe[_0x1e6a[16]][_0x1e6a[15]])[_0x1e6a[8]](handleEntityNotFound(_0x63cfx4))[_0x1e6a[8]](responseWithResult(_0x63cfx4))[_0x1e6a[12]](handleError(_0x63cfx4))};exports[_0x1e6a[18]]=function(_0x63cfxe,_0x63cfx4){JscriptyLog[_0x1e6a[18]](_0x63cfxe[_0x1e6a[19]])[_0x1e6a[8]](function(_0x63cfxf){return _0x63cfx4[_0x1e6a[5]](201)[_0x1e6a[4]](_0x63cfxf)})[_0x1e6a[12]](function(_0x63cfx6){return handleError(_0x63cfx4,_0x63cfx6)})};exports[_0x1e6a[20]]=function(_0x63cfxe,_0x63cfx4){if(_0x63cfxe[_0x1e6a[19]][_0x1e6a[15]]){delete _0x63cfxe[_0x1e6a[19]][_0x1e6a[15]]};JscriptyLog[_0x1e6a[17]](_0x63cfxe[_0x1e6a[16]][_0x1e6a[15]])[_0x1e6a[8]](handleEntityNotFound(_0x63cfx4))[_0x1e6a[8]](saveUpdates(_0x63cfxe[_0x1e6a[19]]))[_0x1e6a[8]](responseWithResult(_0x63cfx4))[_0x1e6a[12]](handleError(_0x63cfx4))};exports[_0x1e6a[10]]=function(_0x63cfxe,_0x63cfx4){JscriptyLog[_0x1e6a[17]](_0x63cfxe[_0x1e6a[16]][_0x1e6a[15]])[_0x1e6a[8]](handleEntityNotFound(_0x63cfx4))[_0x1e6a[8]](removeEntity(_0x63cfx4))[_0x1e6a[12]](handleError(_0x63cfx4))}
\ No newline at end of file