vibebusiness 1.2.73 → 1.2.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-build-manifest.json +17 -17
- package/.next/standalone/.next/app-path-routes-manifest.json +1 -1
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/prerender-manifest.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +1 -1
- package/.next/standalone/.next/server/app/api/analyze/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/epics/[id]/ideas/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/epics/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/epics/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/goals/[id]/kpis/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/goals/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/goals/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/hypotheses/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/hypotheses/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[id]/card/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[id]/comments/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[id]/implement/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[id]/transition/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/implementations/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/kpis/refresh/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/social/[id]/publish/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/social/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/social/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/goals/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/goals/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/goals/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/hypotheses/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/hypotheses/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/hypotheses/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/ideas/[id]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/ideas/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/investors/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/roadmap/investors/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/roadmap/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/public/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/roadmap/public/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/sessions/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings.html +1 -1
- package/.next/standalone/.next/server/app/settings.rsc +1 -1
- package/.next/standalone/.next/server/app/social/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/social.html +1 -1
- package/.next/standalone/.next/server/app/social.rsc +1 -1
- package/.next/standalone/.next/server/app/updates/[id]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/updates/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/updates/new/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/updates/new.html +1 -1
- package/.next/standalone/.next/server/app/updates/new.rsc +1 -1
- package/.next/standalone/.next/server/app/updates/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/updates/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app-paths-manifest.json +15 -15
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/data/business-context.json +1 -1
- package/.next/standalone/data/heartbeat-sessions.json +247 -0
- package/.next/standalone/data/ideas.json +393 -34
- package/.next/standalone/data/implementations.json +284 -1
- package/.next/standalone/data/marketing-plans/plan-1771884329778-7pxlrt7.json +115 -0
- package/.next/standalone/data/marketing-strategies.json +18 -0
- package/.next/standalone/node_modules/.cache/webpack/remotion-production-4.0.428/c99d23d3548030c8ff8de678c71eeb15/0.pack +0 -0
- package/.next/standalone/node_modules/.cache/webpack/remotion-production-4.0.428/c99d23d3548030c8ff8de678c71eeb15/index.pack +0 -0
- package/.next/standalone/node_modules/@esbuild/darwin-arm64/bin/esbuild +0 -0
- package/.next/standalone/node_modules/@esbuild/darwin-arm64/package.json +20 -0
- package/.next/standalone/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +358 -0
- package/.next/standalone/node_modules/@jridgewell/gen-mapping/package.json +67 -0
- package/.next/standalone/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +240 -0
- package/.next/standalone/node_modules/@jridgewell/resolve-uri/package.json +69 -0
- package/.next/standalone/node_modules/@jridgewell/source-map/dist/source-map.umd.js +152 -0
- package/.next/standalone/node_modules/@jridgewell/source-map/package.json +68 -0
- package/.next/standalone/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +464 -0
- package/.next/standalone/node_modules/@jridgewell/sourcemap-codec/package.json +63 -0
- package/.next/standalone/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +559 -0
- package/.next/standalone/node_modules/@jridgewell/trace-mapping/package.json +67 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/clone.js +11 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/index.js +129 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/node-helpers.js +107 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/node-path.js +148 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/nodes.js +1144 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/signatures.js +207 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/transform/ast-module-to-module-context/index.js +389 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/traverse.js +105 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/utils.js +315 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/package.json +32 -0
- package/.next/standalone/node_modules/@webassemblyjs/floating-point-hex-parser/lib/index.js +49 -0
- package/.next/standalone/node_modules/@webassemblyjs/floating-point-hex-parser/package.json +24 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-api-error/lib/index.js +78 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-api-error/package.json +18 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-buffer/lib/index.js +89 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-buffer/package.json +24 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-numbers/lib/index.js +117 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-numbers/package.json +25 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/index.js +430 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/section.js +38 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-bytecode/package.json +20 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/lib/create.js +123 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/lib/index.js +35 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/lib/remove.js +45 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/lib/resize.js +90 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/package.json +29 -0
- package/.next/standalone/node_modules/@webassemblyjs/ieee754/lib/index.js +52 -0
- package/.next/standalone/node_modules/@webassemblyjs/ieee754/package.json +23 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/lib/bits.js +156 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/lib/bufs.js +246 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/lib/index.js +59 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/lib/leb.js +347 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/package.json +23 -0
- package/.next/standalone/node_modules/@webassemblyjs/utf8/lib/decoder.js +74 -0
- package/.next/standalone/node_modules/@webassemblyjs/utf8/lib/encoder.js +67 -0
- package/.next/standalone/node_modules/@webassemblyjs/utf8/lib/index.js +21 -0
- package/.next/standalone/node_modules/@webassemblyjs/utf8/package.json +20 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-edit/lib/apply.js +318 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-edit/lib/index.js +134 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-edit/package.json +33 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-gen/lib/encoder/index.js +372 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-gen/lib/index.js +68 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-gen/package.json +27 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-opt/lib/index.js +66 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-opt/lib/leb128.js +56 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-opt/package.json +26 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-parser/lib/decoder.js +1970 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-parser/lib/index.js +262 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-parser/package.json +44 -0
- package/.next/standalone/node_modules/@xtuc/ieee754/dist/index.cjs.js +96 -0
- package/.next/standalone/node_modules/@xtuc/ieee754/package.json +42 -0
- package/.next/standalone/node_modules/@xtuc/long/package.json +36 -0
- package/.next/standalone/node_modules/@xtuc/long/src/long.js +1405 -0
- package/.next/standalone/node_modules/acorn/dist/acorn.js +6262 -0
- package/.next/standalone/node_modules/acorn/package.json +50 -0
- package/.next/standalone/node_modules/acorn-import-phases/package.json +46 -0
- package/.next/standalone/node_modules/acorn-import-phases/src/index.cjs +5 -0
- package/.next/standalone/node_modules/acorn-import-phases/src/plugin.cjs +125 -0
- package/.next/standalone/node_modules/ajv-formats/dist/formats.js +173 -0
- package/.next/standalone/node_modules/ajv-formats/dist/index.js +37 -0
- package/.next/standalone/node_modules/ajv-formats/dist/limit.js +69 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +50 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +123 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +242 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +28 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js +26 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +178 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/core.js +618 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json +13 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/package.json +127 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/json-schema-traverse/index.js +93 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/json-schema-traverse/package.json +43 -0
- package/.next/standalone/node_modules/ajv-formats/package.json +74 -0
- package/.next/standalone/node_modules/baseline-browser-mapping/dist/index.cjs +1 -0
- package/.next/standalone/node_modules/baseline-browser-mapping/package.json +64 -0
- package/.next/standalone/node_modules/browserslist/error.js +12 -0
- package/.next/standalone/node_modules/browserslist/index.js +1335 -0
- package/.next/standalone/node_modules/browserslist/node.js +502 -0
- package/.next/standalone/node_modules/browserslist/package.json +45 -0
- package/.next/standalone/node_modules/browserslist/parse.js +78 -0
- package/.next/standalone/node_modules/chrome-trace-event/dist/trace-event.js +170 -0
- package/.next/standalone/node_modules/chrome-trace-event/package.json +38 -0
- package/.next/standalone/node_modules/electron-to-chromium/package.json +44 -0
- package/.next/standalone/node_modules/electron-to-chromium/versions.js +229 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js +103 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/AliasPlugin.js +47 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/AliasUtils.js +172 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/AppendPlugin.js +49 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js +677 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js +53 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ConditionalPlugin.js +59 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js +98 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/DescriptionFileUtils.js +200 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js +68 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js +206 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ExtensionAliasPlugin.js +100 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/FileExistsPlugin.js +61 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js +223 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js +75 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/JoinRequestPlugin.js +45 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/LogInfoPlugin.js +58 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/MainFieldPlugin.js +87 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js +47 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js +49 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ModulesUtils.js +83 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/NextPlugin.js +33 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ParsePlugin.js +77 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/PnpPlugin.js +134 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/Resolver.js +820 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ResolverFactory.js +745 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/RestrictionsPlugin.js +70 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ResultPlugin.js +43 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/RootsPlugin.js +69 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/SelfReferencePlugin.js +82 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/SymlinkPlugin.js +101 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js +258 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/TryNextPlugin.js +41 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/TsconfigPathsPlugin.js +560 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js +114 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/UseFilePlugin.js +55 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/createInnerContext.js +46 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/forEachBail.js +50 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/getInnerRequest.js +39 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/getPaths.js +45 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/index.js +229 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/entrypoints.js +577 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/fs.js +38 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/identifier.js +77 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/memoize.js +37 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/path.js +250 -0
- package/.next/standalone/node_modules/enhanced-resolve/package.json +76 -0
- package/.next/standalone/node_modules/esbuild/lib/main.js +2242 -0
- package/.next/standalone/node_modules/esbuild/package.json +49 -0
- package/.next/standalone/node_modules/eslint-scope/lib/definition.js +86 -0
- package/.next/standalone/node_modules/eslint-scope/lib/index.js +165 -0
- package/.next/standalone/node_modules/eslint-scope/lib/pattern-visitor.js +152 -0
- package/.next/standalone/node_modules/eslint-scope/lib/reference.js +167 -0
- package/.next/standalone/node_modules/eslint-scope/lib/referencer.js +629 -0
- package/.next/standalone/node_modules/eslint-scope/lib/scope-manager.js +247 -0
- package/.next/standalone/node_modules/eslint-scope/lib/scope.js +748 -0
- package/.next/standalone/node_modules/eslint-scope/lib/variable.js +88 -0
- package/.next/standalone/node_modules/eslint-scope/package.json +48 -0
- package/.next/standalone/node_modules/esrecurse/esrecurse.js +117 -0
- package/.next/standalone/node_modules/esrecurse/node_modules/estraverse/estraverse.js +805 -0
- package/.next/standalone/node_modules/esrecurse/node_modules/estraverse/package.json +40 -0
- package/.next/standalone/node_modules/esrecurse/package.json +52 -0
- package/.next/standalone/node_modules/estraverse/estraverse.js +782 -0
- package/.next/standalone/node_modules/estraverse/package.json +40 -0
- package/.next/standalone/node_modules/fast-deep-equal/index.js +46 -0
- package/.next/standalone/node_modules/fast-deep-equal/package.json +61 -0
- package/.next/standalone/node_modules/fast-uri/index.js +340 -0
- package/.next/standalone/node_modules/fast-uri/lib/schemes.js +267 -0
- package/.next/standalone/node_modules/fast-uri/lib/utils.js +336 -0
- package/.next/standalone/node_modules/fast-uri/package.json +69 -0
- package/.next/standalone/node_modules/glob-to-regexp/index.js +130 -0
- package/.next/standalone/node_modules/glob-to-regexp/package.json +23 -0
- package/.next/standalone/node_modules/has-flag/index.js +8 -0
- package/.next/standalone/node_modules/has-flag/package.json +46 -0
- package/.next/standalone/node_modules/jest-worker/build/Farm.js +206 -0
- package/.next/standalone/node_modules/jest-worker/build/FifoQueue.js +171 -0
- package/.next/standalone/node_modules/jest-worker/build/PriorityQueue.js +188 -0
- package/.next/standalone/node_modules/jest-worker/build/WorkerPool.js +49 -0
- package/.next/standalone/node_modules/jest-worker/build/base/BaseWorkerPool.js +201 -0
- package/.next/standalone/node_modules/jest-worker/build/index.js +223 -0
- package/.next/standalone/node_modules/jest-worker/build/types.js +39 -0
- package/.next/standalone/node_modules/jest-worker/build/workers/ChildProcessWorker.js +333 -0
- package/.next/standalone/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +344 -0
- package/.next/standalone/node_modules/jest-worker/build/workers/messageParent.js +38 -0
- package/.next/standalone/node_modules/jest-worker/build/workers/processChild.js +148 -0
- package/.next/standalone/node_modules/jest-worker/package.json +38 -0
- package/.next/standalone/node_modules/json-parse-even-better-errors/index.js +121 -0
- package/.next/standalone/node_modules/json-parse-even-better-errors/package.json +33 -0
- package/.next/standalone/node_modules/loader-runner/lib/LoaderLoadingError.js +13 -0
- package/.next/standalone/node_modules/loader-runner/lib/LoaderRunner.js +515 -0
- package/.next/standalone/node_modules/loader-runner/lib/loadLoader.js +80 -0
- package/.next/standalone/node_modules/loader-runner/package.json +57 -0
- package/.next/standalone/node_modules/merge-stream/index.js +41 -0
- package/.next/standalone/node_modules/merge-stream/package.json +19 -0
- package/.next/standalone/node_modules/mime-db/db.json +8519 -0
- package/.next/standalone/node_modules/mime-db/index.js +12 -0
- package/.next/standalone/node_modules/mime-db/package.json +60 -0
- package/.next/standalone/node_modules/mime-types/index.js +188 -0
- package/.next/standalone/node_modules/mime-types/package.json +44 -0
- package/.next/standalone/node_modules/neo-async/async.js +9184 -0
- package/.next/standalone/node_modules/neo-async/package.json +57 -0
- package/.next/standalone/node_modules/node-releases/data/processed/envs.json +1 -0
- package/.next/standalone/node_modules/node-releases/data/release-schedule/release-schedule.json +1 -0
- package/.next/standalone/node_modules/randombytes/index.js +1 -0
- package/.next/standalone/node_modules/randombytes/package.json +36 -0
- package/.next/standalone/node_modules/serialize-javascript/index.js +268 -0
- package/.next/standalone/node_modules/serialize-javascript/package.json +36 -0
- package/.next/standalone/node_modules/supports-color/index.js +152 -0
- package/.next/standalone/node_modules/supports-color/package.json +58 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncParallelBailHook.js +87 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncParallelHook.js +37 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncSeriesBailHook.js +42 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncSeriesHook.js +37 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncSeriesLoopHook.js +37 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncSeriesWaterfallHook.js +48 -0
- package/.next/standalone/node_modules/tapable/lib/Hook.js +183 -0
- package/.next/standalone/node_modules/tapable/lib/HookCodeFactory.js +454 -0
- package/.next/standalone/node_modules/tapable/lib/HookMap.js +69 -0
- package/.next/standalone/node_modules/tapable/lib/MultiHook.js +52 -0
- package/.next/standalone/node_modules/tapable/lib/SyncBailHook.js +51 -0
- package/.next/standalone/node_modules/tapable/lib/SyncHook.js +46 -0
- package/.next/standalone/node_modules/tapable/lib/SyncLoopHook.js +46 -0
- package/.next/standalone/node_modules/tapable/lib/SyncWaterfallHook.js +58 -0
- package/.next/standalone/node_modules/tapable/lib/index.js +19 -0
- package/.next/standalone/node_modules/tapable/package.json +60 -0
- package/.next/standalone/node_modules/terser/dist/bundle.min.js +33769 -0
- package/.next/standalone/node_modules/terser/dist/package.json +10 -0
- package/.next/standalone/node_modules/terser/package.json +158 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/dist/index.js +706 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/dist/minify.js +49 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/dist/options.json +164 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/dist/utils.js +678 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/ajv.js +50 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/errors.js +123 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/index.js +242 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/names.js +28 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/rules.js +26 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/util.js +178 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/core.js +618 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/refs/data.json +13 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/package.json +127 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/_range.js +28 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/_required.js +23 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/_util.js +19 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/allRequired.js +21 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/anyRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/deepProperties.js +54 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/deepRequired.js +33 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/dynamicDefaults.js +84 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/exclusiveRange.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/instanceof.js +54 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/oneRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/patternRequired.js +42 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/prohibited.js +23 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/range.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/regexp.js +40 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/select.js +63 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/transform.js +78 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/typeof.js +25 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/uniqueItemProperties.js +65 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/index.js +32 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/allRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/anyRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/deepProperties.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/deepRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/dynamicDefaults.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/exclusiveRange.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/index.js +43 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/instanceof.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/oneRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/patternRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/prohibited.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/range.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/regexp.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/select.js +13 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/transform.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/typeof.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/uniqueItemProperties.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/package.json +74 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/json-schema-traverse/index.js +93 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/json-schema-traverse/package.json +43 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/ValidationError.js +1061 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/index.js +23 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/keywords/absolutePath.js +83 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/keywords/limit.js +167 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/keywords/undefinedAsNull.js +34 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/util/Range.js +143 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/util/hints.js +85 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/util/memorize.js +34 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/validate.js +215 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/package.json +89 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/package.json +129 -0
- package/.next/standalone/node_modules/watchpack/lib/DirectoryWatcher.js +965 -0
- package/.next/standalone/node_modules/watchpack/lib/LinkResolver.js +114 -0
- package/.next/standalone/node_modules/watchpack/lib/getWatcherManager.js +80 -0
- package/.next/standalone/node_modules/watchpack/lib/index.js +554 -0
- package/.next/standalone/node_modules/watchpack/lib/reducePlan.js +138 -0
- package/.next/standalone/node_modules/watchpack/lib/watchEventSource.js +449 -0
- package/.next/standalone/node_modules/watchpack/package.json +74 -0
- package/.next/standalone/node_modules/webpack/hot/emitter-event-target.js +7 -0
- package/.next/standalone/node_modules/webpack/hot/lazy-compilation-node.js +66 -0
- package/.next/standalone/node_modules/webpack/hot/lazy-compilation-universal.js +18 -0
- package/.next/standalone/node_modules/webpack/hot/lazy-compilation-web.js +93 -0
- package/.next/standalone/node_modules/webpack/hot/load-http.js +7 -0
- package/.next/standalone/node_modules/webpack/lib/APIPlugin.js +392 -0
- package/.next/standalone/node_modules/webpack/lib/AbstractMethodError.js +56 -0
- package/.next/standalone/node_modules/webpack/lib/AsyncDependenciesBlock.js +125 -0
- package/.next/standalone/node_modules/webpack/lib/AsyncDependencyToInitialChunkError.js +32 -0
- package/.next/standalone/node_modules/webpack/lib/AutomaticPrefetchPlugin.js +66 -0
- package/.next/standalone/node_modules/webpack/lib/BannerPlugin.js +136 -0
- package/.next/standalone/node_modules/webpack/lib/Cache.js +168 -0
- package/.next/standalone/node_modules/webpack/lib/CacheFacade.js +349 -0
- package/.next/standalone/node_modules/webpack/lib/CaseSensitiveModulesWarning.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/Chunk.js +899 -0
- package/.next/standalone/node_modules/webpack/lib/ChunkGraph.js +1968 -0
- package/.next/standalone/node_modules/webpack/lib/ChunkGroup.js +615 -0
- package/.next/standalone/node_modules/webpack/lib/ChunkRenderError.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/ChunkTemplate.js +181 -0
- package/.next/standalone/node_modules/webpack/lib/CleanPlugin.js +494 -0
- package/.next/standalone/node_modules/webpack/lib/CodeGenerationError.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/CodeGenerationResults.js +167 -0
- package/.next/standalone/node_modules/webpack/lib/CommentCompilationWarning.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/CompatibilityPlugin.js +240 -0
- package/.next/standalone/node_modules/webpack/lib/Compilation.js +5870 -0
- package/.next/standalone/node_modules/webpack/lib/Compiler.js +1413 -0
- package/.next/standalone/node_modules/webpack/lib/ConcatenationScope.js +181 -0
- package/.next/standalone/node_modules/webpack/lib/ConcurrentCompilationError.js +18 -0
- package/.next/standalone/node_modules/webpack/lib/ConditionalInitFragment.js +120 -0
- package/.next/standalone/node_modules/webpack/lib/ConstPlugin.js +567 -0
- package/.next/standalone/node_modules/webpack/lib/ContextExclusionPlugin.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/ContextModule.js +1405 -0
- package/.next/standalone/node_modules/webpack/lib/ContextModuleFactory.js +514 -0
- package/.next/standalone/node_modules/webpack/lib/ContextReplacementPlugin.js +227 -0
- package/.next/standalone/node_modules/webpack/lib/CssModule.js +179 -0
- package/.next/standalone/node_modules/webpack/lib/DefinePlugin.js +873 -0
- package/.next/standalone/node_modules/webpack/lib/DelegatedModule.js +279 -0
- package/.next/standalone/node_modules/webpack/lib/DelegatedModuleFactoryPlugin.js +116 -0
- package/.next/standalone/node_modules/webpack/lib/DelegatedPlugin.js +49 -0
- package/.next/standalone/node_modules/webpack/lib/DependenciesBlock.js +120 -0
- package/.next/standalone/node_modules/webpack/lib/Dependency.js +390 -0
- package/.next/standalone/node_modules/webpack/lib/DependencyTemplate.js +71 -0
- package/.next/standalone/node_modules/webpack/lib/DependencyTemplates.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/DllEntryPlugin.js +76 -0
- package/.next/standalone/node_modules/webpack/lib/DllModule.js +175 -0
- package/.next/standalone/node_modules/webpack/lib/DllModuleFactory.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/DllPlugin.js +73 -0
- package/.next/standalone/node_modules/webpack/lib/DllReferencePlugin.js +189 -0
- package/.next/standalone/node_modules/webpack/lib/DotenvPlugin.js +468 -0
- package/.next/standalone/node_modules/webpack/lib/DynamicEntryPlugin.js +87 -0
- package/.next/standalone/node_modules/webpack/lib/EntryOptionPlugin.js +98 -0
- package/.next/standalone/node_modules/webpack/lib/EntryPlugin.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/Entrypoint.js +120 -0
- package/.next/standalone/node_modules/webpack/lib/EnvironmentNotSupportAsyncWarning.js +50 -0
- package/.next/standalone/node_modules/webpack/lib/EnvironmentPlugin.js +74 -0
- package/.next/standalone/node_modules/webpack/lib/ErrorHelpers.js +100 -0
- package/.next/standalone/node_modules/webpack/lib/EvalDevToolModulePlugin.js +132 -0
- package/.next/standalone/node_modules/webpack/lib/EvalSourceMapDevToolPlugin.js +245 -0
- package/.next/standalone/node_modules/webpack/lib/ExportsInfo.js +1693 -0
- package/.next/standalone/node_modules/webpack/lib/ExportsInfoApiPlugin.js +87 -0
- package/.next/standalone/node_modules/webpack/lib/ExternalModule.js +1169 -0
- package/.next/standalone/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js +363 -0
- package/.next/standalone/node_modules/webpack/lib/ExternalsPlugin.js +92 -0
- package/.next/standalone/node_modules/webpack/lib/FalseIIFEUmdWarning.js +20 -0
- package/.next/standalone/node_modules/webpack/lib/FileSystemInfo.js +4131 -0
- package/.next/standalone/node_modules/webpack/lib/FlagAllModulesAsUsedPlugin.js +55 -0
- package/.next/standalone/node_modules/webpack/lib/FlagDependencyExportsPlugin.js +437 -0
- package/.next/standalone/node_modules/webpack/lib/FlagDependencyUsagePlugin.js +348 -0
- package/.next/standalone/node_modules/webpack/lib/Generator.js +188 -0
- package/.next/standalone/node_modules/webpack/lib/GraphHelpers.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/HarmonyLinkingError.js +17 -0
- package/.next/standalone/node_modules/webpack/lib/HookWebpackError.js +121 -0
- package/.next/standalone/node_modules/webpack/lib/HotModuleReplacementPlugin.js +930 -0
- package/.next/standalone/node_modules/webpack/lib/HotUpdateChunk.js +16 -0
- package/.next/standalone/node_modules/webpack/lib/IgnoreErrorModuleFactory.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/IgnorePlugin.js +105 -0
- package/.next/standalone/node_modules/webpack/lib/IgnoreWarningsPlugin.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/InitFragment.js +204 -0
- package/.next/standalone/node_modules/webpack/lib/InvalidDependenciesModuleWarning.js +44 -0
- package/.next/standalone/node_modules/webpack/lib/JavascriptMetaInfoPlugin.js +78 -0
- package/.next/standalone/node_modules/webpack/lib/LibManifestPlugin.js +144 -0
- package/.next/standalone/node_modules/webpack/lib/LibraryTemplatePlugin.js +48 -0
- package/.next/standalone/node_modules/webpack/lib/LoaderOptionsPlugin.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/LoaderTargetPlugin.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/MainTemplate.js +371 -0
- package/.next/standalone/node_modules/webpack/lib/ManifestPlugin.js +238 -0
- package/.next/standalone/node_modules/webpack/lib/Module.js +1279 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleBuildError.js +83 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleDependencyError.js +44 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleDependencyWarning.js +49 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleError.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleFactory.js +57 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleFilenameHelpers.js +387 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleGraph.js +1024 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleGraphConnection.js +208 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleHashingError.js +31 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleInfoHeaderPlugin.js +318 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleNotFoundError.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleParseError.js +125 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleProfile.js +108 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleRestoreError.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleSourceTypeConstants.js +179 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleStoreError.js +45 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleTemplate.js +173 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleTypeConstants.js +190 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleWarning.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/MultiCompiler.js +678 -0
- package/.next/standalone/node_modules/webpack/lib/MultiStats.js +213 -0
- package/.next/standalone/node_modules/webpack/lib/MultiWatching.js +77 -0
- package/.next/standalone/node_modules/webpack/lib/NoEmitOnErrorsPlugin.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/NoModeWarning.js +23 -0
- package/.next/standalone/node_modules/webpack/lib/NodeStuffInWebError.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/NodeStuffPlugin.js +587 -0
- package/.next/standalone/node_modules/webpack/lib/NormalModule.js +1796 -0
- package/.next/standalone/node_modules/webpack/lib/NormalModuleFactory.js +1455 -0
- package/.next/standalone/node_modules/webpack/lib/NormalModuleReplacementPlugin.js +75 -0
- package/.next/standalone/node_modules/webpack/lib/OptimizationStages.js +10 -0
- package/.next/standalone/node_modules/webpack/lib/OptionsApply.js +24 -0
- package/.next/standalone/node_modules/webpack/lib/Parser.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/PlatformPlugin.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/PrefetchPlugin.js +56 -0
- package/.next/standalone/node_modules/webpack/lib/ProgressPlugin.js +712 -0
- package/.next/standalone/node_modules/webpack/lib/ProvidePlugin.js +121 -0
- package/.next/standalone/node_modules/webpack/lib/RawModule.js +180 -0
- package/.next/standalone/node_modules/webpack/lib/RecordIdsPlugin.js +216 -0
- package/.next/standalone/node_modules/webpack/lib/RequestShortener.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/RequireJsStuffPlugin.js +84 -0
- package/.next/standalone/node_modules/webpack/lib/ResolverFactory.js +156 -0
- package/.next/standalone/node_modules/webpack/lib/RuntimeGlobals.js +450 -0
- package/.next/standalone/node_modules/webpack/lib/RuntimeModule.js +225 -0
- package/.next/standalone/node_modules/webpack/lib/RuntimePlugin.js +547 -0
- package/.next/standalone/node_modules/webpack/lib/RuntimeTemplate.js +1288 -0
- package/.next/standalone/node_modules/webpack/lib/SelfModuleFactory.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/SizeFormatHelpers.js +25 -0
- package/.next/standalone/node_modules/webpack/lib/SourceMapDevToolModuleOptionsPlugin.js +51 -0
- package/.next/standalone/node_modules/webpack/lib/SourceMapDevToolPlugin.js +638 -0
- package/.next/standalone/node_modules/webpack/lib/Stats.js +88 -0
- package/.next/standalone/node_modules/webpack/lib/Template.js +427 -0
- package/.next/standalone/node_modules/webpack/lib/TemplatedPathPlugin.js +400 -0
- package/.next/standalone/node_modules/webpack/lib/UnhandledSchemeError.js +34 -0
- package/.next/standalone/node_modules/webpack/lib/UnsupportedFeatureWarning.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/UseStrictPlugin.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/WarnCaseSensitiveModulesPlugin.js +64 -0
- package/.next/standalone/node_modules/webpack/lib/WarnDeprecatedOptionPlugin.js +60 -0
- package/.next/standalone/node_modules/webpack/lib/WarnNoModeSetPlugin.js +27 -0
- package/.next/standalone/node_modules/webpack/lib/WatchIgnorePlugin.js +155 -0
- package/.next/standalone/node_modules/webpack/lib/Watching.js +531 -0
- package/.next/standalone/node_modules/webpack/lib/WebpackError.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/WebpackIsIncludedPlugin.js +93 -0
- package/.next/standalone/node_modules/webpack/lib/WebpackOptionsApply.js +931 -0
- package/.next/standalone/node_modules/webpack/lib/WebpackOptionsDefaulter.js +26 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetBytesGenerator.js +172 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetBytesParser.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetGenerator.js +807 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetModulesPlugin.js +343 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetParser.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetSourceGenerator.js +171 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetSourceParser.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/asset/RawDataUrlModule.js +175 -0
- package/.next/standalone/node_modules/webpack/lib/async-modules/AsyncModuleHelpers.js +52 -0
- package/.next/standalone/node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/async-modules/InferAsyncModulesPlugin.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/buildChunkGraph.js +1392 -0
- package/.next/standalone/node_modules/webpack/lib/cache/AddBuildDependenciesPlugin.js +32 -0
- package/.next/standalone/node_modules/webpack/lib/cache/AddManagedPathsPlugin.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/cache/IdleFileCachePlugin.js +242 -0
- package/.next/standalone/node_modules/webpack/lib/cache/MemoryCachePlugin.js +57 -0
- package/.next/standalone/node_modules/webpack/lib/cache/MemoryWithGcCachePlugin.js +142 -0
- package/.next/standalone/node_modules/webpack/lib/cache/PackFileCacheStrategy.js +1600 -0
- package/.next/standalone/node_modules/webpack/lib/cache/ResolverCachePlugin.js +450 -0
- package/.next/standalone/node_modules/webpack/lib/cache/getLazyHashedEtag.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/cache/mergeEtags.js +71 -0
- package/.next/standalone/node_modules/webpack/lib/cli.js +859 -0
- package/.next/standalone/node_modules/webpack/lib/config/browserslistTargetHandler.js +388 -0
- package/.next/standalone/node_modules/webpack/lib/config/defaults.js +2086 -0
- package/.next/standalone/node_modules/webpack/lib/config/normalization.js +681 -0
- package/.next/standalone/node_modules/webpack/lib/config/target.js +389 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerEntryDependency.js +47 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerEntryModule.js +300 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerEntryModuleFactory.js +27 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerExposedDependency.js +61 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerPlugin.js +118 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerReferencePlugin.js +139 -0
- package/.next/standalone/node_modules/webpack/lib/container/FallbackDependency.js +65 -0
- package/.next/standalone/node_modules/webpack/lib/container/FallbackItemDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/container/FallbackModule.js +191 -0
- package/.next/standalone/node_modules/webpack/lib/container/FallbackModuleFactory.js +27 -0
- package/.next/standalone/node_modules/webpack/lib/container/HoistContainerReferencesPlugin.js +256 -0
- package/.next/standalone/node_modules/webpack/lib/container/ModuleFederationPlugin.js +131 -0
- package/.next/standalone/node_modules/webpack/lib/container/RemoteModule.js +203 -0
- package/.next/standalone/node_modules/webpack/lib/container/RemoteRuntimeModule.js +144 -0
- package/.next/standalone/node_modules/webpack/lib/container/RemoteToExternalDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/container/options.js +105 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssGenerator.js +580 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssLoadingRuntimeModule.js +513 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssMergeStyleSheetsRuntimeModule.js +56 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssModulesPlugin.js +932 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssParser.js +2621 -0
- package/.next/standalone/node_modules/webpack/lib/css/walkCssTokens.js +1740 -0
- package/.next/standalone/node_modules/webpack/lib/debug/ProfilingPlugin.js +589 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDDefineDependency.js +267 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDDefineDependencyParserPlugin.js +504 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDPlugin.js +243 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js +124 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireContextDependency.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlock.js +28 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js +425 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireDependency.js +189 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireItemDependency.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRuntimeModules.js +50 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CachedConstDependency.js +135 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsDependencyHelpers.js +65 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js +412 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsExportsDependency.js +184 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsExportsParserPlugin.js +425 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js +162 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsImportsParserPlugin.js +805 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsPlugin.js +316 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsRequireContextDependency.js +73 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js +156 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ConstDependency.js +118 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextDependency.js +183 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextDependencyHelpers.js +277 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsId.js +63 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js +62 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextElementDependency.js +147 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CreateScriptUrlDependency.js +75 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CriticalDependencyWarning.js +29 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssIcssExportDependency.js +537 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssIcssImportDependency.js +183 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssIcssSymbolDependency.js +131 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssImportDependency.js +120 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssUrlDependency.js +189 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/DelegatedSourceDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/DllEntryDependency.js +61 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/DynamicExports.js +73 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/EntryDependency.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ExportsInfoDependency.js +161 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ExternalModuleDependency.js +109 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ExternalModuleInitFragment.js +137 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ExternalModuleInitFragmentDependency.js +87 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyAcceptDependency.js +237 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyCompatibilityDependency.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyDetectionParserPlugin.js +103 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js +164 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportDependencyParserPlugin.js +258 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportExpressionDependency.js +211 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportHeaderDependency.js +78 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js +1494 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportInitFragment.js +191 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportSpecifierDependency.js +127 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExports.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyImportDependency.js +429 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js +669 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyImportSideEffectDependency.js +85 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js +514 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyModulesPlugin.js +154 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyTopLevelThisParserPlugin.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportContextDependency.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportDependency.js +158 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportEagerDependency.js +76 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaContextDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js +312 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaContextPlugin.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaHotAcceptDependency.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaHotDeclineDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaPlugin.js +447 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportParserPlugin.js +612 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportPhase.js +121 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportPlugin.js +98 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportWeakDependency.js +74 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/JsonExportsDependency.js +137 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LoaderDependency.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LoaderImportDependency.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LoaderPlugin.js +294 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LocalModule.js +60 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LocalModuleDependency.js +84 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LocalModulesHelpers.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js +136 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleDependency.js +100 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleHotAcceptDependency.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleHotDeclineDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleInitFragmentDependency.js +87 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/NullDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/PrefetchDependency.js +27 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ProvidedDependency.js +156 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/PureExpressionDependency.js +161 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireContextDependency.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireContextDependencyParserPlugin.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireContextPlugin.js +167 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js +29 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js +145 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsureDependency.js +115 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsureItemDependency.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsurePlugin.js +86 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireHeaderDependency.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireIncludeDependency.js +79 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireIncludeDependencyParserPlugin.js +100 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireIncludePlugin.js +63 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireResolveContextDependency.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireResolveDependency.js +58 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireResolveHeaderDependency.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RuntimeRequirementsDependency.js +85 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/StaticExportsDependency.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/SystemPlugin.js +168 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/SystemRuntimeModule.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/URLContextDependency.js +65 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/URLDependency.js +165 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/URLPlugin.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/UnsupportedDependency.js +82 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js +93 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js +108 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WebpackIsIncludedDependency.js +84 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WorkerDependency.js +141 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WorkerPlugin.js +565 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/getFunctionExpression.js +66 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/processExportInfo.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/electron/ElectronTargetPlugin.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/errors/BuildCycleError.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/esm/ExportWebpackRequireRuntimeModule.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/esm/ModuleChunkFormatPlugin.js +273 -0
- package/.next/standalone/node_modules/webpack/lib/esm/ModuleChunkLoadingPlugin.js +143 -0
- package/.next/standalone/node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js +426 -0
- package/.next/standalone/node_modules/webpack/lib/formatLocation.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/HotModuleReplacement.runtime.js +419 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/HotModuleReplacementRuntimeModule.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.js +471 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/JavascriptHotModuleReplacementHelper.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/LazyCompilationPlugin.js +473 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/lazyCompilationBackend.js +167 -0
- package/.next/standalone/node_modules/webpack/lib/ids/ChunkModuleIdRangePlugin.js +94 -0
- package/.next/standalone/node_modules/webpack/lib/ids/DeterministicChunkIdsPlugin.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/ids/DeterministicModuleIdsPlugin.js +97 -0
- package/.next/standalone/node_modules/webpack/lib/ids/HashedModuleIdsPlugin.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/ids/IdHelpers.js +492 -0
- package/.next/standalone/node_modules/webpack/lib/ids/NamedChunkIdsPlugin.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/ids/NamedModuleIdsPlugin.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/ids/NaturalChunkIdsPlugin.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/ids/NaturalModuleIdsPlugin.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js +86 -0
- package/.next/standalone/node_modules/webpack/lib/ids/OccurrenceModuleIdsPlugin.js +168 -0
- package/.next/standalone/node_modules/webpack/lib/ids/SyncModuleIdsPlugin.js +155 -0
- package/.next/standalone/node_modules/webpack/lib/index.js +681 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js +153 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js +603 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/ChunkFormatHelpers.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/ChunkHelpers.js +45 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js +148 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js +127 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/JavascriptGenerator.js +277 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js +1852 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/JavascriptParser.js +5476 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/JavascriptParserHelpers.js +129 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/StartupHelpers.js +178 -0
- package/.next/standalone/node_modules/webpack/lib/json/JsonData.js +74 -0
- package/.next/standalone/node_modules/webpack/lib/json/JsonGenerator.js +233 -0
- package/.next/standalone/node_modules/webpack/lib/json/JsonModulesPlugin.js +66 -0
- package/.next/standalone/node_modules/webpack/lib/json/JsonParser.js +92 -0
- package/.next/standalone/node_modules/webpack/lib/library/AbstractLibraryPlugin.js +339 -0
- package/.next/standalone/node_modules/webpack/lib/library/AmdLibraryPlugin.js +181 -0
- package/.next/standalone/node_modules/webpack/lib/library/AssignLibraryPlugin.js +445 -0
- package/.next/standalone/node_modules/webpack/lib/library/EnableLibraryPlugin.js +306 -0
- package/.next/standalone/node_modules/webpack/lib/library/ExportPropertyLibraryPlugin.js +116 -0
- package/.next/standalone/node_modules/webpack/lib/library/JsonpLibraryPlugin.js +92 -0
- package/.next/standalone/node_modules/webpack/lib/library/ModuleLibraryPlugin.js +438 -0
- package/.next/standalone/node_modules/webpack/lib/library/SystemLibraryPlugin.js +256 -0
- package/.next/standalone/node_modules/webpack/lib/library/UmdLibraryPlugin.js +355 -0
- package/.next/standalone/node_modules/webpack/lib/logging/Logger.js +219 -0
- package/.next/standalone/node_modules/webpack/lib/logging/createConsoleLogger.js +216 -0
- package/.next/standalone/node_modules/webpack/lib/logging/truncateArgs.js +83 -0
- package/.next/standalone/node_modules/webpack/lib/node/CommonJsChunkLoadingPlugin.js +119 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeEnvironmentPlugin.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeSourcePlugin.js +19 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeTargetPlugin.js +94 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeTemplatePlugin.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeWatchFileSystem.js +195 -0
- package/.next/standalone/node_modules/webpack/lib/node/ReadFileChunkLoadingRuntimeModule.js +285 -0
- package/.next/standalone/node_modules/webpack/lib/node/ReadFileCompileAsyncWasmPlugin.js +122 -0
- package/.next/standalone/node_modules/webpack/lib/node/ReadFileCompileWasmPlugin.js +126 -0
- package/.next/standalone/node_modules/webpack/lib/node/RequireChunkLoadingRuntimeModule.js +238 -0
- package/.next/standalone/node_modules/webpack/lib/node/nodeConsole.js +185 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/AggressiveMergingPlugin.js +98 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/AggressiveSplittingPlugin.js +347 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/ConcatenatedModule.js +2287 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/EnsureChunkConditionsPlugin.js +88 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/FlagIncludedChunksPlugin.js +137 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/InnerGraph.js +368 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/InnerGraphPlugin.js +455 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js +301 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/MangleExportsPlugin.js +194 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js +137 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/MinChunkSizePlugin.js +121 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/MinMaxSizeWarning.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js +968 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/RealContentHashPlugin.js +486 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/RemoveEmptyChunksPlugin.js +60 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/RemoveParentModulesPlugin.js +216 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js +417 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/SplitChunksPlugin.js +1829 -0
- package/.next/standalone/node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/performance/NoAsyncChunksWarning.js +21 -0
- package/.next/standalone/node_modules/webpack/lib/performance/SizeLimitsPlugin.js +182 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js +44 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPrefetchPreloadPlugin.js +95 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js +51 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js +45 -0
- package/.next/standalone/node_modules/webpack/lib/rules/BasicEffectRulePlugin.js +56 -0
- package/.next/standalone/node_modules/webpack/lib/rules/BasicMatcherRulePlugin.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js +79 -0
- package/.next/standalone/node_modules/webpack/lib/rules/RuleSetCompiler.js +443 -0
- package/.next/standalone/node_modules/webpack/lib/rules/UseEffectRulePlugin.js +236 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/AsyncModuleRuntimeModule.js +199 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/AutoPublicPathRuntimeModule.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/BaseUriRuntimeModule.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/ChunkNameRuntimeModule.js +28 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CompatGetDefaultExportRuntimeModule.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CompatRuntimeModule.js +83 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CreateScriptRuntimeModule.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CreateScriptUrlRuntimeModule.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/DefinePropertyGettersRuntimeModule.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/EnsureChunkRuntimeModule.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js +298 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GetFullHashRuntimeModule.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GetMainFilenameRuntimeModule.js +49 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js +99 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GlobalRuntimeModule.js +47 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/HasOwnPropertyRuntimeModule.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/HelperRuntimeModule.js +18 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js +174 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/MakeDeferredNamespaceObjectRuntime.js +231 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/MakeNamespaceObjectRuntimeModule.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/NonceRuntimeModule.js +24 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/OnChunksLoadedRuntimeModule.js +78 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/PublicPathRuntimeModule.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/RelativeUrlRuntimeModule.js +44 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/RuntimeIdRuntimeModule.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js +88 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js +77 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/SystemContextRuntimeModule.js +23 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/ToBinaryRuntimeModule.js +64 -0
- package/.next/standalone/node_modules/webpack/lib/schemes/DataUriPlugin.js +47 -0
- package/.next/standalone/node_modules/webpack/lib/schemes/FileUriPlugin.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/schemes/HttpUriPlugin.js +1411 -0
- package/.next/standalone/node_modules/webpack/lib/schemes/VirtualUrlPlugin.js +227 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/AggregateErrorSerializer.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/ArraySerializer.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/BinaryMiddleware.js +1164 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/DateObjectSerializer.js +28 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/ErrorObjectSerializer.js +49 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/FileMiddleware.js +766 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/MapObjectSerializer.js +48 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/NullPrototypeObjectSerializer.js +53 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/ObjectMiddleware.js +877 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/PlainObjectSerializer.js +119 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/RegExpObjectSerializer.js +29 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/Serializer.js +82 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/SerializerMiddleware.js +226 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/SetObjectSerializer.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/SingleItemMiddleware.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ConsumeSharedFallbackDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ConsumeSharedModule.js +327 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ConsumeSharedPlugin.js +380 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ConsumeSharedRuntimeModule.js +358 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideForSharedDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideSharedDependency.js +80 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideSharedModule.js +196 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideSharedModuleFactory.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideSharedPlugin.js +248 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/SharePlugin.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ShareRuntimeModule.js +152 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/resolveMatchedConfigs.js +106 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/utils.js +421 -0
- package/.next/standalone/node_modules/webpack/lib/stats/DefaultStatsFactoryPlugin.js +2785 -0
- package/.next/standalone/node_modules/webpack/lib/stats/DefaultStatsPresetPlugin.js +417 -0
- package/.next/standalone/node_modules/webpack/lib/stats/DefaultStatsPrinterPlugin.js +1860 -0
- package/.next/standalone/node_modules/webpack/lib/stats/StatsFactory.js +406 -0
- package/.next/standalone/node_modules/webpack/lib/stats/StatsPrinter.js +300 -0
- package/.next/standalone/node_modules/webpack/lib/url/URLParserPlugin.js +265 -0
- package/.next/standalone/node_modules/webpack/lib/util/AppendOnlyStackedSet.js +57 -0
- package/.next/standalone/node_modules/webpack/lib/util/ArrayHelpers.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/util/ArrayQueue.js +104 -0
- package/.next/standalone/node_modules/webpack/lib/util/AsyncQueue.js +411 -0
- package/.next/standalone/node_modules/webpack/lib/util/Hash.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/util/IterableHelpers.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/util/LazyBucketSortedSet.js +272 -0
- package/.next/standalone/node_modules/webpack/lib/util/LazySet.js +236 -0
- package/.next/standalone/node_modules/webpack/lib/util/MapHelpers.js +34 -0
- package/.next/standalone/node_modules/webpack/lib/util/ParallelismFactorCalculator.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/util/Queue.js +52 -0
- package/.next/standalone/node_modules/webpack/lib/util/SetHelpers.js +94 -0
- package/.next/standalone/node_modules/webpack/lib/util/SortableSet.js +176 -0
- package/.next/standalone/node_modules/webpack/lib/util/StackedCacheMap.js +140 -0
- package/.next/standalone/node_modules/webpack/lib/util/StackedMap.js +164 -0
- package/.next/standalone/node_modules/webpack/lib/util/StringXor.js +103 -0
- package/.next/standalone/node_modules/webpack/lib/util/TupleQueue.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/util/TupleSet.js +185 -0
- package/.next/standalone/node_modules/webpack/lib/util/URLAbsoluteSpecifier.js +86 -0
- package/.next/standalone/node_modules/webpack/lib/util/WeakTupleMap.js +227 -0
- package/.next/standalone/node_modules/webpack/lib/util/binarySearchBounds.js +136 -0
- package/.next/standalone/node_modules/webpack/lib/util/chainedImports.js +99 -0
- package/.next/standalone/node_modules/webpack/lib/util/cleverMerge.js +676 -0
- package/.next/standalone/node_modules/webpack/lib/util/comparators.js +645 -0
- package/.next/standalone/node_modules/webpack/lib/util/compileBooleanMatcher.js +313 -0
- package/.next/standalone/node_modules/webpack/lib/util/concatenate.js +232 -0
- package/.next/standalone/node_modules/webpack/lib/util/conventions.js +126 -0
- package/.next/standalone/node_modules/webpack/lib/util/create-schema-validation.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/util/createHash.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/util/dataURL.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/util/deprecation.js +350 -0
- package/.next/standalone/node_modules/webpack/lib/util/deterministicGrouping.js +561 -0
- package/.next/standalone/node_modules/webpack/lib/util/extractSourceMap.js +318 -0
- package/.next/standalone/node_modules/webpack/lib/util/extractUrlAndGlobal.js +18 -0
- package/.next/standalone/node_modules/webpack/lib/util/findGraphRoots.js +241 -0
- package/.next/standalone/node_modules/webpack/lib/util/fs.js +675 -0
- package/.next/standalone/node_modules/webpack/lib/util/generateDebugId.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/BatchedHash.js +114 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/BulkUpdateHash.js +144 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/DebugHash.js +75 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/hash-digest.js +217 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/md4.js +20 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/wasm-hash.js +231 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/xxhash64.js +20 -0
- package/.next/standalone/node_modules/webpack/lib/util/identifier.js +471 -0
- package/.next/standalone/node_modules/webpack/lib/util/internalSerializables.js +222 -0
- package/.next/standalone/node_modules/webpack/lib/util/magicComment.js +25 -0
- package/.next/standalone/node_modules/webpack/lib/util/makeSerializable.js +60 -0
- package/.next/standalone/node_modules/webpack/lib/util/memoize.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/util/nonNumericOnlyHash.js +22 -0
- package/.next/standalone/node_modules/webpack/lib/util/numberHash.js +95 -0
- package/.next/standalone/node_modules/webpack/lib/util/processAsyncTree.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/util/propertyAccess.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/util/propertyName.js +76 -0
- package/.next/standalone/node_modules/webpack/lib/util/registerExternalSerializer.js +334 -0
- package/.next/standalone/node_modules/webpack/lib/util/removeBOM.js +25 -0
- package/.next/standalone/node_modules/webpack/lib/util/runtime.js +717 -0
- package/.next/standalone/node_modules/webpack/lib/util/semver.js +604 -0
- package/.next/standalone/node_modules/webpack/lib/util/serialization.js +153 -0
- package/.next/standalone/node_modules/webpack/lib/util/smartGrouping.js +221 -0
- package/.next/standalone/node_modules/webpack/lib/util/source.js +62 -0
- package/.next/standalone/node_modules/webpack/lib/util/traverseDestructuringAssignmentProperties.js +45 -0
- package/.next/standalone/node_modules/webpack/lib/validateSchema.js +177 -0
- package/.next/standalone/node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js +145 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js +154 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js +74 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js +212 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js +209 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js +80 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/UniversalCompileAsyncWasmPlugin.js +107 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/UnsupportedWebAssemblyFeatureError.js +20 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js +422 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WasmFinalizeExportsPlugin.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js +535 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyInInitialChunkError.js +111 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyJavascriptGenerator.js +236 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyModulesPlugin.js +151 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyParser.js +201 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyUtils.js +66 -0
- package/.next/standalone/node_modules/webpack/lib/web/FetchCompileAsyncWasmPlugin.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/web/FetchCompileWasmPlugin.js +86 -0
- package/.next/standalone/node_modules/webpack/lib/web/JsonpChunkLoadingPlugin.js +101 -0
- package/.next/standalone/node_modules/webpack/lib/web/JsonpChunkLoadingRuntimeModule.js +455 -0
- package/.next/standalone/node_modules/webpack/lib/web/JsonpTemplatePlugin.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/webpack.js +225 -0
- package/.next/standalone/node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingPlugin.js +110 -0
- package/.next/standalone/node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingRuntimeModule.js +229 -0
- package/.next/standalone/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js +26 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/ajv.js +50 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/errors.js +123 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/index.js +242 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/names.js +28 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/rules.js +26 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/util.js +178 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/core.js +618 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/refs/data.json +13 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/package.json +127 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/_range.js +28 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/_required.js +23 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/_util.js +19 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/allRequired.js +21 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/anyRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/deepProperties.js +54 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/deepRequired.js +33 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/dynamicDefaults.js +84 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/exclusiveRange.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/instanceof.js +54 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/oneRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/patternRequired.js +42 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/prohibited.js +23 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/range.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/regexp.js +40 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/select.js +63 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/transform.js +78 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/typeof.js +25 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/uniqueItemProperties.js +65 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/index.js +32 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/allRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/anyRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/deepProperties.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/deepRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/dynamicDefaults.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/exclusiveRange.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/index.js +43 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/instanceof.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/oneRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/patternRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/prohibited.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/range.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/regexp.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/select.js +13 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/transform.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/typeof.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/uniqueItemProperties.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/package.json +74 -0
- package/.next/standalone/node_modules/webpack/node_modules/es-module-lexer/dist/lexer.cjs +1 -0
- package/.next/standalone/node_modules/webpack/node_modules/es-module-lexer/package.json +57 -0
- package/.next/standalone/node_modules/webpack/node_modules/json-schema-traverse/index.js +93 -0
- package/.next/standalone/node_modules/webpack/node_modules/json-schema-traverse/package.json +43 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/ValidationError.js +1061 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/index.js +23 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/keywords/absolutePath.js +83 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/keywords/limit.js +167 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/keywords/undefinedAsNull.js +34 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/util/Range.js +143 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/util/hints.js +85 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/util/memorize.js +34 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/validate.js +215 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/package.json +89 -0
- package/.next/standalone/node_modules/webpack/package.json +204 -0
- package/.next/standalone/node_modules/webpack/schemas/WebpackOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/WebpackOptions.json +6179 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/BannerPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/BannerPlugin.json +115 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/DllPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/DllPlugin.json +36 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/DllReferencePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/DllReferencePlugin.json +206 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/IgnorePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/IgnorePlugin.json +34 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.json +27 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ManifestPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ManifestPlugin.json +98 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ProgressPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ProgressPlugin.json +65 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.json +168 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/WatchIgnorePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/WatchIgnorePlugin.json +25 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/asset/AssetParserOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ContainerPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ContainerPlugin.json +294 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.json +132 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ExternalsType.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.json +525 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/css/CssModuleGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/css/CssModuleParserOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/css/CssParserOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.json +12 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/HashedModuleIdsPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/HashedModuleIdsPlugin.json +57 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.json +11 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.json +11 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/json/JsonModulesPluginGenerator.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/json/JsonModulesPluginGenerator.json +3 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/json/JsonModulesPluginParser.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/json/JsonModulesPluginParser.json +3 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json +23 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json +21 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/MergeDuplicateChunksPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/MergeDuplicateChunksPlugin.json +11 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json +20 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.json +74 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.json +120 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.json +94 -0
- package/.next/standalone/node_modules/webpack-sources/lib/CachedSource.js +419 -0
- package/.next/standalone/node_modules/webpack-sources/lib/CompatSource.js +109 -0
- package/.next/standalone/node_modules/webpack-sources/lib/ConcatSource.js +398 -0
- package/.next/standalone/node_modules/webpack-sources/lib/OriginalSource.js +202 -0
- package/.next/standalone/node_modules/webpack-sources/lib/PrefixSource.js +162 -0
- package/.next/standalone/node_modules/webpack-sources/lib/RawSource.js +140 -0
- package/.next/standalone/node_modules/webpack-sources/lib/ReplaceSource.js +557 -0
- package/.next/standalone/node_modules/webpack-sources/lib/SizeOnlySource.js +71 -0
- package/.next/standalone/node_modules/webpack-sources/lib/Source.js +89 -0
- package/.next/standalone/node_modules/webpack-sources/lib/SourceMapSource.js +367 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js +225 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js +159 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js +44 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/getSource.js +24 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/readMappings.js +120 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/splitIntoLines.js +33 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/splitIntoPotentialTokens.js +53 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js +123 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamChunks.js +62 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js +366 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js +54 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js +499 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/stringBufferUtils.js +117 -0
- package/.next/standalone/node_modules/webpack-sources/lib/index.js +120 -0
- package/.next/standalone/node_modules/webpack-sources/package.json +51 -0
- package/.next/standalone/package.json +5 -1
- package/dist/scripts/heartbeat.js +594 -354
- package/package.json +5 -1
- package/scripts/lib/video/compositions/AdVideo.tsx +37 -0
- package/scripts/lib/video/compositions/Root.tsx +90 -0
- package/scripts/lib/video/compositions/ShipVideo.tsx +37 -0
- package/scripts/lib/video/compositions/Slide.tsx +260 -0
- /package/.next/static/{xcvZKuVNCJhkUHViU5lb4 → _6NFRXGMGhuMnoqW7NVno}/_buildManifest.js +0 -0
- /package/.next/static/{xcvZKuVNCJhkUHViU5lb4 → _6NFRXGMGhuMnoqW7NVno}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,1852 @@
|
|
|
1
|
+
/*
|
|
2
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
3
|
+
Author Tobias Koppers @sokra
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
|
|
8
|
+
const vm = require("vm");
|
|
9
|
+
const eslintScope = require("eslint-scope");
|
|
10
|
+
const { SyncBailHook, SyncHook, SyncWaterfallHook } = require("tapable");
|
|
11
|
+
const {
|
|
12
|
+
CachedSource,
|
|
13
|
+
ConcatSource,
|
|
14
|
+
OriginalSource,
|
|
15
|
+
PrefixSource,
|
|
16
|
+
RawSource,
|
|
17
|
+
ReplaceSource
|
|
18
|
+
} = require("webpack-sources");
|
|
19
|
+
const Compilation = require("../Compilation");
|
|
20
|
+
const { tryRunOrWebpackError } = require("../HookWebpackError");
|
|
21
|
+
const HotUpdateChunk = require("../HotUpdateChunk");
|
|
22
|
+
const InitFragment = require("../InitFragment");
|
|
23
|
+
const { JAVASCRIPT_TYPE } = require("../ModuleSourceTypeConstants");
|
|
24
|
+
const {
|
|
25
|
+
JAVASCRIPT_MODULE_TYPE_AUTO,
|
|
26
|
+
JAVASCRIPT_MODULE_TYPE_DYNAMIC,
|
|
27
|
+
JAVASCRIPT_MODULE_TYPE_ESM,
|
|
28
|
+
WEBPACK_MODULE_TYPE_RUNTIME
|
|
29
|
+
} = require("../ModuleTypeConstants");
|
|
30
|
+
const NormalModule = require("../NormalModule");
|
|
31
|
+
const RuntimeGlobals = require("../RuntimeGlobals");
|
|
32
|
+
const Template = require("../Template");
|
|
33
|
+
const { last, someInIterable } = require("../util/IterableHelpers");
|
|
34
|
+
const StringXor = require("../util/StringXor");
|
|
35
|
+
const { compareModulesByFullName } = require("../util/comparators");
|
|
36
|
+
const {
|
|
37
|
+
RESERVED_NAMES,
|
|
38
|
+
addScopeSymbols,
|
|
39
|
+
findNewName,
|
|
40
|
+
getAllReferences,
|
|
41
|
+
getPathInAst,
|
|
42
|
+
getUsedNamesInScopeInfo
|
|
43
|
+
} = require("../util/concatenate");
|
|
44
|
+
const createHash = require("../util/createHash");
|
|
45
|
+
const nonNumericOnlyHash = require("../util/nonNumericOnlyHash");
|
|
46
|
+
const removeBOM = require("../util/removeBOM");
|
|
47
|
+
const { intersectRuntime } = require("../util/runtime");
|
|
48
|
+
const JavascriptGenerator = require("./JavascriptGenerator");
|
|
49
|
+
const JavascriptParser = require("./JavascriptParser");
|
|
50
|
+
|
|
51
|
+
/** @typedef {import("eslint-scope").Reference} Reference */
|
|
52
|
+
/** @typedef {import("eslint-scope").Scope} Scope */
|
|
53
|
+
/** @typedef {import("eslint-scope").Variable} Variable */
|
|
54
|
+
/** @typedef {import("estree").Program} Program */
|
|
55
|
+
/** @typedef {import("webpack-sources").Source} Source */
|
|
56
|
+
/** @typedef {import("../config/defaults").OutputNormalizedWithDefaults} OutputOptions */
|
|
57
|
+
/** @typedef {import("../Chunk")} Chunk */
|
|
58
|
+
/** @typedef {import("../ChunkGraph")} ChunkGraph */
|
|
59
|
+
/** @typedef {import("../CodeGenerationResults")} CodeGenerationResults */
|
|
60
|
+
/** @typedef {import("../Compilation").ChunkHashContext} ChunkHashContext */
|
|
61
|
+
/** @typedef {import("../Compilation").ExecuteModuleObject} ExecuteModuleObject */
|
|
62
|
+
/** @typedef {import("../Compilation").WebpackRequire} WebpackRequire */
|
|
63
|
+
/** @typedef {import("../Compiler")} Compiler */
|
|
64
|
+
/** @typedef {import("../DependencyTemplates")} DependencyTemplates */
|
|
65
|
+
/** @typedef {import("../Entrypoint")} Entrypoint */
|
|
66
|
+
/** @typedef {import("../Module")} Module */
|
|
67
|
+
/** @typedef {import("../Module").BuildInfo} BuildInfo */
|
|
68
|
+
/** @typedef {import("../Module").CodeGenerationResultData} CodeGenerationResultData */
|
|
69
|
+
/** @typedef {import("../ModuleGraph")} ModuleGraph */
|
|
70
|
+
/** @typedef {import("../RuntimeTemplate")} RuntimeTemplate */
|
|
71
|
+
/** @typedef {import("../TemplatedPathPlugin").TemplatePath} TemplatePath */
|
|
72
|
+
/** @typedef {import("../WebpackError")} WebpackError */
|
|
73
|
+
/** @typedef {import("../javascript/JavascriptParser").Range} Range */
|
|
74
|
+
/** @typedef {import("../util/Hash")} Hash */
|
|
75
|
+
/** @typedef {import("../util/concatenate").ScopeSet} ScopeSet */
|
|
76
|
+
/** @typedef {import("../util/concatenate").UsedNamesInScopeInfo} UsedNamesInScopeInfo */
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @param {Chunk} chunk a chunk
|
|
80
|
+
* @param {ChunkGraph} chunkGraph the chunk graph
|
|
81
|
+
* @returns {boolean} true, when a JS file is needed for this chunk
|
|
82
|
+
*/
|
|
83
|
+
const chunkHasJs = (chunk, chunkGraph) => {
|
|
84
|
+
if (chunkGraph.getNumberOfEntryModules(chunk) > 0) return true;
|
|
85
|
+
|
|
86
|
+
return Boolean(
|
|
87
|
+
chunkGraph.getChunkModulesIterableBySourceType(chunk, JAVASCRIPT_TYPE)
|
|
88
|
+
);
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @param {Chunk} chunk a chunk
|
|
93
|
+
* @param {ChunkGraph} chunkGraph the chunk graph
|
|
94
|
+
* @returns {boolean} true, when a JS file is needed for this chunk
|
|
95
|
+
*/
|
|
96
|
+
const chunkHasRuntimeOrJs = (chunk, chunkGraph) => {
|
|
97
|
+
if (
|
|
98
|
+
chunkGraph.getChunkModulesIterableBySourceType(
|
|
99
|
+
chunk,
|
|
100
|
+
WEBPACK_MODULE_TYPE_RUNTIME
|
|
101
|
+
)
|
|
102
|
+
) {
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
return Boolean(
|
|
107
|
+
chunkGraph.getChunkModulesIterableBySourceType(chunk, JAVASCRIPT_TYPE)
|
|
108
|
+
);
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @param {Module} module a module
|
|
113
|
+
* @param {string} code the code
|
|
114
|
+
* @returns {string} generated code for the stack
|
|
115
|
+
*/
|
|
116
|
+
const printGeneratedCodeForStack = (module, code) => {
|
|
117
|
+
const lines = code.split("\n");
|
|
118
|
+
const n = `${lines.length}`.length;
|
|
119
|
+
return `\n\nGenerated code for ${module.identifier()}\n${lines
|
|
120
|
+
.map(
|
|
121
|
+
/**
|
|
122
|
+
* @param {string} line the line
|
|
123
|
+
* @param {number} i the index
|
|
124
|
+
* @param {string[]} _lines the lines
|
|
125
|
+
* @returns {string} the line with line number
|
|
126
|
+
*/
|
|
127
|
+
(line, i, _lines) => {
|
|
128
|
+
const iStr = `${i + 1}`;
|
|
129
|
+
return `${" ".repeat(n - iStr.length)}${iStr} | ${line}`;
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
.join("\n")}`;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @typedef {object} RenderContext
|
|
137
|
+
* @property {Chunk} chunk the chunk
|
|
138
|
+
* @property {DependencyTemplates} dependencyTemplates the dependency templates
|
|
139
|
+
* @property {RuntimeTemplate} runtimeTemplate the runtime template
|
|
140
|
+
* @property {ModuleGraph} moduleGraph the module graph
|
|
141
|
+
* @property {ChunkGraph} chunkGraph the chunk graph
|
|
142
|
+
* @property {CodeGenerationResults} codeGenerationResults results of code generation
|
|
143
|
+
* @property {boolean | undefined} strictMode rendering in strict context
|
|
144
|
+
*/
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @typedef {object} MainRenderContext
|
|
148
|
+
* @property {Chunk} chunk the chunk
|
|
149
|
+
* @property {DependencyTemplates} dependencyTemplates the dependency templates
|
|
150
|
+
* @property {RuntimeTemplate} runtimeTemplate the runtime template
|
|
151
|
+
* @property {ModuleGraph} moduleGraph the module graph
|
|
152
|
+
* @property {ChunkGraph} chunkGraph the chunk graph
|
|
153
|
+
* @property {CodeGenerationResults} codeGenerationResults results of code generation
|
|
154
|
+
* @property {string} hash hash to be used for render call
|
|
155
|
+
* @property {boolean | undefined} strictMode rendering in strict context
|
|
156
|
+
*/
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @typedef {object} ChunkRenderContext
|
|
160
|
+
* @property {Chunk} chunk the chunk
|
|
161
|
+
* @property {DependencyTemplates} dependencyTemplates the dependency templates
|
|
162
|
+
* @property {RuntimeTemplate} runtimeTemplate the runtime template
|
|
163
|
+
* @property {ModuleGraph} moduleGraph the module graph
|
|
164
|
+
* @property {ChunkGraph} chunkGraph the chunk graph
|
|
165
|
+
* @property {CodeGenerationResults} codeGenerationResults results of code generation
|
|
166
|
+
* @property {InitFragment<ChunkRenderContext>[]} chunkInitFragments init fragments for the chunk
|
|
167
|
+
* @property {boolean | undefined} strictMode rendering in strict context
|
|
168
|
+
*/
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @typedef {object} RenderBootstrapContext
|
|
172
|
+
* @property {Chunk} chunk the chunk
|
|
173
|
+
* @property {CodeGenerationResults} codeGenerationResults results of code generation
|
|
174
|
+
* @property {RuntimeTemplate} runtimeTemplate the runtime template
|
|
175
|
+
* @property {ModuleGraph} moduleGraph the module graph
|
|
176
|
+
* @property {ChunkGraph} chunkGraph the chunk graph
|
|
177
|
+
* @property {string} hash hash to be used for render call
|
|
178
|
+
*/
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @typedef {object} StartupRenderContext
|
|
182
|
+
* @property {Chunk} chunk the chunk
|
|
183
|
+
* @property {DependencyTemplates} dependencyTemplates the dependency templates
|
|
184
|
+
* @property {RuntimeTemplate} runtimeTemplate the runtime template
|
|
185
|
+
* @property {ModuleGraph} moduleGraph the module graph
|
|
186
|
+
* @property {ChunkGraph} chunkGraph the chunk graph
|
|
187
|
+
* @property {CodeGenerationResults} codeGenerationResults results of code generation
|
|
188
|
+
* @property {boolean | undefined} strictMode rendering in strict context
|
|
189
|
+
* @property {boolean} inlined inlined
|
|
190
|
+
* @property {boolean=} inlinedInIIFE the inlined entry module is wrapped in an IIFE
|
|
191
|
+
*/
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @typedef {object} ModuleRenderContext
|
|
195
|
+
* @property {Chunk} chunk the chunk
|
|
196
|
+
* @property {DependencyTemplates} dependencyTemplates the dependency templates
|
|
197
|
+
* @property {RuntimeTemplate} runtimeTemplate the runtime template
|
|
198
|
+
* @property {ModuleGraph} moduleGraph the module graph
|
|
199
|
+
* @property {ChunkGraph} chunkGraph the chunk graph
|
|
200
|
+
* @property {CodeGenerationResults} codeGenerationResults results of code generation
|
|
201
|
+
* @property {InitFragment<ChunkRenderContext>[]} chunkInitFragments init fragments for the chunk
|
|
202
|
+
* @property {boolean | undefined} strictMode rendering in strict context
|
|
203
|
+
* @property {boolean} factory true: renders as factory method, false: pure module content
|
|
204
|
+
* @property {boolean=} inlinedInIIFE the inlined entry module is wrapped in an IIFE, existing only when `factory` is set to false
|
|
205
|
+
* @property {boolean=} renderInObject render module in object container
|
|
206
|
+
*/
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @typedef {object} CompilationHooks
|
|
210
|
+
* @property {SyncWaterfallHook<[Source, Module, ModuleRenderContext]>} renderModuleContent
|
|
211
|
+
* @property {SyncWaterfallHook<[Source, Module, ModuleRenderContext]>} renderModuleContainer
|
|
212
|
+
* @property {SyncWaterfallHook<[Source, Module, ModuleRenderContext]>} renderModulePackage
|
|
213
|
+
* @property {SyncWaterfallHook<[Source, RenderContext]>} renderChunk
|
|
214
|
+
* @property {SyncWaterfallHook<[Source, RenderContext]>} renderMain
|
|
215
|
+
* @property {SyncWaterfallHook<[Source, RenderContext]>} renderContent
|
|
216
|
+
* @property {SyncWaterfallHook<[Source, RenderContext]>} render
|
|
217
|
+
* @property {SyncWaterfallHook<[Source, Module, StartupRenderContext]>} renderStartup
|
|
218
|
+
* @property {SyncWaterfallHook<[string, RenderBootstrapContext]>} renderRequire
|
|
219
|
+
* @property {SyncBailHook<[Module, Partial<RenderBootstrapContext>], string | void>} inlineInRuntimeBailout
|
|
220
|
+
* @property {SyncBailHook<[Module, RenderContext], string | void>} embedInRuntimeBailout
|
|
221
|
+
* @property {SyncBailHook<[RenderContext], string | void>} strictRuntimeBailout
|
|
222
|
+
* @property {SyncHook<[Chunk, Hash, ChunkHashContext]>} chunkHash
|
|
223
|
+
* @property {SyncBailHook<[Chunk, RenderContext], boolean | void>} useSourceMap
|
|
224
|
+
*/
|
|
225
|
+
|
|
226
|
+
/** @type {WeakMap<Compilation, CompilationHooks>} */
|
|
227
|
+
const compilationHooksMap = new WeakMap();
|
|
228
|
+
|
|
229
|
+
const PLUGIN_NAME = "JavascriptModulesPlugin";
|
|
230
|
+
|
|
231
|
+
/** @typedef {{ header: string[], beforeStartup: string[], startup: string[], afterStartup: string[], allowInlineStartup: boolean }} Bootstrap */
|
|
232
|
+
|
|
233
|
+
class JavascriptModulesPlugin {
|
|
234
|
+
/**
|
|
235
|
+
* @param {Compilation} compilation the compilation
|
|
236
|
+
* @returns {CompilationHooks} the attached hooks
|
|
237
|
+
*/
|
|
238
|
+
static getCompilationHooks(compilation) {
|
|
239
|
+
if (!(compilation instanceof Compilation)) {
|
|
240
|
+
throw new TypeError(
|
|
241
|
+
"The 'compilation' argument must be an instance of Compilation"
|
|
242
|
+
);
|
|
243
|
+
}
|
|
244
|
+
let hooks = compilationHooksMap.get(compilation);
|
|
245
|
+
if (hooks === undefined) {
|
|
246
|
+
hooks = {
|
|
247
|
+
renderModuleContent: new SyncWaterfallHook([
|
|
248
|
+
"source",
|
|
249
|
+
"module",
|
|
250
|
+
"moduleRenderContext"
|
|
251
|
+
]),
|
|
252
|
+
renderModuleContainer: new SyncWaterfallHook([
|
|
253
|
+
"source",
|
|
254
|
+
"module",
|
|
255
|
+
"moduleRenderContext"
|
|
256
|
+
]),
|
|
257
|
+
renderModulePackage: new SyncWaterfallHook([
|
|
258
|
+
"source",
|
|
259
|
+
"module",
|
|
260
|
+
"moduleRenderContext"
|
|
261
|
+
]),
|
|
262
|
+
render: new SyncWaterfallHook(["source", "renderContext"]),
|
|
263
|
+
renderContent: new SyncWaterfallHook(["source", "renderContext"]),
|
|
264
|
+
renderStartup: new SyncWaterfallHook([
|
|
265
|
+
"source",
|
|
266
|
+
"module",
|
|
267
|
+
"startupRenderContext"
|
|
268
|
+
]),
|
|
269
|
+
renderChunk: new SyncWaterfallHook(["source", "renderContext"]),
|
|
270
|
+
renderMain: new SyncWaterfallHook(["source", "renderContext"]),
|
|
271
|
+
renderRequire: new SyncWaterfallHook(["code", "renderContext"]),
|
|
272
|
+
inlineInRuntimeBailout: new SyncBailHook(["module", "renderContext"]),
|
|
273
|
+
embedInRuntimeBailout: new SyncBailHook(["module", "renderContext"]),
|
|
274
|
+
strictRuntimeBailout: new SyncBailHook(["renderContext"]),
|
|
275
|
+
chunkHash: new SyncHook(["chunk", "hash", "context"]),
|
|
276
|
+
useSourceMap: new SyncBailHook(["chunk", "renderContext"])
|
|
277
|
+
};
|
|
278
|
+
compilationHooksMap.set(compilation, hooks);
|
|
279
|
+
}
|
|
280
|
+
return hooks;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
constructor(options = {}) {
|
|
284
|
+
this.options = options;
|
|
285
|
+
/** @type {WeakMap<Source, { source: Source, needModule: boolean, needExports: boolean, needRequire: boolean, needThisAsExports: boolean, needStrict: boolean | undefined, renderShorthand: boolean }>} */
|
|
286
|
+
this._moduleFactoryCache = new WeakMap();
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Apply the plugin
|
|
291
|
+
* @param {Compiler} compiler the compiler instance
|
|
292
|
+
* @returns {void}
|
|
293
|
+
*/
|
|
294
|
+
apply(compiler) {
|
|
295
|
+
compiler.hooks.compilation.tap(
|
|
296
|
+
PLUGIN_NAME,
|
|
297
|
+
(compilation, { normalModuleFactory }) => {
|
|
298
|
+
const hooks = JavascriptModulesPlugin.getCompilationHooks(compilation);
|
|
299
|
+
|
|
300
|
+
for (const type of [
|
|
301
|
+
JAVASCRIPT_MODULE_TYPE_AUTO,
|
|
302
|
+
JAVASCRIPT_MODULE_TYPE_DYNAMIC,
|
|
303
|
+
JAVASCRIPT_MODULE_TYPE_ESM
|
|
304
|
+
]) {
|
|
305
|
+
normalModuleFactory.hooks.createParser
|
|
306
|
+
.for(type)
|
|
307
|
+
.tap(PLUGIN_NAME, (options) => {
|
|
308
|
+
switch (type) {
|
|
309
|
+
case JAVASCRIPT_MODULE_TYPE_AUTO: {
|
|
310
|
+
return new JavascriptParser("auto", { parse: options.parse });
|
|
311
|
+
}
|
|
312
|
+
case JAVASCRIPT_MODULE_TYPE_DYNAMIC: {
|
|
313
|
+
return new JavascriptParser("script", {
|
|
314
|
+
parse: options.parse
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
case JAVASCRIPT_MODULE_TYPE_ESM: {
|
|
318
|
+
return new JavascriptParser("module", {
|
|
319
|
+
parse: options.parse
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
normalModuleFactory.hooks.createGenerator
|
|
325
|
+
.for(type)
|
|
326
|
+
.tap(PLUGIN_NAME, () => new JavascriptGenerator());
|
|
327
|
+
|
|
328
|
+
NormalModule.getCompilationHooks(compilation).processResult.tap(
|
|
329
|
+
PLUGIN_NAME,
|
|
330
|
+
(result, module) => {
|
|
331
|
+
if (module.type === type) {
|
|
332
|
+
const [source, ...rest] = result;
|
|
333
|
+
|
|
334
|
+
return [removeBOM(source), ...rest];
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
return result;
|
|
338
|
+
}
|
|
339
|
+
);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
compilation.hooks.renderManifest.tap(PLUGIN_NAME, (result, options) => {
|
|
343
|
+
const {
|
|
344
|
+
hash,
|
|
345
|
+
chunk,
|
|
346
|
+
chunkGraph,
|
|
347
|
+
moduleGraph,
|
|
348
|
+
runtimeTemplate,
|
|
349
|
+
dependencyTemplates,
|
|
350
|
+
outputOptions,
|
|
351
|
+
codeGenerationResults
|
|
352
|
+
} = options;
|
|
353
|
+
|
|
354
|
+
const hotUpdateChunk = chunk instanceof HotUpdateChunk ? chunk : null;
|
|
355
|
+
const filenameTemplate =
|
|
356
|
+
JavascriptModulesPlugin.getChunkFilenameTemplate(
|
|
357
|
+
chunk,
|
|
358
|
+
outputOptions
|
|
359
|
+
);
|
|
360
|
+
|
|
361
|
+
/** @type {() => Source} */
|
|
362
|
+
let render;
|
|
363
|
+
|
|
364
|
+
if (hotUpdateChunk) {
|
|
365
|
+
render = () =>
|
|
366
|
+
this.renderChunk(
|
|
367
|
+
{
|
|
368
|
+
chunk,
|
|
369
|
+
dependencyTemplates,
|
|
370
|
+
runtimeTemplate,
|
|
371
|
+
moduleGraph,
|
|
372
|
+
chunkGraph,
|
|
373
|
+
codeGenerationResults,
|
|
374
|
+
strictMode: runtimeTemplate.isModule()
|
|
375
|
+
},
|
|
376
|
+
hooks
|
|
377
|
+
);
|
|
378
|
+
} else if (chunk.hasRuntime()) {
|
|
379
|
+
if (!chunkHasRuntimeOrJs(chunk, chunkGraph)) {
|
|
380
|
+
return result;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
render = () =>
|
|
384
|
+
this.renderMain(
|
|
385
|
+
{
|
|
386
|
+
hash,
|
|
387
|
+
chunk,
|
|
388
|
+
dependencyTemplates,
|
|
389
|
+
runtimeTemplate,
|
|
390
|
+
moduleGraph,
|
|
391
|
+
chunkGraph,
|
|
392
|
+
codeGenerationResults,
|
|
393
|
+
strictMode: runtimeTemplate.isModule()
|
|
394
|
+
},
|
|
395
|
+
hooks,
|
|
396
|
+
compilation
|
|
397
|
+
);
|
|
398
|
+
} else {
|
|
399
|
+
if (!chunkHasJs(chunk, chunkGraph)) {
|
|
400
|
+
return result;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
render = () =>
|
|
404
|
+
this.renderChunk(
|
|
405
|
+
{
|
|
406
|
+
chunk,
|
|
407
|
+
dependencyTemplates,
|
|
408
|
+
runtimeTemplate,
|
|
409
|
+
moduleGraph,
|
|
410
|
+
chunkGraph,
|
|
411
|
+
codeGenerationResults,
|
|
412
|
+
strictMode: runtimeTemplate.isModule()
|
|
413
|
+
},
|
|
414
|
+
hooks
|
|
415
|
+
);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
result.push({
|
|
419
|
+
render,
|
|
420
|
+
filenameTemplate,
|
|
421
|
+
pathOptions: {
|
|
422
|
+
hash,
|
|
423
|
+
runtime: chunk.runtime,
|
|
424
|
+
chunk,
|
|
425
|
+
contentHashType: "javascript"
|
|
426
|
+
},
|
|
427
|
+
info: {
|
|
428
|
+
javascriptModule: compilation.runtimeTemplate.isModule()
|
|
429
|
+
},
|
|
430
|
+
identifier: hotUpdateChunk
|
|
431
|
+
? `hotupdatechunk${chunk.id}`
|
|
432
|
+
: `chunk${chunk.id}`,
|
|
433
|
+
hash: chunk.contentHash.javascript
|
|
434
|
+
});
|
|
435
|
+
|
|
436
|
+
return result;
|
|
437
|
+
});
|
|
438
|
+
compilation.hooks.chunkHash.tap(PLUGIN_NAME, (chunk, hash, context) => {
|
|
439
|
+
hooks.chunkHash.call(chunk, hash, context);
|
|
440
|
+
if (chunk.hasRuntime()) {
|
|
441
|
+
this.updateHashWithBootstrap(
|
|
442
|
+
hash,
|
|
443
|
+
{
|
|
444
|
+
hash: "0000",
|
|
445
|
+
chunk,
|
|
446
|
+
codeGenerationResults: context.codeGenerationResults,
|
|
447
|
+
chunkGraph: context.chunkGraph,
|
|
448
|
+
moduleGraph: context.moduleGraph,
|
|
449
|
+
runtimeTemplate: context.runtimeTemplate
|
|
450
|
+
},
|
|
451
|
+
hooks
|
|
452
|
+
);
|
|
453
|
+
}
|
|
454
|
+
});
|
|
455
|
+
compilation.hooks.contentHash.tap(PLUGIN_NAME, (chunk) => {
|
|
456
|
+
const {
|
|
457
|
+
chunkGraph,
|
|
458
|
+
moduleGraph,
|
|
459
|
+
runtimeTemplate,
|
|
460
|
+
outputOptions: {
|
|
461
|
+
hashSalt,
|
|
462
|
+
hashDigest,
|
|
463
|
+
hashDigestLength,
|
|
464
|
+
hashFunction
|
|
465
|
+
}
|
|
466
|
+
} = compilation;
|
|
467
|
+
const codeGenerationResults =
|
|
468
|
+
/** @type {CodeGenerationResults} */
|
|
469
|
+
(compilation.codeGenerationResults);
|
|
470
|
+
const hash = createHash(hashFunction);
|
|
471
|
+
if (hashSalt) hash.update(hashSalt);
|
|
472
|
+
if (chunk.hasRuntime()) {
|
|
473
|
+
this.updateHashWithBootstrap(
|
|
474
|
+
hash,
|
|
475
|
+
{
|
|
476
|
+
hash: "0000",
|
|
477
|
+
chunk,
|
|
478
|
+
codeGenerationResults,
|
|
479
|
+
chunkGraph: compilation.chunkGraph,
|
|
480
|
+
moduleGraph: compilation.moduleGraph,
|
|
481
|
+
runtimeTemplate: compilation.runtimeTemplate
|
|
482
|
+
},
|
|
483
|
+
hooks
|
|
484
|
+
);
|
|
485
|
+
} else {
|
|
486
|
+
hash.update(`${chunk.id} `);
|
|
487
|
+
hash.update(chunk.ids ? chunk.ids.join(",") : "");
|
|
488
|
+
}
|
|
489
|
+
hooks.chunkHash.call(chunk, hash, {
|
|
490
|
+
chunkGraph,
|
|
491
|
+
codeGenerationResults,
|
|
492
|
+
moduleGraph,
|
|
493
|
+
runtimeTemplate
|
|
494
|
+
});
|
|
495
|
+
const modules = chunkGraph.getChunkModulesIterableBySourceType(
|
|
496
|
+
chunk,
|
|
497
|
+
JAVASCRIPT_TYPE
|
|
498
|
+
);
|
|
499
|
+
if (modules) {
|
|
500
|
+
const xor = new StringXor();
|
|
501
|
+
for (const m of modules) {
|
|
502
|
+
xor.add(chunkGraph.getModuleHash(m, chunk.runtime));
|
|
503
|
+
}
|
|
504
|
+
xor.updateHash(hash);
|
|
505
|
+
}
|
|
506
|
+
const runtimeModules = chunkGraph.getChunkModulesIterableBySourceType(
|
|
507
|
+
chunk,
|
|
508
|
+
WEBPACK_MODULE_TYPE_RUNTIME
|
|
509
|
+
);
|
|
510
|
+
if (runtimeModules) {
|
|
511
|
+
const xor = new StringXor();
|
|
512
|
+
for (const m of runtimeModules) {
|
|
513
|
+
xor.add(chunkGraph.getModuleHash(m, chunk.runtime));
|
|
514
|
+
}
|
|
515
|
+
xor.updateHash(hash);
|
|
516
|
+
}
|
|
517
|
+
const digest = hash.digest(hashDigest);
|
|
518
|
+
chunk.contentHash.javascript = nonNumericOnlyHash(
|
|
519
|
+
digest,
|
|
520
|
+
hashDigestLength
|
|
521
|
+
);
|
|
522
|
+
});
|
|
523
|
+
compilation.hooks.additionalTreeRuntimeRequirements.tap(
|
|
524
|
+
PLUGIN_NAME,
|
|
525
|
+
(chunk, set, { chunkGraph }) => {
|
|
526
|
+
if (
|
|
527
|
+
!set.has(RuntimeGlobals.startupNoDefault) &&
|
|
528
|
+
chunkGraph.hasChunkEntryDependentChunks(chunk)
|
|
529
|
+
) {
|
|
530
|
+
set.add(RuntimeGlobals.onChunksLoaded);
|
|
531
|
+
set.add(RuntimeGlobals.exports);
|
|
532
|
+
set.add(RuntimeGlobals.require);
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
);
|
|
536
|
+
compilation.hooks.executeModule.tap(PLUGIN_NAME, (options, context) => {
|
|
537
|
+
const source =
|
|
538
|
+
options.codeGenerationResult.sources.get(JAVASCRIPT_TYPE);
|
|
539
|
+
if (source === undefined) return;
|
|
540
|
+
const { module } = options;
|
|
541
|
+
const code = source.source();
|
|
542
|
+
|
|
543
|
+
/** @type {(this: ExecuteModuleObject["exports"], exports: ExecuteModuleObject["exports"], moduleObject: ExecuteModuleObject, webpackRequire: WebpackRequire) => void} */
|
|
544
|
+
const fn = vm.runInThisContext(
|
|
545
|
+
`(function(${module.moduleArgument}, ${module.exportsArgument}, ${RuntimeGlobals.require}) {\n${code}\n/**/})`,
|
|
546
|
+
{
|
|
547
|
+
filename: module.identifier(),
|
|
548
|
+
lineOffset: -1
|
|
549
|
+
}
|
|
550
|
+
);
|
|
551
|
+
|
|
552
|
+
const moduleObject =
|
|
553
|
+
/** @type {ExecuteModuleObject} */
|
|
554
|
+
(options.moduleObject);
|
|
555
|
+
|
|
556
|
+
try {
|
|
557
|
+
fn.call(
|
|
558
|
+
moduleObject.exports,
|
|
559
|
+
moduleObject,
|
|
560
|
+
moduleObject.exports,
|
|
561
|
+
/** @type {WebpackRequire} */
|
|
562
|
+
(context.__webpack_require__)
|
|
563
|
+
);
|
|
564
|
+
} catch (err) {
|
|
565
|
+
/** @type {Error} */
|
|
566
|
+
(err).stack += printGeneratedCodeForStack(
|
|
567
|
+
options.module,
|
|
568
|
+
/** @type {string} */ (code)
|
|
569
|
+
);
|
|
570
|
+
throw err;
|
|
571
|
+
}
|
|
572
|
+
});
|
|
573
|
+
compilation.hooks.executeModule.tap(PLUGIN_NAME, (options, context) => {
|
|
574
|
+
const source = options.codeGenerationResult.sources.get("runtime");
|
|
575
|
+
if (source === undefined) return;
|
|
576
|
+
let code = source.source();
|
|
577
|
+
if (typeof code !== "string") code = code.toString();
|
|
578
|
+
|
|
579
|
+
/** @type {(this: null, webpackRequire: WebpackRequire) => void} */
|
|
580
|
+
const fn = vm.runInThisContext(
|
|
581
|
+
`(function(${RuntimeGlobals.require}) {\n${code}\n/**/})`,
|
|
582
|
+
{
|
|
583
|
+
filename: options.module.identifier(),
|
|
584
|
+
lineOffset: -1
|
|
585
|
+
}
|
|
586
|
+
);
|
|
587
|
+
try {
|
|
588
|
+
// eslint-disable-next-line no-useless-call
|
|
589
|
+
fn.call(
|
|
590
|
+
null,
|
|
591
|
+
/** @type {WebpackRequire} */
|
|
592
|
+
(context.__webpack_require__)
|
|
593
|
+
);
|
|
594
|
+
} catch (err) {
|
|
595
|
+
/** @type {Error} */
|
|
596
|
+
(err).stack += printGeneratedCodeForStack(options.module, code);
|
|
597
|
+
throw err;
|
|
598
|
+
}
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* @param {Chunk} chunk chunk
|
|
606
|
+
* @param {OutputOptions} outputOptions output options
|
|
607
|
+
* @returns {TemplatePath} used filename template
|
|
608
|
+
*/
|
|
609
|
+
static getChunkFilenameTemplate(chunk, outputOptions) {
|
|
610
|
+
if (chunk.filenameTemplate) {
|
|
611
|
+
return chunk.filenameTemplate;
|
|
612
|
+
} else if (chunk instanceof HotUpdateChunk) {
|
|
613
|
+
return outputOptions.hotUpdateChunkFilename;
|
|
614
|
+
} else if (chunk.canBeInitial()) {
|
|
615
|
+
return outputOptions.filename;
|
|
616
|
+
}
|
|
617
|
+
return outputOptions.chunkFilename;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* @param {Module} module the rendered module
|
|
622
|
+
* @param {ModuleRenderContext} renderContext options object
|
|
623
|
+
* @param {CompilationHooks} hooks hooks
|
|
624
|
+
* @returns {Source | null} the newly generated source from rendering
|
|
625
|
+
*/
|
|
626
|
+
renderModule(module, renderContext, hooks) {
|
|
627
|
+
const {
|
|
628
|
+
chunk,
|
|
629
|
+
chunkGraph,
|
|
630
|
+
runtimeTemplate,
|
|
631
|
+
codeGenerationResults,
|
|
632
|
+
strictMode,
|
|
633
|
+
factory,
|
|
634
|
+
renderInObject
|
|
635
|
+
} = renderContext;
|
|
636
|
+
try {
|
|
637
|
+
const codeGenResult = codeGenerationResults.get(module, chunk.runtime);
|
|
638
|
+
const moduleSource = codeGenResult.sources.get(JAVASCRIPT_TYPE);
|
|
639
|
+
if (!moduleSource) return null;
|
|
640
|
+
if (codeGenResult.data !== undefined) {
|
|
641
|
+
const chunkInitFragments = codeGenResult.data.get("chunkInitFragments");
|
|
642
|
+
if (chunkInitFragments) {
|
|
643
|
+
for (const i of chunkInitFragments) {
|
|
644
|
+
renderContext.chunkInitFragments.push(i);
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
const moduleSourcePostContent = tryRunOrWebpackError(
|
|
649
|
+
() =>
|
|
650
|
+
hooks.renderModuleContent.call(moduleSource, module, renderContext),
|
|
651
|
+
"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent"
|
|
652
|
+
);
|
|
653
|
+
/** @type {Source} */
|
|
654
|
+
let moduleSourcePostContainer;
|
|
655
|
+
if (factory) {
|
|
656
|
+
const runtimeRequirements = chunkGraph.getModuleRuntimeRequirements(
|
|
657
|
+
module,
|
|
658
|
+
chunk.runtime
|
|
659
|
+
);
|
|
660
|
+
const needModule = runtimeRequirements.has(RuntimeGlobals.module);
|
|
661
|
+
const needExports = runtimeRequirements.has(RuntimeGlobals.exports);
|
|
662
|
+
const needRequire =
|
|
663
|
+
runtimeRequirements.has(RuntimeGlobals.require) ||
|
|
664
|
+
runtimeRequirements.has(RuntimeGlobals.requireScope);
|
|
665
|
+
const needThisAsExports = runtimeRequirements.has(
|
|
666
|
+
RuntimeGlobals.thisAsExports
|
|
667
|
+
);
|
|
668
|
+
const needStrict =
|
|
669
|
+
/** @type {BuildInfo} */
|
|
670
|
+
(module.buildInfo).strict && !strictMode;
|
|
671
|
+
const cacheEntry = this._moduleFactoryCache.get(
|
|
672
|
+
moduleSourcePostContent
|
|
673
|
+
);
|
|
674
|
+
const renderShorthand =
|
|
675
|
+
renderInObject === true && runtimeTemplate.supportsMethodShorthand();
|
|
676
|
+
/** @type {Source} */
|
|
677
|
+
let source;
|
|
678
|
+
if (
|
|
679
|
+
cacheEntry &&
|
|
680
|
+
cacheEntry.needModule === needModule &&
|
|
681
|
+
cacheEntry.needExports === needExports &&
|
|
682
|
+
cacheEntry.needRequire === needRequire &&
|
|
683
|
+
cacheEntry.needThisAsExports === needThisAsExports &&
|
|
684
|
+
cacheEntry.needStrict === needStrict &&
|
|
685
|
+
cacheEntry.renderShorthand === renderShorthand
|
|
686
|
+
) {
|
|
687
|
+
source = cacheEntry.source;
|
|
688
|
+
} else {
|
|
689
|
+
const factorySource = new ConcatSource();
|
|
690
|
+
/** @type {string[]} */
|
|
691
|
+
const args = [];
|
|
692
|
+
if (needExports || needRequire || needModule) {
|
|
693
|
+
args.push(
|
|
694
|
+
needModule
|
|
695
|
+
? module.moduleArgument
|
|
696
|
+
: `__unused_webpack_${module.moduleArgument}`
|
|
697
|
+
);
|
|
698
|
+
}
|
|
699
|
+
if (needExports || needRequire) {
|
|
700
|
+
args.push(
|
|
701
|
+
needExports
|
|
702
|
+
? module.exportsArgument
|
|
703
|
+
: `__unused_webpack_${module.exportsArgument}`
|
|
704
|
+
);
|
|
705
|
+
}
|
|
706
|
+
if (needRequire) args.push(RuntimeGlobals.require);
|
|
707
|
+
|
|
708
|
+
if (renderShorthand) {
|
|
709
|
+
// we can optimize function to methodShorthand if render module factory in object
|
|
710
|
+
factorySource.add(`(${args.join(", ")}) {\n\n`);
|
|
711
|
+
} else if (
|
|
712
|
+
!needThisAsExports &&
|
|
713
|
+
runtimeTemplate.supportsArrowFunction()
|
|
714
|
+
) {
|
|
715
|
+
factorySource.add(`/***/ ((${args.join(", ")}) => {\n\n`);
|
|
716
|
+
} else {
|
|
717
|
+
factorySource.add(`/***/ (function(${args.join(", ")}) {\n\n`);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
if (needStrict) {
|
|
721
|
+
factorySource.add('"use strict";\n');
|
|
722
|
+
}
|
|
723
|
+
factorySource.add(moduleSourcePostContent);
|
|
724
|
+
factorySource.add(`\n\n/***/ }${renderShorthand ? "" : ")"}`);
|
|
725
|
+
source = new CachedSource(factorySource);
|
|
726
|
+
this._moduleFactoryCache.set(moduleSourcePostContent, {
|
|
727
|
+
source,
|
|
728
|
+
needModule,
|
|
729
|
+
needExports,
|
|
730
|
+
needRequire,
|
|
731
|
+
needThisAsExports,
|
|
732
|
+
needStrict,
|
|
733
|
+
renderShorthand
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
moduleSourcePostContainer = tryRunOrWebpackError(
|
|
737
|
+
() => hooks.renderModuleContainer.call(source, module, renderContext),
|
|
738
|
+
"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer"
|
|
739
|
+
);
|
|
740
|
+
} else {
|
|
741
|
+
moduleSourcePostContainer = moduleSourcePostContent;
|
|
742
|
+
}
|
|
743
|
+
return tryRunOrWebpackError(
|
|
744
|
+
() =>
|
|
745
|
+
hooks.renderModulePackage.call(
|
|
746
|
+
moduleSourcePostContainer,
|
|
747
|
+
module,
|
|
748
|
+
renderContext
|
|
749
|
+
),
|
|
750
|
+
"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage"
|
|
751
|
+
);
|
|
752
|
+
} catch (err) {
|
|
753
|
+
/** @type {WebpackError} */
|
|
754
|
+
(err).module = module;
|
|
755
|
+
throw err;
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* @param {RenderContext} renderContext the render context
|
|
761
|
+
* @param {CompilationHooks} hooks hooks
|
|
762
|
+
* @returns {Source} the rendered source
|
|
763
|
+
*/
|
|
764
|
+
renderChunk(renderContext, hooks) {
|
|
765
|
+
const { chunk, chunkGraph, runtimeTemplate } = renderContext;
|
|
766
|
+
const modules = chunkGraph.getOrderedChunkModulesIterableBySourceType(
|
|
767
|
+
chunk,
|
|
768
|
+
JAVASCRIPT_TYPE,
|
|
769
|
+
compareModulesByFullName(runtimeTemplate.compilation.compiler)
|
|
770
|
+
);
|
|
771
|
+
const allModules = modules ? [...modules] : [];
|
|
772
|
+
/** @type {undefined | string} */
|
|
773
|
+
let strictHeader;
|
|
774
|
+
let allStrict = renderContext.strictMode;
|
|
775
|
+
if (
|
|
776
|
+
!allStrict &&
|
|
777
|
+
allModules.every((m) => /** @type {BuildInfo} */ (m.buildInfo).strict)
|
|
778
|
+
) {
|
|
779
|
+
const strictBailout = hooks.strictRuntimeBailout.call(renderContext);
|
|
780
|
+
strictHeader = strictBailout
|
|
781
|
+
? `// runtime can't be in strict mode because ${strictBailout}.\n`
|
|
782
|
+
: '"use strict";\n';
|
|
783
|
+
if (!strictBailout) allStrict = true;
|
|
784
|
+
}
|
|
785
|
+
/** @type {ChunkRenderContext} */
|
|
786
|
+
const chunkRenderContext = {
|
|
787
|
+
...renderContext,
|
|
788
|
+
chunkInitFragments: [],
|
|
789
|
+
strictMode: allStrict
|
|
790
|
+
};
|
|
791
|
+
const moduleSources =
|
|
792
|
+
Template.renderChunkModules(
|
|
793
|
+
chunkRenderContext,
|
|
794
|
+
allModules,
|
|
795
|
+
(module, renderInObject) =>
|
|
796
|
+
this.renderModule(
|
|
797
|
+
module,
|
|
798
|
+
{ ...chunkRenderContext, factory: true, renderInObject },
|
|
799
|
+
hooks
|
|
800
|
+
)
|
|
801
|
+
) || new RawSource("{}");
|
|
802
|
+
let source = tryRunOrWebpackError(
|
|
803
|
+
() => hooks.renderChunk.call(moduleSources, chunkRenderContext),
|
|
804
|
+
"JavascriptModulesPlugin.getCompilationHooks().renderChunk"
|
|
805
|
+
);
|
|
806
|
+
source = tryRunOrWebpackError(
|
|
807
|
+
() => hooks.renderContent.call(source, chunkRenderContext),
|
|
808
|
+
"JavascriptModulesPlugin.getCompilationHooks().renderContent"
|
|
809
|
+
);
|
|
810
|
+
if (!source) {
|
|
811
|
+
throw new Error(
|
|
812
|
+
"JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something"
|
|
813
|
+
);
|
|
814
|
+
}
|
|
815
|
+
source = InitFragment.addToSource(
|
|
816
|
+
source,
|
|
817
|
+
chunkRenderContext.chunkInitFragments,
|
|
818
|
+
chunkRenderContext
|
|
819
|
+
);
|
|
820
|
+
source = tryRunOrWebpackError(
|
|
821
|
+
() => hooks.render.call(source, chunkRenderContext),
|
|
822
|
+
"JavascriptModulesPlugin.getCompilationHooks().render"
|
|
823
|
+
);
|
|
824
|
+
if (!source) {
|
|
825
|
+
throw new Error(
|
|
826
|
+
"JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something"
|
|
827
|
+
);
|
|
828
|
+
}
|
|
829
|
+
chunk.rendered = true;
|
|
830
|
+
return strictHeader
|
|
831
|
+
? new ConcatSource(strictHeader, source, ";")
|
|
832
|
+
: renderContext.runtimeTemplate.isModule()
|
|
833
|
+
? source
|
|
834
|
+
: new ConcatSource(source, ";");
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* @param {MainRenderContext} renderContext options object
|
|
839
|
+
* @param {CompilationHooks} hooks hooks
|
|
840
|
+
* @param {Compilation} compilation the compilation
|
|
841
|
+
* @returns {Source} the newly generated source from rendering
|
|
842
|
+
*/
|
|
843
|
+
renderMain(renderContext, hooks, compilation) {
|
|
844
|
+
const { chunk, chunkGraph, runtimeTemplate } = renderContext;
|
|
845
|
+
|
|
846
|
+
const runtimeRequirements = chunkGraph.getTreeRuntimeRequirements(chunk);
|
|
847
|
+
const iife = runtimeTemplate.isIIFE();
|
|
848
|
+
|
|
849
|
+
const bootstrap = this.renderBootstrap(renderContext, hooks);
|
|
850
|
+
const useSourceMap = hooks.useSourceMap.call(chunk, renderContext);
|
|
851
|
+
|
|
852
|
+
/** @type {Module[]} */
|
|
853
|
+
const allModules = [
|
|
854
|
+
...(chunkGraph.getOrderedChunkModulesIterableBySourceType(
|
|
855
|
+
chunk,
|
|
856
|
+
JAVASCRIPT_TYPE,
|
|
857
|
+
compareModulesByFullName(runtimeTemplate.compilation.compiler)
|
|
858
|
+
) || [])
|
|
859
|
+
];
|
|
860
|
+
|
|
861
|
+
const hasEntryModules = chunkGraph.getNumberOfEntryModules(chunk) > 0;
|
|
862
|
+
/** @type {Set<Module> | undefined} */
|
|
863
|
+
let inlinedModules;
|
|
864
|
+
if (bootstrap.allowInlineStartup && hasEntryModules) {
|
|
865
|
+
inlinedModules = new Set(chunkGraph.getChunkEntryModulesIterable(chunk));
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
const source = new ConcatSource();
|
|
869
|
+
/** @type {string} */
|
|
870
|
+
let prefix;
|
|
871
|
+
if (iife) {
|
|
872
|
+
if (runtimeTemplate.supportsArrowFunction()) {
|
|
873
|
+
source.add("/******/ (() => { // webpackBootstrap\n");
|
|
874
|
+
} else {
|
|
875
|
+
source.add("/******/ (function() { // webpackBootstrap\n");
|
|
876
|
+
}
|
|
877
|
+
prefix = "/******/ \t";
|
|
878
|
+
} else {
|
|
879
|
+
prefix = "/******/ ";
|
|
880
|
+
}
|
|
881
|
+
let allStrict = renderContext.strictMode;
|
|
882
|
+
if (
|
|
883
|
+
!allStrict &&
|
|
884
|
+
allModules.every((m) => /** @type {BuildInfo} */ (m.buildInfo).strict)
|
|
885
|
+
) {
|
|
886
|
+
const strictBailout = hooks.strictRuntimeBailout.call(renderContext);
|
|
887
|
+
if (strictBailout) {
|
|
888
|
+
source.add(
|
|
889
|
+
`${
|
|
890
|
+
prefix
|
|
891
|
+
}// runtime can't be in strict mode because ${strictBailout}.\n`
|
|
892
|
+
);
|
|
893
|
+
} else {
|
|
894
|
+
allStrict = true;
|
|
895
|
+
source.add(`${prefix}"use strict";\n`);
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
/** @type {ChunkRenderContext} */
|
|
900
|
+
const chunkRenderContext = {
|
|
901
|
+
...renderContext,
|
|
902
|
+
chunkInitFragments: [],
|
|
903
|
+
strictMode: allStrict
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
const chunkModules = Template.renderChunkModules(
|
|
907
|
+
chunkRenderContext,
|
|
908
|
+
inlinedModules
|
|
909
|
+
? allModules.filter(
|
|
910
|
+
(m) => !(/** @type {Set<Module>} */ (inlinedModules).has(m))
|
|
911
|
+
)
|
|
912
|
+
: allModules,
|
|
913
|
+
(module, renderInObject) =>
|
|
914
|
+
this.renderModule(
|
|
915
|
+
module,
|
|
916
|
+
{ ...chunkRenderContext, factory: true, renderInObject },
|
|
917
|
+
hooks
|
|
918
|
+
),
|
|
919
|
+
prefix
|
|
920
|
+
);
|
|
921
|
+
if (
|
|
922
|
+
chunkModules ||
|
|
923
|
+
runtimeRequirements.has(RuntimeGlobals.moduleFactories) ||
|
|
924
|
+
runtimeRequirements.has(RuntimeGlobals.moduleFactoriesAddOnly) ||
|
|
925
|
+
runtimeRequirements.has(RuntimeGlobals.require)
|
|
926
|
+
) {
|
|
927
|
+
source.add(`${prefix}var __webpack_modules__ = (`);
|
|
928
|
+
source.add(chunkModules || "{}");
|
|
929
|
+
source.add(");\n");
|
|
930
|
+
source.add(
|
|
931
|
+
"/************************************************************************/\n"
|
|
932
|
+
);
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
if (bootstrap.header.length > 0) {
|
|
936
|
+
const header = `${Template.asString(bootstrap.header)}\n`;
|
|
937
|
+
source.add(
|
|
938
|
+
new PrefixSource(
|
|
939
|
+
prefix,
|
|
940
|
+
useSourceMap
|
|
941
|
+
? new OriginalSource(header, "webpack/bootstrap")
|
|
942
|
+
: new RawSource(header)
|
|
943
|
+
)
|
|
944
|
+
);
|
|
945
|
+
source.add(
|
|
946
|
+
"/************************************************************************/\n"
|
|
947
|
+
);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
const runtimeModules =
|
|
951
|
+
renderContext.chunkGraph.getChunkRuntimeModulesInOrder(chunk);
|
|
952
|
+
|
|
953
|
+
if (runtimeModules.length > 0) {
|
|
954
|
+
source.add(
|
|
955
|
+
new PrefixSource(
|
|
956
|
+
prefix,
|
|
957
|
+
Template.renderRuntimeModules(runtimeModules, chunkRenderContext)
|
|
958
|
+
)
|
|
959
|
+
);
|
|
960
|
+
source.add(
|
|
961
|
+
"/************************************************************************/\n"
|
|
962
|
+
);
|
|
963
|
+
// runtimeRuntimeModules calls codeGeneration
|
|
964
|
+
for (const module of runtimeModules) {
|
|
965
|
+
compilation.codeGeneratedModules.add(module);
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
if (inlinedModules) {
|
|
969
|
+
if (bootstrap.beforeStartup.length > 0) {
|
|
970
|
+
const beforeStartup = `${Template.asString(bootstrap.beforeStartup)}\n`;
|
|
971
|
+
source.add(
|
|
972
|
+
new PrefixSource(
|
|
973
|
+
prefix,
|
|
974
|
+
useSourceMap
|
|
975
|
+
? new OriginalSource(beforeStartup, "webpack/before-startup")
|
|
976
|
+
: new RawSource(beforeStartup)
|
|
977
|
+
)
|
|
978
|
+
);
|
|
979
|
+
}
|
|
980
|
+
const lastInlinedModule = /** @type {Module} */ (last(inlinedModules));
|
|
981
|
+
const startupSource = new ConcatSource();
|
|
982
|
+
|
|
983
|
+
if (runtimeRequirements.has(RuntimeGlobals.exports)) {
|
|
984
|
+
startupSource.add(`var ${RuntimeGlobals.exports} = {};\n`);
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
const avoidEntryIife = compilation.options.optimization.avoidEntryIife;
|
|
988
|
+
/** @type {Map<Module, Source> | false} */
|
|
989
|
+
let renamedInlinedModule = false;
|
|
990
|
+
let inlinedInIIFE = false;
|
|
991
|
+
|
|
992
|
+
if (avoidEntryIife) {
|
|
993
|
+
renamedInlinedModule = this._getRenamedInlineModule(
|
|
994
|
+
compilation,
|
|
995
|
+
allModules,
|
|
996
|
+
renderContext,
|
|
997
|
+
inlinedModules,
|
|
998
|
+
chunkRenderContext,
|
|
999
|
+
hooks,
|
|
1000
|
+
allStrict,
|
|
1001
|
+
Boolean(chunkModules)
|
|
1002
|
+
);
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
for (const m of inlinedModules) {
|
|
1006
|
+
const runtimeRequirements = chunkGraph.getModuleRuntimeRequirements(
|
|
1007
|
+
m,
|
|
1008
|
+
chunk.runtime
|
|
1009
|
+
);
|
|
1010
|
+
const exports = runtimeRequirements.has(RuntimeGlobals.exports);
|
|
1011
|
+
const webpackExports =
|
|
1012
|
+
exports && m.exportsArgument === RuntimeGlobals.exports;
|
|
1013
|
+
|
|
1014
|
+
const innerStrict =
|
|
1015
|
+
!allStrict && /** @type {BuildInfo} */ (m.buildInfo).strict;
|
|
1016
|
+
|
|
1017
|
+
const iife = innerStrict
|
|
1018
|
+
? "it needs to be in strict mode."
|
|
1019
|
+
: inlinedModules.size > 1
|
|
1020
|
+
? // TODO check globals and top-level declarations of other entries and chunk modules
|
|
1021
|
+
// to make a better decision
|
|
1022
|
+
"it needs to be isolated against other entry modules."
|
|
1023
|
+
: chunkModules && !renamedInlinedModule
|
|
1024
|
+
? "it needs to be isolated against other modules in the chunk."
|
|
1025
|
+
: exports && !webpackExports
|
|
1026
|
+
? `it uses a non-standard name for the exports (${m.exportsArgument}).`
|
|
1027
|
+
: hooks.embedInRuntimeBailout.call(m, renderContext);
|
|
1028
|
+
|
|
1029
|
+
if (iife) {
|
|
1030
|
+
inlinedInIIFE = true;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
const renderedModule = renamedInlinedModule
|
|
1034
|
+
? renamedInlinedModule.get(m)
|
|
1035
|
+
: this.renderModule(
|
|
1036
|
+
m,
|
|
1037
|
+
{
|
|
1038
|
+
...chunkRenderContext,
|
|
1039
|
+
factory: false,
|
|
1040
|
+
inlinedInIIFE
|
|
1041
|
+
},
|
|
1042
|
+
hooks
|
|
1043
|
+
);
|
|
1044
|
+
|
|
1045
|
+
if (renderedModule) {
|
|
1046
|
+
/** @type {string} */
|
|
1047
|
+
let footer;
|
|
1048
|
+
if (iife !== undefined) {
|
|
1049
|
+
startupSource.add(
|
|
1050
|
+
`// This entry needs to be wrapped in an IIFE because ${iife}\n`
|
|
1051
|
+
);
|
|
1052
|
+
const arrow = runtimeTemplate.supportsArrowFunction();
|
|
1053
|
+
if (arrow) {
|
|
1054
|
+
startupSource.add("(() => {\n");
|
|
1055
|
+
footer = "\n})();\n\n";
|
|
1056
|
+
} else {
|
|
1057
|
+
startupSource.add("!function() {\n");
|
|
1058
|
+
footer = "\n}();\n";
|
|
1059
|
+
}
|
|
1060
|
+
if (innerStrict) startupSource.add('"use strict";\n');
|
|
1061
|
+
} else {
|
|
1062
|
+
footer = "\n";
|
|
1063
|
+
}
|
|
1064
|
+
if (exports) {
|
|
1065
|
+
if (m !== lastInlinedModule) {
|
|
1066
|
+
startupSource.add(`var ${m.exportsArgument} = {};\n`);
|
|
1067
|
+
} else if (m.exportsArgument !== RuntimeGlobals.exports) {
|
|
1068
|
+
startupSource.add(
|
|
1069
|
+
`var ${m.exportsArgument} = ${RuntimeGlobals.exports};\n`
|
|
1070
|
+
);
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
startupSource.add(renderedModule);
|
|
1074
|
+
startupSource.add(footer);
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
if (runtimeRequirements.has(RuntimeGlobals.onChunksLoaded)) {
|
|
1078
|
+
startupSource.add(
|
|
1079
|
+
`${RuntimeGlobals.exports} = ${RuntimeGlobals.onChunksLoaded}(${RuntimeGlobals.exports});\n`
|
|
1080
|
+
);
|
|
1081
|
+
}
|
|
1082
|
+
source.add(
|
|
1083
|
+
hooks.renderStartup.call(startupSource, lastInlinedModule, {
|
|
1084
|
+
...renderContext,
|
|
1085
|
+
inlined: true,
|
|
1086
|
+
inlinedInIIFE
|
|
1087
|
+
})
|
|
1088
|
+
);
|
|
1089
|
+
if (bootstrap.afterStartup.length > 0) {
|
|
1090
|
+
const afterStartup = `${Template.asString(bootstrap.afterStartup)}\n`;
|
|
1091
|
+
source.add(
|
|
1092
|
+
new PrefixSource(
|
|
1093
|
+
prefix,
|
|
1094
|
+
useSourceMap
|
|
1095
|
+
? new OriginalSource(afterStartup, "webpack/after-startup")
|
|
1096
|
+
: new RawSource(afterStartup)
|
|
1097
|
+
)
|
|
1098
|
+
);
|
|
1099
|
+
}
|
|
1100
|
+
} else {
|
|
1101
|
+
const lastEntryModule =
|
|
1102
|
+
/** @type {Module} */
|
|
1103
|
+
(last(chunkGraph.getChunkEntryModulesIterable(chunk)));
|
|
1104
|
+
/** @type {(content: string[], name: string) => Source} */
|
|
1105
|
+
const toSource = useSourceMap
|
|
1106
|
+
? (content, name) =>
|
|
1107
|
+
new OriginalSource(Template.asString(content), name)
|
|
1108
|
+
: (content) => new RawSource(Template.asString(content));
|
|
1109
|
+
source.add(
|
|
1110
|
+
new PrefixSource(
|
|
1111
|
+
prefix,
|
|
1112
|
+
new ConcatSource(
|
|
1113
|
+
toSource(bootstrap.beforeStartup, "webpack/before-startup"),
|
|
1114
|
+
"\n",
|
|
1115
|
+
hooks.renderStartup.call(
|
|
1116
|
+
toSource([...bootstrap.startup, ""], "webpack/startup"),
|
|
1117
|
+
lastEntryModule,
|
|
1118
|
+
{
|
|
1119
|
+
...renderContext,
|
|
1120
|
+
inlined: false
|
|
1121
|
+
}
|
|
1122
|
+
),
|
|
1123
|
+
toSource(bootstrap.afterStartup, "webpack/after-startup"),
|
|
1124
|
+
"\n"
|
|
1125
|
+
)
|
|
1126
|
+
)
|
|
1127
|
+
);
|
|
1128
|
+
}
|
|
1129
|
+
if (
|
|
1130
|
+
hasEntryModules &&
|
|
1131
|
+
runtimeRequirements.has(RuntimeGlobals.returnExportsFromRuntime)
|
|
1132
|
+
) {
|
|
1133
|
+
source.add(`${prefix}return ${RuntimeGlobals.exports};\n`);
|
|
1134
|
+
}
|
|
1135
|
+
if (iife) {
|
|
1136
|
+
source.add("/******/ })()\n");
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
/** @type {Source} */
|
|
1140
|
+
let finalSource = tryRunOrWebpackError(
|
|
1141
|
+
() => hooks.renderMain.call(source, renderContext),
|
|
1142
|
+
"JavascriptModulesPlugin.getCompilationHooks().renderMain"
|
|
1143
|
+
);
|
|
1144
|
+
if (!finalSource) {
|
|
1145
|
+
throw new Error(
|
|
1146
|
+
"JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something"
|
|
1147
|
+
);
|
|
1148
|
+
}
|
|
1149
|
+
finalSource = tryRunOrWebpackError(
|
|
1150
|
+
() => hooks.renderContent.call(finalSource, renderContext),
|
|
1151
|
+
"JavascriptModulesPlugin.getCompilationHooks().renderContent"
|
|
1152
|
+
);
|
|
1153
|
+
if (!finalSource) {
|
|
1154
|
+
throw new Error(
|
|
1155
|
+
"JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something"
|
|
1156
|
+
);
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
finalSource = InitFragment.addToSource(
|
|
1160
|
+
finalSource,
|
|
1161
|
+
chunkRenderContext.chunkInitFragments,
|
|
1162
|
+
chunkRenderContext
|
|
1163
|
+
);
|
|
1164
|
+
finalSource = tryRunOrWebpackError(
|
|
1165
|
+
() => hooks.render.call(finalSource, renderContext),
|
|
1166
|
+
"JavascriptModulesPlugin.getCompilationHooks().render"
|
|
1167
|
+
);
|
|
1168
|
+
if (!finalSource) {
|
|
1169
|
+
throw new Error(
|
|
1170
|
+
"JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something"
|
|
1171
|
+
);
|
|
1172
|
+
}
|
|
1173
|
+
chunk.rendered = true;
|
|
1174
|
+
return iife ? new ConcatSource(finalSource, ";") : finalSource;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* @param {Hash} hash the hash to be updated
|
|
1179
|
+
* @param {RenderBootstrapContext} renderContext options object
|
|
1180
|
+
* @param {CompilationHooks} hooks hooks
|
|
1181
|
+
*/
|
|
1182
|
+
updateHashWithBootstrap(hash, renderContext, hooks) {
|
|
1183
|
+
const bootstrap = this.renderBootstrap(renderContext, hooks);
|
|
1184
|
+
for (const _k of Object.keys(bootstrap)) {
|
|
1185
|
+
const key = /** @type {keyof Bootstrap} */ (_k);
|
|
1186
|
+
hash.update(key);
|
|
1187
|
+
if (Array.isArray(bootstrap[key])) {
|
|
1188
|
+
for (const line of bootstrap[key]) {
|
|
1189
|
+
hash.update(line);
|
|
1190
|
+
}
|
|
1191
|
+
} else {
|
|
1192
|
+
hash.update(JSON.stringify(bootstrap[key]));
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* @param {RenderBootstrapContext} renderContext options object
|
|
1199
|
+
* @param {CompilationHooks} hooks hooks
|
|
1200
|
+
* @returns {Bootstrap} the generated source of the bootstrap code
|
|
1201
|
+
*/
|
|
1202
|
+
renderBootstrap(renderContext, hooks) {
|
|
1203
|
+
const {
|
|
1204
|
+
chunkGraph,
|
|
1205
|
+
codeGenerationResults,
|
|
1206
|
+
moduleGraph,
|
|
1207
|
+
chunk,
|
|
1208
|
+
runtimeTemplate
|
|
1209
|
+
} = renderContext;
|
|
1210
|
+
|
|
1211
|
+
const runtimeRequirements = chunkGraph.getTreeRuntimeRequirements(chunk);
|
|
1212
|
+
|
|
1213
|
+
const requireFunction = runtimeRequirements.has(RuntimeGlobals.require);
|
|
1214
|
+
const moduleCache = runtimeRequirements.has(RuntimeGlobals.moduleCache);
|
|
1215
|
+
const moduleFactories = runtimeRequirements.has(
|
|
1216
|
+
RuntimeGlobals.moduleFactories
|
|
1217
|
+
);
|
|
1218
|
+
const moduleUsed = runtimeRequirements.has(RuntimeGlobals.module);
|
|
1219
|
+
const requireScopeUsed = runtimeRequirements.has(
|
|
1220
|
+
RuntimeGlobals.requireScope
|
|
1221
|
+
);
|
|
1222
|
+
const interceptModuleExecution = runtimeRequirements.has(
|
|
1223
|
+
RuntimeGlobals.interceptModuleExecution
|
|
1224
|
+
);
|
|
1225
|
+
|
|
1226
|
+
const useRequire =
|
|
1227
|
+
requireFunction || interceptModuleExecution || moduleUsed;
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* @type {{ startup: string[], beforeStartup: string[], header: string[], afterStartup: string[], allowInlineStartup: boolean }}
|
|
1231
|
+
*/
|
|
1232
|
+
const result = {
|
|
1233
|
+
header: [],
|
|
1234
|
+
beforeStartup: [],
|
|
1235
|
+
startup: [],
|
|
1236
|
+
afterStartup: [],
|
|
1237
|
+
allowInlineStartup: true
|
|
1238
|
+
};
|
|
1239
|
+
|
|
1240
|
+
const { header: buf, startup, beforeStartup, afterStartup } = result;
|
|
1241
|
+
|
|
1242
|
+
if (result.allowInlineStartup && moduleFactories) {
|
|
1243
|
+
startup.push(
|
|
1244
|
+
"// module factories are used so entry inlining is disabled"
|
|
1245
|
+
);
|
|
1246
|
+
result.allowInlineStartup = false;
|
|
1247
|
+
}
|
|
1248
|
+
if (result.allowInlineStartup && moduleCache) {
|
|
1249
|
+
startup.push("// module cache are used so entry inlining is disabled");
|
|
1250
|
+
result.allowInlineStartup = false;
|
|
1251
|
+
}
|
|
1252
|
+
if (result.allowInlineStartup && interceptModuleExecution) {
|
|
1253
|
+
startup.push(
|
|
1254
|
+
"// module execution is intercepted so entry inlining is disabled"
|
|
1255
|
+
);
|
|
1256
|
+
result.allowInlineStartup = false;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
if (useRequire || moduleCache) {
|
|
1260
|
+
buf.push("// The module cache");
|
|
1261
|
+
buf.push("var __webpack_module_cache__ = {};");
|
|
1262
|
+
buf.push("");
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
if (runtimeRequirements.has(RuntimeGlobals.makeDeferredNamespaceObject)) {
|
|
1266
|
+
// in order to optimize of DeferredNamespaceObject, we remove all proxy handlers after the module initialize
|
|
1267
|
+
// (see MakeDeferredNamespaceObjectRuntimeModule)
|
|
1268
|
+
// This requires all deferred imports to a module can get the module export object before the module
|
|
1269
|
+
// is evaluated.
|
|
1270
|
+
buf.push("// The deferred module cache");
|
|
1271
|
+
buf.push("var __webpack_module_deferred_exports__ = {};");
|
|
1272
|
+
buf.push("");
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
if (useRequire) {
|
|
1276
|
+
buf.push("// The require function");
|
|
1277
|
+
buf.push(`function ${RuntimeGlobals.require}(moduleId) {`);
|
|
1278
|
+
buf.push(Template.indent(this.renderRequire(renderContext, hooks)));
|
|
1279
|
+
buf.push("}");
|
|
1280
|
+
buf.push("");
|
|
1281
|
+
} else if (runtimeRequirements.has(RuntimeGlobals.requireScope)) {
|
|
1282
|
+
buf.push("// The require scope");
|
|
1283
|
+
buf.push(`var ${RuntimeGlobals.require} = {};`);
|
|
1284
|
+
buf.push("");
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
if (
|
|
1288
|
+
moduleFactories ||
|
|
1289
|
+
runtimeRequirements.has(RuntimeGlobals.moduleFactoriesAddOnly)
|
|
1290
|
+
) {
|
|
1291
|
+
buf.push("// expose the modules object (__webpack_modules__)");
|
|
1292
|
+
buf.push(`${RuntimeGlobals.moduleFactories} = __webpack_modules__;`);
|
|
1293
|
+
buf.push("");
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
if (moduleCache) {
|
|
1297
|
+
buf.push("// expose the module cache");
|
|
1298
|
+
buf.push(`${RuntimeGlobals.moduleCache} = __webpack_module_cache__;`);
|
|
1299
|
+
buf.push("");
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
if (interceptModuleExecution) {
|
|
1303
|
+
buf.push("// expose the module execution interceptor");
|
|
1304
|
+
buf.push(`${RuntimeGlobals.interceptModuleExecution} = [];`);
|
|
1305
|
+
buf.push("");
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
if (!runtimeRequirements.has(RuntimeGlobals.startupNoDefault)) {
|
|
1309
|
+
if (chunkGraph.getNumberOfEntryModules(chunk) > 0) {
|
|
1310
|
+
/** @type {string[]} */
|
|
1311
|
+
const buf2 = [];
|
|
1312
|
+
const runtimeRequirements =
|
|
1313
|
+
chunkGraph.getTreeRuntimeRequirements(chunk);
|
|
1314
|
+
buf2.push("// Load entry module and return exports");
|
|
1315
|
+
let i = chunkGraph.getNumberOfEntryModules(chunk);
|
|
1316
|
+
for (const [
|
|
1317
|
+
entryModule,
|
|
1318
|
+
entrypoint
|
|
1319
|
+
] of chunkGraph.getChunkEntryModulesWithChunkGroupIterable(chunk)) {
|
|
1320
|
+
if (
|
|
1321
|
+
!chunkGraph.getModuleSourceTypes(entryModule).has(JAVASCRIPT_TYPE)
|
|
1322
|
+
) {
|
|
1323
|
+
i--;
|
|
1324
|
+
continue;
|
|
1325
|
+
}
|
|
1326
|
+
const chunks =
|
|
1327
|
+
/** @type {Entrypoint} */
|
|
1328
|
+
(entrypoint).chunks.filter((c) => c !== chunk);
|
|
1329
|
+
if (result.allowInlineStartup && chunks.length > 0) {
|
|
1330
|
+
buf2.push(
|
|
1331
|
+
"// This entry module depends on other loaded chunks and execution need to be delayed"
|
|
1332
|
+
);
|
|
1333
|
+
result.allowInlineStartup = false;
|
|
1334
|
+
}
|
|
1335
|
+
if (
|
|
1336
|
+
result.allowInlineStartup &&
|
|
1337
|
+
someInIterable(
|
|
1338
|
+
moduleGraph.getIncomingConnectionsByOriginModule(entryModule),
|
|
1339
|
+
([originModule, connections]) =>
|
|
1340
|
+
originModule &&
|
|
1341
|
+
connections.some((c) => c.isTargetActive(chunk.runtime)) &&
|
|
1342
|
+
someInIterable(
|
|
1343
|
+
chunkGraph.getModuleRuntimes(originModule),
|
|
1344
|
+
(runtime) =>
|
|
1345
|
+
intersectRuntime(runtime, chunk.runtime) !== undefined
|
|
1346
|
+
)
|
|
1347
|
+
)
|
|
1348
|
+
) {
|
|
1349
|
+
buf2.push(
|
|
1350
|
+
"// This entry module is referenced by other modules so it can't be inlined"
|
|
1351
|
+
);
|
|
1352
|
+
result.allowInlineStartup = false;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
/** @type {undefined | CodeGenerationResultData} */
|
|
1356
|
+
let data;
|
|
1357
|
+
if (codeGenerationResults.has(entryModule, chunk.runtime)) {
|
|
1358
|
+
const result = codeGenerationResults.get(
|
|
1359
|
+
entryModule,
|
|
1360
|
+
chunk.runtime
|
|
1361
|
+
);
|
|
1362
|
+
data = result.data;
|
|
1363
|
+
}
|
|
1364
|
+
if (
|
|
1365
|
+
result.allowInlineStartup &&
|
|
1366
|
+
(!data || !data.get("topLevelDeclarations")) &&
|
|
1367
|
+
(!entryModule.buildInfo ||
|
|
1368
|
+
!entryModule.buildInfo.topLevelDeclarations)
|
|
1369
|
+
) {
|
|
1370
|
+
buf2.push(
|
|
1371
|
+
"// This entry module doesn't tell about it's top-level declarations so it can't be inlined"
|
|
1372
|
+
);
|
|
1373
|
+
result.allowInlineStartup = false;
|
|
1374
|
+
}
|
|
1375
|
+
if (result.allowInlineStartup) {
|
|
1376
|
+
const bailout = hooks.inlineInRuntimeBailout.call(
|
|
1377
|
+
entryModule,
|
|
1378
|
+
renderContext
|
|
1379
|
+
);
|
|
1380
|
+
if (bailout !== undefined) {
|
|
1381
|
+
buf2.push(
|
|
1382
|
+
`// This entry module can't be inlined because ${bailout}`
|
|
1383
|
+
);
|
|
1384
|
+
result.allowInlineStartup = false;
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
i--;
|
|
1388
|
+
const moduleId = chunkGraph.getModuleId(entryModule);
|
|
1389
|
+
const entryRuntimeRequirements =
|
|
1390
|
+
chunkGraph.getModuleRuntimeRequirements(entryModule, chunk.runtime);
|
|
1391
|
+
let moduleIdExpr = JSON.stringify(moduleId);
|
|
1392
|
+
if (runtimeRequirements.has(RuntimeGlobals.entryModuleId)) {
|
|
1393
|
+
moduleIdExpr = `${RuntimeGlobals.entryModuleId} = ${moduleIdExpr}`;
|
|
1394
|
+
}
|
|
1395
|
+
if (
|
|
1396
|
+
result.allowInlineStartup &&
|
|
1397
|
+
entryRuntimeRequirements.has(RuntimeGlobals.module)
|
|
1398
|
+
) {
|
|
1399
|
+
result.allowInlineStartup = false;
|
|
1400
|
+
buf2.push(
|
|
1401
|
+
"// This entry module used 'module' so it can't be inlined"
|
|
1402
|
+
);
|
|
1403
|
+
}
|
|
1404
|
+
if (
|
|
1405
|
+
result.allowInlineStartup &&
|
|
1406
|
+
entryRuntimeRequirements.has(RuntimeGlobals.thisAsExports)
|
|
1407
|
+
) {
|
|
1408
|
+
buf2.push(
|
|
1409
|
+
"// This entry module used `this` as exports so it can't be inlined"
|
|
1410
|
+
);
|
|
1411
|
+
result.allowInlineStartup = false;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
if (chunks.length > 0) {
|
|
1415
|
+
buf2.push(
|
|
1416
|
+
`${i === 0 ? `var ${RuntimeGlobals.exports} = ` : ""}${
|
|
1417
|
+
RuntimeGlobals.onChunksLoaded
|
|
1418
|
+
}(undefined, ${JSON.stringify(
|
|
1419
|
+
chunks.map((c) => c.id)
|
|
1420
|
+
)}, ${runtimeTemplate.returningFunction(
|
|
1421
|
+
`${RuntimeGlobals.require}(${moduleIdExpr})`
|
|
1422
|
+
)})`
|
|
1423
|
+
);
|
|
1424
|
+
} else if (useRequire) {
|
|
1425
|
+
buf2.push(
|
|
1426
|
+
`${i === 0 ? `var ${RuntimeGlobals.exports} = ` : ""}${
|
|
1427
|
+
RuntimeGlobals.require
|
|
1428
|
+
}(${moduleIdExpr});`
|
|
1429
|
+
);
|
|
1430
|
+
} else {
|
|
1431
|
+
if (i === 0) buf2.push(`var ${RuntimeGlobals.exports} = {};`);
|
|
1432
|
+
const needThisAsExports = entryRuntimeRequirements.has(
|
|
1433
|
+
RuntimeGlobals.thisAsExports
|
|
1434
|
+
);
|
|
1435
|
+
|
|
1436
|
+
/** @type {string[]} */
|
|
1437
|
+
const args = [];
|
|
1438
|
+
if (
|
|
1439
|
+
requireScopeUsed ||
|
|
1440
|
+
entryRuntimeRequirements.has(RuntimeGlobals.exports)
|
|
1441
|
+
) {
|
|
1442
|
+
const exportsArg = i === 0 ? RuntimeGlobals.exports : "{}";
|
|
1443
|
+
args.push("0", exportsArg);
|
|
1444
|
+
if (requireScopeUsed) {
|
|
1445
|
+
args.push(RuntimeGlobals.require);
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
buf2.push(
|
|
1449
|
+
Template.asString(
|
|
1450
|
+
(() => {
|
|
1451
|
+
if (needThisAsExports) {
|
|
1452
|
+
const comma = args.length ? "," : "";
|
|
1453
|
+
return `__webpack_modules__[${moduleIdExpr}].call(${RuntimeGlobals.exports}${comma}${args.join(",")});`;
|
|
1454
|
+
}
|
|
1455
|
+
return `__webpack_modules__[${moduleIdExpr}](${args.join(",")});`;
|
|
1456
|
+
})()
|
|
1457
|
+
)
|
|
1458
|
+
);
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
if (runtimeRequirements.has(RuntimeGlobals.onChunksLoaded)) {
|
|
1462
|
+
buf2.push(
|
|
1463
|
+
`${RuntimeGlobals.exports} = ${RuntimeGlobals.onChunksLoaded}(${RuntimeGlobals.exports});`
|
|
1464
|
+
);
|
|
1465
|
+
}
|
|
1466
|
+
if (
|
|
1467
|
+
runtimeRequirements.has(RuntimeGlobals.startup) ||
|
|
1468
|
+
(runtimeRequirements.has(RuntimeGlobals.startupOnlyBefore) &&
|
|
1469
|
+
runtimeRequirements.has(RuntimeGlobals.startupOnlyAfter))
|
|
1470
|
+
) {
|
|
1471
|
+
result.allowInlineStartup = false;
|
|
1472
|
+
buf.push("// the startup function");
|
|
1473
|
+
buf.push(
|
|
1474
|
+
`${RuntimeGlobals.startup} = ${runtimeTemplate.basicFunction("", [
|
|
1475
|
+
...buf2,
|
|
1476
|
+
`return ${RuntimeGlobals.exports};`
|
|
1477
|
+
])};`
|
|
1478
|
+
);
|
|
1479
|
+
buf.push("");
|
|
1480
|
+
startup.push("// run startup");
|
|
1481
|
+
startup.push(
|
|
1482
|
+
`var ${RuntimeGlobals.exports} = ${RuntimeGlobals.startup}();`
|
|
1483
|
+
);
|
|
1484
|
+
} else if (runtimeRequirements.has(RuntimeGlobals.startupOnlyBefore)) {
|
|
1485
|
+
buf.push("// the startup function");
|
|
1486
|
+
buf.push(
|
|
1487
|
+
`${RuntimeGlobals.startup} = ${runtimeTemplate.emptyFunction()};`
|
|
1488
|
+
);
|
|
1489
|
+
beforeStartup.push("// run runtime startup");
|
|
1490
|
+
beforeStartup.push(`${RuntimeGlobals.startup}();`);
|
|
1491
|
+
startup.push("// startup");
|
|
1492
|
+
startup.push(Template.asString(buf2));
|
|
1493
|
+
} else if (runtimeRequirements.has(RuntimeGlobals.startupOnlyAfter)) {
|
|
1494
|
+
buf.push("// the startup function");
|
|
1495
|
+
buf.push(
|
|
1496
|
+
`${RuntimeGlobals.startup} = ${runtimeTemplate.emptyFunction()};`
|
|
1497
|
+
);
|
|
1498
|
+
startup.push("// startup");
|
|
1499
|
+
startup.push(Template.asString(buf2));
|
|
1500
|
+
afterStartup.push("// run runtime startup");
|
|
1501
|
+
afterStartup.push(`${RuntimeGlobals.startup}();`);
|
|
1502
|
+
} else {
|
|
1503
|
+
startup.push("// startup");
|
|
1504
|
+
startup.push(Template.asString(buf2));
|
|
1505
|
+
}
|
|
1506
|
+
} else if (
|
|
1507
|
+
runtimeRequirements.has(RuntimeGlobals.startup) ||
|
|
1508
|
+
runtimeRequirements.has(RuntimeGlobals.startupOnlyBefore) ||
|
|
1509
|
+
runtimeRequirements.has(RuntimeGlobals.startupOnlyAfter)
|
|
1510
|
+
) {
|
|
1511
|
+
buf.push(
|
|
1512
|
+
"// the startup function",
|
|
1513
|
+
"// It's empty as no entry modules are in this chunk",
|
|
1514
|
+
`${RuntimeGlobals.startup} = ${runtimeTemplate.emptyFunction()};`,
|
|
1515
|
+
""
|
|
1516
|
+
);
|
|
1517
|
+
}
|
|
1518
|
+
} else if (
|
|
1519
|
+
runtimeRequirements.has(RuntimeGlobals.startup) ||
|
|
1520
|
+
runtimeRequirements.has(RuntimeGlobals.startupOnlyBefore) ||
|
|
1521
|
+
runtimeRequirements.has(RuntimeGlobals.startupOnlyAfter)
|
|
1522
|
+
) {
|
|
1523
|
+
result.allowInlineStartup = false;
|
|
1524
|
+
buf.push(
|
|
1525
|
+
"// the startup function",
|
|
1526
|
+
"// It's empty as some runtime module handles the default behavior",
|
|
1527
|
+
`${RuntimeGlobals.startup} = ${runtimeTemplate.emptyFunction()};`
|
|
1528
|
+
);
|
|
1529
|
+
startup.push("// run startup");
|
|
1530
|
+
startup.push(
|
|
1531
|
+
`var ${RuntimeGlobals.exports} = ${RuntimeGlobals.startup}();`
|
|
1532
|
+
);
|
|
1533
|
+
}
|
|
1534
|
+
return result;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* @param {RenderBootstrapContext} renderContext options object
|
|
1539
|
+
* @param {CompilationHooks} hooks hooks
|
|
1540
|
+
* @returns {string} the generated source of the require function
|
|
1541
|
+
*/
|
|
1542
|
+
renderRequire(renderContext, hooks) {
|
|
1543
|
+
const {
|
|
1544
|
+
chunk,
|
|
1545
|
+
chunkGraph,
|
|
1546
|
+
runtimeTemplate: { outputOptions }
|
|
1547
|
+
} = renderContext;
|
|
1548
|
+
const runtimeRequirements = chunkGraph.getTreeRuntimeRequirements(chunk);
|
|
1549
|
+
const moduleExecution = runtimeRequirements.has(
|
|
1550
|
+
RuntimeGlobals.interceptModuleExecution
|
|
1551
|
+
)
|
|
1552
|
+
? Template.asString([
|
|
1553
|
+
`var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: ${RuntimeGlobals.require} };`,
|
|
1554
|
+
`${RuntimeGlobals.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,
|
|
1555
|
+
"module = execOptions.module;",
|
|
1556
|
+
"execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"
|
|
1557
|
+
])
|
|
1558
|
+
: runtimeRequirements.has(RuntimeGlobals.thisAsExports)
|
|
1559
|
+
? Template.asString([
|
|
1560
|
+
`__webpack_modules__[moduleId].call(module.exports, module, module.exports, ${RuntimeGlobals.require});`
|
|
1561
|
+
])
|
|
1562
|
+
: Template.asString([
|
|
1563
|
+
`__webpack_modules__[moduleId](module, module.exports, ${RuntimeGlobals.require});`
|
|
1564
|
+
]);
|
|
1565
|
+
const needModuleId = runtimeRequirements.has(RuntimeGlobals.moduleId);
|
|
1566
|
+
const needModuleLoaded = runtimeRequirements.has(
|
|
1567
|
+
RuntimeGlobals.moduleLoaded
|
|
1568
|
+
);
|
|
1569
|
+
const needModuleDefer = runtimeRequirements.has(
|
|
1570
|
+
RuntimeGlobals.makeDeferredNamespaceObject
|
|
1571
|
+
);
|
|
1572
|
+
const content = Template.asString([
|
|
1573
|
+
"// Check if module is in cache",
|
|
1574
|
+
"var cachedModule = __webpack_module_cache__[moduleId];",
|
|
1575
|
+
"if (cachedModule !== undefined) {",
|
|
1576
|
+
outputOptions.strictModuleErrorHandling
|
|
1577
|
+
? Template.indent([
|
|
1578
|
+
"if (cachedModule.error !== undefined) throw cachedModule.error;",
|
|
1579
|
+
"return cachedModule.exports;"
|
|
1580
|
+
])
|
|
1581
|
+
: Template.indent("return cachedModule.exports;"),
|
|
1582
|
+
"}",
|
|
1583
|
+
// Add helpful error message in development mode when module is not found
|
|
1584
|
+
...(outputOptions.pathinfo
|
|
1585
|
+
? [
|
|
1586
|
+
"// Check if module exists (development only)",
|
|
1587
|
+
"if (__webpack_modules__[moduleId] === undefined) {",
|
|
1588
|
+
Template.indent([
|
|
1589
|
+
'var e = new Error("Cannot find module \'" + moduleId + "\'");',
|
|
1590
|
+
"e.code = 'MODULE_NOT_FOUND';",
|
|
1591
|
+
"throw e;"
|
|
1592
|
+
]),
|
|
1593
|
+
"}"
|
|
1594
|
+
]
|
|
1595
|
+
: []),
|
|
1596
|
+
"// Create a new module (and put it into the cache)",
|
|
1597
|
+
"var module = __webpack_module_cache__[moduleId] = {",
|
|
1598
|
+
Template.indent([
|
|
1599
|
+
needModuleId ? "id: moduleId," : "// no module.id needed",
|
|
1600
|
+
needModuleLoaded ? "loaded: false," : "// no module.loaded needed",
|
|
1601
|
+
needModuleDefer
|
|
1602
|
+
? "exports: __webpack_module_deferred_exports__[moduleId] || {}"
|
|
1603
|
+
: "exports: {}"
|
|
1604
|
+
]),
|
|
1605
|
+
"};",
|
|
1606
|
+
"",
|
|
1607
|
+
outputOptions.strictModuleExceptionHandling
|
|
1608
|
+
? Template.asString([
|
|
1609
|
+
"// Execute the module function",
|
|
1610
|
+
"var threw = true;",
|
|
1611
|
+
"try {",
|
|
1612
|
+
Template.indent([
|
|
1613
|
+
moduleExecution,
|
|
1614
|
+
"threw = false;",
|
|
1615
|
+
...(needModuleDefer
|
|
1616
|
+
? ["delete __webpack_module_deferred_exports__[moduleId];"]
|
|
1617
|
+
: [])
|
|
1618
|
+
]),
|
|
1619
|
+
"} finally {",
|
|
1620
|
+
Template.indent([
|
|
1621
|
+
"if(threw) delete __webpack_module_cache__[moduleId];"
|
|
1622
|
+
]),
|
|
1623
|
+
"}"
|
|
1624
|
+
])
|
|
1625
|
+
: outputOptions.strictModuleErrorHandling
|
|
1626
|
+
? Template.asString([
|
|
1627
|
+
"// Execute the module function",
|
|
1628
|
+
"try {",
|
|
1629
|
+
Template.indent(
|
|
1630
|
+
needModuleDefer
|
|
1631
|
+
? [
|
|
1632
|
+
moduleExecution,
|
|
1633
|
+
"delete __webpack_module_deferred_exports__[moduleId];"
|
|
1634
|
+
]
|
|
1635
|
+
: moduleExecution
|
|
1636
|
+
),
|
|
1637
|
+
"} catch(e) {",
|
|
1638
|
+
Template.indent(["module.error = e;", "throw e;"]),
|
|
1639
|
+
"}"
|
|
1640
|
+
])
|
|
1641
|
+
: Template.asString([
|
|
1642
|
+
"// Execute the module function",
|
|
1643
|
+
moduleExecution,
|
|
1644
|
+
...(needModuleDefer
|
|
1645
|
+
? ["delete __webpack_module_deferred_exports__[moduleId];"]
|
|
1646
|
+
: [])
|
|
1647
|
+
]),
|
|
1648
|
+
needModuleLoaded
|
|
1649
|
+
? Template.asString([
|
|
1650
|
+
"",
|
|
1651
|
+
"// Flag the module as loaded",
|
|
1652
|
+
`${RuntimeGlobals.moduleLoaded} = true;`,
|
|
1653
|
+
""
|
|
1654
|
+
])
|
|
1655
|
+
: "",
|
|
1656
|
+
"// Return the exports of the module",
|
|
1657
|
+
"return module.exports;"
|
|
1658
|
+
]);
|
|
1659
|
+
return tryRunOrWebpackError(
|
|
1660
|
+
() => hooks.renderRequire.call(content, renderContext),
|
|
1661
|
+
"JavascriptModulesPlugin.getCompilationHooks().renderRequire"
|
|
1662
|
+
);
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* @param {Compilation} compilation compilation
|
|
1667
|
+
* @param {Module[]} allModules allModules
|
|
1668
|
+
* @param {MainRenderContext} renderContext renderContext
|
|
1669
|
+
* @param {Set<Module>} inlinedModules inlinedModules
|
|
1670
|
+
* @param {ChunkRenderContext} chunkRenderContext chunkRenderContext
|
|
1671
|
+
* @param {CompilationHooks} hooks hooks
|
|
1672
|
+
* @param {boolean | undefined} allStrict allStrict
|
|
1673
|
+
* @param {boolean} hasChunkModules hasChunkModules
|
|
1674
|
+
* @returns {Map<Module, Source> | false} renamed inlined modules
|
|
1675
|
+
*/
|
|
1676
|
+
_getRenamedInlineModule(
|
|
1677
|
+
compilation,
|
|
1678
|
+
allModules,
|
|
1679
|
+
renderContext,
|
|
1680
|
+
inlinedModules,
|
|
1681
|
+
chunkRenderContext,
|
|
1682
|
+
hooks,
|
|
1683
|
+
allStrict,
|
|
1684
|
+
hasChunkModules
|
|
1685
|
+
) {
|
|
1686
|
+
const innerStrict =
|
|
1687
|
+
!allStrict &&
|
|
1688
|
+
allModules.every((m) => /** @type {BuildInfo} */ (m.buildInfo).strict);
|
|
1689
|
+
const isMultipleEntries = inlinedModules.size > 1;
|
|
1690
|
+
const singleEntryWithModules = inlinedModules.size === 1 && hasChunkModules;
|
|
1691
|
+
// TODO:
|
|
1692
|
+
// This step is before the IIFE reason calculation. Ideally, it should only be executed when this function can optimize the
|
|
1693
|
+
// IIFE reason. Otherwise, it should directly return false. There are four reasons now, we have skipped two already, the left
|
|
1694
|
+
// one is 'it uses a non-standard name for the exports'.
|
|
1695
|
+
if (isMultipleEntries || innerStrict || !singleEntryWithModules) {
|
|
1696
|
+
return false;
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
/** @type {Map<Module, Source>} */
|
|
1700
|
+
const renamedInlinedModules = new Map();
|
|
1701
|
+
const { runtimeTemplate } = renderContext;
|
|
1702
|
+
|
|
1703
|
+
/** @typedef {{ source: Source, module: Module, ast: Program, variables: Set<Variable>, through: Set<Reference>, usedInNonInlined: Set<Variable>, moduleScope: Scope }} Info */
|
|
1704
|
+
/** @type {Map<Module, Info>} */
|
|
1705
|
+
const inlinedModulesToInfo = new Map();
|
|
1706
|
+
/** @type {Set<string>} */
|
|
1707
|
+
const nonInlinedModuleThroughIdentifiers = new Set();
|
|
1708
|
+
|
|
1709
|
+
for (const m of allModules) {
|
|
1710
|
+
const isInlinedModule = inlinedModules && inlinedModules.has(m);
|
|
1711
|
+
const moduleSource = this.renderModule(
|
|
1712
|
+
m,
|
|
1713
|
+
{
|
|
1714
|
+
...chunkRenderContext,
|
|
1715
|
+
factory: !isInlinedModule,
|
|
1716
|
+
inlinedInIIFE: false
|
|
1717
|
+
},
|
|
1718
|
+
hooks
|
|
1719
|
+
);
|
|
1720
|
+
|
|
1721
|
+
if (!moduleSource) continue;
|
|
1722
|
+
const code = /** @type {string} */ (moduleSource.source());
|
|
1723
|
+
|
|
1724
|
+
const { ast } = JavascriptParser._parse(
|
|
1725
|
+
code,
|
|
1726
|
+
{
|
|
1727
|
+
sourceType: "auto",
|
|
1728
|
+
ranges: true
|
|
1729
|
+
},
|
|
1730
|
+
JavascriptParser._getModuleParseFunction(compilation, m)
|
|
1731
|
+
);
|
|
1732
|
+
|
|
1733
|
+
const scopeManager = eslintScope.analyze(ast, {
|
|
1734
|
+
ecmaVersion: 6,
|
|
1735
|
+
sourceType: "module",
|
|
1736
|
+
optimistic: true,
|
|
1737
|
+
ignoreEval: true
|
|
1738
|
+
});
|
|
1739
|
+
|
|
1740
|
+
const globalScope = /** @type {Scope} */ (scopeManager.acquire(ast));
|
|
1741
|
+
if (inlinedModules && inlinedModules.has(m)) {
|
|
1742
|
+
const moduleScope = globalScope.childScopes[0];
|
|
1743
|
+
inlinedModulesToInfo.set(m, {
|
|
1744
|
+
source: moduleSource,
|
|
1745
|
+
ast,
|
|
1746
|
+
module: m,
|
|
1747
|
+
variables: new Set(moduleScope.variables),
|
|
1748
|
+
through: new Set(moduleScope.through),
|
|
1749
|
+
usedInNonInlined: new Set(),
|
|
1750
|
+
moduleScope
|
|
1751
|
+
});
|
|
1752
|
+
} else {
|
|
1753
|
+
for (const ref of globalScope.through) {
|
|
1754
|
+
nonInlinedModuleThroughIdentifiers.add(ref.identifier.name);
|
|
1755
|
+
}
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
for (const [, { variables, usedInNonInlined }] of inlinedModulesToInfo) {
|
|
1760
|
+
for (const variable of variables) {
|
|
1761
|
+
if (
|
|
1762
|
+
nonInlinedModuleThroughIdentifiers.has(variable.name) ||
|
|
1763
|
+
RESERVED_NAMES.has(variable.name)
|
|
1764
|
+
) {
|
|
1765
|
+
usedInNonInlined.add(variable);
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
for (const [m, moduleInfo] of inlinedModulesToInfo) {
|
|
1771
|
+
const { ast, source: _source, usedInNonInlined } = moduleInfo;
|
|
1772
|
+
const source = new ReplaceSource(_source);
|
|
1773
|
+
if (usedInNonInlined.size === 0) {
|
|
1774
|
+
renamedInlinedModules.set(m, source);
|
|
1775
|
+
continue;
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
const info = /** @type {Info} */ (inlinedModulesToInfo.get(m));
|
|
1779
|
+
const allUsedNames = new Set(
|
|
1780
|
+
Array.from(info.through, (v) => v.identifier.name)
|
|
1781
|
+
);
|
|
1782
|
+
|
|
1783
|
+
for (const variable of usedInNonInlined) {
|
|
1784
|
+
allUsedNames.add(variable.name);
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
for (const variable of info.variables) {
|
|
1788
|
+
/** @type {UsedNamesInScopeInfo} */
|
|
1789
|
+
const usedNamesInScopeInfo = new Map();
|
|
1790
|
+
/** @type {ScopeSet} */
|
|
1791
|
+
const ignoredScopes = new Set();
|
|
1792
|
+
|
|
1793
|
+
const name = variable.name;
|
|
1794
|
+
const { usedNames, alreadyCheckedScopes } = getUsedNamesInScopeInfo(
|
|
1795
|
+
usedNamesInScopeInfo,
|
|
1796
|
+
info.module.identifier(),
|
|
1797
|
+
name
|
|
1798
|
+
);
|
|
1799
|
+
|
|
1800
|
+
if (allUsedNames.has(name) || usedNames.has(name)) {
|
|
1801
|
+
const references = getAllReferences(variable);
|
|
1802
|
+
const allIdentifiers = new Set([
|
|
1803
|
+
...references.map((r) => r.identifier),
|
|
1804
|
+
...variable.identifiers
|
|
1805
|
+
]);
|
|
1806
|
+
for (const ref of references) {
|
|
1807
|
+
addScopeSymbols(
|
|
1808
|
+
ref.from,
|
|
1809
|
+
usedNames,
|
|
1810
|
+
alreadyCheckedScopes,
|
|
1811
|
+
ignoredScopes
|
|
1812
|
+
);
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
const newName = findNewName(
|
|
1816
|
+
variable.name,
|
|
1817
|
+
allUsedNames,
|
|
1818
|
+
usedNames,
|
|
1819
|
+
m.readableIdentifier(runtimeTemplate.requestShortener)
|
|
1820
|
+
);
|
|
1821
|
+
allUsedNames.add(newName);
|
|
1822
|
+
for (const identifier of allIdentifiers) {
|
|
1823
|
+
const r = /** @type {Range} */ (identifier.range);
|
|
1824
|
+
const path = getPathInAst(ast, identifier);
|
|
1825
|
+
if (path && path.length > 1) {
|
|
1826
|
+
const maybeProperty =
|
|
1827
|
+
path[1].type === "AssignmentPattern" && path[1].left === path[0]
|
|
1828
|
+
? path[2]
|
|
1829
|
+
: path[1];
|
|
1830
|
+
if (
|
|
1831
|
+
maybeProperty.type === "Property" &&
|
|
1832
|
+
maybeProperty.shorthand
|
|
1833
|
+
) {
|
|
1834
|
+
source.insert(r[1], `: ${newName}`);
|
|
1835
|
+
continue;
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
source.replace(r[0], r[1] - 1, newName);
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
allUsedNames.add(name);
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
renamedInlinedModules.set(m, source);
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
return renamedInlinedModules;
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
module.exports = JavascriptModulesPlugin;
|
|
1852
|
+
module.exports.chunkHasJs = chunkHasJs;
|