Built motion from commit f861bcb808219e66da88ba48b61bddb35224a65e. Version 3.0.0...
[motion-next.git] / server / api / squareRecording / squareRecording.rpc.js
index f0cd611..b58d5fe 100644 (file)
@@ -1 +1 @@
-'use strict';const a727_0x2aec=['info','502122RfKqGN','body','SquareRecording','@config/logger','create','options','CreateSquareRecording','stringify','344170ENHlRZ','catch','133750exSZfA','debug','342307orPbOy','85861zPpuIU','640507LolSrN','then','680854XfercE','raw','error','1FHXkGm','rpc'];const a727_0x6347=function(_0x1397cc,_0x515b47){_0x1397cc=_0x1397cc-0x13d;let _0x2aec8c=a727_0x2aec[_0x1397cc];return _0x2aec8c;};const a727_0x577314=a727_0x6347;(function(_0xf57b42,_0x6117fb){const _0x1a8675=a727_0x6347;while(!![]){try{const _0x581456=parseInt(_0x1a8675(0x148))+-parseInt(_0x1a8675(0x152))+-parseInt(_0x1a8675(0x150))+parseInt(_0x1a8675(0x13f))+parseInt(_0x1a8675(0x142))*parseInt(_0x1a8675(0x145))+parseInt(_0x1a8675(0x13e))+-parseInt(_0x1a8675(0x140));if(_0x581456===_0x6117fb)break;else _0xf57b42['push'](_0xf57b42['shift']());}catch(_0x2a2534){_0xf57b42['push'](_0xf57b42['shift']());}}}(a727_0x2aec,0x784ad));const db=require('@mysqldb')['db'],logger=require(a727_0x577314(0x14b))(a727_0x577314(0x146));exports[a727_0x577314(0x14e)]=function(_0x3dcbc2){const _0x444e40=this;return new Promise(function(_0x2c661e,_0x48caf7){const _0x258956=a727_0x6347;return db[_0x258956(0x14a)][_0x258956(0x14c)](_0x3dcbc2[_0x258956(0x149)],{'raw':_0x3dcbc2[_0x258956(0x14d)]?_0x3dcbc2[_0x258956(0x14d)][_0x258956(0x143)]===undefined?!![]:![]:!![]})[_0x258956(0x141)](function(_0x47bf62){const _0x57e46d=_0x258956;logger[_0x57e46d(0x147)](_0x57e46d(0x14e),_0x3dcbc2),logger[_0x57e46d(0x13d)]('CreateSquareRecording',_0x3dcbc2,JSON[_0x57e46d(0x14f)](_0x47bf62)),_0x2c661e(_0x47bf62);})[_0x258956(0x151)](function(_0x287ac7){const _0x100911=_0x258956;logger['error'](_0x100911(0x14e),_0x287ac7['message'],_0x3dcbc2),_0x48caf7(_0x444e40[_0x100911(0x144)](0x1f4,_0x287ac7['message']));});});};
\ No newline at end of file
+'use strict';const a719_0x36aa=['71458mdIKCA','15sfEYVn','raw','stringify','options','then','25949RvSnLZ','rpc','SquareRecording','message','CreateSquareRecording','@mysqldb','error','debug','134770mNwBWA','78654jLlAJU','16602rOHibc','75388QGgBrF','catch','52776nPFLpI'];const a719_0x67b7=function(_0x173478,_0x3a52d9){_0x173478=_0x173478-0xfe;let _0x36aabf=a719_0x36aa[_0x173478];return _0x36aabf;};const a719_0x1eb757=a719_0x67b7;(function(_0x5315a2,_0x3fde14){const _0x2c2d76=a719_0x67b7;while(!![]){try{const _0x4e4220=-parseInt(_0x2c2d76(0x10c))+-parseInt(_0x2c2d76(0x10e))*-parseInt(_0x2c2d76(0xff))+-parseInt(_0x2c2d76(0x108))+-parseInt(_0x2c2d76(0x109))+parseInt(_0x2c2d76(0x10d))+parseInt(_0x2c2d76(0x10a))+-parseInt(_0x2c2d76(0x107));if(_0x4e4220===_0x3fde14)break;else _0x5315a2['push'](_0x5315a2['shift']());}catch(_0x2e135e){_0x5315a2['push'](_0x5315a2['shift']());}}}(a719_0x36aa,0x3dd5f));const db=require(a719_0x1eb757(0x104))['db'],logger=require('@config/logger')(a719_0x1eb757(0x100));exports[a719_0x1eb757(0x103)]=function(_0x5b2316){const _0x3cdb2c=this;return new Promise(function(_0x456e9e,_0x7877d6){const _0x405470=a719_0x67b7;return db[_0x405470(0x101)]['create'](_0x5b2316['body'],{'raw':_0x5b2316[_0x405470(0x111)]?_0x5b2316[_0x405470(0x111)][_0x405470(0x10f)]===undefined?!![]:![]:!![]})[_0x405470(0xfe)](function(_0x439a9d){const _0x29b1da=_0x405470;logger['info']('CreateSquareRecording',_0x5b2316),logger[_0x29b1da(0x106)](_0x29b1da(0x103),_0x5b2316,JSON[_0x29b1da(0x110)](_0x439a9d)),_0x456e9e(_0x439a9d);})[_0x405470(0x10b)](function(_0x9dc91b){const _0xab6c7f=_0x405470;logger['error'](_0xab6c7f(0x103),_0x9dc91b[_0xab6c7f(0x102)],_0x5b2316),_0x7877d6(_0x3cdb2c[_0xab6c7f(0x105)](0x1f4,_0x9dc91b[_0xab6c7f(0x102)]));});});};
\ No newline at end of file