Built motion from commit 0630df9.|0.0.136
[motion.git] / server / config / agi / index.js
index 7f3473d..3507ceb 100644 (file)
@@ -1 +1 @@
-var _0x7975=["\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x41\x47\x49\x20\x53\x45\x52\x56\x45\x52\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x65\x78\x69\x74\x20\x74\x69\x6D\x65\x20\x66\x72\x6F\x6D\x20\x49\x56\x52","\x63\x61\x74\x63\x68","\x6C\x65\x61\x76\x65\x41\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x65\x6E\x74\x65\x72\x20\x74\x69\x6D\x65\x20\x66\x6F\x72\x20\x49\x56\x52","\x63\x72\x65\x61\x74\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x3A","\x6E\x6F\x64\x65","\x20\x62\x6C\x6F\x63\x6B\x20\x6C\x6F\x67","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x64\x65\x74\x61\x69\x6C","\x73\x79\x6E\x63\x68","\x66\x6F\x72\x63\x65\x53\x79\x6E\x63\x68","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x73\x6D\x73\x20\x6D\x65\x73\x73\x61\x67\x65","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x53\x6D\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x4D\x61\x69\x6C","\x2F\x61\x67\x69","\x66\x6F\x72\x6B","\x65\x78\x69\x74","\x6B\x69\x6C\x6C","\x6B\x65\x79","\x75\x70\x64\x61\x74\x65\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x6E\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6D\x6F\x64\x65\x6C","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x41\x47\x49\x20\x65\x72\x72\x6F\x72\x20\x6F\x6E\x20\x72\x65\x70\x6C\x61\x63\x69\x6E\x67\x20","\x20\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x72\x65\x70\x6C\x61\x63\x65\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C"];var cp=require(_0x7975[0]);var util=require(_0x7975[1]);var models=require(_0x7975[2]);module[_0x7975[3]]= function(){var _0x72e5x4=cp[_0x7975[34]](__dirname+ _0x7975[33])[_0x7975[5]](_0x7975[10],function(_0x72e5x7){switch(_0x72e5x7[_0x7975[10]]){case _0x7975[15]:return models[_0x7975[16]][_0x7975[15]]({leaveAt:_0x72e5x7[_0x7975[13]]},{where:{uniqueid:_0x72e5x7[_0x7975[14]]},individualHooks:true})[_0x7975[12]](function(_0x72e5x5){console[_0x7975[9]](_0x7975[11],_0x72e5x5)});case _0x7975[18]:delete _0x72e5x7[_0x7975[10]];return models[_0x7975[16]][_0x7975[18]](_0x72e5x7)[_0x7975[12]](function(_0x72e5x5){console[_0x7975[9]](_0x7975[17],_0x72e5x5)});case _0x7975[25]:delete _0x72e5x7[_0x7975[10]];return models[_0x7975[24]][_0x7975[18]](_0x72e5x7)[_0x7975[12]](function(_0x72e5x5){console[_0x7975[9]](_0x7975[19]+ _0x72e5x7[_0x7975[20]]+ _0x7975[21]+ _0x72e5x7[_0x7975[22]]+ _0x7975[23],_0x72e5x5)});case _0x7975[26]:synchCollection(_0x72e5x7,_0x72e5x4);break;case _0x7975[27]:replaceCollection(_0x72e5x7,_0x72e5x4);break;case _0x7975[30]:delete _0x72e5x7[_0x7975[10]];return models[_0x7975[29]][_0x7975[18]](_0x72e5x7)[_0x7975[12]](function(_0x72e5x5){console[_0x7975[9]](_0x7975[28],_0x72e5x5)});case _0x7975[32]:delete _0x72e5x7[_0x7975[10]];return models[_0x7975[31]][_0x7975[18]](_0x72e5x7)[_0x7975[12]](function(_0x72e5x5){console[_0x7975[9]](_0x7975[28],_0x72e5x5)});default:}})[_0x7975[5]](_0x7975[6],function(_0x72e5x6){console[_0x7975[9]](util[_0x7975[8]](_0x7975[7],_0x72e5x6))})[_0x7975[5]](_0x7975[4],function(_0x72e5x5){console[_0x7975[4]](_0x72e5x5)});process[_0x7975[5]](_0x7975[35],function(_0x72e5x6){_0x72e5x4[_0x7975[36]]()})};function synchCollection(_0x72e5x7,_0x72e5x4){var _0x72e5x9={};models[_0x72e5x7[_0x7975[42]]][_0x7975[41]](function(_0x72e5xa){_0x72e5x9[_0x72e5x7[_0x7975[37]]]= _0x72e5xa[_0x72e5x7[_0x7975[37]]];_0x72e5x4[_0x7975[40]]({message:_0x7975[38],collection:_0x72e5x7[_0x7975[39]],condition:_0x72e5x9,doc:_0x72e5xa})});models[_0x72e5x7[_0x7975[42]]][_0x7975[43]](function(_0x72e5xa){_0x72e5x9[_0x72e5x7[_0x7975[37]]]= _0x72e5xa[_0x72e5x7[_0x7975[37]]];_0x72e5x4[_0x7975[40]]({message:_0x7975[38],collection:_0x72e5x7[_0x7975[39]],condition:_0x72e5x9,doc:_0x72e5xa})});models[_0x72e5x7[_0x7975[42]]][_0x7975[45]](function(_0x72e5xa){_0x72e5x9[_0x72e5x7[_0x7975[37]]]= _0x72e5xa[_0x72e5x7[_0x7975[37]]];_0x72e5x4[_0x7975[40]]({message:_0x7975[44],collection:_0x72e5x7[_0x7975[39]],condition:_0x72e5x9})})}function replaceCollection(_0x72e5x7,_0x72e5x4){var _0x72e5x9={};models[_0x72e5x7[_0x7975[42]]][_0x7975[41]](function(_0x72e5xa){getCollection(_0x72e5x7,_0x72e5x4,_0x72e5xa)});models[_0x72e5x7[_0x7975[42]]][_0x7975[43]](function(_0x72e5xa){getCollection(_0x72e5x7,_0x72e5x4,_0x72e5xa)});models[_0x72e5x7[_0x7975[42]]][_0x7975[45]](function(_0x72e5xa){getCollection(_0x72e5x7,_0x72e5x4,_0x72e5xa)})}function getCollection(_0x72e5x7,_0x72e5x4,_0x72e5xa){models[_0x72e5x7[_0x7975[42]]][_0x7975[50]]()[_0x7975[49]](function(_0x72e5xd){_0x72e5x4[_0x7975[40]]({message:_0x7975[48],collection:_0x72e5x7[_0x7975[39]],doc:_0x72e5xd})})[_0x7975[12]](function(_0x72e5x5){console[_0x7975[9]](_0x7975[46],_0x72e5x7[_0x7975[39]],_0x7975[47],_0x72e5x5)})}
\ No newline at end of file
+var _0x7637=["\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x41\x47\x49\x20\x53\x45\x52\x56\x45\x52\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x65\x78\x69\x74\x20\x74\x69\x6D\x65\x20\x66\x72\x6F\x6D\x20\x49\x56\x52","\x63\x61\x74\x63\x68","\x6C\x65\x61\x76\x65\x41\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x65\x6E\x74\x65\x72\x20\x74\x69\x6D\x65\x20\x66\x6F\x72\x20\x49\x56\x52","\x63\x72\x65\x61\x74\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x3A","\x6E\x6F\x64\x65","\x20\x62\x6C\x6F\x63\x6B\x20\x6C\x6F\x67","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x64\x65\x74\x61\x69\x6C","\x73\x79\x6E\x63\x68","\x66\x6F\x72\x63\x65\x53\x79\x6E\x63\x68","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x73\x6D\x73\x20\x6D\x65\x73\x73\x61\x67\x65","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x53\x6D\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x4D\x61\x69\x6C","\x2F\x61\x67\x69","\x66\x6F\x72\x6B","\x65\x78\x69\x74","\x6B\x69\x6C\x6C","\x6B\x65\x79","\x75\x70\x64\x61\x74\x65\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x6E\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6D\x6F\x64\x65\x6C","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x41\x47\x49\x20\x65\x72\x72\x6F\x72\x20\x6F\x6E\x20\x72\x65\x70\x6C\x61\x63\x69\x6E\x67\x20","\x20\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x72\x65\x70\x6C\x61\x63\x65\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C"];var cp=require(_0x7637[0]);var util=require(_0x7637[1]);var models=require(_0x7637[2]);module[_0x7637[3]]= function(){var _0xff33x4=cp[_0x7637[34]](__dirname+ _0x7637[33])[_0x7637[5]](_0x7637[10],function(_0xff33x7){switch(_0xff33x7[_0x7637[10]]){case _0x7637[15]:return models[_0x7637[16]][_0x7637[15]]({leaveAt:_0xff33x7[_0x7637[13]]},{where:{uniqueid:_0xff33x7[_0x7637[14]]},individualHooks:true})[_0x7637[12]](function(_0xff33x5){console[_0x7637[9]](_0x7637[11],_0xff33x5)});case _0x7637[18]:delete _0xff33x7[_0x7637[10]];return models[_0x7637[16]][_0x7637[18]](_0xff33x7)[_0x7637[12]](function(_0xff33x5){console[_0x7637[9]](_0x7637[17],_0xff33x5)});case _0x7637[25]:delete _0xff33x7[_0x7637[10]];return models[_0x7637[24]][_0x7637[18]](_0xff33x7)[_0x7637[12]](function(_0xff33x5){console[_0x7637[9]](_0x7637[19]+ _0xff33x7[_0x7637[20]]+ _0x7637[21]+ _0xff33x7[_0x7637[22]]+ _0x7637[23],_0xff33x5)});case _0x7637[26]:synchCollection(_0xff33x7,_0xff33x4);break;case _0x7637[27]:replaceCollection(_0xff33x7,_0xff33x4);break;case _0x7637[30]:delete _0xff33x7[_0x7637[10]];return models[_0x7637[29]][_0x7637[18]](_0xff33x7)[_0x7637[12]](function(_0xff33x5){console[_0x7637[9]](_0x7637[28],_0xff33x5)});case _0x7637[32]:delete _0xff33x7[_0x7637[10]];return models[_0x7637[31]][_0x7637[18]](_0xff33x7)[_0x7637[12]](function(_0xff33x5){console[_0x7637[9]](_0x7637[28],_0xff33x5)});default:}})[_0x7637[5]](_0x7637[6],function(_0xff33x6){console[_0x7637[9]](util[_0x7637[8]](_0x7637[7],_0xff33x6))})[_0x7637[5]](_0x7637[4],function(_0xff33x5){console[_0x7637[4]](_0xff33x5)});process[_0x7637[5]](_0x7637[35],function(_0xff33x6){_0xff33x4[_0x7637[36]]()})};function synchCollection(_0xff33x7,_0xff33x4){var _0xff33x9={};models[_0xff33x7[_0x7637[42]]][_0x7637[41]](function(_0xff33xa){_0xff33x9[_0xff33x7[_0x7637[37]]]= _0xff33xa[_0xff33x7[_0x7637[37]]];_0xff33x4[_0x7637[40]]({message:_0x7637[38],collection:_0xff33x7[_0x7637[39]],condition:_0xff33x9,doc:_0xff33xa})});models[_0xff33x7[_0x7637[42]]][_0x7637[43]](function(_0xff33xa){_0xff33x9[_0xff33x7[_0x7637[37]]]= _0xff33xa[_0xff33x7[_0x7637[37]]];_0xff33x4[_0x7637[40]]({message:_0x7637[38],collection:_0xff33x7[_0x7637[39]],condition:_0xff33x9,doc:_0xff33xa})});models[_0xff33x7[_0x7637[42]]][_0x7637[45]](function(_0xff33xa){_0xff33x9[_0xff33x7[_0x7637[37]]]= _0xff33xa[_0xff33x7[_0x7637[37]]];_0xff33x4[_0x7637[40]]({message:_0x7637[44],collection:_0xff33x7[_0x7637[39]],condition:_0xff33x9})})}function replaceCollection(_0xff33x7,_0xff33x4){var _0xff33x9={};models[_0xff33x7[_0x7637[42]]][_0x7637[41]](function(_0xff33xa){getCollection(_0xff33x7,_0xff33x4,_0xff33xa)});models[_0xff33x7[_0x7637[42]]][_0x7637[43]](function(_0xff33xa){getCollection(_0xff33x7,_0xff33x4,_0xff33xa)});models[_0xff33x7[_0x7637[42]]][_0x7637[45]](function(_0xff33xa){getCollection(_0xff33x7,_0xff33x4,_0xff33xa)})}function getCollection(_0xff33x7,_0xff33x4,_0xff33xa){models[_0xff33x7[_0x7637[42]]][_0x7637[50]]()[_0x7637[49]](function(_0xff33xd){_0xff33x4[_0x7637[40]]({message:_0x7637[48],collection:_0xff33x7[_0x7637[39]],doc:_0xff33xd})})[_0x7637[12]](function(_0xff33x5){console[_0x7637[9]](_0x7637[46],_0xff33x7[_0x7637[39]],_0x7637[47],_0xff33x5)})}
\ No newline at end of file