Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / services / agi / reply.js
index af98b55..4632b86 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1a41=['headers','_localBuffer','emit','line','exports','stream','call','_inBody','inherits','prototype','toString','substring','length','split','indexOf','slice','trim'];(function(_0x9ac04e,_0x5d1835){var _0x4c64c4=function(_0x2e8a1c){while(--_0x2e8a1c){_0x9ac04e['push'](_0x9ac04e['shift']());}};_0x4c64c4(++_0x5d1835);}(_0x1a41,0x126));var _0x11a4=function(_0x25a6dc,_0x2e1a0a){_0x25a6dc=_0x25a6dc-0x0;var _0x238823=_0x1a41[_0x25a6dc];return _0x238823;};'use strict';var util=require('util');var Transform=require(_0x11a4('0x0'))['Transform'];function AGIReply(_0x24290e){Transform[_0x11a4('0x1')](this,_0x24290e);this['_localBuffer']='';this[_0x11a4('0x2')]=![];}util[_0x11a4('0x3')](AGIReply,Transform);AGIReply[_0x11a4('0x4')]['_transform']=function(_0x3e9544,_0x22077c,_0x5f019c){var _0x3fef3b='\x0a',_0x3044c2=['\x0a\x0a','\x0d\x0a\x0d\x0a'],_0x2f3cbc=-0x1,_0x47e999=-0x1,_0x49e7ff='',_0x29a029=0x0,_0x151f73='',_0x8eec18='';this['_localBuffer']+=_0x3e9544[_0x11a4('0x5')]();_0x151f73=this['_localBuffer'];if(!this[_0x11a4('0x2')]){_0x29a029=0x0;while(_0x3044c2[_0x29a029]){while((_0x47e999=_0x151f73['indexOf'](_0x3044c2[_0x29a029]))!=-0x1){_0x49e7ff=_0x3044c2[_0x29a029];_0x8eec18=_0x151f73[_0x11a4('0x6')](0x0,_0x47e999);_0x151f73=_0x151f73['substring'](_0x47e999+_0x49e7ff[_0x11a4('0x7')]);var _0xbe2ca1=_0x8eec18[_0x11a4('0x8')](_0x3fef3b),_0x33d343=0x0,_0x216eea={},_0x423570='',_0x2988bb='',_0x2e6816=-0x1;while(_0xbe2ca1[_0x33d343]){_0x2e6816=_0xbe2ca1[_0x33d343][_0x11a4('0x9')](':');if(_0x2e6816!=-0x1){_0x423570=_0xbe2ca1[_0x33d343][_0x11a4('0xa')](0x0,_0x2e6816)[_0x11a4('0xb')]();_0x2988bb=_0xbe2ca1[_0x33d343][_0x11a4('0xa')](_0x2e6816+0x1)[_0x11a4('0xb')]();if(_0x423570[_0x11a4('0x7')]>0x0){_0x216eea[_0x423570]=_0x2988bb;}}else{}_0x33d343++;}this['emit'](_0x11a4('0xc'),_0x216eea);this[_0x11a4('0x2')]=!![];}_0x29a029++;}this[_0x11a4('0xd')]=_0x151f73;}else{while((_0x2f3cbc=_0x151f73[_0x11a4('0x9')](_0x3fef3b))!=-0x1){_0x8eec18=_0x151f73[_0x11a4('0x6')](0x0,_0x2f3cbc);this[_0x11a4('0xe')](_0x11a4('0xf'),_0x8eec18);_0x151f73=_0x151f73[_0x11a4('0x6')](_0x2f3cbc+_0x3fef3b[_0x11a4('0x7')]);}this[_0x11a4('0xd')]=_0x151f73;}_0x5f019c();};module[_0x11a4('0x10')]=AGIReply;
\ No newline at end of file
+var _0x61ce=['exports','stream','Transform','_localBuffer','_inBody','inherits','prototype','_transform','\x0d\x0a\x0d\x0a','toString','indexOf','substring','length','slice','trim','emit','headers','line'];(function(_0x1aed80,_0x3ca6f6){var _0x43961e=function(_0x43bf2b){while(--_0x43bf2b){_0x1aed80['push'](_0x1aed80['shift']());}};_0x43961e(++_0x3ca6f6);}(_0x61ce,0xeb));var _0xe61c=function(_0x51c25d,_0x4a1994){_0x51c25d=_0x51c25d-0x0;var _0x279002=_0x61ce[_0x51c25d];return _0x279002;};'use strict';var util=require('util');var Transform=require(_0xe61c('0x0'))[_0xe61c('0x1')];function AGIReply(_0x5ed46f){Transform['call'](this,_0x5ed46f);this[_0xe61c('0x2')]='';this[_0xe61c('0x3')]=![];}util[_0xe61c('0x4')](AGIReply,Transform);AGIReply[_0xe61c('0x5')][_0xe61c('0x6')]=function(_0x1fc5f9,_0x18488d,_0x2b93cc){var _0x1f2797='\x0a',_0x547ad7=['\x0a\x0a',_0xe61c('0x7')],_0x3c77ca=-0x1,_0xca2144=-0x1,_0x3c4af4='',_0x15b204=0x0,_0x27b17c='',_0x5e80ae='';this[_0xe61c('0x2')]+=_0x1fc5f9[_0xe61c('0x8')]();_0x27b17c=this[_0xe61c('0x2')];if(!this[_0xe61c('0x3')]){_0x15b204=0x0;while(_0x547ad7[_0x15b204]){while((_0xca2144=_0x27b17c[_0xe61c('0x9')](_0x547ad7[_0x15b204]))!=-0x1){_0x3c4af4=_0x547ad7[_0x15b204];_0x5e80ae=_0x27b17c['substring'](0x0,_0xca2144);_0x27b17c=_0x27b17c[_0xe61c('0xa')](_0xca2144+_0x3c4af4[_0xe61c('0xb')]);var _0x59e1f2=_0x5e80ae['split'](_0x1f2797),_0x558658=0x0,_0x166f40={},_0x145f8c='',_0x1d5f35='',_0x3bd46b=-0x1;while(_0x59e1f2[_0x558658]){_0x3bd46b=_0x59e1f2[_0x558658][_0xe61c('0x9')](':');if(_0x3bd46b!=-0x1){_0x145f8c=_0x59e1f2[_0x558658][_0xe61c('0xc')](0x0,_0x3bd46b)[_0xe61c('0xd')]();_0x1d5f35=_0x59e1f2[_0x558658][_0xe61c('0xc')](_0x3bd46b+0x1)[_0xe61c('0xd')]();if(_0x145f8c[_0xe61c('0xb')]>0x0){_0x166f40[_0x145f8c]=_0x1d5f35;}}else{}_0x558658++;}this[_0xe61c('0xe')](_0xe61c('0xf'),_0x166f40);this[_0xe61c('0x3')]=!![];}_0x15b204++;}this[_0xe61c('0x2')]=_0x27b17c;}else{while((_0x3c77ca=_0x27b17c[_0xe61c('0x9')](_0x1f2797))!=-0x1){_0x5e80ae=_0x27b17c[_0xe61c('0xa')](0x0,_0x3c77ca);this['emit'](_0xe61c('0x10'),_0x5e80ae);_0x27b17c=_0x27b17c[_0xe61c('0xa')](_0x3c77ca+_0x1f2797[_0xe61c('0xb')]);}this[_0xe61c('0x2')]=_0x27b17c;}_0x2b93cc();};module[_0xe61c('0x11')]=AGIReply;
\ No newline at end of file