@module-federation/enhanced 2.0.1 → 2.2.0
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/dist/CHANGELOG.md +2357 -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 -19
- package/dist/src/index.js +47 -43
- package/dist/src/index.js.map +1 -1
- package/dist/src/lib/Constants.d.ts +25 -29
- 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 +28 -23
- package/dist/src/lib/container/ContainerEntryDependency.js +39 -39
- package/dist/src/lib/container/ContainerEntryDependency.js.map +1 -1
- package/dist/src/lib/container/ContainerEntryModule.d.ts +93 -84
- package/dist/src/lib/container/ContainerEntryModule.js +219 -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 +29 -24
- 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 +147 -211
- 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 +74 -102
- 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 +125 -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 +143 -180
- package/dist/src/lib/container/ModuleFederationPlugin.js.map +1 -1
- package/dist/src/lib/container/RemoteModule.d.ts +79 -74
- package/dist/src/lib/container/RemoteModule.js +143 -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 +7 -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 +71 -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 +55 -47
- 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 +266 -345
- 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/utils.d.ts +24 -13
- package/dist/src/lib/container/runtime/utils.js +83 -101
- 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 -68
- package/dist/src/lib/sharing/ConsumeSharedModule.js +186 -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 -475
- 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 +107 -125
- 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 -39
- package/dist/src/lib/sharing/ProvideSharedDependency.js +72 -76
- package/dist/src/lib/sharing/ProvideSharedDependency.js.map +1 -1
- package/dist/src/lib/sharing/ProvideSharedModule.d.ts +91 -82
- package/dist/src/lib/sharing/ProvideSharedModule.js +177 -184
- 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 -550
- package/dist/src/lib/sharing/ProvideSharedPlugin.js.map +1 -1
- package/dist/src/lib/sharing/SharePlugin.d.ts +53 -49
- package/dist/src/lib/sharing/SharePlugin.js +86 -100
- 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 -100
- 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 +18 -14
- package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.js +74 -128
- package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.d.ts +39 -34
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.js +234 -322
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.d.ts +16 -11
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.js +30 -28
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.d.ts +28 -24
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.js +91 -95
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.d.ts +29 -24
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.js +47 -43
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.d.ts +20 -15
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.js +33 -29
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.d.ts +85 -77
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.js +141 -153
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.d.ts +15 -10
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.js +20 -24
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.d.ts +21 -16
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.js +157 -231
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.d.ts +14 -9
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.js +26 -27
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.d.ts +18 -13
- package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.js +41 -49
- package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.js.map +1 -1
- package/dist/src/lib/sharing/utils.d.ts +27 -24
- package/dist/src/lib/sharing/utils.js +224 -367
- 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/prefetch.d.ts +3 -2
- package/dist/src/prefetch.js +17 -8
- package/dist/src/rspack.d.ts +3 -2
- package/dist/src/rspack.js +35 -11
- 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/schemas/container/ContainerPlugin.check.d.ts +13 -5
- package/dist/src/schemas/container/ContainerPlugin.check.js +958 -1218
- package/dist/src/schemas/container/ContainerPlugin.check.js.map +1 -1
- package/dist/src/schemas/container/ContainerPlugin.d.ts +271 -268
- package/dist/src/schemas/container/ContainerPlugin.js +273 -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 +3001 -4812
- package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +1 -1
- package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +819 -814
- package/dist/src/schemas/container/ModuleFederationPlugin.js +780 -1053
- 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 -768
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js.map +1 -1
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.d.ts +197 -194
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.js +212 -238
- 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 -804
- package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js.map +1 -1
- package/dist/src/schemas/sharing/ProvideSharedPlugin.d.ts +184 -181
- package/dist/src/schemas/sharing/ProvideSharedPlugin.js +196 -229
- 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 -965
- package/dist/src/schemas/sharing/SharePlugin.check.js.map +1 -1
- package/dist/src/schemas/sharing/SharePlugin.d.ts +245 -242
- package/dist/src/schemas/sharing/SharePlugin.js +256 -293
- 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 -4
- package/dist/src/wrapper/AsyncBoundaryPlugin.js +12 -11
- package/dist/src/wrapper/AsyncBoundaryPlugin.js.map +1 -1
- package/dist/src/wrapper/BaseWrapperPlugin.d.ts +18 -13
- package/dist/src/wrapper/BaseWrapperPlugin.js +39 -39
- package/dist/src/wrapper/BaseWrapperPlugin.js.map +1 -1
- package/dist/src/wrapper/ConsumeSharedPlugin.d.ts +10 -4
- package/dist/src/wrapper/ConsumeSharedPlugin.js +12 -11
- package/dist/src/wrapper/ConsumeSharedPlugin.js.map +1 -1
- package/dist/src/wrapper/ContainerPlugin.d.ts +9 -4
- package/dist/src/wrapper/ContainerPlugin.js +12 -11
- package/dist/src/wrapper/ContainerPlugin.js.map +1 -1
- package/dist/src/wrapper/ContainerReferencePlugin.d.ts +9 -4
- package/dist/src/wrapper/ContainerReferencePlugin.js +12 -11
- package/dist/src/wrapper/ContainerReferencePlugin.js.map +1 -1
- package/dist/src/wrapper/FederationModulesPlugin.d.ts +18 -10
- package/dist/src/wrapper/FederationModulesPlugin.js +19 -19
- package/dist/src/wrapper/FederationModulesPlugin.js.map +1 -1
- package/dist/src/wrapper/FederationRuntimePlugin.d.ts +11 -6
- package/dist/src/wrapper/FederationRuntimePlugin.js +18 -17
- package/dist/src/wrapper/FederationRuntimePlugin.js.map +1 -1
- package/dist/src/wrapper/HoistContainerReferencesPlugin.d.ts +8 -3
- package/dist/src/wrapper/HoistContainerReferencesPlugin.js +12 -11
- package/dist/src/wrapper/HoistContainerReferencesPlugin.js.map +1 -1
- package/dist/src/wrapper/ModuleFederationPlugin.d.ts +12 -7
- package/dist/src/wrapper/ModuleFederationPlugin.js +73 -99
- package/dist/src/wrapper/ModuleFederationPlugin.js.map +1 -1
- package/dist/src/wrapper/ProvideSharedPlugin.d.ts +10 -4
- package/dist/src/wrapper/ProvideSharedPlugin.js +12 -11
- package/dist/src/wrapper/ProvideSharedPlugin.js.map +1 -1
- package/dist/src/wrapper/SharePlugin.d.ts +10 -4
- package/dist/src/wrapper/SharePlugin.js +12 -11
- package/dist/src/wrapper/SharePlugin.js.map +1 -1
- package/dist/src/wrapper/TreeShakingSharedPlugin.d.ts +9 -4
- package/dist/src/wrapper/TreeShakingSharedPlugin.js +12 -11
- package/dist/src/wrapper/TreeShakingSharedPlugin.js.map +1 -1
- package/package.json +21 -14
- 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 -86
- package/dist/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.ts +0 -100
- package/dist/src/declarations/plugins/sharing/ProvideSharedPlugin.d.ts +0 -102
- package/dist/src/declarations/plugins/sharing/SharePlugin.d.ts +0 -116
- 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.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,969 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
/*
|
|
7
|
-
* This file was automatically generated.
|
|
8
|
-
* DO NOT MODIFY BY HAND.
|
|
9
|
-
*/
|
|
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
|
|
10
5
|
const t = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/;
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
const validate = u;
|
|
7
|
+
var ContainerPlugin_check_default = u;
|
|
13
8
|
const e = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
9
|
+
definitions: {
|
|
10
|
+
AmdContainer: {
|
|
11
|
+
type: "string",
|
|
12
|
+
minLength: 1
|
|
13
|
+
},
|
|
14
|
+
AuxiliaryComment: { anyOf: [{ type: "string" }, { $ref: "#/definitions/LibraryCustomUmdCommentObject" }] },
|
|
15
|
+
EntryRuntime: { anyOf: [{ enum: [!1] }, {
|
|
16
|
+
type: "string",
|
|
17
|
+
minLength: 1
|
|
18
|
+
}] },
|
|
19
|
+
Exposes: { anyOf: [{
|
|
20
|
+
type: "array",
|
|
21
|
+
items: { anyOf: [{ $ref: "#/definitions/ExposesItem" }, { $ref: "#/definitions/ExposesObject" }] }
|
|
22
|
+
}, { $ref: "#/definitions/ExposesObject" }] },
|
|
23
|
+
ExposesConfig: {
|
|
24
|
+
type: "object",
|
|
25
|
+
additionalProperties: !1,
|
|
26
|
+
properties: {
|
|
27
|
+
import: { anyOf: [{ $ref: "#/definitions/ExposesItem" }, { $ref: "#/definitions/ExposesItems" }] },
|
|
28
|
+
name: { type: "string" }
|
|
29
|
+
},
|
|
30
|
+
required: ["import"]
|
|
31
|
+
},
|
|
32
|
+
ExposesItem: {
|
|
33
|
+
type: "string",
|
|
34
|
+
minLength: 1
|
|
35
|
+
},
|
|
36
|
+
ExposesItems: {
|
|
37
|
+
type: "array",
|
|
38
|
+
items: { $ref: "#/definitions/ExposesItem" }
|
|
39
|
+
},
|
|
40
|
+
ExposesObject: {
|
|
41
|
+
type: "object",
|
|
42
|
+
additionalProperties: { anyOf: [
|
|
43
|
+
{ $ref: "#/definitions/ExposesConfig" },
|
|
44
|
+
{ $ref: "#/definitions/ExposesItem" },
|
|
45
|
+
{ $ref: "#/definitions/ExposesItems" }
|
|
46
|
+
] }
|
|
47
|
+
},
|
|
48
|
+
LibraryCustomUmdCommentObject: {
|
|
49
|
+
type: "object",
|
|
50
|
+
additionalProperties: !1,
|
|
51
|
+
properties: {
|
|
52
|
+
amd: { type: "string" },
|
|
53
|
+
commonjs: { type: "string" },
|
|
54
|
+
commonjs2: { type: "string" },
|
|
55
|
+
root: { type: "string" }
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
LibraryCustomUmdObject: {
|
|
59
|
+
type: "object",
|
|
60
|
+
additionalProperties: !1,
|
|
61
|
+
properties: {
|
|
62
|
+
amd: {
|
|
63
|
+
type: "string",
|
|
64
|
+
minLength: 1
|
|
65
|
+
},
|
|
66
|
+
commonjs: {
|
|
67
|
+
type: "string",
|
|
68
|
+
minLength: 1
|
|
69
|
+
},
|
|
70
|
+
root: { anyOf: [{
|
|
71
|
+
type: "array",
|
|
72
|
+
items: {
|
|
73
|
+
type: "string",
|
|
74
|
+
minLength: 1
|
|
75
|
+
}
|
|
76
|
+
}, {
|
|
77
|
+
type: "string",
|
|
78
|
+
minLength: 1
|
|
79
|
+
}] }
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
LibraryExport: { anyOf: [{
|
|
83
|
+
type: "array",
|
|
84
|
+
items: {
|
|
85
|
+
type: "string",
|
|
86
|
+
minLength: 1
|
|
87
|
+
}
|
|
88
|
+
}, {
|
|
89
|
+
type: "string",
|
|
90
|
+
minLength: 1
|
|
91
|
+
}] },
|
|
92
|
+
LibraryName: { anyOf: [
|
|
93
|
+
{
|
|
94
|
+
type: "array",
|
|
95
|
+
items: {
|
|
96
|
+
type: "string",
|
|
97
|
+
minLength: 1
|
|
98
|
+
},
|
|
99
|
+
minItems: 1
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
type: "string",
|
|
103
|
+
minLength: 1
|
|
104
|
+
},
|
|
105
|
+
{ $ref: "#/definitions/LibraryCustomUmdObject" }
|
|
106
|
+
] },
|
|
107
|
+
LibraryOptions: {
|
|
108
|
+
type: "object",
|
|
109
|
+
additionalProperties: !1,
|
|
110
|
+
properties: {
|
|
111
|
+
amdContainer: { $ref: "#/definitions/AmdContainer" },
|
|
112
|
+
auxiliaryComment: { $ref: "#/definitions/AuxiliaryComment" },
|
|
113
|
+
export: { $ref: "#/definitions/LibraryExport" },
|
|
114
|
+
name: { $ref: "#/definitions/LibraryName" },
|
|
115
|
+
type: { $ref: "#/definitions/LibraryType" },
|
|
116
|
+
umdNamedDefine: { $ref: "#/definitions/UmdNamedDefine" }
|
|
117
|
+
},
|
|
118
|
+
required: ["type"]
|
|
119
|
+
},
|
|
120
|
+
LibraryType: { anyOf: [{ enum: [
|
|
121
|
+
"var",
|
|
122
|
+
"module",
|
|
123
|
+
"assign",
|
|
124
|
+
"assign-properties",
|
|
125
|
+
"this",
|
|
126
|
+
"window",
|
|
127
|
+
"self",
|
|
128
|
+
"global",
|
|
129
|
+
"commonjs",
|
|
130
|
+
"commonjs2",
|
|
131
|
+
"commonjs-module",
|
|
132
|
+
"commonjs-static",
|
|
133
|
+
"amd",
|
|
134
|
+
"amd-require",
|
|
135
|
+
"umd",
|
|
136
|
+
"umd2",
|
|
137
|
+
"jsonp",
|
|
138
|
+
"system"
|
|
139
|
+
] }, { type: "string" }] },
|
|
140
|
+
UmdNamedDefine: { type: "boolean" }
|
|
141
|
+
},
|
|
142
|
+
type: "object",
|
|
143
|
+
additionalProperties: !1,
|
|
144
|
+
properties: {
|
|
145
|
+
exposes: { $ref: "#/definitions/Exposes" },
|
|
146
|
+
filename: {
|
|
147
|
+
type: "string",
|
|
148
|
+
absolutePath: !1,
|
|
149
|
+
minLength: 1
|
|
150
|
+
},
|
|
151
|
+
library: { $ref: "#/definitions/LibraryOptions" },
|
|
152
|
+
name: {
|
|
153
|
+
type: "string",
|
|
154
|
+
minLength: 1
|
|
155
|
+
},
|
|
156
|
+
runtime: { $ref: "#/definitions/EntryRuntime" },
|
|
157
|
+
shareScope: { anyOf: [{
|
|
158
|
+
type: "string",
|
|
159
|
+
minLength: 1
|
|
160
|
+
}, {
|
|
161
|
+
type: "array",
|
|
162
|
+
items: {
|
|
163
|
+
type: "string",
|
|
164
|
+
minLength: 1
|
|
165
|
+
}
|
|
166
|
+
}] },
|
|
167
|
+
experiments: {
|
|
168
|
+
type: "object",
|
|
169
|
+
additionalProperties: !1,
|
|
170
|
+
properties: {
|
|
171
|
+
asyncStartup: { type: "boolean" },
|
|
172
|
+
externalRuntime: {
|
|
173
|
+
type: "boolean",
|
|
174
|
+
default: !1
|
|
175
|
+
},
|
|
176
|
+
provideExternalRuntime: {
|
|
177
|
+
type: "boolean",
|
|
178
|
+
default: !1
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
dataPrefetch: { type: "boolean" },
|
|
183
|
+
runtimePlugins: {
|
|
184
|
+
type: "array",
|
|
185
|
+
items: { anyOf: [{ type: "string" }, {
|
|
186
|
+
type: "array",
|
|
187
|
+
items: [{ type: "string" }, { type: "object" }],
|
|
188
|
+
minItems: 2,
|
|
189
|
+
maxItems: 2
|
|
190
|
+
}] }
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
required: ["name", "exposes"]
|
|
194
|
+
}, r = { anyOf: [{ enum: [!1] }, {
|
|
195
|
+
type: "string",
|
|
196
|
+
minLength: 1
|
|
197
|
+
}] }, n = Object.prototype.hasOwnProperty;
|
|
198
|
+
function s(t, { instancePath: e = "", parentData: r, parentDataProperty: n, rootData: a = t } = {}) {
|
|
199
|
+
if (!Array.isArray(t)) return s.errors = [{ params: { type: "array" } }], !1;
|
|
200
|
+
{
|
|
201
|
+
const e = t.length;
|
|
202
|
+
for (let r = 0; r < e; r++) {
|
|
203
|
+
let e = t[r];
|
|
204
|
+
const n = 0;
|
|
205
|
+
if ("string" != typeof e) return s.errors = [{ params: { type: "string" } }], !1;
|
|
206
|
+
if (e.length < 1) return s.errors = [{ params: {} }], !1;
|
|
207
|
+
if (0 !== n) break;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
return s.errors = null, !0;
|
|
209
211
|
}
|
|
210
|
-
function a(t, { instancePath: e =
|
|
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;
|
|
212
|
+
function a(t, { instancePath: e = "", parentData: r, parentDataProperty: n, rootData: o = t } = {}) {
|
|
213
|
+
let i = null, l = 0;
|
|
214
|
+
if (0 === l) {
|
|
215
|
+
if (!t || "object" != typeof t || Array.isArray(t)) return a.errors = [{ params: { type: "object" } }], !1;
|
|
216
|
+
{
|
|
217
|
+
let r;
|
|
218
|
+
if (void 0 === t.import && (r = "import")) return a.errors = [{ params: { missingProperty: r } }], !1;
|
|
219
|
+
{
|
|
220
|
+
const r = l;
|
|
221
|
+
for (const e in t) if ("import" !== e && "name" !== e) return a.errors = [{ params: { additionalProperty: e } }], !1;
|
|
222
|
+
if (r === l) {
|
|
223
|
+
if (void 0 !== t.import) {
|
|
224
|
+
let r = t.import;
|
|
225
|
+
const n = l, m = l;
|
|
226
|
+
let u = !1;
|
|
227
|
+
const c = l;
|
|
228
|
+
if (l == l) if ("string" == typeof r) {
|
|
229
|
+
if (r.length < 1) {
|
|
230
|
+
const t = { params: {} };
|
|
231
|
+
null === i ? i = [t] : i.push(t), l++;
|
|
232
|
+
}
|
|
233
|
+
} else {
|
|
234
|
+
const t = { params: { type: "string" } };
|
|
235
|
+
null === i ? i = [t] : i.push(t), l++;
|
|
236
|
+
}
|
|
237
|
+
var p = c === l;
|
|
238
|
+
if (u = u || p, !u) {
|
|
239
|
+
const n = l;
|
|
240
|
+
s(r, {
|
|
241
|
+
instancePath: e + "/import",
|
|
242
|
+
parentData: t,
|
|
243
|
+
parentDataProperty: "import",
|
|
244
|
+
rootData: o
|
|
245
|
+
}) || (i = null === i ? s.errors : i.concat(s.errors), l = i.length), p = n === l, u = u || p;
|
|
246
|
+
}
|
|
247
|
+
if (!u) {
|
|
248
|
+
const t = { params: {} };
|
|
249
|
+
return null === i ? i = [t] : i.push(t), l++, a.errors = i, !1;
|
|
250
|
+
}
|
|
251
|
+
l = m, null !== i && (m ? i.length = m : i = null);
|
|
252
|
+
var f = n === l;
|
|
253
|
+
} else f = !0;
|
|
254
|
+
if (f) if (void 0 !== t.name) {
|
|
255
|
+
const e = l;
|
|
256
|
+
if ("string" != typeof t.name) return a.errors = [{ params: { type: "string" } }], !1;
|
|
257
|
+
f = e === l;
|
|
258
|
+
} else f = !0;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
return a.errors = i, 0 === l;
|
|
278
264
|
}
|
|
279
|
-
function o(t, { instancePath: e =
|
|
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;
|
|
265
|
+
function o(t, { instancePath: e = "", parentData: r, parentDataProperty: n, rootData: i = t } = {}) {
|
|
266
|
+
let l = null, p = 0;
|
|
267
|
+
if (0 === p) {
|
|
268
|
+
if (!t || "object" != typeof t || Array.isArray(t)) return o.errors = [{ params: { type: "object" } }], !1;
|
|
269
|
+
for (const r in t) {
|
|
270
|
+
let n = t[r];
|
|
271
|
+
const m = p, u = p;
|
|
272
|
+
let c = !1;
|
|
273
|
+
const y = p;
|
|
274
|
+
a(n, {
|
|
275
|
+
instancePath: e + "/" + r.replace(/~/g, "~0").replace(/\//g, "~1"),
|
|
276
|
+
parentData: t,
|
|
277
|
+
parentDataProperty: r,
|
|
278
|
+
rootData: i
|
|
279
|
+
}) || (l = null === l ? a.errors : l.concat(a.errors), p = l.length);
|
|
280
|
+
var f = y === p;
|
|
281
|
+
if (c = c || f, !c) {
|
|
282
|
+
const a = p;
|
|
283
|
+
if (p == p) if ("string" == typeof n) {
|
|
284
|
+
if (n.length < 1) {
|
|
285
|
+
const t = { params: {} };
|
|
286
|
+
null === l ? l = [t] : l.push(t), p++;
|
|
287
|
+
}
|
|
288
|
+
} else {
|
|
289
|
+
const t = { params: { type: "string" } };
|
|
290
|
+
null === l ? l = [t] : l.push(t), p++;
|
|
291
|
+
}
|
|
292
|
+
if (f = a === p, c = c || f, !c) {
|
|
293
|
+
const a = p;
|
|
294
|
+
s(n, {
|
|
295
|
+
instancePath: e + "/" + r.replace(/~/g, "~0").replace(/\//g, "~1"),
|
|
296
|
+
parentData: t,
|
|
297
|
+
parentDataProperty: r,
|
|
298
|
+
rootData: i
|
|
299
|
+
}) || (l = null === l ? s.errors : l.concat(s.errors), p = l.length), f = a === p, c = c || f;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
if (!c) {
|
|
303
|
+
const t = { params: {} };
|
|
304
|
+
return null === l ? l = [t] : l.push(t), p++, o.errors = l, !1;
|
|
305
|
+
}
|
|
306
|
+
if (p = u, null !== l && (u ? l.length = u : l = null), m !== p) break;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
return o.errors = l, 0 === p;
|
|
331
310
|
}
|
|
332
|
-
function i(t, { instancePath: e =
|
|
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);
|
|
311
|
+
function i(t, { instancePath: e = "", parentData: r, parentDataProperty: n, rootData: s = t } = {}) {
|
|
312
|
+
let a = null, l = 0;
|
|
313
|
+
const p = l;
|
|
314
|
+
let f = !1;
|
|
315
|
+
const m = l;
|
|
316
|
+
if (l === m) if (Array.isArray(t)) {
|
|
317
|
+
const r = t.length;
|
|
318
|
+
for (let n = 0; n < r; n++) {
|
|
319
|
+
let r = t[n];
|
|
320
|
+
const i = l, p = l;
|
|
321
|
+
let f = !1;
|
|
322
|
+
const m = l;
|
|
323
|
+
if (l == l) if ("string" == typeof r) {
|
|
324
|
+
if (r.length < 1) {
|
|
325
|
+
const t = { params: {} };
|
|
326
|
+
null === a ? a = [t] : a.push(t), l++;
|
|
327
|
+
}
|
|
328
|
+
} else {
|
|
329
|
+
const t = { params: { type: "string" } };
|
|
330
|
+
null === a ? a = [t] : a.push(t), l++;
|
|
331
|
+
}
|
|
332
|
+
var u = m === l;
|
|
333
|
+
if (f = f || u, !f) {
|
|
334
|
+
const i = l;
|
|
335
|
+
o(r, {
|
|
336
|
+
instancePath: e + "/" + n,
|
|
337
|
+
parentData: t,
|
|
338
|
+
parentDataProperty: n,
|
|
339
|
+
rootData: s
|
|
340
|
+
}) || (a = null === a ? o.errors : a.concat(o.errors), l = a.length), u = i === l, f = f || u;
|
|
341
|
+
}
|
|
342
|
+
if (f) l = p, null !== a && (p ? a.length = p : a = null);
|
|
343
|
+
else {
|
|
344
|
+
const t = { params: {} };
|
|
345
|
+
null === a ? a = [t] : a.push(t), l++;
|
|
346
|
+
}
|
|
347
|
+
if (i !== l) break;
|
|
348
|
+
}
|
|
349
|
+
} else {
|
|
350
|
+
const t = { params: { type: "array" } };
|
|
351
|
+
null === a ? a = [t] : a.push(t), l++;
|
|
352
|
+
}
|
|
353
|
+
var c = m === l;
|
|
354
|
+
if (f = f || c, !f) {
|
|
355
|
+
const i = l;
|
|
356
|
+
o(t, {
|
|
357
|
+
instancePath: e,
|
|
358
|
+
parentData: r,
|
|
359
|
+
parentDataProperty: n,
|
|
360
|
+
rootData: s
|
|
361
|
+
}) || (a = null === a ? o.errors : a.concat(o.errors), l = a.length), c = i === l, f = f || c;
|
|
362
|
+
}
|
|
363
|
+
if (!f) {
|
|
364
|
+
const t = { params: {} };
|
|
365
|
+
return null === a ? a = [t] : a.push(t), l++, i.errors = a, !1;
|
|
366
|
+
}
|
|
367
|
+
return l = p, null !== a && (p ? a.length = p : a = null), i.errors = a, 0 === l;
|
|
403
368
|
}
|
|
404
|
-
const l = {
|
|
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);
|
|
369
|
+
const l = { anyOf: [{ enum: [
|
|
370
|
+
"var",
|
|
371
|
+
"module",
|
|
372
|
+
"assign",
|
|
373
|
+
"assign-properties",
|
|
374
|
+
"this",
|
|
375
|
+
"window",
|
|
376
|
+
"self",
|
|
377
|
+
"global",
|
|
378
|
+
"commonjs",
|
|
379
|
+
"commonjs2",
|
|
380
|
+
"commonjs-module",
|
|
381
|
+
"commonjs-static",
|
|
382
|
+
"amd",
|
|
383
|
+
"amd-require",
|
|
384
|
+
"umd",
|
|
385
|
+
"umd2",
|
|
386
|
+
"jsonp",
|
|
387
|
+
"system"
|
|
388
|
+
] }, { type: "string" }] };
|
|
389
|
+
function p(t, { instancePath: e = "", parentData: r, parentDataProperty: n, rootData: s = t } = {}) {
|
|
390
|
+
let a = null, o = 0;
|
|
391
|
+
const i = o;
|
|
392
|
+
let l = !1;
|
|
393
|
+
const f = o;
|
|
394
|
+
if ("string" != typeof t) {
|
|
395
|
+
const t = { params: { type: "string" } };
|
|
396
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
397
|
+
}
|
|
398
|
+
var m = f === o;
|
|
399
|
+
if (l = l || m, !l) {
|
|
400
|
+
const e = o;
|
|
401
|
+
if (o == o) if (t && "object" == typeof t && !Array.isArray(t)) {
|
|
402
|
+
const e = o;
|
|
403
|
+
for (const e in t) if ("amd" !== e && "commonjs" !== e && "commonjs2" !== e && "root" !== e) {
|
|
404
|
+
const t = { params: { additionalProperty: e } };
|
|
405
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
406
|
+
break;
|
|
407
|
+
}
|
|
408
|
+
if (e === o) {
|
|
409
|
+
if (void 0 !== t.amd) {
|
|
410
|
+
const e = o;
|
|
411
|
+
if ("string" != typeof t.amd) {
|
|
412
|
+
const t = { params: { type: "string" } };
|
|
413
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
414
|
+
}
|
|
415
|
+
var u = e === o;
|
|
416
|
+
} else u = !0;
|
|
417
|
+
if (u) {
|
|
418
|
+
if (void 0 !== t.commonjs) {
|
|
419
|
+
const e = o;
|
|
420
|
+
if ("string" != typeof t.commonjs) {
|
|
421
|
+
const t = { params: { type: "string" } };
|
|
422
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
423
|
+
}
|
|
424
|
+
u = e === o;
|
|
425
|
+
} else u = !0;
|
|
426
|
+
if (u) {
|
|
427
|
+
if (void 0 !== t.commonjs2) {
|
|
428
|
+
const e = o;
|
|
429
|
+
if ("string" != typeof t.commonjs2) {
|
|
430
|
+
const t = { params: { type: "string" } };
|
|
431
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
432
|
+
}
|
|
433
|
+
u = e === o;
|
|
434
|
+
} else u = !0;
|
|
435
|
+
if (u) if (void 0 !== t.root) {
|
|
436
|
+
const e = o;
|
|
437
|
+
if ("string" != typeof t.root) {
|
|
438
|
+
const t = { params: { type: "string" } };
|
|
439
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
440
|
+
}
|
|
441
|
+
u = e === o;
|
|
442
|
+
} else u = !0;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
} else {
|
|
447
|
+
const t = { params: { type: "object" } };
|
|
448
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
449
|
+
}
|
|
450
|
+
m = e === o, l = l || m;
|
|
451
|
+
}
|
|
452
|
+
if (!l) {
|
|
453
|
+
const t = { params: {} };
|
|
454
|
+
return null === a ? a = [t] : a.push(t), o++, p.errors = a, !1;
|
|
455
|
+
}
|
|
456
|
+
return o = i, null !== a && (i ? a.length = i : a = null), p.errors = a, 0 === o;
|
|
517
457
|
}
|
|
518
|
-
function f(t, { instancePath: e =
|
|
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);
|
|
458
|
+
function f(t, { instancePath: e = "", parentData: r, parentDataProperty: n, rootData: s = t } = {}) {
|
|
459
|
+
let a = null, o = 0;
|
|
460
|
+
const i = o;
|
|
461
|
+
let l = !1;
|
|
462
|
+
const p = o;
|
|
463
|
+
if (o === p) if (Array.isArray(t)) if (t.length < 1) {
|
|
464
|
+
const t = { params: { limit: 1 } };
|
|
465
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
466
|
+
} else {
|
|
467
|
+
const e = t.length;
|
|
468
|
+
for (let r = 0; r < e; r++) {
|
|
469
|
+
let e = t[r];
|
|
470
|
+
const n = o;
|
|
471
|
+
if (o === n) if ("string" == typeof e) {
|
|
472
|
+
if (e.length < 1) {
|
|
473
|
+
const t = { params: {} };
|
|
474
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
475
|
+
}
|
|
476
|
+
} else {
|
|
477
|
+
const t = { params: { type: "string" } };
|
|
478
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
479
|
+
}
|
|
480
|
+
if (n !== o) break;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
else {
|
|
484
|
+
const t = { params: { type: "array" } };
|
|
485
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
486
|
+
}
|
|
487
|
+
var m = p === o;
|
|
488
|
+
if (l = l || m, !l) {
|
|
489
|
+
const e = o;
|
|
490
|
+
if (o === e) if ("string" == typeof t) {
|
|
491
|
+
if (t.length < 1) {
|
|
492
|
+
const t = { params: {} };
|
|
493
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
494
|
+
}
|
|
495
|
+
} else {
|
|
496
|
+
const t = { params: { type: "string" } };
|
|
497
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
498
|
+
}
|
|
499
|
+
if (m = e === o, l = l || m, !l) {
|
|
500
|
+
const e = o;
|
|
501
|
+
if (o == o) if (t && "object" == typeof t && !Array.isArray(t)) {
|
|
502
|
+
const e = o;
|
|
503
|
+
for (const e in t) if ("amd" !== e && "commonjs" !== e && "root" !== e) {
|
|
504
|
+
const t = { params: { additionalProperty: e } };
|
|
505
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
506
|
+
break;
|
|
507
|
+
}
|
|
508
|
+
if (e === o) {
|
|
509
|
+
if (void 0 !== t.amd) {
|
|
510
|
+
let e = t.amd;
|
|
511
|
+
const r = o;
|
|
512
|
+
if (o === r) if ("string" == typeof e) {
|
|
513
|
+
if (e.length < 1) {
|
|
514
|
+
const t = { params: {} };
|
|
515
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
516
|
+
}
|
|
517
|
+
} else {
|
|
518
|
+
const t = { params: { type: "string" } };
|
|
519
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
520
|
+
}
|
|
521
|
+
var u = r === o;
|
|
522
|
+
} else u = !0;
|
|
523
|
+
if (u) {
|
|
524
|
+
if (void 0 !== t.commonjs) {
|
|
525
|
+
let e = t.commonjs;
|
|
526
|
+
const r = o;
|
|
527
|
+
if (o === r) if ("string" == typeof e) {
|
|
528
|
+
if (e.length < 1) {
|
|
529
|
+
const t = { params: {} };
|
|
530
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
531
|
+
}
|
|
532
|
+
} else {
|
|
533
|
+
const t = { params: { type: "string" } };
|
|
534
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
535
|
+
}
|
|
536
|
+
u = r === o;
|
|
537
|
+
} else u = !0;
|
|
538
|
+
if (u) if (void 0 !== t.root) {
|
|
539
|
+
let e = t.root;
|
|
540
|
+
const r = o, n = o;
|
|
541
|
+
let s = !1;
|
|
542
|
+
const i = o;
|
|
543
|
+
if (o === i) if (Array.isArray(e)) {
|
|
544
|
+
const t = e.length;
|
|
545
|
+
for (let r = 0; r < t; r++) {
|
|
546
|
+
let t = e[r];
|
|
547
|
+
const n = o;
|
|
548
|
+
if (o === n) if ("string" == typeof t) {
|
|
549
|
+
if (t.length < 1) {
|
|
550
|
+
const t = { params: {} };
|
|
551
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
552
|
+
}
|
|
553
|
+
} else {
|
|
554
|
+
const t = { params: { type: "string" } };
|
|
555
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
556
|
+
}
|
|
557
|
+
if (n !== o) break;
|
|
558
|
+
}
|
|
559
|
+
} else {
|
|
560
|
+
const t = { params: { type: "array" } };
|
|
561
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
562
|
+
}
|
|
563
|
+
var c = i === o;
|
|
564
|
+
if (s = s || c, !s) {
|
|
565
|
+
const t = o;
|
|
566
|
+
if (o === t) if ("string" == typeof e) {
|
|
567
|
+
if (e.length < 1) {
|
|
568
|
+
const t = { params: {} };
|
|
569
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
570
|
+
}
|
|
571
|
+
} else {
|
|
572
|
+
const t = { params: { type: "string" } };
|
|
573
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
574
|
+
}
|
|
575
|
+
c = t === o, s = s || c;
|
|
576
|
+
}
|
|
577
|
+
if (s) o = n, null !== a && (n ? a.length = n : a = null);
|
|
578
|
+
else {
|
|
579
|
+
const t = { params: {} };
|
|
580
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
581
|
+
}
|
|
582
|
+
u = r === o;
|
|
583
|
+
} else u = !0;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
} else {
|
|
587
|
+
const t = { params: { type: "object" } };
|
|
588
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
589
|
+
}
|
|
590
|
+
m = e === o, l = l || m;
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
if (!l) {
|
|
594
|
+
const t = { params: {} };
|
|
595
|
+
return null === a ? a = [t] : a.push(t), o++, f.errors = a, !1;
|
|
596
|
+
}
|
|
597
|
+
return o = i, null !== a && (i ? a.length = i : a = null), f.errors = a, 0 === o;
|
|
691
598
|
}
|
|
692
|
-
function m(t, { instancePath: e =
|
|
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;
|
|
599
|
+
function m(t, { instancePath: e = "", parentData: r, parentDataProperty: n, rootData: s = t } = {}) {
|
|
600
|
+
let a = null, o = 0;
|
|
601
|
+
if (0 === o) {
|
|
602
|
+
if (!t || "object" != typeof t || Array.isArray(t)) return m.errors = [{ params: { type: "object" } }], !1;
|
|
603
|
+
{
|
|
604
|
+
let r;
|
|
605
|
+
if (void 0 === t.type && (r = "type")) return m.errors = [{ params: { missingProperty: r } }], !1;
|
|
606
|
+
{
|
|
607
|
+
const r = o;
|
|
608
|
+
for (const e in t) if ("amdContainer" !== e && "auxiliaryComment" !== e && "export" !== e && "name" !== e && "type" !== e && "umdNamedDefine" !== e) return m.errors = [{ params: { additionalProperty: e } }], !1;
|
|
609
|
+
if (r === o) {
|
|
610
|
+
if (void 0 !== t.amdContainer) {
|
|
611
|
+
let e = t.amdContainer;
|
|
612
|
+
const r = o;
|
|
613
|
+
if (o == o) {
|
|
614
|
+
if ("string" != typeof e) return m.errors = [{ params: { type: "string" } }], !1;
|
|
615
|
+
if (e.length < 1) return m.errors = [{ params: {} }], !1;
|
|
616
|
+
}
|
|
617
|
+
var i = r === o;
|
|
618
|
+
} else i = !0;
|
|
619
|
+
if (i) {
|
|
620
|
+
if (void 0 !== t.auxiliaryComment) {
|
|
621
|
+
const r = o;
|
|
622
|
+
p(t.auxiliaryComment, {
|
|
623
|
+
instancePath: e + "/auxiliaryComment",
|
|
624
|
+
parentData: t,
|
|
625
|
+
parentDataProperty: "auxiliaryComment",
|
|
626
|
+
rootData: s
|
|
627
|
+
}) || (a = null === a ? p.errors : a.concat(p.errors), o = a.length), i = r === o;
|
|
628
|
+
} else i = !0;
|
|
629
|
+
if (i) {
|
|
630
|
+
if (void 0 !== t.export) {
|
|
631
|
+
let e = t.export;
|
|
632
|
+
const r = o, n = o;
|
|
633
|
+
let s = !1;
|
|
634
|
+
const l = o;
|
|
635
|
+
if (o === l) if (Array.isArray(e)) {
|
|
636
|
+
const t = e.length;
|
|
637
|
+
for (let r = 0; r < t; r++) {
|
|
638
|
+
let t = e[r];
|
|
639
|
+
const n = o;
|
|
640
|
+
if (o === n) if ("string" == typeof t) {
|
|
641
|
+
if (t.length < 1) {
|
|
642
|
+
const t = { params: {} };
|
|
643
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
644
|
+
}
|
|
645
|
+
} else {
|
|
646
|
+
const t = { params: { type: "string" } };
|
|
647
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
648
|
+
}
|
|
649
|
+
if (n !== o) break;
|
|
650
|
+
}
|
|
651
|
+
} else {
|
|
652
|
+
const t = { params: { type: "array" } };
|
|
653
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
654
|
+
}
|
|
655
|
+
var u = l === o;
|
|
656
|
+
if (s = s || u, !s) {
|
|
657
|
+
const t = o;
|
|
658
|
+
if (o === t) if ("string" == typeof e) {
|
|
659
|
+
if (e.length < 1) {
|
|
660
|
+
const t = { params: {} };
|
|
661
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
662
|
+
}
|
|
663
|
+
} else {
|
|
664
|
+
const t = { params: { type: "string" } };
|
|
665
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
666
|
+
}
|
|
667
|
+
u = t === o, s = s || u;
|
|
668
|
+
}
|
|
669
|
+
if (!s) {
|
|
670
|
+
const t = { params: {} };
|
|
671
|
+
return null === a ? a = [t] : a.push(t), o++, m.errors = a, !1;
|
|
672
|
+
}
|
|
673
|
+
o = n, null !== a && (n ? a.length = n : a = null), i = r === o;
|
|
674
|
+
} else i = !0;
|
|
675
|
+
if (i) {
|
|
676
|
+
if (void 0 !== t.name) {
|
|
677
|
+
const r = o;
|
|
678
|
+
f(t.name, {
|
|
679
|
+
instancePath: e + "/name",
|
|
680
|
+
parentData: t,
|
|
681
|
+
parentDataProperty: "name",
|
|
682
|
+
rootData: s
|
|
683
|
+
}) || (a = null === a ? f.errors : a.concat(f.errors), o = a.length), i = r === o;
|
|
684
|
+
} else i = !0;
|
|
685
|
+
if (i) {
|
|
686
|
+
if (void 0 !== t.type) {
|
|
687
|
+
let e = t.type;
|
|
688
|
+
const r = o, n = o;
|
|
689
|
+
let s = !1;
|
|
690
|
+
const p = o;
|
|
691
|
+
if ("var" !== e && "module" !== e && "assign" !== e && "assign-properties" !== e && "this" !== e && "window" !== e && "self" !== e && "global" !== e && "commonjs" !== e && "commonjs2" !== e && "commonjs-module" !== e && "commonjs-static" !== e && "amd" !== e && "amd-require" !== e && "umd" !== e && "umd2" !== e && "jsonp" !== e && "system" !== e) {
|
|
692
|
+
const t = { params: { allowedValues: l.anyOf[0].enum } };
|
|
693
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
694
|
+
}
|
|
695
|
+
var c = p === o;
|
|
696
|
+
if (s = s || c, !s) {
|
|
697
|
+
const t = o;
|
|
698
|
+
if ("string" != typeof e) {
|
|
699
|
+
const t = { params: { type: "string" } };
|
|
700
|
+
null === a ? a = [t] : a.push(t), o++;
|
|
701
|
+
}
|
|
702
|
+
c = t === o, s = s || c;
|
|
703
|
+
}
|
|
704
|
+
if (!s) {
|
|
705
|
+
const t = { params: {} };
|
|
706
|
+
return null === a ? a = [t] : a.push(t), o++, m.errors = a, !1;
|
|
707
|
+
}
|
|
708
|
+
o = n, null !== a && (n ? a.length = n : a = null), i = r === o;
|
|
709
|
+
} else i = !0;
|
|
710
|
+
if (i) if (void 0 !== t.umdNamedDefine) {
|
|
711
|
+
const e = o;
|
|
712
|
+
if ("boolean" != typeof t.umdNamedDefine) return m.errors = [{ params: { type: "boolean" } }], !1;
|
|
713
|
+
i = e === o;
|
|
714
|
+
} else i = !0;
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
return m.errors = a, 0 === o;
|
|
879
724
|
}
|
|
880
|
-
function u(s, { instancePath: a =
|
|
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
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
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;
|
|
725
|
+
function u(s, { instancePath: a = "", parentData: o, parentDataProperty: l, rootData: p = s } = {}) {
|
|
726
|
+
let f = null, c = 0;
|
|
727
|
+
if (0 === c) {
|
|
728
|
+
if (!s || "object" != typeof s || Array.isArray(s)) return u.errors = [{ params: { type: "object" } }], !1;
|
|
729
|
+
{
|
|
730
|
+
let o;
|
|
731
|
+
if (void 0 === s.name && (o = "name") || void 0 === s.exposes && (o = "exposes")) return u.errors = [{ params: { missingProperty: o } }], !1;
|
|
732
|
+
{
|
|
733
|
+
const o = c;
|
|
734
|
+
for (const t in s) if (!n.call(e.properties, t)) return u.errors = [{ params: { additionalProperty: t } }], !1;
|
|
735
|
+
if (o === c) {
|
|
736
|
+
if (void 0 !== s.exposes) {
|
|
737
|
+
const t = c;
|
|
738
|
+
i(s.exposes, {
|
|
739
|
+
instancePath: a + "/exposes",
|
|
740
|
+
parentData: s,
|
|
741
|
+
parentDataProperty: "exposes",
|
|
742
|
+
rootData: p
|
|
743
|
+
}) || (f = null === f ? i.errors : f.concat(i.errors), c = f.length);
|
|
744
|
+
var y = t === c;
|
|
745
|
+
} else y = !0;
|
|
746
|
+
if (y) {
|
|
747
|
+
if (void 0 !== s.filename) {
|
|
748
|
+
let e = s.filename;
|
|
749
|
+
const r = c;
|
|
750
|
+
if (c === r) {
|
|
751
|
+
if ("string" != typeof e) return u.errors = [{ params: { type: "string" } }], !1;
|
|
752
|
+
if (e.length < 1) return u.errors = [{ params: {} }], !1;
|
|
753
|
+
if (e.includes("!") || !1 !== t.test(e)) return u.errors = [{ params: {} }], !1;
|
|
754
|
+
}
|
|
755
|
+
y = r === c;
|
|
756
|
+
} else y = !0;
|
|
757
|
+
if (y) {
|
|
758
|
+
if (void 0 !== s.library) {
|
|
759
|
+
const t = c;
|
|
760
|
+
m(s.library, {
|
|
761
|
+
instancePath: a + "/library",
|
|
762
|
+
parentData: s,
|
|
763
|
+
parentDataProperty: "library",
|
|
764
|
+
rootData: p
|
|
765
|
+
}) || (f = null === f ? m.errors : f.concat(m.errors), c = f.length), y = t === c;
|
|
766
|
+
} else y = !0;
|
|
767
|
+
if (y) {
|
|
768
|
+
if (void 0 !== s.name) {
|
|
769
|
+
let t = s.name;
|
|
770
|
+
const e = c;
|
|
771
|
+
if (c === e) {
|
|
772
|
+
if ("string" != typeof t) return u.errors = [{ params: { type: "string" } }], !1;
|
|
773
|
+
if (t.length < 1) return u.errors = [{ params: {} }], !1;
|
|
774
|
+
}
|
|
775
|
+
y = e === c;
|
|
776
|
+
} else y = !0;
|
|
777
|
+
if (y) {
|
|
778
|
+
if (void 0 !== s.runtime) {
|
|
779
|
+
let t = s.runtime;
|
|
780
|
+
const e = c, n = c;
|
|
781
|
+
let a = !1;
|
|
782
|
+
const o = c;
|
|
783
|
+
if (!1 !== t) {
|
|
784
|
+
const t = { params: { allowedValues: r.anyOf[0].enum } };
|
|
785
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
786
|
+
}
|
|
787
|
+
var g = o === c;
|
|
788
|
+
if (a = a || g, !a) {
|
|
789
|
+
const e = c;
|
|
790
|
+
if (c === e) if ("string" == typeof t) {
|
|
791
|
+
if (t.length < 1) {
|
|
792
|
+
const t = { params: {} };
|
|
793
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
794
|
+
}
|
|
795
|
+
} else {
|
|
796
|
+
const t = { params: { type: "string" } };
|
|
797
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
798
|
+
}
|
|
799
|
+
g = e === c, a = a || g;
|
|
800
|
+
}
|
|
801
|
+
if (!a) {
|
|
802
|
+
const t = { params: {} };
|
|
803
|
+
return null === f ? f = [t] : f.push(t), c++, u.errors = f, !1;
|
|
804
|
+
}
|
|
805
|
+
c = n, null !== f && (n ? f.length = n : f = null), y = e === c;
|
|
806
|
+
} else y = !0;
|
|
807
|
+
if (y) {
|
|
808
|
+
if (void 0 !== s.shareScope) {
|
|
809
|
+
let t = s.shareScope;
|
|
810
|
+
const e = c, r = c;
|
|
811
|
+
let n = !1;
|
|
812
|
+
const a = c;
|
|
813
|
+
if (c === a) if ("string" == typeof t) {
|
|
814
|
+
if (t.length < 1) {
|
|
815
|
+
const t = { params: {} };
|
|
816
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
817
|
+
}
|
|
818
|
+
} else {
|
|
819
|
+
const t = { params: { type: "string" } };
|
|
820
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
821
|
+
}
|
|
822
|
+
var h = a === c;
|
|
823
|
+
if (n = n || h, !n) {
|
|
824
|
+
const e = c;
|
|
825
|
+
if (c === e) if (Array.isArray(t)) {
|
|
826
|
+
const e = t.length;
|
|
827
|
+
for (let r = 0; r < e; r++) {
|
|
828
|
+
let e = t[r];
|
|
829
|
+
const n = c;
|
|
830
|
+
if (c === n) if ("string" == typeof e) {
|
|
831
|
+
if (e.length < 1) {
|
|
832
|
+
const t = { params: {} };
|
|
833
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
834
|
+
}
|
|
835
|
+
} else {
|
|
836
|
+
const t = { params: { type: "string" } };
|
|
837
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
838
|
+
}
|
|
839
|
+
if (n !== c) break;
|
|
840
|
+
}
|
|
841
|
+
} else {
|
|
842
|
+
const t = { params: { type: "array" } };
|
|
843
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
844
|
+
}
|
|
845
|
+
h = e === c, n = n || h;
|
|
846
|
+
}
|
|
847
|
+
if (!n) {
|
|
848
|
+
const t = { params: {} };
|
|
849
|
+
return null === f ? f = [t] : f.push(t), c++, u.errors = f, !1;
|
|
850
|
+
}
|
|
851
|
+
c = r, null !== f && (r ? f.length = r : f = null), y = e === c;
|
|
852
|
+
} else y = !0;
|
|
853
|
+
if (y) {
|
|
854
|
+
if (void 0 !== s.experiments) {
|
|
855
|
+
let t = s.experiments;
|
|
856
|
+
const e = c;
|
|
857
|
+
if (c === e) {
|
|
858
|
+
if (!t || "object" != typeof t || Array.isArray(t)) return u.errors = [{ params: { type: "object" } }], !1;
|
|
859
|
+
{
|
|
860
|
+
const e = c;
|
|
861
|
+
for (const e in t) if ("asyncStartup" !== e && "externalRuntime" !== e && "provideExternalRuntime" !== e) return u.errors = [{ params: { additionalProperty: e } }], !1;
|
|
862
|
+
if (e === c) {
|
|
863
|
+
if (void 0 !== t.asyncStartup) {
|
|
864
|
+
const e = c;
|
|
865
|
+
if ("boolean" != typeof t.asyncStartup) return u.errors = [{ params: { type: "boolean" } }], !1;
|
|
866
|
+
var d = e === c;
|
|
867
|
+
} else d = !0;
|
|
868
|
+
if (d) {
|
|
869
|
+
if (void 0 !== t.externalRuntime) {
|
|
870
|
+
const e = c;
|
|
871
|
+
if ("boolean" != typeof t.externalRuntime) return u.errors = [{ params: { type: "boolean" } }], !1;
|
|
872
|
+
d = e === c;
|
|
873
|
+
} else d = !0;
|
|
874
|
+
if (d) if (void 0 !== t.provideExternalRuntime) {
|
|
875
|
+
const e = c;
|
|
876
|
+
if ("boolean" != typeof t.provideExternalRuntime) return u.errors = [{ params: { type: "boolean" } }], !1;
|
|
877
|
+
d = e === c;
|
|
878
|
+
} else d = !0;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
y = e === c;
|
|
884
|
+
} else y = !0;
|
|
885
|
+
if (y) {
|
|
886
|
+
if (void 0 !== s.dataPrefetch) {
|
|
887
|
+
const t = c;
|
|
888
|
+
if ("boolean" != typeof s.dataPrefetch) return u.errors = [{ params: { type: "boolean" } }], !1;
|
|
889
|
+
y = t === c;
|
|
890
|
+
} else y = !0;
|
|
891
|
+
if (y) if (void 0 !== s.runtimePlugins) {
|
|
892
|
+
let t = s.runtimePlugins;
|
|
893
|
+
const e = c;
|
|
894
|
+
if (c === e) {
|
|
895
|
+
if (!Array.isArray(t)) return u.errors = [{ params: { type: "array" } }], !1;
|
|
896
|
+
{
|
|
897
|
+
const e = t.length;
|
|
898
|
+
for (let r = 0; r < e; r++) {
|
|
899
|
+
let e = t[r];
|
|
900
|
+
const n = c, s = c;
|
|
901
|
+
let a = !1;
|
|
902
|
+
const o = c;
|
|
903
|
+
if ("string" != typeof e) {
|
|
904
|
+
const t = { params: { type: "string" } };
|
|
905
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
906
|
+
}
|
|
907
|
+
var b = o === c;
|
|
908
|
+
if (a = a || b, !a) {
|
|
909
|
+
const t = c;
|
|
910
|
+
if (c === t) if (Array.isArray(e)) if (e.length > 2) {
|
|
911
|
+
const t = { params: { limit: 2 } };
|
|
912
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
913
|
+
} else if (e.length < 2) {
|
|
914
|
+
const t = { params: { limit: 2 } };
|
|
915
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
916
|
+
} else {
|
|
917
|
+
const t = e.length;
|
|
918
|
+
if (t > 0) {
|
|
919
|
+
const t = c;
|
|
920
|
+
if ("string" != typeof e[0]) {
|
|
921
|
+
const t = { params: { type: "string" } };
|
|
922
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
923
|
+
}
|
|
924
|
+
var j = t === c;
|
|
925
|
+
}
|
|
926
|
+
if (j && t > 1) {
|
|
927
|
+
let t = e[1];
|
|
928
|
+
const r = c;
|
|
929
|
+
if (!t || "object" != typeof t || Array.isArray(t)) {
|
|
930
|
+
const t = { params: { type: "object" } };
|
|
931
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
932
|
+
}
|
|
933
|
+
j = r === c;
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
else {
|
|
937
|
+
const t = { params: { type: "array" } };
|
|
938
|
+
null === f ? f = [t] : f.push(t), c++;
|
|
939
|
+
}
|
|
940
|
+
b = t === c, a = a || b;
|
|
941
|
+
}
|
|
942
|
+
if (!a) {
|
|
943
|
+
const t = { params: {} };
|
|
944
|
+
return null === f ? f = [t] : f.push(t), c++, u.errors = f, !1;
|
|
945
|
+
}
|
|
946
|
+
if (c = s, null !== f && (s ? f.length = s : f = null), n !== c) break;
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
y = e === c;
|
|
951
|
+
} else y = !0;
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
return u.errors = f, 0 === c;
|
|
1228
964
|
}
|
|
965
|
+
|
|
966
|
+
//#endregion
|
|
967
|
+
exports.default = ContainerPlugin_check_default;
|
|
968
|
+
exports.validate = validate;
|
|
1229
969
|
//# sourceMappingURL=ContainerPlugin.check.js.map
|