Built motion from commit 746c7d2a.|2.5.35
[motion2.git] / server / services / agi / reply.js
index 9a18707..13f8d85 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8f83=['slice','trim','length','emit','headers','line','exports','util','stream','Transform','call','_localBuffer','inherits','\x0d\x0a\x0d\x0a','_inBody','indexOf','substring'];(function(_0x231567,_0x3617fc){var _0x37e4ee=function(_0x243249){while(--_0x243249){_0x231567['push'](_0x231567['shift']());}};_0x37e4ee(++_0x3617fc);}(_0x8f83,0x6d));var _0x38f8=function(_0x3cb887,_0x32e3b6){_0x3cb887=_0x3cb887-0x0;var _0x53b340=_0x8f83[_0x3cb887];return _0x53b340;};'use strict';var util=require(_0x38f8('0x0'));var Transform=require(_0x38f8('0x1'))[_0x38f8('0x2')];function AGIReply(_0x1ed3ab){Transform[_0x38f8('0x3')](this,_0x1ed3ab);this[_0x38f8('0x4')]='';this['_inBody']=![];}util[_0x38f8('0x5')](AGIReply,Transform);AGIReply['prototype']['_transform']=function(_0x4338c4,_0x53ed61,_0x261e58){var _0x371c92='\x0a',_0x13bce2=['\x0a\x0a',_0x38f8('0x6')],_0x28fdba=-0x1,_0x301a70=-0x1,_0x16e717='',_0x4909af=0x0,_0x47b798='',_0x2bb695='';this[_0x38f8('0x4')]+=_0x4338c4['toString']();_0x47b798=this[_0x38f8('0x4')];if(!this[_0x38f8('0x7')]){_0x4909af=0x0;while(_0x13bce2[_0x4909af]){while((_0x301a70=_0x47b798[_0x38f8('0x8')](_0x13bce2[_0x4909af]))!=-0x1){_0x16e717=_0x13bce2[_0x4909af];_0x2bb695=_0x47b798[_0x38f8('0x9')](0x0,_0x301a70);_0x47b798=_0x47b798[_0x38f8('0x9')](_0x301a70+_0x16e717['length']);var _0x157ab3=_0x2bb695['split'](_0x371c92),_0x5aba16=0x0,_0x12fc0a={},_0x151ab1='',_0x1ae8e0='',_0x436400=-0x1;while(_0x157ab3[_0x5aba16]){_0x436400=_0x157ab3[_0x5aba16]['indexOf'](':');if(_0x436400!=-0x1){_0x151ab1=_0x157ab3[_0x5aba16][_0x38f8('0xa')](0x0,_0x436400)[_0x38f8('0xb')]();_0x1ae8e0=_0x157ab3[_0x5aba16][_0x38f8('0xa')](_0x436400+0x1)['trim']();if(_0x151ab1[_0x38f8('0xc')]>0x0){_0x12fc0a[_0x151ab1]=_0x1ae8e0;}}else{}_0x5aba16++;}this[_0x38f8('0xd')](_0x38f8('0xe'),_0x12fc0a);this['_inBody']=!![];}_0x4909af++;}this['_localBuffer']=_0x47b798;}else{while((_0x28fdba=_0x47b798[_0x38f8('0x8')](_0x371c92))!=-0x1){_0x2bb695=_0x47b798[_0x38f8('0x9')](0x0,_0x28fdba);this[_0x38f8('0xd')](_0x38f8('0xf'),_0x2bb695);_0x47b798=_0x47b798[_0x38f8('0x9')](_0x28fdba+_0x371c92[_0x38f8('0xc')]);}this[_0x38f8('0x4')]=_0x47b798;}_0x261e58();};module[_0x38f8('0x10')]=AGIReply;
\ No newline at end of file
+var _0x94cd=['trim','slice','indexOf','emit','line','exports','stream','Transform','call','_localBuffer','_inBody','inherits','prototype','_transform','\x0d\x0a\x0d\x0a','substring','length'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x94cd,0xb0));var _0xd94c=function(_0x1a6f22,_0x20f1c4){_0x1a6f22=_0x1a6f22-0x0;var _0x2d7482=_0x94cd[_0x1a6f22];return _0x2d7482;};'use strict';var util=require('util');var Transform=require(_0xd94c('0x0'))[_0xd94c('0x1')];function AGIReply(_0x41613e){Transform[_0xd94c('0x2')](this,_0x41613e);this[_0xd94c('0x3')]='';this[_0xd94c('0x4')]=![];}util[_0xd94c('0x5')](AGIReply,Transform);AGIReply[_0xd94c('0x6')][_0xd94c('0x7')]=function(_0x524633,_0x43ddad,_0x6508ef){var _0x1215b8='\x0a',_0x178c96=['\x0a\x0a',_0xd94c('0x8')],_0x95e7e2=-0x1,_0x3454a7=-0x1,_0x5568e5='',_0x131e73=0x0,_0x2c747c='',_0x402e69='';this[_0xd94c('0x3')]+=_0x524633['toString']();_0x2c747c=this[_0xd94c('0x3')];if(!this[_0xd94c('0x4')]){_0x131e73=0x0;while(_0x178c96[_0x131e73]){while((_0x3454a7=_0x2c747c['indexOf'](_0x178c96[_0x131e73]))!=-0x1){_0x5568e5=_0x178c96[_0x131e73];_0x402e69=_0x2c747c[_0xd94c('0x9')](0x0,_0x3454a7);_0x2c747c=_0x2c747c[_0xd94c('0x9')](_0x3454a7+_0x5568e5[_0xd94c('0xa')]);var _0x44badf=_0x402e69['split'](_0x1215b8),_0x1bbeae=0x0,_0x3c0816={},_0x552d5f='',_0xec0936='',_0x37585b=-0x1;while(_0x44badf[_0x1bbeae]){_0x37585b=_0x44badf[_0x1bbeae]['indexOf'](':');if(_0x37585b!=-0x1){_0x552d5f=_0x44badf[_0x1bbeae]['slice'](0x0,_0x37585b)[_0xd94c('0xb')]();_0xec0936=_0x44badf[_0x1bbeae][_0xd94c('0xc')](_0x37585b+0x1)['trim']();if(_0x552d5f[_0xd94c('0xa')]>0x0){_0x3c0816[_0x552d5f]=_0xec0936;}}else{}_0x1bbeae++;}this['emit']('headers',_0x3c0816);this[_0xd94c('0x4')]=!![];}_0x131e73++;}this[_0xd94c('0x3')]=_0x2c747c;}else{while((_0x95e7e2=_0x2c747c[_0xd94c('0xd')](_0x1215b8))!=-0x1){_0x402e69=_0x2c747c[_0xd94c('0x9')](0x0,_0x95e7e2);this[_0xd94c('0xe')](_0xd94c('0xf'),_0x402e69);_0x2c747c=_0x2c747c[_0xd94c('0x9')](_0x95e7e2+_0x1215b8['length']);}this[_0xd94c('0x3')]=_0x2c747c;}_0x6508ef();};module[_0xd94c('0x10')]=AGIReply;
\ No newline at end of file