Built motion from commit 15a6d846f.|1.0.20
[motion.git] / server / config / agi / lib / connection.js
index 2a2ebd1..cd9f271 100644 (file)
@@ -1 +1 @@
-var _0x14e8=["\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"];_0x14e8[0];var AGIChannel=require(_0x14e8[1]);var logger=require(_0x14e8[3])(_0x14e8[2]);var AGIConnection=function(_0xd1e1x4,_0xd1e1x5){this[_0x14e8[4]]= _0xd1e1x5;this[_0x14e8[5]]= _0xd1e1x4;this[_0x14e8[6]]= _0x14e8[7];this[_0x14e8[4]][_0x14e8[11]](_0x14e8[8],this[_0x14e8[10]][_0x14e8[9]](this));this[_0x14e8[4]][_0x14e8[11]](_0x14e8[12],this[_0x14e8[13]][_0x14e8[9]](this))};AGIConnection[_0x14e8[14]][_0x14e8[10]]= function(_0xd1e1x6){var _0xd1e1x7=this;_0xd1e1x6= _0xd1e1x6.toString(_0x14e8[15]);if(_0xd1e1x6[_0x14e8[17]](_0x14e8[16])=== 0){if(this[_0x14e8[18]]){this[_0x14e8[18]](_0x14e8[19])};return};if(this[_0x14e8[18]]){this[_0x14e8[18]](_0xd1e1x6[_0x14e8[20]]())}else {this[_0x14e8[6]]+= _0xd1e1x6;if(this[_0x14e8[6]][_0x14e8[17]](_0x14e8[21])>= 0){this[_0x14e8[22]]= this[_0x14e8[23]](this[_0x14e8[6]]);var _0xd1e1x8= new AGIChannel(this[_0x14e8[22]],this[_0x14e8[5]]);this[_0x14e8[18]]= _0xd1e1x8[_0x14e8[24]][_0x14e8[9]](_0xd1e1x8);_0xd1e1x8[_0x14e8[11]](_0x14e8[22],this[_0x14e8[25]][_0x14e8[9]](this));_0xd1e1x8[_0x14e8[11]](_0x14e8[26],this[_0x14e8[27]][_0x14e8[9]](this));_0xd1e1x8[_0x14e8[11]](_0x14e8[28],this[_0x14e8[29]][_0x14e8[9]](this));_0xd1e1x8[_0x14e8[11]](_0x14e8[30],this[_0x14e8[31]][_0x14e8[9]](this))}}};AGIConnection[_0x14e8[14]][_0x14e8[13]]= function(){logger[_0x14e8[33]](_0x14e8[32]);if(this[_0x14e8[18]]){this[_0x14e8[18]](_0x14e8[19])};this[_0x14e8[34]]()};AGIConnection[_0x14e8[14]][_0x14e8[25]]= function(_0xd1e1x9){logger[_0x14e8[33]](_0x14e8[35],_0xd1e1x9);if(this[_0x14e8[4]]){this[_0x14e8[4]][_0x14e8[37]](_0xd1e1x9+ _0x14e8[36])}};AGIConnection[_0x14e8[14]][_0x14e8[31]]= function(_0xd1e1xa){logger[_0x14e8[30]](_0x14e8[38],_0xd1e1xa);this[_0x14e8[34]]()};AGIConnection[_0x14e8[14]][_0x14e8[29]]= function(){logger[_0x14e8[33]](_0x14e8[39]);this[_0x14e8[34]]()};AGIConnection[_0x14e8[14]][_0x14e8[27]]= function(){logger[_0x14e8[33]](_0x14e8[40])};AGIConnection[_0x14e8[14]][_0x14e8[34]]= function(){logger[_0x14e8[33]](_0x14e8[41]);if(this[_0x14e8[4]]){this[_0x14e8[4]][_0x14e8[34]]();this[_0x14e8[4]]= null}};AGIConnection[_0x14e8[14]][_0x14e8[23]]= function(_0xd1e1xb){var _0xd1e1xc={};var _0xd1e1x6=_0xd1e1xb.toString();_0xd1e1x6[_0x14e8[42]](_0x14e8[36])[_0x14e8[46]](function(_0xd1e1xd){var _0xd1e1xe=_0xd1e1xd[_0x14e8[42]](/:\s?/);if(_0xd1e1xe[_0x14e8[43]]=== 2){var _0xd1e1xf=_0xd1e1xe[0][_0x14e8[20]]();if(_0xd1e1xf[_0x14e8[17]](_0x14e8[44])=== 0){_0xd1e1xf= _0xd1e1xf[_0x14e8[45]](4)};var _0xd1e1x10=_0xd1e1xe[1][_0x14e8[20]]();_0xd1e1xc[_0xd1e1xf]= _0xd1e1x10}});return _0xd1e1xc};module[_0x14e8[47]]= AGIConnection
\ No newline at end of file
+var _0xc605=["\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"];_0xc605[0];var AGIChannel=require(_0xc605[1]);var logger=require(_0xc605[3])(_0xc605[2]);var AGIConnection=function(_0x17aax4,_0x17aax5){this[_0xc605[4]]= _0x17aax5;this[_0xc605[5]]= _0x17aax4;this[_0xc605[6]]= _0xc605[7];this[_0xc605[4]][_0xc605[11]](_0xc605[8],this[_0xc605[10]][_0xc605[9]](this));this[_0xc605[4]][_0xc605[11]](_0xc605[12],this[_0xc605[13]][_0xc605[9]](this))};AGIConnection[_0xc605[14]][_0xc605[10]]= function(_0x17aax6){var _0x17aax7=this;_0x17aax6= _0x17aax6.toString(_0xc605[15]);if(_0x17aax6[_0xc605[17]](_0xc605[16])=== 0){if(this[_0xc605[18]]){this[_0xc605[18]](_0xc605[19])};return};if(this[_0xc605[18]]){this[_0xc605[18]](_0x17aax6[_0xc605[20]]())}else {this[_0xc605[6]]+= _0x17aax6;if(this[_0xc605[6]][_0xc605[17]](_0xc605[21])>= 0){this[_0xc605[22]]= this[_0xc605[23]](this[_0xc605[6]]);var _0x17aax8= new AGIChannel(this[_0xc605[22]],this[_0xc605[5]]);this[_0xc605[18]]= _0x17aax8[_0xc605[24]][_0xc605[9]](_0x17aax8);_0x17aax8[_0xc605[11]](_0xc605[22],this[_0xc605[25]][_0xc605[9]](this));_0x17aax8[_0xc605[11]](_0xc605[26],this[_0xc605[27]][_0xc605[9]](this));_0x17aax8[_0xc605[11]](_0xc605[28],this[_0xc605[29]][_0xc605[9]](this));_0x17aax8[_0xc605[11]](_0xc605[30],this[_0xc605[31]][_0xc605[9]](this))}}};AGIConnection[_0xc605[14]][_0xc605[13]]= function(){logger[_0xc605[33]](_0xc605[32]);if(this[_0xc605[18]]){this[_0xc605[18]](_0xc605[19])};this[_0xc605[34]]()};AGIConnection[_0xc605[14]][_0xc605[25]]= function(_0x17aax9){logger[_0xc605[33]](_0xc605[35],_0x17aax9);if(this[_0xc605[4]]){this[_0xc605[4]][_0xc605[37]](_0x17aax9+ _0xc605[36])}};AGIConnection[_0xc605[14]][_0xc605[31]]= function(_0x17aaxa){logger[_0xc605[30]](_0xc605[38],_0x17aaxa);this[_0xc605[34]]()};AGIConnection[_0xc605[14]][_0xc605[29]]= function(){logger[_0xc605[33]](_0xc605[39]);this[_0xc605[34]]()};AGIConnection[_0xc605[14]][_0xc605[27]]= function(){logger[_0xc605[33]](_0xc605[40])};AGIConnection[_0xc605[14]][_0xc605[34]]= function(){logger[_0xc605[33]](_0xc605[41]);if(this[_0xc605[4]]){this[_0xc605[4]][_0xc605[34]]();this[_0xc605[4]]= null}};AGIConnection[_0xc605[14]][_0xc605[23]]= function(_0x17aaxb){var _0x17aaxc={};var _0x17aax6=_0x17aaxb.toString();_0x17aax6[_0xc605[42]](_0xc605[36])[_0xc605[46]](function(_0x17aaxd){var _0x17aaxe=_0x17aaxd[_0xc605[42]](/:\s?/);if(_0x17aaxe[_0xc605[43]]=== 2){var _0x17aaxf=_0x17aaxe[0][_0xc605[20]]();if(_0x17aaxf[_0xc605[17]](_0xc605[44])=== 0){_0x17aaxf= _0x17aaxf[_0xc605[45]](4)};var _0x17aax10=_0x17aaxe[1][_0xc605[20]]();_0x17aaxc[_0x17aaxf]= _0x17aax10}});return _0x17aaxc};module[_0xc605[47]]= AGIConnection
\ No newline at end of file