YiAi/YiAiQuickDeploy/dist/common/middleware/xml.middleware.js
2024-02-06 13:43:30 +08:00

1 line
2.4 KiB
JavaScript

'use strict';var _0x55f16a=_0x50f9;(function(_0xd41525,_0xd7c0fd){var _0x3edcfb=_0x50f9,_0x266a76=_0xd41525();while(!![]){try{var _0x43687b=parseInt(_0x3edcfb(0xac))/0x1*(parseInt(_0x3edcfb(0xaf))/0x2)+parseInt(_0x3edcfb(0xa6))/0x3+-parseInt(_0x3edcfb(0xa5))/0x4+-parseInt(_0x3edcfb(0xb0))/0x5+parseInt(_0x3edcfb(0xae))/0x6*(parseInt(_0x3edcfb(0x9f))/0x7)+-parseInt(_0x3edcfb(0xa2))/0x8+parseInt(_0x3edcfb(0xa1))/0x9;if(_0x43687b===_0xd7c0fd)break;else _0x266a76['push'](_0x266a76['shift']());}catch(_0x41ef4a){_0x266a76['push'](_0x266a76['shift']());}}}(_0x4851,0xb4c04));function _0x4851(){var _0x150f01=['2506UFctCF','object','4388121dQzOAX','2960664yMUIkv','length','XMLMiddleware','893128xrhInr','1040694aHsfjh','use','body-parser','decorate','text','__decorate','1VXMmlD','__esModule','14082TXOTFC','1463378smZWfB','5363305lxQdnq','@nestjs/common','defineProperty','Injectable'];_0x4851=function(){return _0x150f01;};return _0x4851();}function _0x50f9(_0xd46267,_0x5dde24){var _0x4851e1=_0x4851();return _0x50f9=function(_0x50f9bd,_0x10798d){_0x50f9bd=_0x50f9bd-0x9e;var _0x4cdbf8=_0x4851e1[_0x50f9bd];return _0x4cdbf8;},_0x50f9(_0xd46267,_0x5dde24);}var __decorate=this&&this[_0x55f16a(0xab)]||function(_0x4df094,_0x3a2b1d,_0x46d6a7,_0x111b26){var _0xf83f47=_0x55f16a,_0x3766b9=arguments[_0xf83f47(0xa3)],_0x3eb615=_0x3766b9<0x3?_0x3a2b1d:_0x111b26===null?_0x111b26=Object['getOwnPropertyDescriptor'](_0x3a2b1d,_0x46d6a7):_0x111b26,_0x505228;if(typeof Reflect===_0xf83f47(0xa0)&&typeof Reflect[_0xf83f47(0xa9)]==='function')_0x3eb615=Reflect[_0xf83f47(0xa9)](_0x4df094,_0x3a2b1d,_0x46d6a7,_0x111b26);else{for(var _0x183b0c=_0x4df094[_0xf83f47(0xa3)]-0x1;_0x183b0c>=0x0;_0x183b0c--)if(_0x505228=_0x4df094[_0x183b0c])_0x3eb615=(_0x3766b9<0x3?_0x505228(_0x3eb615):_0x3766b9>0x3?_0x505228(_0x3a2b1d,_0x46d6a7,_0x3eb615):_0x505228(_0x3a2b1d,_0x46d6a7))||_0x3eb615;}return _0x3766b9>0x3&&_0x3eb615&&Object[_0xf83f47(0xb2)](_0x3a2b1d,_0x46d6a7,_0x3eb615),_0x3eb615;};Object[_0x55f16a(0xb2)](exports,_0x55f16a(0xad),{'value':!![]}),exports[_0x55f16a(0xa4)]=void 0x0;const common_1=require(_0x55f16a(0xb1)),bodyParser=require(_0x55f16a(0xa8)),bodyParserMiddleware=bodyParser[_0x55f16a(0xaa)]({'type':'application/xml'});let XMLMiddleware=class XMLMiddleware{[_0x55f16a(0xa7)](_0x4b1f78,_0x2d0ab4,_0x2339de){bodyParserMiddleware(_0x4b1f78,_0x2d0ab4,_0x2339de);}};XMLMiddleware=__decorate([(0x0,common_1[_0x55f16a(0x9e)])()],XMLMiddleware),exports[_0x55f16a(0xa4)]=XMLMiddleware;