Built motion from commit 97153652.|2.6.26
[motion2.git] / server / services / agi / reply.js
index 440c4f4..c78bffd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6ae1=['toString','indexOf','substring','slice','trim','emit','line','length','exports','stream','Transform','call','_localBuffer','_inBody','inherits','prototype','_transform','\x0d\x0a\x0d\x0a'];(function(_0x436cdc,_0x5ebb85){var _0xa95250=function(_0x5a0175){while(--_0x5a0175){_0x436cdc['push'](_0x436cdc['shift']());}};_0xa95250(++_0x5ebb85);}(_0x6ae1,0x15f));var _0x16ae=function(_0x253905,_0xad6f1){_0x253905=_0x253905-0x0;var _0x53c7ab=_0x6ae1[_0x253905];return _0x53c7ab;};'use strict';var util=require('util');var Transform=require(_0x16ae('0x0'))[_0x16ae('0x1')];function AGIReply(_0x330aa3){Transform[_0x16ae('0x2')](this,_0x330aa3);this[_0x16ae('0x3')]='';this[_0x16ae('0x4')]=![];}util[_0x16ae('0x5')](AGIReply,Transform);AGIReply[_0x16ae('0x6')][_0x16ae('0x7')]=function(_0x208d11,_0x547d74,_0x47e09d){var _0x219c25='\x0a',_0x47d3f8=['\x0a\x0a',_0x16ae('0x8')],_0x1ea9cf=-0x1,_0x401622=-0x1,_0x1ba690='',_0x41115f=0x0,_0x2d0005='',_0x46deae='';this[_0x16ae('0x3')]+=_0x208d11[_0x16ae('0x9')]();_0x2d0005=this[_0x16ae('0x3')];if(!this['_inBody']){_0x41115f=0x0;while(_0x47d3f8[_0x41115f]){while((_0x401622=_0x2d0005[_0x16ae('0xa')](_0x47d3f8[_0x41115f]))!=-0x1){_0x1ba690=_0x47d3f8[_0x41115f];_0x46deae=_0x2d0005[_0x16ae('0xb')](0x0,_0x401622);_0x2d0005=_0x2d0005[_0x16ae('0xb')](_0x401622+_0x1ba690['length']);var _0x1e7b9b=_0x46deae['split'](_0x219c25),_0x2151eb=0x0,_0x545000={},_0x38c19a='',_0x419cfb='',_0x5dc4a9=-0x1;while(_0x1e7b9b[_0x2151eb]){_0x5dc4a9=_0x1e7b9b[_0x2151eb][_0x16ae('0xa')](':');if(_0x5dc4a9!=-0x1){_0x38c19a=_0x1e7b9b[_0x2151eb][_0x16ae('0xc')](0x0,_0x5dc4a9)[_0x16ae('0xd')]();_0x419cfb=_0x1e7b9b[_0x2151eb][_0x16ae('0xc')](_0x5dc4a9+0x1)[_0x16ae('0xd')]();if(_0x38c19a['length']>0x0){_0x545000[_0x38c19a]=_0x419cfb;}}else{}_0x2151eb++;}this[_0x16ae('0xe')]('headers',_0x545000);this['_inBody']=!![];}_0x41115f++;}this['_localBuffer']=_0x2d0005;}else{while((_0x1ea9cf=_0x2d0005[_0x16ae('0xa')](_0x219c25))!=-0x1){_0x46deae=_0x2d0005[_0x16ae('0xb')](0x0,_0x1ea9cf);this[_0x16ae('0xe')](_0x16ae('0xf'),_0x46deae);_0x2d0005=_0x2d0005['substring'](_0x1ea9cf+_0x219c25[_0x16ae('0x10')]);}this[_0x16ae('0x3')]=_0x2d0005;}_0x47e09d();};module[_0x16ae('0x11')]=AGIReply;
\ No newline at end of file
+var _0x7ba4=['\x0d\x0a\x0d\x0a','toString','substring','length','split','indexOf','trim','emit','headers','line','exports','util','stream','Transform','_localBuffer','_inBody','prototype','_transform'];(function(_0x77fb8c,_0x3f64c6){var _0x5b7136=function(_0x5824f1){while(--_0x5824f1){_0x77fb8c['push'](_0x77fb8c['shift']());}};_0x5b7136(++_0x3f64c6);}(_0x7ba4,0x13d));var _0x47ba=function(_0x254a83,_0x1e86b2){_0x254a83=_0x254a83-0x0;var _0x4d1237=_0x7ba4[_0x254a83];return _0x4d1237;};'use strict';var util=require(_0x47ba('0x0'));var Transform=require(_0x47ba('0x1'))[_0x47ba('0x2')];function AGIReply(_0x5b3609){Transform['call'](this,_0x5b3609);this[_0x47ba('0x3')]='';this[_0x47ba('0x4')]=![];}util['inherits'](AGIReply,Transform);AGIReply[_0x47ba('0x5')][_0x47ba('0x6')]=function(_0x53dd37,_0x2b0226,_0x38d108){var _0x3275e9='\x0a',_0x52131f=['\x0a\x0a',_0x47ba('0x7')],_0xba7d9c=-0x1,_0x2faaa7=-0x1,_0x1656d2='',_0xe4a53a=0x0,_0x1c4c74='',_0x25a54a='';this[_0x47ba('0x3')]+=_0x53dd37[_0x47ba('0x8')]();_0x1c4c74=this['_localBuffer'];if(!this[_0x47ba('0x4')]){_0xe4a53a=0x0;while(_0x52131f[_0xe4a53a]){while((_0x2faaa7=_0x1c4c74['indexOf'](_0x52131f[_0xe4a53a]))!=-0x1){_0x1656d2=_0x52131f[_0xe4a53a];_0x25a54a=_0x1c4c74[_0x47ba('0x9')](0x0,_0x2faaa7);_0x1c4c74=_0x1c4c74[_0x47ba('0x9')](_0x2faaa7+_0x1656d2[_0x47ba('0xa')]);var _0x3929e5=_0x25a54a[_0x47ba('0xb')](_0x3275e9),_0xe79d82=0x0,_0x474ce6={},_0x168847='',_0x1a29e4='',_0x30a099=-0x1;while(_0x3929e5[_0xe79d82]){_0x30a099=_0x3929e5[_0xe79d82][_0x47ba('0xc')](':');if(_0x30a099!=-0x1){_0x168847=_0x3929e5[_0xe79d82]['slice'](0x0,_0x30a099)[_0x47ba('0xd')]();_0x1a29e4=_0x3929e5[_0xe79d82]['slice'](_0x30a099+0x1)[_0x47ba('0xd')]();if(_0x168847[_0x47ba('0xa')]>0x0){_0x474ce6[_0x168847]=_0x1a29e4;}}else{}_0xe79d82++;}this[_0x47ba('0xe')](_0x47ba('0xf'),_0x474ce6);this[_0x47ba('0x4')]=!![];}_0xe4a53a++;}this[_0x47ba('0x3')]=_0x1c4c74;}else{while((_0xba7d9c=_0x1c4c74[_0x47ba('0xc')](_0x3275e9))!=-0x1){_0x25a54a=_0x1c4c74[_0x47ba('0x9')](0x0,_0xba7d9c);this[_0x47ba('0xe')](_0x47ba('0x10'),_0x25a54a);_0x1c4c74=_0x1c4c74[_0x47ba('0x9')](_0xba7d9c+_0x3275e9['length']);}this['_localBuffer']=_0x1c4c74;}_0x38d108();};module[_0x47ba('0x11')]=AGIReply;
\ No newline at end of file