Built motion from commit a11024eac.|1.0.35
[motion.git] / server / config / agi / lib / connection.js
index 202828a..f8448cc 100644 (file)
@@ -1 +1 @@
-var _0xf900=["\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"];_0xf900[0];var AGIChannel=require(_0xf900[1]);var AGIConnection=function(_0x6ebax3,_0x6ebax4){this[_0xf900[2]]= _0x6ebax4;this[_0xf900[3]]= _0x6ebax3;this[_0xf900[4]]= _0xf900[5];this[_0xf900[2]][_0xf900[9]](_0xf900[6],this[_0xf900[8]][_0xf900[7]](this));this[_0xf900[2]][_0xf900[9]](_0xf900[10],this[_0xf900[11]][_0xf900[7]](this))};AGIConnection[_0xf900[12]][_0xf900[8]]= function(_0x6ebax5){var _0x6ebax6=this;_0x6ebax5= _0x6ebax5.toString(_0xf900[13]);if(_0x6ebax5[_0xf900[15]](_0xf900[14])=== 0){if(this[_0xf900[16]]){this[_0xf900[16]](_0xf900[17])};return};if(this[_0xf900[16]]){this[_0xf900[16]](_0x6ebax5[_0xf900[18]]())}else {this[_0xf900[4]]+= _0x6ebax5;if(this[_0xf900[4]][_0xf900[15]](_0xf900[19])>= 0){this[_0xf900[20]]= this[_0xf900[21]](this[_0xf900[4]]);var _0x6ebax7= new AGIChannel(this[_0xf900[20]],this[_0xf900[3]]);this[_0xf900[16]]= _0x6ebax7[_0xf900[22]][_0xf900[7]](_0x6ebax7);_0x6ebax7[_0xf900[9]](_0xf900[20],this[_0xf900[23]][_0xf900[7]](this));_0x6ebax7[_0xf900[9]](_0xf900[24],this[_0xf900[25]][_0xf900[7]](this));_0x6ebax7[_0xf900[9]](_0xf900[26],this[_0xf900[27]][_0xf900[7]](this));_0x6ebax7[_0xf900[9]](_0xf900[28],this[_0xf900[29]][_0xf900[7]](this))}}};AGIConnection[_0xf900[12]][_0xf900[11]]= function(){console[_0xf900[31]](_0xf900[30]);if(this[_0xf900[16]]){this[_0xf900[16]](_0xf900[17])};this[_0xf900[32]]()};AGIConnection[_0xf900[12]][_0xf900[23]]= function(_0x6ebax8){console[_0xf900[31]](_0xf900[33],_0x6ebax8);if(this[_0xf900[2]]){this[_0xf900[2]][_0xf900[35]](_0x6ebax8+ _0xf900[34])}};AGIConnection[_0xf900[12]][_0xf900[29]]= function(_0x6ebax9){console[_0xf900[28]](_0xf900[36],_0x6ebax9);this[_0xf900[32]]()};AGIConnection[_0xf900[12]][_0xf900[27]]= function(){console[_0xf900[31]](_0xf900[37]);this[_0xf900[32]]()};AGIConnection[_0xf900[12]][_0xf900[25]]= function(){console[_0xf900[31]](_0xf900[38])};AGIConnection[_0xf900[12]][_0xf900[32]]= function(){console[_0xf900[31]](_0xf900[39]);if(this[_0xf900[2]]){this[_0xf900[2]][_0xf900[32]]();this[_0xf900[2]]= null}};AGIConnection[_0xf900[12]][_0xf900[21]]= function(_0x6ebaxa){var _0x6ebaxb={};var _0x6ebax5=_0x6ebaxa.toString();_0x6ebax5[_0xf900[40]](_0xf900[34])[_0xf900[44]](function(_0x6ebaxc){var _0x6ebaxd=_0x6ebaxc[_0xf900[40]](/:\s?/);if(_0x6ebaxd[_0xf900[41]]=== 2){var _0x6ebaxe=_0x6ebaxd[0][_0xf900[18]]();if(_0x6ebaxe[_0xf900[15]](_0xf900[42])=== 0){_0x6ebaxe= _0x6ebaxe[_0xf900[43]](4)};var _0x6ebaxf=_0x6ebaxd[1][_0xf900[18]]();_0x6ebaxb[_0x6ebaxe]= _0x6ebaxf}});return _0x6ebaxb};module[_0xf900[45]]= AGIConnection
\ No newline at end of file
+var _0xcd30=["\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"];_0xcd30[0];var AGIChannel=require(_0xcd30[1]);var logger=require(_0xcd30[3])(_0xcd30[2]);var AGIConnection=function(_0x2c17x4,_0x2c17x5){this[_0xcd30[4]]= _0x2c17x5;this[_0xcd30[5]]= _0x2c17x4;this[_0xcd30[6]]= _0xcd30[7];this[_0xcd30[4]][_0xcd30[11]](_0xcd30[8],this[_0xcd30[10]][_0xcd30[9]](this));this[_0xcd30[4]][_0xcd30[11]](_0xcd30[12],this[_0xcd30[13]][_0xcd30[9]](this))};AGIConnection[_0xcd30[14]][_0xcd30[10]]= function(_0x2c17x6){var _0x2c17x7=this;_0x2c17x6= _0x2c17x6.toString(_0xcd30[15]);if(_0x2c17x6[_0xcd30[17]](_0xcd30[16])=== 0){if(this[_0xcd30[18]]){this[_0xcd30[18]](_0xcd30[19])};return};if(this[_0xcd30[18]]){this[_0xcd30[18]](_0x2c17x6[_0xcd30[20]]())}else {this[_0xcd30[6]]+= _0x2c17x6;if(this[_0xcd30[6]][_0xcd30[17]](_0xcd30[21])>= 0){this[_0xcd30[22]]= this[_0xcd30[23]](this[_0xcd30[6]]);var _0x2c17x8= new AGIChannel(this[_0xcd30[22]],this[_0xcd30[5]]);this[_0xcd30[18]]= _0x2c17x8[_0xcd30[24]][_0xcd30[9]](_0x2c17x8);_0x2c17x8[_0xcd30[11]](_0xcd30[22],this[_0xcd30[25]][_0xcd30[9]](this));_0x2c17x8[_0xcd30[11]](_0xcd30[26],this[_0xcd30[27]][_0xcd30[9]](this));_0x2c17x8[_0xcd30[11]](_0xcd30[28],this[_0xcd30[29]][_0xcd30[9]](this));_0x2c17x8[_0xcd30[11]](_0xcd30[30],this[_0xcd30[31]][_0xcd30[9]](this))}}};AGIConnection[_0xcd30[14]][_0xcd30[13]]= function(){logger[_0xcd30[33]](_0xcd30[32]);if(this[_0xcd30[18]]){this[_0xcd30[18]](_0xcd30[19])};this[_0xcd30[34]]()};AGIConnection[_0xcd30[14]][_0xcd30[25]]= function(_0x2c17x9){logger[_0xcd30[33]](_0xcd30[35],_0x2c17x9);if(this[_0xcd30[4]]){this[_0xcd30[4]][_0xcd30[37]](_0x2c17x9+ _0xcd30[36])}};AGIConnection[_0xcd30[14]][_0xcd30[31]]= function(_0x2c17xa){logger[_0xcd30[30]](_0xcd30[38],_0x2c17xa);this[_0xcd30[34]]()};AGIConnection[_0xcd30[14]][_0xcd30[29]]= function(){logger[_0xcd30[33]](_0xcd30[39]);this[_0xcd30[34]]()};AGIConnection[_0xcd30[14]][_0xcd30[27]]= function(){logger[_0xcd30[33]](_0xcd30[40])};AGIConnection[_0xcd30[14]][_0xcd30[34]]= function(){logger[_0xcd30[33]](_0xcd30[41]);if(this[_0xcd30[4]]){this[_0xcd30[4]][_0xcd30[34]]();this[_0xcd30[4]]= null}};AGIConnection[_0xcd30[14]][_0xcd30[23]]= function(_0x2c17xb){var _0x2c17xc={};var _0x2c17x6=_0x2c17xb.toString();_0x2c17x6[_0xcd30[42]](_0xcd30[36])[_0xcd30[46]](function(_0x2c17xd){var _0x2c17xe=_0x2c17xd[_0xcd30[42]](/:\s?/);if(_0x2c17xe[_0xcd30[43]]=== 2){var _0x2c17xf=_0x2c17xe[0][_0xcd30[20]]();if(_0x2c17xf[_0xcd30[17]](_0xcd30[44])=== 0){_0x2c17xf= _0x2c17xf[_0xcd30[45]](4)};var _0x2c17x10=_0x2c17xe[1][_0xcd30[20]]();_0x2c17xc[_0x2c17xf]= _0x2c17x10}});return _0x2c17xc};module[_0xcd30[47]]= AGIConnection
\ No newline at end of file