@module-federation/enhanced 0.0.0-perf-devtools-20260107043700 → 0.0.0-perf-website-code-usage-20260914033703
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/README.md +1 -1
- package/dist/CHANGELOG.md +2678 -0
- package/dist/README.md +213 -0
- package/dist/rstestmigrate.md +140 -0
- package/dist/src/_virtual/_rolldown/runtime.js +47 -0
- package/dist/src/index.d.ts +22 -18
- package/dist/src/index.js +47 -41
- package/dist/src/index.js.map +1 -1
- package/dist/src/lib/Constants.js +136 -116
- package/dist/src/lib/Constants.js.map +1 -1
- package/dist/src/lib/container/AsyncBoundaryPlugin.d.ts +20 -16
- package/dist/src/lib/container/AsyncBoundaryPlugin.js +137 -196
- package/dist/src/lib/container/AsyncBoundaryPlugin.js.map +1 -1
- package/dist/src/lib/container/ContainerEntryDependency.d.ts +25 -23
- package/dist/src/lib/container/ContainerEntryDependency.js +37 -39
- package/dist/src/lib/container/ContainerEntryDependency.js.map +1 -1
- package/dist/src/lib/container/ContainerEntryModule.d.ts +104 -79
- package/dist/src/lib/container/ContainerEntryModule.js +213 -234
- package/dist/src/lib/container/ContainerEntryModule.js.map +1 -1
- package/dist/src/lib/container/ContainerEntryModuleFactory.d.ts +15 -10
- package/dist/src/lib/container/ContainerEntryModuleFactory.js +21 -25
- package/dist/src/lib/container/ContainerEntryModuleFactory.js.map +1 -1
- package/dist/src/lib/container/ContainerExposedDependency.d.ts +26 -23
- package/dist/src/lib/container/ContainerExposedDependency.js +47 -47
- package/dist/src/lib/container/ContainerExposedDependency.js.map +1 -1
- package/dist/src/lib/container/ContainerPlugin.d.ts +12 -8
- package/dist/src/lib/container/ContainerPlugin.js +144 -213
- package/dist/src/lib/container/ContainerPlugin.js.map +1 -1
- package/dist/src/lib/container/ContainerReferencePlugin.d.ts +16 -12
- package/dist/src/lib/container/ContainerReferencePlugin.js +72 -101
- package/dist/src/lib/container/ContainerReferencePlugin.js.map +1 -1
- package/dist/src/lib/container/FallbackDependency.d.ts +24 -19
- package/dist/src/lib/container/FallbackDependency.js +46 -44
- package/dist/src/lib/container/FallbackDependency.js.map +1 -1
- package/dist/src/lib/container/FallbackItemDependency.d.ts +13 -8
- package/dist/src/lib/container/FallbackItemDependency.js +24 -24
- package/dist/src/lib/container/FallbackItemDependency.js.map +1 -1
- package/dist/src/lib/container/FallbackModule.d.ts +82 -71
- package/dist/src/lib/container/FallbackModule.js +133 -145
- package/dist/src/lib/container/FallbackModule.js.map +1 -1
- package/dist/src/lib/container/FallbackModuleFactory.d.ts +15 -10
- package/dist/src/lib/container/FallbackModuleFactory.js +20 -24
- package/dist/src/lib/container/FallbackModuleFactory.js.map +1 -1
- package/dist/src/lib/container/HoistContainerReferencesPlugin.d.ts +11 -7
- package/dist/src/lib/container/HoistContainerReferencesPlugin.js +124 -188
- package/dist/src/lib/container/HoistContainerReferencesPlugin.js.map +1 -1
- package/dist/src/lib/container/ModuleFederationPlugin.d.ts +20 -16
- package/dist/src/lib/container/ModuleFederationPlugin.js +151 -170
- package/dist/src/lib/container/ModuleFederationPlugin.js.map +1 -1
- package/dist/src/lib/container/RemoteModule.d.ts +83 -74
- package/dist/src/lib/container/RemoteModule.js +149 -153
- package/dist/src/lib/container/RemoteModule.js.map +1 -1
- package/dist/src/lib/container/RemoteRuntimeModule.d.ts +12 -7
- package/dist/src/lib/container/RemoteRuntimeModule.js +86 -120
- package/dist/src/lib/container/RemoteRuntimeModule.js.map +1 -1
- package/dist/src/lib/container/RemoteToExternalDependency.d.ts +13 -8
- package/dist/src/lib/container/RemoteToExternalDependency.js +25 -23
- package/dist/src/lib/container/RemoteToExternalDependency.js.map +1 -1
- package/dist/src/lib/container/constant.d.ts +3 -0
- package/dist/src/lib/container/constant.js +11 -14
- package/dist/src/lib/container/constant.js.map +1 -1
- package/dist/src/lib/container/options.d.ts +12 -3
- package/dist/src/lib/container/options.js +51 -69
- package/dist/src/lib/container/options.js.map +1 -1
- package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.d.ts +14 -9
- package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.js +56 -64
- package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.js.map +1 -1
- package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.d.ts +23 -19
- package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.js +70 -101
- package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.js.map +1 -1
- package/dist/src/lib/container/runtime/FederationModulesPlugin.d.ts +20 -16
- package/dist/src/lib/container/runtime/FederationModulesPlugin.js +38 -46
- package/dist/src/lib/container/runtime/FederationModulesPlugin.js.map +1 -1
- package/dist/src/lib/container/runtime/FederationRuntimeDependency.d.ts +9 -4
- package/dist/src/lib/container/runtime/FederationRuntimeDependency.js +16 -12
- package/dist/src/lib/container/runtime/FederationRuntimeDependency.js.map +1 -1
- package/dist/src/lib/container/runtime/FederationRuntimeModule.d.ts +16 -11
- package/dist/src/lib/container/runtime/FederationRuntimeModule.js +39 -46
- package/dist/src/lib/container/runtime/FederationRuntimeModule.js.map +1 -1
- package/dist/src/lib/container/runtime/FederationRuntimePlugin.d.ts +31 -18
- package/dist/src/lib/container/runtime/FederationRuntimePlugin.js +263 -293
- package/dist/src/lib/container/runtime/FederationRuntimePlugin.js.map +1 -1
- package/dist/src/lib/container/runtime/getFederationGlobal.d.ts +9 -4
- package/dist/src/lib/container/runtime/getFederationGlobal.js +43 -41
- package/dist/src/lib/container/runtime/getFederationGlobal.js.map +1 -1
- package/dist/src/lib/container/runtime/normalizeToPosixPath.d.ts +5 -0
- package/dist/src/lib/container/runtime/normalizeToPosixPath.js +20 -0
- package/dist/src/lib/container/runtime/normalizeToPosixPath.js.map +1 -0
- package/dist/src/lib/container/runtime/utils.d.ts +22 -7
- package/dist/src/lib/container/runtime/utils.js +80 -102
- package/dist/src/lib/container/runtime/utils.js.map +1 -1
- package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.d.ts +15 -10
- package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js +27 -25
- package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js.map +1 -1
- package/dist/src/lib/sharing/ConsumeSharedModule.d.ts +77 -67
- package/dist/src/lib/sharing/ConsumeSharedModule.js +190 -214
- package/dist/src/lib/sharing/ConsumeSharedModule.js.map +1 -1
- package/dist/src/lib/sharing/ConsumeSharedPlugin.d.ts +13 -9
- package/dist/src/lib/sharing/ConsumeSharedPlugin.js +308 -472
- package/dist/src/lib/sharing/ConsumeSharedPlugin.js.map +1 -1
- package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.d.ts +16 -11
- package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js +108 -123
- package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js.map +1 -1
- package/dist/src/lib/sharing/ProvideForSharedDependency.d.ts +14 -9
- package/dist/src/lib/sharing/ProvideForSharedDependency.js +25 -25
- package/dist/src/lib/sharing/ProvideForSharedDependency.js.map +1 -1
- package/dist/src/lib/sharing/ProvideSharedDependency.d.ts +44 -38
- package/dist/src/lib/sharing/ProvideSharedDependency.js +72 -74
- package/dist/src/lib/sharing/ProvideSharedDependency.js.map +1 -1
- package/dist/src/lib/sharing/ProvideSharedModule.d.ts +91 -81
- package/dist/src/lib/sharing/ProvideSharedModule.js +177 -181
- package/dist/src/lib/sharing/ProvideSharedModule.js.map +1 -1
- package/dist/src/lib/sharing/ProvideSharedModuleFactory.d.ts +14 -9
- package/dist/src/lib/sharing/ProvideSharedModuleFactory.js +19 -25
- package/dist/src/lib/sharing/ProvideSharedModuleFactory.js.map +1 -1
- package/dist/src/lib/sharing/ProvideSharedPlugin.d.ts +27 -21
- package/dist/src/lib/sharing/ProvideSharedPlugin.js +341 -548
- package/dist/src/lib/sharing/ProvideSharedPlugin.js.map +1 -1
- package/dist/src/lib/sharing/SharePlugin.d.ts +55 -12
- package/dist/src/lib/sharing/SharePlugin.js +91 -91
- package/dist/src/lib/sharing/SharePlugin.js.map +1 -1
- package/dist/src/lib/sharing/ShareRuntimeModule.d.ts +12 -7
- package/dist/src/lib/sharing/ShareRuntimeModule.js +81 -99
- package/dist/src/lib/sharing/ShareRuntimeModule.js.map +1 -1
- package/dist/src/lib/sharing/resolveMatchedConfigs.d.ts +11 -7
- package/dist/src/lib/sharing/resolveMatchedConfigs.js +58 -71
- package/dist/src/lib/sharing/resolveMatchedConfigs.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.d.ts +25 -0
- package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.js +85 -0
- package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.js.map +1 -0
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.d.ts +41 -0
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.js +227 -0
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.js.map +1 -0
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.d.ts +26 -0
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.js +32 -0
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.js.map +1 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.d.ts +32 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.js +94 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.js.map +1 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.d.ts +31 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.js +49 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.js.map +1 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.d.ts +22 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.js +35 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.js.map +1 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.d.ts +87 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.js +144 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.js.map +1 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.d.ts +16 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.js +23 -0
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.js.map +1 -0
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.d.ts +23 -0
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.js +163 -0
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.js.map +1 -0
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.d.ts +22 -0
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.js +28 -0
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.js.map +1 -0
- package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.d.ts +20 -0
- package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.js +44 -0
- package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.js.map +1 -0
- package/dist/src/lib/sharing/utils.d.ts +27 -23
- package/dist/src/lib/sharing/utils.js +224 -366
- package/dist/src/lib/sharing/utils.js.map +1 -1
- package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.d.ts +11 -7
- package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.js +56 -75
- package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.js.map +1 -1
- package/dist/src/lib/startup/StartupHelpers.d.ts +11 -6
- package/dist/src/lib/startup/StartupHelpers.js +128 -178
- package/dist/src/lib/startup/StartupHelpers.js.map +1 -1
- package/dist/src/rspack.d.ts +3 -2
- package/dist/src/rspack.js +35 -10
- package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.d.ts +8 -4
- package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js +19 -16
- package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js.map +1 -1
- package/dist/src/runtime.d.ts +1 -1
- package/dist/src/runtime.js +11 -18
- package/dist/src/runtime.mjs +3 -0
- package/dist/src/schemas/container/ContainerPlugin.check.d.ts +13 -5
- package/dist/src/schemas/container/ContainerPlugin.check.js +767 -1220
- package/dist/src/schemas/container/ContainerPlugin.check.js.map +1 -1
- package/dist/src/schemas/container/ContainerPlugin.d.ts +267 -268
- package/dist/src/schemas/container/ContainerPlugin.js +269 -361
- package/dist/src/schemas/container/ContainerPlugin.js.map +1 -1
- package/dist/src/schemas/container/ContainerReferencePlugin.check.d.ts +13 -5
- package/dist/src/schemas/container/ContainerReferencePlugin.check.js +335 -443
- package/dist/src/schemas/container/ContainerReferencePlugin.check.js.map +1 -1
- package/dist/src/schemas/container/ContainerReferencePlugin.d.ts +102 -99
- package/dist/src/schemas/container/ContainerReferencePlugin.js +122 -162
- package/dist/src/schemas/container/ContainerReferencePlugin.js.map +1 -1
- package/dist/src/schemas/container/ExternalsType.check.d.ts +13 -5
- package/dist/src/schemas/container/ExternalsType.check.js +36 -62
- package/dist/src/schemas/container/ExternalsType.check.js.map +1 -1
- package/dist/src/schemas/container/ExternalsType.d.ts +5 -2
- package/dist/src/schemas/container/ExternalsType.js +8 -11
- package/dist/src/schemas/container/ExternalsType.js.map +1 -1
- package/dist/src/schemas/container/ModuleFederationPlugin.check.js +3020 -4301
- package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +1 -1
- package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +828 -758
- package/dist/src/schemas/container/ModuleFederationPlugin.js +788 -993
- package/dist/src/schemas/container/ModuleFederationPlugin.js.map +1 -1
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.d.ts +13 -5
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js +568 -739
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js.map +1 -1
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.d.ts +197 -189
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.js +212 -233
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.js.map +1 -1
- package/dist/src/schemas/sharing/ProvideSharedPlugin.check.d.ts +13 -5
- package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js +598 -775
- package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js.map +1 -1
- package/dist/src/schemas/sharing/ProvideSharedPlugin.d.ts +184 -176
- package/dist/src/schemas/sharing/ProvideSharedPlugin.js +196 -224
- package/dist/src/schemas/sharing/ProvideSharedPlugin.js.map +1 -1
- package/dist/src/schemas/sharing/ProviderSharedPlugin.check.d.ts +12 -4
- package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js +285 -482
- package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js.map +1 -1
- package/dist/src/schemas/sharing/ProviderSharedPlugin.d.ts +103 -100
- package/dist/src/schemas/sharing/ProviderSharedPlugin.js +104 -126
- package/dist/src/schemas/sharing/ProviderSharedPlugin.js.map +1 -1
- package/dist/src/schemas/sharing/SharePlugin.check.d.ts +13 -5
- package/dist/src/schemas/sharing/SharePlugin.check.js +749 -794
- package/dist/src/schemas/sharing/SharePlugin.check.js.map +1 -1
- package/dist/src/schemas/sharing/SharePlugin.d.ts +245 -205
- package/dist/src/schemas/sharing/SharePlugin.js +256 -253
- package/dist/src/schemas/sharing/SharePlugin.js.map +1 -1
- package/dist/src/utils.d.ts +3 -0
- package/dist/src/utils.js +35 -26
- package/dist/src/utils.js.map +1 -1
- package/dist/src/webpack.d.ts +2 -2
- package/dist/src/webpack.js +6 -40
- package/dist/src/wrapper/AsyncBoundaryPlugin.d.ts +9 -7
- package/dist/src/wrapper/AsyncBoundaryPlugin.js +13 -17
- package/dist/src/wrapper/AsyncBoundaryPlugin.js.map +1 -1
- package/dist/src/wrapper/BaseWrapperPlugin.d.ts +32 -0
- package/dist/src/wrapper/BaseWrapperPlugin.js +43 -0
- package/dist/src/wrapper/BaseWrapperPlugin.js.map +1 -0
- package/dist/src/wrapper/ConsumeSharedPlugin.d.ts +10 -7
- package/dist/src/wrapper/ConsumeSharedPlugin.js +13 -17
- package/dist/src/wrapper/ConsumeSharedPlugin.js.map +1 -1
- package/dist/src/wrapper/ContainerPlugin.d.ts +9 -7
- package/dist/src/wrapper/ContainerPlugin.js +13 -17
- package/dist/src/wrapper/ContainerPlugin.js.map +1 -1
- package/dist/src/wrapper/ContainerReferencePlugin.d.ts +9 -7
- package/dist/src/wrapper/ContainerReferencePlugin.js +13 -17
- package/dist/src/wrapper/ContainerReferencePlugin.js.map +1 -1
- package/dist/src/wrapper/FederationModulesPlugin.d.ts +18 -10
- package/dist/src/wrapper/FederationModulesPlugin.js +20 -21
- package/dist/src/wrapper/FederationModulesPlugin.js.map +1 -1
- package/dist/src/wrapper/FederationRuntimePlugin.d.ts +11 -8
- package/dist/src/wrapper/FederationRuntimePlugin.js +19 -20
- package/dist/src/wrapper/FederationRuntimePlugin.js.map +1 -1
- package/dist/src/wrapper/HoistContainerReferencesPlugin.d.ts +8 -5
- package/dist/src/wrapper/HoistContainerReferencesPlugin.js +13 -16
- package/dist/src/wrapper/HoistContainerReferencesPlugin.js.map +1 -1
- package/dist/src/wrapper/ModuleFederationPlugin.d.ts +12 -9
- package/dist/src/wrapper/ModuleFederationPlugin.js +71 -104
- package/dist/src/wrapper/ModuleFederationPlugin.js.map +1 -1
- package/dist/src/wrapper/ProvideSharedPlugin.d.ts +10 -7
- package/dist/src/wrapper/ProvideSharedPlugin.js +13 -17
- package/dist/src/wrapper/ProvideSharedPlugin.js.map +1 -1
- package/dist/src/wrapper/SharePlugin.d.ts +10 -7
- package/dist/src/wrapper/SharePlugin.js +13 -17
- package/dist/src/wrapper/SharePlugin.js.map +1 -1
- package/dist/src/wrapper/TreeShakingSharedPlugin.d.ts +10 -0
- package/dist/src/wrapper/TreeShakingSharedPlugin.js +15 -0
- package/dist/src/wrapper/TreeShakingSharedPlugin.js.map +1 -0
- package/package.json +27 -29
- package/dist/package.json +0 -110
- package/dist/src/declarations/plugins/container/AsyncDependenciesBlock.d.ts +0 -57
- package/dist/src/declarations/plugins/container/ModuleFactory.d.ts +0 -33
- package/dist/src/declarations/plugins/container/ObjectDeserializerContext.d.ts +0 -4
- package/dist/src/declarations/plugins/container/StaticExportsDependency.d.ts +0 -28
- package/dist/src/declarations/plugins/container/Template.d.ts +0 -198
- package/dist/src/declarations/plugins/container/WebpackError.d.ts +0 -33
- package/dist/src/declarations/plugins/sharing/ConsumeSharedModule.d.ts +0 -82
- package/dist/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.ts +0 -96
- package/dist/src/declarations/plugins/sharing/ProvideSharedPlugin.d.ts +0 -98
- package/dist/src/declarations/plugins/sharing/SharePlugin.d.ts +0 -108
- package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.d.ts +0 -20
- package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.js +0 -219
- package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.js.map +0 -1
- package/dist/src/prefetch.d.ts +0 -2
- package/dist/src/prefetch.js +0 -8
- package/dist/src/prefetch.js.map +0 -1
- package/dist/src/rspack.js.map +0 -1
- package/dist/src/runtime.js.map +0 -1
- package/dist/src/types/runtime.d.ts +0 -10
- package/dist/src/types/runtime.js +0 -3
- package/dist/src/types/runtime.js.map +0 -1
- package/dist/src/webpack.js.map +0 -1
|
@@ -1,1229 +1,776 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Exposes: {
|
|
26
|
-
anyOf: [
|
|
27
|
-
{
|
|
28
|
-
type: 'array',
|
|
29
|
-
items: {
|
|
30
|
-
anyOf: [
|
|
31
|
-
{ $ref: '#/definitions/ExposesItem' },
|
|
32
|
-
{ $ref: '#/definitions/ExposesObject' },
|
|
33
|
-
],
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
{ $ref: '#/definitions/ExposesObject' },
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
ExposesConfig: {
|
|
40
|
-
type: 'object',
|
|
41
|
-
additionalProperties: !1,
|
|
42
|
-
properties: {
|
|
43
|
-
import: {
|
|
44
|
-
anyOf: [
|
|
45
|
-
{ $ref: '#/definitions/ExposesItem' },
|
|
46
|
-
{ $ref: '#/definitions/ExposesItems' },
|
|
47
|
-
],
|
|
48
|
-
},
|
|
49
|
-
name: { type: 'string' },
|
|
50
|
-
},
|
|
51
|
-
required: ['import'],
|
|
52
|
-
},
|
|
53
|
-
ExposesItem: { type: 'string', minLength: 1 },
|
|
54
|
-
ExposesItems: {
|
|
55
|
-
type: 'array',
|
|
56
|
-
items: { $ref: '#/definitions/ExposesItem' },
|
|
57
|
-
},
|
|
58
|
-
ExposesObject: {
|
|
59
|
-
type: 'object',
|
|
60
|
-
additionalProperties: {
|
|
61
|
-
anyOf: [
|
|
62
|
-
{ $ref: '#/definitions/ExposesConfig' },
|
|
63
|
-
{ $ref: '#/definitions/ExposesItem' },
|
|
64
|
-
{ $ref: '#/definitions/ExposesItems' },
|
|
65
|
-
],
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
LibraryCustomUmdCommentObject: {
|
|
69
|
-
type: 'object',
|
|
70
|
-
additionalProperties: !1,
|
|
71
|
-
properties: {
|
|
72
|
-
amd: { type: 'string' },
|
|
73
|
-
commonjs: { type: 'string' },
|
|
74
|
-
commonjs2: { type: 'string' },
|
|
75
|
-
root: { type: 'string' },
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
LibraryCustomUmdObject: {
|
|
79
|
-
type: 'object',
|
|
80
|
-
additionalProperties: !1,
|
|
81
|
-
properties: {
|
|
82
|
-
amd: { type: 'string', minLength: 1 },
|
|
83
|
-
commonjs: { type: 'string', minLength: 1 },
|
|
84
|
-
root: {
|
|
85
|
-
anyOf: [
|
|
86
|
-
{ type: 'array', items: { type: 'string', minLength: 1 } },
|
|
87
|
-
{ type: 'string', minLength: 1 },
|
|
88
|
-
],
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
LibraryExport: {
|
|
93
|
-
anyOf: [
|
|
94
|
-
{ type: 'array', items: { type: 'string', minLength: 1 } },
|
|
95
|
-
{ type: 'string', minLength: 1 },
|
|
96
|
-
],
|
|
97
|
-
},
|
|
98
|
-
LibraryName: {
|
|
99
|
-
anyOf: [
|
|
100
|
-
{
|
|
101
|
-
type: 'array',
|
|
102
|
-
items: { type: 'string', minLength: 1 },
|
|
103
|
-
minItems: 1,
|
|
104
|
-
},
|
|
105
|
-
{ type: 'string', minLength: 1 },
|
|
106
|
-
{ $ref: '#/definitions/LibraryCustomUmdObject' },
|
|
107
|
-
],
|
|
108
|
-
},
|
|
109
|
-
LibraryOptions: {
|
|
110
|
-
type: 'object',
|
|
111
|
-
additionalProperties: !1,
|
|
112
|
-
properties: {
|
|
113
|
-
amdContainer: { $ref: '#/definitions/AmdContainer' },
|
|
114
|
-
auxiliaryComment: { $ref: '#/definitions/AuxiliaryComment' },
|
|
115
|
-
export: { $ref: '#/definitions/LibraryExport' },
|
|
116
|
-
name: { $ref: '#/definitions/LibraryName' },
|
|
117
|
-
type: { $ref: '#/definitions/LibraryType' },
|
|
118
|
-
umdNamedDefine: { $ref: '#/definitions/UmdNamedDefine' },
|
|
119
|
-
},
|
|
120
|
-
required: ['type'],
|
|
121
|
-
},
|
|
122
|
-
LibraryType: {
|
|
123
|
-
anyOf: [
|
|
124
|
-
{
|
|
125
|
-
enum: [
|
|
126
|
-
'var',
|
|
127
|
-
'module',
|
|
128
|
-
'assign',
|
|
129
|
-
'assign-properties',
|
|
130
|
-
'this',
|
|
131
|
-
'window',
|
|
132
|
-
'self',
|
|
133
|
-
'global',
|
|
134
|
-
'commonjs',
|
|
135
|
-
'commonjs2',
|
|
136
|
-
'commonjs-module',
|
|
137
|
-
'commonjs-static',
|
|
138
|
-
'amd',
|
|
139
|
-
'amd-require',
|
|
140
|
-
'umd',
|
|
141
|
-
'umd2',
|
|
142
|
-
'jsonp',
|
|
143
|
-
'system',
|
|
144
|
-
],
|
|
145
|
-
},
|
|
146
|
-
{ type: 'string' },
|
|
147
|
-
],
|
|
148
|
-
},
|
|
149
|
-
UmdNamedDefine: { type: 'boolean' },
|
|
150
|
-
},
|
|
151
|
-
type: 'object',
|
|
152
|
-
additionalProperties: !1,
|
|
153
|
-
properties: {
|
|
154
|
-
exposes: { $ref: '#/definitions/Exposes' },
|
|
155
|
-
filename: { type: 'string', absolutePath: !1, minLength: 1 },
|
|
156
|
-
library: { $ref: '#/definitions/LibraryOptions' },
|
|
157
|
-
name: { type: 'string', minLength: 1 },
|
|
158
|
-
runtime: { $ref: '#/definitions/EntryRuntime' },
|
|
159
|
-
shareScope: {
|
|
160
|
-
anyOf: [
|
|
161
|
-
{ type: 'string', minLength: 1 },
|
|
162
|
-
{ type: 'array', items: { type: 'string', minLength: 1 } },
|
|
163
|
-
],
|
|
164
|
-
},
|
|
165
|
-
experiments: {
|
|
166
|
-
type: 'object',
|
|
167
|
-
additionalProperties: !1,
|
|
168
|
-
properties: {
|
|
169
|
-
asyncStartup: { type: 'boolean' },
|
|
170
|
-
externalRuntime: { type: 'boolean', default: !1 },
|
|
171
|
-
provideExternalRuntime: { type: 'boolean', default: !1 },
|
|
172
|
-
},
|
|
173
|
-
},
|
|
174
|
-
dataPrefetch: { type: 'boolean' },
|
|
175
|
-
runtimePlugins: {
|
|
176
|
-
type: 'array',
|
|
177
|
-
items: {
|
|
178
|
-
anyOf: [
|
|
179
|
-
{ type: 'string' },
|
|
180
|
-
{
|
|
181
|
-
type: 'array',
|
|
182
|
-
items: [{ type: 'string' }, { type: 'object' }],
|
|
183
|
-
minItems: 2,
|
|
184
|
-
maxItems: 2,
|
|
185
|
-
},
|
|
186
|
-
],
|
|
187
|
-
},
|
|
188
|
-
},
|
|
189
|
-
},
|
|
190
|
-
required: ['name', 'exposes'],
|
|
191
|
-
}, r = { anyOf: [{ enum: [!1] }, { type: 'string', minLength: 1 }] }, n = Object.prototype.hasOwnProperty;
|
|
192
|
-
function s(t, { instancePath: e = '', parentData: r, parentDataProperty: n, rootData: a = t, } = {}) {
|
|
193
|
-
if (!Array.isArray(t))
|
|
194
|
-
return (s.errors = [{ params: { type: 'array' } }]), !1;
|
|
195
|
-
{
|
|
196
|
-
const e = t.length;
|
|
197
|
-
for (let r = 0; r < e; r++) {
|
|
198
|
-
let e = t[r];
|
|
199
|
-
const n = 0;
|
|
200
|
-
if ('string' != typeof e)
|
|
201
|
-
return (s.errors = [{ params: { type: 'string' } }]), !1;
|
|
202
|
-
if (e.length < 1)
|
|
203
|
-
return (s.errors = [{ params: {} }]), !1;
|
|
204
|
-
if (0 !== n)
|
|
205
|
-
break;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
return (s.errors = null), !0;
|
|
1
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
+
const require_runtime = require('../../_virtual/_rolldown/runtime.js');
|
|
3
|
+
|
|
4
|
+
//#region src/schemas/container/ContainerPlugin.check.ts
|
|
5
|
+
const r = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/;
|
|
6
|
+
const validate = f;
|
|
7
|
+
var ContainerPlugin_check_default = f;
|
|
8
|
+
const t = { anyOf: [{ enum: [!1] }, {
|
|
9
|
+
type: "string",
|
|
10
|
+
minLength: 1
|
|
11
|
+
}] };
|
|
12
|
+
function e(r, { instancePath: t = "", parentData: n, parentDataProperty: s, rootData: a = r } = {}) {
|
|
13
|
+
if (!Array.isArray(r)) return e.errors = [{ params: { type: "array" } }], !1;
|
|
14
|
+
{
|
|
15
|
+
const t = r.length;
|
|
16
|
+
for (let n = 0; n < t; n++) {
|
|
17
|
+
let t = r[n];
|
|
18
|
+
const s = 0;
|
|
19
|
+
if ("string" != typeof t) return e.errors = [{ params: { type: "string" } }], !1;
|
|
20
|
+
if (t.length < 1) return e.errors = [{ params: {} }], !1;
|
|
21
|
+
if (0 !== s) break;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return e.errors = null, !0;
|
|
209
25
|
}
|
|
210
|
-
function
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
else
|
|
263
|
-
f = !0;
|
|
264
|
-
if (f)
|
|
265
|
-
if (void 0 !== t.name) {
|
|
266
|
-
const e = l;
|
|
267
|
-
if ('string' != typeof t.name)
|
|
268
|
-
return (a.errors = [{ params: { type: 'string' } }]), !1;
|
|
269
|
-
f = e === l;
|
|
270
|
-
}
|
|
271
|
-
else
|
|
272
|
-
f = !0;
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
return (a.errors = i), 0 === l;
|
|
26
|
+
function n(r, { instancePath: t = "", parentData: s, parentDataProperty: a, rootData: o = r } = {}) {
|
|
27
|
+
let i = null, l = 0;
|
|
28
|
+
if (0 === l) {
|
|
29
|
+
if (!r || "object" != typeof r || Array.isArray(r)) return n.errors = [{ params: { type: "object" } }], !1;
|
|
30
|
+
{
|
|
31
|
+
let s;
|
|
32
|
+
if (void 0 === r.import && (s = "import")) return n.errors = [{ params: { missingProperty: s } }], !1;
|
|
33
|
+
{
|
|
34
|
+
const s = l;
|
|
35
|
+
for (const t in r) if ("import" !== t && "name" !== t) return n.errors = [{ params: { additionalProperty: t } }], !1;
|
|
36
|
+
if (s === l) {
|
|
37
|
+
if (void 0 !== r.import) {
|
|
38
|
+
let s = r.import;
|
|
39
|
+
const a = l, u = l;
|
|
40
|
+
let c = !1;
|
|
41
|
+
const m = l;
|
|
42
|
+
if (l == l) if ("string" == typeof s) {
|
|
43
|
+
if (s.length < 1) {
|
|
44
|
+
const r = { params: {} };
|
|
45
|
+
null === i ? i = [r] : i.push(r), l++;
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
const r = { params: { type: "string" } };
|
|
49
|
+
null === i ? i = [r] : i.push(r), l++;
|
|
50
|
+
}
|
|
51
|
+
var p = m === l;
|
|
52
|
+
if (c = c || p, !c) {
|
|
53
|
+
const n = l;
|
|
54
|
+
e(s, {
|
|
55
|
+
instancePath: t + "/import",
|
|
56
|
+
parentData: r,
|
|
57
|
+
parentDataProperty: "import",
|
|
58
|
+
rootData: o
|
|
59
|
+
}) || (i = null === i ? e.errors : i.concat(e.errors), l = i.length), p = n === l, c = c || p;
|
|
60
|
+
}
|
|
61
|
+
if (!c) {
|
|
62
|
+
const r = { params: {} };
|
|
63
|
+
return null === i ? i = [r] : i.push(r), l++, n.errors = i, !1;
|
|
64
|
+
}
|
|
65
|
+
l = u, null !== i && (u ? i.length = u : i = null);
|
|
66
|
+
var f = a === l;
|
|
67
|
+
} else f = !0;
|
|
68
|
+
if (f) if (void 0 !== r.name) {
|
|
69
|
+
const t = l;
|
|
70
|
+
if ("string" != typeof r.name) return n.errors = [{ params: { type: "string" } }], !1;
|
|
71
|
+
f = t === l;
|
|
72
|
+
} else f = !0;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return n.errors = i, 0 === l;
|
|
278
78
|
}
|
|
279
|
-
function
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
return null === l ? (l = [t]) : l.push(t), p++, (o.errors = l), !1;
|
|
325
|
-
}
|
|
326
|
-
if (((p = u), null !== l && (u ? (l.length = u) : (l = null)), m !== p))
|
|
327
|
-
break;
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
return (o.errors = l), 0 === p;
|
|
79
|
+
function s(r, { instancePath: t = "", parentData: a, parentDataProperty: o, rootData: i = r } = {}) {
|
|
80
|
+
let l = null, p = 0;
|
|
81
|
+
if (0 === p) {
|
|
82
|
+
if (!r || "object" != typeof r || Array.isArray(r)) return s.errors = [{ params: { type: "object" } }], !1;
|
|
83
|
+
for (const a in r) {
|
|
84
|
+
let o = r[a];
|
|
85
|
+
const u = p, c = p;
|
|
86
|
+
let m = !1;
|
|
87
|
+
const y = p;
|
|
88
|
+
n(o, {
|
|
89
|
+
instancePath: t + "/" + a.replace(/~/g, "~0").replace(/\//g, "~1"),
|
|
90
|
+
parentData: r,
|
|
91
|
+
parentDataProperty: a,
|
|
92
|
+
rootData: i
|
|
93
|
+
}) || (l = null === l ? n.errors : l.concat(n.errors), p = l.length);
|
|
94
|
+
var f = y === p;
|
|
95
|
+
if (m = m || f, !m) {
|
|
96
|
+
const n = p;
|
|
97
|
+
if (p == p) if ("string" == typeof o) {
|
|
98
|
+
if (o.length < 1) {
|
|
99
|
+
const r = { params: {} };
|
|
100
|
+
null === l ? l = [r] : l.push(r), p++;
|
|
101
|
+
}
|
|
102
|
+
} else {
|
|
103
|
+
const r = { params: { type: "string" } };
|
|
104
|
+
null === l ? l = [r] : l.push(r), p++;
|
|
105
|
+
}
|
|
106
|
+
if (f = n === p, m = m || f, !m) {
|
|
107
|
+
const n = p;
|
|
108
|
+
e(o, {
|
|
109
|
+
instancePath: t + "/" + a.replace(/~/g, "~0").replace(/\//g, "~1"),
|
|
110
|
+
parentData: r,
|
|
111
|
+
parentDataProperty: a,
|
|
112
|
+
rootData: i
|
|
113
|
+
}) || (l = null === l ? e.errors : l.concat(e.errors), p = l.length), f = n === p, m = m || f;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
if (!m) {
|
|
117
|
+
const r = { params: {} };
|
|
118
|
+
return null === l ? l = [r] : l.push(r), p++, s.errors = l, !1;
|
|
119
|
+
}
|
|
120
|
+
if (p = c, null !== l && (c ? l.length = c : l = null), u !== p) break;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return s.errors = l, 0 === p;
|
|
331
124
|
}
|
|
332
|
-
function
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
parentDataProperty: n,
|
|
390
|
-
rootData: s,
|
|
391
|
-
}) || ((a = null === a ? o.errors : a.concat(o.errors)), (l = a.length)),
|
|
392
|
-
(c = i === l),
|
|
393
|
-
(f = f || c);
|
|
394
|
-
}
|
|
395
|
-
if (!f) {
|
|
396
|
-
const t = { params: {} };
|
|
397
|
-
return null === a ? (a = [t]) : a.push(t), l++, (i.errors = a), !1;
|
|
398
|
-
}
|
|
399
|
-
return ((l = p),
|
|
400
|
-
null !== a && (p ? (a.length = p) : (a = null)),
|
|
401
|
-
(i.errors = a),
|
|
402
|
-
0 === l);
|
|
125
|
+
function a(r, { instancePath: t = "", parentData: e, parentDataProperty: n, rootData: o = r } = {}) {
|
|
126
|
+
let i = null, l = 0;
|
|
127
|
+
const p = l;
|
|
128
|
+
let f = !1;
|
|
129
|
+
const u = l;
|
|
130
|
+
if (l === u) if (Array.isArray(r)) {
|
|
131
|
+
const e = r.length;
|
|
132
|
+
for (let n = 0; n < e; n++) {
|
|
133
|
+
let e = r[n];
|
|
134
|
+
const a = l, p = l;
|
|
135
|
+
let f = !1;
|
|
136
|
+
const u = l;
|
|
137
|
+
if (l == l) if ("string" == typeof e) {
|
|
138
|
+
if (e.length < 1) {
|
|
139
|
+
const r = { params: {} };
|
|
140
|
+
null === i ? i = [r] : i.push(r), l++;
|
|
141
|
+
}
|
|
142
|
+
} else {
|
|
143
|
+
const r = { params: { type: "string" } };
|
|
144
|
+
null === i ? i = [r] : i.push(r), l++;
|
|
145
|
+
}
|
|
146
|
+
var c = u === l;
|
|
147
|
+
if (f = f || c, !f) {
|
|
148
|
+
const a = l;
|
|
149
|
+
s(e, {
|
|
150
|
+
instancePath: t + "/" + n,
|
|
151
|
+
parentData: r,
|
|
152
|
+
parentDataProperty: n,
|
|
153
|
+
rootData: o
|
|
154
|
+
}) || (i = null === i ? s.errors : i.concat(s.errors), l = i.length), c = a === l, f = f || c;
|
|
155
|
+
}
|
|
156
|
+
if (f) l = p, null !== i && (p ? i.length = p : i = null);
|
|
157
|
+
else {
|
|
158
|
+
const r = { params: {} };
|
|
159
|
+
null === i ? i = [r] : i.push(r), l++;
|
|
160
|
+
}
|
|
161
|
+
if (a !== l) break;
|
|
162
|
+
}
|
|
163
|
+
} else {
|
|
164
|
+
const r = { params: { type: "array" } };
|
|
165
|
+
null === i ? i = [r] : i.push(r), l++;
|
|
166
|
+
}
|
|
167
|
+
var m = u === l;
|
|
168
|
+
if (f = f || m, !f) {
|
|
169
|
+
const a = l;
|
|
170
|
+
s(r, {
|
|
171
|
+
instancePath: t,
|
|
172
|
+
parentData: e,
|
|
173
|
+
parentDataProperty: n,
|
|
174
|
+
rootData: o
|
|
175
|
+
}) || (i = null === i ? s.errors : i.concat(s.errors), l = i.length), m = a === l, f = f || m;
|
|
176
|
+
}
|
|
177
|
+
if (!f) {
|
|
178
|
+
const r = { params: {} };
|
|
179
|
+
return null === i ? i = [r] : i.push(r), l++, a.errors = i, !1;
|
|
180
|
+
}
|
|
181
|
+
return l = p, null !== i && (p ? i.length = p : i = null), a.errors = i, 0 === l;
|
|
403
182
|
}
|
|
404
|
-
const
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
};
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
const t = { params: { type: 'string' } };
|
|
493
|
-
null === a ? (a = [t]) : a.push(t), o++;
|
|
494
|
-
}
|
|
495
|
-
u = e === o;
|
|
496
|
-
}
|
|
497
|
-
else
|
|
498
|
-
u = !0;
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
else {
|
|
504
|
-
const t = { params: { type: 'object' } };
|
|
505
|
-
null === a ? (a = [t]) : a.push(t), o++;
|
|
506
|
-
}
|
|
507
|
-
(m = e === o), (l = l || m);
|
|
508
|
-
}
|
|
509
|
-
if (!l) {
|
|
510
|
-
const t = { params: {} };
|
|
511
|
-
return null === a ? (a = [t]) : a.push(t), o++, (p.errors = a), !1;
|
|
512
|
-
}
|
|
513
|
-
return ((o = i),
|
|
514
|
-
null !== a && (i ? (a.length = i) : (a = null)),
|
|
515
|
-
(p.errors = a),
|
|
516
|
-
0 === o);
|
|
183
|
+
const o = { anyOf: [{ enum: [
|
|
184
|
+
"var",
|
|
185
|
+
"module",
|
|
186
|
+
"assign",
|
|
187
|
+
"assign-properties",
|
|
188
|
+
"this",
|
|
189
|
+
"window",
|
|
190
|
+
"self",
|
|
191
|
+
"global",
|
|
192
|
+
"commonjs",
|
|
193
|
+
"commonjs2",
|
|
194
|
+
"commonjs-module",
|
|
195
|
+
"commonjs-static",
|
|
196
|
+
"amd",
|
|
197
|
+
"amd-require",
|
|
198
|
+
"umd",
|
|
199
|
+
"umd2",
|
|
200
|
+
"jsonp",
|
|
201
|
+
"system"
|
|
202
|
+
] }, { type: "string" }] };
|
|
203
|
+
function i(r, { instancePath: t = "", parentData: e, parentDataProperty: n, rootData: s = r } = {}) {
|
|
204
|
+
let a = null, o = 0;
|
|
205
|
+
const l = o;
|
|
206
|
+
let p = !1;
|
|
207
|
+
const f = o;
|
|
208
|
+
if ("string" != typeof r) {
|
|
209
|
+
const r = { params: { type: "string" } };
|
|
210
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
211
|
+
}
|
|
212
|
+
var u = f === o;
|
|
213
|
+
if (p = p || u, !p) {
|
|
214
|
+
const t = o;
|
|
215
|
+
if (o == o) if (r && "object" == typeof r && !Array.isArray(r)) {
|
|
216
|
+
const t = o;
|
|
217
|
+
for (const t in r) if ("amd" !== t && "commonjs" !== t && "commonjs2" !== t && "root" !== t) {
|
|
218
|
+
const r = { params: { additionalProperty: t } };
|
|
219
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
if (t === o) {
|
|
223
|
+
if (void 0 !== r.amd) {
|
|
224
|
+
const t = o;
|
|
225
|
+
if ("string" != typeof r.amd) {
|
|
226
|
+
const r = { params: { type: "string" } };
|
|
227
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
228
|
+
}
|
|
229
|
+
var c = t === o;
|
|
230
|
+
} else c = !0;
|
|
231
|
+
if (c) {
|
|
232
|
+
if (void 0 !== r.commonjs) {
|
|
233
|
+
const t = o;
|
|
234
|
+
if ("string" != typeof r.commonjs) {
|
|
235
|
+
const r = { params: { type: "string" } };
|
|
236
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
237
|
+
}
|
|
238
|
+
c = t === o;
|
|
239
|
+
} else c = !0;
|
|
240
|
+
if (c) {
|
|
241
|
+
if (void 0 !== r.commonjs2) {
|
|
242
|
+
const t = o;
|
|
243
|
+
if ("string" != typeof r.commonjs2) {
|
|
244
|
+
const r = { params: { type: "string" } };
|
|
245
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
246
|
+
}
|
|
247
|
+
c = t === o;
|
|
248
|
+
} else c = !0;
|
|
249
|
+
if (c) if (void 0 !== r.root) {
|
|
250
|
+
const t = o;
|
|
251
|
+
if ("string" != typeof r.root) {
|
|
252
|
+
const r = { params: { type: "string" } };
|
|
253
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
254
|
+
}
|
|
255
|
+
c = t === o;
|
|
256
|
+
} else c = !0;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
} else {
|
|
261
|
+
const r = { params: { type: "object" } };
|
|
262
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
263
|
+
}
|
|
264
|
+
u = t === o, p = p || u;
|
|
265
|
+
}
|
|
266
|
+
if (!p) {
|
|
267
|
+
const r = { params: {} };
|
|
268
|
+
return null === a ? a = [r] : a.push(r), o++, i.errors = a, !1;
|
|
269
|
+
}
|
|
270
|
+
return o = l, null !== a && (l ? a.length = l : a = null), i.errors = a, 0 === o;
|
|
517
271
|
}
|
|
518
|
-
function
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
const t = { params: { type: 'string' } };
|
|
659
|
-
null === a ? (a = [t]) : a.push(t), o++;
|
|
660
|
-
}
|
|
661
|
-
(c = t === o), (s = s || c);
|
|
662
|
-
}
|
|
663
|
-
if (s)
|
|
664
|
-
(o = n), null !== a && (n ? (a.length = n) : (a = null));
|
|
665
|
-
else {
|
|
666
|
-
const t = { params: {} };
|
|
667
|
-
null === a ? (a = [t]) : a.push(t), o++;
|
|
668
|
-
}
|
|
669
|
-
u = r === o;
|
|
670
|
-
}
|
|
671
|
-
else
|
|
672
|
-
u = !0;
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
else {
|
|
677
|
-
const t = { params: { type: 'object' } };
|
|
678
|
-
null === a ? (a = [t]) : a.push(t), o++;
|
|
679
|
-
}
|
|
680
|
-
(m = e === o), (l = l || m);
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
if (!l) {
|
|
684
|
-
const t = { params: {} };
|
|
685
|
-
return null === a ? (a = [t]) : a.push(t), o++, (f.errors = a), !1;
|
|
686
|
-
}
|
|
687
|
-
return ((o = i),
|
|
688
|
-
null !== a && (i ? (a.length = i) : (a = null)),
|
|
689
|
-
(f.errors = a),
|
|
690
|
-
0 === o);
|
|
272
|
+
function l(r, { instancePath: t = "", parentData: e, parentDataProperty: n, rootData: s = r } = {}) {
|
|
273
|
+
let a = null, o = 0;
|
|
274
|
+
const i = o;
|
|
275
|
+
let p = !1;
|
|
276
|
+
const f = o;
|
|
277
|
+
if (o === f) if (Array.isArray(r)) if (r.length < 1) {
|
|
278
|
+
const r = { params: { limit: 1 } };
|
|
279
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
280
|
+
} else {
|
|
281
|
+
const t = r.length;
|
|
282
|
+
for (let e = 0; e < t; e++) {
|
|
283
|
+
let t = r[e];
|
|
284
|
+
const n = o;
|
|
285
|
+
if (o === n) if ("string" == typeof t) {
|
|
286
|
+
if (t.length < 1) {
|
|
287
|
+
const r = { params: {} };
|
|
288
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
289
|
+
}
|
|
290
|
+
} else {
|
|
291
|
+
const r = { params: { type: "string" } };
|
|
292
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
293
|
+
}
|
|
294
|
+
if (n !== o) break;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
else {
|
|
298
|
+
const r = { params: { type: "array" } };
|
|
299
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
300
|
+
}
|
|
301
|
+
var u = f === o;
|
|
302
|
+
if (p = p || u, !p) {
|
|
303
|
+
const t = o;
|
|
304
|
+
if (o === t) if ("string" == typeof r) {
|
|
305
|
+
if (r.length < 1) {
|
|
306
|
+
const r = { params: {} };
|
|
307
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
308
|
+
}
|
|
309
|
+
} else {
|
|
310
|
+
const r = { params: { type: "string" } };
|
|
311
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
312
|
+
}
|
|
313
|
+
if (u = t === o, p = p || u, !p) {
|
|
314
|
+
const t = o;
|
|
315
|
+
if (o == o) if (r && "object" == typeof r && !Array.isArray(r)) {
|
|
316
|
+
const t = o;
|
|
317
|
+
for (const t in r) if ("amd" !== t && "commonjs" !== t && "root" !== t) {
|
|
318
|
+
const r = { params: { additionalProperty: t } };
|
|
319
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
320
|
+
break;
|
|
321
|
+
}
|
|
322
|
+
if (t === o) {
|
|
323
|
+
if (void 0 !== r.amd) {
|
|
324
|
+
let t = r.amd;
|
|
325
|
+
const e = o;
|
|
326
|
+
if (o === e) if ("string" == typeof t) {
|
|
327
|
+
if (t.length < 1) {
|
|
328
|
+
const r = { params: {} };
|
|
329
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
330
|
+
}
|
|
331
|
+
} else {
|
|
332
|
+
const r = { params: { type: "string" } };
|
|
333
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
334
|
+
}
|
|
335
|
+
var c = e === o;
|
|
336
|
+
} else c = !0;
|
|
337
|
+
if (c) {
|
|
338
|
+
if (void 0 !== r.commonjs) {
|
|
339
|
+
let t = r.commonjs;
|
|
340
|
+
const e = o;
|
|
341
|
+
if (o === e) if ("string" == typeof t) {
|
|
342
|
+
if (t.length < 1) {
|
|
343
|
+
const r = { params: {} };
|
|
344
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
345
|
+
}
|
|
346
|
+
} else {
|
|
347
|
+
const r = { params: { type: "string" } };
|
|
348
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
349
|
+
}
|
|
350
|
+
c = e === o;
|
|
351
|
+
} else c = !0;
|
|
352
|
+
if (c) if (void 0 !== r.root) {
|
|
353
|
+
let t = r.root;
|
|
354
|
+
const e = o, n = o;
|
|
355
|
+
let s = !1;
|
|
356
|
+
const i = o;
|
|
357
|
+
if (o === i) if (Array.isArray(t)) {
|
|
358
|
+
const r = t.length;
|
|
359
|
+
for (let e = 0; e < r; e++) {
|
|
360
|
+
let r = t[e];
|
|
361
|
+
const n = o;
|
|
362
|
+
if (o === n) if ("string" == typeof r) {
|
|
363
|
+
if (r.length < 1) {
|
|
364
|
+
const r = { params: {} };
|
|
365
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
366
|
+
}
|
|
367
|
+
} else {
|
|
368
|
+
const r = { params: { type: "string" } };
|
|
369
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
370
|
+
}
|
|
371
|
+
if (n !== o) break;
|
|
372
|
+
}
|
|
373
|
+
} else {
|
|
374
|
+
const r = { params: { type: "array" } };
|
|
375
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
376
|
+
}
|
|
377
|
+
var m = i === o;
|
|
378
|
+
if (s = s || m, !s) {
|
|
379
|
+
const r = o;
|
|
380
|
+
if (o === r) if ("string" == typeof t) {
|
|
381
|
+
if (t.length < 1) {
|
|
382
|
+
const r = { params: {} };
|
|
383
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
384
|
+
}
|
|
385
|
+
} else {
|
|
386
|
+
const r = { params: { type: "string" } };
|
|
387
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
388
|
+
}
|
|
389
|
+
m = r === o, s = s || m;
|
|
390
|
+
}
|
|
391
|
+
if (s) o = n, null !== a && (n ? a.length = n : a = null);
|
|
392
|
+
else {
|
|
393
|
+
const r = { params: {} };
|
|
394
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
395
|
+
}
|
|
396
|
+
c = e === o;
|
|
397
|
+
} else c = !0;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
} else {
|
|
401
|
+
const r = { params: { type: "object" } };
|
|
402
|
+
null === a ? a = [r] : a.push(r), o++;
|
|
403
|
+
}
|
|
404
|
+
u = t === o, p = p || u;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
if (!p) {
|
|
408
|
+
const r = { params: {} };
|
|
409
|
+
return null === a ? a = [r] : a.push(r), o++, l.errors = a, !1;
|
|
410
|
+
}
|
|
411
|
+
return o = i, null !== a && (i ? a.length = i : a = null), l.errors = a, 0 === o;
|
|
691
412
|
}
|
|
692
|
-
function
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
const p = o;
|
|
818
|
-
if ('var' !== e &&
|
|
819
|
-
'module' !== e &&
|
|
820
|
-
'assign' !== e &&
|
|
821
|
-
'assign-properties' !== e &&
|
|
822
|
-
'this' !== e &&
|
|
823
|
-
'window' !== e &&
|
|
824
|
-
'self' !== e &&
|
|
825
|
-
'global' !== e &&
|
|
826
|
-
'commonjs' !== e &&
|
|
827
|
-
'commonjs2' !== e &&
|
|
828
|
-
'commonjs-module' !== e &&
|
|
829
|
-
'commonjs-static' !== e &&
|
|
830
|
-
'amd' !== e &&
|
|
831
|
-
'amd-require' !== e &&
|
|
832
|
-
'umd' !== e &&
|
|
833
|
-
'umd2' !== e &&
|
|
834
|
-
'jsonp' !== e &&
|
|
835
|
-
'system' !== e) {
|
|
836
|
-
const t = { params: { allowedValues: l.anyOf[0].enum } };
|
|
837
|
-
null === a ? (a = [t]) : a.push(t), o++;
|
|
838
|
-
}
|
|
839
|
-
var c = p === o;
|
|
840
|
-
if (((s = s || c), !s)) {
|
|
841
|
-
const t = o;
|
|
842
|
-
if ('string' != typeof e) {
|
|
843
|
-
const t = { params: { type: 'string' } };
|
|
844
|
-
null === a ? (a = [t]) : a.push(t), o++;
|
|
845
|
-
}
|
|
846
|
-
(c = t === o), (s = s || c);
|
|
847
|
-
}
|
|
848
|
-
if (!s) {
|
|
849
|
-
const t = { params: {} };
|
|
850
|
-
return (null === a ? (a = [t]) : a.push(t),
|
|
851
|
-
o++,
|
|
852
|
-
(m.errors = a),
|
|
853
|
-
!1);
|
|
854
|
-
}
|
|
855
|
-
(o = n),
|
|
856
|
-
null !== a && (n ? (a.length = n) : (a = null)),
|
|
857
|
-
(i = r === o);
|
|
858
|
-
}
|
|
859
|
-
else
|
|
860
|
-
i = !0;
|
|
861
|
-
if (i)
|
|
862
|
-
if (void 0 !== t.umdNamedDefine) {
|
|
863
|
-
const e = o;
|
|
864
|
-
if ('boolean' != typeof t.umdNamedDefine)
|
|
865
|
-
return ((m.errors = [{ params: { type: 'boolean' } }]), !1);
|
|
866
|
-
i = e === o;
|
|
867
|
-
}
|
|
868
|
-
else
|
|
869
|
-
i = !0;
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
return (m.errors = a), 0 === o;
|
|
413
|
+
function p(r, { instancePath: t = "", parentData: e, parentDataProperty: n, rootData: s = r } = {}) {
|
|
414
|
+
let a = null, f = 0;
|
|
415
|
+
if (0 === f) {
|
|
416
|
+
if (!r || "object" != typeof r || Array.isArray(r)) return p.errors = [{ params: { type: "object" } }], !1;
|
|
417
|
+
{
|
|
418
|
+
let e;
|
|
419
|
+
if (void 0 === r.type && (e = "type")) return p.errors = [{ params: { missingProperty: e } }], !1;
|
|
420
|
+
{
|
|
421
|
+
const e = f;
|
|
422
|
+
for (const t in r) if ("amdContainer" !== t && "auxiliaryComment" !== t && "export" !== t && "name" !== t && "type" !== t && "umdNamedDefine" !== t) return p.errors = [{ params: { additionalProperty: t } }], !1;
|
|
423
|
+
if (e === f) {
|
|
424
|
+
if (void 0 !== r.amdContainer) {
|
|
425
|
+
let t = r.amdContainer;
|
|
426
|
+
const e = f;
|
|
427
|
+
if (f == f) {
|
|
428
|
+
if ("string" != typeof t) return p.errors = [{ params: { type: "string" } }], !1;
|
|
429
|
+
if (t.length < 1) return p.errors = [{ params: {} }], !1;
|
|
430
|
+
}
|
|
431
|
+
var u = e === f;
|
|
432
|
+
} else u = !0;
|
|
433
|
+
if (u) {
|
|
434
|
+
if (void 0 !== r.auxiliaryComment) {
|
|
435
|
+
const e = f;
|
|
436
|
+
i(r.auxiliaryComment, {
|
|
437
|
+
instancePath: t + "/auxiliaryComment",
|
|
438
|
+
parentData: r,
|
|
439
|
+
parentDataProperty: "auxiliaryComment",
|
|
440
|
+
rootData: s
|
|
441
|
+
}) || (a = null === a ? i.errors : a.concat(i.errors), f = a.length), u = e === f;
|
|
442
|
+
} else u = !0;
|
|
443
|
+
if (u) {
|
|
444
|
+
if (void 0 !== r.export) {
|
|
445
|
+
let t = r.export;
|
|
446
|
+
const e = f, n = f;
|
|
447
|
+
let s = !1;
|
|
448
|
+
const o = f;
|
|
449
|
+
if (f === o) if (Array.isArray(t)) {
|
|
450
|
+
const r = t.length;
|
|
451
|
+
for (let e = 0; e < r; e++) {
|
|
452
|
+
let r = t[e];
|
|
453
|
+
const n = f;
|
|
454
|
+
if (f === n) if ("string" == typeof r) {
|
|
455
|
+
if (r.length < 1) {
|
|
456
|
+
const r = { params: {} };
|
|
457
|
+
null === a ? a = [r] : a.push(r), f++;
|
|
458
|
+
}
|
|
459
|
+
} else {
|
|
460
|
+
const r = { params: { type: "string" } };
|
|
461
|
+
null === a ? a = [r] : a.push(r), f++;
|
|
462
|
+
}
|
|
463
|
+
if (n !== f) break;
|
|
464
|
+
}
|
|
465
|
+
} else {
|
|
466
|
+
const r = { params: { type: "array" } };
|
|
467
|
+
null === a ? a = [r] : a.push(r), f++;
|
|
468
|
+
}
|
|
469
|
+
var c = o === f;
|
|
470
|
+
if (s = s || c, !s) {
|
|
471
|
+
const r = f;
|
|
472
|
+
if (f === r) if ("string" == typeof t) {
|
|
473
|
+
if (t.length < 1) {
|
|
474
|
+
const r = { params: {} };
|
|
475
|
+
null === a ? a = [r] : a.push(r), f++;
|
|
476
|
+
}
|
|
477
|
+
} else {
|
|
478
|
+
const r = { params: { type: "string" } };
|
|
479
|
+
null === a ? a = [r] : a.push(r), f++;
|
|
480
|
+
}
|
|
481
|
+
c = r === f, s = s || c;
|
|
482
|
+
}
|
|
483
|
+
if (!s) {
|
|
484
|
+
const r = { params: {} };
|
|
485
|
+
return null === a ? a = [r] : a.push(r), f++, p.errors = a, !1;
|
|
486
|
+
}
|
|
487
|
+
f = n, null !== a && (n ? a.length = n : a = null), u = e === f;
|
|
488
|
+
} else u = !0;
|
|
489
|
+
if (u) {
|
|
490
|
+
if (void 0 !== r.name) {
|
|
491
|
+
const e = f;
|
|
492
|
+
l(r.name, {
|
|
493
|
+
instancePath: t + "/name",
|
|
494
|
+
parentData: r,
|
|
495
|
+
parentDataProperty: "name",
|
|
496
|
+
rootData: s
|
|
497
|
+
}) || (a = null === a ? l.errors : a.concat(l.errors), f = a.length), u = e === f;
|
|
498
|
+
} else u = !0;
|
|
499
|
+
if (u) {
|
|
500
|
+
if (void 0 !== r.type) {
|
|
501
|
+
let t = r.type;
|
|
502
|
+
const e = f, n = f;
|
|
503
|
+
let s = !1;
|
|
504
|
+
const i = f;
|
|
505
|
+
if ("var" !== t && "module" !== t && "assign" !== t && "assign-properties" !== t && "this" !== t && "window" !== t && "self" !== t && "global" !== t && "commonjs" !== t && "commonjs2" !== t && "commonjs-module" !== t && "commonjs-static" !== t && "amd" !== t && "amd-require" !== t && "umd" !== t && "umd2" !== t && "jsonp" !== t && "system" !== t) {
|
|
506
|
+
const r = { params: { allowedValues: o.anyOf[0].enum } };
|
|
507
|
+
null === a ? a = [r] : a.push(r), f++;
|
|
508
|
+
}
|
|
509
|
+
var m = i === f;
|
|
510
|
+
if (s = s || m, !s) {
|
|
511
|
+
const r = f;
|
|
512
|
+
if ("string" != typeof t) {
|
|
513
|
+
const r = { params: { type: "string" } };
|
|
514
|
+
null === a ? a = [r] : a.push(r), f++;
|
|
515
|
+
}
|
|
516
|
+
m = r === f, s = s || m;
|
|
517
|
+
}
|
|
518
|
+
if (!s) {
|
|
519
|
+
const r = { params: {} };
|
|
520
|
+
return null === a ? a = [r] : a.push(r), f++, p.errors = a, !1;
|
|
521
|
+
}
|
|
522
|
+
f = n, null !== a && (n ? a.length = n : a = null), u = e === f;
|
|
523
|
+
} else u = !0;
|
|
524
|
+
if (u) if (void 0 !== r.umdNamedDefine) {
|
|
525
|
+
const t = f;
|
|
526
|
+
if ("boolean" != typeof r.umdNamedDefine) return p.errors = [{ params: { type: "boolean" } }], !1;
|
|
527
|
+
u = t === f;
|
|
528
|
+
} else u = !0;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
return p.errors = a, 0 === f;
|
|
879
538
|
}
|
|
880
|
-
function
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
y = e === c;
|
|
1113
|
-
}
|
|
1114
|
-
else
|
|
1115
|
-
y = !0;
|
|
1116
|
-
if (y) {
|
|
1117
|
-
if (void 0 !== s.dataPrefetch) {
|
|
1118
|
-
const t = c;
|
|
1119
|
-
if ('boolean' != typeof s.dataPrefetch)
|
|
1120
|
-
return ((u.errors = [{ params: { type: 'boolean' } }]), !1);
|
|
1121
|
-
y = t === c;
|
|
1122
|
-
}
|
|
1123
|
-
else
|
|
1124
|
-
y = !0;
|
|
1125
|
-
if (y)
|
|
1126
|
-
if (void 0 !== s.runtimePlugins) {
|
|
1127
|
-
let t = s.runtimePlugins;
|
|
1128
|
-
const e = c;
|
|
1129
|
-
if (c === e) {
|
|
1130
|
-
if (!Array.isArray(t))
|
|
1131
|
-
return ((u.errors = [{ params: { type: 'array' } }]),
|
|
1132
|
-
!1);
|
|
1133
|
-
{
|
|
1134
|
-
const e = t.length;
|
|
1135
|
-
for (let r = 0; r < e; r++) {
|
|
1136
|
-
let e = t[r];
|
|
1137
|
-
const n = c, s = c;
|
|
1138
|
-
let a = !1;
|
|
1139
|
-
const o = c;
|
|
1140
|
-
if ('string' != typeof e) {
|
|
1141
|
-
const t = { params: { type: 'string' } };
|
|
1142
|
-
null === f ? (f = [t]) : f.push(t), c++;
|
|
1143
|
-
}
|
|
1144
|
-
var b = o === c;
|
|
1145
|
-
if (((a = a || b), !a)) {
|
|
1146
|
-
const t = c;
|
|
1147
|
-
if (c === t)
|
|
1148
|
-
if (Array.isArray(e))
|
|
1149
|
-
if (e.length > 2) {
|
|
1150
|
-
const t = { params: { limit: 2 } };
|
|
1151
|
-
null === f ? (f = [t]) : f.push(t),
|
|
1152
|
-
c++;
|
|
1153
|
-
}
|
|
1154
|
-
else if (e.length < 2) {
|
|
1155
|
-
const t = { params: { limit: 2 } };
|
|
1156
|
-
null === f ? (f = [t]) : f.push(t),
|
|
1157
|
-
c++;
|
|
1158
|
-
}
|
|
1159
|
-
else {
|
|
1160
|
-
const t = e.length;
|
|
1161
|
-
if (t > 0) {
|
|
1162
|
-
const t = c;
|
|
1163
|
-
if ('string' != typeof e[0]) {
|
|
1164
|
-
const t = {
|
|
1165
|
-
params: { type: 'string' },
|
|
1166
|
-
};
|
|
1167
|
-
null === f
|
|
1168
|
-
? (f = [t])
|
|
1169
|
-
: f.push(t),
|
|
1170
|
-
c++;
|
|
1171
|
-
}
|
|
1172
|
-
var j = t === c;
|
|
1173
|
-
}
|
|
1174
|
-
if (j && t > 1) {
|
|
1175
|
-
let t = e[1];
|
|
1176
|
-
const r = c;
|
|
1177
|
-
if (!t ||
|
|
1178
|
-
'object' != typeof t ||
|
|
1179
|
-
Array.isArray(t)) {
|
|
1180
|
-
const t = {
|
|
1181
|
-
params: { type: 'object' },
|
|
1182
|
-
};
|
|
1183
|
-
null === f
|
|
1184
|
-
? (f = [t])
|
|
1185
|
-
: f.push(t),
|
|
1186
|
-
c++;
|
|
1187
|
-
}
|
|
1188
|
-
j = r === c;
|
|
1189
|
-
}
|
|
1190
|
-
}
|
|
1191
|
-
else {
|
|
1192
|
-
const t = { params: { type: 'array' } };
|
|
1193
|
-
null === f ? (f = [t]) : f.push(t), c++;
|
|
1194
|
-
}
|
|
1195
|
-
(b = t === c), (a = a || b);
|
|
1196
|
-
}
|
|
1197
|
-
if (!a) {
|
|
1198
|
-
const t = { params: {} };
|
|
1199
|
-
return (null === f ? (f = [t]) : f.push(t),
|
|
1200
|
-
c++,
|
|
1201
|
-
(u.errors = f),
|
|
1202
|
-
!1);
|
|
1203
|
-
}
|
|
1204
|
-
if (((c = s),
|
|
1205
|
-
null !== f &&
|
|
1206
|
-
(s ? (f.length = s) : (f = null)),
|
|
1207
|
-
n !== c))
|
|
1208
|
-
break;
|
|
1209
|
-
}
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
y = e === c;
|
|
1213
|
-
}
|
|
1214
|
-
else
|
|
1215
|
-
y = !0;
|
|
1216
|
-
}
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
1227
|
-
return (u.errors = f), 0 === c;
|
|
539
|
+
function f(e, { instancePath: n = "", parentData: s, parentDataProperty: o, rootData: i = e } = {}) {
|
|
540
|
+
let l = null, u = 0;
|
|
541
|
+
if (0 === u) {
|
|
542
|
+
if (!e || "object" != typeof e || Array.isArray(e)) return f.errors = [{ params: { type: "object" } }], !1;
|
|
543
|
+
{
|
|
544
|
+
let s;
|
|
545
|
+
if (void 0 === e.name && (s = "name") || void 0 === e.exposes && (s = "exposes")) return f.errors = [{ params: { missingProperty: s } }], !1;
|
|
546
|
+
{
|
|
547
|
+
const s = u;
|
|
548
|
+
for (const r in e) if ("exposes" !== r && "filename" !== r && "library" !== r && "name" !== r && "runtime" !== r && "shareScope" !== r && "experiments" !== r && "runtimePlugins" !== r) return f.errors = [{ params: { additionalProperty: r } }], !1;
|
|
549
|
+
if (s === u) {
|
|
550
|
+
if (void 0 !== e.exposes) {
|
|
551
|
+
const r = u;
|
|
552
|
+
a(e.exposes, {
|
|
553
|
+
instancePath: n + "/exposes",
|
|
554
|
+
parentData: e,
|
|
555
|
+
parentDataProperty: "exposes",
|
|
556
|
+
rootData: i
|
|
557
|
+
}) || (l = null === l ? a.errors : l.concat(a.errors), u = l.length);
|
|
558
|
+
var c = r === u;
|
|
559
|
+
} else c = !0;
|
|
560
|
+
if (c) {
|
|
561
|
+
if (void 0 !== e.filename) {
|
|
562
|
+
let t = e.filename;
|
|
563
|
+
const n = u;
|
|
564
|
+
if (u === n) {
|
|
565
|
+
if ("string" != typeof t) return f.errors = [{ params: { type: "string" } }], !1;
|
|
566
|
+
if (t.length < 1) return f.errors = [{ params: {} }], !1;
|
|
567
|
+
if (t.includes("!") || !1 !== r.test(t)) return f.errors = [{ params: {} }], !1;
|
|
568
|
+
}
|
|
569
|
+
c = n === u;
|
|
570
|
+
} else c = !0;
|
|
571
|
+
if (c) {
|
|
572
|
+
if (void 0 !== e.library) {
|
|
573
|
+
const r = u;
|
|
574
|
+
p(e.library, {
|
|
575
|
+
instancePath: n + "/library",
|
|
576
|
+
parentData: e,
|
|
577
|
+
parentDataProperty: "library",
|
|
578
|
+
rootData: i
|
|
579
|
+
}) || (l = null === l ? p.errors : l.concat(p.errors), u = l.length), c = r === u;
|
|
580
|
+
} else c = !0;
|
|
581
|
+
if (c) {
|
|
582
|
+
if (void 0 !== e.name) {
|
|
583
|
+
let r = e.name;
|
|
584
|
+
const t = u;
|
|
585
|
+
if (u === t) {
|
|
586
|
+
if ("string" != typeof r) return f.errors = [{ params: { type: "string" } }], !1;
|
|
587
|
+
if (r.length < 1) return f.errors = [{ params: {} }], !1;
|
|
588
|
+
}
|
|
589
|
+
c = t === u;
|
|
590
|
+
} else c = !0;
|
|
591
|
+
if (c) {
|
|
592
|
+
if (void 0 !== e.runtime) {
|
|
593
|
+
let r = e.runtime;
|
|
594
|
+
const n = u, s = u;
|
|
595
|
+
let a = !1;
|
|
596
|
+
const o = u;
|
|
597
|
+
if (!1 !== r) {
|
|
598
|
+
const r = { params: { allowedValues: t.anyOf[0].enum } };
|
|
599
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
600
|
+
}
|
|
601
|
+
var m = o === u;
|
|
602
|
+
if (a = a || m, !a) {
|
|
603
|
+
const t = u;
|
|
604
|
+
if (u === t) if ("string" == typeof r) {
|
|
605
|
+
if (r.length < 1) {
|
|
606
|
+
const r = { params: {} };
|
|
607
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
608
|
+
}
|
|
609
|
+
} else {
|
|
610
|
+
const r = { params: { type: "string" } };
|
|
611
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
612
|
+
}
|
|
613
|
+
m = t === u, a = a || m;
|
|
614
|
+
}
|
|
615
|
+
if (!a) {
|
|
616
|
+
const r = { params: {} };
|
|
617
|
+
return null === l ? l = [r] : l.push(r), u++, f.errors = l, !1;
|
|
618
|
+
}
|
|
619
|
+
u = s, null !== l && (s ? l.length = s : l = null), c = n === u;
|
|
620
|
+
} else c = !0;
|
|
621
|
+
if (c) {
|
|
622
|
+
if (void 0 !== e.shareScope) {
|
|
623
|
+
let r = e.shareScope;
|
|
624
|
+
const t = u, n = u;
|
|
625
|
+
let s = !1;
|
|
626
|
+
const a = u;
|
|
627
|
+
if (u === a) if ("string" == typeof r) {
|
|
628
|
+
if (r.length < 1) {
|
|
629
|
+
const r = { params: {} };
|
|
630
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
631
|
+
}
|
|
632
|
+
} else {
|
|
633
|
+
const r = { params: { type: "string" } };
|
|
634
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
635
|
+
}
|
|
636
|
+
var y = a === u;
|
|
637
|
+
if (s = s || y, !s) {
|
|
638
|
+
const t = u;
|
|
639
|
+
if (u === t) if (Array.isArray(r)) {
|
|
640
|
+
const t = r.length;
|
|
641
|
+
for (let e = 0; e < t; e++) {
|
|
642
|
+
let t = r[e];
|
|
643
|
+
const n = u;
|
|
644
|
+
if (u === n) if ("string" == typeof t) {
|
|
645
|
+
if (t.length < 1) {
|
|
646
|
+
const r = { params: {} };
|
|
647
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
648
|
+
}
|
|
649
|
+
} else {
|
|
650
|
+
const r = { params: { type: "string" } };
|
|
651
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
652
|
+
}
|
|
653
|
+
if (n !== u) break;
|
|
654
|
+
}
|
|
655
|
+
} else {
|
|
656
|
+
const r = { params: { type: "array" } };
|
|
657
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
658
|
+
}
|
|
659
|
+
y = t === u, s = s || y;
|
|
660
|
+
}
|
|
661
|
+
if (!s) {
|
|
662
|
+
const r = { params: {} };
|
|
663
|
+
return null === l ? l = [r] : l.push(r), u++, f.errors = l, !1;
|
|
664
|
+
}
|
|
665
|
+
u = n, null !== l && (n ? l.length = n : l = null), c = t === u;
|
|
666
|
+
} else c = !0;
|
|
667
|
+
if (c) {
|
|
668
|
+
if (void 0 !== e.experiments) {
|
|
669
|
+
let r = e.experiments;
|
|
670
|
+
const t = u;
|
|
671
|
+
if (u === t) {
|
|
672
|
+
if (!r || "object" != typeof r || Array.isArray(r)) return f.errors = [{ params: { type: "object" } }], !1;
|
|
673
|
+
{
|
|
674
|
+
const t = u;
|
|
675
|
+
for (const t in r) if ("asyncStartup" !== t && "externalRuntime" !== t && "provideExternalRuntime" !== t) return f.errors = [{ params: { additionalProperty: t } }], !1;
|
|
676
|
+
if (t === u) {
|
|
677
|
+
if (void 0 !== r.asyncStartup) {
|
|
678
|
+
const t = u;
|
|
679
|
+
if ("boolean" != typeof r.asyncStartup) return f.errors = [{ params: { type: "boolean" } }], !1;
|
|
680
|
+
var h = t === u;
|
|
681
|
+
} else h = !0;
|
|
682
|
+
if (h) {
|
|
683
|
+
if (void 0 !== r.externalRuntime) {
|
|
684
|
+
const t = u;
|
|
685
|
+
if ("boolean" != typeof r.externalRuntime) return f.errors = [{ params: { type: "boolean" } }], !1;
|
|
686
|
+
h = t === u;
|
|
687
|
+
} else h = !0;
|
|
688
|
+
if (h) if (void 0 !== r.provideExternalRuntime) {
|
|
689
|
+
const t = u;
|
|
690
|
+
if ("boolean" != typeof r.provideExternalRuntime) return f.errors = [{ params: { type: "boolean" } }], !1;
|
|
691
|
+
h = t === u;
|
|
692
|
+
} else h = !0;
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
c = t === u;
|
|
698
|
+
} else c = !0;
|
|
699
|
+
if (c) if (void 0 !== e.runtimePlugins) {
|
|
700
|
+
let r = e.runtimePlugins;
|
|
701
|
+
const t = u;
|
|
702
|
+
if (u === t) {
|
|
703
|
+
if (!Array.isArray(r)) return f.errors = [{ params: { type: "array" } }], !1;
|
|
704
|
+
{
|
|
705
|
+
const t = r.length;
|
|
706
|
+
for (let e = 0; e < t; e++) {
|
|
707
|
+
let t = r[e];
|
|
708
|
+
const n = u, s = u;
|
|
709
|
+
let a = !1;
|
|
710
|
+
const o = u;
|
|
711
|
+
if ("string" != typeof t) {
|
|
712
|
+
const r = { params: { type: "string" } };
|
|
713
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
714
|
+
}
|
|
715
|
+
var g = o === u;
|
|
716
|
+
if (a = a || g, !a) {
|
|
717
|
+
const r = u;
|
|
718
|
+
if (u === r) if (Array.isArray(t)) if (t.length > 2) {
|
|
719
|
+
const r = { params: { limit: 2 } };
|
|
720
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
721
|
+
} else if (t.length < 2) {
|
|
722
|
+
const r = { params: { limit: 2 } };
|
|
723
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
724
|
+
} else {
|
|
725
|
+
const r = t.length;
|
|
726
|
+
if (r > 0) {
|
|
727
|
+
const r = u;
|
|
728
|
+
if ("string" != typeof t[0]) {
|
|
729
|
+
const r = { params: { type: "string" } };
|
|
730
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
731
|
+
}
|
|
732
|
+
var d = r === u;
|
|
733
|
+
}
|
|
734
|
+
if (d && r > 1) {
|
|
735
|
+
let r = t[1];
|
|
736
|
+
const e = u;
|
|
737
|
+
if (!r || "object" != typeof r || Array.isArray(r)) {
|
|
738
|
+
const r = { params: { type: "object" } };
|
|
739
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
740
|
+
}
|
|
741
|
+
d = e === u;
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
else {
|
|
745
|
+
const r = { params: { type: "array" } };
|
|
746
|
+
null === l ? l = [r] : l.push(r), u++;
|
|
747
|
+
}
|
|
748
|
+
g = r === u, a = a || g;
|
|
749
|
+
}
|
|
750
|
+
if (!a) {
|
|
751
|
+
const r = { params: {} };
|
|
752
|
+
return null === l ? l = [r] : l.push(r), u++, f.errors = l, !1;
|
|
753
|
+
}
|
|
754
|
+
if (u = s, null !== l && (s ? l.length = s : l = null), n !== u) break;
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
c = t === u;
|
|
759
|
+
} else c = !0;
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
return f.errors = l, 0 === u;
|
|
1228
771
|
}
|
|
772
|
+
|
|
773
|
+
//#endregion
|
|
774
|
+
exports.default = ContainerPlugin_check_default;
|
|
775
|
+
exports.validate = validate;
|
|
1229
776
|
//# sourceMappingURL=ContainerPlugin.check.js.map
|