Built motion from commit d3d6ca497.|1.0.32
[motion.git] / server / config / agi / lib / connection.js
index b0d2d50..366105c 100644 (file)
@@ -1 +1 @@
-var _0xe2ac=["\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"];_0xe2ac[0];var AGIChannel=require(_0xe2ac[1]);var AGIConnection=function(_0xa10dx3,_0xa10dx4){this[_0xe2ac[2]]= _0xa10dx4;this[_0xe2ac[3]]= _0xa10dx3;this[_0xe2ac[4]]= _0xe2ac[5];this[_0xe2ac[2]][_0xe2ac[9]](_0xe2ac[6],this[_0xe2ac[8]][_0xe2ac[7]](this));this[_0xe2ac[2]][_0xe2ac[9]](_0xe2ac[10],this[_0xe2ac[11]][_0xe2ac[7]](this))};AGIConnection[_0xe2ac[12]][_0xe2ac[8]]= function(_0xa10dx5){var _0xa10dx6=this;_0xa10dx5= _0xa10dx5.toString(_0xe2ac[13]);if(_0xa10dx5[_0xe2ac[15]](_0xe2ac[14])=== 0){if(this[_0xe2ac[16]]){this[_0xe2ac[16]](_0xe2ac[17])};return};if(this[_0xe2ac[16]]){this[_0xe2ac[16]](_0xa10dx5[_0xe2ac[18]]())}else {this[_0xe2ac[4]]+= _0xa10dx5;if(this[_0xe2ac[4]][_0xe2ac[15]](_0xe2ac[19])>= 0){this[_0xe2ac[20]]= this[_0xe2ac[21]](this[_0xe2ac[4]]);var _0xa10dx7= new AGIChannel(this[_0xe2ac[20]],this[_0xe2ac[3]]);this[_0xe2ac[16]]= _0xa10dx7[_0xe2ac[22]][_0xe2ac[7]](_0xa10dx7);_0xa10dx7[_0xe2ac[9]](_0xe2ac[20],this[_0xe2ac[23]][_0xe2ac[7]](this));_0xa10dx7[_0xe2ac[9]](_0xe2ac[24],this[_0xe2ac[25]][_0xe2ac[7]](this));_0xa10dx7[_0xe2ac[9]](_0xe2ac[26],this[_0xe2ac[27]][_0xe2ac[7]](this));_0xa10dx7[_0xe2ac[9]](_0xe2ac[28],this[_0xe2ac[29]][_0xe2ac[7]](this))}}};AGIConnection[_0xe2ac[12]][_0xe2ac[11]]= function(){console[_0xe2ac[31]](_0xe2ac[30]);if(this[_0xe2ac[16]]){this[_0xe2ac[16]](_0xe2ac[17])};this[_0xe2ac[32]]()};AGIConnection[_0xe2ac[12]][_0xe2ac[23]]= function(_0xa10dx8){console[_0xe2ac[31]](_0xe2ac[33],_0xa10dx8);if(this[_0xe2ac[2]]){this[_0xe2ac[2]][_0xe2ac[35]](_0xa10dx8+ _0xe2ac[34])}};AGIConnection[_0xe2ac[12]][_0xe2ac[29]]= function(_0xa10dx9){console[_0xe2ac[28]](_0xe2ac[36],_0xa10dx9);this[_0xe2ac[32]]()};AGIConnection[_0xe2ac[12]][_0xe2ac[27]]= function(){console[_0xe2ac[31]](_0xe2ac[37]);this[_0xe2ac[32]]()};AGIConnection[_0xe2ac[12]][_0xe2ac[25]]= function(){console[_0xe2ac[31]](_0xe2ac[38])};AGIConnection[_0xe2ac[12]][_0xe2ac[32]]= function(){console[_0xe2ac[31]](_0xe2ac[39]);if(this[_0xe2ac[2]]){this[_0xe2ac[2]][_0xe2ac[32]]();this[_0xe2ac[2]]= null}};AGIConnection[_0xe2ac[12]][_0xe2ac[21]]= function(_0xa10dxa){var _0xa10dxb={};var _0xa10dx5=_0xa10dxa.toString();_0xa10dx5[_0xe2ac[40]](_0xe2ac[34])[_0xe2ac[44]](function(_0xa10dxc){var _0xa10dxd=_0xa10dxc[_0xe2ac[40]](/:\s?/);if(_0xa10dxd[_0xe2ac[41]]=== 2){var _0xa10dxe=_0xa10dxd[0][_0xe2ac[18]]();if(_0xa10dxe[_0xe2ac[15]](_0xe2ac[42])=== 0){_0xa10dxe= _0xa10dxe[_0xe2ac[43]](4)};var _0xa10dxf=_0xa10dxd[1][_0xe2ac[18]]();_0xa10dxb[_0xa10dxe]= _0xa10dxf}});return _0xa10dxb};module[_0xe2ac[45]]= AGIConnection
\ No newline at end of file
+var _0x670c=["\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"];_0x670c[0];var AGIChannel=require(_0x670c[1]);var logger=require(_0x670c[3])(_0x670c[2]);var AGIConnection=function(_0x7e09x4,_0x7e09x5){this[_0x670c[4]]= _0x7e09x5;this[_0x670c[5]]= _0x7e09x4;this[_0x670c[6]]= _0x670c[7];this[_0x670c[4]][_0x670c[11]](_0x670c[8],this[_0x670c[10]][_0x670c[9]](this));this[_0x670c[4]][_0x670c[11]](_0x670c[12],this[_0x670c[13]][_0x670c[9]](this))};AGIConnection[_0x670c[14]][_0x670c[10]]= function(_0x7e09x6){var _0x7e09x7=this;_0x7e09x6= _0x7e09x6.toString(_0x670c[15]);if(_0x7e09x6[_0x670c[17]](_0x670c[16])=== 0){if(this[_0x670c[18]]){this[_0x670c[18]](_0x670c[19])};return};if(this[_0x670c[18]]){this[_0x670c[18]](_0x7e09x6[_0x670c[20]]())}else {this[_0x670c[6]]+= _0x7e09x6;if(this[_0x670c[6]][_0x670c[17]](_0x670c[21])>= 0){this[_0x670c[22]]= this[_0x670c[23]](this[_0x670c[6]]);var _0x7e09x8= new AGIChannel(this[_0x670c[22]],this[_0x670c[5]]);this[_0x670c[18]]= _0x7e09x8[_0x670c[24]][_0x670c[9]](_0x7e09x8);_0x7e09x8[_0x670c[11]](_0x670c[22],this[_0x670c[25]][_0x670c[9]](this));_0x7e09x8[_0x670c[11]](_0x670c[26],this[_0x670c[27]][_0x670c[9]](this));_0x7e09x8[_0x670c[11]](_0x670c[28],this[_0x670c[29]][_0x670c[9]](this));_0x7e09x8[_0x670c[11]](_0x670c[30],this[_0x670c[31]][_0x670c[9]](this))}}};AGIConnection[_0x670c[14]][_0x670c[13]]= function(){logger[_0x670c[33]](_0x670c[32]);if(this[_0x670c[18]]){this[_0x670c[18]](_0x670c[19])};this[_0x670c[34]]()};AGIConnection[_0x670c[14]][_0x670c[25]]= function(_0x7e09x9){logger[_0x670c[33]](_0x670c[35],_0x7e09x9);if(this[_0x670c[4]]){this[_0x670c[4]][_0x670c[37]](_0x7e09x9+ _0x670c[36])}};AGIConnection[_0x670c[14]][_0x670c[31]]= function(_0x7e09xa){logger[_0x670c[30]](_0x670c[38],_0x7e09xa);this[_0x670c[34]]()};AGIConnection[_0x670c[14]][_0x670c[29]]= function(){logger[_0x670c[33]](_0x670c[39]);this[_0x670c[34]]()};AGIConnection[_0x670c[14]][_0x670c[27]]= function(){logger[_0x670c[33]](_0x670c[40])};AGIConnection[_0x670c[14]][_0x670c[34]]= function(){logger[_0x670c[33]](_0x670c[41]);if(this[_0x670c[4]]){this[_0x670c[4]][_0x670c[34]]();this[_0x670c[4]]= null}};AGIConnection[_0x670c[14]][_0x670c[23]]= function(_0x7e09xb){var _0x7e09xc={};var _0x7e09x6=_0x7e09xb.toString();_0x7e09x6[_0x670c[42]](_0x670c[36])[_0x670c[46]](function(_0x7e09xd){var _0x7e09xe=_0x7e09xd[_0x670c[42]](/:\s?/);if(_0x7e09xe[_0x670c[43]]=== 2){var _0x7e09xf=_0x7e09xe[0][_0x670c[20]]();if(_0x7e09xf[_0x670c[17]](_0x670c[44])=== 0){_0x7e09xf= _0x7e09xf[_0x670c[45]](4)};var _0x7e09x10=_0x7e09xe[1][_0x670c[20]]();_0x7e09xc[_0x7e09xf]= _0x7e09x10}});return _0x7e09xc};module[_0x670c[47]]= AGIConnection
\ No newline at end of file