Built motion from commit c31a9a1.|1.0.15
[motion.git] / server / api / report_square / report_square.controller.js
index a0237f2..3cb49a0 100644 (file)
@@ -1 +1 @@
-var _0xdeb2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x66\x69\x6E\x64\x4F\x6E\x65"];_0xdeb2[0];var _=require(_0xdeb2[1]);var ReportSquare=require(_0xdeb2[3])[_0xdeb2[2]];var ReportSquareHistory=require(_0xdeb2[3])[_0xdeb2[5]][_0xdeb2[4]];var Util=require(_0xdeb2[6]);exports[_0xdeb2[7]]= function(_0x8192x5,_0x8192x6,_0x8192x7){return generalIndex(_0x8192x5,_0x8192x6,_0x8192x7)};exports[_0xdeb2[8]]= function(_0x8192x5,_0x8192x6,_0x8192x7){return generalIndex(_0x8192x5,_0x8192x6,_0x8192x7,{leaveAt:null})};function generalIndex(_0x8192x5,_0x8192x6,_0x8192x7,_0x8192x9){return ReportSquare[_0xdeb2[15]](Util[_0xdeb2[14]](_0x8192x5[_0xdeb2[13]],_0x8192x9|| {}))[_0xdeb2[12]](function(_0x8192xb){return _0x8192x6[_0xdeb2[11]](200)[_0xdeb2[10]](_0x8192xb)})[_0xdeb2[9]](function(_0x8192xa){return handleError(_0x8192x6,_0x8192xa)})}exports[_0xdeb2[16]]= function(_0x8192x5,_0x8192x6){return ReportSquareHistory[_0xdeb2[16]]()[_0xdeb2[12]](function(_0x8192xc){return _0x8192x6[_0xdeb2[11]](200)[_0xdeb2[10]](_0x8192xc)})[_0xdeb2[9]](function(_0x8192xa){return handleError(_0x8192x6,_0x8192xa)})};exports[_0xdeb2[17]]= function(_0x8192x5,_0x8192x6){return ReportSquare[_0xdeb2[20]]({where:{uniqueid:_0x8192x5[_0xdeb2[13]][_0xdeb2[19]]}})[_0xdeb2[12]](function(_0x8192xd){if(_0x8192xd){return _0x8192xd};return ReportSquareHistory[_0xdeb2[20]]({where:{uniqueid:_0x8192x5[_0xdeb2[13]][_0xdeb2[19]]}})})[_0xdeb2[12]](function(_0x8192xd){if(!_0x8192xd){return _0x8192x6[_0xdeb2[18]](404)};return _0x8192x6[_0xdeb2[11]](200)[_0xdeb2[10]](_0x8192xd)})[_0xdeb2[9]](function(_0x8192xa){return handleError(_0x8192x6,_0x8192xa)})};function handleError(_0x8192x6,_0x8192xa){return _0x8192x6[_0xdeb2[11]](500)[_0xdeb2[10]](_0x8192xa)}
\ No newline at end of file
+var _0x9ed8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x66\x69\x6E\x64\x4F\x6E\x65"];_0x9ed8[0];var _=require(_0x9ed8[1]);var ReportSquare=require(_0x9ed8[3])[_0x9ed8[2]];var ReportSquareHistory=require(_0x9ed8[3])[_0x9ed8[5]][_0x9ed8[4]];var Util=require(_0x9ed8[6]);exports[_0x9ed8[7]]= function(_0xbf5bx5,_0xbf5bx6,_0xbf5bx7){return generalIndex(_0xbf5bx5,_0xbf5bx6,_0xbf5bx7)};exports[_0x9ed8[8]]= function(_0xbf5bx5,_0xbf5bx6,_0xbf5bx7){return generalIndex(_0xbf5bx5,_0xbf5bx6,_0xbf5bx7,{leaveAt:null})};function generalIndex(_0xbf5bx5,_0xbf5bx6,_0xbf5bx7,_0xbf5bx9){return ReportSquare[_0x9ed8[15]](Util[_0x9ed8[14]](_0xbf5bx5[_0x9ed8[13]],_0xbf5bx9|| {}))[_0x9ed8[12]](function(_0xbf5bxb){return _0xbf5bx6[_0x9ed8[11]](200)[_0x9ed8[10]](_0xbf5bxb)})[_0x9ed8[9]](function(_0xbf5bxa){return handleError(_0xbf5bx6,_0xbf5bxa)})}exports[_0x9ed8[16]]= function(_0xbf5bx5,_0xbf5bx6){return ReportSquareHistory[_0x9ed8[16]]()[_0x9ed8[12]](function(_0xbf5bxc){return _0xbf5bx6[_0x9ed8[11]](200)[_0x9ed8[10]](_0xbf5bxc)})[_0x9ed8[9]](function(_0xbf5bxa){return handleError(_0xbf5bx6,_0xbf5bxa)})};exports[_0x9ed8[17]]= function(_0xbf5bx5,_0xbf5bx6){return ReportSquare[_0x9ed8[20]]({where:{uniqueid:_0xbf5bx5[_0x9ed8[13]][_0x9ed8[19]]}})[_0x9ed8[12]](function(_0xbf5bxd){if(_0xbf5bxd){return _0xbf5bxd};return ReportSquareHistory[_0x9ed8[20]]({where:{uniqueid:_0xbf5bx5[_0x9ed8[13]][_0x9ed8[19]]}})})[_0x9ed8[12]](function(_0xbf5bxd){if(!_0xbf5bxd){return _0xbf5bx6[_0x9ed8[18]](404)};return _0xbf5bx6[_0x9ed8[11]](200)[_0x9ed8[10]](_0xbf5bxd)})[_0x9ed8[9]](function(_0xbf5bxa){return handleError(_0xbf5bx6,_0xbf5bxa)})};function handleError(_0xbf5bx6,_0xbf5bxa){return _0xbf5bx6[_0x9ed8[11]](500)[_0x9ed8[10]](_0xbf5bxa)}
\ No newline at end of file