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