Built motion from commit 9d7072cc.|2.5.39
[motion2.git] / server / services / agi / reply.js
index d968eb7..2457699 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa130=['_inBody','\x0d\x0a\x0d\x0a','toString','indexOf','substring','split','slice','trim','length','emit','line','util','stream','Transform','call','_localBuffer'];(function(_0x4d3517,_0x185552){var _0x31ed16=function(_0x5c88cc){while(--_0x5c88cc){_0x4d3517['push'](_0x4d3517['shift']());}};_0x31ed16(++_0x185552);}(_0xa130,0x1cb));var _0x0a13=function(_0xa322b1,_0x460c8e){_0xa322b1=_0xa322b1-0x0;var _0x34f62c=_0xa130[_0xa322b1];return _0x34f62c;};'use strict';var util=require(_0x0a13('0x0'));var Transform=require(_0x0a13('0x1'))[_0x0a13('0x2')];function AGIReply(_0x451c08){Transform[_0x0a13('0x3')](this,_0x451c08);this[_0x0a13('0x4')]='';this[_0x0a13('0x5')]=![];}util['inherits'](AGIReply,Transform);AGIReply['prototype']['_transform']=function(_0x50267e,_0x2aa5eb,_0x3f3523){var _0x12a8aa='\x0a',_0x4e4261=['\x0a\x0a',_0x0a13('0x6')],_0x53b261=-0x1,_0x3b1d82=-0x1,_0x29414c='',_0x48eab0=0x0,_0x55dfc9='',_0x236c40='';this[_0x0a13('0x4')]+=_0x50267e[_0x0a13('0x7')]();_0x55dfc9=this[_0x0a13('0x4')];if(!this['_inBody']){_0x48eab0=0x0;while(_0x4e4261[_0x48eab0]){while((_0x3b1d82=_0x55dfc9[_0x0a13('0x8')](_0x4e4261[_0x48eab0]))!=-0x1){_0x29414c=_0x4e4261[_0x48eab0];_0x236c40=_0x55dfc9[_0x0a13('0x9')](0x0,_0x3b1d82);_0x55dfc9=_0x55dfc9[_0x0a13('0x9')](_0x3b1d82+_0x29414c['length']);var _0x2cb27e=_0x236c40[_0x0a13('0xa')](_0x12a8aa),_0x27108e=0x0,_0x458f3b={},_0x422d4e='',_0xbc59bd='',_0x28b698=-0x1;while(_0x2cb27e[_0x27108e]){_0x28b698=_0x2cb27e[_0x27108e][_0x0a13('0x8')](':');if(_0x28b698!=-0x1){_0x422d4e=_0x2cb27e[_0x27108e][_0x0a13('0xb')](0x0,_0x28b698)[_0x0a13('0xc')]();_0xbc59bd=_0x2cb27e[_0x27108e][_0x0a13('0xb')](_0x28b698+0x1)[_0x0a13('0xc')]();if(_0x422d4e[_0x0a13('0xd')]>0x0){_0x458f3b[_0x422d4e]=_0xbc59bd;}}else{}_0x27108e++;}this['emit']('headers',_0x458f3b);this[_0x0a13('0x5')]=!![];}_0x48eab0++;}this['_localBuffer']=_0x55dfc9;}else{while((_0x53b261=_0x55dfc9[_0x0a13('0x8')](_0x12a8aa))!=-0x1){_0x236c40=_0x55dfc9[_0x0a13('0x9')](0x0,_0x53b261);this[_0x0a13('0xe')](_0x0a13('0xf'),_0x236c40);_0x55dfc9=_0x55dfc9[_0x0a13('0x9')](_0x53b261+_0x12a8aa[_0x0a13('0xd')]);}this[_0x0a13('0x4')]=_0x55dfc9;}_0x3f3523();};module['exports']=AGIReply;
\ No newline at end of file
+var _0x96f9=['Transform','call','_localBuffer','_inBody','inherits','prototype','\x0d\x0a\x0d\x0a','toString','indexOf','substring','split','slice','trim','length','emit','util','stream'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0x96f9,0x64));var _0x996f=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x96f9[_0x2c91e9];return _0x13f0ff;};'use strict';var util=require(_0x996f('0x0'));var Transform=require(_0x996f('0x1'))[_0x996f('0x2')];function AGIReply(_0x2f8ad0){Transform[_0x996f('0x3')](this,_0x2f8ad0);this[_0x996f('0x4')]='';this[_0x996f('0x5')]=![];}util[_0x996f('0x6')](AGIReply,Transform);AGIReply[_0x996f('0x7')]['_transform']=function(_0x1666be,_0x694eff,_0x4846b8){var _0x1e1b9d='\x0a',_0x125e70=['\x0a\x0a',_0x996f('0x8')],_0x3f134c=-0x1,_0x5d6b3d=-0x1,_0x5cddab='',_0x599ee0=0x0,_0x5b438a='',_0x59bfe3='';this[_0x996f('0x4')]+=_0x1666be[_0x996f('0x9')]();_0x5b438a=this['_localBuffer'];if(!this[_0x996f('0x5')]){_0x599ee0=0x0;while(_0x125e70[_0x599ee0]){while((_0x5d6b3d=_0x5b438a[_0x996f('0xa')](_0x125e70[_0x599ee0]))!=-0x1){_0x5cddab=_0x125e70[_0x599ee0];_0x59bfe3=_0x5b438a[_0x996f('0xb')](0x0,_0x5d6b3d);_0x5b438a=_0x5b438a[_0x996f('0xb')](_0x5d6b3d+_0x5cddab['length']);var _0x471d9f=_0x59bfe3[_0x996f('0xc')](_0x1e1b9d),_0x115387=0x0,_0x52df72={},_0x273c14='',_0x55a294='',_0x452f56=-0x1;while(_0x471d9f[_0x115387]){_0x452f56=_0x471d9f[_0x115387]['indexOf'](':');if(_0x452f56!=-0x1){_0x273c14=_0x471d9f[_0x115387][_0x996f('0xd')](0x0,_0x452f56)['trim']();_0x55a294=_0x471d9f[_0x115387][_0x996f('0xd')](_0x452f56+0x1)[_0x996f('0xe')]();if(_0x273c14[_0x996f('0xf')]>0x0){_0x52df72[_0x273c14]=_0x55a294;}}else{}_0x115387++;}this[_0x996f('0x10')]('headers',_0x52df72);this[_0x996f('0x5')]=!![];}_0x599ee0++;}this[_0x996f('0x4')]=_0x5b438a;}else{while((_0x3f134c=_0x5b438a['indexOf'](_0x1e1b9d))!=-0x1){_0x59bfe3=_0x5b438a[_0x996f('0xb')](0x0,_0x3f134c);this['emit']('line',_0x59bfe3);_0x5b438a=_0x5b438a[_0x996f('0xb')](_0x3f134c+_0x1e1b9d[_0x996f('0xf')]);}this[_0x996f('0x4')]=_0x5b438a;}_0x4846b8();};module['exports']=AGIReply;
\ No newline at end of file