Built motion from commit 497d3d92.|2.5.43
[motion2.git] / server / services / agi / reply.js
index d968eb7..84e6390 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 _0xd494=['exports','util','Transform','_localBuffer','_inBody','inherits','_transform','toString','indexOf','substring','length','split','slice','trim','emit','headers','line'];(function(_0x472a66,_0xcc0bcd){var _0xf99cf1=function(_0x1ab69b){while(--_0x1ab69b){_0x472a66['push'](_0x472a66['shift']());}};_0xf99cf1(++_0xcc0bcd);}(_0xd494,0x166));var _0x4d49=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0xd494[_0x2641f9];return _0x585741;};'use strict';var util=require(_0x4d49('0x0'));var Transform=require('stream')[_0x4d49('0x1')];function AGIReply(_0x52d690){Transform['call'](this,_0x52d690);this[_0x4d49('0x2')]='';this[_0x4d49('0x3')]=![];}util[_0x4d49('0x4')](AGIReply,Transform);AGIReply['prototype'][_0x4d49('0x5')]=function(_0x4c40e3,_0x25d162,_0x58b490){var _0x132b57='\x0a',_0x458929=['\x0a\x0a','\x0d\x0a\x0d\x0a'],_0x1c149a=-0x1,_0x8c72a4=-0x1,_0x590bf5='',_0x36b63a=0x0,_0xb74f36='',_0x1b1c20='';this[_0x4d49('0x2')]+=_0x4c40e3[_0x4d49('0x6')]();_0xb74f36=this[_0x4d49('0x2')];if(!this['_inBody']){_0x36b63a=0x0;while(_0x458929[_0x36b63a]){while((_0x8c72a4=_0xb74f36[_0x4d49('0x7')](_0x458929[_0x36b63a]))!=-0x1){_0x590bf5=_0x458929[_0x36b63a];_0x1b1c20=_0xb74f36[_0x4d49('0x8')](0x0,_0x8c72a4);_0xb74f36=_0xb74f36[_0x4d49('0x8')](_0x8c72a4+_0x590bf5[_0x4d49('0x9')]);var _0x3dc9a5=_0x1b1c20[_0x4d49('0xa')](_0x132b57),_0x116355=0x0,_0x33c561={},_0x3eef81='',_0x503b01='',_0x26a663=-0x1;while(_0x3dc9a5[_0x116355]){_0x26a663=_0x3dc9a5[_0x116355][_0x4d49('0x7')](':');if(_0x26a663!=-0x1){_0x3eef81=_0x3dc9a5[_0x116355][_0x4d49('0xb')](0x0,_0x26a663)[_0x4d49('0xc')]();_0x503b01=_0x3dc9a5[_0x116355]['slice'](_0x26a663+0x1)['trim']();if(_0x3eef81[_0x4d49('0x9')]>0x0){_0x33c561[_0x3eef81]=_0x503b01;}}else{}_0x116355++;}this[_0x4d49('0xd')](_0x4d49('0xe'),_0x33c561);this[_0x4d49('0x3')]=!![];}_0x36b63a++;}this[_0x4d49('0x2')]=_0xb74f36;}else{while((_0x1c149a=_0xb74f36[_0x4d49('0x7')](_0x132b57))!=-0x1){_0x1b1c20=_0xb74f36[_0x4d49('0x8')](0x0,_0x1c149a);this[_0x4d49('0xd')](_0x4d49('0xf'),_0x1b1c20);_0xb74f36=_0xb74f36[_0x4d49('0x8')](_0x1c149a+_0x132b57[_0x4d49('0x9')]);}this['_localBuffer']=_0xb74f36;}_0x58b490();};module[_0x4d49('0x10')]=AGIReply;
\ No newline at end of file