'use strict';const _0x459ca=_0x35fe;(function(_0x3ae0e1,_0x3cc53){const _0x34078c=_0x35fe,_0x5adda4=_0x3ae0e1();while(!![]){try{const _0x3f82cf=parseInt(_0x34078c(0x19e))/0x1+-parseInt(_0x34078c(0x194))/0x2*(parseInt(_0x34078c(0x188))/0x3)+-parseInt(_0x34078c(0x1ab))/0x4*(parseInt(_0x34078c(0x187))/0x5)+-parseInt(_0x34078c(0x1b3))/0x6+parseInt(_0x34078c(0x18e))/0x7*(-parseInt(_0x34078c(0x189))/0x8)+parseInt(_0x34078c(0x19c))/0x9+-parseInt(_0x34078c(0x1b1))/0xa*(-parseInt(_0x34078c(0x19d))/0xb);if(_0x3f82cf===_0x3cc53)break;else _0x5adda4['push'](_0x5adda4['shift']());}catch(_0x28921a){_0x5adda4['push'](_0x5adda4['shift']());}}}(_0x3d95,0xe9313));function _0x35fe(_0x3915dc,_0x186949){const _0x3d9534=_0x3d95();return _0x35fe=function(_0x35fe75,_0x547867){_0x35fe75=_0x35fe75-0x184;let _0x5c0438=_0x3d9534[_0x35fe75];return _0x5c0438;},_0x35fe(_0x3915dc,_0x186949);}Object[_0x459ca(0x18c)](exports,_0x459ca(0x193),{'value':!![]});const Dotenv=require(_0x459ca(0x1a2));Dotenv['config']({'path':'.env'});function _0x3d95(){const _0x31bcd6=['hbs','enableCors','useGlobalPipes','APIPREFIX','Logger','6670670qQZxEh','436830YTVIml','544552jKmzWl','resolve','AppModule','defineProperty','@nestjs/core','196uBPkiM','Main','path','./public','./modules/database/initDatabase','__esModule','8tvKlck','TypeOrmQueryFailedFilter','ValidationPipe','./app.module','log','服务启动成功:\x20http://localhost:','./common/swagger','setGlobalPrefix','8420616BsgzEX','5460191sqdoWt','89088iHWQKc','AllExceptionsFilter','timeout','use','dotenv','./common/filters/typeOrmQueryFailed.filter','NestFactory','set','/nineai/swagger/docs','view\x20engine','initDatabase','express-xml-bodyparser','getHttpAdapter','4sKIepB','listen','./common/interceptors/transform.interceptor','PORT','views','compression','110DxjuMI','useGlobalFilters','10243452jGWbxq','getInstance'];_0x3d95=function(){return _0x31bcd6;};return _0x3d95();}const core_1=require(_0x459ca(0x18d)),app_module_1=require(_0x459ca(0x197)),swagger_1=require(_0x459ca(0x19a)),allExceptions_filter_1=require('./common/filters/allExceptions.filter'),typeOrmQueryFailed_filter_1=require(_0x459ca(0x1a3)),common_1=require('@nestjs/common'),transform_interceptor_1=require(_0x459ca(0x1ad)),main_1=require('./config/main'),initDatabase_1=require(_0x459ca(0x192)),compression=require(_0x459ca(0x1b0)),xmlBodyParser=require(_0x459ca(0x1a9)),path_1=require(_0x459ca(0x190));async function bootstrap(){const _0x18fb9c=_0x459ca;await(0x0,initDatabase_1[_0x18fb9c(0x1a8)])();const _0x118f85=await core_1[_0x18fb9c(0x1a4)]['create'](app_module_1[_0x18fb9c(0x18b)]);_0x118f85[_0x18fb9c(0x1a1)](compression());const _0x41f05b=(0x0,path_1[_0x18fb9c(0x18a)])(__dirname,_0x18fb9c(0x191));_0x118f85['use'](xmlBodyParser()),_0x118f85[_0x18fb9c(0x1b6)](),_0x118f85[_0x18fb9c(0x19b)](main_1[_0x18fb9c(0x185)]),_0x118f85['useGlobalInterceptors'](new transform_interceptor_1['TransformInterceptor']()),_0x118f85[_0x18fb9c(0x1b2)](new typeOrmQueryFailed_filter_1[(_0x18fb9c(0x195))]()),_0x118f85[_0x18fb9c(0x1b2)](new allExceptions_filter_1[(_0x18fb9c(0x19f))]()),_0x118f85[_0x18fb9c(0x184)](new common_1[(_0x18fb9c(0x196))]()),_0x118f85['getHttpAdapter']()[_0x18fb9c(0x1b4)]()[_0x18fb9c(0x1a5)](_0x18fb9c(0x1af),'templates/pages'),_0x118f85[_0x18fb9c(0x1aa)]()[_0x18fb9c(0x1b4)]()[_0x18fb9c(0x1a5)](_0x18fb9c(0x1a7),_0x18fb9c(0x1b5)),(0x0,swagger_1['createSwagger'])(_0x118f85);const _0x18310e=await _0x118f85[_0x18fb9c(0x1ac)](main_1[_0x18fb9c(0x1ae)],()=>{const _0xc1d63b=_0x18fb9c;common_1[_0xc1d63b(0x186)][_0xc1d63b(0x198)](_0xc1d63b(0x199)+main_1['PORT']+_0xc1d63b(0x1a6),_0xc1d63b(0x18f));});_0x18310e[_0x18fb9c(0x1a0)]=0x5*0x3c*0x3e8;}bootstrap();