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,2621 @@
|
|
|
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 CommentCompilationWarning = require("../CommentCompilationWarning");
|
|
10
|
+
const CssModule = require("../CssModule");
|
|
11
|
+
const ModuleDependencyWarning = require("../ModuleDependencyWarning");
|
|
12
|
+
const { CSS_MODULE_TYPE_AUTO } = require("../ModuleTypeConstants");
|
|
13
|
+
const Parser = require("../Parser");
|
|
14
|
+
const UnsupportedFeatureWarning = require("../UnsupportedFeatureWarning");
|
|
15
|
+
const WebpackError = require("../WebpackError");
|
|
16
|
+
const ConstDependency = require("../dependencies/ConstDependency");
|
|
17
|
+
const CssIcssExportDependency = require("../dependencies/CssIcssExportDependency");
|
|
18
|
+
const CssIcssImportDependency = require("../dependencies/CssIcssImportDependency");
|
|
19
|
+
const CssIcssSymbolDependency = require("../dependencies/CssIcssSymbolDependency");
|
|
20
|
+
const CssImportDependency = require("../dependencies/CssImportDependency");
|
|
21
|
+
const CssUrlDependency = require("../dependencies/CssUrlDependency");
|
|
22
|
+
const StaticExportsDependency = require("../dependencies/StaticExportsDependency");
|
|
23
|
+
const binarySearchBounds = require("../util/binarySearchBounds");
|
|
24
|
+
const { parseResource } = require("../util/identifier");
|
|
25
|
+
const {
|
|
26
|
+
createMagicCommentContext,
|
|
27
|
+
webpackCommentRegExp
|
|
28
|
+
} = require("../util/magicComment");
|
|
29
|
+
const walkCssTokens = require("./walkCssTokens");
|
|
30
|
+
|
|
31
|
+
/** @typedef {import("../Module").BuildInfo} BuildInfo */
|
|
32
|
+
/** @typedef {import("../Module").BuildMeta} BuildMeta */
|
|
33
|
+
/** @typedef {import("../Parser").ParserState} ParserState */
|
|
34
|
+
/** @typedef {import("../Parser").PreparsedAst} PreparsedAst */
|
|
35
|
+
/** @typedef {import("./walkCssTokens").CssTokenCallbacks} CssTokenCallbacks */
|
|
36
|
+
/** @typedef {import("../../declarations/WebpackOptions").CssModuleParserOptions} CssModuleParserOptions */
|
|
37
|
+
|
|
38
|
+
/** @typedef {[number, number]} Range */
|
|
39
|
+
/** @typedef {{ line: number, column: number }} Position */
|
|
40
|
+
/** @typedef {{ value: string, range: Range, loc: { start: Position, end: Position } }} Comment */
|
|
41
|
+
|
|
42
|
+
const CC_COLON = ":".charCodeAt(0);
|
|
43
|
+
const CC_SEMICOLON = ";".charCodeAt(0);
|
|
44
|
+
const CC_COMMA = ",".charCodeAt(0);
|
|
45
|
+
const CC_LEFT_PARENTHESIS = "(".charCodeAt(0);
|
|
46
|
+
const CC_RIGHT_PARENTHESIS = ")".charCodeAt(0);
|
|
47
|
+
const CC_LOWER_F = "f".charCodeAt(0);
|
|
48
|
+
const CC_UPPER_F = "F".charCodeAt(0);
|
|
49
|
+
const CC_RIGHT_CURLY = "}".charCodeAt(0);
|
|
50
|
+
const CC_HYPHEN_MINUS = "-".charCodeAt(0);
|
|
51
|
+
const CC_TILDE = "~".charCodeAt(0);
|
|
52
|
+
const CC_EQUAL = "=".charCodeAt(0);
|
|
53
|
+
|
|
54
|
+
// https://www.w3.org/TR/css-syntax-3/#newline
|
|
55
|
+
// We don't have `preprocessing` stage, so we need specify all of them
|
|
56
|
+
const STRING_MULTILINE = /\\[\n\r\f]/g;
|
|
57
|
+
// https://www.w3.org/TR/css-syntax-3/#whitespace
|
|
58
|
+
const TRIM_WHITE_SPACES = /(^[ \t\n\r\f]*|[ \t\n\r\f]*$)/g;
|
|
59
|
+
const UNESCAPE = /\\([0-9a-f]{1,6}[ \t\n\r\f]?|[\s\S])/gi;
|
|
60
|
+
const IMAGE_SET_FUNCTION = /^(?:-\w+-)?image-set$/i;
|
|
61
|
+
const OPTIONALLY_VENDOR_PREFIXED_KEYFRAMES_AT_RULE = /^@(?:-\w+-)?keyframes$/;
|
|
62
|
+
const COMPOSES_PROPERTY = /^(?:composes|compose-with)$/i;
|
|
63
|
+
const IS_MODULES = /\.modules?\.[^.]+$/i;
|
|
64
|
+
const CSS_COMMENT = /\/\*((?!\*\/).*?)\*\//g;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @param {RegExp} regexp a regexp
|
|
68
|
+
* @param {string} str a string
|
|
69
|
+
* @returns {RegExpExecArray[]} matches
|
|
70
|
+
*/
|
|
71
|
+
const matchAll = (regexp, str) => {
|
|
72
|
+
/** @type {RegExpExecArray[]} */
|
|
73
|
+
const result = [];
|
|
74
|
+
|
|
75
|
+
/** @type {null | RegExpExecArray} */
|
|
76
|
+
let match;
|
|
77
|
+
|
|
78
|
+
// Use a while loop with exec() to find all matches
|
|
79
|
+
while ((match = regexp.exec(str)) !== null) {
|
|
80
|
+
result.push(match);
|
|
81
|
+
}
|
|
82
|
+
// Return an array to be easily iterable (note: a true spec-compliant polyfill
|
|
83
|
+
// returns an iterator object, but an array spread often suffices for basic use)
|
|
84
|
+
return result;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @param {string} str url string
|
|
89
|
+
* @param {boolean} isString is url wrapped in quotes
|
|
90
|
+
* @returns {string} normalized url
|
|
91
|
+
*/
|
|
92
|
+
const normalizeUrl = (str, isString) => {
|
|
93
|
+
// Remove extra spaces and newlines:
|
|
94
|
+
// `url("im\
|
|
95
|
+
// g.png")`
|
|
96
|
+
if (isString) {
|
|
97
|
+
str = str.replace(STRING_MULTILINE, "");
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
str = str
|
|
101
|
+
// Remove unnecessary spaces from `url(" img.png ")`
|
|
102
|
+
.replace(TRIM_WHITE_SPACES, "")
|
|
103
|
+
// Unescape
|
|
104
|
+
.replace(UNESCAPE, (match) => {
|
|
105
|
+
if (match.length > 2) {
|
|
106
|
+
return String.fromCharCode(Number.parseInt(match.slice(1).trim(), 16));
|
|
107
|
+
}
|
|
108
|
+
return match[1];
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
if (/^data:/i.test(str)) {
|
|
112
|
+
return str;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
if (str.includes("%")) {
|
|
116
|
+
// Convert `url('%2E/img.png')` -> `url('./img.png')`
|
|
117
|
+
try {
|
|
118
|
+
str = decodeURIComponent(str);
|
|
119
|
+
} catch (_err) {
|
|
120
|
+
// Ignore
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
return str;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
const regexSingleEscape = /[ -,./:-@[\]^`{-~]/;
|
|
128
|
+
const regexExcessiveSpaces =
|
|
129
|
+
/(^|\\+)?(\\[A-F0-9]{1,6})\u0020(?![a-fA-F0-9\u0020])/g;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @param {string} str string
|
|
133
|
+
* @returns {string} escaped identifier
|
|
134
|
+
*/
|
|
135
|
+
const escapeIdentifier = (str) => {
|
|
136
|
+
let output = "";
|
|
137
|
+
let counter = 0;
|
|
138
|
+
|
|
139
|
+
while (counter < str.length) {
|
|
140
|
+
const character = str.charAt(counter++);
|
|
141
|
+
|
|
142
|
+
/** @type {string} */
|
|
143
|
+
let value;
|
|
144
|
+
|
|
145
|
+
if (/[\t\n\f\r\v]/.test(character)) {
|
|
146
|
+
const codePoint = character.charCodeAt(0);
|
|
147
|
+
|
|
148
|
+
value = `\\${codePoint.toString(16).toUpperCase()} `;
|
|
149
|
+
} else if (character === "\\" || regexSingleEscape.test(character)) {
|
|
150
|
+
value = `\\${character}`;
|
|
151
|
+
} else {
|
|
152
|
+
value = character;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
output += value;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
const firstChar = str.charAt(0);
|
|
159
|
+
|
|
160
|
+
if (/^-[-\d]/.test(output)) {
|
|
161
|
+
output = `\\-${output.slice(1)}`;
|
|
162
|
+
} else if (/\d/.test(firstChar)) {
|
|
163
|
+
output = `\\3${firstChar} ${output.slice(1)}`;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// Remove spaces after `\HEX` escapes that are not followed by a hex digit,
|
|
167
|
+
// since they’re redundant. Note that this is only possible if the escape
|
|
168
|
+
// sequence isn’t preceded by an odd number of backslashes.
|
|
169
|
+
output = output.replace(regexExcessiveSpaces, ($0, $1, $2) => {
|
|
170
|
+
if ($1 && $1.length % 2) {
|
|
171
|
+
// It’s not safe to remove the space, so don’t.
|
|
172
|
+
return $0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// Strip the space.
|
|
176
|
+
return ($1 || "") + $2;
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
return output;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
const CONTAINS_ESCAPE = /\\/;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @param {string} str string
|
|
186
|
+
* @returns {[string, number] | undefined} hex
|
|
187
|
+
*/
|
|
188
|
+
const gobbleHex = (str) => {
|
|
189
|
+
const lower = str.toLowerCase();
|
|
190
|
+
let hex = "";
|
|
191
|
+
let spaceTerminated = false;
|
|
192
|
+
|
|
193
|
+
for (let i = 0; i < 6 && lower[i] !== undefined; i++) {
|
|
194
|
+
const code = lower.charCodeAt(i);
|
|
195
|
+
// check to see if we are dealing with a valid hex char [a-f|0-9]
|
|
196
|
+
const valid = (code >= 97 && code <= 102) || (code >= 48 && code <= 57);
|
|
197
|
+
// https://drafts.csswg.org/css-syntax/#consume-escaped-code-point
|
|
198
|
+
spaceTerminated = code === 32;
|
|
199
|
+
if (!valid) break;
|
|
200
|
+
hex += lower[i];
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
if (hex.length === 0) return undefined;
|
|
204
|
+
|
|
205
|
+
const codePoint = Number.parseInt(hex, 16);
|
|
206
|
+
const isSurrogate = codePoint >= 0xd800 && codePoint <= 0xdfff;
|
|
207
|
+
|
|
208
|
+
// Add special case for
|
|
209
|
+
// "If this number is zero, or is for a surrogate, or is greater than the maximum allowed code point"
|
|
210
|
+
// https://drafts.csswg.org/css-syntax/#maximum-allowed-code-point
|
|
211
|
+
if (isSurrogate || codePoint === 0x0000 || codePoint > 0x10ffff) {
|
|
212
|
+
return ["\uFFFD", hex.length + (spaceTerminated ? 1 : 0)];
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
return [
|
|
216
|
+
String.fromCodePoint(codePoint),
|
|
217
|
+
hex.length + (spaceTerminated ? 1 : 0)
|
|
218
|
+
];
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* @param {string} str string
|
|
223
|
+
* @returns {string} unescaped string
|
|
224
|
+
*/
|
|
225
|
+
const unescapeIdentifier = (str) => {
|
|
226
|
+
const needToProcess = CONTAINS_ESCAPE.test(str);
|
|
227
|
+
if (!needToProcess) return str;
|
|
228
|
+
let ret = "";
|
|
229
|
+
for (let i = 0; i < str.length; i++) {
|
|
230
|
+
if (str[i] === "\\") {
|
|
231
|
+
const gobbled = gobbleHex(str.slice(i + 1, i + 7));
|
|
232
|
+
if (gobbled !== undefined) {
|
|
233
|
+
ret += gobbled[0];
|
|
234
|
+
i += gobbled[1];
|
|
235
|
+
continue;
|
|
236
|
+
}
|
|
237
|
+
// Retain a pair of \\ if double escaped `\\\\`
|
|
238
|
+
// https://github.com/postcss/postcss-selector-parser/commit/268c9a7656fb53f543dc620aa5b73a30ec3ff20e
|
|
239
|
+
if (str[i + 1] === "\\") {
|
|
240
|
+
ret += "\\";
|
|
241
|
+
i += 1;
|
|
242
|
+
continue;
|
|
243
|
+
}
|
|
244
|
+
// if \\ is at the end of the string retain it
|
|
245
|
+
// https://github.com/postcss/postcss-selector-parser/commit/01a6b346e3612ce1ab20219acc26abdc259ccefb
|
|
246
|
+
if (str.length === i + 1) {
|
|
247
|
+
ret += str[i];
|
|
248
|
+
}
|
|
249
|
+
continue;
|
|
250
|
+
}
|
|
251
|
+
ret += str[i];
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
return ret;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* A custom property is any property whose name starts with two dashes (U+002D HYPHEN-MINUS), like --foo.
|
|
259
|
+
* The <custom-property-name> production corresponds to this:
|
|
260
|
+
* it’s defined as any <dashed-ident> (a valid identifier that starts with two dashes),
|
|
261
|
+
* except -- itself, which is reserved for future use by CSS.
|
|
262
|
+
* @param {string} identifier identifier
|
|
263
|
+
* @returns {boolean} true when identifier is dashed, otherwise false
|
|
264
|
+
*/
|
|
265
|
+
const isDashedIdentifier = (identifier) =>
|
|
266
|
+
identifier.startsWith("--") && identifier.length >= 3;
|
|
267
|
+
|
|
268
|
+
/** @type {Record<string, number>} */
|
|
269
|
+
const PREDEFINED_COUNTER_STYLES = {
|
|
270
|
+
decimal: 1,
|
|
271
|
+
"decimal-leading-zero": 1,
|
|
272
|
+
"arabic-indic": 1,
|
|
273
|
+
armenian: 1,
|
|
274
|
+
"upper-armenian": 1,
|
|
275
|
+
"lower-armenian": 1,
|
|
276
|
+
bengali: 1,
|
|
277
|
+
cambodian: 1,
|
|
278
|
+
khmer: 1,
|
|
279
|
+
"cjk-decimal": 1,
|
|
280
|
+
devanagari: 1,
|
|
281
|
+
georgian: 1,
|
|
282
|
+
gujarati: 1,
|
|
283
|
+
/* cspell:disable-next-line */
|
|
284
|
+
gurmukhi: 1,
|
|
285
|
+
hebrew: 1,
|
|
286
|
+
kannada: 1,
|
|
287
|
+
lao: 1,
|
|
288
|
+
malayalam: 1,
|
|
289
|
+
mongolian: 1,
|
|
290
|
+
myanmar: 1,
|
|
291
|
+
oriya: 1,
|
|
292
|
+
persian: 1,
|
|
293
|
+
"lower-roman": 1,
|
|
294
|
+
"upper-roman": 1,
|
|
295
|
+
tamil: 1,
|
|
296
|
+
telugu: 1,
|
|
297
|
+
thai: 1,
|
|
298
|
+
tibetan: 1,
|
|
299
|
+
|
|
300
|
+
"lower-alpha": 1,
|
|
301
|
+
"lower-latin": 1,
|
|
302
|
+
"upper-alpha": 1,
|
|
303
|
+
"upper-latin": 1,
|
|
304
|
+
"lower-greek": 1,
|
|
305
|
+
hiragana: 1,
|
|
306
|
+
/* cspell:disable-next-line */
|
|
307
|
+
"hiragana-iroha": 1,
|
|
308
|
+
katakana: 1,
|
|
309
|
+
/* cspell:disable-next-line */
|
|
310
|
+
"katakana-iroha": 1,
|
|
311
|
+
|
|
312
|
+
disc: 1,
|
|
313
|
+
circle: 1,
|
|
314
|
+
square: 1,
|
|
315
|
+
"disclosure-open": 1,
|
|
316
|
+
"disclosure-closed": 1,
|
|
317
|
+
|
|
318
|
+
"cjk-earthly-branch": 1,
|
|
319
|
+
"cjk-heavenly-stem": 1,
|
|
320
|
+
|
|
321
|
+
"japanese-informal": 1,
|
|
322
|
+
"japanese-formal": 1,
|
|
323
|
+
|
|
324
|
+
"korean-hangul-formal": 1,
|
|
325
|
+
/* cspell:disable-next-line */
|
|
326
|
+
"korean-hanja-informal": 1,
|
|
327
|
+
/* cspell:disable-next-line */
|
|
328
|
+
"korean-hanja-formal": 1,
|
|
329
|
+
|
|
330
|
+
"simp-chinese-informal": 1,
|
|
331
|
+
"simp-chinese-formal": 1,
|
|
332
|
+
"trad-chinese-informal": 1,
|
|
333
|
+
"trad-chinese-formal": 1,
|
|
334
|
+
"cjk-ideographic": 1,
|
|
335
|
+
|
|
336
|
+
"ethiopic-numeric": 1
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
/** @type {Record<string, number>} */
|
|
340
|
+
const GLOBAL_VALUES = {
|
|
341
|
+
// Global values
|
|
342
|
+
initial: Infinity,
|
|
343
|
+
inherit: Infinity,
|
|
344
|
+
unset: Infinity,
|
|
345
|
+
revert: Infinity,
|
|
346
|
+
"revert-layer": Infinity
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
/** @type {Record<string, number>} */
|
|
350
|
+
const GRID_AREA_OR_COLUMN_OR_ROW = {
|
|
351
|
+
auto: Infinity,
|
|
352
|
+
span: Infinity,
|
|
353
|
+
...GLOBAL_VALUES
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
/** @type {Record<string, number>} */
|
|
357
|
+
const GRID_AUTO_COLUMNS_OR_ROW = {
|
|
358
|
+
"min-content": Infinity,
|
|
359
|
+
"max-content": Infinity,
|
|
360
|
+
auto: Infinity,
|
|
361
|
+
...GLOBAL_VALUES
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
/** @type {Record<string, number>} */
|
|
365
|
+
const GRID_AUTO_FLOW = {
|
|
366
|
+
row: 1,
|
|
367
|
+
column: 1,
|
|
368
|
+
dense: 1,
|
|
369
|
+
...GLOBAL_VALUES
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
/** @type {Record<string, number>} */
|
|
373
|
+
const GRID_TEMPLATE_ARES = {
|
|
374
|
+
// Special
|
|
375
|
+
none: 1,
|
|
376
|
+
...GLOBAL_VALUES
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
/** @type {Record<string, number>} */
|
|
380
|
+
const GRID_TEMPLATE_COLUMNS_OR_ROWS = {
|
|
381
|
+
none: 1,
|
|
382
|
+
subgrid: 1,
|
|
383
|
+
masonry: 1,
|
|
384
|
+
"max-content": Infinity,
|
|
385
|
+
"min-content": Infinity,
|
|
386
|
+
auto: Infinity,
|
|
387
|
+
...GLOBAL_VALUES
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
/** @type {Record<string, number>} */
|
|
391
|
+
const GRID_TEMPLATE = {
|
|
392
|
+
...GRID_TEMPLATE_ARES,
|
|
393
|
+
...GRID_TEMPLATE_COLUMNS_OR_ROWS
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
/** @type {Record<string, number>} */
|
|
397
|
+
const GRID = {
|
|
398
|
+
"auto-flow": 1,
|
|
399
|
+
dense: 1,
|
|
400
|
+
...GRID_AUTO_COLUMNS_OR_ROW,
|
|
401
|
+
...GRID_AUTO_FLOW,
|
|
402
|
+
...GRID_TEMPLATE_ARES,
|
|
403
|
+
...GRID_TEMPLATE_COLUMNS_OR_ROWS
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @param {{ animation?: boolean, container?: boolean, customIdents?: boolean, grid?: boolean }=} options options
|
|
408
|
+
* @returns {Map<string, Record<string, number>>} list of known properties
|
|
409
|
+
*/
|
|
410
|
+
const getKnownProperties = (options = {}) => {
|
|
411
|
+
/** @type {Map<string, Record<string, number>>} */
|
|
412
|
+
const knownProperties = new Map();
|
|
413
|
+
|
|
414
|
+
if (options.animation) {
|
|
415
|
+
knownProperties.set("animation", {
|
|
416
|
+
// animation-direction
|
|
417
|
+
normal: 1,
|
|
418
|
+
reverse: 1,
|
|
419
|
+
alternate: 1,
|
|
420
|
+
"alternate-reverse": 1,
|
|
421
|
+
// animation-fill-mode
|
|
422
|
+
forwards: 1,
|
|
423
|
+
backwards: 1,
|
|
424
|
+
both: 1,
|
|
425
|
+
// animation-iteration-count
|
|
426
|
+
infinite: 1,
|
|
427
|
+
// animation-play-state
|
|
428
|
+
paused: 1,
|
|
429
|
+
running: 1,
|
|
430
|
+
// animation-timing-function
|
|
431
|
+
ease: 1,
|
|
432
|
+
"ease-in": 1,
|
|
433
|
+
"ease-out": 1,
|
|
434
|
+
"ease-in-out": 1,
|
|
435
|
+
linear: 1,
|
|
436
|
+
"step-end": 1,
|
|
437
|
+
"step-start": 1,
|
|
438
|
+
// Special
|
|
439
|
+
none: Infinity, // No matter how many times you write none, it will never be an animation name
|
|
440
|
+
...GLOBAL_VALUES
|
|
441
|
+
});
|
|
442
|
+
knownProperties.set("animation-name", {
|
|
443
|
+
// Special
|
|
444
|
+
none: Infinity, // No matter how many times you write none, it will never be an animation name
|
|
445
|
+
...GLOBAL_VALUES
|
|
446
|
+
});
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
if (options.container) {
|
|
450
|
+
knownProperties.set("container", {
|
|
451
|
+
// container-type
|
|
452
|
+
normal: 1,
|
|
453
|
+
size: 1,
|
|
454
|
+
"inline-size": 1,
|
|
455
|
+
"scroll-state": 1,
|
|
456
|
+
// Special
|
|
457
|
+
none: Infinity,
|
|
458
|
+
...GLOBAL_VALUES
|
|
459
|
+
});
|
|
460
|
+
knownProperties.set("container-name", {
|
|
461
|
+
// Special
|
|
462
|
+
none: Infinity,
|
|
463
|
+
...GLOBAL_VALUES
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
if (options.customIdents) {
|
|
468
|
+
knownProperties.set("list-style", {
|
|
469
|
+
// list-style-position
|
|
470
|
+
inside: 1,
|
|
471
|
+
outside: 1,
|
|
472
|
+
// list-style-type
|
|
473
|
+
...PREDEFINED_COUNTER_STYLES,
|
|
474
|
+
// Special
|
|
475
|
+
none: Infinity,
|
|
476
|
+
...GLOBAL_VALUES
|
|
477
|
+
});
|
|
478
|
+
knownProperties.set("list-style-type", {
|
|
479
|
+
// list-style-type
|
|
480
|
+
...PREDEFINED_COUNTER_STYLES,
|
|
481
|
+
// Special
|
|
482
|
+
none: Infinity,
|
|
483
|
+
...GLOBAL_VALUES
|
|
484
|
+
});
|
|
485
|
+
knownProperties.set("system", {
|
|
486
|
+
cyclic: 1,
|
|
487
|
+
numeric: 1,
|
|
488
|
+
alphabetic: 1,
|
|
489
|
+
symbolic: 1,
|
|
490
|
+
additive: 1,
|
|
491
|
+
fixed: 1,
|
|
492
|
+
extends: 1,
|
|
493
|
+
...PREDEFINED_COUNTER_STYLES
|
|
494
|
+
});
|
|
495
|
+
knownProperties.set("fallback", {
|
|
496
|
+
...PREDEFINED_COUNTER_STYLES
|
|
497
|
+
});
|
|
498
|
+
knownProperties.set("speak-as", {
|
|
499
|
+
auto: 1,
|
|
500
|
+
bullets: 1,
|
|
501
|
+
numbers: 1,
|
|
502
|
+
words: 1,
|
|
503
|
+
"spell-out": 1,
|
|
504
|
+
...PREDEFINED_COUNTER_STYLES
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
if (options.grid) {
|
|
509
|
+
knownProperties.set("grid", GRID);
|
|
510
|
+
knownProperties.set("grid-area", GRID_AREA_OR_COLUMN_OR_ROW);
|
|
511
|
+
knownProperties.set("grid-column", GRID_AREA_OR_COLUMN_OR_ROW);
|
|
512
|
+
knownProperties.set("grid-column-end", GRID_AREA_OR_COLUMN_OR_ROW);
|
|
513
|
+
knownProperties.set("grid-column-start", GRID_AREA_OR_COLUMN_OR_ROW);
|
|
514
|
+
knownProperties.set("grid-column-start", GRID_AREA_OR_COLUMN_OR_ROW);
|
|
515
|
+
knownProperties.set("grid-row", GRID_AREA_OR_COLUMN_OR_ROW);
|
|
516
|
+
knownProperties.set("grid-row-end", GRID_AREA_OR_COLUMN_OR_ROW);
|
|
517
|
+
knownProperties.set("grid-row-start", GRID_AREA_OR_COLUMN_OR_ROW);
|
|
518
|
+
knownProperties.set("grid-template", GRID_TEMPLATE);
|
|
519
|
+
knownProperties.set("grid-template-areas", GRID_TEMPLATE_ARES);
|
|
520
|
+
knownProperties.set("grid-template-columns", GRID_TEMPLATE_COLUMNS_OR_ROWS);
|
|
521
|
+
knownProperties.set("grid-template-rows", GRID_TEMPLATE_COLUMNS_OR_ROWS);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
return knownProperties;
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
class LocConverter {
|
|
528
|
+
/**
|
|
529
|
+
* @param {string} input input
|
|
530
|
+
*/
|
|
531
|
+
constructor(input) {
|
|
532
|
+
this._input = input;
|
|
533
|
+
this.line = 1;
|
|
534
|
+
this.column = 0;
|
|
535
|
+
this.pos = 0;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* @param {number} pos position
|
|
540
|
+
* @returns {LocConverter} location converter
|
|
541
|
+
*/
|
|
542
|
+
get(pos) {
|
|
543
|
+
if (this.pos !== pos) {
|
|
544
|
+
if (this.pos < pos) {
|
|
545
|
+
const str = this._input.slice(this.pos, pos);
|
|
546
|
+
let i = str.lastIndexOf("\n");
|
|
547
|
+
if (i === -1) {
|
|
548
|
+
this.column += str.length;
|
|
549
|
+
} else {
|
|
550
|
+
this.column = str.length - i - 1;
|
|
551
|
+
this.line++;
|
|
552
|
+
while (i > 0 && (i = str.lastIndexOf("\n", i - 1)) !== -1) {
|
|
553
|
+
this.line++;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
} else {
|
|
557
|
+
let i = this._input.lastIndexOf("\n", this.pos);
|
|
558
|
+
while (i >= pos) {
|
|
559
|
+
this.line--;
|
|
560
|
+
i = i > 0 ? this._input.lastIndexOf("\n", i - 1) : -1;
|
|
561
|
+
}
|
|
562
|
+
this.column = pos - i;
|
|
563
|
+
}
|
|
564
|
+
this.pos = pos;
|
|
565
|
+
}
|
|
566
|
+
return this;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
const EMPTY_COMMENT_OPTIONS = {
|
|
571
|
+
options: null,
|
|
572
|
+
errors: null
|
|
573
|
+
};
|
|
574
|
+
|
|
575
|
+
const CSS_MODE_TOP_LEVEL = 0;
|
|
576
|
+
const CSS_MODE_IN_BLOCK = 1;
|
|
577
|
+
|
|
578
|
+
const LOCAL_MODE = 0;
|
|
579
|
+
const GLOBAL_MODE = 1;
|
|
580
|
+
|
|
581
|
+
const eatUntilSemi = walkCssTokens.eatUntil(";");
|
|
582
|
+
const eatUntilLeftCurly = walkCssTokens.eatUntil("{");
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* @typedef {object} CssParserOwnOptions
|
|
586
|
+
* @property {("pure" | "global" | "local" | "auto")=} defaultMode default mode
|
|
587
|
+
*/
|
|
588
|
+
|
|
589
|
+
/** @typedef {CssModuleParserOptions & CssParserOwnOptions} CssParserOptions */
|
|
590
|
+
|
|
591
|
+
class CssParser extends Parser {
|
|
592
|
+
/**
|
|
593
|
+
* @param {CssParserOptions=} options options
|
|
594
|
+
*/
|
|
595
|
+
constructor(options = {}) {
|
|
596
|
+
super();
|
|
597
|
+
this.defaultMode =
|
|
598
|
+
typeof options.defaultMode !== "undefined" ? options.defaultMode : "pure";
|
|
599
|
+
this.options = {
|
|
600
|
+
url: true,
|
|
601
|
+
import: true,
|
|
602
|
+
namedExports: true,
|
|
603
|
+
animation: true,
|
|
604
|
+
container: true,
|
|
605
|
+
customIdents: true,
|
|
606
|
+
dashedIdents: true,
|
|
607
|
+
function: true,
|
|
608
|
+
grid: true,
|
|
609
|
+
...options
|
|
610
|
+
};
|
|
611
|
+
/** @type {Comment[] | undefined} */
|
|
612
|
+
this.comments = undefined;
|
|
613
|
+
this.magicCommentContext = createMagicCommentContext();
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* @param {ParserState} state parser state
|
|
618
|
+
* @param {string} message warning message
|
|
619
|
+
* @param {LocConverter} locConverter location converter
|
|
620
|
+
* @param {number} start start offset
|
|
621
|
+
* @param {number} end end offset
|
|
622
|
+
*/
|
|
623
|
+
_emitWarning(state, message, locConverter, start, end) {
|
|
624
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
625
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
626
|
+
|
|
627
|
+
state.current.addWarning(
|
|
628
|
+
new ModuleDependencyWarning(state.module, new WebpackError(message), {
|
|
629
|
+
start: { line: sl, column: sc },
|
|
630
|
+
end: { line: el, column: ec }
|
|
631
|
+
})
|
|
632
|
+
);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* @param {string | Buffer | PreparsedAst} source the source to parse
|
|
637
|
+
* @param {ParserState} state the parser state
|
|
638
|
+
* @returns {ParserState} the parser state
|
|
639
|
+
*/
|
|
640
|
+
parse(source, state) {
|
|
641
|
+
if (Buffer.isBuffer(source)) {
|
|
642
|
+
source = source.toString("utf8");
|
|
643
|
+
} else if (typeof source === "object") {
|
|
644
|
+
throw new Error("webpackAst is unexpected for the CssParser");
|
|
645
|
+
}
|
|
646
|
+
if (source[0] === "\uFEFF") {
|
|
647
|
+
source = source.slice(1);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
let mode = this.defaultMode;
|
|
651
|
+
|
|
652
|
+
const module = state.module;
|
|
653
|
+
|
|
654
|
+
if (
|
|
655
|
+
mode === "auto" &&
|
|
656
|
+
module.type === CSS_MODULE_TYPE_AUTO &&
|
|
657
|
+
IS_MODULES.test(
|
|
658
|
+
// TODO matchResource
|
|
659
|
+
parseResource(/** @type {string} */ (module.getResource())).path
|
|
660
|
+
)
|
|
661
|
+
) {
|
|
662
|
+
mode = "local";
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
const isModules = mode === "global" || mode === "local";
|
|
666
|
+
const knownProperties = getKnownProperties({
|
|
667
|
+
animation: this.options.animation,
|
|
668
|
+
container: this.options.container,
|
|
669
|
+
customIdents: this.options.customIdents,
|
|
670
|
+
grid: this.options.grid
|
|
671
|
+
});
|
|
672
|
+
|
|
673
|
+
/** @type {BuildMeta} */
|
|
674
|
+
(module.buildMeta).isCSSModule = isModules;
|
|
675
|
+
|
|
676
|
+
const locConverter = new LocConverter(source);
|
|
677
|
+
|
|
678
|
+
/** @type {number} */
|
|
679
|
+
let scope = CSS_MODE_TOP_LEVEL;
|
|
680
|
+
/** @type {boolean} */
|
|
681
|
+
let allowImportAtRule = true;
|
|
682
|
+
/** @type {[string, number, number, boolean?][]} */
|
|
683
|
+
const balanced = [];
|
|
684
|
+
let lastTokenEndForComments = 0;
|
|
685
|
+
|
|
686
|
+
/** @type {boolean} */
|
|
687
|
+
let isNextRulePrelude = isModules;
|
|
688
|
+
/** @type {number} */
|
|
689
|
+
let blockNestingLevel = 0;
|
|
690
|
+
/** @type {0 | 1 | undefined} */
|
|
691
|
+
let modeData;
|
|
692
|
+
|
|
693
|
+
/** @type {string[]} */
|
|
694
|
+
let lastLocalIdentifiers = [];
|
|
695
|
+
|
|
696
|
+
/** @typedef {{ value: string, isReference?: boolean }} IcssDefinition */
|
|
697
|
+
/** @type {Map<string, IcssDefinition>} */
|
|
698
|
+
const icssDefinitions = new Map();
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* @param {string} input input
|
|
702
|
+
* @param {number} pos position
|
|
703
|
+
* @returns {boolean} true, when next is nested syntax
|
|
704
|
+
*/
|
|
705
|
+
const isNextNestedSyntax = (input, pos) => {
|
|
706
|
+
pos = walkCssTokens.eatWhitespaceAndComments(input, pos)[0];
|
|
707
|
+
|
|
708
|
+
if (
|
|
709
|
+
input.charCodeAt(pos) === CC_RIGHT_CURLY ||
|
|
710
|
+
(input.charCodeAt(pos) === CC_HYPHEN_MINUS &&
|
|
711
|
+
input.charCodeAt(pos + 1) === CC_HYPHEN_MINUS)
|
|
712
|
+
) {
|
|
713
|
+
return false;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
const identifier = walkCssTokens.eatIdentSequence(input, pos);
|
|
717
|
+
|
|
718
|
+
if (!identifier) {
|
|
719
|
+
return true;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
const leftCurly = eatUntilLeftCurly(input, pos);
|
|
723
|
+
const content = input.slice(identifier[0], leftCurly);
|
|
724
|
+
|
|
725
|
+
if (content.includes(";") || content.includes("}")) {
|
|
726
|
+
return false;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
return true;
|
|
730
|
+
};
|
|
731
|
+
/**
|
|
732
|
+
* @returns {boolean} true, when in local scope
|
|
733
|
+
*/
|
|
734
|
+
const isLocalMode = () =>
|
|
735
|
+
modeData === LOCAL_MODE || (mode === "local" && modeData === undefined);
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* @param {string} input input
|
|
739
|
+
* @param {number} start start
|
|
740
|
+
* @param {number} end end
|
|
741
|
+
* @returns {number} end
|
|
742
|
+
*/
|
|
743
|
+
const comment = (input, start, end) => {
|
|
744
|
+
if (!this.comments) this.comments = [];
|
|
745
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
746
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
747
|
+
|
|
748
|
+
/** @type {Comment} */
|
|
749
|
+
const comment = {
|
|
750
|
+
value: input.slice(start + 2, end - 2),
|
|
751
|
+
range: [start, end],
|
|
752
|
+
loc: {
|
|
753
|
+
start: { line: sl, column: sc },
|
|
754
|
+
end: { line: el, column: ec }
|
|
755
|
+
}
|
|
756
|
+
};
|
|
757
|
+
this.comments.push(comment);
|
|
758
|
+
return end;
|
|
759
|
+
};
|
|
760
|
+
|
|
761
|
+
// Vanilla CSS stuff
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* @param {string} input input
|
|
765
|
+
* @param {number} start name start position
|
|
766
|
+
* @param {number} end name end position
|
|
767
|
+
* @returns {number} position after handling
|
|
768
|
+
*/
|
|
769
|
+
const processAtImport = (input, start, end) => {
|
|
770
|
+
const tokens = walkCssTokens.eatImportTokens(input, end, {
|
|
771
|
+
comment
|
|
772
|
+
});
|
|
773
|
+
if (!tokens[3]) return end;
|
|
774
|
+
const semi = tokens[3][1];
|
|
775
|
+
if (!tokens[0]) {
|
|
776
|
+
this._emitWarning(
|
|
777
|
+
state,
|
|
778
|
+
`Expected URL in '${input.slice(start, semi)}'`,
|
|
779
|
+
locConverter,
|
|
780
|
+
start,
|
|
781
|
+
semi
|
|
782
|
+
);
|
|
783
|
+
return end;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
const urlToken = tokens[0];
|
|
787
|
+
const url = normalizeUrl(input.slice(urlToken[2], urlToken[3]), true);
|
|
788
|
+
const newline = walkCssTokens.eatWhiteLine(input, semi);
|
|
789
|
+
const { options, errors: commentErrors } = this.parseCommentOptions([
|
|
790
|
+
end,
|
|
791
|
+
urlToken[1]
|
|
792
|
+
]);
|
|
793
|
+
if (commentErrors) {
|
|
794
|
+
for (const e of commentErrors) {
|
|
795
|
+
const { comment } = e;
|
|
796
|
+
state.module.addWarning(
|
|
797
|
+
new CommentCompilationWarning(
|
|
798
|
+
`Compilation error while processing magic comment(-s): /*${comment.value}*/: ${e.message}`,
|
|
799
|
+
comment.loc
|
|
800
|
+
)
|
|
801
|
+
);
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
if (options && options.webpackIgnore !== undefined) {
|
|
805
|
+
if (typeof options.webpackIgnore !== "boolean") {
|
|
806
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
807
|
+
const { line: el, column: ec } = locConverter.get(newline);
|
|
808
|
+
|
|
809
|
+
state.module.addWarning(
|
|
810
|
+
new UnsupportedFeatureWarning(
|
|
811
|
+
`\`webpackIgnore\` expected a boolean, but received: ${options.webpackIgnore}.`,
|
|
812
|
+
{
|
|
813
|
+
start: { line: sl, column: sc },
|
|
814
|
+
end: { line: el, column: ec }
|
|
815
|
+
}
|
|
816
|
+
)
|
|
817
|
+
);
|
|
818
|
+
} else if (options.webpackIgnore) {
|
|
819
|
+
return newline;
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
if (url.length === 0) {
|
|
823
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
824
|
+
const { line: el, column: ec } = locConverter.get(newline);
|
|
825
|
+
const dep = new ConstDependency("", [start, newline]);
|
|
826
|
+
module.addPresentationalDependency(dep);
|
|
827
|
+
dep.setLoc(sl, sc, el, ec);
|
|
828
|
+
|
|
829
|
+
return newline;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
/** @type {undefined | string} */
|
|
833
|
+
let layer;
|
|
834
|
+
|
|
835
|
+
if (tokens[1]) {
|
|
836
|
+
layer = input.slice(tokens[1][0] + 6, tokens[1][1] - 1).trim();
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
/** @type {undefined | string} */
|
|
840
|
+
let supports;
|
|
841
|
+
|
|
842
|
+
if (tokens[2]) {
|
|
843
|
+
supports = input.slice(tokens[2][0] + 9, tokens[2][1] - 1).trim();
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
const last = tokens[2] || tokens[1] || tokens[0];
|
|
847
|
+
const mediaStart = walkCssTokens.eatWhitespaceAndComments(
|
|
848
|
+
input,
|
|
849
|
+
last[1]
|
|
850
|
+
)[0];
|
|
851
|
+
|
|
852
|
+
/** @type {undefined | string} */
|
|
853
|
+
let media;
|
|
854
|
+
|
|
855
|
+
if (mediaStart !== semi - 1) {
|
|
856
|
+
media = input.slice(mediaStart, semi - 1).trim();
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
860
|
+
const { line: el, column: ec } = locConverter.get(newline);
|
|
861
|
+
const dep = new CssImportDependency(
|
|
862
|
+
url,
|
|
863
|
+
[start, newline],
|
|
864
|
+
mode === "local" || mode === "global" ? mode : undefined,
|
|
865
|
+
layer,
|
|
866
|
+
supports && supports.length > 0 ? supports : undefined,
|
|
867
|
+
media && media.length > 0 ? media : undefined
|
|
868
|
+
);
|
|
869
|
+
dep.setLoc(sl, sc, el, ec);
|
|
870
|
+
module.addDependency(dep);
|
|
871
|
+
|
|
872
|
+
return newline;
|
|
873
|
+
};
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* @param {string} input input
|
|
877
|
+
* @param {number} end end position
|
|
878
|
+
* @param {string} name the name of function
|
|
879
|
+
* @returns {number} position after handling
|
|
880
|
+
*/
|
|
881
|
+
const processURLFunction = (input, end, name) => {
|
|
882
|
+
const string = walkCssTokens.eatString(input, end);
|
|
883
|
+
if (!string) return end;
|
|
884
|
+
const { options, errors: commentErrors } = this.parseCommentOptions([
|
|
885
|
+
lastTokenEndForComments,
|
|
886
|
+
end
|
|
887
|
+
]);
|
|
888
|
+
if (commentErrors) {
|
|
889
|
+
for (const e of commentErrors) {
|
|
890
|
+
const { comment } = e;
|
|
891
|
+
state.module.addWarning(
|
|
892
|
+
new CommentCompilationWarning(
|
|
893
|
+
`Compilation error while processing magic comment(-s): /*${comment.value}*/: ${e.message}`,
|
|
894
|
+
comment.loc
|
|
895
|
+
)
|
|
896
|
+
);
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
if (options && options.webpackIgnore !== undefined) {
|
|
900
|
+
if (typeof options.webpackIgnore !== "boolean") {
|
|
901
|
+
const { line: sl, column: sc } = locConverter.get(string[0]);
|
|
902
|
+
const { line: el, column: ec } = locConverter.get(string[1]);
|
|
903
|
+
|
|
904
|
+
state.module.addWarning(
|
|
905
|
+
new UnsupportedFeatureWarning(
|
|
906
|
+
`\`webpackIgnore\` expected a boolean, but received: ${options.webpackIgnore}.`,
|
|
907
|
+
{
|
|
908
|
+
start: { line: sl, column: sc },
|
|
909
|
+
end: { line: el, column: ec }
|
|
910
|
+
}
|
|
911
|
+
)
|
|
912
|
+
);
|
|
913
|
+
} else if (options.webpackIgnore) {
|
|
914
|
+
return end;
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
const value = normalizeUrl(
|
|
918
|
+
input.slice(string[0] + 1, string[1] - 1),
|
|
919
|
+
true
|
|
920
|
+
);
|
|
921
|
+
// Ignore `url()`, `url('')` and `url("")`, they are valid by spec
|
|
922
|
+
if (value.length === 0) return end;
|
|
923
|
+
const isUrl = name === "url" || name === "src";
|
|
924
|
+
const dep = new CssUrlDependency(
|
|
925
|
+
value,
|
|
926
|
+
[string[0], string[1]],
|
|
927
|
+
isUrl ? "string" : "url"
|
|
928
|
+
);
|
|
929
|
+
const { line: sl, column: sc } = locConverter.get(string[0]);
|
|
930
|
+
const { line: el, column: ec } = locConverter.get(string[1]);
|
|
931
|
+
dep.setLoc(sl, sc, el, ec);
|
|
932
|
+
module.addDependency(dep);
|
|
933
|
+
module.addCodeGenerationDependency(dep);
|
|
934
|
+
return string[1];
|
|
935
|
+
};
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* @param {string} input input
|
|
939
|
+
* @param {number} start start position
|
|
940
|
+
* @param {number} end end position
|
|
941
|
+
* @param {number} contentStart start position
|
|
942
|
+
* @param {number} contentEnd end position
|
|
943
|
+
* @returns {number} position after handling
|
|
944
|
+
*/
|
|
945
|
+
const processOldURLFunction = (
|
|
946
|
+
input,
|
|
947
|
+
start,
|
|
948
|
+
end,
|
|
949
|
+
contentStart,
|
|
950
|
+
contentEnd
|
|
951
|
+
) => {
|
|
952
|
+
const { options, errors: commentErrors } = this.parseCommentOptions([
|
|
953
|
+
lastTokenEndForComments,
|
|
954
|
+
end
|
|
955
|
+
]);
|
|
956
|
+
if (commentErrors) {
|
|
957
|
+
for (const e of commentErrors) {
|
|
958
|
+
const { comment } = e;
|
|
959
|
+
state.module.addWarning(
|
|
960
|
+
new CommentCompilationWarning(
|
|
961
|
+
`Compilation error while processing magic comment(-s): /*${comment.value}*/: ${e.message}`,
|
|
962
|
+
comment.loc
|
|
963
|
+
)
|
|
964
|
+
);
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
if (options && options.webpackIgnore !== undefined) {
|
|
968
|
+
if (typeof options.webpackIgnore !== "boolean") {
|
|
969
|
+
const { line: sl, column: sc } = locConverter.get(
|
|
970
|
+
lastTokenEndForComments
|
|
971
|
+
);
|
|
972
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
973
|
+
|
|
974
|
+
state.module.addWarning(
|
|
975
|
+
new UnsupportedFeatureWarning(
|
|
976
|
+
`\`webpackIgnore\` expected a boolean, but received: ${options.webpackIgnore}.`,
|
|
977
|
+
{
|
|
978
|
+
start: { line: sl, column: sc },
|
|
979
|
+
end: { line: el, column: ec }
|
|
980
|
+
}
|
|
981
|
+
)
|
|
982
|
+
);
|
|
983
|
+
} else if (options.webpackIgnore) {
|
|
984
|
+
return end;
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
const value = normalizeUrl(input.slice(contentStart, contentEnd), false);
|
|
988
|
+
// Ignore `url()`, `url('')` and `url("")`, they are valid by spec
|
|
989
|
+
if (value.length === 0) return end;
|
|
990
|
+
const dep = new CssUrlDependency(value, [start, end], "url");
|
|
991
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
992
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
993
|
+
dep.setLoc(sl, sc, el, ec);
|
|
994
|
+
module.addDependency(dep);
|
|
995
|
+
module.addCodeGenerationDependency(dep);
|
|
996
|
+
return end;
|
|
997
|
+
};
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* @param {string} input input
|
|
1001
|
+
* @param {number} start start position
|
|
1002
|
+
* @param {number} end end position
|
|
1003
|
+
* @returns {number} position after handling
|
|
1004
|
+
*/
|
|
1005
|
+
const processImageSetFunction = (input, start, end) => {
|
|
1006
|
+
lastTokenEndForComments = end;
|
|
1007
|
+
const values = walkCssTokens.eatImageSetStrings(input, end, {
|
|
1008
|
+
comment
|
|
1009
|
+
});
|
|
1010
|
+
if (values.length === 0) return end;
|
|
1011
|
+
for (const [index, string] of values.entries()) {
|
|
1012
|
+
const value = normalizeUrl(
|
|
1013
|
+
input.slice(string[0] + 1, string[1] - 1),
|
|
1014
|
+
true
|
|
1015
|
+
);
|
|
1016
|
+
if (value.length === 0) return end;
|
|
1017
|
+
const { options, errors: commentErrors } = this.parseCommentOptions([
|
|
1018
|
+
index === 0 ? start : values[index - 1][1],
|
|
1019
|
+
string[1]
|
|
1020
|
+
]);
|
|
1021
|
+
if (commentErrors) {
|
|
1022
|
+
for (const e of commentErrors) {
|
|
1023
|
+
const { comment } = e;
|
|
1024
|
+
state.module.addWarning(
|
|
1025
|
+
new CommentCompilationWarning(
|
|
1026
|
+
`Compilation error while processing magic comment(-s): /*${comment.value}*/: ${e.message}`,
|
|
1027
|
+
comment.loc
|
|
1028
|
+
)
|
|
1029
|
+
);
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
if (options && options.webpackIgnore !== undefined) {
|
|
1033
|
+
if (typeof options.webpackIgnore !== "boolean") {
|
|
1034
|
+
const { line: sl, column: sc } = locConverter.get(string[0]);
|
|
1035
|
+
const { line: el, column: ec } = locConverter.get(string[1]);
|
|
1036
|
+
|
|
1037
|
+
state.module.addWarning(
|
|
1038
|
+
new UnsupportedFeatureWarning(
|
|
1039
|
+
`\`webpackIgnore\` expected a boolean, but received: ${options.webpackIgnore}.`,
|
|
1040
|
+
{
|
|
1041
|
+
start: { line: sl, column: sc },
|
|
1042
|
+
end: { line: el, column: ec }
|
|
1043
|
+
}
|
|
1044
|
+
)
|
|
1045
|
+
);
|
|
1046
|
+
} else if (options.webpackIgnore) {
|
|
1047
|
+
continue;
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
const dep = new CssUrlDependency(value, [string[0], string[1]], "url");
|
|
1051
|
+
const { line: sl, column: sc } = locConverter.get(string[0]);
|
|
1052
|
+
const { line: el, column: ec } = locConverter.get(string[1]);
|
|
1053
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1054
|
+
module.addDependency(dep);
|
|
1055
|
+
module.addCodeGenerationDependency(dep);
|
|
1056
|
+
}
|
|
1057
|
+
// Can contain `url()` inside, so let's return end to allow parse them
|
|
1058
|
+
return end;
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
// CSS modules stuff
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* @param {string} value value to resolve
|
|
1065
|
+
* @returns {string | [string, string, boolean]} resolved reexport
|
|
1066
|
+
*/
|
|
1067
|
+
const getReexport = (value) => {
|
|
1068
|
+
const reexport = icssDefinitions.get(value);
|
|
1069
|
+
|
|
1070
|
+
if (reexport) {
|
|
1071
|
+
if (reexport.isReference) {
|
|
1072
|
+
return [value, reexport.value, true];
|
|
1073
|
+
}
|
|
1074
|
+
return [value, reexport.value, false];
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
return value;
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* @param {0 | 1} type import or export
|
|
1082
|
+
* @param {string} input input
|
|
1083
|
+
* @param {number} pos start position
|
|
1084
|
+
* @returns {number} position after parse
|
|
1085
|
+
*/
|
|
1086
|
+
const processImportOrExport = (type, input, pos) => {
|
|
1087
|
+
pos = walkCssTokens.eatWhitespaceAndComments(input, pos)[0];
|
|
1088
|
+
/** @type {string | undefined} */
|
|
1089
|
+
let request;
|
|
1090
|
+
if (type === 0) {
|
|
1091
|
+
let cc = input.charCodeAt(pos);
|
|
1092
|
+
if (cc !== CC_LEFT_PARENTHESIS) {
|
|
1093
|
+
this._emitWarning(
|
|
1094
|
+
state,
|
|
1095
|
+
`Unexpected '${input[pos]}' at ${pos} during parsing of ':import' (expected '(')`,
|
|
1096
|
+
locConverter,
|
|
1097
|
+
pos,
|
|
1098
|
+
pos
|
|
1099
|
+
);
|
|
1100
|
+
return pos;
|
|
1101
|
+
}
|
|
1102
|
+
pos++;
|
|
1103
|
+
const stringStart = pos;
|
|
1104
|
+
const str = walkCssTokens.eatString(input, pos);
|
|
1105
|
+
if (!str) {
|
|
1106
|
+
this._emitWarning(
|
|
1107
|
+
state,
|
|
1108
|
+
`Unexpected '${input[pos]}' at ${pos} during parsing of '${type ? ":import" : ":export"}' (expected string)`,
|
|
1109
|
+
locConverter,
|
|
1110
|
+
stringStart,
|
|
1111
|
+
pos
|
|
1112
|
+
);
|
|
1113
|
+
return pos;
|
|
1114
|
+
}
|
|
1115
|
+
request = input.slice(str[0] + 1, str[1] - 1);
|
|
1116
|
+
pos = str[1];
|
|
1117
|
+
pos = walkCssTokens.eatWhitespaceAndComments(input, pos)[0];
|
|
1118
|
+
cc = input.charCodeAt(pos);
|
|
1119
|
+
if (cc !== CC_RIGHT_PARENTHESIS) {
|
|
1120
|
+
this._emitWarning(
|
|
1121
|
+
state,
|
|
1122
|
+
`Unexpected '${input[pos]}' at ${pos} during parsing of ':import' (expected ')')`,
|
|
1123
|
+
locConverter,
|
|
1124
|
+
pos,
|
|
1125
|
+
pos
|
|
1126
|
+
);
|
|
1127
|
+
return pos;
|
|
1128
|
+
}
|
|
1129
|
+
pos++;
|
|
1130
|
+
pos = walkCssTokens.eatWhitespaceAndComments(input, pos)[0];
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* @param {string} name name
|
|
1135
|
+
* @param {string} value value
|
|
1136
|
+
* @param {number} start start of position
|
|
1137
|
+
* @param {number} end end of position
|
|
1138
|
+
*/
|
|
1139
|
+
const createDep = (name, value, start, end) => {
|
|
1140
|
+
if (type === 0) {
|
|
1141
|
+
const dep = new CssIcssImportDependency(
|
|
1142
|
+
/** @type {string} */
|
|
1143
|
+
(request),
|
|
1144
|
+
[0, 0],
|
|
1145
|
+
/** @type {"local" | "global"} */
|
|
1146
|
+
(mode),
|
|
1147
|
+
value
|
|
1148
|
+
);
|
|
1149
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
1150
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
1151
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1152
|
+
module.addDependency(dep);
|
|
1153
|
+
|
|
1154
|
+
icssDefinitions.set(name, { value, isReference: true });
|
|
1155
|
+
} else if (type === 1) {
|
|
1156
|
+
const dep = new CssIcssExportDependency(name, getReexport(value));
|
|
1157
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
1158
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
1159
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1160
|
+
module.addDependency(dep);
|
|
1161
|
+
}
|
|
1162
|
+
};
|
|
1163
|
+
|
|
1164
|
+
let needTerminate = false;
|
|
1165
|
+
let balanced = 0;
|
|
1166
|
+
/** @type {undefined | 0 | 1 | 2} */
|
|
1167
|
+
let scope;
|
|
1168
|
+
|
|
1169
|
+
/** @typedef {[number, number]} Name */
|
|
1170
|
+
|
|
1171
|
+
/** @type {Name | undefined} */
|
|
1172
|
+
let name;
|
|
1173
|
+
/** @type {number | undefined} */
|
|
1174
|
+
let value;
|
|
1175
|
+
|
|
1176
|
+
/** @type {CssTokenCallbacks} */
|
|
1177
|
+
const callbacks = {
|
|
1178
|
+
leftCurlyBracket: (_input, _start, end) => {
|
|
1179
|
+
balanced++;
|
|
1180
|
+
|
|
1181
|
+
if (scope === undefined) {
|
|
1182
|
+
scope = 0;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
return end;
|
|
1186
|
+
},
|
|
1187
|
+
rightCurlyBracket: (_input, _start, end) => {
|
|
1188
|
+
balanced--;
|
|
1189
|
+
|
|
1190
|
+
if (scope === 2) {
|
|
1191
|
+
const [nameStart, nameEnd] = /** @type {Name} */ (name);
|
|
1192
|
+
createDep(
|
|
1193
|
+
input.slice(nameStart, nameEnd),
|
|
1194
|
+
input.slice(value, end - 1).trim(),
|
|
1195
|
+
nameEnd,
|
|
1196
|
+
end - 1
|
|
1197
|
+
);
|
|
1198
|
+
scope = 0;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
if (balanced === 0 && scope === 0) {
|
|
1202
|
+
needTerminate = true;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
return end;
|
|
1206
|
+
},
|
|
1207
|
+
identifier: (_input, start, end) => {
|
|
1208
|
+
if (scope === 0) {
|
|
1209
|
+
name = [start, end];
|
|
1210
|
+
scope = 1;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
return end;
|
|
1214
|
+
},
|
|
1215
|
+
colon: (_input, _start, end) => {
|
|
1216
|
+
if (scope === 1) {
|
|
1217
|
+
scope = 2;
|
|
1218
|
+
value = walkCssTokens.eatWhitespace(input, end);
|
|
1219
|
+
return value;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
return end;
|
|
1223
|
+
},
|
|
1224
|
+
semicolon: (input, _start, end) => {
|
|
1225
|
+
if (scope === 2) {
|
|
1226
|
+
const [nameStart, nameEnd] = /** @type {Name} */ (name);
|
|
1227
|
+
createDep(
|
|
1228
|
+
input.slice(nameStart, nameEnd),
|
|
1229
|
+
input.slice(value, end - 1),
|
|
1230
|
+
nameEnd,
|
|
1231
|
+
end - 1
|
|
1232
|
+
);
|
|
1233
|
+
scope = 0;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
return end;
|
|
1237
|
+
},
|
|
1238
|
+
needTerminate: () => needTerminate
|
|
1239
|
+
};
|
|
1240
|
+
|
|
1241
|
+
pos = walkCssTokens(input, pos, callbacks);
|
|
1242
|
+
pos = walkCssTokens.eatWhiteLine(input, pos);
|
|
1243
|
+
|
|
1244
|
+
return pos;
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* @param {string} input input
|
|
1249
|
+
* @param {number} start name start position
|
|
1250
|
+
* @param {number} end name end position
|
|
1251
|
+
* @returns {number} position after handling
|
|
1252
|
+
*/
|
|
1253
|
+
const processAtValue = (input, start, end) => {
|
|
1254
|
+
const semi = eatUntilSemi(input, end);
|
|
1255
|
+
const atRuleEnd = semi + 1;
|
|
1256
|
+
const params = input.slice(end, semi);
|
|
1257
|
+
let [alias, request] = params.split(/\s*from\s*/);
|
|
1258
|
+
|
|
1259
|
+
if (request) {
|
|
1260
|
+
const aliases = alias
|
|
1261
|
+
.replace(CSS_COMMENT, " ")
|
|
1262
|
+
.trim()
|
|
1263
|
+
.replace(/^\(\s*|\s*\)$/g, "")
|
|
1264
|
+
.split(/\s*,\s*/);
|
|
1265
|
+
|
|
1266
|
+
request = request.replace(CSS_COMMENT, "").trim();
|
|
1267
|
+
|
|
1268
|
+
const isExplicitImport = request[0] === "'" || request[0] === '"';
|
|
1269
|
+
|
|
1270
|
+
if (isExplicitImport) {
|
|
1271
|
+
request = request.slice(1, -1);
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
for (const alias of aliases) {
|
|
1275
|
+
const [name, aliasName] = alias.split(/\s+as\s+/);
|
|
1276
|
+
|
|
1277
|
+
{
|
|
1278
|
+
const reexport = icssDefinitions.get(request);
|
|
1279
|
+
|
|
1280
|
+
if (reexport) {
|
|
1281
|
+
request = reexport.value.slice(1, -1);
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
const dep = new CssIcssImportDependency(
|
|
1285
|
+
request,
|
|
1286
|
+
[0, 0],
|
|
1287
|
+
/** @type {"local" | "global"} */
|
|
1288
|
+
(mode),
|
|
1289
|
+
name
|
|
1290
|
+
);
|
|
1291
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
1292
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
1293
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1294
|
+
module.addDependency(dep);
|
|
1295
|
+
|
|
1296
|
+
icssDefinitions.set(aliasName || name, {
|
|
1297
|
+
value: name,
|
|
1298
|
+
isReference: true
|
|
1299
|
+
});
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
{
|
|
1303
|
+
const dep = new CssIcssExportDependency(
|
|
1304
|
+
aliasName || name,
|
|
1305
|
+
getReexport(aliasName || name),
|
|
1306
|
+
undefined,
|
|
1307
|
+
false,
|
|
1308
|
+
CssIcssExportDependency.EXPORT_MODE.REPLACE
|
|
1309
|
+
);
|
|
1310
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
1311
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
1312
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1313
|
+
module.addDependency(dep);
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
} else {
|
|
1317
|
+
const ident = walkCssTokens.eatIdentSequence(alias, 0);
|
|
1318
|
+
|
|
1319
|
+
if (!ident) {
|
|
1320
|
+
this._emitWarning(
|
|
1321
|
+
state,
|
|
1322
|
+
`Broken '@value' at-rule: ${input.slice(start, atRuleEnd)}'`,
|
|
1323
|
+
locConverter,
|
|
1324
|
+
start,
|
|
1325
|
+
atRuleEnd
|
|
1326
|
+
);
|
|
1327
|
+
|
|
1328
|
+
const dep = new ConstDependency("", [start, atRuleEnd]);
|
|
1329
|
+
module.addPresentationalDependency(dep);
|
|
1330
|
+
return atRuleEnd;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
const pos = walkCssTokens.eatWhitespaceAndComments(alias, ident[1])[0];
|
|
1334
|
+
|
|
1335
|
+
const name = alias.slice(ident[0], ident[1]);
|
|
1336
|
+
let value =
|
|
1337
|
+
alias.charCodeAt(pos) === CC_COLON
|
|
1338
|
+
? alias.slice(pos + 1)
|
|
1339
|
+
: alias.slice(ident[1]);
|
|
1340
|
+
|
|
1341
|
+
if (value && !/^\s+$/.test(value.replace(CSS_COMMENT, ""))) {
|
|
1342
|
+
value = value.trim();
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
if (icssDefinitions.has(value)) {
|
|
1346
|
+
const def =
|
|
1347
|
+
/** @type {IcssDefinition} */
|
|
1348
|
+
(icssDefinitions.get(value));
|
|
1349
|
+
|
|
1350
|
+
value = def.value;
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
icssDefinitions.set(name, { value });
|
|
1354
|
+
|
|
1355
|
+
const dep = new CssIcssExportDependency(name, value);
|
|
1356
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
1357
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
1358
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1359
|
+
module.addDependency(dep);
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
const dep = new ConstDependency("", [start, atRuleEnd]);
|
|
1363
|
+
module.addPresentationalDependency(dep);
|
|
1364
|
+
return atRuleEnd;
|
|
1365
|
+
};
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* @param {string} name ICSS symbol name
|
|
1369
|
+
* @param {number} start start position
|
|
1370
|
+
* @param {number} end end position
|
|
1371
|
+
* @returns {number} position after handling
|
|
1372
|
+
*/
|
|
1373
|
+
const processICSSSymbol = (name, start, end) => {
|
|
1374
|
+
const { value, isReference } =
|
|
1375
|
+
/** @type {IcssDefinition} */
|
|
1376
|
+
(icssDefinitions.get(name));
|
|
1377
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
1378
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
1379
|
+
const dep = new CssIcssSymbolDependency(
|
|
1380
|
+
name,
|
|
1381
|
+
value,
|
|
1382
|
+
[start, end],
|
|
1383
|
+
isReference
|
|
1384
|
+
);
|
|
1385
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1386
|
+
module.addDependency(dep);
|
|
1387
|
+
return end;
|
|
1388
|
+
};
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* @param {string} input input
|
|
1392
|
+
* @param {1 | 2} type type of function
|
|
1393
|
+
* @param {number} start start position
|
|
1394
|
+
* @param {number} end end position
|
|
1395
|
+
* @returns {number} position after handling
|
|
1396
|
+
*/
|
|
1397
|
+
const processLocalOrGlobalFunction = (input, type, start, end) => {
|
|
1398
|
+
// Replace `local(`/` or `global(` (handle legacy `:local(` or `:global(` too)
|
|
1399
|
+
{
|
|
1400
|
+
const isColon = input.charCodeAt(start - 1) === CC_COLON;
|
|
1401
|
+
const dep = new ConstDependency("", [isColon ? start - 1 : start, end]);
|
|
1402
|
+
module.addPresentationalDependency(dep);
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
end = walkCssTokens.consumeUntil(
|
|
1406
|
+
input,
|
|
1407
|
+
start,
|
|
1408
|
+
{
|
|
1409
|
+
identifier(input, start, end) {
|
|
1410
|
+
if (type === 1) {
|
|
1411
|
+
let identifier = unescapeIdentifier(input.slice(start, end));
|
|
1412
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
1413
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
1414
|
+
const isDashedIdent = isDashedIdentifier(identifier);
|
|
1415
|
+
|
|
1416
|
+
if (isDashedIdent) {
|
|
1417
|
+
identifier = identifier.slice(2);
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
const dep = new CssIcssExportDependency(
|
|
1421
|
+
identifier,
|
|
1422
|
+
getReexport(identifier),
|
|
1423
|
+
[start, end],
|
|
1424
|
+
true,
|
|
1425
|
+
CssIcssExportDependency.EXPORT_MODE.ONCE,
|
|
1426
|
+
isDashedIdent
|
|
1427
|
+
? CssIcssExportDependency.EXPORT_TYPE.CUSTOM_VARIABLE
|
|
1428
|
+
: CssIcssExportDependency.EXPORT_TYPE.NORMAL
|
|
1429
|
+
);
|
|
1430
|
+
|
|
1431
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1432
|
+
module.addDependency(dep);
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
return end;
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
{},
|
|
1439
|
+
{ onlyTopLevel: true, functionValue: true }
|
|
1440
|
+
);
|
|
1441
|
+
|
|
1442
|
+
{
|
|
1443
|
+
// Replace the last `)`
|
|
1444
|
+
const dep = new ConstDependency("", [end, end + 1]);
|
|
1445
|
+
module.addPresentationalDependency(dep);
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
return end;
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* @param {string} input input
|
|
1453
|
+
* @param {number} end name end position
|
|
1454
|
+
* @param {{ string?: boolean, identifier?: boolean | RegExp }} options types which allowed to handle
|
|
1455
|
+
* @returns {number} position after handling
|
|
1456
|
+
*/
|
|
1457
|
+
const processLocalAtRule = (input, end, options) => {
|
|
1458
|
+
let found = false;
|
|
1459
|
+
|
|
1460
|
+
return walkCssTokens.consumeUntil(
|
|
1461
|
+
input,
|
|
1462
|
+
end,
|
|
1463
|
+
{
|
|
1464
|
+
string(_input, start, end) {
|
|
1465
|
+
if (!found && options.string) {
|
|
1466
|
+
const value = unescapeIdentifier(input.slice(start + 1, end - 1));
|
|
1467
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
1468
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
1469
|
+
const dep = new CssIcssExportDependency(
|
|
1470
|
+
value,
|
|
1471
|
+
value,
|
|
1472
|
+
[start, end],
|
|
1473
|
+
true,
|
|
1474
|
+
CssIcssExportDependency.EXPORT_MODE.ONCE
|
|
1475
|
+
);
|
|
1476
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1477
|
+
module.addDependency(dep);
|
|
1478
|
+
found = true;
|
|
1479
|
+
}
|
|
1480
|
+
return end;
|
|
1481
|
+
},
|
|
1482
|
+
identifier(input, start, end) {
|
|
1483
|
+
if (!found) {
|
|
1484
|
+
const value = input.slice(start, end);
|
|
1485
|
+
|
|
1486
|
+
if (options.identifier) {
|
|
1487
|
+
const identifier = unescapeIdentifier(value);
|
|
1488
|
+
|
|
1489
|
+
if (
|
|
1490
|
+
options.identifier instanceof RegExp &&
|
|
1491
|
+
options.identifier.test(identifier)
|
|
1492
|
+
) {
|
|
1493
|
+
return end;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
1497
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
1498
|
+
|
|
1499
|
+
const dep = new CssIcssExportDependency(
|
|
1500
|
+
identifier,
|
|
1501
|
+
getReexport(identifier),
|
|
1502
|
+
[start, end],
|
|
1503
|
+
true,
|
|
1504
|
+
CssIcssExportDependency.EXPORT_MODE.ONCE,
|
|
1505
|
+
CssIcssExportDependency.EXPORT_TYPE.NORMAL
|
|
1506
|
+
);
|
|
1507
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1508
|
+
module.addDependency(dep);
|
|
1509
|
+
found = true;
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
return end;
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
function: (input, start, end) => {
|
|
1517
|
+
// No need to handle `:` (COLON), because it's always a function
|
|
1518
|
+
const name = input
|
|
1519
|
+
.slice(start, end - 1)
|
|
1520
|
+
.replace(/\\/g, "")
|
|
1521
|
+
.toLowerCase();
|
|
1522
|
+
|
|
1523
|
+
const type =
|
|
1524
|
+
name === "local" ? 1 : name === "global" ? 2 : undefined;
|
|
1525
|
+
|
|
1526
|
+
if (!found && type) {
|
|
1527
|
+
found = true;
|
|
1528
|
+
return processLocalOrGlobalFunction(input, type, start, end);
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
if (
|
|
1532
|
+
this.options.dashedIdents &&
|
|
1533
|
+
isLocalMode() &&
|
|
1534
|
+
(name === "var" || name === "style")
|
|
1535
|
+
) {
|
|
1536
|
+
return processDashedIdent(input, end, end);
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
return end;
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
{ onlyTopLevel: true, atRulePrelude: true }
|
|
1543
|
+
);
|
|
1544
|
+
};
|
|
1545
|
+
/**
|
|
1546
|
+
* @param {string} input input
|
|
1547
|
+
* @param {number} start start position
|
|
1548
|
+
* @param {number} end end position
|
|
1549
|
+
* @returns {number} position after handling
|
|
1550
|
+
*/
|
|
1551
|
+
const processDashedIdent = (input, start, end) => {
|
|
1552
|
+
const customIdent = walkCssTokens.eatIdentSequence(input, start);
|
|
1553
|
+
if (!customIdent) return end;
|
|
1554
|
+
const identifier = unescapeIdentifier(
|
|
1555
|
+
input.slice(customIdent[0] + 2, customIdent[1])
|
|
1556
|
+
);
|
|
1557
|
+
const afterCustomIdent = walkCssTokens.eatWhitespaceAndComments(
|
|
1558
|
+
input,
|
|
1559
|
+
customIdent[1]
|
|
1560
|
+
)[0];
|
|
1561
|
+
if (
|
|
1562
|
+
input.charCodeAt(afterCustomIdent) === CC_LOWER_F ||
|
|
1563
|
+
input.charCodeAt(afterCustomIdent) === CC_UPPER_F
|
|
1564
|
+
) {
|
|
1565
|
+
const fromWord = walkCssTokens.eatIdentSequence(
|
|
1566
|
+
input,
|
|
1567
|
+
afterCustomIdent
|
|
1568
|
+
);
|
|
1569
|
+
if (
|
|
1570
|
+
!fromWord ||
|
|
1571
|
+
input.slice(fromWord[0], fromWord[1]).toLowerCase() !== "from"
|
|
1572
|
+
) {
|
|
1573
|
+
return end;
|
|
1574
|
+
}
|
|
1575
|
+
const from = walkCssTokens.eatIdentSequenceOrString(
|
|
1576
|
+
input,
|
|
1577
|
+
walkCssTokens.eatWhitespaceAndComments(input, fromWord[1])[0]
|
|
1578
|
+
);
|
|
1579
|
+
if (!from) {
|
|
1580
|
+
return end;
|
|
1581
|
+
}
|
|
1582
|
+
const path = input.slice(from[0], from[1]);
|
|
1583
|
+
if (from[2] === true && path === "global") {
|
|
1584
|
+
const dep = new ConstDependency("", [customIdent[1], from[1]]);
|
|
1585
|
+
module.addPresentationalDependency(dep);
|
|
1586
|
+
return end;
|
|
1587
|
+
} else if (from[2] === false) {
|
|
1588
|
+
const { line: sl, column: sc } = locConverter.get(customIdent[0]);
|
|
1589
|
+
const { line: el, column: ec } = locConverter.get(from[1] - 1);
|
|
1590
|
+
const dep = new CssIcssImportDependency(
|
|
1591
|
+
path.slice(1, -1),
|
|
1592
|
+
[customIdent[0], from[1] - 1],
|
|
1593
|
+
/** @type {"local" | "global"} */
|
|
1594
|
+
(mode),
|
|
1595
|
+
identifier,
|
|
1596
|
+
identifier,
|
|
1597
|
+
CssIcssExportDependency.EXPORT_MODE.NONE,
|
|
1598
|
+
CssIcssExportDependency.EXPORT_TYPE.CUSTOM_VARIABLE
|
|
1599
|
+
);
|
|
1600
|
+
|
|
1601
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1602
|
+
module.addDependency(dep);
|
|
1603
|
+
|
|
1604
|
+
{
|
|
1605
|
+
const dep = new ConstDependency("", [fromWord[0], from[1]]);
|
|
1606
|
+
module.addPresentationalDependency(dep);
|
|
1607
|
+
return end;
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
} else {
|
|
1611
|
+
const { line: sl, column: sc } = locConverter.get(customIdent[0]);
|
|
1612
|
+
const { line: el, column: ec } = locConverter.get(customIdent[1]);
|
|
1613
|
+
const dep = new CssIcssExportDependency(
|
|
1614
|
+
identifier,
|
|
1615
|
+
getReexport(identifier),
|
|
1616
|
+
[customIdent[0], customIdent[1]],
|
|
1617
|
+
true,
|
|
1618
|
+
CssIcssExportDependency.EXPORT_MODE.ONCE,
|
|
1619
|
+
CssIcssExportDependency.EXPORT_TYPE.CUSTOM_VARIABLE
|
|
1620
|
+
);
|
|
1621
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1622
|
+
module.addDependency(dep);
|
|
1623
|
+
return end;
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
return end;
|
|
1627
|
+
};
|
|
1628
|
+
/**
|
|
1629
|
+
* @param {string} input input
|
|
1630
|
+
* @param {number} pos name start position
|
|
1631
|
+
* @param {number} end name end position
|
|
1632
|
+
* @returns {number} position after handling
|
|
1633
|
+
*/
|
|
1634
|
+
const processLocalDeclaration = (input, pos, end) => {
|
|
1635
|
+
pos = walkCssTokens.eatWhitespaceAndComments(input, pos)[0];
|
|
1636
|
+
const identifier = walkCssTokens.eatIdentSequence(input, pos);
|
|
1637
|
+
|
|
1638
|
+
if (!identifier) {
|
|
1639
|
+
return end;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
const propertyNameStart = identifier[0];
|
|
1643
|
+
|
|
1644
|
+
pos = walkCssTokens.eatWhitespaceAndComments(input, identifier[1])[0];
|
|
1645
|
+
|
|
1646
|
+
if (input.charCodeAt(pos) !== CC_COLON) {
|
|
1647
|
+
return end;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
pos += 1;
|
|
1651
|
+
|
|
1652
|
+
// Remove prefix and lowercase
|
|
1653
|
+
const propertyName = input
|
|
1654
|
+
.slice(identifier[0], identifier[1])
|
|
1655
|
+
.replace(/^(-\w+-)/, "")
|
|
1656
|
+
.toLowerCase();
|
|
1657
|
+
|
|
1658
|
+
if (isLocalMode() && knownProperties.has(propertyName)) {
|
|
1659
|
+
/** @type {[number, number, boolean?][]} */
|
|
1660
|
+
const values = [];
|
|
1661
|
+
/** @type {Record<string, number>} */
|
|
1662
|
+
let parsedKeywords = Object.create(null);
|
|
1663
|
+
|
|
1664
|
+
const isGridProperty = Boolean(propertyName.startsWith("grid"));
|
|
1665
|
+
const isGridTemplate = isGridProperty
|
|
1666
|
+
? Boolean(
|
|
1667
|
+
propertyName === "grid" ||
|
|
1668
|
+
propertyName === "grid-template" ||
|
|
1669
|
+
propertyName === "grid-template-columns" ||
|
|
1670
|
+
propertyName === "grid-template-rows"
|
|
1671
|
+
)
|
|
1672
|
+
: false;
|
|
1673
|
+
|
|
1674
|
+
const end = walkCssTokens.consumeUntil(
|
|
1675
|
+
input,
|
|
1676
|
+
pos,
|
|
1677
|
+
{
|
|
1678
|
+
leftSquareBracket(input, start, end) {
|
|
1679
|
+
let i = end;
|
|
1680
|
+
|
|
1681
|
+
while (true) {
|
|
1682
|
+
i = walkCssTokens.eatWhitespaceAndComments(input, i)[0];
|
|
1683
|
+
const name = walkCssTokens.eatIdentSequence(input, i);
|
|
1684
|
+
|
|
1685
|
+
if (!name) {
|
|
1686
|
+
break;
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
values.push(name);
|
|
1690
|
+
i = name[1];
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
return end;
|
|
1694
|
+
},
|
|
1695
|
+
string(_input, start, end) {
|
|
1696
|
+
if (
|
|
1697
|
+
propertyName === "animation" ||
|
|
1698
|
+
propertyName === "animation-name"
|
|
1699
|
+
) {
|
|
1700
|
+
values.push([start, end, true]);
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
if (
|
|
1704
|
+
propertyName === "grid" ||
|
|
1705
|
+
propertyName === "grid-template" ||
|
|
1706
|
+
propertyName === "grid-template-areas"
|
|
1707
|
+
) {
|
|
1708
|
+
const areas = unescapeIdentifier(
|
|
1709
|
+
input.slice(start + 1, end - 1)
|
|
1710
|
+
);
|
|
1711
|
+
const matches = matchAll(/\b\w+\b/g, areas);
|
|
1712
|
+
|
|
1713
|
+
for (const match of matches) {
|
|
1714
|
+
const areaStart = start + 1 + match.index;
|
|
1715
|
+
values.push([areaStart, areaStart + match[0].length, false]);
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
return end;
|
|
1720
|
+
},
|
|
1721
|
+
identifier(input, start, end) {
|
|
1722
|
+
if (isGridTemplate) {
|
|
1723
|
+
return end;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
const identifier = input.slice(start, end);
|
|
1727
|
+
const keyword = identifier.toLowerCase();
|
|
1728
|
+
|
|
1729
|
+
parsedKeywords[keyword] =
|
|
1730
|
+
typeof parsedKeywords[keyword] !== "undefined"
|
|
1731
|
+
? parsedKeywords[keyword] + 1
|
|
1732
|
+
: 0;
|
|
1733
|
+
const keywords =
|
|
1734
|
+
/** @type {Record<string, number>} */
|
|
1735
|
+
(knownProperties.get(propertyName));
|
|
1736
|
+
|
|
1737
|
+
if (
|
|
1738
|
+
keywords[keyword] &&
|
|
1739
|
+
parsedKeywords[keyword] < keywords[keyword]
|
|
1740
|
+
) {
|
|
1741
|
+
return end;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
values.push([start, end]);
|
|
1745
|
+
return end;
|
|
1746
|
+
},
|
|
1747
|
+
comma(_input, _start, end) {
|
|
1748
|
+
parsedKeywords = {};
|
|
1749
|
+
|
|
1750
|
+
return end;
|
|
1751
|
+
}
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
function: (input, start, end) => {
|
|
1755
|
+
const name = input
|
|
1756
|
+
.slice(start, end - 1)
|
|
1757
|
+
.replace(/\\/g, "")
|
|
1758
|
+
.toLowerCase();
|
|
1759
|
+
|
|
1760
|
+
const type =
|
|
1761
|
+
name === "local" ? 1 : name === "global" ? 2 : undefined;
|
|
1762
|
+
|
|
1763
|
+
if (type) {
|
|
1764
|
+
return processLocalOrGlobalFunction(input, type, start, end);
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
if (
|
|
1768
|
+
this.options.dashedIdents &&
|
|
1769
|
+
isLocalMode() &&
|
|
1770
|
+
name === "var"
|
|
1771
|
+
) {
|
|
1772
|
+
return processDashedIdent(input, end, end);
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
if (this.options.url) {
|
|
1776
|
+
if (name === "src" || name === "url") {
|
|
1777
|
+
return processURLFunction(input, end, name);
|
|
1778
|
+
} else if (IMAGE_SET_FUNCTION.test(name)) {
|
|
1779
|
+
return processImageSetFunction(input, start, end);
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
return end;
|
|
1784
|
+
}
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
onlyTopLevel: !isGridTemplate,
|
|
1788
|
+
declarationValue: true
|
|
1789
|
+
}
|
|
1790
|
+
);
|
|
1791
|
+
|
|
1792
|
+
if (values.length > 0) {
|
|
1793
|
+
for (const value of values) {
|
|
1794
|
+
const { line: sl, column: sc } = locConverter.get(value[0]);
|
|
1795
|
+
const { line: el, column: ec } = locConverter.get(value[1]);
|
|
1796
|
+
const [start, end, isString] = value;
|
|
1797
|
+
const name = unescapeIdentifier(
|
|
1798
|
+
isString
|
|
1799
|
+
? input.slice(start + 1, end - 1)
|
|
1800
|
+
: input.slice(start, end)
|
|
1801
|
+
);
|
|
1802
|
+
const dep = new CssIcssExportDependency(
|
|
1803
|
+
name,
|
|
1804
|
+
getReexport(name),
|
|
1805
|
+
[start, end],
|
|
1806
|
+
true,
|
|
1807
|
+
CssIcssExportDependency.EXPORT_MODE.ONCE,
|
|
1808
|
+
isGridProperty
|
|
1809
|
+
? CssIcssExportDependency.EXPORT_TYPE.GRID_CUSTOM_IDENTIFIER
|
|
1810
|
+
: CssIcssExportDependency.EXPORT_TYPE.NORMAL
|
|
1811
|
+
);
|
|
1812
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1813
|
+
module.addDependency(dep);
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
return end;
|
|
1818
|
+
} else if (COMPOSES_PROPERTY.test(propertyName)) {
|
|
1819
|
+
if (lastLocalIdentifiers.length > 1) {
|
|
1820
|
+
const end = eatUntilSemi(input, pos);
|
|
1821
|
+
this._emitWarning(
|
|
1822
|
+
state,
|
|
1823
|
+
`Composition is only allowed when selector is single local class name not in "${lastLocalIdentifiers.join('", "')}"`,
|
|
1824
|
+
locConverter,
|
|
1825
|
+
pos,
|
|
1826
|
+
end
|
|
1827
|
+
);
|
|
1828
|
+
|
|
1829
|
+
return end;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
if (lastLocalIdentifiers.length !== 1) return pos;
|
|
1833
|
+
|
|
1834
|
+
const lastLocalIdentifier = lastLocalIdentifiers[0];
|
|
1835
|
+
let end = pos;
|
|
1836
|
+
|
|
1837
|
+
/** @type {Set<[number, number]>} */
|
|
1838
|
+
const classNames = new Set();
|
|
1839
|
+
|
|
1840
|
+
while (true) {
|
|
1841
|
+
pos = walkCssTokens.eatWhitespaceAndComments(input, pos)[0];
|
|
1842
|
+
|
|
1843
|
+
let className = walkCssTokens.eatIdentSequence(input, pos);
|
|
1844
|
+
|
|
1845
|
+
const ifFunction =
|
|
1846
|
+
className && input.charCodeAt(className[1]) === CC_LEFT_PARENTHESIS;
|
|
1847
|
+
let isGlobalFunction = false;
|
|
1848
|
+
|
|
1849
|
+
if (className && ifFunction) {
|
|
1850
|
+
const name = input
|
|
1851
|
+
.slice(className[0], className[1])
|
|
1852
|
+
.replace(/\\/g, "")
|
|
1853
|
+
.toLowerCase();
|
|
1854
|
+
|
|
1855
|
+
isGlobalFunction = name === "global";
|
|
1856
|
+
pos = walkCssTokens.eatWhitespaceAndComments(
|
|
1857
|
+
input,
|
|
1858
|
+
className[1] + 1
|
|
1859
|
+
)[0];
|
|
1860
|
+
className = walkCssTokens.eatIdentSequence(input, pos);
|
|
1861
|
+
if (className) {
|
|
1862
|
+
pos = walkCssTokens.eatWhitespaceAndComments(
|
|
1863
|
+
input,
|
|
1864
|
+
className[1]
|
|
1865
|
+
)[0];
|
|
1866
|
+
pos += 1;
|
|
1867
|
+
}
|
|
1868
|
+
} else if (className) {
|
|
1869
|
+
pos = walkCssTokens.eatWhitespaceAndComments(
|
|
1870
|
+
input,
|
|
1871
|
+
className[1]
|
|
1872
|
+
)[0];
|
|
1873
|
+
pos = className[1];
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
// True when we have multiple values
|
|
1877
|
+
const isComma = input.charCodeAt(pos) === CC_COMMA;
|
|
1878
|
+
const isSemicolon = input.charCodeAt(pos) === CC_SEMICOLON;
|
|
1879
|
+
const isRightCurly = input.charCodeAt(pos) === CC_RIGHT_CURLY;
|
|
1880
|
+
|
|
1881
|
+
if (isComma || isSemicolon || isRightCurly) {
|
|
1882
|
+
if (className) {
|
|
1883
|
+
classNames.add(className);
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
for (const className of classNames) {
|
|
1887
|
+
const [start, end] = className;
|
|
1888
|
+
const identifier = unescapeIdentifier(input.slice(start, end));
|
|
1889
|
+
const resolvedClassName = getReexport(identifier);
|
|
1890
|
+
const dep = new CssIcssExportDependency(
|
|
1891
|
+
lastLocalIdentifier,
|
|
1892
|
+
resolvedClassName,
|
|
1893
|
+
[start, end],
|
|
1894
|
+
isGlobalFunction ? false : !Array.isArray(resolvedClassName),
|
|
1895
|
+
isGlobalFunction
|
|
1896
|
+
? CssIcssExportDependency.EXPORT_MODE.APPEND
|
|
1897
|
+
: CssIcssExportDependency.EXPORT_MODE.SELF_REFERENCE
|
|
1898
|
+
);
|
|
1899
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
1900
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
1901
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1902
|
+
module.addDependency(dep);
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
classNames.clear();
|
|
1906
|
+
|
|
1907
|
+
if (isSemicolon || isRightCurly) {
|
|
1908
|
+
end = isSemicolon
|
|
1909
|
+
? walkCssTokens.eatWhitespace(input, pos + 1)
|
|
1910
|
+
: pos;
|
|
1911
|
+
break;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
pos += 1;
|
|
1915
|
+
} else if (
|
|
1916
|
+
classNames.size > 0 &&
|
|
1917
|
+
className &&
|
|
1918
|
+
input.slice(className[0], className[1]).toLowerCase() === "from"
|
|
1919
|
+
) {
|
|
1920
|
+
let from = walkCssTokens.eatString(input, pos);
|
|
1921
|
+
|
|
1922
|
+
if (from) {
|
|
1923
|
+
const request = input.slice(from[0] + 1, from[1] - 1);
|
|
1924
|
+
|
|
1925
|
+
for (const className of classNames) {
|
|
1926
|
+
const [start, end] = className;
|
|
1927
|
+
const identifier = unescapeIdentifier(input.slice(start, end));
|
|
1928
|
+
const dep = new CssIcssImportDependency(
|
|
1929
|
+
request,
|
|
1930
|
+
[start, end],
|
|
1931
|
+
/** @type {"local" | "global"} */
|
|
1932
|
+
(mode),
|
|
1933
|
+
identifier,
|
|
1934
|
+
/** @type {string} */
|
|
1935
|
+
(lastLocalIdentifier),
|
|
1936
|
+
CssIcssExportDependency.EXPORT_MODE.APPEND
|
|
1937
|
+
);
|
|
1938
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
1939
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
1940
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1941
|
+
module.addDependency(dep);
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1944
|
+
classNames.clear();
|
|
1945
|
+
pos = from[1];
|
|
1946
|
+
} else {
|
|
1947
|
+
from = walkCssTokens.eatIdentSequence(input, pos);
|
|
1948
|
+
|
|
1949
|
+
if (from && input.slice(from[0], from[1]) === "global") {
|
|
1950
|
+
for (const className of classNames) {
|
|
1951
|
+
const [start, end] = className;
|
|
1952
|
+
const identifier = unescapeIdentifier(
|
|
1953
|
+
input.slice(start, end)
|
|
1954
|
+
);
|
|
1955
|
+
const dep = new CssIcssExportDependency(
|
|
1956
|
+
/** @type {string} */
|
|
1957
|
+
(lastLocalIdentifier),
|
|
1958
|
+
getReexport(identifier),
|
|
1959
|
+
[start, end],
|
|
1960
|
+
false,
|
|
1961
|
+
CssIcssExportDependency.EXPORT_MODE.APPEND
|
|
1962
|
+
);
|
|
1963
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
1964
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
1965
|
+
dep.setLoc(sl, sc, el, ec);
|
|
1966
|
+
module.addDependency(dep);
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
classNames.clear();
|
|
1970
|
+
pos = from[1];
|
|
1971
|
+
} else {
|
|
1972
|
+
const end = eatUntilSemi(input, pos);
|
|
1973
|
+
this._emitWarning(
|
|
1974
|
+
state,
|
|
1975
|
+
"Incorrect composition, expected global keyword or string value",
|
|
1976
|
+
locConverter,
|
|
1977
|
+
pos,
|
|
1978
|
+
end
|
|
1979
|
+
);
|
|
1980
|
+
return end;
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
} else if (className) {
|
|
1984
|
+
classNames.add(className);
|
|
1985
|
+
} else {
|
|
1986
|
+
const end = eatUntilSemi(input, pos);
|
|
1987
|
+
this._emitWarning(
|
|
1988
|
+
state,
|
|
1989
|
+
"Incorrect composition, expected class named",
|
|
1990
|
+
locConverter,
|
|
1991
|
+
pos,
|
|
1992
|
+
end
|
|
1993
|
+
);
|
|
1994
|
+
return end;
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
// Remove `composes` from source code
|
|
1999
|
+
const dep = new ConstDependency("", [propertyNameStart, end]);
|
|
2000
|
+
module.addPresentationalDependency(dep);
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
return pos;
|
|
2004
|
+
};
|
|
2005
|
+
|
|
2006
|
+
/**
|
|
2007
|
+
* @param {string} input input
|
|
2008
|
+
* @param {number} start start position
|
|
2009
|
+
* @param {number} end end position
|
|
2010
|
+
* @returns {number} position after handling
|
|
2011
|
+
*/
|
|
2012
|
+
const processIdSelector = (input, start, end) => {
|
|
2013
|
+
const valueStart = start + 1;
|
|
2014
|
+
const name = unescapeIdentifier(input.slice(valueStart, end));
|
|
2015
|
+
const dep = new CssIcssExportDependency(
|
|
2016
|
+
name,
|
|
2017
|
+
getReexport(name),
|
|
2018
|
+
[valueStart, end],
|
|
2019
|
+
true,
|
|
2020
|
+
CssIcssExportDependency.EXPORT_MODE.ONCE
|
|
2021
|
+
);
|
|
2022
|
+
const { line: sl, column: sc } = locConverter.get(start);
|
|
2023
|
+
const { line: el, column: ec } = locConverter.get(end);
|
|
2024
|
+
dep.setLoc(sl, sc, el, ec);
|
|
2025
|
+
module.addDependency(dep);
|
|
2026
|
+
return end;
|
|
2027
|
+
};
|
|
2028
|
+
|
|
2029
|
+
/**
|
|
2030
|
+
* @param {string} input input
|
|
2031
|
+
* @param {number} start start position
|
|
2032
|
+
* @param {number} end end position
|
|
2033
|
+
* @returns {number} position after handling
|
|
2034
|
+
*/
|
|
2035
|
+
const processClassSelector = (input, start, end) => {
|
|
2036
|
+
const ident = walkCssTokens.skipCommentsAndEatIdentSequence(input, end);
|
|
2037
|
+
if (!ident) return end;
|
|
2038
|
+
const name = unescapeIdentifier(input.slice(ident[0], ident[1]));
|
|
2039
|
+
lastLocalIdentifiers.push(name);
|
|
2040
|
+
const dep = new CssIcssExportDependency(
|
|
2041
|
+
name,
|
|
2042
|
+
getReexport(name),
|
|
2043
|
+
[ident[0], ident[1]],
|
|
2044
|
+
true,
|
|
2045
|
+
CssIcssExportDependency.EXPORT_MODE.ONCE
|
|
2046
|
+
);
|
|
2047
|
+
const { line: sl, column: sc } = locConverter.get(ident[0]);
|
|
2048
|
+
const { line: el, column: ec } = locConverter.get(ident[1]);
|
|
2049
|
+
dep.setLoc(sl, sc, el, ec);
|
|
2050
|
+
module.addDependency(dep);
|
|
2051
|
+
return ident[1];
|
|
2052
|
+
};
|
|
2053
|
+
|
|
2054
|
+
/**
|
|
2055
|
+
* @param {string} input input
|
|
2056
|
+
* @param {number} start start position
|
|
2057
|
+
* @param {number} end end position
|
|
2058
|
+
* @returns {number} position after handling
|
|
2059
|
+
*/
|
|
2060
|
+
const processAttributeSelector = (input, start, end) => {
|
|
2061
|
+
end = walkCssTokens.eatWhitespaceAndComments(input, end)[0];
|
|
2062
|
+
const identifier = walkCssTokens.eatIdentSequence(input, end);
|
|
2063
|
+
if (!identifier) return end;
|
|
2064
|
+
const name = unescapeIdentifier(
|
|
2065
|
+
input.slice(identifier[0], identifier[1])
|
|
2066
|
+
);
|
|
2067
|
+
if (name.toLowerCase() !== "class") {
|
|
2068
|
+
return end;
|
|
2069
|
+
}
|
|
2070
|
+
end = walkCssTokens.eatWhitespaceAndComments(input, identifier[1])[0];
|
|
2071
|
+
|
|
2072
|
+
const isTilde = input.charCodeAt(end) === CC_TILDE;
|
|
2073
|
+
|
|
2074
|
+
if (
|
|
2075
|
+
input.charCodeAt(end) !== CC_EQUAL &&
|
|
2076
|
+
input.charCodeAt(end) !== CC_TILDE
|
|
2077
|
+
) {
|
|
2078
|
+
return end;
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
end += 1;
|
|
2082
|
+
|
|
2083
|
+
if (isTilde) {
|
|
2084
|
+
if (input.charCodeAt(end) !== CC_EQUAL) {
|
|
2085
|
+
return end;
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
end += 1;
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
end = walkCssTokens.eatWhitespaceAndComments(input, end)[0];
|
|
2092
|
+
const value = walkCssTokens.eatIdentSequenceOrString(input, end);
|
|
2093
|
+
|
|
2094
|
+
if (!value) {
|
|
2095
|
+
return end;
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
const classNameStart = value[2] ? value[0] : value[0] + 1;
|
|
2099
|
+
const classNameEnd = value[2] ? value[1] : value[1] - 1;
|
|
2100
|
+
const className = unescapeIdentifier(
|
|
2101
|
+
input.slice(classNameStart, classNameEnd)
|
|
2102
|
+
);
|
|
2103
|
+
const dep = new CssIcssExportDependency(
|
|
2104
|
+
className,
|
|
2105
|
+
getReexport(className),
|
|
2106
|
+
[classNameStart, classNameEnd],
|
|
2107
|
+
true,
|
|
2108
|
+
CssIcssExportDependency.EXPORT_MODE.NONE
|
|
2109
|
+
);
|
|
2110
|
+
const { line: sl, column: sc } = locConverter.get(classNameStart);
|
|
2111
|
+
const { line: el, column: ec } = locConverter.get(classNameEnd);
|
|
2112
|
+
dep.setLoc(sl, sc, el, ec);
|
|
2113
|
+
module.addDependency(dep);
|
|
2114
|
+
return value[2] ? classNameEnd : classNameEnd + 1;
|
|
2115
|
+
};
|
|
2116
|
+
|
|
2117
|
+
walkCssTokens(source, 0, {
|
|
2118
|
+
comment,
|
|
2119
|
+
leftCurlyBracket: (input, start, end) => {
|
|
2120
|
+
switch (scope) {
|
|
2121
|
+
case CSS_MODE_TOP_LEVEL: {
|
|
2122
|
+
allowImportAtRule = false;
|
|
2123
|
+
scope = CSS_MODE_IN_BLOCK;
|
|
2124
|
+
|
|
2125
|
+
if (isModules) {
|
|
2126
|
+
blockNestingLevel = 1;
|
|
2127
|
+
isNextRulePrelude = isNextNestedSyntax(input, end);
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
break;
|
|
2131
|
+
}
|
|
2132
|
+
case CSS_MODE_IN_BLOCK: {
|
|
2133
|
+
if (isModules) {
|
|
2134
|
+
blockNestingLevel++;
|
|
2135
|
+
isNextRulePrelude = isNextNestedSyntax(input, end);
|
|
2136
|
+
}
|
|
2137
|
+
break;
|
|
2138
|
+
}
|
|
2139
|
+
}
|
|
2140
|
+
return end;
|
|
2141
|
+
},
|
|
2142
|
+
rightCurlyBracket: (input, start, end) => {
|
|
2143
|
+
switch (scope) {
|
|
2144
|
+
case CSS_MODE_IN_BLOCK: {
|
|
2145
|
+
if (--blockNestingLevel === 0) {
|
|
2146
|
+
scope = CSS_MODE_TOP_LEVEL;
|
|
2147
|
+
|
|
2148
|
+
if (isModules) {
|
|
2149
|
+
isNextRulePrelude = true;
|
|
2150
|
+
modeData = undefined;
|
|
2151
|
+
lastLocalIdentifiers = [];
|
|
2152
|
+
}
|
|
2153
|
+
} else if (isModules) {
|
|
2154
|
+
isNextRulePrelude = isNextNestedSyntax(input, end);
|
|
2155
|
+
}
|
|
2156
|
+
break;
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
return end;
|
|
2160
|
+
},
|
|
2161
|
+
url: (input, start, end, contentStart, contentEnd) => {
|
|
2162
|
+
if (!this.options.url) {
|
|
2163
|
+
return end;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
return processOldURLFunction(
|
|
2167
|
+
input,
|
|
2168
|
+
start,
|
|
2169
|
+
end,
|
|
2170
|
+
contentStart,
|
|
2171
|
+
contentEnd
|
|
2172
|
+
);
|
|
2173
|
+
},
|
|
2174
|
+
atKeyword: (input, start, end) => {
|
|
2175
|
+
const name = input.slice(start, end).toLowerCase();
|
|
2176
|
+
|
|
2177
|
+
switch (name) {
|
|
2178
|
+
case "@namespace": {
|
|
2179
|
+
this._emitWarning(
|
|
2180
|
+
state,
|
|
2181
|
+
"'@namespace' is not supported in bundled CSS",
|
|
2182
|
+
locConverter,
|
|
2183
|
+
start,
|
|
2184
|
+
end
|
|
2185
|
+
);
|
|
2186
|
+
|
|
2187
|
+
return eatUntilSemi(input, start);
|
|
2188
|
+
}
|
|
2189
|
+
case "@import": {
|
|
2190
|
+
if (!this.options.import) {
|
|
2191
|
+
return eatUntilSemi(input, end);
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
if (!allowImportAtRule) {
|
|
2195
|
+
this._emitWarning(
|
|
2196
|
+
state,
|
|
2197
|
+
"Any '@import' rules must precede all other rules",
|
|
2198
|
+
locConverter,
|
|
2199
|
+
start,
|
|
2200
|
+
end
|
|
2201
|
+
);
|
|
2202
|
+
return end;
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
return processAtImport(input, start, end);
|
|
2206
|
+
}
|
|
2207
|
+
default: {
|
|
2208
|
+
if (isModules) {
|
|
2209
|
+
if (name === "@value") {
|
|
2210
|
+
return processAtValue(input, start, end);
|
|
2211
|
+
} else if (
|
|
2212
|
+
this.options.animation &&
|
|
2213
|
+
OPTIONALLY_VENDOR_PREFIXED_KEYFRAMES_AT_RULE.test(name) &&
|
|
2214
|
+
isLocalMode()
|
|
2215
|
+
) {
|
|
2216
|
+
return processLocalAtRule(input, end, {
|
|
2217
|
+
string: true,
|
|
2218
|
+
identifier: true
|
|
2219
|
+
});
|
|
2220
|
+
} else if (
|
|
2221
|
+
this.options.customIdents &&
|
|
2222
|
+
name === "@counter-style" &&
|
|
2223
|
+
isLocalMode()
|
|
2224
|
+
) {
|
|
2225
|
+
return processLocalAtRule(input, end, {
|
|
2226
|
+
identifier: true
|
|
2227
|
+
});
|
|
2228
|
+
} else if (
|
|
2229
|
+
this.options.container &&
|
|
2230
|
+
name === "@container" &&
|
|
2231
|
+
isLocalMode()
|
|
2232
|
+
) {
|
|
2233
|
+
return processLocalAtRule(input, end, {
|
|
2234
|
+
identifier: /^(none|and|or|not)$/
|
|
2235
|
+
});
|
|
2236
|
+
} else if (name === "@scope") {
|
|
2237
|
+
isNextRulePrelude = true;
|
|
2238
|
+
return end;
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
isNextRulePrelude = false;
|
|
2242
|
+
}
|
|
2243
|
+
}
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
return end;
|
|
2247
|
+
},
|
|
2248
|
+
semicolon: (input, start, end) => {
|
|
2249
|
+
if (isModules && scope === CSS_MODE_IN_BLOCK) {
|
|
2250
|
+
isNextRulePrelude = isNextNestedSyntax(input, end);
|
|
2251
|
+
}
|
|
2252
|
+
return end;
|
|
2253
|
+
},
|
|
2254
|
+
identifier: (input, start, end) => {
|
|
2255
|
+
if (isModules) {
|
|
2256
|
+
const identifier = input.slice(start, end);
|
|
2257
|
+
|
|
2258
|
+
if (icssDefinitions.has(identifier)) {
|
|
2259
|
+
return processICSSSymbol(identifier, start, end);
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2262
|
+
if (
|
|
2263
|
+
this.options.dashedIdents &&
|
|
2264
|
+
isLocalMode() &&
|
|
2265
|
+
isDashedIdentifier(identifier)
|
|
2266
|
+
) {
|
|
2267
|
+
return processDashedIdent(input, start, end);
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
switch (scope) {
|
|
2271
|
+
case CSS_MODE_IN_BLOCK: {
|
|
2272
|
+
if (isModules && !isNextRulePrelude) {
|
|
2273
|
+
// Handle only top level values and not inside functions
|
|
2274
|
+
return processLocalDeclaration(input, start, end);
|
|
2275
|
+
}
|
|
2276
|
+
break;
|
|
2277
|
+
}
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
return end;
|
|
2282
|
+
},
|
|
2283
|
+
delim: (input, start, end) => {
|
|
2284
|
+
if (isNextRulePrelude && isLocalMode()) {
|
|
2285
|
+
return processClassSelector(input, start, end);
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
return end;
|
|
2289
|
+
},
|
|
2290
|
+
hash: (input, start, end, isID) => {
|
|
2291
|
+
if (isNextRulePrelude && isLocalMode() && isID) {
|
|
2292
|
+
return processIdSelector(input, start, end);
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
return end;
|
|
2296
|
+
},
|
|
2297
|
+
colon: (input, start, end) => {
|
|
2298
|
+
if (isModules) {
|
|
2299
|
+
const ident = walkCssTokens.skipCommentsAndEatIdentSequence(
|
|
2300
|
+
input,
|
|
2301
|
+
end
|
|
2302
|
+
);
|
|
2303
|
+
if (!ident) return end;
|
|
2304
|
+
const name = input.slice(ident[0], ident[1]).toLowerCase();
|
|
2305
|
+
|
|
2306
|
+
switch (scope) {
|
|
2307
|
+
case CSS_MODE_TOP_LEVEL: {
|
|
2308
|
+
if (name === "import") {
|
|
2309
|
+
const pos = processImportOrExport(0, input, ident[1]);
|
|
2310
|
+
const dep = new ConstDependency("", [start, pos]);
|
|
2311
|
+
module.addPresentationalDependency(dep);
|
|
2312
|
+
return pos;
|
|
2313
|
+
} else if (name === "export") {
|
|
2314
|
+
const pos = processImportOrExport(1, input, ident[1]);
|
|
2315
|
+
const dep = new ConstDependency("", [start, pos]);
|
|
2316
|
+
module.addPresentationalDependency(dep);
|
|
2317
|
+
return pos;
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2320
|
+
// falls through
|
|
2321
|
+
default: {
|
|
2322
|
+
if (isNextRulePrelude) {
|
|
2323
|
+
const isFn = input.charCodeAt(ident[1]) === CC_LEFT_PARENTHESIS;
|
|
2324
|
+
|
|
2325
|
+
if (isFn && name === "local") {
|
|
2326
|
+
// Eat extra whitespace
|
|
2327
|
+
const end = walkCssTokens.eatWhitespaceAndComments(
|
|
2328
|
+
input,
|
|
2329
|
+
ident[1] + 1
|
|
2330
|
+
)[0];
|
|
2331
|
+
modeData = LOCAL_MODE;
|
|
2332
|
+
const dep = new ConstDependency("", [start, end]);
|
|
2333
|
+
module.addPresentationalDependency(dep);
|
|
2334
|
+
balanced.push([":local", start, end, true]);
|
|
2335
|
+
return end;
|
|
2336
|
+
} else if (name === "local") {
|
|
2337
|
+
modeData = LOCAL_MODE;
|
|
2338
|
+
const found = walkCssTokens.eatWhitespaceAndComments(
|
|
2339
|
+
input,
|
|
2340
|
+
ident[1]
|
|
2341
|
+
);
|
|
2342
|
+
|
|
2343
|
+
if (!found[1]) {
|
|
2344
|
+
this._emitWarning(
|
|
2345
|
+
state,
|
|
2346
|
+
`Missing whitespace after ':local' in '${input.slice(
|
|
2347
|
+
start,
|
|
2348
|
+
eatUntilLeftCurly(input, end) + 1
|
|
2349
|
+
)}'`,
|
|
2350
|
+
locConverter,
|
|
2351
|
+
start,
|
|
2352
|
+
end
|
|
2353
|
+
);
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
end = walkCssTokens.eatWhitespace(input, ident[1]);
|
|
2357
|
+
const dep = new ConstDependency("", [start, end]);
|
|
2358
|
+
module.addPresentationalDependency(dep);
|
|
2359
|
+
return end;
|
|
2360
|
+
} else if (isFn && name === "global") {
|
|
2361
|
+
// Eat extra whitespace
|
|
2362
|
+
const end = walkCssTokens.eatWhitespaceAndComments(
|
|
2363
|
+
input,
|
|
2364
|
+
ident[1] + 1
|
|
2365
|
+
)[0];
|
|
2366
|
+
modeData = GLOBAL_MODE;
|
|
2367
|
+
const dep = new ConstDependency("", [start, end]);
|
|
2368
|
+
module.addPresentationalDependency(dep);
|
|
2369
|
+
balanced.push([":global", start, end, true]);
|
|
2370
|
+
return end;
|
|
2371
|
+
} else if (name === "global") {
|
|
2372
|
+
modeData = GLOBAL_MODE;
|
|
2373
|
+
// Eat extra whitespace
|
|
2374
|
+
const found = walkCssTokens.eatWhitespaceAndComments(
|
|
2375
|
+
input,
|
|
2376
|
+
ident[1]
|
|
2377
|
+
);
|
|
2378
|
+
|
|
2379
|
+
if (!found[1]) {
|
|
2380
|
+
this._emitWarning(
|
|
2381
|
+
state,
|
|
2382
|
+
`Missing whitespace after ':global' in '${input.slice(
|
|
2383
|
+
start,
|
|
2384
|
+
eatUntilLeftCurly(input, end) + 1
|
|
2385
|
+
)}'`,
|
|
2386
|
+
locConverter,
|
|
2387
|
+
start,
|
|
2388
|
+
end
|
|
2389
|
+
);
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
end = walkCssTokens.eatWhitespace(input, ident[1]);
|
|
2393
|
+
const dep = new ConstDependency("", [start, end]);
|
|
2394
|
+
module.addPresentationalDependency(dep);
|
|
2395
|
+
return end;
|
|
2396
|
+
}
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2402
|
+
lastTokenEndForComments = end;
|
|
2403
|
+
|
|
2404
|
+
return end;
|
|
2405
|
+
},
|
|
2406
|
+
function: (input, start, end) => {
|
|
2407
|
+
const name = input
|
|
2408
|
+
.slice(start, end - 1)
|
|
2409
|
+
.replace(/\\/g, "")
|
|
2410
|
+
.toLowerCase();
|
|
2411
|
+
|
|
2412
|
+
balanced.push([name, start, end]);
|
|
2413
|
+
|
|
2414
|
+
switch (name) {
|
|
2415
|
+
case "src":
|
|
2416
|
+
case "url": {
|
|
2417
|
+
if (!this.options.url) {
|
|
2418
|
+
return end;
|
|
2419
|
+
}
|
|
2420
|
+
|
|
2421
|
+
return processURLFunction(input, end, name);
|
|
2422
|
+
}
|
|
2423
|
+
default: {
|
|
2424
|
+
if (this.options.url && IMAGE_SET_FUNCTION.test(name)) {
|
|
2425
|
+
return processImageSetFunction(input, start, end);
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
if (isModules) {
|
|
2429
|
+
if (
|
|
2430
|
+
this.options.function &&
|
|
2431
|
+
isLocalMode() &&
|
|
2432
|
+
isDashedIdentifier(name)
|
|
2433
|
+
) {
|
|
2434
|
+
return processDashedIdent(input, start, end);
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2437
|
+
const type =
|
|
2438
|
+
name === "local" ? 1 : name === "global" ? 2 : undefined;
|
|
2439
|
+
|
|
2440
|
+
if (type && !isNextRulePrelude) {
|
|
2441
|
+
return processLocalOrGlobalFunction(input, type, start, end);
|
|
2442
|
+
}
|
|
2443
|
+
}
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2447
|
+
return end;
|
|
2448
|
+
},
|
|
2449
|
+
leftSquareBracket: (input, start, end) => {
|
|
2450
|
+
if (isNextRulePrelude && isLocalMode()) {
|
|
2451
|
+
return processAttributeSelector(input, start, end);
|
|
2452
|
+
}
|
|
2453
|
+
return end;
|
|
2454
|
+
},
|
|
2455
|
+
leftParenthesis: (input, start, end) => {
|
|
2456
|
+
balanced.push(["(", start, end]);
|
|
2457
|
+
|
|
2458
|
+
return end;
|
|
2459
|
+
},
|
|
2460
|
+
rightParenthesis: (input, start, end) => {
|
|
2461
|
+
const popped = balanced.pop();
|
|
2462
|
+
|
|
2463
|
+
if (isModules && popped) {
|
|
2464
|
+
const isLocal = popped[0] === ":local";
|
|
2465
|
+
const isGlobal = popped[0] === ":global";
|
|
2466
|
+
if (isLocal || isGlobal) {
|
|
2467
|
+
modeData = balanced[balanced.length - 1]
|
|
2468
|
+
? balanced[balanced.length - 1][0] === ":local"
|
|
2469
|
+
? LOCAL_MODE
|
|
2470
|
+
: balanced[balanced.length - 1][0] === ":global"
|
|
2471
|
+
? GLOBAL_MODE
|
|
2472
|
+
: undefined
|
|
2473
|
+
: undefined;
|
|
2474
|
+
if (popped[3] && isLocal) {
|
|
2475
|
+
while (walkCssTokens.isWhiteSpace(input.charCodeAt(start - 1))) {
|
|
2476
|
+
start -= 1;
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
const dep = new ConstDependency("", [start, end]);
|
|
2480
|
+
module.addPresentationalDependency(dep);
|
|
2481
|
+
} else if (isNextRulePrelude) {
|
|
2482
|
+
modeData = undefined;
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
return end;
|
|
2487
|
+
},
|
|
2488
|
+
comma: (input, start, end) => {
|
|
2489
|
+
if (isModules) {
|
|
2490
|
+
const popped = balanced.pop();
|
|
2491
|
+
|
|
2492
|
+
if (!popped) {
|
|
2493
|
+
// Reset stack for `:global .class :local .class-other` selector after
|
|
2494
|
+
modeData = undefined;
|
|
2495
|
+
}
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
lastTokenEndForComments = start;
|
|
2499
|
+
|
|
2500
|
+
return end;
|
|
2501
|
+
}
|
|
2502
|
+
});
|
|
2503
|
+
|
|
2504
|
+
/** @type {BuildInfo} */
|
|
2505
|
+
(module.buildInfo).strict = true;
|
|
2506
|
+
|
|
2507
|
+
const buildMeta = /** @type {BuildMeta} */ (state.module.buildMeta);
|
|
2508
|
+
|
|
2509
|
+
buildMeta.exportsType = this.options.namedExports ? "namespace" : "default";
|
|
2510
|
+
buildMeta.defaultObject = this.options.namedExports
|
|
2511
|
+
? false
|
|
2512
|
+
: "redirect-warn";
|
|
2513
|
+
buildMeta.exportType = this.options.exportType;
|
|
2514
|
+
|
|
2515
|
+
if (!buildMeta.exportType) {
|
|
2516
|
+
// Inherit exportType from parent module to ensure consistency.
|
|
2517
|
+
// When a CSS file is imported with syntax like `import "./basic.css" with { type: "css" }`,
|
|
2518
|
+
// the parent module's exportType is set to "css-style-sheet".
|
|
2519
|
+
// Child modules imported via @import should inherit this exportType
|
|
2520
|
+
// instead of using the default "link", ensuring that the entire
|
|
2521
|
+
// import chain uses the same export format.
|
|
2522
|
+
const parent = state.compilation.moduleGraph.getIssuer(module);
|
|
2523
|
+
if (parent instanceof CssModule) {
|
|
2524
|
+
buildMeta.exportType = /** @type {BuildMeta} */ (
|
|
2525
|
+
parent.buildMeta
|
|
2526
|
+
).exportType;
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2529
|
+
if (!buildMeta.exportType) {
|
|
2530
|
+
buildMeta.exportType = "link";
|
|
2531
|
+
}
|
|
2532
|
+
|
|
2533
|
+
// TODO this.namedExports?
|
|
2534
|
+
if (
|
|
2535
|
+
buildMeta.exportType === "text" ||
|
|
2536
|
+
buildMeta.exportType === "css-style-sheet"
|
|
2537
|
+
) {
|
|
2538
|
+
module.addDependency(new StaticExportsDependency(["default"], true));
|
|
2539
|
+
} else {
|
|
2540
|
+
module.addDependency(new StaticExportsDependency([], true));
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
return state;
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
/**
|
|
2547
|
+
* @param {Range} range range
|
|
2548
|
+
* @returns {Comment[]} comments in the range
|
|
2549
|
+
*/
|
|
2550
|
+
getComments(range) {
|
|
2551
|
+
if (!this.comments) return [];
|
|
2552
|
+
const [rangeStart, rangeEnd] = range;
|
|
2553
|
+
/**
|
|
2554
|
+
* @param {Comment} comment comment
|
|
2555
|
+
* @param {number} needle needle
|
|
2556
|
+
* @returns {number} compared
|
|
2557
|
+
*/
|
|
2558
|
+
const compare = (comment, needle) =>
|
|
2559
|
+
/** @type {Range} */ (comment.range)[0] - needle;
|
|
2560
|
+
const comments = /** @type {Comment[]} */ (this.comments);
|
|
2561
|
+
let idx = binarySearchBounds.ge(comments, rangeStart, compare);
|
|
2562
|
+
/** @type {Comment[]} */
|
|
2563
|
+
const commentsInRange = [];
|
|
2564
|
+
while (
|
|
2565
|
+
comments[idx] &&
|
|
2566
|
+
/** @type {Range} */ (comments[idx].range)[1] <= rangeEnd
|
|
2567
|
+
) {
|
|
2568
|
+
commentsInRange.push(comments[idx]);
|
|
2569
|
+
idx++;
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2572
|
+
return commentsInRange;
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2575
|
+
/**
|
|
2576
|
+
* @param {Range} range range of the comment
|
|
2577
|
+
* @returns {{ options: Record<string, EXPECTED_ANY> | null, errors: (Error & { comment: Comment })[] | null }} result
|
|
2578
|
+
*/
|
|
2579
|
+
parseCommentOptions(range) {
|
|
2580
|
+
const comments = this.getComments(range);
|
|
2581
|
+
if (comments.length === 0) {
|
|
2582
|
+
return EMPTY_COMMENT_OPTIONS;
|
|
2583
|
+
}
|
|
2584
|
+
/** @type {Record<string, EXPECTED_ANY>} */
|
|
2585
|
+
const options = {};
|
|
2586
|
+
/** @type {(Error & { comment: Comment })[]} */
|
|
2587
|
+
const errors = [];
|
|
2588
|
+
for (const comment of comments) {
|
|
2589
|
+
const { value } = comment;
|
|
2590
|
+
if (value && webpackCommentRegExp.test(value)) {
|
|
2591
|
+
// try compile only if webpack options comment is present
|
|
2592
|
+
try {
|
|
2593
|
+
for (let [key, val] of Object.entries(
|
|
2594
|
+
vm.runInContext(
|
|
2595
|
+
`(function(){return {${value}};})()`,
|
|
2596
|
+
this.magicCommentContext
|
|
2597
|
+
)
|
|
2598
|
+
)) {
|
|
2599
|
+
if (typeof val === "object" && val !== null) {
|
|
2600
|
+
val =
|
|
2601
|
+
val.constructor.name === "RegExp"
|
|
2602
|
+
? new RegExp(val)
|
|
2603
|
+
: JSON.parse(JSON.stringify(val));
|
|
2604
|
+
}
|
|
2605
|
+
options[key] = val;
|
|
2606
|
+
}
|
|
2607
|
+
} catch (err) {
|
|
2608
|
+
const newErr = new Error(String(/** @type {Error} */ (err).message));
|
|
2609
|
+
newErr.stack = String(/** @type {Error} */ (err).stack);
|
|
2610
|
+
Object.assign(newErr, { comment });
|
|
2611
|
+
errors.push(/** @type {(Error & { comment: Comment })} */ (newErr));
|
|
2612
|
+
}
|
|
2613
|
+
}
|
|
2614
|
+
}
|
|
2615
|
+
return { options, errors };
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
|
|
2619
|
+
module.exports = CssParser;
|
|
2620
|
+
module.exports.escapeIdentifier = escapeIdentifier;
|
|
2621
|
+
module.exports.unescapeIdentifier = unescapeIdentifier;
|