Built motion from commit 78ef1e9a0.|1.0.36
[motion.git] / server / config / agi / lib / connection.js
index 8fb5ed5..ff77bb3 100644 (file)
@@ -1 +1 @@
-var _0xec4b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x6E\x6E\x65\x6C","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x6D\x61\x70\x70\x65\x72","\x62\x75\x66\x66\x65\x72","","\x64\x61\x74\x61","\x62\x69\x6E\x64","\x68\x61\x6E\x64\x6C\x65\x44\x61\x74\x61","\x6F\x6E","\x65\x6E\x64","\x68\x61\x6E\x64\x6C\x65\x45\x6E\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x75\x74\x66\x38","\x48\x41\x4E\x47\x55\x50","\x69\x6E\x64\x65\x78\x4F\x66","\x68\x61\x6E\x64\x6C\x65\x72","\x68\x61\x6E\x67\x75\x70","\x74\x72\x69\x6D","\x0A\x0A","\x72\x65\x71\x75\x65\x73\x74","\x67\x65\x74\x56\x61\x72\x69\x61\x62\x6C\x65\x73","\x68\x61\x6E\x64\x6C\x65\x52\x65\x70\x6C\x79","\x68\x61\x6E\x64\x6C\x65\x52\x65\x71\x75\x65\x73\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x68\x61\x6E\x64\x6C\x65\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x64\x6F\x6E\x65","\x68\x61\x6E\x64\x6C\x65\x44\x6F\x6E\x65","\x65\x72\x72\x6F\x72","\x68\x61\x6E\x64\x6C\x65\x45\x72\x72\x6F\x72","\x5B\x41\x47\x49\x5D\x20\x45\x6E\x64","\x6C\x6F\x67","\x64\x65\x73\x74\x72\x6F\x79","\x5B\x41\x47\x49\x5D\x20\x52\x65\x71\x75\x65\x73\x74","\x0A","\x77\x72\x69\x74\x65","\x5B\x41\x47\x49\x5D\x20\x45\x72\x72\x6F\x72\x3A","\x5B\x41\x47\x49\x5D\x20\x44\x6F\x6E\x65","\x5B\x41\x47\x49\x5D\x20\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x5B\x41\x47\x49\x5D\x20\x44\x65\x73\x74\x72\x6F\x79","\x73\x70\x6C\x69\x74","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x69\x5F","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x66\x6F\x72\x45\x61\x63\x68","\x65\x78\x70\x6F\x72\x74\x73"];_0xec4b[0];var AGIChannel=require(_0xec4b[1]);var AGIConnection=function(_0x2029x3,_0x2029x4){this[_0xec4b[2]]= _0x2029x4;this[_0xec4b[3]]= _0x2029x3;this[_0xec4b[4]]= _0xec4b[5];this[_0xec4b[2]][_0xec4b[9]](_0xec4b[6],this[_0xec4b[8]][_0xec4b[7]](this));this[_0xec4b[2]][_0xec4b[9]](_0xec4b[10],this[_0xec4b[11]][_0xec4b[7]](this))};AGIConnection[_0xec4b[12]][_0xec4b[8]]= function(_0x2029x5){var _0x2029x6=this;_0x2029x5= _0x2029x5.toString(_0xec4b[13]);if(_0x2029x5[_0xec4b[15]](_0xec4b[14])=== 0){if(this[_0xec4b[16]]){this[_0xec4b[16]](_0xec4b[17])};return};if(this[_0xec4b[16]]){this[_0xec4b[16]](_0x2029x5[_0xec4b[18]]())}else {this[_0xec4b[4]]+= _0x2029x5;if(this[_0xec4b[4]][_0xec4b[15]](_0xec4b[19])>= 0){this[_0xec4b[20]]= this[_0xec4b[21]](this[_0xec4b[4]]);var _0x2029x7= new AGIChannel(this[_0xec4b[20]],this[_0xec4b[3]]);this[_0xec4b[16]]= _0x2029x7[_0xec4b[22]][_0xec4b[7]](_0x2029x7);_0x2029x7[_0xec4b[9]](_0xec4b[20],this[_0xec4b[23]][_0xec4b[7]](this));_0x2029x7[_0xec4b[9]](_0xec4b[24],this[_0xec4b[25]][_0xec4b[7]](this));_0x2029x7[_0xec4b[9]](_0xec4b[26],this[_0xec4b[27]][_0xec4b[7]](this));_0x2029x7[_0xec4b[9]](_0xec4b[28],this[_0xec4b[29]][_0xec4b[7]](this))}}};AGIConnection[_0xec4b[12]][_0xec4b[11]]= function(){console[_0xec4b[31]](_0xec4b[30]);if(this[_0xec4b[16]]){this[_0xec4b[16]](_0xec4b[17])};this[_0xec4b[32]]()};AGIConnection[_0xec4b[12]][_0xec4b[23]]= function(_0x2029x8){console[_0xec4b[31]](_0xec4b[33],_0x2029x8);if(this[_0xec4b[2]]){this[_0xec4b[2]][_0xec4b[35]](_0x2029x8+ _0xec4b[34])}};AGIConnection[_0xec4b[12]][_0xec4b[29]]= function(_0x2029x9){console[_0xec4b[28]](_0xec4b[36],_0x2029x9);this[_0xec4b[32]]()};AGIConnection[_0xec4b[12]][_0xec4b[27]]= function(){console[_0xec4b[31]](_0xec4b[37]);this[_0xec4b[32]]()};AGIConnection[_0xec4b[12]][_0xec4b[25]]= function(){console[_0xec4b[31]](_0xec4b[38])};AGIConnection[_0xec4b[12]][_0xec4b[32]]= function(){console[_0xec4b[31]](_0xec4b[39]);if(this[_0xec4b[2]]){this[_0xec4b[2]][_0xec4b[32]]();this[_0xec4b[2]]= null}};AGIConnection[_0xec4b[12]][_0xec4b[21]]= function(_0x2029xa){var _0x2029xb={};var _0x2029x5=_0x2029xa.toString();_0x2029x5[_0xec4b[40]](_0xec4b[34])[_0xec4b[44]](function(_0x2029xc){var _0x2029xd=_0x2029xc[_0xec4b[40]](/:\s?/);if(_0x2029xd[_0xec4b[41]]=== 2){var _0x2029xe=_0x2029xd[0][_0xec4b[18]]();if(_0x2029xe[_0xec4b[15]](_0xec4b[42])=== 0){_0x2029xe= _0x2029xe[_0xec4b[43]](4)};var _0x2029xf=_0x2029xd[1][_0xec4b[18]]();_0x2029xb[_0x2029xe]= _0x2029xf}});return _0x2029xb};module[_0xec4b[45]]= AGIConnection
\ No newline at end of file
+var _0xa09e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x6E\x6E\x65\x6C","\x61\x67\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x6D\x61\x70\x70\x65\x72","\x62\x75\x66\x66\x65\x72","","\x64\x61\x74\x61","\x62\x69\x6E\x64","\x68\x61\x6E\x64\x6C\x65\x44\x61\x74\x61","\x6F\x6E","\x65\x6E\x64","\x68\x61\x6E\x64\x6C\x65\x45\x6E\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x75\x74\x66\x38","\x48\x41\x4E\x47\x55\x50","\x69\x6E\x64\x65\x78\x4F\x66","\x68\x61\x6E\x64\x6C\x65\x72","\x68\x61\x6E\x67\x75\x70","\x74\x72\x69\x6D","\x0A\x0A","\x72\x65\x71\x75\x65\x73\x74","\x67\x65\x74\x56\x61\x72\x69\x61\x62\x6C\x65\x73","\x68\x61\x6E\x64\x6C\x65\x52\x65\x70\x6C\x79","\x68\x61\x6E\x64\x6C\x65\x52\x65\x71\x75\x65\x73\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x68\x61\x6E\x64\x6C\x65\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x64\x6F\x6E\x65","\x68\x61\x6E\x64\x6C\x65\x44\x6F\x6E\x65","\x65\x72\x72\x6F\x72","\x68\x61\x6E\x64\x6C\x65\x45\x72\x72\x6F\x72","\x45\x6E\x64","\x69\x6E\x66\x6F","\x64\x65\x73\x74\x72\x6F\x79","\x52\x65\x71\x75\x65\x73\x74","\x0A","\x77\x72\x69\x74\x65","\x45\x72\x72\x6F\x72\x3A","\x44\x6F\x6E\x65","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x44\x65\x73\x74\x72\x6F\x79","\x73\x70\x6C\x69\x74","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x69\x5F","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x66\x6F\x72\x45\x61\x63\x68","\x65\x78\x70\x6F\x72\x74\x73"];_0xa09e[0];var AGIChannel=require(_0xa09e[1]);var logger=require(_0xa09e[3])(_0xa09e[2]);var AGIConnection=function(_0x49cex4,_0x49cex5){this[_0xa09e[4]]= _0x49cex5;this[_0xa09e[5]]= _0x49cex4;this[_0xa09e[6]]= _0xa09e[7];this[_0xa09e[4]][_0xa09e[11]](_0xa09e[8],this[_0xa09e[10]][_0xa09e[9]](this));this[_0xa09e[4]][_0xa09e[11]](_0xa09e[12],this[_0xa09e[13]][_0xa09e[9]](this))};AGIConnection[_0xa09e[14]][_0xa09e[10]]= function(_0x49cex6){var _0x49cex7=this;_0x49cex6= _0x49cex6.toString(_0xa09e[15]);if(_0x49cex6[_0xa09e[17]](_0xa09e[16])=== 0){if(this[_0xa09e[18]]){this[_0xa09e[18]](_0xa09e[19])};return};if(this[_0xa09e[18]]){this[_0xa09e[18]](_0x49cex6[_0xa09e[20]]())}else {this[_0xa09e[6]]+= _0x49cex6;if(this[_0xa09e[6]][_0xa09e[17]](_0xa09e[21])>= 0){this[_0xa09e[22]]= this[_0xa09e[23]](this[_0xa09e[6]]);var _0x49cex8= new AGIChannel(this[_0xa09e[22]],this[_0xa09e[5]]);this[_0xa09e[18]]= _0x49cex8[_0xa09e[24]][_0xa09e[9]](_0x49cex8);_0x49cex8[_0xa09e[11]](_0xa09e[22],this[_0xa09e[25]][_0xa09e[9]](this));_0x49cex8[_0xa09e[11]](_0xa09e[26],this[_0xa09e[27]][_0xa09e[9]](this));_0x49cex8[_0xa09e[11]](_0xa09e[28],this[_0xa09e[29]][_0xa09e[9]](this));_0x49cex8[_0xa09e[11]](_0xa09e[30],this[_0xa09e[31]][_0xa09e[9]](this))}}};AGIConnection[_0xa09e[14]][_0xa09e[13]]= function(){logger[_0xa09e[33]](_0xa09e[32]);if(this[_0xa09e[18]]){this[_0xa09e[18]](_0xa09e[19])};this[_0xa09e[34]]()};AGIConnection[_0xa09e[14]][_0xa09e[25]]= function(_0x49cex9){logger[_0xa09e[33]](_0xa09e[35],_0x49cex9);if(this[_0xa09e[4]]){this[_0xa09e[4]][_0xa09e[37]](_0x49cex9+ _0xa09e[36])}};AGIConnection[_0xa09e[14]][_0xa09e[31]]= function(_0x49cexa){logger[_0xa09e[30]](_0xa09e[38],_0x49cexa);this[_0xa09e[34]]()};AGIConnection[_0xa09e[14]][_0xa09e[29]]= function(){logger[_0xa09e[33]](_0xa09e[39]);this[_0xa09e[34]]()};AGIConnection[_0xa09e[14]][_0xa09e[27]]= function(){logger[_0xa09e[33]](_0xa09e[40])};AGIConnection[_0xa09e[14]][_0xa09e[34]]= function(){logger[_0xa09e[33]](_0xa09e[41]);if(this[_0xa09e[4]]){this[_0xa09e[4]][_0xa09e[34]]();this[_0xa09e[4]]= null}};AGIConnection[_0xa09e[14]][_0xa09e[23]]= function(_0x49cexb){var _0x49cexc={};var _0x49cex6=_0x49cexb.toString();_0x49cex6[_0xa09e[42]](_0xa09e[36])[_0xa09e[46]](function(_0x49cexd){var _0x49cexe=_0x49cexd[_0xa09e[42]](/:\s?/);if(_0x49cexe[_0xa09e[43]]=== 2){var _0x49cexf=_0x49cexe[0][_0xa09e[20]]();if(_0x49cexf[_0xa09e[17]](_0xa09e[44])=== 0){_0x49cexf= _0x49cexf[_0xa09e[45]](4)};var _0x49cex10=_0x49cexe[1][_0xa09e[20]]();_0x49cexc[_0x49cexf]= _0x49cex10}});return _0x49cexc};module[_0xa09e[47]]= AGIConnection
\ No newline at end of file