Built motion from commit d13e3c905.|1.0.24
[motion.git] / server / config / agi / lib / connection.js
index 73bad6e..37c4c46 100644 (file)
@@ -1 +1 @@
-var _0xf61d=["\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"];_0xf61d[0];var AGIChannel=require(_0xf61d[1]);var AGIConnection=function(_0xfcd5x3,_0xfcd5x4){this[_0xf61d[2]]= _0xfcd5x4;this[_0xf61d[3]]= _0xfcd5x3;this[_0xf61d[4]]= _0xf61d[5];this[_0xf61d[2]][_0xf61d[9]](_0xf61d[6],this[_0xf61d[8]][_0xf61d[7]](this));this[_0xf61d[2]][_0xf61d[9]](_0xf61d[10],this[_0xf61d[11]][_0xf61d[7]](this))};AGIConnection[_0xf61d[12]][_0xf61d[8]]= function(_0xfcd5x5){var _0xfcd5x6=this;_0xfcd5x5= _0xfcd5x5.toString(_0xf61d[13]);if(_0xfcd5x5[_0xf61d[15]](_0xf61d[14])=== 0){if(this[_0xf61d[16]]){this[_0xf61d[16]](_0xf61d[17])};return};if(this[_0xf61d[16]]){this[_0xf61d[16]](_0xfcd5x5[_0xf61d[18]]())}else {this[_0xf61d[4]]+= _0xfcd5x5;if(this[_0xf61d[4]][_0xf61d[15]](_0xf61d[19])>= 0){this[_0xf61d[20]]= this[_0xf61d[21]](this[_0xf61d[4]]);var _0xfcd5x7= new AGIChannel(this[_0xf61d[20]],this[_0xf61d[3]]);this[_0xf61d[16]]= _0xfcd5x7[_0xf61d[22]][_0xf61d[7]](_0xfcd5x7);_0xfcd5x7[_0xf61d[9]](_0xf61d[20],this[_0xf61d[23]][_0xf61d[7]](this));_0xfcd5x7[_0xf61d[9]](_0xf61d[24],this[_0xf61d[25]][_0xf61d[7]](this));_0xfcd5x7[_0xf61d[9]](_0xf61d[26],this[_0xf61d[27]][_0xf61d[7]](this));_0xfcd5x7[_0xf61d[9]](_0xf61d[28],this[_0xf61d[29]][_0xf61d[7]](this))}}};AGIConnection[_0xf61d[12]][_0xf61d[11]]= function(){console[_0xf61d[31]](_0xf61d[30]);if(this[_0xf61d[16]]){this[_0xf61d[16]](_0xf61d[17])};this[_0xf61d[32]]()};AGIConnection[_0xf61d[12]][_0xf61d[23]]= function(_0xfcd5x8){console[_0xf61d[31]](_0xf61d[33],_0xfcd5x8);if(this[_0xf61d[2]]){this[_0xf61d[2]][_0xf61d[35]](_0xfcd5x8+ _0xf61d[34])}};AGIConnection[_0xf61d[12]][_0xf61d[29]]= function(_0xfcd5x9){console[_0xf61d[28]](_0xf61d[36],_0xfcd5x9);this[_0xf61d[32]]()};AGIConnection[_0xf61d[12]][_0xf61d[27]]= function(){console[_0xf61d[31]](_0xf61d[37]);this[_0xf61d[32]]()};AGIConnection[_0xf61d[12]][_0xf61d[25]]= function(){console[_0xf61d[31]](_0xf61d[38])};AGIConnection[_0xf61d[12]][_0xf61d[32]]= function(){console[_0xf61d[31]](_0xf61d[39]);if(this[_0xf61d[2]]){this[_0xf61d[2]][_0xf61d[32]]();this[_0xf61d[2]]= null}};AGIConnection[_0xf61d[12]][_0xf61d[21]]= function(_0xfcd5xa){var _0xfcd5xb={};var _0xfcd5x5=_0xfcd5xa.toString();_0xfcd5x5[_0xf61d[40]](_0xf61d[34])[_0xf61d[44]](function(_0xfcd5xc){var _0xfcd5xd=_0xfcd5xc[_0xf61d[40]](/:\s?/);if(_0xfcd5xd[_0xf61d[41]]=== 2){var _0xfcd5xe=_0xfcd5xd[0][_0xf61d[18]]();if(_0xfcd5xe[_0xf61d[15]](_0xf61d[42])=== 0){_0xfcd5xe= _0xfcd5xe[_0xf61d[43]](4)};var _0xfcd5xf=_0xfcd5xd[1][_0xf61d[18]]();_0xfcd5xb[_0xfcd5xe]= _0xfcd5xf}});return _0xfcd5xb};module[_0xf61d[45]]= AGIConnection
\ No newline at end of file
+var _0xbf83=["\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"];_0xbf83[0];var AGIChannel=require(_0xbf83[1]);var logger=require(_0xbf83[3])(_0xbf83[2]);var AGIConnection=function(_0xde3dx4,_0xde3dx5){this[_0xbf83[4]]= _0xde3dx5;this[_0xbf83[5]]= _0xde3dx4;this[_0xbf83[6]]= _0xbf83[7];this[_0xbf83[4]][_0xbf83[11]](_0xbf83[8],this[_0xbf83[10]][_0xbf83[9]](this));this[_0xbf83[4]][_0xbf83[11]](_0xbf83[12],this[_0xbf83[13]][_0xbf83[9]](this))};AGIConnection[_0xbf83[14]][_0xbf83[10]]= function(_0xde3dx6){var _0xde3dx7=this;_0xde3dx6= _0xde3dx6.toString(_0xbf83[15]);if(_0xde3dx6[_0xbf83[17]](_0xbf83[16])=== 0){if(this[_0xbf83[18]]){this[_0xbf83[18]](_0xbf83[19])};return};if(this[_0xbf83[18]]){this[_0xbf83[18]](_0xde3dx6[_0xbf83[20]]())}else {this[_0xbf83[6]]+= _0xde3dx6;if(this[_0xbf83[6]][_0xbf83[17]](_0xbf83[21])>= 0){this[_0xbf83[22]]= this[_0xbf83[23]](this[_0xbf83[6]]);var _0xde3dx8= new AGIChannel(this[_0xbf83[22]],this[_0xbf83[5]]);this[_0xbf83[18]]= _0xde3dx8[_0xbf83[24]][_0xbf83[9]](_0xde3dx8);_0xde3dx8[_0xbf83[11]](_0xbf83[22],this[_0xbf83[25]][_0xbf83[9]](this));_0xde3dx8[_0xbf83[11]](_0xbf83[26],this[_0xbf83[27]][_0xbf83[9]](this));_0xde3dx8[_0xbf83[11]](_0xbf83[28],this[_0xbf83[29]][_0xbf83[9]](this));_0xde3dx8[_0xbf83[11]](_0xbf83[30],this[_0xbf83[31]][_0xbf83[9]](this))}}};AGIConnection[_0xbf83[14]][_0xbf83[13]]= function(){logger[_0xbf83[33]](_0xbf83[32]);if(this[_0xbf83[18]]){this[_0xbf83[18]](_0xbf83[19])};this[_0xbf83[34]]()};AGIConnection[_0xbf83[14]][_0xbf83[25]]= function(_0xde3dx9){logger[_0xbf83[33]](_0xbf83[35],_0xde3dx9);if(this[_0xbf83[4]]){this[_0xbf83[4]][_0xbf83[37]](_0xde3dx9+ _0xbf83[36])}};AGIConnection[_0xbf83[14]][_0xbf83[31]]= function(_0xde3dxa){logger[_0xbf83[30]](_0xbf83[38],_0xde3dxa);this[_0xbf83[34]]()};AGIConnection[_0xbf83[14]][_0xbf83[29]]= function(){logger[_0xbf83[33]](_0xbf83[39]);this[_0xbf83[34]]()};AGIConnection[_0xbf83[14]][_0xbf83[27]]= function(){logger[_0xbf83[33]](_0xbf83[40])};AGIConnection[_0xbf83[14]][_0xbf83[34]]= function(){logger[_0xbf83[33]](_0xbf83[41]);if(this[_0xbf83[4]]){this[_0xbf83[4]][_0xbf83[34]]();this[_0xbf83[4]]= null}};AGIConnection[_0xbf83[14]][_0xbf83[23]]= function(_0xde3dxb){var _0xde3dxc={};var _0xde3dx6=_0xde3dxb.toString();_0xde3dx6[_0xbf83[42]](_0xbf83[36])[_0xbf83[46]](function(_0xde3dxd){var _0xde3dxe=_0xde3dxd[_0xbf83[42]](/:\s?/);if(_0xde3dxe[_0xbf83[43]]=== 2){var _0xde3dxf=_0xde3dxe[0][_0xbf83[20]]();if(_0xde3dxf[_0xbf83[17]](_0xbf83[44])=== 0){_0xde3dxf= _0xde3dxf[_0xbf83[45]](4)};var _0xde3dx10=_0xde3dxe[1][_0xbf83[20]]();_0xde3dxc[_0xde3dxf]= _0xde3dx10}});return _0xde3dxc};module[_0xbf83[47]]= AGIConnection
\ No newline at end of file