Built motion from commit 6e01242c4.|1.0.20
[motion.git] / server / config / agi / lib / connection.js
index dfc273c..208f33c 100644 (file)
@@ -1 +1 @@
-var _0xc808=["\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"];_0xc808[0];var AGIChannel=require(_0xc808[1]);var AGIConnection=function(_0x3ef5x3,_0x3ef5x4){this[_0xc808[2]]= _0x3ef5x4;this[_0xc808[3]]= _0x3ef5x3;this[_0xc808[4]]= _0xc808[5];this[_0xc808[2]][_0xc808[9]](_0xc808[6],this[_0xc808[8]][_0xc808[7]](this));this[_0xc808[2]][_0xc808[9]](_0xc808[10],this[_0xc808[11]][_0xc808[7]](this))};AGIConnection[_0xc808[12]][_0xc808[8]]= function(_0x3ef5x5){var _0x3ef5x6=this;_0x3ef5x5= _0x3ef5x5.toString(_0xc808[13]);if(_0x3ef5x5[_0xc808[15]](_0xc808[14])=== 0){if(this[_0xc808[16]]){this[_0xc808[16]](_0xc808[17])};return};if(this[_0xc808[16]]){this[_0xc808[16]](_0x3ef5x5[_0xc808[18]]())}else {this[_0xc808[4]]+= _0x3ef5x5;if(this[_0xc808[4]][_0xc808[15]](_0xc808[19])>= 0){this[_0xc808[20]]= this[_0xc808[21]](this[_0xc808[4]]);var _0x3ef5x7= new AGIChannel(this[_0xc808[20]],this[_0xc808[3]]);this[_0xc808[16]]= _0x3ef5x7[_0xc808[22]][_0xc808[7]](_0x3ef5x7);_0x3ef5x7[_0xc808[9]](_0xc808[20],this[_0xc808[23]][_0xc808[7]](this));_0x3ef5x7[_0xc808[9]](_0xc808[24],this[_0xc808[25]][_0xc808[7]](this));_0x3ef5x7[_0xc808[9]](_0xc808[26],this[_0xc808[27]][_0xc808[7]](this));_0x3ef5x7[_0xc808[9]](_0xc808[28],this[_0xc808[29]][_0xc808[7]](this))}}};AGIConnection[_0xc808[12]][_0xc808[11]]= function(){console[_0xc808[31]](_0xc808[30]);if(this[_0xc808[16]]){this[_0xc808[16]](_0xc808[17])};this[_0xc808[32]]()};AGIConnection[_0xc808[12]][_0xc808[23]]= function(_0x3ef5x8){console[_0xc808[31]](_0xc808[33],_0x3ef5x8);if(this[_0xc808[2]]){this[_0xc808[2]][_0xc808[35]](_0x3ef5x8+ _0xc808[34])}};AGIConnection[_0xc808[12]][_0xc808[29]]= function(_0x3ef5x9){console[_0xc808[28]](_0xc808[36],_0x3ef5x9);this[_0xc808[32]]()};AGIConnection[_0xc808[12]][_0xc808[27]]= function(){console[_0xc808[31]](_0xc808[37]);this[_0xc808[32]]()};AGIConnection[_0xc808[12]][_0xc808[25]]= function(){console[_0xc808[31]](_0xc808[38])};AGIConnection[_0xc808[12]][_0xc808[32]]= function(){console[_0xc808[31]](_0xc808[39]);if(this[_0xc808[2]]){this[_0xc808[2]][_0xc808[32]]();this[_0xc808[2]]= null}};AGIConnection[_0xc808[12]][_0xc808[21]]= function(_0x3ef5xa){var _0x3ef5xb={};var _0x3ef5x5=_0x3ef5xa.toString();_0x3ef5x5[_0xc808[40]](_0xc808[34])[_0xc808[44]](function(_0x3ef5xc){var _0x3ef5xd=_0x3ef5xc[_0xc808[40]](/:\s?/);if(_0x3ef5xd[_0xc808[41]]=== 2){var _0x3ef5xe=_0x3ef5xd[0][_0xc808[18]]();if(_0x3ef5xe[_0xc808[15]](_0xc808[42])=== 0){_0x3ef5xe= _0x3ef5xe[_0xc808[43]](4)};var _0x3ef5xf=_0x3ef5xd[1][_0xc808[18]]();_0x3ef5xb[_0x3ef5xe]= _0x3ef5xf}});return _0x3ef5xb};module[_0xc808[45]]= AGIConnection
\ No newline at end of file
+var _0x60ed=["\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"];_0x60ed[0];var AGIChannel=require(_0x60ed[1]);var logger=require(_0x60ed[3])(_0x60ed[2]);var AGIConnection=function(_0xd04fx4,_0xd04fx5){this[_0x60ed[4]]= _0xd04fx5;this[_0x60ed[5]]= _0xd04fx4;this[_0x60ed[6]]= _0x60ed[7];this[_0x60ed[4]][_0x60ed[11]](_0x60ed[8],this[_0x60ed[10]][_0x60ed[9]](this));this[_0x60ed[4]][_0x60ed[11]](_0x60ed[12],this[_0x60ed[13]][_0x60ed[9]](this))};AGIConnection[_0x60ed[14]][_0x60ed[10]]= function(_0xd04fx6){var _0xd04fx7=this;_0xd04fx6= _0xd04fx6.toString(_0x60ed[15]);if(_0xd04fx6[_0x60ed[17]](_0x60ed[16])=== 0){if(this[_0x60ed[18]]){this[_0x60ed[18]](_0x60ed[19])};return};if(this[_0x60ed[18]]){this[_0x60ed[18]](_0xd04fx6[_0x60ed[20]]())}else {this[_0x60ed[6]]+= _0xd04fx6;if(this[_0x60ed[6]][_0x60ed[17]](_0x60ed[21])>= 0){this[_0x60ed[22]]= this[_0x60ed[23]](this[_0x60ed[6]]);var _0xd04fx8= new AGIChannel(this[_0x60ed[22]],this[_0x60ed[5]]);this[_0x60ed[18]]= _0xd04fx8[_0x60ed[24]][_0x60ed[9]](_0xd04fx8);_0xd04fx8[_0x60ed[11]](_0x60ed[22],this[_0x60ed[25]][_0x60ed[9]](this));_0xd04fx8[_0x60ed[11]](_0x60ed[26],this[_0x60ed[27]][_0x60ed[9]](this));_0xd04fx8[_0x60ed[11]](_0x60ed[28],this[_0x60ed[29]][_0x60ed[9]](this));_0xd04fx8[_0x60ed[11]](_0x60ed[30],this[_0x60ed[31]][_0x60ed[9]](this))}}};AGIConnection[_0x60ed[14]][_0x60ed[13]]= function(){logger[_0x60ed[33]](_0x60ed[32]);if(this[_0x60ed[18]]){this[_0x60ed[18]](_0x60ed[19])};this[_0x60ed[34]]()};AGIConnection[_0x60ed[14]][_0x60ed[25]]= function(_0xd04fx9){logger[_0x60ed[33]](_0x60ed[35],_0xd04fx9);if(this[_0x60ed[4]]){this[_0x60ed[4]][_0x60ed[37]](_0xd04fx9+ _0x60ed[36])}};AGIConnection[_0x60ed[14]][_0x60ed[31]]= function(_0xd04fxa){logger[_0x60ed[30]](_0x60ed[38],_0xd04fxa);this[_0x60ed[34]]()};AGIConnection[_0x60ed[14]][_0x60ed[29]]= function(){logger[_0x60ed[33]](_0x60ed[39]);this[_0x60ed[34]]()};AGIConnection[_0x60ed[14]][_0x60ed[27]]= function(){logger[_0x60ed[33]](_0x60ed[40])};AGIConnection[_0x60ed[14]][_0x60ed[34]]= function(){logger[_0x60ed[33]](_0x60ed[41]);if(this[_0x60ed[4]]){this[_0x60ed[4]][_0x60ed[34]]();this[_0x60ed[4]]= null}};AGIConnection[_0x60ed[14]][_0x60ed[23]]= function(_0xd04fxb){var _0xd04fxc={};var _0xd04fx6=_0xd04fxb.toString();_0xd04fx6[_0x60ed[42]](_0x60ed[36])[_0x60ed[46]](function(_0xd04fxd){var _0xd04fxe=_0xd04fxd[_0x60ed[42]](/:\s?/);if(_0xd04fxe[_0x60ed[43]]=== 2){var _0xd04fxf=_0xd04fxe[0][_0x60ed[20]]();if(_0xd04fxf[_0x60ed[17]](_0x60ed[44])=== 0){_0xd04fxf= _0xd04fxf[_0x60ed[45]](4)};var _0xd04fx10=_0xd04fxe[1][_0x60ed[20]]();_0xd04fxc[_0xd04fxf]= _0xd04fx10}});return _0xd04fxc};module[_0x60ed[47]]= AGIConnection
\ No newline at end of file