securityos/node_modules/next/dist/esm/server/config.js.map

1 line
21 KiB
Plaintext

{"version":3,"sources":["../../src/server/config.ts"],"names":["existsSync","basename","extname","join","relative","isAbsolute","resolve","pathToFileURL","findUp","Log","CONFIG_FILES","PHASE_DEVELOPMENT_SERVER","defaultConfig","normalizeConfig","loadWebpackHook","imageConfigDefault","loadEnvConfig","updateInitialEnv","flushAndExit","findRootDir","setHttpClientAndAgentOptions","pathHasPrefix","ZodParsedType","util","ZodUtil","processZodErrorMessage","issue","message","path","length","identifier","reduce","acc","cur","includes","replaceAll","separator","code","received","undefined","expected","joinValues","options","normalizeZodErrors","error","shouldExit","issues","flatMap","messages","unionErrors","map","forEach","unionMessages","unionShouldExit","push","warnOptionHasBeenDeprecated","config","nestedPropertyKey","reason","silent","current","found","nestedPropertyKeys","split","key","warn","warnOptionHasBeenMovedOutOfExperimental","oldKey","newKey","configFileName","experimental","newKeys","shift","assignDefaults","dir","userConfig","result","exportTrailingSlash","trailingSlash","Object","keys","currentConfig","value","Error","userDistDir","trim","Array","isArray","ext","constructor","c","k","v","output","i18n","rewrites","redirects","headers","assetPrefix","basePath","outputFileTracingIgnores","outputFileTracingExcludes","startsWith","endsWith","amp","canonicalBase","images","domains","URL","hostname","loader","loaderFile","absolutePath","outputStandalone","serverActionsBodySizeLimit","parseInt","toString","isNaN","outputFileTracingRoot","useDeploymentId","process","env","NEXT_DEPLOYMENT_ID","deploymentId","rootDir","outputFileTracing","i18nType","locales","defaultLocaleType","defaultLocale","invalidDomainItems","filter","item","domain","console","defaultLocaleDuplicate","find","altItem","hasInvalidLocale","locale","domainItem","JSON","stringify","invalidLocales","String","normalizedLocales","Set","duplicateLocales","localeLower","toLowerCase","has","add","size","localeDetectionType","localeDetection","devIndicators","buildActivityPosition","allowedValues","userProvidedModularizeImports","modularizeImports","transform","lodash","ramda","useAccordionButton","antd","ahooks","createUpdateEffect","IconProvider","createFromIconfontCN","getTwoToneColor","setTwoToneColor","userProvidedOptimizePackageImports","optimizePackageImports","loadConfig","phase","customConfig","rawConfig","onLoadUserConfig","__NEXT_PRIVATE_RENDER_WORKER","err","__NEXT_PRIVATE_STANDALONE_CONFIG","parse","__NEXT_PRIVATE_RENDER_WORKER_CONFIG","curLog","info","configOrigin","cwd","userConfigModule","envBefore","assign","__NEXT_TEST_MODE","require","href","newEnv","default","NEXT_MINIMAL","configSchema","state","safeParse","success","errorMessages","target","slice","turbo","loaders","rules","entries","completeConfig","configFile","configBaseName","nonJsPath","sync","getEnabledExperimentalFeatures","userNextConfigExperimental","enabledExperiments","featureName"],"mappings":"AAAA,SAASA,UAAU,QAAQ,KAAI;AAC/B,SAASC,QAAQ,EAAEC,OAAO,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,OAAO,QAAQ,OAAM;AAC7E,SAASC,aAAa,QAAQ,MAAK;AACnC,OAAOC,YAAY,6BAA4B;AAC/C,YAAYC,SAAS,sBAAqB;AAC1C,SAASC,YAAY,EAAEC,wBAAwB,QAAQ,0BAAyB;AAChF,SAASC,aAAa,EAAEC,eAAe,QAAQ,kBAAiB;AAQhE,SAASC,eAAe,QAAQ,iBAAgB;AAChD,SAASC,kBAAkB,QAAQ,6BAA4B;AAE/D,SAASC,aAAa,EAAEC,gBAAgB,QAAQ,YAAW;AAC3D,SAASC,YAAY,QAAQ,8BAA6B;AAC1D,SAASC,WAAW,QAAQ,mBAAkB;AAC9C,SAASC,4BAA4B,QAAQ,yBAAwB;AACrE,SAASC,aAAa,QAAQ,6CAA4C;AAE1E,SAASC,aAAa,EAAEC,QAAQC,OAAO,QAAQ,yBAAwB;AAGvE,SAASX,eAAe,QAAQ,kBAAiB;AAGjD,SAASY,uBAAuBC,KAAe;IAC7C,IAAIC,UAAUD,MAAMC,OAAO;IAE3B,IAAIC,OAAO;IAEX,IAAIF,MAAME,IAAI,CAACC,MAAM,GAAG,GAAG;QACzB,IAAIH,MAAME,IAAI,CAACC,MAAM,KAAK,GAAG;YAC3B,MAAMC,aAAaJ,MAAME,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XA,WAAW;QACb;QACAE,OAAO;YACLF,WAAW;QACb;QACA,mBAAmB;YACjBA,WAAW;gBACTG,oBACE;gBACF,KAAK;YACP;QACF;QACAC,MAAM;YACJJ,WAAW;QACb;QACAK,QAAQ;YACNL,WAAW;gBACTM,oBACE;gBACF,KAAK;YACP;QACF;QACA,qBAAqB;YACnBN,WAAW;gBACTO,cACE;gBACFC,sBAAsB;gBACtBC,iBACE;gBACFC,iBACE;gBACF,KAAK;YACP;QACF;QACA,eAAe;YACbV,WAAW;QACb;IACF;IAEA,MAAMW,qCACJ/F,EAAAA,wBAAAA,OAAON,YAAY,qBAAnBM,sBAAqBgG,sBAAsB,KAAI,EAAE;IACnD,IAAI,CAAChG,OAAON,YAAY,EAAE;QACxBM,OAAON,YAAY,GAAG,CAAC;IACzB;IACAM,OAAON,YAAY,CAACsG,sBAAsB,GAAG;WACxC,IAAI1B,IAAI;eACNyB;YACH;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA,4EAA4E;YAC5E,mCAAmC;YACnC,0EAA0E;YAC1E,wBAAwB;YACxB;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;SACD;KACF;IAED,OAAO/F;AACT;AAEA,eAAe,eAAeiG,WAC5BC,KAAa,EACbpG,GAAW,EACX,EACEqG,YAAY,EACZC,SAAS,EACTrH,SAAS,IAAI,EACbsH,gBAAgB,EAMjB,GAAG,CAAC,CAAC;IAEN,IAAI,CAACzD,QAAQC,GAAG,CAACyD,4BAA4B,EAAE;QAC7C,IAAI;YACFpK;QACF,EAAE,OAAOqK,KAAK;YACZ,gDAAgD;YAChD,yBAAyB;YACzB,IAAI,CAAC3D,QAAQC,GAAG,CAAC2D,gCAAgC,EAAE;gBACjD,MAAMD;YACR;QACF;I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