Built motion from commit 8dca541896b0ff92bb88a36cc13f4f385b593b4b. Version 3.0.0...
[motion-next.git] / server / services / agi / scripts / aws / lex / lib / api.js
index 1272613..9587aba 100644 (file)
@@ -1 +1 @@
-const a1035_0x4a59=['aws-sdk','slot_','slots','LexRuntime','postText'];(function(_0x10aaef,_0x4a598f){const _0x1fbf3d=function(_0x371890){while(--_0x371890){_0x10aaef['push'](_0x10aaef['shift']());}};_0x1fbf3d(++_0x4a598f);}(a1035_0x4a59,0x1e8));const a1035_0x1fbf=function(_0x10aaef,_0x4a598f){_0x10aaef=_0x10aaef-0x0;let _0x1fbf3d=a1035_0x4a59[_0x10aaef];return _0x1fbf3d;};const _0x39fac4=a1035_0x1fbf;'use strict';const AWS=require(_0x39fac4('0x2'));function lexResult(_0x371890,_0x444e1b){return new Promise(function(_0x4cd6f0,_0x29068a){const _0xe77d74=a1035_0x1fbf;_0x371890[_0xe77d74('0x1')](_0x444e1b,function(_0x28066d,_0x5ead8e){const _0xd189e=_0xe77d74;_0x28066d&&_0x29068a(_0x28066d);if(_0x5ead8e[_0xd189e('0x4')])for(const _0x9a4b74 in _0x5ead8e['slots']){if(typeof _0x5ead8e[_0xd189e('0x4')][_0x9a4b74]!=='undefined'){const _0x1bf2fd=_0x5ead8e[_0xd189e('0x4')][_0x9a4b74];_0x5ead8e[_0xd189e('0x3')+_0x9a4b74]=_0x1bf2fd;}}_0x4cd6f0(_0x5ead8e);});});}module['exports']=function(_0x2bbf75,_0x32c902,_0x468cad,_0x2b65a0,_0x2c8078,_0x257ba3){const _0x5237a6=_0x39fac4,_0x1e5215=new AWS[(_0x5237a6('0x0'))]({'accessKeyId':_0x32c902,'secretAccessKey':_0x468cad,'region':_0x2b65a0}),_0xe30ccf={'botAlias':'$LATEST','botName':_0x257ba3,'inputText':_0x2c8078,'userId':_0x2bbf75};return lexResult(_0x1e5215,_0xe30ccf);};
\ No newline at end of file
+const a1035_0x2237=['postText','aws-sdk','slots','undefined','LexRuntime'];(function(_0x11c385,_0x2237ed){const _0x48ee80=function(_0x4ec869){while(--_0x4ec869){_0x11c385['push'](_0x11c385['shift']());}};_0x48ee80(++_0x2237ed);}(a1035_0x2237,0x18b));const a1035_0x48ee=function(_0x11c385,_0x2237ed){_0x11c385=_0x11c385-0x0;let _0x48ee80=a1035_0x2237[_0x11c385];return _0x48ee80;};const _0x265091=a1035_0x48ee;'use strict';const AWS=require(_0x265091('0x1'));function lexResult(_0x4ec869,_0x5b499d){return new Promise(function(_0x52562c,_0x562c62){const _0x2d5414=a1035_0x48ee;_0x4ec869[_0x2d5414('0x0')](_0x5b499d,function(_0x5b16bc,_0x2c0d9f){const _0x197e2d=_0x2d5414;_0x5b16bc&&_0x562c62(_0x5b16bc);if(_0x2c0d9f[_0x197e2d('0x2')])for(const _0x17140c in _0x2c0d9f[_0x197e2d('0x2')]){if(typeof _0x2c0d9f[_0x197e2d('0x2')][_0x17140c]!==_0x197e2d('0x3')){const _0x4094ff=_0x2c0d9f[_0x197e2d('0x2')][_0x17140c];_0x2c0d9f['slot_'+_0x17140c]=_0x4094ff;}}_0x52562c(_0x2c0d9f);});});}module['exports']=function(_0x5734d2,_0x21e1ba,_0x1aaba4,_0x5479c0,_0x135fb0,_0x2725b1){const _0x2c8c38=_0x265091,_0x2676fe=new AWS[(_0x2c8c38('0x4'))]({'accessKeyId':_0x21e1ba,'secretAccessKey':_0x1aaba4,'region':_0x5479c0}),_0x20a5dc={'botAlias':'$LATEST','botName':_0x2725b1,'inputText':_0x135fb0,'userId':_0x5734d2};return lexResult(_0x2676fe,_0x20a5dc);};
\ No newline at end of file