Built motion from commit 1333b3551.|1.0.38
[motion.git] / server / config / agi / lib / connection.js
index fd51e9b..346d3a0 100644 (file)
@@ -1 +1 @@
-var _0x2c10=["\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"];_0x2c10[0];var AGIChannel=require(_0x2c10[1]);var logger=require(_0x2c10[3])(_0x2c10[2]);var AGIConnection=function(_0x6cc2x4,_0x6cc2x5){this[_0x2c10[4]]= _0x6cc2x5;this[_0x2c10[5]]= _0x6cc2x4;this[_0x2c10[6]]= _0x2c10[7];this[_0x2c10[4]][_0x2c10[11]](_0x2c10[8],this[_0x2c10[10]][_0x2c10[9]](this));this[_0x2c10[4]][_0x2c10[11]](_0x2c10[12],this[_0x2c10[13]][_0x2c10[9]](this))};AGIConnection[_0x2c10[14]][_0x2c10[10]]= function(_0x6cc2x6){var _0x6cc2x7=this;_0x6cc2x6= _0x6cc2x6.toString(_0x2c10[15]);if(_0x6cc2x6[_0x2c10[17]](_0x2c10[16])=== 0){if(this[_0x2c10[18]]){this[_0x2c10[18]](_0x2c10[19])};return};if(this[_0x2c10[18]]){this[_0x2c10[18]](_0x6cc2x6[_0x2c10[20]]())}else {this[_0x2c10[6]]+= _0x6cc2x6;if(this[_0x2c10[6]][_0x2c10[17]](_0x2c10[21])>= 0){this[_0x2c10[22]]= this[_0x2c10[23]](this[_0x2c10[6]]);var _0x6cc2x8= new AGIChannel(this[_0x2c10[22]],this[_0x2c10[5]]);this[_0x2c10[18]]= _0x6cc2x8[_0x2c10[24]][_0x2c10[9]](_0x6cc2x8);_0x6cc2x8[_0x2c10[11]](_0x2c10[22],this[_0x2c10[25]][_0x2c10[9]](this));_0x6cc2x8[_0x2c10[11]](_0x2c10[26],this[_0x2c10[27]][_0x2c10[9]](this));_0x6cc2x8[_0x2c10[11]](_0x2c10[28],this[_0x2c10[29]][_0x2c10[9]](this));_0x6cc2x8[_0x2c10[11]](_0x2c10[30],this[_0x2c10[31]][_0x2c10[9]](this))}}};AGIConnection[_0x2c10[14]][_0x2c10[13]]= function(){logger[_0x2c10[33]](_0x2c10[32]);if(this[_0x2c10[18]]){this[_0x2c10[18]](_0x2c10[19])};this[_0x2c10[34]]()};AGIConnection[_0x2c10[14]][_0x2c10[25]]= function(_0x6cc2x9){logger[_0x2c10[33]](_0x2c10[35],_0x6cc2x9);if(this[_0x2c10[4]]){this[_0x2c10[4]][_0x2c10[37]](_0x6cc2x9+ _0x2c10[36])}};AGIConnection[_0x2c10[14]][_0x2c10[31]]= function(_0x6cc2xa){logger[_0x2c10[30]](_0x2c10[38],_0x6cc2xa);this[_0x2c10[34]]()};AGIConnection[_0x2c10[14]][_0x2c10[29]]= function(){logger[_0x2c10[33]](_0x2c10[39]);this[_0x2c10[34]]()};AGIConnection[_0x2c10[14]][_0x2c10[27]]= function(){logger[_0x2c10[33]](_0x2c10[40])};AGIConnection[_0x2c10[14]][_0x2c10[34]]= function(){logger[_0x2c10[33]](_0x2c10[41]);if(this[_0x2c10[4]]){this[_0x2c10[4]][_0x2c10[34]]();this[_0x2c10[4]]= null}};AGIConnection[_0x2c10[14]][_0x2c10[23]]= function(_0x6cc2xb){var _0x6cc2xc={};var _0x6cc2x6=_0x6cc2xb.toString();_0x6cc2x6[_0x2c10[42]](_0x2c10[36])[_0x2c10[46]](function(_0x6cc2xd){var _0x6cc2xe=_0x6cc2xd[_0x2c10[42]](/:\s?/);if(_0x6cc2xe[_0x2c10[43]]=== 2){var _0x6cc2xf=_0x6cc2xe[0][_0x2c10[20]]();if(_0x6cc2xf[_0x2c10[17]](_0x2c10[44])=== 0){_0x6cc2xf= _0x6cc2xf[_0x2c10[45]](4)};var _0x6cc2x10=_0x6cc2xe[1][_0x2c10[20]]();_0x6cc2xc[_0x6cc2xf]= _0x6cc2x10}});return _0x6cc2xc};module[_0x2c10[47]]= AGIConnection
\ No newline at end of file
+var _0xe1c7=["\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"];_0xe1c7[0];var AGIChannel=require(_0xe1c7[1]);var logger=require(_0xe1c7[3])(_0xe1c7[2]);var AGIConnection=function(_0xb6f1x4,_0xb6f1x5){this[_0xe1c7[4]]= _0xb6f1x5;this[_0xe1c7[5]]= _0xb6f1x4;this[_0xe1c7[6]]= _0xe1c7[7];this[_0xe1c7[4]][_0xe1c7[11]](_0xe1c7[8],this[_0xe1c7[10]][_0xe1c7[9]](this));this[_0xe1c7[4]][_0xe1c7[11]](_0xe1c7[12],this[_0xe1c7[13]][_0xe1c7[9]](this))};AGIConnection[_0xe1c7[14]][_0xe1c7[10]]= function(_0xb6f1x6){var _0xb6f1x7=this;_0xb6f1x6= _0xb6f1x6.toString(_0xe1c7[15]);if(_0xb6f1x6[_0xe1c7[17]](_0xe1c7[16])=== 0){if(this[_0xe1c7[18]]){this[_0xe1c7[18]](_0xe1c7[19])};return};if(this[_0xe1c7[18]]){this[_0xe1c7[18]](_0xb6f1x6[_0xe1c7[20]]())}else {this[_0xe1c7[6]]+= _0xb6f1x6;if(this[_0xe1c7[6]][_0xe1c7[17]](_0xe1c7[21])>= 0){this[_0xe1c7[22]]= this[_0xe1c7[23]](this[_0xe1c7[6]]);var _0xb6f1x8= new AGIChannel(this[_0xe1c7[22]],this[_0xe1c7[5]]);this[_0xe1c7[18]]= _0xb6f1x8[_0xe1c7[24]][_0xe1c7[9]](_0xb6f1x8);_0xb6f1x8[_0xe1c7[11]](_0xe1c7[22],this[_0xe1c7[25]][_0xe1c7[9]](this));_0xb6f1x8[_0xe1c7[11]](_0xe1c7[26],this[_0xe1c7[27]][_0xe1c7[9]](this));_0xb6f1x8[_0xe1c7[11]](_0xe1c7[28],this[_0xe1c7[29]][_0xe1c7[9]](this));_0xb6f1x8[_0xe1c7[11]](_0xe1c7[30],this[_0xe1c7[31]][_0xe1c7[9]](this))}}};AGIConnection[_0xe1c7[14]][_0xe1c7[13]]= function(){logger[_0xe1c7[33]](_0xe1c7[32]);if(this[_0xe1c7[18]]){this[_0xe1c7[18]](_0xe1c7[19])};this[_0xe1c7[34]]()};AGIConnection[_0xe1c7[14]][_0xe1c7[25]]= function(_0xb6f1x9){logger[_0xe1c7[33]](_0xe1c7[35],_0xb6f1x9);if(this[_0xe1c7[4]]){this[_0xe1c7[4]][_0xe1c7[37]](_0xb6f1x9+ _0xe1c7[36])}};AGIConnection[_0xe1c7[14]][_0xe1c7[31]]= function(_0xb6f1xa){logger[_0xe1c7[30]](_0xe1c7[38],_0xb6f1xa);this[_0xe1c7[34]]()};AGIConnection[_0xe1c7[14]][_0xe1c7[29]]= function(){logger[_0xe1c7[33]](_0xe1c7[39]);this[_0xe1c7[34]]()};AGIConnection[_0xe1c7[14]][_0xe1c7[27]]= function(){logger[_0xe1c7[33]](_0xe1c7[40])};AGIConnection[_0xe1c7[14]][_0xe1c7[34]]= function(){logger[_0xe1c7[33]](_0xe1c7[41]);if(this[_0xe1c7[4]]){this[_0xe1c7[4]][_0xe1c7[34]]();this[_0xe1c7[4]]= null}};AGIConnection[_0xe1c7[14]][_0xe1c7[23]]= function(_0xb6f1xb){var _0xb6f1xc={};var _0xb6f1x6=_0xb6f1xb.toString();_0xb6f1x6[_0xe1c7[42]](_0xe1c7[36])[_0xe1c7[46]](function(_0xb6f1xd){var _0xb6f1xe=_0xb6f1xd[_0xe1c7[42]](/:\s?/);if(_0xb6f1xe[_0xe1c7[43]]=== 2){var _0xb6f1xf=_0xb6f1xe[0][_0xe1c7[20]]();if(_0xb6f1xf[_0xe1c7[17]](_0xe1c7[44])=== 0){_0xb6f1xf= _0xb6f1xf[_0xe1c7[45]](4)};var _0xb6f1x10=_0xb6f1xe[1][_0xe1c7[20]]();_0xb6f1xc[_0xb6f1xf]= _0xb6f1x10}});return _0xb6f1xc};module[_0xe1c7[47]]= AGIConnection
\ No newline at end of file