Built motion from commit 1038d87.|0.0.141
[motion.git] / server / config / ami / network.js
index 4ec236d..768c725 100644 (file)
@@ -1 +1 @@
-var _0x478a=["\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6C\x6F\x64\x61\x73\x68","\x4E\x65\x74\x77\x6F\x72\x6B\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x45\x72\x72\x6F\x72\x20\x77\x72\x69\x74\x69\x6E\x67\x20\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A","\x63\x61\x74\x63\x68","","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x2E\x63\x6F\x6E\x66","\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x20\x3D\x20\x25\x73\x0A","\x76\x61\x6C\x75\x65","\x66\x6F\x72\x6D\x61\x74","\x66\x6F\x72\x45\x61\x63\x68","\x61\x73\x74\x65\x72\x69\x73\x6B\x43\x6F\x6E\x66","\x6A\x6F\x69\x6E","\x77","\x30\x37\x37\x37","\x4C\x6F\x63\x61\x6C\x6E\x65\x74\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x73\x63\x6F\x70\x65","\x45\x72\x72\x6F\x72\x20\x77\x72\x69\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x72\x6E\x69\x70\x3A","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x2E\x63\x6F\x6E\x66","\x65\x78\x74\x65\x72\x6E\x69\x70\x20\x3D\x20\x25\x73\x0A","\x45\x78\x74\x65\x72\x6E\x69\x70\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x65\x78\x74\x65\x72\x6E\x69\x70","\x54\x79\x70\x65\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A","\x74\x79\x70\x65","\x52\x65\x6C\x6F\x61\x64","\x65\x72\x72\x6F\x72","\x61\x63\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];var NetwokModel=require(_0x478a[1])[_0x478a[0]];var fs=require(_0x478a[2]);var util=require(_0x478a[3]);var path=require(_0x478a[4]);var config=require(_0x478a[5]);var _=require(_0x478a[6]);function Network(_0xb207x8){console[_0x478a[8]](_0x478a[7]);NetwokModel[_0x478a[9]](function(_0xb207x9){networkRewrite(_0xb207x9,_0xb207x8)});NetwokModel[_0x478a[10]](function(_0xb207x9){networkRewrite(_0xb207x9,_0xb207x8)});NetwokModel[_0x478a[11]](function(_0xb207x9){networkRewrite(_0xb207x9,_0xb207x8)})}function networkRewrite(_0xb207x9,_0xb207x8){switch(_0xb207x9[_0x478a[36]]){case _0x478a[28]:return NetwokModel[_0x478a[29]](_0x478a[28])[_0x478a[27]]()[_0x478a[26]](function(_0xb207xc){var _0xb207xd=_0x478a[14];var _0xb207xe=_0x478a[15];_0xb207xc[_0x478a[19]](function(_0xb207xf){_0xb207xd+=util[_0x478a[18]](_0x478a[16],_0xb207xf[_0x478a[17]])});fs[_0x478a[25]](path[_0x478a[21]](config[_0x478a[20]],_0xb207xe),_0xb207xd,{flags:_0x478a[22],mode:parseInt(_0x478a[23],8)},function(_0xb207xb){if(_0xb207xb){throw _0xb207xb};reload(_0xb207x8);console[_0x478a[8]](_0x478a[24])})})[_0x478a[13]](function(_0xb207xb){console[_0x478a[8]](_0x478a[12],_0xb207xb)});case _0x478a[34]:return NetwokModel[_0x478a[29]](_0x478a[34])[_0x478a[27]]()[_0x478a[26]](function(_0xb207x10){var _0xb207x11=_0x478a[14];var _0xb207x12=_0x478a[31];_0xb207x10[_0x478a[19]](function(_0xb207x13){_0xb207x11+=util[_0x478a[18]](_0x478a[32],_0xb207x13[_0x478a[17]])});fs[_0x478a[25]](path[_0x478a[21]](config[_0x478a[20]],_0xb207x12),_0xb207x11,{flags:_0x478a[22],mode:parseInt(_0x478a[23],8)},function(_0xb207xb){if(_0xb207xb){throw _0xb207xb};reload(_0xb207x8);console[_0x478a[8]](_0x478a[33])})})[_0x478a[13]](function(_0xb207xb){console[_0x478a[8]](_0x478a[30],_0xb207xb)});default:console[_0x478a[8]](_0x478a[35],_0xb207x9[_0x478a[36]])}}function reload(_0xb207x8){_0xb207x8[_0x478a[39]]({Action:_0x478a[37]},function(_0xb207xb,_0xb207x15){if(_0xb207xb){console[_0x478a[38]](_0xb207xb)}else {console[_0x478a[8]](_0xb207x15)}})}module[_0x478a[40]]=Network
\ No newline at end of file
+var _0x7405=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x66\x73","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x4E\x65\x74\x77\x6F\x72\x6B\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x45\x72\x72\x6F\x72\x20\x77\x72\x69\x74\x69\x6E\x67\x20\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A","\x63\x61\x74\x63\x68","","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x2E\x63\x6F\x6E\x66","\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x20\x3D\x20\x25\x73\x0A","\x76\x61\x6C\x75\x65","\x66\x6F\x72\x6D\x61\x74","\x66\x6F\x72\x45\x61\x63\x68","\x61\x73\x74\x65\x72\x69\x73\x6B\x43\x6F\x6E\x66","\x6A\x6F\x69\x6E","\x77","\x30\x37\x37\x37","\x4C\x6F\x63\x61\x6C\x6E\x65\x74\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x73\x63\x6F\x70\x65","\x45\x72\x72\x6F\x72\x20\x77\x72\x69\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x72\x6E\x69\x70\x3A","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x2E\x63\x6F\x6E\x66","\x65\x78\x74\x65\x72\x6E\x69\x70\x20\x3D\x20\x25\x73\x0A","\x45\x78\x74\x65\x72\x6E\x69\x70\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x65\x78\x74\x65\x72\x6E\x69\x70","\x54\x79\x70\x65\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A","\x74\x79\x70\x65","\x52\x65\x6C\x6F\x61\x64","\x65\x72\x72\x6F\x72","\x61\x63\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0x7405[0];const _=require(_0x7405[1]);const util=require(_0x7405[2]);const path=require(_0x7405[3]);const fs=require(_0x7405[4]);var NetwokModel=require(_0x7405[6])[_0x7405[5]];var config=require(_0x7405[7]);function Network(_0xd8f6x8){console[_0x7405[9]](_0x7405[8]);NetwokModel[_0x7405[10]](function(_0xd8f6x9){networkRewrite(_0xd8f6x9,_0xd8f6x8)});NetwokModel[_0x7405[11]](function(_0xd8f6x9){networkRewrite(_0xd8f6x9,_0xd8f6x8)});NetwokModel[_0x7405[12]](function(_0xd8f6x9){networkRewrite(_0xd8f6x9,_0xd8f6x8)})}function networkRewrite(_0xd8f6x9,_0xd8f6x8){switch(_0xd8f6x9[_0x7405[37]]){case _0x7405[29]:return NetwokModel[_0x7405[30]](_0x7405[29])[_0x7405[28]]()[_0x7405[27]](function(_0xd8f6xc){var _0xd8f6xd=_0x7405[15];var _0xd8f6xe=_0x7405[16];_0xd8f6xc[_0x7405[20]](function(_0xd8f6xf){_0xd8f6xd+= util[_0x7405[19]](_0x7405[17],_0xd8f6xf[_0x7405[18]])});fs[_0x7405[26]](path[_0x7405[22]](config[_0x7405[21]],_0xd8f6xe),_0xd8f6xd,{flags:_0x7405[23],mode:parseInt(_0x7405[24],8)},function(_0xd8f6xb){if(_0xd8f6xb){throw _0xd8f6xb};reload(_0xd8f6x8);console[_0x7405[9]](_0x7405[25])})})[_0x7405[14]](function(_0xd8f6xb){console[_0x7405[9]](_0x7405[13],_0xd8f6xb)});case _0x7405[35]:return NetwokModel[_0x7405[30]](_0x7405[35])[_0x7405[28]]()[_0x7405[27]](function(_0xd8f6x10){var _0xd8f6x11=_0x7405[15];var _0xd8f6x12=_0x7405[32];_0xd8f6x10[_0x7405[20]](function(_0xd8f6x13){_0xd8f6x11+= util[_0x7405[19]](_0x7405[33],_0xd8f6x13[_0x7405[18]])});fs[_0x7405[26]](path[_0x7405[22]](config[_0x7405[21]],_0xd8f6x12),_0xd8f6x11,{flags:_0x7405[23],mode:parseInt(_0x7405[24],8)},function(_0xd8f6xb){if(_0xd8f6xb){throw _0xd8f6xb};reload(_0xd8f6x8);console[_0x7405[9]](_0x7405[34])})})[_0x7405[14]](function(_0xd8f6xb){console[_0x7405[9]](_0x7405[31],_0xd8f6xb)});default:console[_0x7405[9]](_0x7405[36],_0xd8f6x9[_0x7405[37]])}}function reload(_0xd8f6x8){_0xd8f6x8[_0x7405[40]]({Action:_0x7405[38]},function(_0xd8f6xb,_0xd8f6x15){if(_0xd8f6xb){console[_0x7405[39]](_0xd8f6xb)}else {console[_0x7405[9]](_0xd8f6x15)}})}module[_0x7405[41]]= Network
\ No newline at end of file