enjanga-components-library 1.0.4 → 1.0.11
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/index.js +2901 -91
- package/dist/index.mjs +2837 -53
- package/package.json +48 -118
- package/dist/styles.css +0 -1
package/dist/index.mjs
CHANGED
|
@@ -24,6 +24,847 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
mod
|
|
25
25
|
));
|
|
26
26
|
|
|
27
|
+
// node_modules/is-plain-obj/index.js
|
|
28
|
+
var require_is_plain_obj = __commonJS({
|
|
29
|
+
"node_modules/is-plain-obj/index.js"(exports, module) {
|
|
30
|
+
"use strict";
|
|
31
|
+
module.exports = (value) => {
|
|
32
|
+
if (Object.prototype.toString.call(value) !== "[object Object]") {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
const prototype = Object.getPrototypeOf(value);
|
|
36
|
+
return prototype === null || prototype === Object.prototype;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
// node_modules/moo/moo.js
|
|
42
|
+
var require_moo = __commonJS({
|
|
43
|
+
"node_modules/moo/moo.js"(exports, module) {
|
|
44
|
+
"use strict";
|
|
45
|
+
(function(root, factory) {
|
|
46
|
+
if (typeof define === "function" && define.amd) {
|
|
47
|
+
define([], factory);
|
|
48
|
+
} else if (typeof module === "object" && module.exports) {
|
|
49
|
+
module.exports = factory();
|
|
50
|
+
} else {
|
|
51
|
+
root.moo = factory();
|
|
52
|
+
}
|
|
53
|
+
})(exports, function() {
|
|
54
|
+
"use strict";
|
|
55
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
56
|
+
var toString = Object.prototype.toString;
|
|
57
|
+
var hasSticky = typeof new RegExp().sticky === "boolean";
|
|
58
|
+
function isRegExp(o) {
|
|
59
|
+
return o && toString.call(o) === "[object RegExp]";
|
|
60
|
+
}
|
|
61
|
+
function isObject(o) {
|
|
62
|
+
return o && typeof o === "object" && !isRegExp(o) && !Array.isArray(o);
|
|
63
|
+
}
|
|
64
|
+
function reEscape(s) {
|
|
65
|
+
return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
66
|
+
}
|
|
67
|
+
function reGroups(s) {
|
|
68
|
+
var re = new RegExp("|" + s);
|
|
69
|
+
return re.exec("").length - 1;
|
|
70
|
+
}
|
|
71
|
+
function reCapture(s) {
|
|
72
|
+
return "(" + s + ")";
|
|
73
|
+
}
|
|
74
|
+
function reUnion(regexps) {
|
|
75
|
+
if (!regexps.length) return "(?!)";
|
|
76
|
+
var source = regexps.map(function(s) {
|
|
77
|
+
return "(?:" + s + ")";
|
|
78
|
+
}).join("|");
|
|
79
|
+
return "(?:" + source + ")";
|
|
80
|
+
}
|
|
81
|
+
function regexpOrLiteral(obj) {
|
|
82
|
+
if (typeof obj === "string") {
|
|
83
|
+
return "(?:" + reEscape(obj) + ")";
|
|
84
|
+
} else if (isRegExp(obj)) {
|
|
85
|
+
if (obj.ignoreCase) throw new Error("RegExp /i flag not allowed");
|
|
86
|
+
if (obj.global) throw new Error("RegExp /g flag is implied");
|
|
87
|
+
if (obj.sticky) throw new Error("RegExp /y flag is implied");
|
|
88
|
+
if (obj.multiline) throw new Error("RegExp /m flag is implied");
|
|
89
|
+
return obj.source;
|
|
90
|
+
} else {
|
|
91
|
+
throw new Error("Not a pattern: " + obj);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function pad(s, length) {
|
|
95
|
+
if (s.length > length) {
|
|
96
|
+
return s;
|
|
97
|
+
}
|
|
98
|
+
return Array(length - s.length + 1).join(" ") + s;
|
|
99
|
+
}
|
|
100
|
+
function lastNLines(string, numLines) {
|
|
101
|
+
var position = string.length;
|
|
102
|
+
var lineBreaks = 0;
|
|
103
|
+
while (true) {
|
|
104
|
+
var idx = string.lastIndexOf("\n", position - 1);
|
|
105
|
+
if (idx === -1) {
|
|
106
|
+
break;
|
|
107
|
+
} else {
|
|
108
|
+
lineBreaks++;
|
|
109
|
+
}
|
|
110
|
+
position = idx;
|
|
111
|
+
if (lineBreaks === numLines) {
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
if (position === 0) {
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
var startPosition = lineBreaks < numLines ? 0 : position + 1;
|
|
119
|
+
return string.substring(startPosition).split("\n");
|
|
120
|
+
}
|
|
121
|
+
function objectToRules(object) {
|
|
122
|
+
var keys = Object.getOwnPropertyNames(object);
|
|
123
|
+
var result = [];
|
|
124
|
+
for (var i = 0; i < keys.length; i++) {
|
|
125
|
+
var key = keys[i];
|
|
126
|
+
var thing = object[key];
|
|
127
|
+
var rules = [].concat(thing);
|
|
128
|
+
if (key === "include") {
|
|
129
|
+
for (var j = 0; j < rules.length; j++) {
|
|
130
|
+
result.push({ include: rules[j] });
|
|
131
|
+
}
|
|
132
|
+
continue;
|
|
133
|
+
}
|
|
134
|
+
var match = [];
|
|
135
|
+
rules.forEach(function(rule) {
|
|
136
|
+
if (isObject(rule)) {
|
|
137
|
+
if (match.length) result.push(ruleOptions(key, match));
|
|
138
|
+
result.push(ruleOptions(key, rule));
|
|
139
|
+
match = [];
|
|
140
|
+
} else {
|
|
141
|
+
match.push(rule);
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
if (match.length) result.push(ruleOptions(key, match));
|
|
145
|
+
}
|
|
146
|
+
return result;
|
|
147
|
+
}
|
|
148
|
+
function arrayToRules(array) {
|
|
149
|
+
var result = [];
|
|
150
|
+
for (var i = 0; i < array.length; i++) {
|
|
151
|
+
var obj = array[i];
|
|
152
|
+
if (obj.include) {
|
|
153
|
+
var include = [].concat(obj.include);
|
|
154
|
+
for (var j = 0; j < include.length; j++) {
|
|
155
|
+
result.push({ include: include[j] });
|
|
156
|
+
}
|
|
157
|
+
continue;
|
|
158
|
+
}
|
|
159
|
+
if (!obj.type) {
|
|
160
|
+
throw new Error("Rule has no type: " + JSON.stringify(obj));
|
|
161
|
+
}
|
|
162
|
+
result.push(ruleOptions(obj.type, obj));
|
|
163
|
+
}
|
|
164
|
+
return result;
|
|
165
|
+
}
|
|
166
|
+
function ruleOptions(type, obj) {
|
|
167
|
+
if (!isObject(obj)) {
|
|
168
|
+
obj = { match: obj };
|
|
169
|
+
}
|
|
170
|
+
if (obj.include) {
|
|
171
|
+
throw new Error("Matching rules cannot also include states");
|
|
172
|
+
}
|
|
173
|
+
var options = {
|
|
174
|
+
defaultType: type,
|
|
175
|
+
lineBreaks: !!obj.error || !!obj.fallback,
|
|
176
|
+
pop: false,
|
|
177
|
+
next: null,
|
|
178
|
+
push: null,
|
|
179
|
+
error: false,
|
|
180
|
+
fallback: false,
|
|
181
|
+
value: null,
|
|
182
|
+
type: null,
|
|
183
|
+
shouldThrow: false
|
|
184
|
+
};
|
|
185
|
+
for (var key in obj) {
|
|
186
|
+
if (hasOwnProperty.call(obj, key)) {
|
|
187
|
+
options[key] = obj[key];
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
if (typeof options.type === "string" && type !== options.type) {
|
|
191
|
+
throw new Error("Type transform cannot be a string (type '" + options.type + "' for token '" + type + "')");
|
|
192
|
+
}
|
|
193
|
+
var match = options.match;
|
|
194
|
+
options.match = Array.isArray(match) ? match : match ? [match] : [];
|
|
195
|
+
options.match.sort(function(a, b) {
|
|
196
|
+
return isRegExp(a) && isRegExp(b) ? 0 : isRegExp(b) ? -1 : isRegExp(a) ? 1 : b.length - a.length;
|
|
197
|
+
});
|
|
198
|
+
return options;
|
|
199
|
+
}
|
|
200
|
+
function toRules(spec) {
|
|
201
|
+
return Array.isArray(spec) ? arrayToRules(spec) : objectToRules(spec);
|
|
202
|
+
}
|
|
203
|
+
var defaultErrorRule = ruleOptions("error", { lineBreaks: true, shouldThrow: true });
|
|
204
|
+
function compileRules(rules, hasStates) {
|
|
205
|
+
var errorRule = null;
|
|
206
|
+
var fast = /* @__PURE__ */ Object.create(null);
|
|
207
|
+
var fastAllowed = true;
|
|
208
|
+
var unicodeFlag = null;
|
|
209
|
+
var groups = [];
|
|
210
|
+
var parts = [];
|
|
211
|
+
for (var i = 0; i < rules.length; i++) {
|
|
212
|
+
if (rules[i].fallback) {
|
|
213
|
+
fastAllowed = false;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
for (var i = 0; i < rules.length; i++) {
|
|
217
|
+
var options = rules[i];
|
|
218
|
+
if (options.include) {
|
|
219
|
+
throw new Error("Inheritance is not allowed in stateless lexers");
|
|
220
|
+
}
|
|
221
|
+
if (options.error || options.fallback) {
|
|
222
|
+
if (errorRule) {
|
|
223
|
+
if (!options.fallback === !errorRule.fallback) {
|
|
224
|
+
throw new Error("Multiple " + (options.fallback ? "fallback" : "error") + " rules not allowed (for token '" + options.defaultType + "')");
|
|
225
|
+
} else {
|
|
226
|
+
throw new Error("fallback and error are mutually exclusive (for token '" + options.defaultType + "')");
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
errorRule = options;
|
|
230
|
+
}
|
|
231
|
+
var match = options.match.slice();
|
|
232
|
+
if (fastAllowed) {
|
|
233
|
+
while (match.length && typeof match[0] === "string" && match[0].length === 1) {
|
|
234
|
+
var word = match.shift();
|
|
235
|
+
fast[word.charCodeAt(0)] = options;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
if (options.pop || options.push || options.next) {
|
|
239
|
+
if (!hasStates) {
|
|
240
|
+
throw new Error("State-switching options are not allowed in stateless lexers (for token '" + options.defaultType + "')");
|
|
241
|
+
}
|
|
242
|
+
if (options.fallback) {
|
|
243
|
+
throw new Error("State-switching options are not allowed on fallback tokens (for token '" + options.defaultType + "')");
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
if (match.length === 0) {
|
|
247
|
+
continue;
|
|
248
|
+
}
|
|
249
|
+
fastAllowed = false;
|
|
250
|
+
groups.push(options);
|
|
251
|
+
for (var j = 0; j < match.length; j++) {
|
|
252
|
+
var obj = match[j];
|
|
253
|
+
if (!isRegExp(obj)) {
|
|
254
|
+
continue;
|
|
255
|
+
}
|
|
256
|
+
if (unicodeFlag === null) {
|
|
257
|
+
unicodeFlag = obj.unicode;
|
|
258
|
+
} else if (unicodeFlag !== obj.unicode && options.fallback === false) {
|
|
259
|
+
throw new Error("If one rule is /u then all must be");
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
var pat = reUnion(match.map(regexpOrLiteral));
|
|
263
|
+
var regexp = new RegExp(pat);
|
|
264
|
+
if (regexp.test("")) {
|
|
265
|
+
throw new Error("RegExp matches empty string: " + regexp);
|
|
266
|
+
}
|
|
267
|
+
var groupCount = reGroups(pat);
|
|
268
|
+
if (groupCount > 0) {
|
|
269
|
+
throw new Error("RegExp has capture groups: " + regexp + "\nUse (?: \u2026 ) instead");
|
|
270
|
+
}
|
|
271
|
+
if (!options.lineBreaks && regexp.test("\n")) {
|
|
272
|
+
throw new Error("Rule should declare lineBreaks: " + regexp);
|
|
273
|
+
}
|
|
274
|
+
parts.push(reCapture(pat));
|
|
275
|
+
}
|
|
276
|
+
var fallbackRule = errorRule && errorRule.fallback;
|
|
277
|
+
var flags = hasSticky && !fallbackRule ? "ym" : "gm";
|
|
278
|
+
var suffix = hasSticky || fallbackRule ? "" : "|";
|
|
279
|
+
if (unicodeFlag === true) flags += "u";
|
|
280
|
+
var combined = new RegExp(reUnion(parts) + suffix, flags);
|
|
281
|
+
return { regexp: combined, groups, fast, error: errorRule || defaultErrorRule };
|
|
282
|
+
}
|
|
283
|
+
function compile(rules) {
|
|
284
|
+
var result = compileRules(toRules(rules));
|
|
285
|
+
return new Lexer({ start: result }, "start");
|
|
286
|
+
}
|
|
287
|
+
function checkStateGroup(g, name, map) {
|
|
288
|
+
var state = g && (g.push || g.next);
|
|
289
|
+
if (state && !map[state]) {
|
|
290
|
+
throw new Error("Missing state '" + state + "' (in token '" + g.defaultType + "' of state '" + name + "')");
|
|
291
|
+
}
|
|
292
|
+
if (g && g.pop && +g.pop !== 1) {
|
|
293
|
+
throw new Error("pop must be 1 (in token '" + g.defaultType + "' of state '" + name + "')");
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
function compileStates(states, start) {
|
|
297
|
+
var all = states.$all ? toRules(states.$all) : [];
|
|
298
|
+
delete states.$all;
|
|
299
|
+
var keys = Object.getOwnPropertyNames(states);
|
|
300
|
+
if (!start) start = keys[0];
|
|
301
|
+
var ruleMap = /* @__PURE__ */ Object.create(null);
|
|
302
|
+
for (var i = 0; i < keys.length; i++) {
|
|
303
|
+
var key = keys[i];
|
|
304
|
+
ruleMap[key] = toRules(states[key]).concat(all);
|
|
305
|
+
}
|
|
306
|
+
for (var i = 0; i < keys.length; i++) {
|
|
307
|
+
var key = keys[i];
|
|
308
|
+
var rules = ruleMap[key];
|
|
309
|
+
var included = /* @__PURE__ */ Object.create(null);
|
|
310
|
+
for (var j = 0; j < rules.length; j++) {
|
|
311
|
+
var rule = rules[j];
|
|
312
|
+
if (!rule.include) continue;
|
|
313
|
+
var splice = [j, 1];
|
|
314
|
+
if (rule.include !== key && !included[rule.include]) {
|
|
315
|
+
included[rule.include] = true;
|
|
316
|
+
var newRules = ruleMap[rule.include];
|
|
317
|
+
if (!newRules) {
|
|
318
|
+
throw new Error("Cannot include nonexistent state '" + rule.include + "' (in state '" + key + "')");
|
|
319
|
+
}
|
|
320
|
+
for (var k = 0; k < newRules.length; k++) {
|
|
321
|
+
var newRule = newRules[k];
|
|
322
|
+
if (rules.indexOf(newRule) !== -1) continue;
|
|
323
|
+
splice.push(newRule);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
rules.splice.apply(rules, splice);
|
|
327
|
+
j--;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
var map = /* @__PURE__ */ Object.create(null);
|
|
331
|
+
for (var i = 0; i < keys.length; i++) {
|
|
332
|
+
var key = keys[i];
|
|
333
|
+
map[key] = compileRules(ruleMap[key], true);
|
|
334
|
+
}
|
|
335
|
+
for (var i = 0; i < keys.length; i++) {
|
|
336
|
+
var name = keys[i];
|
|
337
|
+
var state = map[name];
|
|
338
|
+
var groups = state.groups;
|
|
339
|
+
for (var j = 0; j < groups.length; j++) {
|
|
340
|
+
checkStateGroup(groups[j], name, map);
|
|
341
|
+
}
|
|
342
|
+
var fastKeys = Object.getOwnPropertyNames(state.fast);
|
|
343
|
+
for (var j = 0; j < fastKeys.length; j++) {
|
|
344
|
+
checkStateGroup(state.fast[fastKeys[j]], name, map);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
return new Lexer(map, start);
|
|
348
|
+
}
|
|
349
|
+
function keywordTransform(map) {
|
|
350
|
+
var isMap = typeof Map !== "undefined";
|
|
351
|
+
var reverseMap = isMap ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null);
|
|
352
|
+
var types = Object.getOwnPropertyNames(map);
|
|
353
|
+
for (var i = 0; i < types.length; i++) {
|
|
354
|
+
var tokenType = types[i];
|
|
355
|
+
var item = map[tokenType];
|
|
356
|
+
var keywordList = Array.isArray(item) ? item : [item];
|
|
357
|
+
keywordList.forEach(function(keyword) {
|
|
358
|
+
if (typeof keyword !== "string") {
|
|
359
|
+
throw new Error("keyword must be string (in keyword '" + tokenType + "')");
|
|
360
|
+
}
|
|
361
|
+
if (isMap) {
|
|
362
|
+
reverseMap.set(keyword, tokenType);
|
|
363
|
+
} else {
|
|
364
|
+
reverseMap[keyword] = tokenType;
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
return function(k) {
|
|
369
|
+
return isMap ? reverseMap.get(k) : reverseMap[k];
|
|
370
|
+
};
|
|
371
|
+
}
|
|
372
|
+
var Lexer = function(states, state) {
|
|
373
|
+
this.startState = state;
|
|
374
|
+
this.states = states;
|
|
375
|
+
this.buffer = "";
|
|
376
|
+
this.stack = [];
|
|
377
|
+
this.reset();
|
|
378
|
+
};
|
|
379
|
+
Lexer.prototype.reset = function(data, info) {
|
|
380
|
+
this.buffer = data || "";
|
|
381
|
+
this.index = 0;
|
|
382
|
+
this.line = info ? info.line : 1;
|
|
383
|
+
this.col = info ? info.col : 1;
|
|
384
|
+
this.queuedToken = info ? info.queuedToken : null;
|
|
385
|
+
this.queuedText = info ? info.queuedText : "";
|
|
386
|
+
this.queuedThrow = info ? info.queuedThrow : null;
|
|
387
|
+
this.setState(info ? info.state : this.startState);
|
|
388
|
+
this.stack = info && info.stack ? info.stack.slice() : [];
|
|
389
|
+
return this;
|
|
390
|
+
};
|
|
391
|
+
Lexer.prototype.save = function() {
|
|
392
|
+
return {
|
|
393
|
+
line: this.line,
|
|
394
|
+
col: this.col,
|
|
395
|
+
state: this.state,
|
|
396
|
+
stack: this.stack.slice(),
|
|
397
|
+
queuedToken: this.queuedToken,
|
|
398
|
+
queuedText: this.queuedText,
|
|
399
|
+
queuedThrow: this.queuedThrow
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
Lexer.prototype.setState = function(state) {
|
|
403
|
+
if (!state || this.state === state) return;
|
|
404
|
+
this.state = state;
|
|
405
|
+
var info = this.states[state];
|
|
406
|
+
this.groups = info.groups;
|
|
407
|
+
this.error = info.error;
|
|
408
|
+
this.re = info.regexp;
|
|
409
|
+
this.fast = info.fast;
|
|
410
|
+
};
|
|
411
|
+
Lexer.prototype.popState = function() {
|
|
412
|
+
this.setState(this.stack.pop());
|
|
413
|
+
};
|
|
414
|
+
Lexer.prototype.pushState = function(state) {
|
|
415
|
+
this.stack.push(this.state);
|
|
416
|
+
this.setState(state);
|
|
417
|
+
};
|
|
418
|
+
var eat = hasSticky ? function(re, buffer) {
|
|
419
|
+
return re.exec(buffer);
|
|
420
|
+
} : function(re, buffer) {
|
|
421
|
+
var match = re.exec(buffer);
|
|
422
|
+
if (match[0].length === 0) {
|
|
423
|
+
return null;
|
|
424
|
+
}
|
|
425
|
+
return match;
|
|
426
|
+
};
|
|
427
|
+
Lexer.prototype._getGroup = function(match) {
|
|
428
|
+
var groupCount = this.groups.length;
|
|
429
|
+
for (var i = 0; i < groupCount; i++) {
|
|
430
|
+
if (match[i + 1] !== void 0) {
|
|
431
|
+
return this.groups[i];
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
throw new Error("Cannot find token type for matched text");
|
|
435
|
+
};
|
|
436
|
+
function tokenToString() {
|
|
437
|
+
return this.value;
|
|
438
|
+
}
|
|
439
|
+
Lexer.prototype.next = function() {
|
|
440
|
+
var index = this.index;
|
|
441
|
+
if (this.queuedGroup) {
|
|
442
|
+
var token = this._token(this.queuedGroup, this.queuedText, index);
|
|
443
|
+
this.queuedGroup = null;
|
|
444
|
+
this.queuedText = "";
|
|
445
|
+
return token;
|
|
446
|
+
}
|
|
447
|
+
var buffer = this.buffer;
|
|
448
|
+
if (index === buffer.length) {
|
|
449
|
+
return;
|
|
450
|
+
}
|
|
451
|
+
var group = this.fast[buffer.charCodeAt(index)];
|
|
452
|
+
if (group) {
|
|
453
|
+
return this._token(group, buffer.charAt(index), index);
|
|
454
|
+
}
|
|
455
|
+
var re = this.re;
|
|
456
|
+
re.lastIndex = index;
|
|
457
|
+
var match = eat(re, buffer);
|
|
458
|
+
var error = this.error;
|
|
459
|
+
if (match == null) {
|
|
460
|
+
return this._token(error, buffer.slice(index, buffer.length), index);
|
|
461
|
+
}
|
|
462
|
+
var group = this._getGroup(match);
|
|
463
|
+
var text = match[0];
|
|
464
|
+
if (error.fallback && match.index !== index) {
|
|
465
|
+
this.queuedGroup = group;
|
|
466
|
+
this.queuedText = text;
|
|
467
|
+
return this._token(error, buffer.slice(index, match.index), index);
|
|
468
|
+
}
|
|
469
|
+
return this._token(group, text, index);
|
|
470
|
+
};
|
|
471
|
+
Lexer.prototype._token = function(group, text, offset) {
|
|
472
|
+
var lineBreaks = 0;
|
|
473
|
+
if (group.lineBreaks) {
|
|
474
|
+
var matchNL = /\n/g;
|
|
475
|
+
var nl = 1;
|
|
476
|
+
if (text === "\n") {
|
|
477
|
+
lineBreaks = 1;
|
|
478
|
+
} else {
|
|
479
|
+
while (matchNL.exec(text)) {
|
|
480
|
+
lineBreaks++;
|
|
481
|
+
nl = matchNL.lastIndex;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
var token = {
|
|
486
|
+
type: typeof group.type === "function" && group.type(text) || group.defaultType,
|
|
487
|
+
value: typeof group.value === "function" ? group.value(text) : text,
|
|
488
|
+
text,
|
|
489
|
+
toString: tokenToString,
|
|
490
|
+
offset,
|
|
491
|
+
lineBreaks,
|
|
492
|
+
line: this.line,
|
|
493
|
+
col: this.col
|
|
494
|
+
};
|
|
495
|
+
var size = text.length;
|
|
496
|
+
this.index += size;
|
|
497
|
+
this.line += lineBreaks;
|
|
498
|
+
if (lineBreaks !== 0) {
|
|
499
|
+
this.col = size - nl + 1;
|
|
500
|
+
} else {
|
|
501
|
+
this.col += size;
|
|
502
|
+
}
|
|
503
|
+
if (group.shouldThrow) {
|
|
504
|
+
var err = new Error(this.formatError(token, "invalid syntax"));
|
|
505
|
+
throw err;
|
|
506
|
+
}
|
|
507
|
+
if (group.pop) this.popState();
|
|
508
|
+
else if (group.push) this.pushState(group.push);
|
|
509
|
+
else if (group.next) this.setState(group.next);
|
|
510
|
+
return token;
|
|
511
|
+
};
|
|
512
|
+
if (typeof Symbol !== "undefined" && Symbol.iterator) {
|
|
513
|
+
var LexerIterator = function(lexer) {
|
|
514
|
+
this.lexer = lexer;
|
|
515
|
+
};
|
|
516
|
+
LexerIterator.prototype.next = function() {
|
|
517
|
+
var token = this.lexer.next();
|
|
518
|
+
return { value: token, done: !token };
|
|
519
|
+
};
|
|
520
|
+
LexerIterator.prototype[Symbol.iterator] = function() {
|
|
521
|
+
return this;
|
|
522
|
+
};
|
|
523
|
+
Lexer.prototype[Symbol.iterator] = function() {
|
|
524
|
+
return new LexerIterator(this);
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
Lexer.prototype.formatError = function(token, message) {
|
|
528
|
+
if (token == null) {
|
|
529
|
+
var text = this.buffer.slice(this.index);
|
|
530
|
+
var token = {
|
|
531
|
+
text,
|
|
532
|
+
offset: this.index,
|
|
533
|
+
lineBreaks: text.indexOf("\n") === -1 ? 0 : 1,
|
|
534
|
+
line: this.line,
|
|
535
|
+
col: this.col
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
var numLinesAround = 2;
|
|
539
|
+
var firstDisplayedLine = Math.max(token.line - numLinesAround, 1);
|
|
540
|
+
var lastDisplayedLine = token.line + numLinesAround;
|
|
541
|
+
var lastLineDigits = String(lastDisplayedLine).length;
|
|
542
|
+
var displayedLines = lastNLines(
|
|
543
|
+
this.buffer,
|
|
544
|
+
this.line - token.line + numLinesAround + 1
|
|
545
|
+
).slice(0, 5);
|
|
546
|
+
var errorLines = [];
|
|
547
|
+
errorLines.push(message + " at line " + token.line + " col " + token.col + ":");
|
|
548
|
+
errorLines.push("");
|
|
549
|
+
for (var i = 0; i < displayedLines.length; i++) {
|
|
550
|
+
var line = displayedLines[i];
|
|
551
|
+
var lineNo = firstDisplayedLine + i;
|
|
552
|
+
errorLines.push(pad(String(lineNo), lastLineDigits) + " " + line);
|
|
553
|
+
if (lineNo === token.line) {
|
|
554
|
+
errorLines.push(pad("", lastLineDigits + token.col + 1) + "^");
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
return errorLines.join("\n");
|
|
558
|
+
};
|
|
559
|
+
Lexer.prototype.clone = function() {
|
|
560
|
+
return new Lexer(this.states, this.state);
|
|
561
|
+
};
|
|
562
|
+
Lexer.prototype.has = function(tokenType) {
|
|
563
|
+
return true;
|
|
564
|
+
};
|
|
565
|
+
return {
|
|
566
|
+
compile,
|
|
567
|
+
states: compileStates,
|
|
568
|
+
error: Object.freeze({ error: true }),
|
|
569
|
+
fallback: Object.freeze({ fallback: true }),
|
|
570
|
+
keywords: keywordTransform
|
|
571
|
+
};
|
|
572
|
+
});
|
|
573
|
+
}
|
|
574
|
+
});
|
|
575
|
+
|
|
576
|
+
// node_modules/@messageformat/parser/lib/lexer.js
|
|
577
|
+
var require_lexer = __commonJS({
|
|
578
|
+
"node_modules/@messageformat/parser/lib/lexer.js"(exports) {
|
|
579
|
+
"use strict";
|
|
580
|
+
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
581
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
582
|
+
};
|
|
583
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
584
|
+
exports.lexer = exports.states = void 0;
|
|
585
|
+
var moo_1 = __importDefault(require_moo());
|
|
586
|
+
exports.states = {
|
|
587
|
+
body: {
|
|
588
|
+
doubleapos: { match: "''", value: () => "'" },
|
|
589
|
+
quoted: {
|
|
590
|
+
lineBreaks: true,
|
|
591
|
+
match: /'[{}#](?:[^']|'')*'(?!')/u,
|
|
592
|
+
value: (src) => src.slice(1, -1).replace(/''/g, "'")
|
|
593
|
+
},
|
|
594
|
+
argument: {
|
|
595
|
+
lineBreaks: true,
|
|
596
|
+
match: /\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,
|
|
597
|
+
push: "arg",
|
|
598
|
+
value: (src) => src.substring(1).trim()
|
|
599
|
+
},
|
|
600
|
+
octothorpe: "#",
|
|
601
|
+
end: { match: "}", pop: 1 },
|
|
602
|
+
content: { lineBreaks: true, match: /[^][^{}#']*/u }
|
|
603
|
+
},
|
|
604
|
+
arg: {
|
|
605
|
+
select: {
|
|
606
|
+
lineBreaks: true,
|
|
607
|
+
match: /,\s*(?:plural|select|selectordinal)\s*,\s*/u,
|
|
608
|
+
next: "select",
|
|
609
|
+
value: (src) => src.split(",")[1].trim()
|
|
610
|
+
},
|
|
611
|
+
"func-args": {
|
|
612
|
+
lineBreaks: true,
|
|
613
|
+
match: /,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,
|
|
614
|
+
next: "body",
|
|
615
|
+
value: (src) => src.split(",")[1].trim()
|
|
616
|
+
},
|
|
617
|
+
"func-simple": {
|
|
618
|
+
lineBreaks: true,
|
|
619
|
+
match: /,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,
|
|
620
|
+
value: (src) => src.substring(1).trim()
|
|
621
|
+
},
|
|
622
|
+
end: { match: "}", pop: 1 }
|
|
623
|
+
},
|
|
624
|
+
select: {
|
|
625
|
+
offset: {
|
|
626
|
+
lineBreaks: true,
|
|
627
|
+
match: /\s*offset\s*:\s*\d+\s*/u,
|
|
628
|
+
value: (src) => src.split(":")[1].trim()
|
|
629
|
+
},
|
|
630
|
+
case: {
|
|
631
|
+
lineBreaks: true,
|
|
632
|
+
match: /\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,
|
|
633
|
+
push: "body",
|
|
634
|
+
value: (src) => src.substring(0, src.indexOf("{")).trim()
|
|
635
|
+
},
|
|
636
|
+
end: { match: /\s*\}/u, pop: 1 }
|
|
637
|
+
}
|
|
638
|
+
};
|
|
639
|
+
exports.lexer = moo_1.default.states(exports.states);
|
|
640
|
+
}
|
|
641
|
+
});
|
|
642
|
+
|
|
643
|
+
// node_modules/@messageformat/parser/lib/parser.js
|
|
644
|
+
var require_parser = __commonJS({
|
|
645
|
+
"node_modules/@messageformat/parser/lib/parser.js"(exports) {
|
|
646
|
+
"use strict";
|
|
647
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
648
|
+
exports.ParseError = void 0;
|
|
649
|
+
exports.parse = parse2;
|
|
650
|
+
var lexer_js_1 = require_lexer();
|
|
651
|
+
var getContext = (lt) => ({
|
|
652
|
+
offset: lt.offset,
|
|
653
|
+
line: lt.line,
|
|
654
|
+
col: lt.col,
|
|
655
|
+
text: lt.text,
|
|
656
|
+
lineBreaks: lt.lineBreaks
|
|
657
|
+
});
|
|
658
|
+
var isSelectType = (type) => type === "plural" || type === "select" || type === "selectordinal";
|
|
659
|
+
function strictArgStyleParam(lt, param) {
|
|
660
|
+
let value = "";
|
|
661
|
+
let text = "";
|
|
662
|
+
for (const p of param) {
|
|
663
|
+
const pText = p.ctx.text;
|
|
664
|
+
text += pText;
|
|
665
|
+
switch (p.type) {
|
|
666
|
+
case "content":
|
|
667
|
+
value += p.value;
|
|
668
|
+
break;
|
|
669
|
+
case "argument":
|
|
670
|
+
case "function":
|
|
671
|
+
case "octothorpe":
|
|
672
|
+
value += pText;
|
|
673
|
+
break;
|
|
674
|
+
default:
|
|
675
|
+
throw new ParseError(lt, `Unsupported part in strict mode function arg style: ${pText}`);
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
const c = {
|
|
679
|
+
type: "content",
|
|
680
|
+
value: value.trim(),
|
|
681
|
+
ctx: Object.assign({}, param[0].ctx, { text })
|
|
682
|
+
};
|
|
683
|
+
return [c];
|
|
684
|
+
}
|
|
685
|
+
var strictArgTypes = [
|
|
686
|
+
"number",
|
|
687
|
+
"date",
|
|
688
|
+
"time",
|
|
689
|
+
"spellout",
|
|
690
|
+
"ordinal",
|
|
691
|
+
"duration"
|
|
692
|
+
];
|
|
693
|
+
var defaultPluralKeys = ["zero", "one", "two", "few", "many", "other"];
|
|
694
|
+
var ParseError = class extends Error {
|
|
695
|
+
/** @internal */
|
|
696
|
+
constructor(lt, msg) {
|
|
697
|
+
super(lexer_js_1.lexer.formatError(lt, msg));
|
|
698
|
+
}
|
|
699
|
+
};
|
|
700
|
+
exports.ParseError = ParseError;
|
|
701
|
+
var Parser = class {
|
|
702
|
+
constructor(src, opt) {
|
|
703
|
+
var _a, _b, _c, _d;
|
|
704
|
+
this.lexer = lexer_js_1.lexer.reset(src);
|
|
705
|
+
this.cardinalKeys = (_a = opt === null || opt === void 0 ? void 0 : opt.cardinal) !== null && _a !== void 0 ? _a : defaultPluralKeys;
|
|
706
|
+
this.ordinalKeys = (_b = opt === null || opt === void 0 ? void 0 : opt.ordinal) !== null && _b !== void 0 ? _b : defaultPluralKeys;
|
|
707
|
+
this.strict = (_c = opt === null || opt === void 0 ? void 0 : opt.strict) !== null && _c !== void 0 ? _c : false;
|
|
708
|
+
this.strictPluralKeys = (_d = opt === null || opt === void 0 ? void 0 : opt.strictPluralKeys) !== null && _d !== void 0 ? _d : true;
|
|
709
|
+
}
|
|
710
|
+
parse() {
|
|
711
|
+
return this.parseBody(false, true);
|
|
712
|
+
}
|
|
713
|
+
checkSelectKey(lt, type, key) {
|
|
714
|
+
if (key[0] === "=") {
|
|
715
|
+
if (type === "select") {
|
|
716
|
+
throw new ParseError(lt, `The case ${key} is not valid with select`);
|
|
717
|
+
}
|
|
718
|
+
} else if (type !== "select") {
|
|
719
|
+
const keys = type === "plural" ? this.cardinalKeys : this.ordinalKeys;
|
|
720
|
+
if (this.strictPluralKeys && keys.length > 0 && !keys.includes(key)) {
|
|
721
|
+
const msg = `The ${type} case ${key} is not valid in this locale`;
|
|
722
|
+
throw new ParseError(lt, msg);
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
parseSelect({ value: arg }, inPlural, ctx, type) {
|
|
727
|
+
const sel = { type, arg, cases: [], ctx };
|
|
728
|
+
if (type === "plural" || type === "selectordinal")
|
|
729
|
+
inPlural = true;
|
|
730
|
+
else if (this.strict)
|
|
731
|
+
inPlural = false;
|
|
732
|
+
for (const lt of this.lexer) {
|
|
733
|
+
switch (lt.type) {
|
|
734
|
+
case "offset":
|
|
735
|
+
if (type === "select") {
|
|
736
|
+
throw new ParseError(lt, "Unexpected plural offset for select");
|
|
737
|
+
}
|
|
738
|
+
if (sel.cases.length > 0) {
|
|
739
|
+
throw new ParseError(lt, "Plural offset must be set before cases");
|
|
740
|
+
}
|
|
741
|
+
sel.pluralOffset = Number(lt.value);
|
|
742
|
+
ctx.text += lt.text;
|
|
743
|
+
ctx.lineBreaks += lt.lineBreaks;
|
|
744
|
+
break;
|
|
745
|
+
case "case": {
|
|
746
|
+
this.checkSelectKey(lt, type, lt.value);
|
|
747
|
+
sel.cases.push({
|
|
748
|
+
key: lt.value,
|
|
749
|
+
tokens: this.parseBody(inPlural),
|
|
750
|
+
ctx: getContext(lt)
|
|
751
|
+
});
|
|
752
|
+
break;
|
|
753
|
+
}
|
|
754
|
+
case "end":
|
|
755
|
+
return sel;
|
|
756
|
+
/* istanbul ignore next: never happens */
|
|
757
|
+
default:
|
|
758
|
+
throw new ParseError(lt, `Unexpected lexer token: ${lt.type}`);
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
throw new ParseError(null, "Unexpected message end");
|
|
762
|
+
}
|
|
763
|
+
parseArgToken(lt, inPlural) {
|
|
764
|
+
const ctx = getContext(lt);
|
|
765
|
+
const argType = this.lexer.next();
|
|
766
|
+
if (!argType)
|
|
767
|
+
throw new ParseError(null, "Unexpected message end");
|
|
768
|
+
ctx.text += argType.text;
|
|
769
|
+
ctx.lineBreaks += argType.lineBreaks;
|
|
770
|
+
if (this.strict && (argType.type === "func-simple" || argType.type === "func-args") && !strictArgTypes.includes(argType.value)) {
|
|
771
|
+
const msg = `Invalid strict mode function arg type: ${argType.value}`;
|
|
772
|
+
throw new ParseError(lt, msg);
|
|
773
|
+
}
|
|
774
|
+
switch (argType.type) {
|
|
775
|
+
case "end":
|
|
776
|
+
return { type: "argument", arg: lt.value, ctx };
|
|
777
|
+
case "func-simple": {
|
|
778
|
+
const end = this.lexer.next();
|
|
779
|
+
if (!end)
|
|
780
|
+
throw new ParseError(null, "Unexpected message end");
|
|
781
|
+
if (end.type !== "end") {
|
|
782
|
+
throw new ParseError(end, `Unexpected lexer token: ${end.type}`);
|
|
783
|
+
}
|
|
784
|
+
ctx.text += end.text;
|
|
785
|
+
if (isSelectType(argType.value.toLowerCase())) {
|
|
786
|
+
throw new ParseError(argType, `Invalid type identifier: ${argType.value}`);
|
|
787
|
+
}
|
|
788
|
+
return {
|
|
789
|
+
type: "function",
|
|
790
|
+
arg: lt.value,
|
|
791
|
+
key: argType.value,
|
|
792
|
+
ctx
|
|
793
|
+
};
|
|
794
|
+
}
|
|
795
|
+
case "func-args": {
|
|
796
|
+
if (isSelectType(argType.value.toLowerCase())) {
|
|
797
|
+
const msg = `Invalid type identifier: ${argType.value}`;
|
|
798
|
+
throw new ParseError(argType, msg);
|
|
799
|
+
}
|
|
800
|
+
let param = this.parseBody(this.strict ? false : inPlural);
|
|
801
|
+
if (this.strict && param.length > 0) {
|
|
802
|
+
param = strictArgStyleParam(lt, param);
|
|
803
|
+
}
|
|
804
|
+
return {
|
|
805
|
+
type: "function",
|
|
806
|
+
arg: lt.value,
|
|
807
|
+
key: argType.value,
|
|
808
|
+
param,
|
|
809
|
+
ctx
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
case "select":
|
|
813
|
+
if (isSelectType(argType.value)) {
|
|
814
|
+
return this.parseSelect(lt, inPlural, ctx, argType.value);
|
|
815
|
+
} else {
|
|
816
|
+
throw new ParseError(argType, `Unexpected select type ${argType.value}`);
|
|
817
|
+
}
|
|
818
|
+
/* istanbul ignore next: never happens */
|
|
819
|
+
default:
|
|
820
|
+
throw new ParseError(argType, `Unexpected lexer token: ${argType.type}`);
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
parseBody(inPlural, atRoot) {
|
|
824
|
+
const tokens = [];
|
|
825
|
+
let content = null;
|
|
826
|
+
for (const lt of this.lexer) {
|
|
827
|
+
if (lt.type === "argument") {
|
|
828
|
+
if (content)
|
|
829
|
+
content = null;
|
|
830
|
+
tokens.push(this.parseArgToken(lt, inPlural));
|
|
831
|
+
} else if (lt.type === "octothorpe" && inPlural) {
|
|
832
|
+
if (content)
|
|
833
|
+
content = null;
|
|
834
|
+
tokens.push({ type: "octothorpe", ctx: getContext(lt) });
|
|
835
|
+
} else if (lt.type === "end" && !atRoot) {
|
|
836
|
+
return tokens;
|
|
837
|
+
} else {
|
|
838
|
+
let value = lt.value;
|
|
839
|
+
if (!inPlural && lt.type === "quoted" && value[0] === "#") {
|
|
840
|
+
if (value.includes("{")) {
|
|
841
|
+
const errMsg = `Unsupported escape pattern: ${value}`;
|
|
842
|
+
throw new ParseError(lt, errMsg);
|
|
843
|
+
}
|
|
844
|
+
value = lt.text;
|
|
845
|
+
}
|
|
846
|
+
if (content) {
|
|
847
|
+
content.value += value;
|
|
848
|
+
content.ctx.text += lt.text;
|
|
849
|
+
content.ctx.lineBreaks += lt.lineBreaks;
|
|
850
|
+
} else {
|
|
851
|
+
content = { type: "content", value, ctx: getContext(lt) };
|
|
852
|
+
tokens.push(content);
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
if (atRoot)
|
|
857
|
+
return tokens;
|
|
858
|
+
throw new ParseError(null, "Unexpected message end");
|
|
859
|
+
}
|
|
860
|
+
};
|
|
861
|
+
function parse2(src, options = {}) {
|
|
862
|
+
const parser = new Parser(src, options);
|
|
863
|
+
return parser.parse();
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
});
|
|
867
|
+
|
|
27
868
|
// node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js
|
|
28
869
|
var require_react_is_production_min = __commonJS({
|
|
29
870
|
"node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
|
|
@@ -543,13 +1384,13 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
|
543
1384
|
err.name = "Invariant Violation";
|
|
544
1385
|
throw err;
|
|
545
1386
|
} else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
|
|
546
|
-
var
|
|
547
|
-
if (!manualPropTypeCallCache[
|
|
1387
|
+
var cacheKey2 = componentName + ":" + propName;
|
|
1388
|
+
if (!manualPropTypeCallCache[cacheKey2] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
548
1389
|
manualPropTypeWarningCount < 3) {
|
|
549
1390
|
printWarning(
|
|
550
1391
|
"You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
551
1392
|
);
|
|
552
|
-
manualPropTypeCallCache[
|
|
1393
|
+
manualPropTypeCallCache[cacheKey2] = true;
|
|
553
1394
|
manualPropTypeWarningCount++;
|
|
554
1395
|
}
|
|
555
1396
|
}
|
|
@@ -983,7 +1824,7 @@ import {
|
|
|
983
1824
|
SideNav,
|
|
984
1825
|
HeaderSideNavItems
|
|
985
1826
|
} from "@carbon/react";
|
|
986
|
-
import Link from "next
|
|
1827
|
+
import { Link } from "enjanga-core-setup/next";
|
|
987
1828
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
988
1829
|
var AppHeader = ({
|
|
989
1830
|
brand,
|
|
@@ -1110,32 +1951,1697 @@ var BrandLogo = ({
|
|
|
1110
1951
|
alt,
|
|
1111
1952
|
role
|
|
1112
1953
|
}
|
|
1113
|
-
);
|
|
1954
|
+
);
|
|
1955
|
+
}
|
|
1956
|
+
return /* @__PURE__ */ jsx2(
|
|
1957
|
+
BrandLogoFallback,
|
|
1958
|
+
{
|
|
1959
|
+
className,
|
|
1960
|
+
style,
|
|
1961
|
+
value,
|
|
1962
|
+
role
|
|
1963
|
+
}
|
|
1964
|
+
);
|
|
1965
|
+
};
|
|
1966
|
+
var BrandLogo_default = BrandLogo;
|
|
1967
|
+
|
|
1968
|
+
// src/components/Banner/Banner.tsx
|
|
1969
|
+
import clsx5 from "clsx";
|
|
1970
|
+
|
|
1971
|
+
// src/components/FeatureText/FeatureText.tsx
|
|
1972
|
+
import clsx4 from "clsx";
|
|
1973
|
+
|
|
1974
|
+
// node_modules/@contentful/rich-text-types/dist/esm/blocks.js
|
|
1975
|
+
var BLOCKS = /* @__PURE__ */ (function(BLOCKS2) {
|
|
1976
|
+
BLOCKS2["DOCUMENT"] = "document";
|
|
1977
|
+
BLOCKS2["PARAGRAPH"] = "paragraph";
|
|
1978
|
+
BLOCKS2["HEADING_1"] = "heading-1";
|
|
1979
|
+
BLOCKS2["HEADING_2"] = "heading-2";
|
|
1980
|
+
BLOCKS2["HEADING_3"] = "heading-3";
|
|
1981
|
+
BLOCKS2["HEADING_4"] = "heading-4";
|
|
1982
|
+
BLOCKS2["HEADING_5"] = "heading-5";
|
|
1983
|
+
BLOCKS2["HEADING_6"] = "heading-6";
|
|
1984
|
+
BLOCKS2["OL_LIST"] = "ordered-list";
|
|
1985
|
+
BLOCKS2["UL_LIST"] = "unordered-list";
|
|
1986
|
+
BLOCKS2["LIST_ITEM"] = "list-item";
|
|
1987
|
+
BLOCKS2["HR"] = "hr";
|
|
1988
|
+
BLOCKS2["QUOTE"] = "blockquote";
|
|
1989
|
+
BLOCKS2["EMBEDDED_ENTRY"] = "embedded-entry-block";
|
|
1990
|
+
BLOCKS2["EMBEDDED_ASSET"] = "embedded-asset-block";
|
|
1991
|
+
BLOCKS2["EMBEDDED_RESOURCE"] = "embedded-resource-block";
|
|
1992
|
+
BLOCKS2["TABLE"] = "table";
|
|
1993
|
+
BLOCKS2["TABLE_ROW"] = "table-row";
|
|
1994
|
+
BLOCKS2["TABLE_CELL"] = "table-cell";
|
|
1995
|
+
BLOCKS2["TABLE_HEADER_CELL"] = "table-header-cell";
|
|
1996
|
+
return BLOCKS2;
|
|
1997
|
+
})({});
|
|
1998
|
+
|
|
1999
|
+
// node_modules/@contentful/rich-text-types/dist/esm/inlines.js
|
|
2000
|
+
var INLINES = /* @__PURE__ */ (function(INLINES2) {
|
|
2001
|
+
INLINES2["ASSET_HYPERLINK"] = "asset-hyperlink";
|
|
2002
|
+
INLINES2["EMBEDDED_ENTRY"] = "embedded-entry-inline";
|
|
2003
|
+
INLINES2["EMBEDDED_RESOURCE"] = "embedded-resource-inline";
|
|
2004
|
+
INLINES2["ENTRY_HYPERLINK"] = "entry-hyperlink";
|
|
2005
|
+
INLINES2["HYPERLINK"] = "hyperlink";
|
|
2006
|
+
INLINES2["RESOURCE_HYPERLINK"] = "resource-hyperlink";
|
|
2007
|
+
return INLINES2;
|
|
2008
|
+
})({});
|
|
2009
|
+
|
|
2010
|
+
// node_modules/@contentful/rich-text-types/dist/esm/marks.js
|
|
2011
|
+
var MARKS = /* @__PURE__ */ (function(MARKS2) {
|
|
2012
|
+
MARKS2["BOLD"] = "bold";
|
|
2013
|
+
MARKS2["ITALIC"] = "italic";
|
|
2014
|
+
MARKS2["UNDERLINE"] = "underline";
|
|
2015
|
+
MARKS2["CODE"] = "code";
|
|
2016
|
+
MARKS2["SUPERSCRIPT"] = "superscript";
|
|
2017
|
+
MARKS2["SUBSCRIPT"] = "subscript";
|
|
2018
|
+
MARKS2["STRIKETHROUGH"] = "strikethrough";
|
|
2019
|
+
return MARKS2;
|
|
2020
|
+
})({});
|
|
2021
|
+
|
|
2022
|
+
// node_modules/@contentful/rich-text-types/dist/esm/schemaConstraints.js
|
|
2023
|
+
function _array_like_to_array(arr, len) {
|
|
2024
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
2025
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
2026
|
+
return arr2;
|
|
2027
|
+
}
|
|
2028
|
+
function _array_without_holes(arr) {
|
|
2029
|
+
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
2030
|
+
}
|
|
2031
|
+
function _define_property(obj, key, value) {
|
|
2032
|
+
if (key in obj) {
|
|
2033
|
+
Object.defineProperty(obj, key, {
|
|
2034
|
+
value,
|
|
2035
|
+
enumerable: true,
|
|
2036
|
+
configurable: true,
|
|
2037
|
+
writable: true
|
|
2038
|
+
});
|
|
2039
|
+
} else {
|
|
2040
|
+
obj[key] = value;
|
|
2041
|
+
}
|
|
2042
|
+
return obj;
|
|
2043
|
+
}
|
|
2044
|
+
function _iterable_to_array(iter) {
|
|
2045
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
2046
|
+
}
|
|
2047
|
+
function _non_iterable_spread() {
|
|
2048
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2049
|
+
}
|
|
2050
|
+
function _to_consumable_array(arr) {
|
|
2051
|
+
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
2052
|
+
}
|
|
2053
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
2054
|
+
if (!o) return;
|
|
2055
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
2056
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2057
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2058
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2059
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
2060
|
+
}
|
|
2061
|
+
var TOP_LEVEL_BLOCKS = [
|
|
2062
|
+
BLOCKS.PARAGRAPH,
|
|
2063
|
+
BLOCKS.HEADING_1,
|
|
2064
|
+
BLOCKS.HEADING_2,
|
|
2065
|
+
BLOCKS.HEADING_3,
|
|
2066
|
+
BLOCKS.HEADING_4,
|
|
2067
|
+
BLOCKS.HEADING_5,
|
|
2068
|
+
BLOCKS.HEADING_6,
|
|
2069
|
+
BLOCKS.OL_LIST,
|
|
2070
|
+
BLOCKS.UL_LIST,
|
|
2071
|
+
BLOCKS.HR,
|
|
2072
|
+
BLOCKS.QUOTE,
|
|
2073
|
+
BLOCKS.EMBEDDED_ENTRY,
|
|
2074
|
+
BLOCKS.EMBEDDED_ASSET,
|
|
2075
|
+
BLOCKS.EMBEDDED_RESOURCE,
|
|
2076
|
+
BLOCKS.TABLE
|
|
2077
|
+
];
|
|
2078
|
+
var LIST_ITEM_BLOCKS = [
|
|
2079
|
+
BLOCKS.PARAGRAPH,
|
|
2080
|
+
BLOCKS.HEADING_1,
|
|
2081
|
+
BLOCKS.HEADING_2,
|
|
2082
|
+
BLOCKS.HEADING_3,
|
|
2083
|
+
BLOCKS.HEADING_4,
|
|
2084
|
+
BLOCKS.HEADING_5,
|
|
2085
|
+
BLOCKS.HEADING_6,
|
|
2086
|
+
BLOCKS.OL_LIST,
|
|
2087
|
+
BLOCKS.UL_LIST,
|
|
2088
|
+
BLOCKS.HR,
|
|
2089
|
+
BLOCKS.QUOTE,
|
|
2090
|
+
BLOCKS.EMBEDDED_ENTRY,
|
|
2091
|
+
BLOCKS.EMBEDDED_ASSET,
|
|
2092
|
+
BLOCKS.EMBEDDED_RESOURCE
|
|
2093
|
+
];
|
|
2094
|
+
var TABLE_BLOCKS = [
|
|
2095
|
+
BLOCKS.TABLE,
|
|
2096
|
+
BLOCKS.TABLE_ROW,
|
|
2097
|
+
BLOCKS.TABLE_CELL,
|
|
2098
|
+
BLOCKS.TABLE_HEADER_CELL
|
|
2099
|
+
];
|
|
2100
|
+
var VOID_BLOCKS = [
|
|
2101
|
+
BLOCKS.HR,
|
|
2102
|
+
BLOCKS.EMBEDDED_ENTRY,
|
|
2103
|
+
BLOCKS.EMBEDDED_ASSET,
|
|
2104
|
+
BLOCKS.EMBEDDED_RESOURCE
|
|
2105
|
+
];
|
|
2106
|
+
var _obj;
|
|
2107
|
+
var CONTAINERS = (_obj = {}, _define_property(_obj, BLOCKS.OL_LIST, [
|
|
2108
|
+
BLOCKS.LIST_ITEM
|
|
2109
|
+
]), _define_property(_obj, BLOCKS.UL_LIST, [
|
|
2110
|
+
BLOCKS.LIST_ITEM
|
|
2111
|
+
]), _define_property(_obj, BLOCKS.LIST_ITEM, LIST_ITEM_BLOCKS), _define_property(_obj, BLOCKS.QUOTE, [
|
|
2112
|
+
BLOCKS.PARAGRAPH
|
|
2113
|
+
]), _define_property(_obj, BLOCKS.TABLE, [
|
|
2114
|
+
BLOCKS.TABLE_ROW
|
|
2115
|
+
]), _define_property(_obj, BLOCKS.TABLE_ROW, [
|
|
2116
|
+
BLOCKS.TABLE_CELL,
|
|
2117
|
+
BLOCKS.TABLE_HEADER_CELL
|
|
2118
|
+
]), _define_property(_obj, BLOCKS.TABLE_CELL, [
|
|
2119
|
+
BLOCKS.PARAGRAPH,
|
|
2120
|
+
BLOCKS.UL_LIST,
|
|
2121
|
+
BLOCKS.OL_LIST
|
|
2122
|
+
]), _define_property(_obj, BLOCKS.TABLE_HEADER_CELL, [
|
|
2123
|
+
BLOCKS.PARAGRAPH
|
|
2124
|
+
]), _obj);
|
|
2125
|
+
var HEADINGS = [
|
|
2126
|
+
BLOCKS.HEADING_1,
|
|
2127
|
+
BLOCKS.HEADING_2,
|
|
2128
|
+
BLOCKS.HEADING_3,
|
|
2129
|
+
BLOCKS.HEADING_4,
|
|
2130
|
+
BLOCKS.HEADING_5,
|
|
2131
|
+
BLOCKS.HEADING_6
|
|
2132
|
+
];
|
|
2133
|
+
var TEXT_CONTAINERS = [
|
|
2134
|
+
BLOCKS.PARAGRAPH
|
|
2135
|
+
].concat(_to_consumable_array(HEADINGS));
|
|
2136
|
+
var V1_NODE_TYPES = [
|
|
2137
|
+
BLOCKS.DOCUMENT,
|
|
2138
|
+
BLOCKS.PARAGRAPH,
|
|
2139
|
+
BLOCKS.HEADING_1,
|
|
2140
|
+
BLOCKS.HEADING_2,
|
|
2141
|
+
BLOCKS.HEADING_3,
|
|
2142
|
+
BLOCKS.HEADING_4,
|
|
2143
|
+
BLOCKS.HEADING_5,
|
|
2144
|
+
BLOCKS.HEADING_6,
|
|
2145
|
+
BLOCKS.OL_LIST,
|
|
2146
|
+
BLOCKS.UL_LIST,
|
|
2147
|
+
BLOCKS.LIST_ITEM,
|
|
2148
|
+
BLOCKS.HR,
|
|
2149
|
+
BLOCKS.QUOTE,
|
|
2150
|
+
BLOCKS.EMBEDDED_ENTRY,
|
|
2151
|
+
BLOCKS.EMBEDDED_ASSET,
|
|
2152
|
+
INLINES.HYPERLINK,
|
|
2153
|
+
INLINES.ENTRY_HYPERLINK,
|
|
2154
|
+
INLINES.ASSET_HYPERLINK,
|
|
2155
|
+
INLINES.EMBEDDED_ENTRY,
|
|
2156
|
+
"text"
|
|
2157
|
+
];
|
|
2158
|
+
var V1_MARKS = [
|
|
2159
|
+
MARKS.BOLD,
|
|
2160
|
+
MARKS.CODE,
|
|
2161
|
+
MARKS.ITALIC,
|
|
2162
|
+
MARKS.UNDERLINE
|
|
2163
|
+
];
|
|
2164
|
+
|
|
2165
|
+
// node_modules/@contentful/rich-text-types/dist/esm/emptyDocument.js
|
|
2166
|
+
var EMPTY_DOCUMENT = {
|
|
2167
|
+
nodeType: BLOCKS.DOCUMENT,
|
|
2168
|
+
data: {},
|
|
2169
|
+
content: [
|
|
2170
|
+
{
|
|
2171
|
+
nodeType: BLOCKS.PARAGRAPH,
|
|
2172
|
+
data: {},
|
|
2173
|
+
content: [
|
|
2174
|
+
{
|
|
2175
|
+
nodeType: "text",
|
|
2176
|
+
value: "",
|
|
2177
|
+
marks: [],
|
|
2178
|
+
data: {}
|
|
2179
|
+
}
|
|
2180
|
+
]
|
|
2181
|
+
}
|
|
2182
|
+
]
|
|
2183
|
+
};
|
|
2184
|
+
|
|
2185
|
+
// node_modules/@contentful/rich-text-types/dist/esm/validator/assert.js
|
|
2186
|
+
var import_is_plain_obj = __toESM(require_is_plain_obj());
|
|
2187
|
+
|
|
2188
|
+
// node_modules/@lingui/message-utils/dist/compileMessage.mjs
|
|
2189
|
+
var import_parser = __toESM(require_parser(), 1);
|
|
2190
|
+
var DateFormatError = class extends Error {
|
|
2191
|
+
/** @internal */
|
|
2192
|
+
constructor(msg, token, type) {
|
|
2193
|
+
super(msg);
|
|
2194
|
+
this.token = token;
|
|
2195
|
+
this.type = type || "error";
|
|
2196
|
+
}
|
|
2197
|
+
};
|
|
2198
|
+
var alpha = (width) => width < 4 ? "short" : width === 4 ? "long" : "narrow";
|
|
2199
|
+
var numeric = (width) => width % 2 === 0 ? "2-digit" : "numeric";
|
|
2200
|
+
function yearOptions(token, onError) {
|
|
2201
|
+
switch (token.char) {
|
|
2202
|
+
case "y":
|
|
2203
|
+
return { year: numeric(token.width) };
|
|
2204
|
+
case "r":
|
|
2205
|
+
return { calendar: "gregory", year: "numeric" };
|
|
2206
|
+
case "u":
|
|
2207
|
+
case "U":
|
|
2208
|
+
case "Y":
|
|
2209
|
+
default:
|
|
2210
|
+
onError(`${token.desc} is not supported; falling back to year:numeric`, DateFormatError.WARNING);
|
|
2211
|
+
return { year: "numeric" };
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
function monthStyle(token, onError) {
|
|
2215
|
+
switch (token.width) {
|
|
2216
|
+
case 1:
|
|
2217
|
+
return "numeric";
|
|
2218
|
+
case 2:
|
|
2219
|
+
return "2-digit";
|
|
2220
|
+
case 3:
|
|
2221
|
+
return "short";
|
|
2222
|
+
case 4:
|
|
2223
|
+
return "long";
|
|
2224
|
+
case 5:
|
|
2225
|
+
return "narrow";
|
|
2226
|
+
default:
|
|
2227
|
+
onError(`${token.desc} is not supported with width ${token.width}`);
|
|
2228
|
+
return void 0;
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
function dayStyle(token, onError) {
|
|
2232
|
+
const { char, desc, width } = token;
|
|
2233
|
+
if (char === "d") {
|
|
2234
|
+
return numeric(width);
|
|
2235
|
+
} else {
|
|
2236
|
+
onError(`${desc} is not supported`);
|
|
2237
|
+
return void 0;
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
function weekdayStyle(token, onError) {
|
|
2241
|
+
const { char, desc, width } = token;
|
|
2242
|
+
if ((char === "c" || char === "e") && width < 3) {
|
|
2243
|
+
const msg = `Numeric value is not supported for ${desc}; falling back to weekday:short`;
|
|
2244
|
+
onError(msg, DateFormatError.WARNING);
|
|
2245
|
+
}
|
|
2246
|
+
return alpha(width);
|
|
2247
|
+
}
|
|
2248
|
+
function hourOptions(token) {
|
|
2249
|
+
const hour = numeric(token.width);
|
|
2250
|
+
let hourCycle;
|
|
2251
|
+
switch (token.char) {
|
|
2252
|
+
case "h":
|
|
2253
|
+
hourCycle = "h12";
|
|
2254
|
+
break;
|
|
2255
|
+
case "H":
|
|
2256
|
+
hourCycle = "h23";
|
|
2257
|
+
break;
|
|
2258
|
+
case "k":
|
|
2259
|
+
hourCycle = "h24";
|
|
2260
|
+
break;
|
|
2261
|
+
case "K":
|
|
2262
|
+
hourCycle = "h11";
|
|
2263
|
+
break;
|
|
2264
|
+
}
|
|
2265
|
+
return hourCycle ? { hour, hourCycle } : { hour };
|
|
2266
|
+
}
|
|
2267
|
+
function timeZoneNameStyle(token, onError) {
|
|
2268
|
+
const { char, desc, width } = token;
|
|
2269
|
+
switch (char) {
|
|
2270
|
+
case "v":
|
|
2271
|
+
case "z":
|
|
2272
|
+
return width === 4 ? "long" : "short";
|
|
2273
|
+
case "V":
|
|
2274
|
+
if (width === 4)
|
|
2275
|
+
return "long";
|
|
2276
|
+
onError(`${desc} is not supported with width ${width}`);
|
|
2277
|
+
return void 0;
|
|
2278
|
+
case "X":
|
|
2279
|
+
onError(`${desc} is not supported`);
|
|
2280
|
+
return void 0;
|
|
2281
|
+
}
|
|
2282
|
+
return "short";
|
|
2283
|
+
}
|
|
2284
|
+
function compileOptions(token, onError) {
|
|
2285
|
+
switch (token.field) {
|
|
2286
|
+
case "era":
|
|
2287
|
+
return { era: alpha(token.width) };
|
|
2288
|
+
case "year":
|
|
2289
|
+
return yearOptions(token, onError);
|
|
2290
|
+
case "month":
|
|
2291
|
+
return { month: monthStyle(token, onError) };
|
|
2292
|
+
case "day":
|
|
2293
|
+
return { day: dayStyle(token, onError) };
|
|
2294
|
+
case "weekday":
|
|
2295
|
+
return { weekday: weekdayStyle(token, onError) };
|
|
2296
|
+
case "period":
|
|
2297
|
+
return void 0;
|
|
2298
|
+
case "hour":
|
|
2299
|
+
return hourOptions(token);
|
|
2300
|
+
case "min":
|
|
2301
|
+
return { minute: numeric(token.width) };
|
|
2302
|
+
case "sec":
|
|
2303
|
+
return { second: numeric(token.width) };
|
|
2304
|
+
case "tz":
|
|
2305
|
+
return { timeZoneName: timeZoneNameStyle(token, onError) };
|
|
2306
|
+
case "quarter":
|
|
2307
|
+
case "week":
|
|
2308
|
+
case "sec-frac":
|
|
2309
|
+
case "ms":
|
|
2310
|
+
onError(`${token.desc} is not supported`);
|
|
2311
|
+
}
|
|
2312
|
+
return void 0;
|
|
2313
|
+
}
|
|
2314
|
+
function getDateFormatOptions(tokens, timeZone, onError = (error) => {
|
|
2315
|
+
throw error;
|
|
2316
|
+
}) {
|
|
2317
|
+
const options = {
|
|
2318
|
+
timeZone
|
|
2319
|
+
};
|
|
2320
|
+
const fields2 = [];
|
|
2321
|
+
for (const token of tokens) {
|
|
2322
|
+
const { error, field, str } = token;
|
|
2323
|
+
if (error) {
|
|
2324
|
+
const dte = new DateFormatError(error.message, token);
|
|
2325
|
+
dte.stack = error.stack;
|
|
2326
|
+
onError(dte);
|
|
2327
|
+
}
|
|
2328
|
+
if (str) {
|
|
2329
|
+
const msg = `Ignoring string part: ${str}`;
|
|
2330
|
+
onError(new DateFormatError(msg, token, DateFormatError.WARNING));
|
|
2331
|
+
}
|
|
2332
|
+
if (field) {
|
|
2333
|
+
if (fields2.indexOf(field) === -1)
|
|
2334
|
+
fields2.push(field);
|
|
2335
|
+
else
|
|
2336
|
+
onError(new DateFormatError(`Duplicate ${field} token`, token));
|
|
2337
|
+
}
|
|
2338
|
+
const opt = compileOptions(token, (msg, isWarning) => onError(new DateFormatError(msg, token, isWarning)));
|
|
2339
|
+
if (opt)
|
|
2340
|
+
Object.assign(options, opt);
|
|
2341
|
+
}
|
|
2342
|
+
return options;
|
|
2343
|
+
}
|
|
2344
|
+
var fields = {
|
|
2345
|
+
G: { field: "era", desc: "Era" },
|
|
2346
|
+
y: { field: "year", desc: "Year" },
|
|
2347
|
+
Y: { field: "year", desc: 'Year of "Week of Year"' },
|
|
2348
|
+
u: { field: "year", desc: "Extended year" },
|
|
2349
|
+
U: { field: "year", desc: "Cyclic year name" },
|
|
2350
|
+
r: { field: "year", desc: "Related Gregorian year" },
|
|
2351
|
+
Q: { field: "quarter", desc: "Quarter" },
|
|
2352
|
+
q: { field: "quarter", desc: "Stand-alone quarter" },
|
|
2353
|
+
M: { field: "month", desc: "Month in year" },
|
|
2354
|
+
L: { field: "month", desc: "Stand-alone month in year" },
|
|
2355
|
+
w: { field: "week", desc: "Week of year" },
|
|
2356
|
+
W: { field: "week", desc: "Week of month" },
|
|
2357
|
+
d: { field: "day", desc: "Day in month" },
|
|
2358
|
+
D: { field: "day", desc: "Day of year" },
|
|
2359
|
+
F: { field: "day", desc: "Day of week in month" },
|
|
2360
|
+
g: { field: "day", desc: "Modified julian day" },
|
|
2361
|
+
E: { field: "weekday", desc: "Day of week" },
|
|
2362
|
+
e: { field: "weekday", desc: "Local day of week" },
|
|
2363
|
+
c: { field: "weekday", desc: "Stand-alone local day of week" },
|
|
2364
|
+
a: { field: "period", desc: "AM/PM marker" },
|
|
2365
|
+
b: { field: "period", desc: "AM/PM/noon/midnight marker" },
|
|
2366
|
+
B: { field: "period", desc: "Flexible day period" },
|
|
2367
|
+
h: { field: "hour", desc: "Hour in AM/PM (1~12)" },
|
|
2368
|
+
H: { field: "hour", desc: "Hour in day (0~23)" },
|
|
2369
|
+
k: { field: "hour", desc: "Hour in day (1~24)" },
|
|
2370
|
+
K: { field: "hour", desc: "Hour in AM/PM (0~11)" },
|
|
2371
|
+
j: { field: "hour", desc: "Hour in preferred cycle" },
|
|
2372
|
+
J: { field: "hour", desc: "Hour in preferred cycle without marker" },
|
|
2373
|
+
C: { field: "hour", desc: "Hour in preferred cycle with flexible marker" },
|
|
2374
|
+
m: { field: "min", desc: "Minute in hour" },
|
|
2375
|
+
s: { field: "sec", desc: "Second in minute" },
|
|
2376
|
+
S: { field: "sec-frac", desc: "Fractional second" },
|
|
2377
|
+
A: { field: "ms", desc: "Milliseconds in day" },
|
|
2378
|
+
z: { field: "tz", desc: "Time Zone: specific non-location" },
|
|
2379
|
+
Z: { field: "tz", desc: "Time Zone" },
|
|
2380
|
+
O: { field: "tz", desc: "Time Zone: localized" },
|
|
2381
|
+
v: { field: "tz", desc: "Time Zone: generic non-location" },
|
|
2382
|
+
V: { field: "tz", desc: "Time Zone: ID" },
|
|
2383
|
+
X: { field: "tz", desc: "Time Zone: ISO8601 with Z" },
|
|
2384
|
+
x: { field: "tz", desc: "Time Zone: ISO8601" }
|
|
2385
|
+
};
|
|
2386
|
+
var isLetter = (char) => char >= "A" && char <= "Z" || char >= "a" && char <= "z";
|
|
2387
|
+
function readFieldToken(src, pos) {
|
|
2388
|
+
const char = src[pos];
|
|
2389
|
+
let width = 1;
|
|
2390
|
+
while (src[++pos] === char)
|
|
2391
|
+
++width;
|
|
2392
|
+
const field = fields[char];
|
|
2393
|
+
if (!field) {
|
|
2394
|
+
const msg = `The letter ${char} is not a valid field identifier`;
|
|
2395
|
+
return { char, error: new Error(msg), width };
|
|
2396
|
+
}
|
|
2397
|
+
return { char, field: field.field, desc: field.desc, width };
|
|
2398
|
+
}
|
|
2399
|
+
function readQuotedToken(src, pos) {
|
|
2400
|
+
let str = src[++pos];
|
|
2401
|
+
let width = 2;
|
|
2402
|
+
if (str === "'")
|
|
2403
|
+
return { char: "'", str, width };
|
|
2404
|
+
while (true) {
|
|
2405
|
+
const next = src[++pos];
|
|
2406
|
+
++width;
|
|
2407
|
+
if (next === void 0) {
|
|
2408
|
+
const msg = `Unterminated quoted literal in pattern: ${str || src}`;
|
|
2409
|
+
return { char: "'", error: new Error(msg), str, width };
|
|
2410
|
+
} else if (next === "'") {
|
|
2411
|
+
if (src[++pos] !== "'")
|
|
2412
|
+
return { char: "'", str, width };
|
|
2413
|
+
else
|
|
2414
|
+
++width;
|
|
2415
|
+
}
|
|
2416
|
+
str += next;
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
function readToken(src, pos) {
|
|
2420
|
+
const char = src[pos];
|
|
2421
|
+
if (!char)
|
|
2422
|
+
return null;
|
|
2423
|
+
if (isLetter(char))
|
|
2424
|
+
return readFieldToken(src, pos);
|
|
2425
|
+
if (char === "'")
|
|
2426
|
+
return readQuotedToken(src, pos);
|
|
2427
|
+
let str = char;
|
|
2428
|
+
let width = 1;
|
|
2429
|
+
while (true) {
|
|
2430
|
+
const next = src[++pos];
|
|
2431
|
+
if (!next || isLetter(next) || next === "'")
|
|
2432
|
+
return { char, str, width };
|
|
2433
|
+
str += next;
|
|
2434
|
+
width += 1;
|
|
2435
|
+
}
|
|
2436
|
+
}
|
|
2437
|
+
function parseDateTokens(src) {
|
|
2438
|
+
const tokens = [];
|
|
2439
|
+
let pos = 0;
|
|
2440
|
+
while (true) {
|
|
2441
|
+
const token = readToken(src, pos);
|
|
2442
|
+
if (!token)
|
|
2443
|
+
return tokens;
|
|
2444
|
+
tokens.push(token);
|
|
2445
|
+
pos += token.width;
|
|
2446
|
+
}
|
|
2447
|
+
}
|
|
2448
|
+
function processTokens(tokens, mapText) {
|
|
2449
|
+
if (!tokens.filter((token) => token.type !== "content").length) {
|
|
2450
|
+
return tokens.map((token) => mapText(token.value));
|
|
2451
|
+
}
|
|
2452
|
+
return tokens.map((token) => {
|
|
2453
|
+
if (token.type === "content") {
|
|
2454
|
+
return mapText(token.value);
|
|
2455
|
+
} else if (token.type === "octothorpe") {
|
|
2456
|
+
return "#";
|
|
2457
|
+
} else if (token.type === "argument") {
|
|
2458
|
+
return [token.arg];
|
|
2459
|
+
} else if (token.type === "function") {
|
|
2460
|
+
const _param = token?.param?.[0];
|
|
2461
|
+
if (token.key === "date" && _param) {
|
|
2462
|
+
const opts = compileDateExpression(_param.value.trim(), (e) => {
|
|
2463
|
+
throw new Error(`Unable to compile date expression: ${e.message}`);
|
|
2464
|
+
});
|
|
2465
|
+
return [token.arg, token.key, opts];
|
|
2466
|
+
}
|
|
2467
|
+
if (_param) {
|
|
2468
|
+
return [token.arg, token.key, _param.value.trim()];
|
|
2469
|
+
} else {
|
|
2470
|
+
return [token.arg, token.key];
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2473
|
+
const offset = token.pluralOffset;
|
|
2474
|
+
const formatProps = {};
|
|
2475
|
+
token.cases.forEach(({ key, tokens: tokens2 }) => {
|
|
2476
|
+
const prop = key[0] === "=" ? key.slice(1) : key;
|
|
2477
|
+
formatProps[prop] = processTokens(tokens2, mapText);
|
|
2478
|
+
});
|
|
2479
|
+
return [
|
|
2480
|
+
token.arg,
|
|
2481
|
+
token.type,
|
|
2482
|
+
{
|
|
2483
|
+
offset,
|
|
2484
|
+
...formatProps
|
|
2485
|
+
}
|
|
2486
|
+
];
|
|
2487
|
+
});
|
|
2488
|
+
}
|
|
2489
|
+
function compileDateExpression(format, onError) {
|
|
2490
|
+
if (/^::/.test(format)) {
|
|
2491
|
+
const tokens = parseDateTokens(format.substring(2));
|
|
2492
|
+
return getDateFormatOptions(tokens, void 0, onError);
|
|
2493
|
+
}
|
|
2494
|
+
return format;
|
|
2495
|
+
}
|
|
2496
|
+
function compileMessageOrThrow(message, mapText = (v) => v) {
|
|
2497
|
+
return processTokens((0, import_parser.parse)(message), mapText);
|
|
2498
|
+
}
|
|
2499
|
+
function compileMessage(message, mapText = (v) => v) {
|
|
2500
|
+
try {
|
|
2501
|
+
return compileMessageOrThrow(message, mapText);
|
|
2502
|
+
} catch (e) {
|
|
2503
|
+
console.error(`${e.message}
|
|
2504
|
+
|
|
2505
|
+
Message: ${message}`);
|
|
2506
|
+
return [message];
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
|
|
2510
|
+
// node_modules/@lingui/core/dist/index.mjs
|
|
2511
|
+
var isString = (s) => typeof s === "string";
|
|
2512
|
+
var isFunction = (f) => typeof f === "function";
|
|
2513
|
+
var cache = /* @__PURE__ */ new Map();
|
|
2514
|
+
var defaultLocale = "en";
|
|
2515
|
+
function normalizeLocales(locales) {
|
|
2516
|
+
const out = Array.isArray(locales) ? locales : [locales];
|
|
2517
|
+
return [...out, defaultLocale];
|
|
2518
|
+
}
|
|
2519
|
+
function date(locales, value, format) {
|
|
2520
|
+
const _locales = normalizeLocales(locales);
|
|
2521
|
+
if (!format) {
|
|
2522
|
+
format = "default";
|
|
2523
|
+
}
|
|
2524
|
+
let o;
|
|
2525
|
+
if (typeof format === "string") {
|
|
2526
|
+
o = {
|
|
2527
|
+
day: "numeric",
|
|
2528
|
+
month: "short",
|
|
2529
|
+
year: "numeric"
|
|
2530
|
+
};
|
|
2531
|
+
switch (format) {
|
|
2532
|
+
case "full":
|
|
2533
|
+
o.weekday = "long";
|
|
2534
|
+
case "long":
|
|
2535
|
+
o.month = "long";
|
|
2536
|
+
break;
|
|
2537
|
+
case "short":
|
|
2538
|
+
o.month = "numeric";
|
|
2539
|
+
break;
|
|
2540
|
+
}
|
|
2541
|
+
} else {
|
|
2542
|
+
o = format;
|
|
2543
|
+
}
|
|
2544
|
+
const formatter = getMemoized(
|
|
2545
|
+
() => cacheKey("date", _locales, format),
|
|
2546
|
+
() => new Intl.DateTimeFormat(_locales, o)
|
|
2547
|
+
);
|
|
2548
|
+
return formatter.format(isString(value) ? new Date(value) : value);
|
|
2549
|
+
}
|
|
2550
|
+
function time(locales, value, format) {
|
|
2551
|
+
let o;
|
|
2552
|
+
if (!format) {
|
|
2553
|
+
format = "default";
|
|
2554
|
+
}
|
|
2555
|
+
if (typeof format === "string") {
|
|
2556
|
+
o = {
|
|
2557
|
+
second: "numeric",
|
|
2558
|
+
minute: "numeric",
|
|
2559
|
+
hour: "numeric"
|
|
2560
|
+
};
|
|
2561
|
+
switch (format) {
|
|
2562
|
+
case "full":
|
|
2563
|
+
case "long":
|
|
2564
|
+
o.timeZoneName = "short";
|
|
2565
|
+
break;
|
|
2566
|
+
case "short":
|
|
2567
|
+
delete o.second;
|
|
2568
|
+
}
|
|
2569
|
+
} else {
|
|
2570
|
+
o = format;
|
|
2571
|
+
}
|
|
2572
|
+
return date(locales, value, o);
|
|
2573
|
+
}
|
|
2574
|
+
function number(locales, value, format) {
|
|
2575
|
+
const _locales = normalizeLocales(locales);
|
|
2576
|
+
const formatter = getMemoized(
|
|
2577
|
+
() => cacheKey("number", _locales, format),
|
|
2578
|
+
() => new Intl.NumberFormat(_locales, format)
|
|
2579
|
+
);
|
|
2580
|
+
return formatter.format(value);
|
|
2581
|
+
}
|
|
2582
|
+
function plural(locales, ordinal, value, { offset = 0, ...rules }) {
|
|
2583
|
+
const _locales = normalizeLocales(locales);
|
|
2584
|
+
const plurals = ordinal ? getMemoized(
|
|
2585
|
+
() => cacheKey("plural-ordinal", _locales),
|
|
2586
|
+
() => new Intl.PluralRules(_locales, { type: "ordinal" })
|
|
2587
|
+
) : getMemoized(
|
|
2588
|
+
() => cacheKey("plural-cardinal", _locales),
|
|
2589
|
+
() => new Intl.PluralRules(_locales, { type: "cardinal" })
|
|
2590
|
+
);
|
|
2591
|
+
return rules[value] ?? rules[plurals.select(value - offset)] ?? rules.other;
|
|
2592
|
+
}
|
|
2593
|
+
function getMemoized(getKey, construct) {
|
|
2594
|
+
const key = getKey();
|
|
2595
|
+
let formatter = cache.get(key);
|
|
2596
|
+
if (!formatter) {
|
|
2597
|
+
formatter = construct();
|
|
2598
|
+
cache.set(key, formatter);
|
|
2599
|
+
}
|
|
2600
|
+
return formatter;
|
|
2601
|
+
}
|
|
2602
|
+
function cacheKey(type, locales, options) {
|
|
2603
|
+
const localeKey = locales.join("-");
|
|
2604
|
+
return `${type}-${localeKey}-${JSON.stringify(options)}`;
|
|
2605
|
+
}
|
|
2606
|
+
var ESCAPE_SEQUENCE_REGEX = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/;
|
|
2607
|
+
var decodeEscapeSequences = (str) => {
|
|
2608
|
+
return str.replace(
|
|
2609
|
+
// Same pattern but with capturing groups for extracting values during replacement
|
|
2610
|
+
/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,
|
|
2611
|
+
(_, unicode, hex) => {
|
|
2612
|
+
if (unicode) {
|
|
2613
|
+
const codePoint = parseInt(unicode, 16);
|
|
2614
|
+
return String.fromCharCode(codePoint);
|
|
2615
|
+
} else {
|
|
2616
|
+
const codePoint = parseInt(hex, 16);
|
|
2617
|
+
return String.fromCharCode(codePoint);
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
);
|
|
2621
|
+
};
|
|
2622
|
+
var OCTOTHORPE_PH = "%__lingui_octothorpe__%";
|
|
2623
|
+
var getDefaultFormats = (locale, passedLocales, formats = {}) => {
|
|
2624
|
+
const locales = passedLocales || locale;
|
|
2625
|
+
const style = (format) => {
|
|
2626
|
+
if (typeof format === "object")
|
|
2627
|
+
return format;
|
|
2628
|
+
return formats[format];
|
|
2629
|
+
};
|
|
2630
|
+
const replaceOctothorpe = (value, message) => {
|
|
2631
|
+
const numberFormat = Object.keys(formats).length ? style("number") : void 0;
|
|
2632
|
+
const valueStr = number(locales, value, numberFormat);
|
|
2633
|
+
return message.replace(new RegExp(OCTOTHORPE_PH, "g"), valueStr);
|
|
2634
|
+
};
|
|
2635
|
+
return {
|
|
2636
|
+
plural: (value, cases) => {
|
|
2637
|
+
const { offset = 0 } = cases;
|
|
2638
|
+
const message = plural(locales, false, value, cases);
|
|
2639
|
+
return replaceOctothorpe(value - offset, message);
|
|
2640
|
+
},
|
|
2641
|
+
selectordinal: (value, cases) => {
|
|
2642
|
+
const { offset = 0 } = cases;
|
|
2643
|
+
const message = plural(locales, true, value, cases);
|
|
2644
|
+
return replaceOctothorpe(value - offset, message);
|
|
2645
|
+
},
|
|
2646
|
+
select: selectFormatter,
|
|
2647
|
+
number: (value, format) => number(
|
|
2648
|
+
locales,
|
|
2649
|
+
value,
|
|
2650
|
+
style(format) || { style: format }
|
|
2651
|
+
),
|
|
2652
|
+
date: (value, format) => date(locales, value, style(format) || format),
|
|
2653
|
+
time: (value, format) => time(locales, value, style(format) || format)
|
|
2654
|
+
};
|
|
2655
|
+
};
|
|
2656
|
+
var selectFormatter = (value, rules) => rules[value] ?? rules.other;
|
|
2657
|
+
function interpolate(translation, locale, locales) {
|
|
2658
|
+
return (values = {}, formats) => {
|
|
2659
|
+
const formatters = getDefaultFormats(locale, locales, formats);
|
|
2660
|
+
const formatMessage = (tokens, replaceOctothorpe = false) => {
|
|
2661
|
+
if (!Array.isArray(tokens))
|
|
2662
|
+
return tokens;
|
|
2663
|
+
return tokens.reduce((message, token) => {
|
|
2664
|
+
if (token === "#" && replaceOctothorpe) {
|
|
2665
|
+
return message + OCTOTHORPE_PH;
|
|
2666
|
+
}
|
|
2667
|
+
if (isString(token)) {
|
|
2668
|
+
return message + token;
|
|
2669
|
+
}
|
|
2670
|
+
const [name, type, format] = token;
|
|
2671
|
+
let interpolatedFormat = {};
|
|
2672
|
+
if (type === "plural" || type === "selectordinal" || type === "select") {
|
|
2673
|
+
Object.entries(format).forEach(
|
|
2674
|
+
([key, value2]) => {
|
|
2675
|
+
interpolatedFormat[key] = formatMessage(
|
|
2676
|
+
value2,
|
|
2677
|
+
type === "plural" || type === "selectordinal"
|
|
2678
|
+
);
|
|
2679
|
+
}
|
|
2680
|
+
);
|
|
2681
|
+
} else {
|
|
2682
|
+
interpolatedFormat = format;
|
|
2683
|
+
}
|
|
2684
|
+
let value;
|
|
2685
|
+
if (type) {
|
|
2686
|
+
const formatter = formatters[type];
|
|
2687
|
+
value = formatter(values[name], interpolatedFormat);
|
|
2688
|
+
} else {
|
|
2689
|
+
value = values[name];
|
|
2690
|
+
}
|
|
2691
|
+
if (value == null) {
|
|
2692
|
+
return message;
|
|
2693
|
+
}
|
|
2694
|
+
return message + value;
|
|
2695
|
+
}, "");
|
|
2696
|
+
};
|
|
2697
|
+
const result = formatMessage(translation);
|
|
2698
|
+
if (isString(result) && ESCAPE_SEQUENCE_REGEX.test(result)) {
|
|
2699
|
+
return decodeEscapeSequences(result);
|
|
2700
|
+
}
|
|
2701
|
+
if (isString(result))
|
|
2702
|
+
return result;
|
|
2703
|
+
return result ? String(result) : "";
|
|
2704
|
+
};
|
|
2705
|
+
}
|
|
2706
|
+
var __defProp$1 = Object.defineProperty;
|
|
2707
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2708
|
+
var __publicField$1 = (obj, key, value) => {
|
|
2709
|
+
__defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2710
|
+
return value;
|
|
2711
|
+
};
|
|
2712
|
+
var EventEmitter = class {
|
|
2713
|
+
constructor() {
|
|
2714
|
+
__publicField$1(this, "_events", {});
|
|
2715
|
+
}
|
|
2716
|
+
on(event, listener) {
|
|
2717
|
+
var _a;
|
|
2718
|
+
(_a = this._events)[event] ?? (_a[event] = []);
|
|
2719
|
+
this._events[event].push(listener);
|
|
2720
|
+
return () => this.removeListener(event, listener);
|
|
2721
|
+
}
|
|
2722
|
+
removeListener(event, listener) {
|
|
2723
|
+
const maybeListeners = this._getListeners(event);
|
|
2724
|
+
if (!maybeListeners)
|
|
2725
|
+
return;
|
|
2726
|
+
const index = maybeListeners.indexOf(listener);
|
|
2727
|
+
if (~index)
|
|
2728
|
+
maybeListeners.splice(index, 1);
|
|
2729
|
+
}
|
|
2730
|
+
emit(event, ...args) {
|
|
2731
|
+
const maybeListeners = this._getListeners(event);
|
|
2732
|
+
if (!maybeListeners)
|
|
2733
|
+
return;
|
|
2734
|
+
maybeListeners.map((listener) => listener.apply(this, args));
|
|
2735
|
+
}
|
|
2736
|
+
_getListeners(event) {
|
|
2737
|
+
const maybeListeners = this._events[event];
|
|
2738
|
+
return Array.isArray(maybeListeners) ? maybeListeners : false;
|
|
2739
|
+
}
|
|
2740
|
+
};
|
|
2741
|
+
var __defProp2 = Object.defineProperty;
|
|
2742
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2743
|
+
var __publicField = (obj, key, value) => {
|
|
2744
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2745
|
+
return value;
|
|
2746
|
+
};
|
|
2747
|
+
var I18n = class extends EventEmitter {
|
|
2748
|
+
constructor(params) {
|
|
2749
|
+
super();
|
|
2750
|
+
__publicField(this, "_locale", "");
|
|
2751
|
+
__publicField(this, "_locales");
|
|
2752
|
+
__publicField(this, "_localeData", {});
|
|
2753
|
+
__publicField(this, "_messages", {});
|
|
2754
|
+
__publicField(this, "_missing");
|
|
2755
|
+
__publicField(this, "_messageCompiler");
|
|
2756
|
+
__publicField(this, "t", this._.bind(this));
|
|
2757
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2758
|
+
this.setMessagesCompiler(compileMessage);
|
|
2759
|
+
}
|
|
2760
|
+
if (params.missing != null)
|
|
2761
|
+
this._missing = params.missing;
|
|
2762
|
+
if (params.messages != null)
|
|
2763
|
+
this.load(params.messages);
|
|
2764
|
+
if (params.localeData != null)
|
|
2765
|
+
this.loadLocaleData(params.localeData);
|
|
2766
|
+
if (typeof params.locale === "string" || params.locales) {
|
|
2767
|
+
this.activate(params.locale ?? defaultLocale, params.locales);
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
get locale() {
|
|
2771
|
+
return this._locale;
|
|
2772
|
+
}
|
|
2773
|
+
get locales() {
|
|
2774
|
+
return this._locales;
|
|
2775
|
+
}
|
|
2776
|
+
get messages() {
|
|
2777
|
+
return this._messages[this._locale] ?? {};
|
|
2778
|
+
}
|
|
2779
|
+
/**
|
|
2780
|
+
* @deprecated this has no effect. Please remove this from the code. Deprecated in v4
|
|
2781
|
+
*/
|
|
2782
|
+
get localeData() {
|
|
2783
|
+
return this._localeData[this._locale] ?? {};
|
|
2784
|
+
}
|
|
2785
|
+
_loadLocaleData(locale, localeData) {
|
|
2786
|
+
const maybeLocaleData = this._localeData[locale];
|
|
2787
|
+
if (!maybeLocaleData) {
|
|
2788
|
+
this._localeData[locale] = localeData;
|
|
2789
|
+
} else {
|
|
2790
|
+
Object.assign(maybeLocaleData, localeData);
|
|
2791
|
+
}
|
|
2792
|
+
}
|
|
2793
|
+
/**
|
|
2794
|
+
* Registers a `MessageCompiler` to enable the use of uncompiled catalogs at runtime.
|
|
2795
|
+
*
|
|
2796
|
+
* In production builds, the `MessageCompiler` is typically excluded to reduce bundle size.
|
|
2797
|
+
* By default, message catalogs should be precompiled during the build process. However,
|
|
2798
|
+
* if you need to compile catalogs at runtime, you can use this method to set a message compiler.
|
|
2799
|
+
*
|
|
2800
|
+
* Example usage:
|
|
2801
|
+
*
|
|
2802
|
+
* ```ts
|
|
2803
|
+
* import { compileMessage } from "@lingui/message-utils/compileMessage";
|
|
2804
|
+
*
|
|
2805
|
+
* i18n.setMessagesCompiler(compileMessage);
|
|
2806
|
+
* ```
|
|
2807
|
+
*/
|
|
2808
|
+
setMessagesCompiler(compiler) {
|
|
2809
|
+
this._messageCompiler = compiler;
|
|
2810
|
+
return this;
|
|
2811
|
+
}
|
|
2812
|
+
/**
|
|
2813
|
+
* @deprecated Plurals automatically used from Intl.PluralRules you can safely remove this call. Deprecated in v4
|
|
2814
|
+
*/
|
|
2815
|
+
loadLocaleData(localeOrAllData, localeData) {
|
|
2816
|
+
if (typeof localeOrAllData === "string") {
|
|
2817
|
+
this._loadLocaleData(localeOrAllData, localeData);
|
|
2818
|
+
} else {
|
|
2819
|
+
Object.keys(localeOrAllData).forEach(
|
|
2820
|
+
(locale) => this._loadLocaleData(locale, localeOrAllData[locale])
|
|
2821
|
+
);
|
|
2822
|
+
}
|
|
2823
|
+
this.emit("change");
|
|
2824
|
+
}
|
|
2825
|
+
_load(locale, messages) {
|
|
2826
|
+
const maybeMessages = this._messages[locale];
|
|
2827
|
+
if (!maybeMessages) {
|
|
2828
|
+
this._messages[locale] = messages;
|
|
2829
|
+
} else {
|
|
2830
|
+
Object.assign(maybeMessages, messages);
|
|
2831
|
+
}
|
|
2832
|
+
}
|
|
2833
|
+
load(localeOrMessages, messages) {
|
|
2834
|
+
if (typeof localeOrMessages == "string" && typeof messages === "object") {
|
|
2835
|
+
this._load(localeOrMessages, messages);
|
|
2836
|
+
} else {
|
|
2837
|
+
Object.entries(localeOrMessages).forEach(
|
|
2838
|
+
([locale, messages2]) => this._load(locale, messages2)
|
|
2839
|
+
);
|
|
2840
|
+
}
|
|
2841
|
+
this.emit("change");
|
|
2842
|
+
}
|
|
2843
|
+
/**
|
|
2844
|
+
* @param options {@link LoadAndActivateOptions}
|
|
2845
|
+
*/
|
|
2846
|
+
loadAndActivate({ locale, locales, messages }) {
|
|
2847
|
+
this._locale = locale;
|
|
2848
|
+
this._locales = locales || void 0;
|
|
2849
|
+
this._messages[this._locale] = messages;
|
|
2850
|
+
this.emit("change");
|
|
2851
|
+
}
|
|
2852
|
+
activate(locale, locales) {
|
|
2853
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2854
|
+
if (!this._messages[locale]) {
|
|
2855
|
+
console.warn(`Messages for locale "${locale}" not loaded.`);
|
|
2856
|
+
}
|
|
2857
|
+
}
|
|
2858
|
+
this._locale = locale;
|
|
2859
|
+
this._locales = locales;
|
|
2860
|
+
this.emit("change");
|
|
2861
|
+
}
|
|
2862
|
+
_(id, values, options) {
|
|
2863
|
+
if (!this.locale) {
|
|
2864
|
+
throw new Error(
|
|
2865
|
+
"Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic."
|
|
2866
|
+
);
|
|
2867
|
+
}
|
|
2868
|
+
let message = options?.message;
|
|
2869
|
+
if (!id) {
|
|
2870
|
+
id = "";
|
|
2871
|
+
}
|
|
2872
|
+
if (!isString(id)) {
|
|
2873
|
+
values = id.values || values;
|
|
2874
|
+
message = id.message;
|
|
2875
|
+
id = id.id;
|
|
2876
|
+
}
|
|
2877
|
+
const messageForId = this.messages[id];
|
|
2878
|
+
const messageMissing = messageForId === void 0;
|
|
2879
|
+
const missing = this._missing;
|
|
2880
|
+
if (missing && messageMissing) {
|
|
2881
|
+
return isFunction(missing) ? missing(this._locale, id) : missing;
|
|
2882
|
+
}
|
|
2883
|
+
if (messageMissing) {
|
|
2884
|
+
this.emit("missing", { id, locale: this._locale });
|
|
2885
|
+
}
|
|
2886
|
+
let translation = messageForId || message || id;
|
|
2887
|
+
if (isString(translation)) {
|
|
2888
|
+
if (this._messageCompiler) {
|
|
2889
|
+
translation = this._messageCompiler(translation);
|
|
2890
|
+
} else {
|
|
2891
|
+
console.warn(`Uncompiled message detected! Message:
|
|
2892
|
+
|
|
2893
|
+
> ${translation}
|
|
2894
|
+
|
|
2895
|
+
That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.
|
|
2896
|
+
ICU features such as interpolation and plurals will not work properly for that message.
|
|
2897
|
+
|
|
2898
|
+
Please compile your catalog first.
|
|
2899
|
+
`);
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
if (isString(translation) && ESCAPE_SEQUENCE_REGEX.test(translation))
|
|
2903
|
+
return decodeEscapeSequences(translation);
|
|
2904
|
+
if (isString(translation))
|
|
2905
|
+
return translation;
|
|
2906
|
+
return interpolate(
|
|
2907
|
+
translation,
|
|
2908
|
+
this._locale,
|
|
2909
|
+
this._locales
|
|
2910
|
+
)(values, options?.formats);
|
|
2911
|
+
}
|
|
2912
|
+
date(value, format) {
|
|
2913
|
+
return date(this._locales || this._locale, value, format);
|
|
2914
|
+
}
|
|
2915
|
+
number(value, format) {
|
|
2916
|
+
return number(this._locales || this._locale, value, format);
|
|
2917
|
+
}
|
|
2918
|
+
};
|
|
2919
|
+
function setupI18n(params = {}) {
|
|
2920
|
+
return new I18n(params);
|
|
2921
|
+
}
|
|
2922
|
+
var i18n = setupI18n();
|
|
2923
|
+
|
|
2924
|
+
// node_modules/@contentful/rich-text-types/dist/esm/validator/errors.js
|
|
2925
|
+
function _array_like_to_array2(arr, len) {
|
|
2926
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
2927
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
2928
|
+
return arr2;
|
|
2929
|
+
}
|
|
2930
|
+
function _array_without_holes2(arr) {
|
|
2931
|
+
if (Array.isArray(arr)) return _array_like_to_array2(arr);
|
|
2932
|
+
}
|
|
2933
|
+
function _iterable_to_array2(iter) {
|
|
2934
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
2935
|
+
}
|
|
2936
|
+
function _non_iterable_spread2() {
|
|
2937
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2938
|
+
}
|
|
2939
|
+
function _to_consumable_array2(arr) {
|
|
2940
|
+
return _array_without_holes2(arr) || _iterable_to_array2(arr) || _unsupported_iterable_to_array2(arr) || _non_iterable_spread2();
|
|
2941
|
+
}
|
|
2942
|
+
function _unsupported_iterable_to_array2(o, minLen) {
|
|
2943
|
+
if (!o) return;
|
|
2944
|
+
if (typeof o === "string") return _array_like_to_array2(o, minLen);
|
|
2945
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2946
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2947
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2948
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array2(o, minLen);
|
|
2949
|
+
}
|
|
2950
|
+
var typeMismatchError = function(param) {
|
|
2951
|
+
var path = param.path, property = param.property, typeName = param.typeName, value = param.value;
|
|
2952
|
+
return {
|
|
2953
|
+
details: i18n._({
|
|
2954
|
+
id: "RichText.RichTextTypes.Validator.TypeMismatchErrorMessage",
|
|
2955
|
+
message: 'The type of "{property}" is incorrect, expected type: {typeName}',
|
|
2956
|
+
values: {
|
|
2957
|
+
property,
|
|
2958
|
+
typeName
|
|
2959
|
+
}
|
|
2960
|
+
}),
|
|
2961
|
+
name: "type",
|
|
2962
|
+
path: path.toArray(),
|
|
2963
|
+
type: typeName,
|
|
2964
|
+
value
|
|
2965
|
+
};
|
|
2966
|
+
};
|
|
2967
|
+
var minSizeError = function(param) {
|
|
2968
|
+
var min = param.min, value = param.value, path = param.path;
|
|
2969
|
+
return {
|
|
2970
|
+
name: "size",
|
|
2971
|
+
min,
|
|
2972
|
+
path: path.toArray(),
|
|
2973
|
+
details: i18n._({
|
|
2974
|
+
id: "RichText.RichTextTypes.Validator.MinSizeErrorMessage",
|
|
2975
|
+
message: "Size must be at least {min}",
|
|
2976
|
+
values: {
|
|
2977
|
+
min
|
|
2978
|
+
}
|
|
2979
|
+
}),
|
|
2980
|
+
value
|
|
2981
|
+
};
|
|
2982
|
+
};
|
|
2983
|
+
var maxSizeError = function(param) {
|
|
2984
|
+
var max = param.max, value = param.value, path = param.path;
|
|
2985
|
+
return {
|
|
2986
|
+
name: "size",
|
|
2987
|
+
max,
|
|
2988
|
+
path: path.toArray(),
|
|
2989
|
+
details: i18n._({
|
|
2990
|
+
id: "RichText.RichTextTypes.Validator.MaxSizeErrorMessage",
|
|
2991
|
+
message: "Size must be at most {max}",
|
|
2992
|
+
values: {
|
|
2993
|
+
max
|
|
2994
|
+
}
|
|
2995
|
+
}),
|
|
2996
|
+
value
|
|
2997
|
+
};
|
|
2998
|
+
};
|
|
2999
|
+
var enumError = function(param) {
|
|
3000
|
+
var expected = param.expected, value = param.value, path = param.path;
|
|
3001
|
+
return {
|
|
3002
|
+
details: i18n._({
|
|
3003
|
+
id: "RichText.RichTextTypes.Validator.EnumErrorMessage",
|
|
3004
|
+
message: "Value must be one of expected values"
|
|
3005
|
+
}),
|
|
3006
|
+
name: "in",
|
|
3007
|
+
expected: _to_consumable_array2(expected).sort(),
|
|
3008
|
+
path: path.toArray(),
|
|
3009
|
+
value
|
|
3010
|
+
};
|
|
3011
|
+
};
|
|
3012
|
+
var unknownPropertyError = function(param) {
|
|
3013
|
+
var property = param.property, path = param.path;
|
|
3014
|
+
return {
|
|
3015
|
+
details: i18n._({
|
|
3016
|
+
id: "RichText.RichTextTypes.Validator.UnknownPropertyErrorMessage",
|
|
3017
|
+
message: 'The property "{property}" is not expected',
|
|
3018
|
+
values: {
|
|
3019
|
+
property
|
|
3020
|
+
}
|
|
3021
|
+
}),
|
|
3022
|
+
name: "unexpected",
|
|
3023
|
+
path: path.toArray()
|
|
3024
|
+
};
|
|
3025
|
+
};
|
|
3026
|
+
var requiredPropertyError = function(param) {
|
|
3027
|
+
var property = param.property, path = param.path;
|
|
3028
|
+
return {
|
|
3029
|
+
details: i18n._({
|
|
3030
|
+
id: "RichText.RichTextTypes.Validator.RequiredPropertyErrorMessage",
|
|
3031
|
+
message: 'The property "{property}" is required here',
|
|
3032
|
+
values: {
|
|
3033
|
+
property
|
|
3034
|
+
}
|
|
3035
|
+
}),
|
|
3036
|
+
name: "required",
|
|
3037
|
+
path: path.toArray()
|
|
3038
|
+
};
|
|
3039
|
+
};
|
|
3040
|
+
|
|
3041
|
+
// node_modules/@contentful/rich-text-types/dist/esm/validator/assert.js
|
|
3042
|
+
function _array_like_to_array3(arr, len) {
|
|
3043
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3044
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
3045
|
+
return arr2;
|
|
3046
|
+
}
|
|
3047
|
+
function _array_without_holes3(arr) {
|
|
3048
|
+
if (Array.isArray(arr)) return _array_like_to_array3(arr);
|
|
3049
|
+
}
|
|
3050
|
+
function _class_call_check(instance, Constructor) {
|
|
3051
|
+
if (!(instance instanceof Constructor)) {
|
|
3052
|
+
throw new TypeError("Cannot call a class as a function");
|
|
3053
|
+
}
|
|
3054
|
+
}
|
|
3055
|
+
function _defineProperties(target, props) {
|
|
3056
|
+
for (var i = 0; i < props.length; i++) {
|
|
3057
|
+
var descriptor = props[i];
|
|
3058
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
3059
|
+
descriptor.configurable = true;
|
|
3060
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
3061
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
3062
|
+
}
|
|
3063
|
+
}
|
|
3064
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
3065
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3066
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3067
|
+
return Constructor;
|
|
3068
|
+
}
|
|
3069
|
+
function _define_property2(obj, key, value) {
|
|
3070
|
+
if (key in obj) {
|
|
3071
|
+
Object.defineProperty(obj, key, {
|
|
3072
|
+
value,
|
|
3073
|
+
enumerable: true,
|
|
3074
|
+
configurable: true,
|
|
3075
|
+
writable: true
|
|
3076
|
+
});
|
|
3077
|
+
} else {
|
|
3078
|
+
obj[key] = value;
|
|
3079
|
+
}
|
|
3080
|
+
return obj;
|
|
3081
|
+
}
|
|
3082
|
+
function _iterable_to_array3(iter) {
|
|
3083
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
3084
|
+
}
|
|
3085
|
+
function _non_iterable_spread3() {
|
|
3086
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3087
|
+
}
|
|
3088
|
+
function _to_consumable_array3(arr) {
|
|
3089
|
+
return _array_without_holes3(arr) || _iterable_to_array3(arr) || _unsupported_iterable_to_array3(arr) || _non_iterable_spread3();
|
|
3090
|
+
}
|
|
3091
|
+
function _unsupported_iterable_to_array3(o, minLen) {
|
|
3092
|
+
if (!o) return;
|
|
3093
|
+
if (typeof o === "string") return _array_like_to_array3(o, minLen);
|
|
3094
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
3095
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
3096
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
3097
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array3(o, minLen);
|
|
3098
|
+
}
|
|
3099
|
+
var ObjectAssertion = /* @__PURE__ */ (function() {
|
|
3100
|
+
"use strict";
|
|
3101
|
+
function ObjectAssertion2(obj, path) {
|
|
3102
|
+
var _this = this;
|
|
3103
|
+
var _this1 = this;
|
|
3104
|
+
_class_call_check(this, ObjectAssertion2);
|
|
3105
|
+
_define_property2(this, "obj", void 0);
|
|
3106
|
+
_define_property2(this, "path", void 0);
|
|
3107
|
+
_define_property2(this, "_errors", void 0);
|
|
3108
|
+
_define_property2(this, "catch", void 0);
|
|
3109
|
+
_define_property2(this, "exists", void 0);
|
|
3110
|
+
_define_property2(this, "object", void 0);
|
|
3111
|
+
_define_property2(this, "string", void 0);
|
|
3112
|
+
_define_property2(this, "number", void 0);
|
|
3113
|
+
_define_property2(this, "array", void 0);
|
|
3114
|
+
_define_property2(this, "enum", void 0);
|
|
3115
|
+
_define_property2(this, "empty", void 0);
|
|
3116
|
+
_define_property2(this, "minLength", void 0);
|
|
3117
|
+
_define_property2(this, "noAdditionalProperties", void 0);
|
|
3118
|
+
_define_property2(this, "each", void 0);
|
|
3119
|
+
this.obj = obj;
|
|
3120
|
+
this.path = path;
|
|
3121
|
+
this._errors = [];
|
|
3122
|
+
this.catch = function() {
|
|
3123
|
+
for (var _len = arguments.length, errors = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
3124
|
+
errors[_key] = arguments[_key];
|
|
3125
|
+
}
|
|
3126
|
+
var _this__errors;
|
|
3127
|
+
(_this__errors = _this1._errors).push.apply(_this__errors, _to_consumable_array3(errors));
|
|
3128
|
+
};
|
|
3129
|
+
this.exists = function(key) {
|
|
3130
|
+
if (key in _this.obj) {
|
|
3131
|
+
return true;
|
|
3132
|
+
}
|
|
3133
|
+
_this.catch(requiredPropertyError({
|
|
3134
|
+
property: key,
|
|
3135
|
+
path: _this.path.of(key)
|
|
3136
|
+
}));
|
|
3137
|
+
return false;
|
|
3138
|
+
};
|
|
3139
|
+
this.object = function(key) {
|
|
3140
|
+
var value = key ? _this.obj[key] : _this.obj;
|
|
3141
|
+
if (key) {
|
|
3142
|
+
if (!_this.exists(key)) {
|
|
3143
|
+
return false;
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
if ((0, import_is_plain_obj.default)(value)) {
|
|
3147
|
+
return true;
|
|
3148
|
+
}
|
|
3149
|
+
var _$path = key ? _this.path.of(key) : _this.path;
|
|
3150
|
+
var _ref;
|
|
3151
|
+
var property = (_ref = key !== null && key !== void 0 ? key : _this.path.last()) !== null && _ref !== void 0 ? _ref : "value";
|
|
3152
|
+
_this.catch(typeMismatchError({
|
|
3153
|
+
typeName: "Object",
|
|
3154
|
+
property,
|
|
3155
|
+
path: _$path,
|
|
3156
|
+
value
|
|
3157
|
+
}));
|
|
3158
|
+
return false;
|
|
3159
|
+
};
|
|
3160
|
+
this.string = function(key) {
|
|
3161
|
+
var value = _this.obj[key];
|
|
3162
|
+
if (key && !_this.exists(key)) {
|
|
3163
|
+
return false;
|
|
3164
|
+
}
|
|
3165
|
+
if (typeof value === "string") {
|
|
3166
|
+
return true;
|
|
3167
|
+
}
|
|
3168
|
+
_this.catch(typeMismatchError({
|
|
3169
|
+
typeName: "String",
|
|
3170
|
+
property: key,
|
|
3171
|
+
path: _this.path.of(key),
|
|
3172
|
+
value
|
|
3173
|
+
}));
|
|
3174
|
+
return false;
|
|
3175
|
+
};
|
|
3176
|
+
this.number = function(key, optional) {
|
|
3177
|
+
var value = _this.obj[key];
|
|
3178
|
+
if (optional && !(key in _this.obj)) {
|
|
3179
|
+
return true;
|
|
3180
|
+
}
|
|
3181
|
+
if (!_this.exists(key)) {
|
|
3182
|
+
return false;
|
|
3183
|
+
}
|
|
3184
|
+
if (typeof value === "number" && !Number.isNaN(value)) {
|
|
3185
|
+
return true;
|
|
3186
|
+
}
|
|
3187
|
+
_this.catch(typeMismatchError({
|
|
3188
|
+
typeName: "Number",
|
|
3189
|
+
property: key,
|
|
3190
|
+
path: _this.path.of(key),
|
|
3191
|
+
value
|
|
3192
|
+
}));
|
|
3193
|
+
return false;
|
|
3194
|
+
};
|
|
3195
|
+
this.array = function(key) {
|
|
3196
|
+
var value = _this.obj[key];
|
|
3197
|
+
if (key && !_this.exists(key)) {
|
|
3198
|
+
return false;
|
|
3199
|
+
}
|
|
3200
|
+
if (Array.isArray(value)) {
|
|
3201
|
+
return true;
|
|
3202
|
+
}
|
|
3203
|
+
_this.catch(typeMismatchError({
|
|
3204
|
+
typeName: "Array",
|
|
3205
|
+
property: key,
|
|
3206
|
+
path: _this.path.of(key),
|
|
3207
|
+
value
|
|
3208
|
+
}));
|
|
3209
|
+
return false;
|
|
3210
|
+
};
|
|
3211
|
+
this.enum = function(key, expected) {
|
|
3212
|
+
var value = _this.obj[key];
|
|
3213
|
+
if (typeof value === "string" && expected.includes(value)) {
|
|
3214
|
+
return true;
|
|
3215
|
+
}
|
|
3216
|
+
_this.catch(enumError({
|
|
3217
|
+
expected,
|
|
3218
|
+
value,
|
|
3219
|
+
path: _this.path.of(key)
|
|
3220
|
+
}));
|
|
3221
|
+
return false;
|
|
3222
|
+
};
|
|
3223
|
+
this.empty = function(key) {
|
|
3224
|
+
if (!_this.array(key)) {
|
|
3225
|
+
return false;
|
|
3226
|
+
}
|
|
3227
|
+
var value = _this.obj[key];
|
|
3228
|
+
if (value.length === 0) {
|
|
3229
|
+
return true;
|
|
3230
|
+
}
|
|
3231
|
+
_this.catch(maxSizeError({
|
|
3232
|
+
max: 0,
|
|
3233
|
+
value,
|
|
3234
|
+
path: _this.path.of(key)
|
|
3235
|
+
}));
|
|
3236
|
+
return false;
|
|
3237
|
+
};
|
|
3238
|
+
this.minLength = function(key, min) {
|
|
3239
|
+
if (!_this.array(key)) {
|
|
3240
|
+
return false;
|
|
3241
|
+
}
|
|
3242
|
+
var value = _this.obj[key];
|
|
3243
|
+
if (value.length >= min) {
|
|
3244
|
+
return true;
|
|
3245
|
+
}
|
|
3246
|
+
_this.catch(minSizeError({
|
|
3247
|
+
min,
|
|
3248
|
+
value,
|
|
3249
|
+
path: _this.path.of(key)
|
|
3250
|
+
}));
|
|
3251
|
+
return false;
|
|
3252
|
+
};
|
|
3253
|
+
this.noAdditionalProperties = function(properties) {
|
|
3254
|
+
var unknowns = Object.keys(_this.obj).sort().filter(function(key) {
|
|
3255
|
+
return !properties.includes(key);
|
|
3256
|
+
});
|
|
3257
|
+
unknowns.forEach(function(property) {
|
|
3258
|
+
return _this.catch(unknownPropertyError({
|
|
3259
|
+
property,
|
|
3260
|
+
path: _this.path.of(property)
|
|
3261
|
+
}));
|
|
3262
|
+
});
|
|
3263
|
+
return unknowns.length === 0;
|
|
3264
|
+
};
|
|
3265
|
+
this.each = function(key, assert2) {
|
|
3266
|
+
if (!_this.array(key)) {
|
|
3267
|
+
return;
|
|
3268
|
+
}
|
|
3269
|
+
var value = _this.obj[key];
|
|
3270
|
+
var foundErrors = false;
|
|
3271
|
+
value.forEach(function(item, index) {
|
|
3272
|
+
if (foundErrors) {
|
|
3273
|
+
return;
|
|
3274
|
+
}
|
|
3275
|
+
var errors = assert2(item, _this.path.of(key).of(index));
|
|
3276
|
+
if (errors.length > 0) {
|
|
3277
|
+
foundErrors = true;
|
|
3278
|
+
}
|
|
3279
|
+
_this.catch.apply(_this, _to_consumable_array3(errors));
|
|
3280
|
+
});
|
|
3281
|
+
};
|
|
1114
3282
|
}
|
|
1115
|
-
|
|
1116
|
-
BrandLogoFallback,
|
|
3283
|
+
_create_class(ObjectAssertion2, [
|
|
1117
3284
|
{
|
|
1118
|
-
|
|
1119
|
-
|
|
3285
|
+
key: "errors",
|
|
3286
|
+
get: function get() {
|
|
3287
|
+
var _this = this;
|
|
3288
|
+
var serializeError = function(error) {
|
|
3289
|
+
return JSON.stringify({
|
|
3290
|
+
details: error.details,
|
|
3291
|
+
path: error.path
|
|
3292
|
+
});
|
|
3293
|
+
};
|
|
3294
|
+
return this._errors.filter(function(error, index) {
|
|
3295
|
+
return _this._errors.findIndex(function(step) {
|
|
3296
|
+
return serializeError(error) === serializeError(step);
|
|
3297
|
+
}) === index;
|
|
3298
|
+
});
|
|
3299
|
+
}
|
|
3300
|
+
}
|
|
3301
|
+
]);
|
|
3302
|
+
return ObjectAssertion2;
|
|
3303
|
+
})();
|
|
3304
|
+
|
|
3305
|
+
// node_modules/@contentful/rich-text-types/dist/esm/validator/node.js
|
|
3306
|
+
function _array_like_to_array4(arr, len) {
|
|
3307
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3308
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
3309
|
+
return arr2;
|
|
3310
|
+
}
|
|
3311
|
+
function _array_without_holes4(arr) {
|
|
3312
|
+
if (Array.isArray(arr)) return _array_like_to_array4(arr);
|
|
3313
|
+
}
|
|
3314
|
+
function _assert_this_initialized(self) {
|
|
3315
|
+
if (self === void 0) {
|
|
3316
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3317
|
+
}
|
|
3318
|
+
return self;
|
|
3319
|
+
}
|
|
3320
|
+
function _call_super(_this, derived, args) {
|
|
3321
|
+
derived = _get_prototype_of(derived);
|
|
3322
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
3323
|
+
}
|
|
3324
|
+
function _class_call_check2(instance, Constructor) {
|
|
3325
|
+
if (!(instance instanceof Constructor)) {
|
|
3326
|
+
throw new TypeError("Cannot call a class as a function");
|
|
3327
|
+
}
|
|
3328
|
+
}
|
|
3329
|
+
function _defineProperties2(target, props) {
|
|
3330
|
+
for (var i = 0; i < props.length; i++) {
|
|
3331
|
+
var descriptor = props[i];
|
|
3332
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
3333
|
+
descriptor.configurable = true;
|
|
3334
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
3335
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
3336
|
+
}
|
|
3337
|
+
}
|
|
3338
|
+
function _create_class2(Constructor, protoProps, staticProps) {
|
|
3339
|
+
if (protoProps) _defineProperties2(Constructor.prototype, protoProps);
|
|
3340
|
+
if (staticProps) _defineProperties2(Constructor, staticProps);
|
|
3341
|
+
return Constructor;
|
|
3342
|
+
}
|
|
3343
|
+
function _define_property3(obj, key, value) {
|
|
3344
|
+
if (key in obj) {
|
|
3345
|
+
Object.defineProperty(obj, key, {
|
|
1120
3346
|
value,
|
|
1121
|
-
|
|
3347
|
+
enumerable: true,
|
|
3348
|
+
configurable: true,
|
|
3349
|
+
writable: true
|
|
3350
|
+
});
|
|
3351
|
+
} else {
|
|
3352
|
+
obj[key] = value;
|
|
3353
|
+
}
|
|
3354
|
+
return obj;
|
|
3355
|
+
}
|
|
3356
|
+
function _get_prototype_of(o) {
|
|
3357
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o2) {
|
|
3358
|
+
return o2.__proto__ || Object.getPrototypeOf(o2);
|
|
3359
|
+
};
|
|
3360
|
+
return _get_prototype_of(o);
|
|
3361
|
+
}
|
|
3362
|
+
function _inherits(subClass, superClass) {
|
|
3363
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
3364
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
3365
|
+
}
|
|
3366
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
3367
|
+
constructor: {
|
|
3368
|
+
value: subClass,
|
|
3369
|
+
writable: true,
|
|
3370
|
+
configurable: true
|
|
1122
3371
|
}
|
|
1123
|
-
);
|
|
3372
|
+
});
|
|
3373
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
3374
|
+
}
|
|
3375
|
+
function _iterable_to_array4(iter) {
|
|
3376
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
3377
|
+
}
|
|
3378
|
+
function _non_iterable_spread4() {
|
|
3379
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3380
|
+
}
|
|
3381
|
+
function _possible_constructor_return(self, call) {
|
|
3382
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
3383
|
+
return call;
|
|
3384
|
+
}
|
|
3385
|
+
return _assert_this_initialized(self);
|
|
3386
|
+
}
|
|
3387
|
+
function _set_prototype_of(o, p) {
|
|
3388
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o2, p2) {
|
|
3389
|
+
o2.__proto__ = p2;
|
|
3390
|
+
return o2;
|
|
3391
|
+
};
|
|
3392
|
+
return _set_prototype_of(o, p);
|
|
3393
|
+
}
|
|
3394
|
+
function _to_consumable_array4(arr) {
|
|
3395
|
+
return _array_without_holes4(arr) || _iterable_to_array4(arr) || _unsupported_iterable_to_array4(arr) || _non_iterable_spread4();
|
|
3396
|
+
}
|
|
3397
|
+
function _type_of(obj) {
|
|
3398
|
+
"@swc/helpers - typeof";
|
|
3399
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
3400
|
+
}
|
|
3401
|
+
function _unsupported_iterable_to_array4(o, minLen) {
|
|
3402
|
+
if (!o) return;
|
|
3403
|
+
if (typeof o === "string") return _array_like_to_array4(o, minLen);
|
|
3404
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
3405
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
3406
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
3407
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array4(o, minLen);
|
|
3408
|
+
}
|
|
3409
|
+
function _is_native_reflect_construct() {
|
|
3410
|
+
try {
|
|
3411
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
3412
|
+
}));
|
|
3413
|
+
} catch (_) {
|
|
3414
|
+
}
|
|
3415
|
+
return (_is_native_reflect_construct = function() {
|
|
3416
|
+
return !!result;
|
|
3417
|
+
})();
|
|
3418
|
+
}
|
|
3419
|
+
var VOID_CONTENT = [];
|
|
3420
|
+
var NodeAssertion = /* @__PURE__ */ (function() {
|
|
3421
|
+
"use strict";
|
|
3422
|
+
function NodeAssertion2(contentRule, validateData) {
|
|
3423
|
+
_class_call_check2(this, NodeAssertion2);
|
|
3424
|
+
_define_property3(this, "contentRule", void 0);
|
|
3425
|
+
_define_property3(this, "validateData", void 0);
|
|
3426
|
+
this.contentRule = contentRule;
|
|
3427
|
+
this.validateData = validateData;
|
|
3428
|
+
}
|
|
3429
|
+
_create_class2(NodeAssertion2, [
|
|
3430
|
+
{
|
|
3431
|
+
key: "assert",
|
|
3432
|
+
value: function assert2(node, path) {
|
|
3433
|
+
var $ = new ObjectAssertion(node, path);
|
|
3434
|
+
if (!$.object()) {
|
|
3435
|
+
return $.errors;
|
|
3436
|
+
}
|
|
3437
|
+
$.noAdditionalProperties([
|
|
3438
|
+
"nodeType",
|
|
3439
|
+
"data",
|
|
3440
|
+
"content"
|
|
3441
|
+
]);
|
|
3442
|
+
var _ref = Array.isArray(this.contentRule) ? {
|
|
3443
|
+
nodeTypes: this.contentRule
|
|
3444
|
+
} : this.contentRule(node, path), nodeTypes = _ref.nodeTypes, _ref_min = _ref.min, min = _ref_min === void 0 ? 0 : _ref_min;
|
|
3445
|
+
if (nodeTypes.length === 0 && min > 0) {
|
|
3446
|
+
throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(min, " with no nodeTypes"));
|
|
3447
|
+
}
|
|
3448
|
+
$.minLength("content", min);
|
|
3449
|
+
if (nodeTypes.length === 0) {
|
|
3450
|
+
$.empty("content");
|
|
3451
|
+
} else {
|
|
3452
|
+
$.each("content", function(item, path2) {
|
|
3453
|
+
var item$ = new ObjectAssertion(item, path2);
|
|
3454
|
+
if (!item$.object()) {
|
|
3455
|
+
return item$.errors;
|
|
3456
|
+
}
|
|
3457
|
+
item$.enum("nodeType", nodeTypes);
|
|
3458
|
+
return item$.errors;
|
|
3459
|
+
});
|
|
3460
|
+
}
|
|
3461
|
+
if ($.object("data")) {
|
|
3462
|
+
var _$;
|
|
3463
|
+
var _this_validateData, _this;
|
|
3464
|
+
var _this_validateData1;
|
|
3465
|
+
var dataErrors = (_this_validateData1 = (_this_validateData = (_this = this).validateData) === null || _this_validateData === void 0 ? void 0 : _this_validateData.call(_this, node.data, path.of("data"))) !== null && _this_validateData1 !== void 0 ? _this_validateData1 : [];
|
|
3466
|
+
(_$ = $).catch.apply(_$, _to_consumable_array4(dataErrors));
|
|
3467
|
+
}
|
|
3468
|
+
return $.errors;
|
|
3469
|
+
}
|
|
3470
|
+
}
|
|
3471
|
+
]);
|
|
3472
|
+
return NodeAssertion2;
|
|
3473
|
+
})();
|
|
3474
|
+
var EntityLinkAssertion = /* @__PURE__ */ (function(NodeAssertion2) {
|
|
3475
|
+
"use strict";
|
|
3476
|
+
_inherits(EntityLinkAssertion2, NodeAssertion2);
|
|
3477
|
+
function EntityLinkAssertion2(linkType, contentNodeTypes) {
|
|
3478
|
+
_class_call_check2(this, EntityLinkAssertion2);
|
|
3479
|
+
var _this;
|
|
3480
|
+
_this = _call_super(this, EntityLinkAssertion2, [
|
|
3481
|
+
contentNodeTypes,
|
|
3482
|
+
function(data, path) {
|
|
3483
|
+
return _assert_this_initialized(_this).assertLink(data, path);
|
|
3484
|
+
}
|
|
3485
|
+
]), _define_property3(_this, "linkType", void 0), _define_property3(_this, "type", void 0), _define_property3(_this, "assertLink", void 0), _this.linkType = linkType, _this.assertLink = function(data, path) {
|
|
3486
|
+
var $ = new ObjectAssertion(data, path);
|
|
3487
|
+
if ($.object("target")) {
|
|
3488
|
+
var _$;
|
|
3489
|
+
var sys$ = new ObjectAssertion(data.target.sys, path.of("target").of("sys"));
|
|
3490
|
+
if (sys$.object()) {
|
|
3491
|
+
sys$.enum("type", [
|
|
3492
|
+
_this.type
|
|
3493
|
+
]);
|
|
3494
|
+
sys$.enum("linkType", [
|
|
3495
|
+
_this.linkType
|
|
3496
|
+
]);
|
|
3497
|
+
if (_this.type === "Link") {
|
|
3498
|
+
sys$.string("id");
|
|
3499
|
+
sys$.noAdditionalProperties([
|
|
3500
|
+
"type",
|
|
3501
|
+
"linkType",
|
|
3502
|
+
"id"
|
|
3503
|
+
]);
|
|
3504
|
+
} else if (_this.type === "ResourceLink") {
|
|
3505
|
+
sys$.string("urn");
|
|
3506
|
+
sys$.noAdditionalProperties([
|
|
3507
|
+
"type",
|
|
3508
|
+
"linkType",
|
|
3509
|
+
"urn"
|
|
3510
|
+
]);
|
|
3511
|
+
}
|
|
3512
|
+
}
|
|
3513
|
+
(_$ = $).catch.apply(_$, _to_consumable_array4(sys$.errors));
|
|
3514
|
+
}
|
|
3515
|
+
$.noAdditionalProperties([
|
|
3516
|
+
"target"
|
|
3517
|
+
]);
|
|
3518
|
+
return $.errors;
|
|
3519
|
+
};
|
|
3520
|
+
_this.type = _this.linkType.startsWith("Contentful:") ? "ResourceLink" : "Link";
|
|
3521
|
+
return _this;
|
|
3522
|
+
}
|
|
3523
|
+
return EntityLinkAssertion2;
|
|
3524
|
+
})(NodeAssertion);
|
|
3525
|
+
var HyperLinkAssertion = /* @__PURE__ */ (function(NodeAssertion2) {
|
|
3526
|
+
"use strict";
|
|
3527
|
+
_inherits(HyperLinkAssertion2, NodeAssertion2);
|
|
3528
|
+
function HyperLinkAssertion2() {
|
|
3529
|
+
_class_call_check2(this, HyperLinkAssertion2);
|
|
3530
|
+
var _this;
|
|
3531
|
+
_this = _call_super(this, HyperLinkAssertion2, [
|
|
3532
|
+
[
|
|
3533
|
+
"text"
|
|
3534
|
+
],
|
|
3535
|
+
function(data, path) {
|
|
3536
|
+
return _assert_this_initialized(_this).assertLink(data, path);
|
|
3537
|
+
}
|
|
3538
|
+
]), _define_property3(_this, "assertLink", function(data, path) {
|
|
3539
|
+
var $ = new ObjectAssertion(data, path);
|
|
3540
|
+
$.string("uri");
|
|
3541
|
+
$.noAdditionalProperties([
|
|
3542
|
+
"uri"
|
|
3543
|
+
]);
|
|
3544
|
+
return $.errors;
|
|
3545
|
+
});
|
|
3546
|
+
return _this;
|
|
3547
|
+
}
|
|
3548
|
+
return HyperLinkAssertion2;
|
|
3549
|
+
})(NodeAssertion);
|
|
3550
|
+
var assert = function(contentRule, validateData) {
|
|
3551
|
+
return new NodeAssertion(contentRule, validateData);
|
|
3552
|
+
};
|
|
3553
|
+
var assertLink = function(linkType, contentRule) {
|
|
3554
|
+
return new EntityLinkAssertion(linkType, contentRule);
|
|
1124
3555
|
};
|
|
1125
|
-
var BrandLogo_default = BrandLogo;
|
|
1126
|
-
|
|
1127
|
-
// src/components/Banner/Banner.tsx
|
|
1128
|
-
import clsx5 from "clsx";
|
|
1129
3556
|
|
|
1130
|
-
//
|
|
1131
|
-
|
|
3557
|
+
// node_modules/@contentful/rich-text-types/dist/esm/validator/index.js
|
|
3558
|
+
function _array_like_to_array5(arr, len) {
|
|
3559
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3560
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
3561
|
+
return arr2;
|
|
3562
|
+
}
|
|
3563
|
+
function _array_without_holes5(arr) {
|
|
3564
|
+
if (Array.isArray(arr)) return _array_like_to_array5(arr);
|
|
3565
|
+
}
|
|
3566
|
+
function _define_property4(obj, key, value) {
|
|
3567
|
+
if (key in obj) {
|
|
3568
|
+
Object.defineProperty(obj, key, {
|
|
3569
|
+
value,
|
|
3570
|
+
enumerable: true,
|
|
3571
|
+
configurable: true,
|
|
3572
|
+
writable: true
|
|
3573
|
+
});
|
|
3574
|
+
} else {
|
|
3575
|
+
obj[key] = value;
|
|
3576
|
+
}
|
|
3577
|
+
return obj;
|
|
3578
|
+
}
|
|
3579
|
+
function _iterable_to_array5(iter) {
|
|
3580
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
3581
|
+
}
|
|
3582
|
+
function _non_iterable_spread5() {
|
|
3583
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3584
|
+
}
|
|
3585
|
+
function _to_consumable_array5(arr) {
|
|
3586
|
+
return _array_without_holes5(arr) || _iterable_to_array5(arr) || _unsupported_iterable_to_array5(arr) || _non_iterable_spread5();
|
|
3587
|
+
}
|
|
3588
|
+
function _unsupported_iterable_to_array5(o, minLen) {
|
|
3589
|
+
if (!o) return;
|
|
3590
|
+
if (typeof o === "string") return _array_like_to_array5(o, minLen);
|
|
3591
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
3592
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
3593
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
3594
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array5(o, minLen);
|
|
3595
|
+
}
|
|
3596
|
+
var assertInlineOrText = assert(_to_consumable_array5(Object.values(INLINES)).concat([
|
|
3597
|
+
"text"
|
|
3598
|
+
]).sort());
|
|
3599
|
+
var assertList = assert([
|
|
3600
|
+
BLOCKS.LIST_ITEM
|
|
3601
|
+
]);
|
|
3602
|
+
var assertVoidEntryLink = assertLink("Entry", VOID_CONTENT);
|
|
3603
|
+
var assertTableCell = assert(function() {
|
|
3604
|
+
return {
|
|
3605
|
+
nodeTypes: [
|
|
3606
|
+
BLOCKS.PARAGRAPH
|
|
3607
|
+
],
|
|
3608
|
+
min: 1
|
|
3609
|
+
};
|
|
3610
|
+
}, function(data, path) {
|
|
3611
|
+
var $ = new ObjectAssertion(data, path);
|
|
3612
|
+
$.noAdditionalProperties([
|
|
3613
|
+
"colspan",
|
|
3614
|
+
"rowspan"
|
|
3615
|
+
]);
|
|
3616
|
+
$.number("colspan", true);
|
|
3617
|
+
$.number("rowspan", true);
|
|
3618
|
+
return $.errors;
|
|
3619
|
+
});
|
|
3620
|
+
var _obj2;
|
|
3621
|
+
var nodeValidator = (_obj2 = {}, _define_property4(_obj2, BLOCKS.DOCUMENT, assert(TOP_LEVEL_BLOCKS)), _define_property4(_obj2, BLOCKS.PARAGRAPH, assertInlineOrText), _define_property4(_obj2, BLOCKS.HEADING_1, assertInlineOrText), _define_property4(_obj2, BLOCKS.HEADING_2, assertInlineOrText), _define_property4(_obj2, BLOCKS.HEADING_3, assertInlineOrText), _define_property4(_obj2, BLOCKS.HEADING_4, assertInlineOrText), _define_property4(_obj2, BLOCKS.HEADING_5, assertInlineOrText), _define_property4(_obj2, BLOCKS.HEADING_6, assertInlineOrText), _define_property4(_obj2, BLOCKS.QUOTE, assert(CONTAINERS[BLOCKS.QUOTE])), _define_property4(_obj2, BLOCKS.EMBEDDED_ENTRY, assertVoidEntryLink), _define_property4(_obj2, BLOCKS.EMBEDDED_ASSET, assertLink("Asset", VOID_CONTENT)), _define_property4(_obj2, BLOCKS.EMBEDDED_RESOURCE, assertLink("Contentful:Entry", VOID_CONTENT)), _define_property4(_obj2, BLOCKS.HR, assert(VOID_CONTENT)), _define_property4(_obj2, BLOCKS.OL_LIST, assertList), _define_property4(_obj2, BLOCKS.UL_LIST, assertList), _define_property4(_obj2, BLOCKS.LIST_ITEM, assert(_to_consumable_array5(LIST_ITEM_BLOCKS).sort())), _define_property4(_obj2, BLOCKS.TABLE, assert(function() {
|
|
3622
|
+
return {
|
|
3623
|
+
nodeTypes: [
|
|
3624
|
+
BLOCKS.TABLE_ROW
|
|
3625
|
+
],
|
|
3626
|
+
min: 1
|
|
3627
|
+
};
|
|
3628
|
+
})), _define_property4(_obj2, BLOCKS.TABLE_ROW, assert(function() {
|
|
3629
|
+
return {
|
|
3630
|
+
nodeTypes: [
|
|
3631
|
+
BLOCKS.TABLE_CELL,
|
|
3632
|
+
BLOCKS.TABLE_HEADER_CELL
|
|
3633
|
+
],
|
|
3634
|
+
min: 1
|
|
3635
|
+
};
|
|
3636
|
+
})), _define_property4(_obj2, BLOCKS.TABLE_CELL, assertTableCell), _define_property4(_obj2, BLOCKS.TABLE_HEADER_CELL, assertTableCell), _define_property4(_obj2, INLINES.HYPERLINK, new HyperLinkAssertion()), _define_property4(_obj2, INLINES.EMBEDDED_ENTRY, assertVoidEntryLink), _define_property4(_obj2, INLINES.EMBEDDED_RESOURCE, assertLink("Contentful:Entry", VOID_CONTENT)), _define_property4(_obj2, INLINES.ENTRY_HYPERLINK, assertLink("Entry", [
|
|
3637
|
+
"text"
|
|
3638
|
+
])), _define_property4(_obj2, INLINES.ASSET_HYPERLINK, assertLink("Asset", [
|
|
3639
|
+
"text"
|
|
3640
|
+
])), _define_property4(_obj2, INLINES.RESOURCE_HYPERLINK, assertLink("Contentful:Entry", [
|
|
3641
|
+
"text"
|
|
3642
|
+
])), _obj2);
|
|
1132
3643
|
|
|
1133
3644
|
// src/utils/renderContentfulNode.tsx
|
|
1134
|
-
import {
|
|
1135
|
-
BLOCKS,
|
|
1136
|
-
INLINES,
|
|
1137
|
-
MARKS
|
|
1138
|
-
} from "@contentful/rich-text-types";
|
|
1139
3645
|
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
1140
3646
|
var isExternalLink = (url) => {
|
|
1141
3647
|
const appDomain = "enjanga.com";
|
|
@@ -1547,7 +4053,7 @@ var Banner_default = Banner;
|
|
|
1547
4053
|
import { useState as useState2 } from "react";
|
|
1548
4054
|
import { Button } from "@carbon/react";
|
|
1549
4055
|
|
|
1550
|
-
// node_modules/@carbon/
|
|
4056
|
+
// node_modules/@carbon/icon-helpers/es/index.js
|
|
1551
4057
|
function _defineProperty(e, r, t) {
|
|
1552
4058
|
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
1553
4059
|
value: t,
|
|
@@ -6891,7 +9397,7 @@ var BookmarkFilled = /* @__PURE__ */ React4.forwardRef(function BookmarkFilled2(
|
|
|
6891
9397
|
if (process.env.NODE_ENV !== "production") {
|
|
6892
9398
|
BookmarkFilled.propTypes = iconPropTypes;
|
|
6893
9399
|
}
|
|
6894
|
-
var
|
|
9400
|
+
var Boolean2 = /* @__PURE__ */ React4.forwardRef(function Boolean3({
|
|
6895
9401
|
children,
|
|
6896
9402
|
size = 16,
|
|
6897
9403
|
...rest
|
|
@@ -6913,7 +9419,7 @@ var Boolean = /* @__PURE__ */ React4.forwardRef(function Boolean2({
|
|
|
6913
9419
|
})), children);
|
|
6914
9420
|
});
|
|
6915
9421
|
if (process.env.NODE_ENV !== "production") {
|
|
6916
|
-
|
|
9422
|
+
Boolean2.propTypes = iconPropTypes;
|
|
6917
9423
|
}
|
|
6918
9424
|
var Boot = /* @__PURE__ */ React4.forwardRef(function Boot2({
|
|
6919
9425
|
children,
|
|
@@ -21051,30 +23557,308 @@ var ContactButton_default = ContactButton;
|
|
|
21051
23557
|
// src/components/CustomPictogram/CustomPictogram.tsx
|
|
21052
23558
|
import clsx6 from "clsx";
|
|
21053
23559
|
|
|
21054
|
-
//
|
|
21055
|
-
|
|
21056
|
-
|
|
21057
|
-
|
|
21058
|
-
|
|
21059
|
-
|
|
21060
|
-
|
|
21061
|
-
|
|
21062
|
-
|
|
21063
|
-
|
|
21064
|
-
|
|
21065
|
-
|
|
21066
|
-
|
|
21067
|
-
|
|
21068
|
-
|
|
21069
|
-
|
|
21070
|
-
|
|
21071
|
-
|
|
21072
|
-
|
|
21073
|
-
|
|
21074
|
-
|
|
21075
|
-
|
|
21076
|
-
|
|
21077
|
-
|
|
23560
|
+
// node_modules/@carbon/pictograms-react/es/Icon.js
|
|
23561
|
+
var import_prop_types3 = __toESM(require_prop_types());
|
|
23562
|
+
import React9 from "react";
|
|
23563
|
+
var Icon3 = /* @__PURE__ */ React9.forwardRef(function Icon4({
|
|
23564
|
+
className,
|
|
23565
|
+
children,
|
|
23566
|
+
tabIndex,
|
|
23567
|
+
xmlns = "http://www.w3.org/2000/svg",
|
|
23568
|
+
preserveAspectRatio = "xMidYMid meet",
|
|
23569
|
+
...rest
|
|
23570
|
+
}, ref) {
|
|
23571
|
+
const {
|
|
23572
|
+
tabindex,
|
|
23573
|
+
...attrs
|
|
23574
|
+
} = getAttributes({
|
|
23575
|
+
...rest,
|
|
23576
|
+
tabindex: tabIndex
|
|
23577
|
+
});
|
|
23578
|
+
const props = attrs;
|
|
23579
|
+
if (className) {
|
|
23580
|
+
props.className = className;
|
|
23581
|
+
}
|
|
23582
|
+
if (tabindex !== void 0 && tabindex !== null) {
|
|
23583
|
+
if (typeof tabindex === "number") {
|
|
23584
|
+
props.tabIndex = tabindex;
|
|
23585
|
+
} else {
|
|
23586
|
+
props.tabIndex = Number(tabIndex);
|
|
23587
|
+
}
|
|
23588
|
+
}
|
|
23589
|
+
if (ref) {
|
|
23590
|
+
props.ref = ref;
|
|
23591
|
+
}
|
|
23592
|
+
if (xmlns) {
|
|
23593
|
+
props.xmlns = xmlns;
|
|
23594
|
+
}
|
|
23595
|
+
if (preserveAspectRatio) {
|
|
23596
|
+
props.preserveAspectRatio = preserveAspectRatio;
|
|
23597
|
+
}
|
|
23598
|
+
return /* @__PURE__ */ React9.createElement("svg", props, children);
|
|
23599
|
+
});
|
|
23600
|
+
Icon3.displayName = "Icon";
|
|
23601
|
+
Icon3.propTypes = {
|
|
23602
|
+
"aria-hidden": import_prop_types3.default.oneOfType([import_prop_types3.default.bool, import_prop_types3.default.oneOf(["true", "false"])]),
|
|
23603
|
+
"aria-label": import_prop_types3.default.string,
|
|
23604
|
+
"aria-labelledby": import_prop_types3.default.string,
|
|
23605
|
+
children: import_prop_types3.default.node,
|
|
23606
|
+
className: import_prop_types3.default.string,
|
|
23607
|
+
height: import_prop_types3.default.oneOfType([import_prop_types3.default.number, import_prop_types3.default.string]),
|
|
23608
|
+
preserveAspectRatio: import_prop_types3.default.string,
|
|
23609
|
+
tabIndex: import_prop_types3.default.oneOfType([import_prop_types3.default.number, import_prop_types3.default.string]),
|
|
23610
|
+
viewBox: import_prop_types3.default.string,
|
|
23611
|
+
width: import_prop_types3.default.oneOfType([import_prop_types3.default.number, import_prop_types3.default.string]),
|
|
23612
|
+
xmlns: import_prop_types3.default.string
|
|
23613
|
+
};
|
|
23614
|
+
|
|
23615
|
+
// node_modules/@carbon/pictograms-react/es/_rollupPluginBabelHelpers-CuCmpz4u.js
|
|
23616
|
+
function _extends() {
|
|
23617
|
+
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
23618
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
23619
|
+
var t = arguments[e];
|
|
23620
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
23621
|
+
}
|
|
23622
|
+
return n;
|
|
23623
|
+
}, _extends.apply(null, arguments);
|
|
23624
|
+
}
|
|
23625
|
+
|
|
23626
|
+
// node_modules/@carbon/pictograms-react/es/__generated__/bucket-0.js
|
|
23627
|
+
import React10 from "react";
|
|
23628
|
+
var _path547;
|
|
23629
|
+
var _path687;
|
|
23630
|
+
var _path1487;
|
|
23631
|
+
var AppDeveloper = /* @__PURE__ */ React10.forwardRef(function AppDeveloper2({ children, ...rest }, ref) {
|
|
23632
|
+
return /* @__PURE__ */ React10.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path547 || (_path547 = /* @__PURE__ */ React10.createElement("path", { d: "M3.254,9.254L2.746,8.746L3.991,7.5L2.746,6.254l0.509-0.509L5.009,7.5L3.254,9.254z M3,2 C2.724,2,2.5,2.224,2.5,2.5S2.724,3,3,3s0.5-0.224,0.5-0.5S3.276,2,3,2z M5.5,2.5C5.5,2.776,5.276,3,5,3S4.5,2.776,4.5,2.5 S4.724,2,5,2S5.5,2.224,5.5,2.5z M7.5,2.5C7.5,2.776,7.276,3,7,3S6.5,2.776,6.5,2.5S6.724,2,7,2S7.5,2.224,7.5,2.5z M18.5,6.5 C18.5,6.776,18.276,7,18,7s-0.5-0.224-0.5-0.5S17.724,6,18,6S18.5,6.224,18.5,6.5z M20.5,6.5C20.5,6.776,20.276,7,20,7 s-0.5-0.224-0.5-0.5S19.724,6,20,6S20.5,6.224,20.5,6.5z M22.5,6.5C22.5,6.776,22.276,7,22,7s-0.5-0.224-0.5-0.5S21.724,6,22,6 S22.5,6.224,22.5,6.5z M5.5,24.5C5.5,24.776,5.276,25,5,25s-0.5-0.224-0.5-0.5S4.724,24,5,24S5.5,24.224,5.5,24.5z M13,14.36H1 c-0.199,0-0.36-0.161-0.36-0.36V1c0-0.199,0.161-0.36,0.36-0.36h12c0.199,0,0.36,0.161,0.36,0.36v13 C13.36,14.199,13.199,14.36,13,14.36z M12.64,4.36H1.36v9.28h11.28C12.64,13.64,12.64,4.36,12.64,4.36z M12.64,1.36H1.36v2.281 h11.28C12.64,3.641,12.64,1.36,12.64,1.36z M31.36,5v17c0,0.199-0.161,0.36-0.36,0.36H19.691c-0.301,0.471-0.69,0.885-1.152,1.215 c2.875,1.05,4.819,3.778,4.819,6.902l0.002,0.521L22.639,31l-0.002-0.522c0-3.078-2.09-5.729-5.083-6.45 c-0.15-0.035-0.26-0.163-0.274-0.316s0.07-0.299,0.211-0.361c1.315-0.592,2.165-1.9,2.165-3.334c0-2.017-1.64-3.657-3.656-3.657 c-2.018,0-3.66,1.64-3.66,3.657c0,1.434,0.85,2.742,2.166,3.334c0.141,0.062,0.225,0.208,0.211,0.361s-0.125,0.281-0.274,0.316 c-2.993,0.721-5.084,3.372-5.084,6.449l0.001,0.521L8.64,31l-0.001-0.522c0-3.125,1.943-5.854,4.819-6.903 c-1.138-0.812-1.838-2.134-1.838-3.559c0-2.292,1.772-4.178,4.02-4.362V5c0-0.199,0.161-0.36,0.36-0.36h15 C31.199,4.64,31.36,4.801,31.36,5z M30.64,8.36H16.36v7.295c2.246,0.184,4.017,2.07,4.017,4.362c0,0.566-0.11,1.115-0.315,1.623 H30.64V8.36z M30.64,5.36H16.36v2.28h14.28V5.36z M22,11.64h-4v0.72h4V11.64z M23.64,17.5c0-1.577,1.283-2.86,2.86-2.86 s2.86,1.283,2.86,2.86s-1.283,2.86-2.86,2.86S23.64,19.077,23.64,17.5z M28.242,16.266l-1.383,1.383l-0.004,1.955 c1.01-0.171,1.784-1.046,1.784-2.104C28.64,17.04,28.49,16.615,28.242,16.266z M24.36,17.5c0,1.055,0.769,1.928,1.774,2.103 l0.006-2.253l1.592-1.593c-0.349-0.248-0.773-0.397-1.233-0.397C25.32,15.36,24.36,16.32,24.36,17.5z M8,9.64H5v0.72h3V9.64z M3.5,21.36h3v-0.72h-3V21.36z M3.5,19.36h3v-0.72h-3V19.36z M22,13.64h-4v0.72h4V13.64z M29,11.64h-4v0.72h4V11.64z M29,9.64h-4 v0.72h4V9.64z M22,9.64h-4v0.72h4V9.64z M8.36,17.584v7.832c0,0.521-0.423,0.944-0.944,0.944H2.584 c-0.521,0-0.944-0.424-0.944-0.944v-7.832c0-0.521,0.423-0.944,0.944-0.944h4.832C7.937,16.64,8.36,17.063,8.36,17.584z M7.64,23.36 H2.36v2.056c0,0.123,0.101,0.224,0.224,0.224h4.832c0.124,0,0.224-0.101,0.224-0.224C7.64,25.416,7.64,23.36,7.64,23.36z M7.64,17.584c0-0.123-0.101-0.224-0.224-0.224H2.584c-0.124,0-0.224,0.101-0.224,0.224v5.056h5.28 C7.64,22.64,7.64,17.584,7.64,17.584z" })), children);
|
|
23633
|
+
});
|
|
23634
|
+
var AssetManagement = /* @__PURE__ */ React10.forwardRef(function AssetManagement2({ children, ...rest }, ref) {
|
|
23635
|
+
return /* @__PURE__ */ React10.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path687 || (_path687 = /* @__PURE__ */ React10.createElement("path", { d: "M13.254,31.255l-0.509-0.51l1-1 c0.057-0.057,0.13-0.093,0.21-0.103l7.32-0.915c0.36-0.045,0.699-0.21,0.954-0.466l6.102-6.103c0.411-0.41,0.411-1.079,0-1.491 c-0.411-0.411-1.081-0.41-1.49,0.001l-6.207,5.046c-0.426,0.404-1.001,0.652-1.634,0.652h-5v-0.721h5 c0.397,0,0.763-0.141,1.048-0.374l-0.004-0.006l0.116-0.095c0.302-0.297,0.488-0.709,0.488-1.163c0-0.354-0.291-0.642-0.648-0.642 h-7.741v-0.721H20c0.755,0,1.369,0.61,1.369,1.36c0,0.063-0.003,0.127-0.008,0.188l4.998-4.061c0.663-0.666,1.79-0.667,2.48,0.024 c0.692,0.692,0.691,1.818,0.001,2.51l-6.102,6.102c-0.368,0.368-0.856,0.607-1.375,0.672l-7.197,0.899L13.254,31.255z M4.255,31.254 l-0.51-0.508l2.904-2.91c0.213-2.925,2.651-5.196,5.61-5.196v0.721c-2.622,0-4.774,2.043-4.9,4.651 c-0.004,0.089-0.042,0.174-0.104,0.236L4.255,31.254z M21,19.36H9c-0.199,0-0.36-0.161-0.36-0.36V4c0-0.199,0.161-0.36,0.36-0.36 h2.64V1c0-0.199,0.161-0.36,0.36-0.36h12c0.199,0,0.36,0.161,0.36,0.36v15c0,0.199-0.161,0.36-0.36,0.36h-2.64V19 C21.36,19.199,21.199,19.36,21,19.36z M9.36,18.64h11.28V8.36H17c-0.199,0-0.36-0.161-0.36-0.36V4.36H9.36V18.64z M21.36,15.64 h2.279V1.36H12.36v2.28H17c0.096,0,0.188,0.038,0.255,0.105l4,4C21.322,7.813,21.36,7.904,21.36,8V15.64z M17.36,7.64h2.771 L17.36,4.869V7.64z M19,15.36h-8v-0.72h8V15.36z M19,13.36h-8v-0.72h8V13.36z M19,11.36h-8v-0.72h8V11.36z" })), children);
|
|
23636
|
+
});
|
|
23637
|
+
var Carbon = /* @__PURE__ */ React10.forwardRef(function Carbon2({ children, ...rest }, ref) {
|
|
23638
|
+
return /* @__PURE__ */ React10.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path1487 || (_path1487 = /* @__PURE__ */ React10.createElement("path", { d: "M14,31.36c-0.062,0-0.124-0.017-0.18-0.048l-10-5.75 c-0.111-0.064-0.18-0.184-0.18-0.312v-11.5c0-0.129,0.069-0.248,0.18-0.312l10-5.75c0.111-0.064,0.248-0.064,0.359,0l10,5.75 c0.111,0.064,0.181,0.183,0.181,0.312v11.5c0,0.129-0.069,0.248-0.181,0.312l-10,5.75C14.124,31.344,14.062,31.36,14,31.36z M4.36,25.042L14,30.585l9.64-5.543V13.958L14,8.415l-9.64,5.543C4.36,13.958,4.36,25.042,4.36,25.042z M28.36,18h-0.72V6.958 L18,1.415L8.18,7.062L7.82,6.438l10-5.75c0.111-0.064,0.248-0.064,0.359,0l10,5.75C28.29,6.502,28.36,6.621,28.36,6.75 C28.36,6.75,28.36,18,28.36,18z" })), children);
|
|
23639
|
+
});
|
|
23640
|
+
|
|
23641
|
+
// node_modules/@carbon/pictograms-react/es/__generated__/bucket-1.js
|
|
23642
|
+
import React11 from "react";
|
|
23643
|
+
var _path920;
|
|
23644
|
+
var _path1520;
|
|
23645
|
+
var _path1307;
|
|
23646
|
+
var CodeExplanation = /* @__PURE__ */ React11.forwardRef(function CodeExplanation2({
|
|
23647
|
+
children,
|
|
23648
|
+
...rest
|
|
23649
|
+
}, ref) {
|
|
23650
|
+
return /* @__PURE__ */ React11.createElement(Icon3, _extends({
|
|
23651
|
+
width: 64,
|
|
23652
|
+
height: 64,
|
|
23653
|
+
viewBox: "0 0 32 32",
|
|
23654
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23655
|
+
fill: "currentColor",
|
|
23656
|
+
ref
|
|
23657
|
+
}, rest), _path920 || (_path920 = /* @__PURE__ */ React11.createElement("path", {
|
|
23658
|
+
d: "M27,31.36H5c-0.199,0-0.36-0.161-0.36-0.36 v-4.162C3.232,26.66,2.14,25.455,2.14,24s1.092-2.66,2.5-2.838V17c0-0.199,0.161-0.36,0.36-0.36h1.817 c1.49-2,3.536-3.508,5.732-4.243C10.735,11.249,9.64,9.253,9.64,7c0-3.566,2.793-6.36,6.36-6.36S22.36,3.434,22.36,7 c0,2.253-1.095,4.249-2.909,5.397c2.195,0.734,4.242,2.242,5.731,4.243H27c0.199,0,0.36,0.161,0.36,0.36v4.162 c1.407,0.178,2.5,1.383,2.5,2.838s-1.093,2.66-2.5,2.838V31C27.36,31.199,27.199,31.36,27,31.36z M5.36,30.64h21.28v-3.802 c-1.407-0.178-2.5-1.383-2.5-2.838s1.093-2.66,2.5-2.838V17.36H5.36v3.802c1.408,0.178,2.5,1.383,2.5,2.838s-1.092,2.66-2.5,2.838 V30.64z M27,21.86c-1.18,0-2.14,0.96-2.14,2.14s0.96,2.14,2.14,2.14s2.14-0.96,2.14-2.14S28.18,21.86,27,21.86z M5,21.86 c-1.18,0-2.14,0.96-2.14,2.14S3.82,26.14,5,26.14S7.14,25.18,7.14,24S6.18,21.86,5,21.86z M7.731,16.64H24.27 c-1.558-1.904-3.657-3.27-5.853-3.79c-0.15-0.035-0.261-0.163-0.275-0.316c-0.015-0.154,0.07-0.3,0.211-0.363 C20.381,11.263,21.64,9.281,21.64,7c0-3.163-2.477-5.64-5.64-5.64S10.36,3.838,10.36,7c0,2.281,1.26,4.263,3.288,5.171 c0.141,0.063,0.226,0.209,0.211,0.363c-0.015,0.153-0.125,0.281-0.275,0.316C11.388,13.37,9.289,14.736,7.731,16.64z M14.322,28.161 l-0.644-0.322l4-8l0.645,0.322L14.322,28.161z M19.255,27.255l-0.51-0.51L21.491,24l-2.746-2.745l0.51-0.51L22.509,24L19.255,27.255 z M12.746,27.255L9.491,24l3.255-3.255l0.509,0.51L10.509,24l2.745,2.745L12.746,27.255z"
|
|
23659
|
+
})), children);
|
|
23660
|
+
});
|
|
23661
|
+
var Collaboration = /* @__PURE__ */ React11.forwardRef(function Collaboration2({
|
|
23662
|
+
children,
|
|
23663
|
+
...rest
|
|
23664
|
+
}, ref) {
|
|
23665
|
+
return /* @__PURE__ */ React11.createElement(Icon3, _extends({
|
|
23666
|
+
width: 64,
|
|
23667
|
+
height: 64,
|
|
23668
|
+
viewBox: "0 0 32 32",
|
|
23669
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23670
|
+
fill: "currentColor",
|
|
23671
|
+
ref
|
|
23672
|
+
}, rest), _path1520 || (_path1520 = /* @__PURE__ */ React11.createElement("path", {
|
|
23673
|
+
d: "M1.36,11.318V16H0.64v-4.683c0-2.221,1.342-4.163,3.347-4.969C3.242,5.749,2.79,4.834,2.79,3.85 c0-1.77,1.44-3.21,3.21-3.21s3.21,1.44,3.21,3.21c0,0.984-0.452,1.898-1.197,2.499c2.005,0.806,3.347,2.748,3.347,4.969V16h-0.72 v-4.683c0-2.16-1.467-4.016-3.566-4.514C6.924,6.768,6.813,6.64,6.799,6.487c-0.014-0.154,0.071-0.3,0.212-0.363 c0.899-0.4,1.48-1.293,1.48-2.275c0-1.373-1.117-2.49-2.49-2.49S3.51,2.477,3.51,3.85c0,0.982,0.581,1.875,1.48,2.275 c0.141,0.063,0.226,0.209,0.212,0.362C5.188,6.641,5.077,6.769,4.926,6.804C2.827,7.302,1.36,9.158,1.36,11.318z M28.014,21.349 c0.745-0.601,1.197-1.516,1.197-2.499c0-1.771-1.44-3.21-3.211-3.21s-3.211,1.439-3.211,3.21c0,0.983,0.452,1.898,1.197,2.499 c-2.005,0.806-3.347,2.748-3.347,4.969V31h0.721v-4.683c0-2.16,1.466-4.016,3.565-4.514c0.15-0.036,0.261-0.163,0.275-0.317 c0.015-0.153-0.071-0.3-0.212-0.362c-0.899-0.399-1.479-1.292-1.479-2.274c0-1.373,1.117-2.49,2.49-2.49s2.49,1.117,2.49,2.49 c0,0.982-0.58,1.875-1.479,2.274c-0.141,0.062-0.227,0.209-0.212,0.362c0.015,0.154,0.125,0.281,0.275,0.317 c2.1,0.498,3.565,2.354,3.565,4.514V31h0.721v-4.683C31.36,24.097,30.019,22.154,28.014,21.349z M6.36,23v-5.131l2.386,2.386 l0.509-0.51L6,16.491l-3.254,3.254l0.509,0.51l2.386-2.386V23c0,2.404,1.956,4.36,4.36,4.36h9v-0.72h-9 C7.993,26.64,6.36,25.007,6.36,23z M25.64,8v5.13l-2.385-2.385l-0.51,0.509L26,14.509l3.255-3.255l-0.51-0.509L26.36,13.13V8 c0-2.404-1.956-4.36-4.36-4.36H11v0.72h11C24.007,4.36,25.64,5.993,25.64,8z"
|
|
23674
|
+
})), children);
|
|
23675
|
+
});
|
|
23676
|
+
var DevicePairing = /* @__PURE__ */ React11.forwardRef(function DevicePairing2({
|
|
23677
|
+
children,
|
|
23678
|
+
...rest
|
|
23679
|
+
}, ref) {
|
|
23680
|
+
return /* @__PURE__ */ React11.createElement(Icon3, _extends({
|
|
23681
|
+
width: 64,
|
|
23682
|
+
height: 64,
|
|
23683
|
+
viewBox: "0 0 32 32",
|
|
23684
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23685
|
+
fill: "currentColor",
|
|
23686
|
+
ref
|
|
23687
|
+
}, rest), _path1307 || (_path1307 = /* @__PURE__ */ React11.createElement("path", {
|
|
23688
|
+
d: "M31,29.36h-9c-0.199,0-0.36-0.161-0.36-0.36v-6.64H1v-0.72h20.64v-1.28H4 c-0.75,0-1.36-0.61-1.36-1.36V4c0-0.749,0.61-1.359,1.36-1.36h22c0.75,0,1.36,0.61,1.36,1.36v8.64H31c0.199,0,0.36,0.161,0.36,0.36 v16C31.36,29.199,31.199,29.36,31,29.36z M22.36,28.64h8.279v-2.28H22.36V28.64z M22.36,25.64h8.279V13.36H22.36V25.64z M4,3.36 C3.647,3.361,3.36,3.648,3.36,4v15c0,0.353,0.287,0.64,0.64,0.64h17.64V13c0-0.199,0.161-0.36,0.36-0.36h4.64V4 c0-0.353-0.287-0.64-0.64-0.64C26,3.36,4,3.36,4,3.36z"
|
|
23689
|
+
})), children);
|
|
23690
|
+
});
|
|
23691
|
+
|
|
23692
|
+
// node_modules/@carbon/pictograms-react/es/__generated__/bucket-2.js
|
|
23693
|
+
import React12 from "react";
|
|
23694
|
+
var _path707;
|
|
23695
|
+
var _path1197;
|
|
23696
|
+
var _path2362;
|
|
23697
|
+
var Goals = /* @__PURE__ */ React12.forwardRef(function Goals2({
|
|
23698
|
+
children,
|
|
23699
|
+
...rest
|
|
23700
|
+
}, ref) {
|
|
23701
|
+
return /* @__PURE__ */ React12.createElement(Icon3, _extends({
|
|
23702
|
+
width: 64,
|
|
23703
|
+
height: 64,
|
|
23704
|
+
viewBox: "0 0 32 32",
|
|
23705
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23706
|
+
fill: "currentColor",
|
|
23707
|
+
ref
|
|
23708
|
+
}, rest), _path707 || (_path707 = /* @__PURE__ */ React12.createElement("path", {
|
|
23709
|
+
d: "M31,10.36h-9.36V1h0.721v8.131l8.385-8.385l0.51,0.509L22.869,9.64H31V10.36z M21.36,16 c0-2.956-2.405-5.36-5.36-5.36c-2.956,0-5.36,2.404-5.36,5.36c0,2.955,2.404,5.36,5.36,5.36C18.955,21.36,21.36,18.955,21.36,16z M20.64,16c0,2.559-2.081,4.64-4.64,4.64s-4.64-2.081-4.64-4.64s2.082-4.64,4.64-4.64S20.64,13.441,20.64,16z M31.36,16 c0-1.353-0.191-2.731-0.569-4.096l-0.693,0.191c0.359,1.303,0.542,2.616,0.542,3.904c0,8.072-6.567,14.64-14.64,14.64 C7.927,30.64,1.36,24.072,1.36,16C1.36,7.927,7.927,1.36,16,1.36c1.287,0,2.601,0.183,3.904,0.543l0.191-0.694 C18.729,0.832,17.352,0.64,16,0.64C7.53,0.64,0.64,7.53,0.64,16S7.53,31.36,16,31.36S31.36,24.47,31.36,16z M26.36,16 c0-1.433-0.292-2.828-0.868-4.144l-0.66,0.288C25.368,13.37,25.64,14.667,25.64,16c0,5.315-4.324,9.64-9.64,9.64 S6.36,21.315,6.36,16S10.685,6.36,16,6.36c1.333,0,2.631,0.272,3.855,0.808l0.289-0.659C18.827,5.932,17.434,5.64,16,5.64 C10.288,5.64,5.64,10.288,5.64,16c0,5.713,4.647,10.36,10.36,10.36S26.36,21.713,26.36,16z M16,15c-0.552,0-1,0.448-1,1s0.448,1,1,1 s1-0.448,1-1S16.552,15,16,15z"
|
|
23710
|
+
})), children);
|
|
23711
|
+
});
|
|
23712
|
+
var Hills = /* @__PURE__ */ React12.forwardRef(function Hills2({
|
|
23713
|
+
children,
|
|
23714
|
+
...rest
|
|
23715
|
+
}, ref) {
|
|
23716
|
+
return /* @__PURE__ */ React12.createElement(Icon3, _extends({
|
|
23717
|
+
width: 64,
|
|
23718
|
+
height: 64,
|
|
23719
|
+
viewBox: "0 0 32 32",
|
|
23720
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23721
|
+
fill: "currentColor",
|
|
23722
|
+
ref
|
|
23723
|
+
}, rest), _path1197 || (_path1197 = /* @__PURE__ */ React12.createElement("path", {
|
|
23724
|
+
d: "M30.192,29.64L16.36,8.891V5.36h4.509l-1.86-1.86l1.86-1.86H15.64v7.251L1.807,29.64H1v0.721h30V29.64H30.192 z M16.36,2.36h2.771l-1.14,1.14l1.14,1.14H16.36V2.36z M2.673,29.64L8,21.649l5.327,7.99L2.673,29.64L2.673,29.64z M14.193,29.64 L8.433,21L12,15.649l9.327,13.991H14.193z M22.192,29.64L12.433,15L16,9.649L29.327,29.64H22.192z"
|
|
23725
|
+
})), children);
|
|
23726
|
+
});
|
|
23727
|
+
var Leadership = /* @__PURE__ */ React12.forwardRef(function Leadership2({
|
|
23728
|
+
children,
|
|
23729
|
+
...rest
|
|
23730
|
+
}, ref) {
|
|
23731
|
+
return /* @__PURE__ */ React12.createElement(Icon3, _extends({
|
|
23732
|
+
width: 64,
|
|
23733
|
+
height: 64,
|
|
23734
|
+
viewBox: "0 0 32 32",
|
|
23735
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23736
|
+
fill: "currentColor",
|
|
23737
|
+
ref
|
|
23738
|
+
}, rest), _path2362 || (_path2362 = /* @__PURE__ */ React12.createElement("path", {
|
|
23739
|
+
d: "M31.36,31h-0.72c0-6.587-4.825-12.394-11.475-13.809 c-0.153-0.032-0.268-0.161-0.283-0.317c-0.016-0.156,0.072-0.304,0.217-0.366c2.91-1.246,4.791-4.095,4.791-7.258 c0-4.351-3.539-7.89-7.89-7.89S8.11,4.9,8.11,9.25c0,3.165,1.881,6.014,4.792,7.258c0.144,0.062,0.232,0.21,0.217,0.366 s-0.13,0.285-0.283,0.317C6.186,18.607,1.36,24.414,1.36,31H0.64c0-6.601,4.604-12.456,11.082-14.275 C9.062,15.203,7.39,12.366,7.39,9.25c0-4.748,3.862-8.61,8.61-8.61s8.61,3.862,8.61,8.61c0,3.116-1.672,5.951-4.333,7.473 C26.755,18.543,31.36,24.398,31.36,31z M19,29.36c-0.072,0-0.146-0.022-0.208-0.066L16,27.319l-2.792,1.975 c-0.127,0.091-0.299,0.089-0.424-0.006c-0.125-0.095-0.175-0.258-0.124-0.406l1.104-3.182l-2.725-1.969 c-0.126-0.092-0.18-0.254-0.131-0.402c0.048-0.149,0.186-0.25,0.342-0.25h3.371l1.037-3.19C15.706,19.74,15.844,19.64,16,19.64l0,0 c0.156,0,0.294,0.101,0.342,0.249l1.037,3.19h3.371c0.156,0,0.295,0.101,0.343,0.25c0.048,0.148-0.005,0.311-0.132,0.402 L18.236,25.7l1.104,3.182c0.052,0.148,0.002,0.312-0.123,0.406C19.152,29.336,19.076,29.36,19,29.36z M16,26.519 c0.073,0,0.146,0.022,0.208,0.066l2.085,1.474l-0.824-2.375c-0.053-0.15,0-0.316,0.129-0.41l2.04-1.474h-2.521 c-0.156,0-0.294-0.101-0.342-0.249L16,21.165l-0.775,2.386c-0.048,0.148-0.187,0.249-0.342,0.249h-2.52l2.04,1.474 c0.129,0.094,0.181,0.26,0.129,0.41l-0.824,2.375l2.084-1.474C15.854,26.541,15.927,26.519,16,26.519z"
|
|
23740
|
+
})), children);
|
|
23741
|
+
});
|
|
23742
|
+
|
|
23743
|
+
// node_modules/@carbon/pictograms-react/es/__generated__/bucket-3.js
|
|
23744
|
+
import React13 from "react";
|
|
23745
|
+
var _path2314;
|
|
23746
|
+
var _path947;
|
|
23747
|
+
var _path11110;
|
|
23748
|
+
var _path2017;
|
|
23749
|
+
var _path2144;
|
|
23750
|
+
var _path2154;
|
|
23751
|
+
var _path2452;
|
|
23752
|
+
var MagicWand = /* @__PURE__ */ React13.forwardRef(function MagicWand2({ children, ...rest }, ref) {
|
|
23753
|
+
return /* @__PURE__ */ React13.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path2314 || (_path2314 = /* @__PURE__ */ React13.createElement("path", { d: "M3.754,10.246c-0.141-0.141-0.368-0.141-0.509,0 l-1.5,1.5c-0.141,0.141-0.141,0.368,0,0.509l1.5,1.5c0.07,0.07,0.162,0.105,0.254,0.105s0.184-0.035,0.254-0.105l1.5-1.5 c0.141-0.141,0.141-0.368,0-0.509L3.754,10.246z M3.5,12.991L2.509,12L3.5,11.009L4.491,12L3.5,12.991z M4.746,5.254 C4.816,5.325,4.908,5.36,5,5.36s0.184-0.035,0.254-0.105l1.5-1.5c0.141-0.141,0.141-0.368,0-0.509l-1.5-1.5 c-0.141-0.141-0.368-0.141-0.509,0l-1.5,1.5c-0.141,0.141-0.141,0.368,0,0.509L4.746,5.254z M5,2.509L5.991,3.5L5,4.491L4.009,3.5 L5,2.509z M10.972,4.864C11.954,5.109,12.64,5.988,12.64,7c0,0.199,0.161,0.36,0.36,0.36S13.36,7.199,13.36,7 c0-1.012,0.686-1.891,1.729-2.151c0.159-0.04,0.271-0.184,0.271-0.349s-0.112-0.309-0.271-0.349l-0.06-0.015h-0.001 C14.046,3.891,13.36,3.012,13.36,2c0-0.199-0.161-0.36-0.36-0.36S12.64,1.801,12.64,2c0,1.012-0.686,1.891-1.729,2.151 c-0.16,0.041-0.242,0.192-0.241,0.357C10.67,4.673,10.812,4.825,10.972,4.864z M13,3.407c0.246,0.447,0.606,0.826,1.048,1.093 c-0.443,0.268-0.804,0.647-1.05,1.095c-0.245-0.443-0.606-0.82-1.055-1.09C12.39,4.237,12.753,3.857,13,3.407z M10.089,16.151 l-0.06-0.015h-0.001C9.046,15.891,8.36,15.012,8.36,14c0-0.199-0.161-0.36-0.36-0.36S7.64,13.801,7.64,14 c0,1.012-0.686,1.891-1.729,2.151c-0.16,0.041-0.242,0.192-0.241,0.357c0,0.165,0.143,0.316,0.302,0.356 C6.954,17.109,7.64,17.987,7.64,19c0,0.199,0.161,0.36,0.36,0.36S8.36,19.199,8.36,19c0-1.013,0.686-1.891,1.729-2.151 c0.159-0.041,0.271-0.185,0.271-0.349S10.248,16.191,10.089,16.151z M7.999,17.595c-0.245-0.442-0.606-0.819-1.055-1.09 C7.39,16.237,7.753,15.857,8,15.407c0.246,0.447,0.606,0.826,1.048,1.093C8.605,16.768,8.244,17.146,7.999,17.595z M30.255,28.245 l-22-22c-0.141-0.141-0.368-0.141-0.509,0l-1.5,1.5c-0.141,0.141-0.141,0.368,0,0.509l22,22c0.07,0.07,0.163,0.105,0.255,0.105 s0.185-0.035,0.255-0.105l1.5-1.5C30.396,28.614,30.396,28.386,30.255,28.245z M8,7.009l5.741,5.741l-0.991,0.991L7.009,8L8,7.009z M28.5,29.491L13.259,14.25l0.991-0.991L29.491,28.5L28.5,29.491z" })), children);
|
|
23754
|
+
});
|
|
23755
|
+
var Multitask = /* @__PURE__ */ React13.forwardRef(function Multitask2({ children, ...rest }, ref) {
|
|
23756
|
+
return /* @__PURE__ */ React13.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path947 || (_path947 = /* @__PURE__ */ React13.createElement("path", { d: "M23.61,31h-0.72c0-3.114-2.104-5.849-5.115-6.65c-0.145-0.038-0.25-0.162-0.266-0.312 c-0.015-0.149,0.064-0.292,0.198-0.358c1.331-0.661,2.157-1.982,2.157-3.449c0-2.132-1.733-3.866-3.864-3.866 s-3.865,1.734-3.865,3.866c0,1.466,0.827,2.788,2.158,3.449c0.134,0.066,0.213,0.209,0.198,0.358s-0.121,0.273-0.266,0.312 C11.213,25.151,9.11,27.886,9.11,31H8.39c0-3.17,1.973-5.984,4.886-7.1c-1.165-0.855-1.861-2.201-1.861-3.67 c0-2.528,2.057-4.585,4.585-4.585s4.585,2.057,4.585,4.585c0,1.469-0.697,2.815-1.861,3.67C21.637,25.016,23.61,27.83,23.61,31z M27,17.36c-2.404,0-4.36-1.956-4.36-4.36S24.596,8.64,27,8.64s4.36,1.956,4.36,4.36S29.404,17.36,27,17.36z M27,9.36 c-2.007,0-3.64,1.633-3.64,3.64s1.633,3.64,3.64,3.64s3.64-1.633,3.64-3.64S29.007,9.36,27,9.36z M5,17.36 c-2.404,0-4.36-1.956-4.36-4.36S2.596,8.64,5,8.64S9.36,10.596,9.36,13S7.404,17.36,5,17.36z M5,9.36c-2.007,0-3.64,1.633-3.64,3.64 S2.993,16.64,5,16.64S8.64,15.007,8.64,13S7.007,9.36,5,9.36z M16,9.36c-2.404,0-4.36-1.956-4.36-4.36S13.596,0.64,16,0.64 S20.36,2.596,20.36,5S18.404,9.36,16,9.36z M16,1.36c-2.007,0-3.64,1.633-3.64,3.64S13.993,8.64,16,8.64S19.64,7.007,19.64,5 S18.007,1.36,16,1.36z" })), children);
|
|
23757
|
+
});
|
|
23758
|
+
var Networking_04 = /* @__PURE__ */ React13.forwardRef(function Networking_042({ children, ...rest }, ref) {
|
|
23759
|
+
return /* @__PURE__ */ React13.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path11110 || (_path11110 = /* @__PURE__ */ React13.createElement("path", { d: "M13,18.64H1c-0.199,0-0.36,0.161-0.36,0.36v12c0,0.199,0.161,0.36,0.36,0.36h12 c0.199,0,0.36-0.161,0.36-0.36V19C13.36,18.801,13.199,18.64,13,18.64z M12.64,30.64H1.36V19.36h11.28 C12.64,19.36,12.64,30.64,12.64,30.64z M25,0.64c-3.507,0-6.36,2.853-6.36,6.36s2.854,6.36,6.36,6.36s6.36-2.853,6.36-6.36 S28.507,0.64,25,0.64z M25,12.64c-3.11,0-5.64-2.53-5.64-5.64S21.89,1.36,25,1.36S30.64,3.89,30.64,7S28.11,12.64,25,12.64z M9.36,26.5c0-0.615-0.3-1.161-0.761-1.5c0.461-0.339,0.761-0.885,0.761-1.5c0-1.025-0.834-1.86-1.86-1.86H4.641v6.721H7.5 C8.525,28.36,9.36,27.525,9.36,26.5z M5.36,22.36H7.5c0.628,0,1.14,0.511,1.14,1.14s-0.512,1.14-1.14,1.14H5.36V22.36z M5.36,25.36 H7.5c0.628,0,1.14,0.511,1.14,1.14s-0.512,1.14-1.14,1.14H5.36V25.36z M24.64,15h0.721v8c0,1.302-1.059,2.36-2.36,2.36H16.37 l2.214,2.213l-0.51,0.51L14.991,25l3.083-3.083l0.51,0.51L16.37,24.64H23c0.904,0,1.64-0.735,1.64-1.64V15z M17.009,7l-3.083,3.083 l-0.509-0.509l2.214-2.214H9C8.096,7.36,7.36,8.096,7.36,9v8H6.64V9c0-1.301,1.059-2.36,2.36-2.36h6.631l-2.214-2.214l0.509-0.509 L17.009,7z M24.671,3.862l-2.386,6l0.67,0.266l0.705-1.773h2.691l0.705,1.773l0.67-0.266l-2.385-6 C25.341,3.862,24.671,3.862,24.671,3.862z M23.946,7.635l1.06-2.666l1.059,2.666H23.946z" })), children);
|
|
23760
|
+
});
|
|
23761
|
+
var PoughkeepsieBridge = /* @__PURE__ */ React13.forwardRef(function PoughkeepsieBridge2({ children, ...rest }, ref) {
|
|
23762
|
+
return /* @__PURE__ */ React13.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path2017 || (_path2017 = /* @__PURE__ */ React13.createElement("path", { d: "M22,25.36h-4 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.36,0.36-0.36h4c0.199,0,0.36,0.161,0.36,0.36S22.199,25.36,22,25.36z M14,25.36h-4 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.36,0.36-0.36h4c0.199,0,0.36,0.161,0.36,0.36S14.199,25.36,14,25.36z M26,23.36H6 c-0.199,0-0.36-0.161-0.36-0.36S5.801,22.64,6,22.64h20c0.199,0,0.36,0.161,0.36,0.36S26.199,23.36,26,23.36z M30,21.36h-9 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.36,0.36-0.36h9c0.199,0,0.36,0.161,0.36,0.36S30.199,21.36,30,21.36z M18,21.36h-4 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.36,0.36-0.36h4c0.199,0,0.36,0.161,0.36,0.36S18.199,21.36,18,21.36z M11,21.36H2 c-0.199,0-0.36-0.161-0.36-0.36S1.801,20.64,2,20.64h9c0.199,0,0.36,0.161,0.36,0.36S11.199,21.36,11,21.36z M25.36,21h-0.72v-1.64 h-1.28V21h-0.72v-8.64h-2.639H20h-0.001h-3.998c-0.001,0-0.002,0-0.003,0h-3.997c-0.001,0-0.002,0-0.003,0H9.36V21H8.64v-1.64H7.36 V21H6.64v-8.77l-2.697-0.87H1v-0.72h2.131L0.746,8.254L1,8V7.64h2.997c0.002,0,0.004,0,0.006,0h3.994c0.002,0,0.004,0,0.006,0h3.996 c0.001,0,0.002,0,0.003,0h3.997c0.001,0,0.002,0,0.003,0H20h0h0.001h3.996c0.002,0,0.004,0,0.006,0h3.994c0.002,0,0.004,0,0.006,0 H31V8l0.255,0.254l-2.386,2.386H31v0.72h-2.943l-2.696,0.87L25.36,21L25.36,21z M23.36,18.64h1.279v-6.28H24l0,0h-0.001H23.36V18.64 z M7.36,18.64h1.28v-6.28H8.001c-0.001,0-0.002,0-0.003,0H7.36V18.64z M20.869,11.64h2.262L22,10.509L20.869,11.64z M16.869,11.64 h2.262L18,10.509L16.869,11.64z M12.869,11.64h2.262L14,10.509L12.869,11.64z M8.869,11.64h2.262L10,10.509L8.869,11.64z M27.64,8.869l-2.759,2.759l2.759-0.89V8.869z M4.36,10.738l2.759,0.89L4.36,8.869V10.738z M18.509,10L20,11.491L21.491,10L20,8.509 L18.509,10z M14.509,10L16,11.491L17.491,10L16,8.509L14.509,10z M10.509,10L12,11.491L13.491,10L12,8.509L10.509,10z M24.36,8.36 v2.771l2.771-2.771H24.36z M22.509,10l1.131,1.131V8.869L22.509,10z M8.36,8.869v2.262L9.491,10L8.36,8.869z M4.869,8.36 l2.771,2.771V8.36H4.869z M28.36,8.36v1.771l1.771-1.771H28.36z M1.869,8.36l1.771,1.771V8.36H1.869z M20.869,8.36L22,9.491 l1.131-1.131C23.131,8.36,20.869,8.36,20.869,8.36z M16.869,8.36L18,9.491l1.131-1.131C19.131,8.36,16.869,8.36,16.869,8.36z M12.869,8.36L14,9.491l1.131-1.131C15.131,8.36,12.869,8.36,12.869,8.36z M8.869,8.36L10,9.491l1.131-1.131 C11.131,8.36,8.869,8.36,8.869,8.36z" })), children);
|
|
23763
|
+
});
|
|
23764
|
+
var Presentation = /* @__PURE__ */ React13.forwardRef(function Presentation2({ children, ...rest }, ref) {
|
|
23765
|
+
return /* @__PURE__ */ React13.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path2144 || (_path2144 = /* @__PURE__ */ React13.createElement("path", { d: "M21.36,31h-0.72l-0.001-1.572c0-1.952-1.254-3.704-3.121-4.36c-0.136-0.048-0.229-0.171-0.24-0.314 c-0.01-0.143,0.065-0.278,0.193-0.345c1.073-0.559,1.739-1.646,1.739-2.837c0-1.771-1.44-3.211-3.211-3.211s-3.212,1.44-3.212,3.211 c0,1.191,0.667,2.279,1.74,2.838c0.127,0.066,0.203,0.202,0.193,0.345c-0.01,0.144-0.104,0.267-0.239,0.314 c-1.866,0.656-3.12,2.408-3.12,4.359L11.359,31h-0.72v-1.572c0-1.952-1.255-3.704-3.122-4.36c-0.135-0.048-0.229-0.171-0.239-0.314 c-0.01-0.143,0.065-0.278,0.192-0.345c1.073-0.559,1.739-1.646,1.739-2.837c0-1.771-1.441-3.211-3.211-3.211 c-1.771,0-3.212,1.44-3.212,3.211c0,1.191,0.667,2.279,1.74,2.838c0.127,0.066,0.203,0.202,0.193,0.345 c-0.01,0.144-0.104,0.267-0.239,0.314c-1.866,0.656-3.12,2.408-3.12,4.359V31H0.64v-1.572c0-2.022,1.162-3.858,2.954-4.763 c-0.956-0.737-1.527-1.87-1.527-3.094c0-2.168,1.764-3.932,3.932-3.932c2.167,0,3.931,1.764,3.931,3.932 c0,1.223-0.571,2.354-1.526,3.092c1.202,0.607,2.122,1.633,2.596,2.854c0.475-1.22,1.393-2.245,2.595-2.852 c-0.956-0.737-1.527-1.87-1.527-3.094c0-2.168,1.764-3.932,3.932-3.932s3.932,1.764,3.932,3.932c0,1.223-0.571,2.354-1.527,3.092 c1.203,0.607,2.122,1.634,2.597,2.854c0.475-1.221,1.394-2.246,2.595-2.853c-0.956-0.737-1.527-1.87-1.527-3.094 c0-2.168,1.764-3.932,3.932-3.932s3.932,1.764,3.932,3.932c0,1.223-0.571,2.354-1.526,3.092c1.793,0.905,2.956,2.742,2.956,4.765V31 H30.64v-1.572c0-1.952-1.254-3.704-3.121-4.36c-0.136-0.048-0.229-0.171-0.24-0.314c-0.01-0.143,0.065-0.278,0.193-0.345 c1.072-0.559,1.738-1.646,1.738-2.837c0-1.771-1.44-3.211-3.211-3.211s-3.211,1.44-3.211,3.211c0,1.192,0.666,2.279,1.739,2.838 c0.128,0.066,0.203,0.202,0.193,0.345c-0.011,0.144-0.104,0.267-0.24,0.314c-1.866,0.656-3.119,2.408-3.119,4.359L21.36,31z M31,15.36H16v-0.72h14.64V1.36H14.36v6.008h2.679c0.75,0,1.36,0.61,1.36,1.36s-0.61,1.36-1.36,1.36H10.36V15H9.64V9.728 c0-0.199,0.161-0.36,0.36-0.36h7.039c0.353,0,0.64-0.287,0.64-0.64s-0.287-0.64-0.64-0.64H7.616c-0.166,0-0.31-0.113-0.35-0.274 C7.227,7.652,7.303,7.485,7.45,7.408C8.519,6.85,9.184,5.763,9.184,4.572C9.184,2.801,7.755,1.36,6,1.36 c-1.774,0-3.218,1.441-3.218,3.212c0,1.192,0.665,2.279,1.735,2.837C4.644,7.475,4.72,7.611,4.709,7.754 C4.699,7.897,4.605,8.021,4.47,8.068c-1.86,0.656-3.11,2.408-3.11,4.36V15H0.64v-2.572c0-2.022,1.159-3.858,2.945-4.763 c-0.953-0.737-1.523-1.87-1.523-3.093C2.062,2.404,3.829,0.64,6,0.64c2.152,0,3.903,1.764,3.903,3.932 c0,1.069-0.435,2.069-1.181,2.796h4.918V1c0-0.199,0.161-0.36,0.36-0.36h17c0.199,0,0.36,0.161,0.36,0.36v14 C31.36,15.199,31.199,15.36,31,15.36z M26,11.36c-0.897,0-1.741-0.35-2.376-0.984C22.989,9.741,22.64,8.897,22.64,8 s0.35-1.741,0.984-2.375c1.27-1.27,3.482-1.27,4.752,0C29.011,6.259,29.36,7.103,29.36,8s-0.35,1.741-0.984,2.375l0,0l0,0l0,0 C27.741,11.01,26.897,11.36,26,11.36z M25.695,10.623c0.791,0.092,1.601-0.185,2.171-0.756l0,0C28.365,9.368,28.64,8.705,28.64,8 c0-0.58-0.186-1.131-0.528-1.586l-1.787,1.772L25.695,10.623z M23.562,6.984C23.43,7.302,23.36,7.646,23.36,8 c0,0.705,0.274,1.368,0.773,1.867c0.251,0.251,0.545,0.446,0.864,0.577l0.586-2.271L23.562,6.984z M23.928,6.364l2.016,1.185 l1.661-1.646c-1.009-0.775-2.558-0.684-3.471,0.23C24.06,6.207,23.991,6.284,23.928,6.364z M20,5.36h-4V4.64h4V5.36z M21,3.36h-5 V2.64h5V3.36z" })), children);
|
|
23766
|
+
});
|
|
23767
|
+
var Presenter = /* @__PURE__ */ React13.forwardRef(function Presenter2({ children, ...rest }, ref) {
|
|
23768
|
+
return /* @__PURE__ */ React13.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path2154 || (_path2154 = /* @__PURE__ */ React13.createElement("path", { d: "M16,19.14c-1.298,0-2.519,0.506-3.437,1.424C11.646,21.481,11.14,22.702,11.14,24 s0.506,2.519,1.424,3.437c0.917,0.918,2.138,1.424,3.437,1.424c1.298,0,2.519-0.506,3.437-1.424S20.86,25.298,20.86,24 s-0.506-2.519-1.424-3.437S17.298,19.14,16,19.14z M13.072,21.073c0.782-0.782,1.822-1.213,2.928-1.213 c0.989,0,1.926,0.345,2.672,0.978l-2.729,2.711l-3.319-1.946C12.757,21.415,12.907,21.238,13.072,21.073z M13.072,26.927 C12.291,26.146,11.86,25.105,11.86,24c0-0.625,0.138-1.229,0.398-1.777l3.325,1.95l-0.968,3.73 C14.041,27.7,13.515,27.37,13.072,26.927z M18.927,26.927c-0.945,0.947-2.318,1.377-3.615,1.156l1.012-3.897l2.856-2.837 c0.622,0.742,0.96,1.671,0.96,2.651C20.14,25.105,19.709,26.146,18.927,26.927z M29.86,24c0-1.454-1.094-2.644-2.5-2.824V17 c0-0.199-0.161-0.36-0.36-0.36h-1.817c-1.433-1.915-3.49-3.378-5.761-4.116c1.855-1.171,3.014-3.221,3.014-5.444 c0-3.551-2.89-6.44-6.44-6.44c-3.551,0-6.44,2.889-6.44,6.44c0,2.223,1.158,4.274,3.013,5.445c-2.265,0.736-4.319,2.2-5.75,4.115H5 c-0.199,0-0.36,0.161-0.36,0.36v4.176c-1.406,0.179-2.5,1.37-2.5,2.824s1.094,2.645,2.5,2.824V31c0,0.199,0.161,0.36,0.36,0.36h22 c0.199,0,0.36-0.161,0.36-0.36v-4.176C28.766,26.644,29.86,25.454,29.86,24z M13.608,12.98c0.15-0.035,0.261-0.163,0.275-0.316 c0.015-0.153-0.07-0.299-0.211-0.362c-2.063-0.924-3.397-2.974-3.397-5.221c0-3.154,2.566-5.72,5.72-5.72s5.72,2.566,5.72,5.72 c0,2.247-1.333,4.297-3.397,5.221c-0.141,0.063-0.226,0.209-0.211,0.362c0.015,0.154,0.125,0.281,0.275,0.316 c2.273,0.538,4.381,1.856,5.883,3.66H7.734C9.236,14.835,11.34,13.517,13.608,12.98z M2.86,24c0-1.18,0.96-2.14,2.14-2.14 S7.14,22.82,7.14,24S6.18,26.14,5,26.14S2.86,25.18,2.86,24z M5.36,30.64v-3.816c1.406-0.179,2.5-1.37,2.5-2.824 s-1.094-2.645-2.5-2.824V17.36h21.28v3.816c-1.406,0.179-2.5,1.37-2.5,2.824s1.094,2.644,2.5,2.824v3.816H5.36z M27,26.14 c-1.18,0-2.14-0.96-2.14-2.14s0.96-2.14,2.14-2.14s2.14,0.96,2.14,2.14S28.18,26.14,27,26.14z" })), children);
|
|
23769
|
+
});
|
|
23770
|
+
var Question = /* @__PURE__ */ React13.forwardRef(function Question2({ children, ...rest }, ref) {
|
|
23771
|
+
return /* @__PURE__ */ React13.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path2452 || (_path2452 = /* @__PURE__ */ React13.createElement("path", { d: "M23.668,29.312l-0.359-0.623c4.522-2.61,7.331-7.473,7.331-12.688c0-8.073-6.567-14.64-14.64-14.64 C7.927,1.36,1.36,7.927,1.36,16c0,5.216,2.81,10.078,7.332,12.688l-0.36,0.623C3.587,26.573,0.64,21.473,0.64,16 C0.64,7.53,7.53,0.64,16,0.64S31.36,7.53,31.36,16C31.36,21.473,28.413,26.573,23.668,29.312z M16.355,23.995h-0.72 c0-3.844,1.823-5.201,3.585-6.515c1.599-1.19,3.108-2.315,3.108-5.41c0-3.308-2.657-5.709-6.319-5.709 c-3.485,0-6.32,2.849-6.32,6.35H8.97c0-3.898,3.158-7.07,7.04-7.07c4.079,0,7.04,2.704,7.04,6.429c0,3.456-1.729,4.743-3.398,5.987 C17.956,19.32,16.355,20.513,16.355,23.995z M16,28.5c-0.552,0-1,0.448-1,1s0.448,1,1,1s1-0.448,1-1S16.552,28.5,16,28.5z" })), children);
|
|
23772
|
+
});
|
|
23773
|
+
|
|
23774
|
+
// node_modules/@carbon/pictograms-react/es/__generated__/bucket-4.js
|
|
23775
|
+
import React14 from "react";
|
|
23776
|
+
var _path2094;
|
|
23777
|
+
var Teacher = /* @__PURE__ */ React14.forwardRef(function Teacher2({
|
|
23778
|
+
children,
|
|
23779
|
+
...rest
|
|
23780
|
+
}, ref) {
|
|
23781
|
+
return /* @__PURE__ */ React14.createElement(Icon3, _extends({
|
|
23782
|
+
width: 64,
|
|
23783
|
+
height: 64,
|
|
23784
|
+
viewBox: "0 0 32 32",
|
|
23785
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23786
|
+
fill: "currentColor",
|
|
23787
|
+
ref
|
|
23788
|
+
}, rest), _path2094 || (_path2094 = /* @__PURE__ */ React14.createElement("path", {
|
|
23789
|
+
d: "M21.813,31.36c-0.582,0-0.888-0.196-1.091-0.326 c-0.242-0.156-0.203-0.156-0.445,0c-0.203,0.13-0.509,0.326-1.091,0.326c-1.523,0-2.546-1.959-2.546-3.789 c0-1.836,0.789-2.932,2.11-2.932c0.501,0,0.804,0.136,1.071,0.254c0.111,0.05,0.211,0.094,0.318,0.126V24 c0-0.199,0.161-0.36,0.36-0.36c0.353,0,0.64-0.287,0.64-0.64h0.721c0,0.625-0.425,1.153-1,1.312v0.708 c0.107-0.032,0.207-0.076,0.318-0.126c0.268-0.118,0.57-0.254,1.071-0.254c1.321,0,2.11,1.096,2.11,2.932 c0,0.569-0.099,1.155-0.283,1.695C23.627,30.577,22.781,31.36,21.813,31.36z M20.5,30.211c0.273,0,0.461,0.12,0.611,0.217 c0.17,0.109,0.331,0.212,0.702,0.212c0.76,0,1.315-0.83,1.582-1.607c0.16-0.465,0.244-0.971,0.244-1.461 c0-0.826-0.181-2.211-1.39-2.211c-0.348,0-0.548,0.089-0.779,0.191c-0.249,0.111-0.532,0.237-0.971,0.237s-0.722-0.126-0.971-0.237 c-0.231-0.103-0.432-0.191-0.779-0.191c-1.209,0-1.39,1.385-1.39,2.211c0,1.448,0.781,3.068,1.826,3.068 c0.371,0,0.532-0.103,0.702-0.212C20.039,30.331,20.227,30.211,20.5,30.211z M31.36,31h-0.72c0-6.432-4.777-12.232-11.359-13.792 c-0.15-0.036-0.261-0.163-0.275-0.317s0.071-0.3,0.212-0.363c2.861-1.274,4.71-4.116,4.71-7.241c0-0.313-0.018-0.623-0.054-0.927 h-3.519c0.004,0.046,0.006,0.093,0.006,0.14c0,1.025-0.835,1.86-1.86,1.86s-1.86-0.834-1.86-1.86c0-0.353-0.287-0.64-0.64-0.64 s-0.64,0.287-0.64,0.64c0,1.025-0.834,1.86-1.86,1.86s-1.86-0.834-1.86-1.86c0-0.047,0.001-0.094,0.005-0.14h-3.52 C8.09,8.664,8.072,8.974,8.072,9.287c0,3.125,1.849,5.967,4.71,7.241c0.141,0.063,0.226,0.209,0.212,0.363s-0.125,0.281-0.275,0.317 C6.137,18.768,1.36,24.568,1.36,31H0.64c0-6.46,4.574-12.312,11.002-14.248c-2.634-1.539-4.29-4.375-4.29-7.465 c0-4.768,3.879-8.647,8.648-8.647c4.768,0,8.647,3.879,8.647,8.647c0,3.089-1.657,5.926-4.291,7.465 C26.785,18.688,31.36,24.54,31.36,31z M18.5,7.36c-0.629,0-1.14,0.512-1.14,1.14s0.511,1.14,1.14,1.14s1.14-0.512,1.14-1.14 S19.129,7.36,18.5,7.36z M13.5,7.36c-0.628,0-1.14,0.512-1.14,1.14s0.512,1.14,1.14,1.14s1.14-0.512,1.14-1.14 S14.128,7.36,13.5,7.36z M20.149,7.64h3.605C22.995,4.057,19.807,1.36,16,1.36S9.004,4.057,8.244,7.64h3.607 c0.311-0.594,0.934-1,1.649-1c0.661,0,1.242,0.346,1.572,0.867c0.486-0.455,1.37-0.455,1.856,0C17.258,6.986,17.84,6.64,18.5,6.64 C19.216,6.64,19.838,7.046,20.149,7.64z"
|
|
23790
|
+
})), children);
|
|
23791
|
+
});
|
|
23792
|
+
|
|
23793
|
+
// node_modules/@carbon/pictograms-react/es/__generated__/bucket-5.js
|
|
23794
|
+
import React15 from "react";
|
|
23795
|
+
var _path1521;
|
|
23796
|
+
var _path1620;
|
|
23797
|
+
var _path637;
|
|
23798
|
+
var _path677;
|
|
23799
|
+
var TransactionalTrust = /* @__PURE__ */ React15.forwardRef(function TransactionalTrust2({
|
|
23800
|
+
children,
|
|
23801
|
+
...rest
|
|
23802
|
+
}, ref) {
|
|
23803
|
+
return /* @__PURE__ */ React15.createElement(Icon3, _extends({
|
|
23804
|
+
width: 64,
|
|
23805
|
+
height: 64,
|
|
23806
|
+
viewBox: "0 0 32 32",
|
|
23807
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23808
|
+
fill: "currentColor",
|
|
23809
|
+
ref
|
|
23810
|
+
}, rest), _path1521 || (_path1521 = /* @__PURE__ */ React15.createElement("path", {
|
|
23811
|
+
d: "M30.082,9.856l-0.66,0.288c0.761,1.74,1.154,3.589,1.2,5.496H13.86v-1.386 c0-1.765-1.042-3.314-2.613-3.996c0.558-0.493,0.893-1.209,0.893-1.978c0-1.456-1.184-2.64-2.64-2.64S6.86,6.824,6.86,8.28 c0,0.768,0.335,1.484,0.893,1.978c-1.57,0.682-2.613,2.231-2.613,3.996v1.386H1.378C1.569,7.855,7.855,1.569,15.64,1.378V13h0.72 V1.381c4.255,0.102,8.152,1.999,10.867,5.26H24v0.72h4.36V3h-0.72v3.015C24.716,2.599,20.539,0.64,16,0.64 C7.53,0.64,0.64,7.53,0.64,16c0,2.136,0.43,4.203,1.278,6.145l0.66-0.289c-0.761-1.739-1.154-3.588-1.2-5.496h29.243 c-0.091,3.722-1.576,7.098-3.954,9.635c-0.37-1.217-1.257-2.224-2.422-2.735c0.56-0.494,0.896-1.211,0.896-1.979 c0-1.456-1.185-2.641-2.641-2.641s-2.641,1.185-2.641,2.641c0,0.768,0.335,1.484,0.894,1.978c-1.57,0.681-2.613,2.23-2.613,3.996 v3.211c-0.584,0.086-1.176,0.141-1.78,0.156V19h-0.72v11.619c-4.255-0.102-8.152-1.998-10.867-5.259H8v-0.72H3.64V29h0.72v-3.017 C7.283,29.401,11.461,31.36,16,31.36c8.47,0,15.36-6.891,15.36-15.36C31.36,13.864,30.93,11.797,30.082,9.856z M18.86,27.254 c0-1.695,1.149-3.15,2.797-3.54c0.15-0.036,0.261-0.163,0.275-0.317c0.015-0.153-0.071-0.299-0.212-0.362 c-0.693-0.309-1.141-0.997-1.141-1.754c0-1.059,0.861-1.92,1.92-1.92s1.92,0.861,1.92,1.92c0,0.757-0.447,1.445-1.141,1.754 c-0.142,0.063-0.227,0.209-0.212,0.362c0.015,0.154,0.125,0.281,0.275,0.317c1.401,0.332,2.47,1.479,2.728,2.884 c-1.968,1.871-4.446,3.207-7.21,3.757L18.86,27.254L18.86,27.254z M5.86,14.254c0-1.694,1.15-3.15,2.797-3.541 c0.15-0.036,0.261-0.163,0.275-0.317c0.014-0.153-0.071-0.299-0.212-0.362C8.027,9.726,7.58,9.037,7.58,8.28 c0-1.059,0.861-1.92,1.92-1.92s1.92,0.861,1.92,1.92c0,0.757-0.448,1.445-1.142,1.753c-0.141,0.063-0.226,0.208-0.212,0.362 s0.125,0.281,0.275,0.317c1.647,0.391,2.798,1.847,2.798,3.541v1.386H5.86V14.254z"
|
|
23812
|
+
})), children);
|
|
23813
|
+
});
|
|
23814
|
+
var Transform_01 = /* @__PURE__ */ React15.forwardRef(function Transform_012({
|
|
23815
|
+
children,
|
|
23816
|
+
...rest
|
|
23817
|
+
}, ref) {
|
|
23818
|
+
return /* @__PURE__ */ React15.createElement(Icon3, _extends({
|
|
23819
|
+
width: 64,
|
|
23820
|
+
height: 64,
|
|
23821
|
+
viewBox: "0 0 32 32",
|
|
23822
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23823
|
+
fill: "currentColor",
|
|
23824
|
+
ref
|
|
23825
|
+
}, rest), _path1620 || (_path1620 = /* @__PURE__ */ React15.createElement("path", {
|
|
23826
|
+
d: "M13,31.36H1c-0.199,0-0.36-0.161-0.36-0.36V19c0-0.199,0.161-0.36,0.36-0.36h12 c0.199,0,0.36,0.161,0.36,0.36v12C13.36,31.199,13.199,31.36,13,31.36z M1.36,30.64h11.28V19.36H1.36V30.64z M25,20.528 c-0.139,0-0.271-0.081-0.33-0.216c-0.079-0.183,0.004-0.395,0.186-0.475c3.514-1.535,5.784-5.004,5.784-8.838 c0-5.315-4.324-9.64-9.64-9.64c-3.833,0-7.303,2.271-8.838,5.784c-0.081,0.182-0.293,0.265-0.474,0.186 c-0.182-0.08-0.266-0.292-0.186-0.474C13.152,3.08,16.88,0.64,21,0.64c5.713,0,10.36,4.647,10.36,10.36 c0,4.12-2.44,7.849-6.216,9.498C25.098,20.519,25.048,20.528,25,20.528z M7.36,16.99c0-0.199-0.161-0.36-0.36-0.36 s-0.36,0.161-0.36,0.36V17c0,0.199,0.161,0.355,0.36,0.355S7.36,17.189,7.36,16.99z M17.089,25.36h-0.021 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.36,0.36-0.36c0.199,0,0.37,0.161,0.37,0.36S17.288,25.36,17.089,25.36z M19.122,25.36 h-0.021c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.36,0.36-0.36c0.199,0,0.37,0.161,0.37,0.36S19.321,25.36,19.122,25.36z M21.042,24.797c-0.132,0-0.259-0.073-0.322-0.199c-0.089-0.178-0.017-0.395,0.161-0.483c0.163-0.11,0.377-0.062,0.489,0.106 c0.109,0.165,0.055,0.395-0.111,0.505c-0.012,0.008-0.042,0.026-0.056,0.033C21.151,24.784,21.097,24.797,21.042,24.797z M22.459,23.363c-0.069,0-0.139-0.02-0.199-0.061c-0.166-0.11-0.211-0.334-0.101-0.499c0.089-0.18,0.302-0.238,0.477-0.151 c0.178,0.09,0.244,0.316,0.155,0.494c-0.007,0.014-0.024,0.044-0.032,0.056C22.689,23.307,22.575,23.363,22.459,23.363z M23,21.421 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.37,0.36-0.37s0.36,0.15,0.36,0.35v0.021C23.36,21.26,23.199,21.421,23,21.421z M23,19.382 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.37,0.36-0.37s0.36,0.151,0.36,0.351v0.02C23.36,19.221,23.199,19.382,23,19.382z M23,17.344 c-0.199,0-0.36-0.161-0.36-0.36c0-0.199,0.161-0.37,0.36-0.37s0.36,0.151,0.36,0.35v0.02C23.36,17.183,23.199,17.344,23,17.344z M7,15.322c-0.199,0-0.36-0.151-0.36-0.35v-0.02c0-0.199,0.161-0.36,0.36-0.36s0.36,0.161,0.36,0.36S7.199,15.322,7,15.322z M23,15.305c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.37,0.36-0.37s0.36,0.151,0.36,0.35v0.02C23.36,15.144,23.199,15.305,23,15.305z M7,13.283c-0.004,0-0.009,0-0.013,0c-0.193-0.007-0.346-0.156-0.346-0.35c0-0.009,0-0.039,0.001-0.048 c0.016-0.197,0.183-0.345,0.387-0.331c0.198,0.015,0.346,0.188,0.331,0.387C7.345,13.129,7.188,13.283,7,13.283z M7.542,11.342 c-0.06,0-0.12-0.015-0.175-0.047c-0.172-0.1-0.235-0.312-0.135-0.483l0.01-0.018c0.101-0.171,0.323-0.229,0.492-0.129 c0.172,0.1,0.23,0.321,0.13,0.492C7.797,11.273,7.67,11.342,7.542,11.342z M22.442,11.329c-0.127,0-0.251-0.068-0.316-0.188 c-0.092-0.169-0.04-0.389,0.125-0.489c0.165-0.099,0.374-0.062,0.48,0.1c0.006,0.009,0.021,0.035,0.027,0.044 c0.095,0.174,0.03,0.393-0.144,0.488C22.56,11.315,22.501,11.329,22.442,11.329z M21.014,9.907c-0.062,0-0.124-0.016-0.182-0.049 c-0.172-0.1-0.238-0.326-0.138-0.498c0.1-0.171,0.311-0.235,0.483-0.135l0.018,0.01c0.172,0.1,0.229,0.321,0.129,0.493 C21.258,9.843,21.137,9.907,21.014,9.907z M8.964,9.561h0.009H8.964z M19.074,9.361c-0.008,0-0.017,0-0.025-0.001 c-0.193-0.014-0.352-0.178-0.345-0.372c0.007-0.202,0.217-0.366,0.396-0.346c0.198,0.014,0.348,0.186,0.334,0.385 C19.42,9.216,19.262,9.361,19.074,9.361z M17.035,9.36c-0.199,0-0.37-0.161-0.37-0.36s0.151-0.36,0.35-0.36h0.021 c0.199,0,0.36,0.161,0.36,0.36S17.234,9.36,17.035,9.36z M14.997,9.36c-0.199,0-0.37-0.161-0.37-0.36s0.151-0.36,0.35-0.36h0.02 c0.199,0,0.36,0.161,0.36,0.36S15.195,9.36,14.997,9.36z M12.958,9.36c-0.199,0-0.37-0.161-0.37-0.36s0.151-0.36,0.35-0.36h0.021 c0.199,0,0.36,0.161,0.36,0.36S13.157,9.36,12.958,9.36z M15.37,25c0-0.199-0.167-0.36-0.365-0.36s-0.36,0.161-0.36,0.36 s0.161,0.36,0.36,0.36h0.01C15.213,25.36,15.37,25.199,15.37,25z M10.905,9.36c-0.199,0-0.37-0.161-0.37-0.36s0.151-0.36,0.35-0.36 h0.021c0.199,0,0.36,0.161,0.36,0.36S11.104,9.36,10.905,9.36z M8.978,9.92c-0.199,0-0.37-0.161-0.37-0.36S8.759,9.2,8.958,9.2 h0.021c0.199,0,0.36,0.161,0.36,0.36S9.177,9.92,8.978,9.92z M23,13.294c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.37,0.36-0.37 s0.36,0.151,0.36,0.35v0.02C23.36,13.133,23.199,13.294,23,13.294z"
|
|
23827
|
+
})), children);
|
|
23828
|
+
});
|
|
23829
|
+
var User = /* @__PURE__ */ React15.forwardRef(function User2({
|
|
23830
|
+
children,
|
|
23831
|
+
...rest
|
|
23832
|
+
}, ref) {
|
|
23833
|
+
return /* @__PURE__ */ React15.createElement(Icon3, _extends({
|
|
23834
|
+
width: 64,
|
|
23835
|
+
height: 64,
|
|
23836
|
+
viewBox: "0 0 32 32",
|
|
23837
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23838
|
+
fill: "currentColor",
|
|
23839
|
+
ref
|
|
23840
|
+
}, rest), _path637 || (_path637 = /* @__PURE__ */ React15.createElement("path", {
|
|
23841
|
+
d: "M31.36,31h-0.72c0-6.432-4.777-12.232-11.359-13.792c-0.15-0.036-0.261-0.163-0.275-0.317 c-0.015-0.153,0.071-0.299,0.212-0.362c2.861-1.273,4.71-4.116,4.71-7.241c0-4.371-3.556-7.927-7.927-7.927 c-4.372,0-7.928,3.556-7.928,7.927c0,3.125,1.849,5.968,4.711,7.241c0.141,0.063,0.226,0.209,0.212,0.362 c-0.014,0.154-0.125,0.281-0.275,0.317C6.137,18.768,1.36,24.568,1.36,31H0.64c0-6.46,4.574-12.312,11.002-14.248 c-2.634-1.539-4.291-4.375-4.291-7.465c0-4.768,3.879-8.647,8.648-8.647c4.768,0,8.647,3.879,8.647,8.647 c0,3.09-1.656,5.926-4.29,7.465C26.786,18.688,31.36,24.54,31.36,31z"
|
|
23842
|
+
})), children);
|
|
23843
|
+
});
|
|
23844
|
+
var UserInterface = /* @__PURE__ */ React15.forwardRef(function UserInterface2({
|
|
23845
|
+
children,
|
|
23846
|
+
...rest
|
|
23847
|
+
}, ref) {
|
|
23848
|
+
return /* @__PURE__ */ React15.createElement(Icon3, _extends({
|
|
23849
|
+
width: 64,
|
|
23850
|
+
height: 64,
|
|
23851
|
+
viewBox: "0 0 32 32",
|
|
23852
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23853
|
+
fill: "currentColor",
|
|
23854
|
+
ref
|
|
23855
|
+
}, rest), _path677 || (_path677 = /* @__PURE__ */ React15.createElement("path", {
|
|
23856
|
+
d: "M29,3.5C29,3.776,28.776,4,28.5,4S28,3.776,28,3.5S28.224,3,28.5,3S29,3.224,29,3.5 M26.5,3 C26.224,3,26,3.224,26,3.5S26.224,4,26.5,4S27,3.776,27,3.5S26.776,3,26.5,3 M24.5,3C24.224,3,24,3.224,24,3.5S24.224,4,24.5,4 S25,3.776,25,3.5S24.776,3,24.5,3 M31,30.36H1c-0.199,0-0.36-0.161-0.36-0.36V2c0-0.199,0.161-0.36,0.36-0.36h30 c0.199,0,0.36,0.161,0.36,0.36v28C31.36,30.199,31.199,30.36,31,30.36z M1.36,29.64h29.28V5.36H1.36V29.64z M1.36,4.64h29.28V2.36 H1.36V4.64z M15,25.36h-5c-0.199,0-0.36-0.161-0.36-0.36v-3c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3 C15.36,25.199,15.199,25.36,15,25.36z M10.36,24.64h4.28v-2.28h-4.28C10.36,22.36,10.36,24.64,10.36,24.64z M22,20.36h-5 c-0.199,0-0.36-0.161-0.36-0.36v-3c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3 C22.36,20.199,22.199,20.36,22,20.36z M17.36,19.64h4.279v-2.28H17.36V19.64z M15,20.36h-5c-0.199,0-0.36-0.161-0.36-0.36v-3 c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3C15.36,20.199,15.199,20.36,15,20.36z M10.36,19.64h4.28v-2.28 h-4.28C10.36,17.36,10.36,19.64,10.36,19.64z M22,15.36h-5c-0.199,0-0.36-0.161-0.36-0.36v-3c0-0.199,0.161-0.36,0.36-0.36h5 c0.199,0,0.36,0.161,0.36,0.36v3C22.36,15.199,22.199,15.36,22,15.36z M17.36,14.64h4.279v-2.28H17.36V14.64z M15,15.36h-5 c-0.199,0-0.36-0.161-0.36-0.36v-3c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3 C15.36,15.199,15.199,15.36,15,15.36z M10.36,14.64h4.28v-2.28h-4.28C10.36,12.36,10.36,14.64,10.36,14.64z M8,15.36H3 c-0.199,0-0.36-0.161-0.36-0.36v-3c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3C8.36,15.199,8.199,15.36,8,15.36 z M3.36,14.64h4.28v-2.28H3.36V14.64z M29,10.36h-5c-0.199,0-0.36-0.161-0.36-0.36V7c0-0.199,0.161-0.36,0.36-0.36h5 c0.199,0,0.36,0.161,0.36,0.36v3C29.36,10.199,29.199,10.36,29,10.36z M24.36,9.64h4.279V7.36H24.36V9.64z M22,10.36h-5 c-0.199,0-0.36-0.161-0.36-0.36V7c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3 C22.36,10.199,22.199,10.36,22,10.36z M17.36,9.64h4.279V7.36H17.36V9.64z M15,10.36h-5c-0.199,0-0.36-0.161-0.36-0.36V7 c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3C15.36,10.199,15.199,10.36,15,10.36z M10.36,9.64h4.28V7.36h-4.28 C10.36,7.36,10.36,9.64,10.36,9.64z M8,10.36H3c-0.199,0-0.36-0.161-0.36-0.36V7c0-0.199,0.161-0.36,0.36-0.36h5 c0.199,0,0.36,0.161,0.36,0.36v3C8.36,10.199,8.199,10.36,8,10.36z M3.36,9.64h4.28V7.36H3.36V9.64z"
|
|
23857
|
+
})), children);
|
|
23858
|
+
});
|
|
23859
|
+
|
|
23860
|
+
// node_modules/@carbon/pictograms-react/es/index.js
|
|
23861
|
+
import "react";
|
|
21078
23862
|
|
|
21079
23863
|
// src/components/CustomPictogram/libs/types.ts
|
|
21080
23864
|
var CP_nameOpt = [
|
|
@@ -21180,7 +23964,7 @@ import { memo } from "react";
|
|
|
21180
23964
|
|
|
21181
23965
|
// src/components/CustomTile/CustomTile.tsx
|
|
21182
23966
|
import { useState as useState3 } from "react";
|
|
21183
|
-
import
|
|
23967
|
+
import React17 from "react";
|
|
21184
23968
|
import { Tile } from "@carbon/react";
|
|
21185
23969
|
|
|
21186
23970
|
// src/components/CustomTile/lib/getCustomTileCSSClasses.tsx
|
|
@@ -21347,7 +24131,7 @@ function validateCTL_propsType({
|
|
|
21347
24131
|
}
|
|
21348
24132
|
|
|
21349
24133
|
// src/components/CustomTile/lib/getHeadingContent.ts
|
|
21350
|
-
import
|
|
24134
|
+
import React16 from "react";
|
|
21351
24135
|
var getHeadingContent = (featuredText) => stripNonAlphanumeric(featuredText?.heading?.children);
|
|
21352
24136
|
var stripNonAlphanumeric = (prop) => {
|
|
21353
24137
|
const extractTextFromNode = (node) => {
|
|
@@ -21357,7 +24141,7 @@ var stripNonAlphanumeric = (prop) => {
|
|
|
21357
24141
|
if (typeof node === "number" || typeof node === "boolean") {
|
|
21358
24142
|
return String(node);
|
|
21359
24143
|
}
|
|
21360
|
-
if (
|
|
24144
|
+
if (React16.isValidElement(node)) {
|
|
21361
24145
|
if (node.props.children) {
|
|
21362
24146
|
if (Array.isArray(node.props.children)) {
|
|
21363
24147
|
return node.props.children.map(extractTextFromNode).join("");
|
|
@@ -21488,7 +24272,7 @@ var CustomTile = ({
|
|
|
21488
24272
|
"aria-label": `${componentTitle} tile`,
|
|
21489
24273
|
role: ctl_role,
|
|
21490
24274
|
onClick: () => handleCustomTileClick({ modalIsAvailable, setModalIsOpen }),
|
|
21491
|
-
children: linksTo ? /* @__PURE__ */ jsx19(Fragment7, { children:
|
|
24275
|
+
children: linksTo ? /* @__PURE__ */ jsx19(Fragment7, { children: React17.cloneElement(LinkWrapper, {}, tileContent) }) : tileContent
|
|
21492
24276
|
}
|
|
21493
24277
|
),
|
|
21494
24278
|
modalIsAvailable && modalIsOpen !== void 0 && /* @__PURE__ */ jsx19(
|