Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / services / agi / reply.js
index a7e2689..4632b86 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7a54=['substring','length','split','indexOf','slice','trim','emit','util','stream','Transform','call','_localBuffer','inherits','prototype','_transform','toString','_inBody'];(function(_0x34d121,_0x4bffcc){var _0xc18d42=function(_0x3be714){while(--_0x3be714){_0x34d121['push'](_0x34d121['shift']());}};_0xc18d42(++_0x4bffcc);}(_0x7a54,0x106));var _0x47a5=function(_0x31878c,_0x4fdd94){_0x31878c=_0x31878c-0x0;var _0x577ddb=_0x7a54[_0x31878c];return _0x577ddb;};'use strict';var util=require(_0x47a5('0x0'));var Transform=require(_0x47a5('0x1'))[_0x47a5('0x2')];function AGIReply(_0x58157c){Transform[_0x47a5('0x3')](this,_0x58157c);this[_0x47a5('0x4')]='';this['_inBody']=![];}util[_0x47a5('0x5')](AGIReply,Transform);AGIReply[_0x47a5('0x6')][_0x47a5('0x7')]=function(_0x3717e1,_0xfdf934,_0x545a97){var _0x3d5629='\x0a',_0x59199c=['\x0a\x0a','\x0d\x0a\x0d\x0a'],_0x343372=-0x1,_0x30e405=-0x1,_0x506eda='',_0x194fb0=0x0,_0x5077f3='',_0x5d90b3='';this[_0x47a5('0x4')]+=_0x3717e1[_0x47a5('0x8')]();_0x5077f3=this['_localBuffer'];if(!this[_0x47a5('0x9')]){_0x194fb0=0x0;while(_0x59199c[_0x194fb0]){while((_0x30e405=_0x5077f3['indexOf'](_0x59199c[_0x194fb0]))!=-0x1){_0x506eda=_0x59199c[_0x194fb0];_0x5d90b3=_0x5077f3['substring'](0x0,_0x30e405);_0x5077f3=_0x5077f3[_0x47a5('0xa')](_0x30e405+_0x506eda[_0x47a5('0xb')]);var _0x2f399b=_0x5d90b3[_0x47a5('0xc')](_0x3d5629),_0x250fad=0x0,_0xd612dd={},_0xd308b8='',_0x1eae59='',_0x5beb89=-0x1;while(_0x2f399b[_0x250fad]){_0x5beb89=_0x2f399b[_0x250fad][_0x47a5('0xd')](':');if(_0x5beb89!=-0x1){_0xd308b8=_0x2f399b[_0x250fad][_0x47a5('0xe')](0x0,_0x5beb89)[_0x47a5('0xf')]();_0x1eae59=_0x2f399b[_0x250fad][_0x47a5('0xe')](_0x5beb89+0x1)[_0x47a5('0xf')]();if(_0xd308b8[_0x47a5('0xb')]>0x0){_0xd612dd[_0xd308b8]=_0x1eae59;}}else{}_0x250fad++;}this[_0x47a5('0x10')]('headers',_0xd612dd);this[_0x47a5('0x9')]=!![];}_0x194fb0++;}this[_0x47a5('0x4')]=_0x5077f3;}else{while((_0x343372=_0x5077f3[_0x47a5('0xd')](_0x3d5629))!=-0x1){_0x5d90b3=_0x5077f3[_0x47a5('0xa')](0x0,_0x343372);this[_0x47a5('0x10')]('line',_0x5d90b3);_0x5077f3=_0x5077f3['substring'](_0x343372+_0x3d5629[_0x47a5('0xb')]);}this['_localBuffer']=_0x5077f3;}_0x545a97();};module['exports']=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