keycloakify 11.3.18 → 11.3.20

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.
Files changed (67) hide show
  1. package/bin/124.index.js +675 -0
  2. package/bin/356.index.js +689 -0
  3. package/bin/40.index.js +41 -21
  4. package/bin/{903.index.js → 450.index.js} +2 -680
  5. package/bin/453.index.js +143 -83
  6. package/bin/573.index.js +51 -24
  7. package/bin/{599.index.js → 735.index.js} +438 -121
  8. package/bin/786.index.js +129 -76
  9. package/bin/805.index.js +674 -0
  10. package/bin/854.index.js +68 -0
  11. package/bin/{780.index.js → 921.index.js} +168 -107
  12. package/bin/932.index.js +41 -21
  13. package/bin/97.index.js +125 -73
  14. package/bin/eject-file.d.ts +7 -0
  15. package/bin/keycloakify/generateResources/generateMessageProperties.d.ts +1 -1
  16. package/bin/keycloakify/generateResources/readFieldNameUsage.d.ts +1 -1
  17. package/bin/main.js +70 -7
  18. package/bin/postinstall/getUiModuleFileSourceCodeReadyToBeCopied.d.ts +12 -0
  19. package/bin/postinstall/index.d.ts +1 -0
  20. package/bin/postinstall/installUiModulesPeerDependencies.d.ts +11 -0
  21. package/bin/postinstall/managedGitignoreFile.d.ts +14 -0
  22. package/bin/postinstall/postinstall.d.ts +4 -0
  23. package/bin/postinstall/uiModuleMeta.d.ts +21 -0
  24. package/bin/shared/buildContext.d.ts +3 -0
  25. package/bin/shared/constants.d.ts +2 -1
  26. package/bin/shared/constants.js +2 -1
  27. package/bin/shared/constants.js.map +1 -1
  28. package/bin/shared/customHandler.d.ts +1 -1
  29. package/bin/shared/customHandler.js.map +1 -1
  30. package/bin/shared/exitIfUncommittedChanges.d.ts +3 -0
  31. package/bin/tools/crawlAsync.d.ts +6 -0
  32. package/bin/tools/getInstalledModuleDirPath.d.ts +5 -0
  33. package/bin/tools/listInstalledModules.d.ts +12 -0
  34. package/bin/tools/nodeModulesBinDirPath.d.ts +1 -0
  35. package/bin/tools/runPrettier.d.ts +17 -0
  36. package/package.json +34 -6
  37. package/src/bin/add-story.ts +28 -10
  38. package/src/bin/eject-file.ts +68 -0
  39. package/src/bin/eject-page.ts +51 -31
  40. package/src/bin/initialize-account-theme/initialize-account-theme.ts +4 -32
  41. package/src/bin/initialize-account-theme/initializeAccountTheme_singlePage.ts +2 -16
  42. package/src/bin/keycloakify/generateResources/generateMessageProperties.ts +1 -1
  43. package/src/bin/keycloakify/generateResources/generateResources.ts +58 -26
  44. package/src/bin/keycloakify/generateResources/readFieldNameUsage.ts +1 -1
  45. package/src/bin/main.ts +50 -0
  46. package/src/bin/postinstall/getUiModuleFileSourceCodeReadyToBeCopied.ts +71 -0
  47. package/src/bin/postinstall/index.ts +1 -0
  48. package/src/bin/postinstall/installUiModulesPeerDependencies.ts +157 -0
  49. package/src/bin/postinstall/managedGitignoreFile.ts +135 -0
  50. package/src/bin/postinstall/postinstall.ts +79 -0
  51. package/src/bin/postinstall/uiModuleMeta.ts +303 -0
  52. package/src/bin/shared/buildContext.ts +11 -5
  53. package/src/bin/shared/constants.ts +3 -1
  54. package/src/bin/shared/customHandler.ts +1 -0
  55. package/src/bin/shared/customHandler_delegate.ts +2 -27
  56. package/src/bin/shared/exitIfUncommittedChanges.ts +36 -0
  57. package/src/bin/tools/crawlAsync.ts +51 -0
  58. package/src/bin/tools/getInstalledModuleDirPath.ts +51 -0
  59. package/src/bin/tools/listInstalledModules.ts +131 -0
  60. package/src/bin/tools/nodeModulesBinDirPath.ts +38 -0
  61. package/src/bin/tools/npmInstall.ts +411 -15
  62. package/src/bin/tools/readThisNpmPackageVersion.ts +8 -0
  63. package/src/bin/tools/runPrettier.ts +106 -0
  64. package/src/bin/update-kc-gen.ts +28 -17
  65. package/vite-plugin/index.js +9237 -9161
  66. package/bin/tools/runFormat.d.ts +0 -3
  67. package/src/bin/tools/runFormat.ts +0 -71
@@ -0,0 +1,674 @@
1
+ "use strict";
2
+ exports.id = 805;
3
+ exports.ids = [805];
4
+ exports.modules = {
5
+
6
+ /***/ 11800:
7
+ /***/ ((__unused_webpack_module, exports) => {
8
+
9
+
10
+ /* eslint-disable @typescript-eslint/no-namespace */
11
+ /* eslint-disable @typescript-eslint/no-explicit-any */
12
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
13
+ exports.typeGuard = void 0;
14
+ /** https://docs.tsafe.dev/typeguard */
15
+ function typeGuard(_value, isMatched) {
16
+ return isMatched;
17
+ }
18
+ exports.typeGuard = typeGuard;
19
+ //# sourceMappingURL=typeGuard.js.map
20
+
21
+ /***/ }),
22
+
23
+ /***/ 53501:
24
+ /***/ (function(__unused_webpack_module, exports) {
25
+
26
+
27
+ var __read = (this && this.__read) || function (o, n) {
28
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
29
+ if (!m) return o;
30
+ var i = m.call(o), r, ar = [], e;
31
+ try {
32
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
33
+ }
34
+ catch (error) { e = { error: error }; }
35
+ finally {
36
+ try {
37
+ if (r && !r.done && (m = i["return"])) m.call(i);
38
+ }
39
+ finally { if (e) throw e.error; }
40
+ }
41
+ return ar;
42
+ };
43
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
44
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
45
+ if (ar || !(i in from)) {
46
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
47
+ ar[i] = from[i];
48
+ }
49
+ }
50
+ return to.concat(ar || Array.prototype.slice.call(from));
51
+ };
52
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
53
+ exports.getPrototypeChain = void 0;
54
+ function getPrototypeChain(obj, callback) {
55
+ var proto = Object.getPrototypeOf(obj);
56
+ if (!proto) {
57
+ return [];
58
+ }
59
+ var doContinue = callback === null || callback === void 0 ? void 0 : callback(proto);
60
+ if (!doContinue) {
61
+ return [proto];
62
+ }
63
+ return __spreadArray([proto], __read(getPrototypeChain(proto)), false);
64
+ }
65
+ exports.getPrototypeChain = getPrototypeChain;
66
+ getPrototypeChain.isMatched = function (obj, regExp) {
67
+ var out = false;
68
+ getPrototypeChain(obj, function (_a) {
69
+ var constructor = _a.constructor;
70
+ out = regExp.test(constructor.name);
71
+ return !out;
72
+ });
73
+ return out;
74
+ };
75
+ //# sourceMappingURL=getPrototypeChain.js.map
76
+
77
+ /***/ }),
78
+
79
+ /***/ 33805:
80
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
81
+
82
+
83
+ var __values = (this && this.__values) || function(o) {
84
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
85
+ if (m) return m.call(o);
86
+ if (o && typeof o.length === "number") return {
87
+ next: function () {
88
+ if (o && i >= o.length) o = void 0;
89
+ return { value: o && o[i++], done: !o };
90
+ }
91
+ };
92
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
93
+ };
94
+ var __read = (this && this.__read) || function (o, n) {
95
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
96
+ if (!m) return o;
97
+ var i = m.call(o), r, ar = [], e;
98
+ try {
99
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
100
+ }
101
+ catch (error) { e = { error: error }; }
102
+ finally {
103
+ try {
104
+ if (r && !r.done && (m = i["return"])) m.call(i);
105
+ }
106
+ finally { if (e) throw e.error; }
107
+ }
108
+ return ar;
109
+ };
110
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
111
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
112
+ if (ar || !(i in from)) {
113
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
114
+ ar[i] = from[i];
115
+ }
116
+ }
117
+ return to.concat(ar || Array.prototype.slice.call(from));
118
+ };
119
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
120
+ exports.sameFactory = exports.same = void 0;
121
+ // @denoify-line-ignore
122
+ var Set_1 = __webpack_require__(44105);
123
+ // @denoify-line-ignore
124
+ __webpack_require__(12903);
125
+ var types_1 = __webpack_require__(5725);
126
+ var allEquals_1 = __webpack_require__(32243);
127
+ /**
128
+ * Function that perform a in depth comparison of two things of arbitrary type T
129
+ * to see if they represent the same date regardless of object references.
130
+ *
131
+ * Think of it as JSON.stringify(o1) === JSON.stringify(o2)
132
+ * but unlike a test performed with JSON.stringify the order in the property
133
+ * have been assigned to an object does not matter and circular references are supported.
134
+ *
135
+ *
136
+ * If takeIntoAccountArraysOrdering === false then
137
+ * representsSameData(["a", "b"], ["b", "a"]) will return true.
138
+ *
139
+ * If Date are compared via .getTime()
140
+ *
141
+ * The objects can includes Map and Set.
142
+ * */
143
+ exports.same = (function () {
144
+ function sameRec(o1, o2, _a, o1Path, o2Path, o1RealRef, o2RealRef) {
145
+ var e_1, _b, e_2, _c;
146
+ var _d = _a === void 0 ? { "takeIntoAccountArraysOrdering": true } : _a, takeIntoAccountArraysOrdering = _d.takeIntoAccountArraysOrdering;
147
+ if (o1RealRef === void 0) { o1RealRef = o1; }
148
+ if (o2RealRef === void 0) { o2RealRef = o2; }
149
+ if (Object.is(o1, o2)) {
150
+ return true;
151
+ }
152
+ {
153
+ var i1 = o1Path.map(function (_a) {
154
+ var obj = _a.obj;
155
+ return obj;
156
+ }).indexOf(o1RealRef);
157
+ if (i1 >= 0) {
158
+ var i2 = o2Path.map(function (_a) {
159
+ var obj = _a.obj;
160
+ return obj;
161
+ }).indexOf(o2RealRef);
162
+ if (i1 !== i2) {
163
+ return false;
164
+ }
165
+ return (0, allEquals_1.arrAllEquals)([o1Path, o2Path]
166
+ .map(function (oPath) { return oPath
167
+ .map(function (_a) {
168
+ var key = _a.key;
169
+ return key;
170
+ })
171
+ .join(""); }));
172
+ }
173
+ }
174
+ if (!(o1 instanceof Object && o2 instanceof Object)) {
175
+ return false;
176
+ }
177
+ if (typeof o1 === "function" || typeof o2 === "function") {
178
+ return false;
179
+ }
180
+ if (types_1.DateLike.match(o1)) {
181
+ if (!types_1.DateLike.match(o2)) {
182
+ return false;
183
+ }
184
+ return o1.getTime() === o2.getTime();
185
+ }
186
+ if (types_1.MapLike.match(o1)) {
187
+ if (!types_1.MapLike.match(o2)) {
188
+ return false;
189
+ }
190
+ var newO1 = new Set_1.Polyfill();
191
+ var newO2 = new Set_1.Polyfill();
192
+ try {
193
+ for (var _e = __values([o1, o2]), _f = _e.next(); !_f.done; _f = _e.next()) {
194
+ var o = _f.value;
195
+ var newO = o === o1 ? newO1 : newO2;
196
+ var arr = Array.from(o.keys());
197
+ for (var i = 0; i < arr.length; i++) {
198
+ var key = arr[i];
199
+ var value = o.get(key);
200
+ newO.add({ key: key, value: value });
201
+ }
202
+ }
203
+ }
204
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
205
+ finally {
206
+ try {
207
+ if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
208
+ }
209
+ finally { if (e_1) throw e_1.error; }
210
+ }
211
+ return sameRec(newO1, newO2, { takeIntoAccountArraysOrdering: takeIntoAccountArraysOrdering }, o1Path, o2Path, o1RealRef, o2RealRef);
212
+ }
213
+ var takeIntoAccountArraysOrderingOv = undefined;
214
+ if (types_1.SetLike.match(o1)) {
215
+ if (!types_1.SetLike.match(o2)) {
216
+ return false;
217
+ }
218
+ o1 = Array.from(o1.values());
219
+ o2 = Array.from(o2.values());
220
+ takeIntoAccountArraysOrderingOv = false;
221
+ }
222
+ if (types_1.ArrayLike.match(o1)) {
223
+ if (!types_1.ArrayLike.match(o2)) {
224
+ return false;
225
+ }
226
+ if (o1.length !== o2.length) {
227
+ return false;
228
+ }
229
+ if (!(takeIntoAccountArraysOrderingOv !== undefined ?
230
+ takeIntoAccountArraysOrderingOv :
231
+ takeIntoAccountArraysOrdering)) {
232
+ var o2Set = new Set_1.Polyfill(Array.from(o2));
233
+ for (var i = 0; i < o1.length; i++) {
234
+ if (!("".concat(i) in o1)) {
235
+ continue;
236
+ }
237
+ var val1 = o1[i];
238
+ if (o2Set.has(val1)) {
239
+ o2Set.delete(val1);
240
+ continue;
241
+ }
242
+ var isFound = false;
243
+ try {
244
+ for (var _g = (e_2 = void 0, __values(o2Set.values())), _h = _g.next(); !_h.done; _h = _g.next()) {
245
+ var val2 = _h.value;
246
+ if (!sameRec(val1, val2, { takeIntoAccountArraysOrdering: takeIntoAccountArraysOrdering }, __spreadArray(__spreadArray([], __read(o1Path), false), [{ "obj": o1RealRef, "key": "*" }], false), __spreadArray(__spreadArray([], __read(o2Path), false), [{ "obj": o2RealRef, "key": "*" }], false))) {
247
+ continue;
248
+ }
249
+ isFound = true;
250
+ o2Set.delete(val2);
251
+ break;
252
+ }
253
+ }
254
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
255
+ finally {
256
+ try {
257
+ if (_h && !_h.done && (_c = _g.return)) _c.call(_g);
258
+ }
259
+ finally { if (e_2) throw e_2.error; }
260
+ }
261
+ if (!isFound) {
262
+ return false;
263
+ }
264
+ }
265
+ return true;
266
+ }
267
+ //continue
268
+ }
269
+ else if (!sameRec(Object.keys(o1).filter(function (key) { return o1[key] !== undefined; }), Object.keys(o2).filter(function (key) { return o2[key] !== undefined; }), { "takeIntoAccountArraysOrdering": false }, [], [])) {
270
+ return false;
271
+ }
272
+ for (var key in o1) {
273
+ if (!sameRec(o1[key], o2[key], { takeIntoAccountArraysOrdering: takeIntoAccountArraysOrdering }, __spreadArray(__spreadArray([], __read(o1Path), false), [{ "obj": o1RealRef, key: key }], false), __spreadArray(__spreadArray([], __read(o2Path), false), [{ "obj": o2RealRef, key: key }], false))) {
274
+ return false;
275
+ }
276
+ }
277
+ return true;
278
+ }
279
+ return function same(o1, o2, _a) {
280
+ var _b = _a === void 0 ? { "takeIntoAccountArraysOrdering": true } : _a, takeIntoAccountArraysOrdering = _b.takeIntoAccountArraysOrdering;
281
+ return sameRec(o1, o2, { takeIntoAccountArraysOrdering: takeIntoAccountArraysOrdering }, [], []);
282
+ };
283
+ })();
284
+ /**
285
+ * Return the "same" function with "takeIntoAccountArraysOrdering" default value set as desired.
286
+ * */
287
+ function sameFactory(_a) {
288
+ var takeIntoAccountArraysOrdering = _a.takeIntoAccountArraysOrdering;
289
+ return {
290
+ "same": function (o1, o2, prop) {
291
+ if (prop === void 0) { prop = { takeIntoAccountArraysOrdering: takeIntoAccountArraysOrdering }; }
292
+ return (0, exports.same)(o1, o2, prop);
293
+ }
294
+ };
295
+ }
296
+ exports.sameFactory = sameFactory;
297
+ //# sourceMappingURL=same.js.map
298
+
299
+ /***/ }),
300
+
301
+ /***/ 5725:
302
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
303
+
304
+
305
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
306
+ exports.DateLike = exports.ArrayLike = exports.MapLike = exports.SetLike = void 0;
307
+ var typeGuard_1 = __webpack_require__(11800);
308
+ var getPrototypeChain_1 = __webpack_require__(53501);
309
+ var SetLike;
310
+ (function (SetLike) {
311
+ function match(set) {
312
+ return ((0, typeGuard_1.typeGuard)(set, true) &&
313
+ typeof set.values === "function" &&
314
+ getPrototypeChain_1.getPrototypeChain.isMatched(set, /Set/));
315
+ }
316
+ SetLike.match = match;
317
+ })(SetLike = exports.SetLike || (exports.SetLike = {}));
318
+ var MapLike;
319
+ (function (MapLike) {
320
+ function match(map) {
321
+ return ((0, typeGuard_1.typeGuard)(map, true) &&
322
+ typeof map.keys === "function" &&
323
+ typeof map.get === "function" &&
324
+ getPrototypeChain_1.getPrototypeChain.isMatched(map, /Map/));
325
+ }
326
+ MapLike.match = match;
327
+ })(MapLike = exports.MapLike || (exports.MapLike = {}));
328
+ var ArrayLike;
329
+ (function (ArrayLike) {
330
+ function match(arr) {
331
+ return ((0, typeGuard_1.typeGuard)(arr, true) &&
332
+ typeof arr.length === "number" &&
333
+ arr.length !== 0 ?
334
+ ("".concat(arr.length - 1) in arr) :
335
+ getPrototypeChain_1.getPrototypeChain.isMatched(arr, /Array/));
336
+ }
337
+ ArrayLike.match = match;
338
+ })(ArrayLike = exports.ArrayLike || (exports.ArrayLike = {}));
339
+ var DateLike;
340
+ (function (DateLike) {
341
+ function match(date) {
342
+ return ((0, typeGuard_1.typeGuard)(date, true) &&
343
+ typeof date.getTime === "function" &&
344
+ getPrototypeChain_1.getPrototypeChain.isMatched(date, /Date/));
345
+ }
346
+ DateLike.match = match;
347
+ })(DateLike = exports.DateLike || (exports.DateLike = {}));
348
+ //# sourceMappingURL=types.js.map
349
+
350
+ /***/ }),
351
+
352
+ /***/ 32243:
353
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
354
+
355
+
356
+ var __read = (this && this.__read) || function (o, n) {
357
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
358
+ if (!m) return o;
359
+ var i = m.call(o), r, ar = [], e;
360
+ try {
361
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
362
+ }
363
+ catch (error) { e = { error: error }; }
364
+ finally {
365
+ try {
366
+ if (r && !r.done && (m = i["return"])) m.call(i);
367
+ }
368
+ finally { if (e) throw e.error; }
369
+ }
370
+ return ar;
371
+ };
372
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
373
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
374
+ if (ar || !(i in from)) {
375
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
376
+ ar[i] = from[i];
377
+ }
378
+ }
379
+ return to.concat(ar || Array.prototype.slice.call(from));
380
+ };
381
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
382
+ exports.allEqualsFactory = exports.allEquals = exports.arrAllEquals = void 0;
383
+ var allEqualsTo_1 = __webpack_require__(49685);
384
+ var reduceify_1 = __webpack_require__(37560);
385
+ function arrAllEquals(arr, areEquals) {
386
+ if (areEquals === void 0) { areEquals = function (e1, e2) { return e1 === e2; }; }
387
+ if (arr.length === 0) {
388
+ return true;
389
+ }
390
+ return arr.reduce.apply(arr, __spreadArray([], __read((0, allEqualsTo_1.allEqualsTo)(arr[0], areEquals)), false));
391
+ }
392
+ exports.arrAllEquals = arrAllEquals;
393
+ ;
394
+ function allEquals(areEquals) {
395
+ return (0, reduceify_1.toReduceArguments)(arrAllEquals, areEquals);
396
+ }
397
+ exports.allEquals = allEquals;
398
+ function allEqualsFactory(_a) {
399
+ var areEquals = _a.areEquals;
400
+ return { "allEquals": function () { return allEquals(areEquals); } };
401
+ }
402
+ exports.allEqualsFactory = allEqualsFactory;
403
+ //# sourceMappingURL=allEquals.js.map
404
+
405
+ /***/ }),
406
+
407
+ /***/ 49685:
408
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
409
+
410
+
411
+ var __read = (this && this.__read) || function (o, n) {
412
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
413
+ if (!m) return o;
414
+ var i = m.call(o), r, ar = [], e;
415
+ try {
416
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
417
+ }
418
+ catch (error) { e = { error: error }; }
419
+ finally {
420
+ try {
421
+ if (r && !r.done && (m = i["return"])) m.call(i);
422
+ }
423
+ finally { if (e) throw e.error; }
424
+ }
425
+ return ar;
426
+ };
427
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
428
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
429
+ if (ar || !(i in from)) {
430
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
431
+ ar[i] = from[i];
432
+ }
433
+ }
434
+ return to.concat(ar || Array.prototype.slice.call(from));
435
+ };
436
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
437
+ exports.allEqualsToFactory = exports.allEqualsTo = exports.arrAllEqualsTo = void 0;
438
+ var reduceify_1 = __webpack_require__(37560);
439
+ var every_1 = __webpack_require__(9594);
440
+ function arrAllEqualsTo(arr, to, areEquals) {
441
+ if (areEquals === void 0) { areEquals = function (e, to) { return e === to; }; }
442
+ return arr.reduce.apply(arr, __spreadArray([], __read((0, every_1.every)(function (e) { return areEquals(e, to); })), false));
443
+ }
444
+ exports.arrAllEqualsTo = arrAllEqualsTo;
445
+ ;
446
+ function allEqualsTo(to, areEquals) {
447
+ return (0, reduceify_1.toReduceArguments)(arrAllEqualsTo, to, areEquals);
448
+ }
449
+ exports.allEqualsTo = allEqualsTo;
450
+ function allEqualsToFactory(_a) {
451
+ var areEquals = _a.areEquals;
452
+ return { "allEqualsTo": function (to) { return allEqualsTo(to, areEquals); } };
453
+ }
454
+ exports.allEqualsToFactory = allEqualsToFactory;
455
+ //# sourceMappingURL=allEqualsTo.js.map
456
+
457
+ /***/ }),
458
+
459
+ /***/ 9594:
460
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
461
+
462
+
463
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
464
+ exports.every = exports.arrEvery = void 0;
465
+ var reduceify_1 = __webpack_require__(37560);
466
+ function arrEvery(arr, test) {
467
+ if (test === void 0) { test = function (e) { return !!e; }; }
468
+ return arr
469
+ .map(function (e) { return test(e); })
470
+ .reduce(function (prev, curr) { return curr && prev; }, true);
471
+ }
472
+ exports.arrEvery = arrEvery;
473
+ function every(test) {
474
+ return (0, reduceify_1.toReduceArguments)(arrEvery, test);
475
+ }
476
+ exports.every = every;
477
+ //# sourceMappingURL=every.js.map
478
+
479
+ /***/ }),
480
+
481
+ /***/ 37560:
482
+ /***/ (function(__unused_webpack_module, exports) {
483
+
484
+
485
+ var __read = (this && this.__read) || function (o, n) {
486
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
487
+ if (!m) return o;
488
+ var i = m.call(o), r, ar = [], e;
489
+ try {
490
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
491
+ }
492
+ catch (error) { e = { error: error }; }
493
+ finally {
494
+ try {
495
+ if (r && !r.done && (m = i["return"])) m.call(i);
496
+ }
497
+ finally { if (e) throw e.error; }
498
+ }
499
+ return ar;
500
+ };
501
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
502
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
503
+ if (ar || !(i in from)) {
504
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
505
+ ar[i] = from[i];
506
+ }
507
+ }
508
+ return to.concat(ar || Array.prototype.slice.call(from));
509
+ };
510
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
511
+ exports.toReduceArguments = void 0;
512
+ function toReduceArguments(arrOp) {
513
+ var params = [];
514
+ for (var _i = 1; _i < arguments.length; _i++) {
515
+ params[_i - 1] = arguments[_i];
516
+ }
517
+ var outWrap = [];
518
+ var reduceCallbackFunction = function () {
519
+ var _a = [];
520
+ for (var _i = 0; _i < arguments.length; _i++) {
521
+ _a[_i] = arguments[_i];
522
+ }
523
+ var _b = __read(_a, 4), array = _b[3];
524
+ var out;
525
+ if (outWrap.length === 1) {
526
+ out = outWrap[0];
527
+ }
528
+ else {
529
+ out = arrOp.apply(void 0, __spreadArray([array], __read(params), false));
530
+ outWrap = [out];
531
+ }
532
+ return out;
533
+ };
534
+ return [
535
+ reduceCallbackFunction,
536
+ arrOp.apply(void 0, __spreadArray([[]], __read(params), false))
537
+ ];
538
+ }
539
+ exports.toReduceArguments = toReduceArguments;
540
+ //# sourceMappingURL=reduceify.js.map
541
+
542
+ /***/ }),
543
+
544
+ /***/ 65134:
545
+ /***/ ((__unused_webpack_module, exports) => {
546
+
547
+
548
+ exports.__esModule = true;
549
+ exports.Polyfill = exports.LightMapImpl = void 0;
550
+ var LightMapImpl = /** @class */ (function () {
551
+ function LightMapImpl() {
552
+ this.record = [];
553
+ }
554
+ LightMapImpl.prototype.has = function (key) {
555
+ return this.record
556
+ .map(function (_a) {
557
+ var _key = _a[0];
558
+ return _key;
559
+ })
560
+ .indexOf(key) >= 0;
561
+ };
562
+ LightMapImpl.prototype.get = function (key) {
563
+ var entry = this.record
564
+ .filter(function (_a) {
565
+ var _key = _a[0];
566
+ return _key === key;
567
+ })[0];
568
+ if (entry === undefined) {
569
+ return undefined;
570
+ }
571
+ return entry[1];
572
+ };
573
+ LightMapImpl.prototype.set = function (key, value) {
574
+ var entry = this.record
575
+ .filter(function (_a) {
576
+ var _key = _a[0];
577
+ return _key === key;
578
+ })[0];
579
+ if (entry === undefined) {
580
+ this.record.push([key, value]);
581
+ }
582
+ else {
583
+ entry[1] = value;
584
+ }
585
+ return this;
586
+ };
587
+ LightMapImpl.prototype["delete"] = function (key) {
588
+ var index = this.record.map(function (_a) {
589
+ var key = _a[0];
590
+ return key;
591
+ }).indexOf(key);
592
+ if (index < 0) {
593
+ return false;
594
+ }
595
+ this.record.splice(index, 1);
596
+ return true;
597
+ };
598
+ LightMapImpl.prototype.keys = function () {
599
+ return this.record.map(function (_a) {
600
+ var key = _a[0];
601
+ return key;
602
+ });
603
+ };
604
+ return LightMapImpl;
605
+ }());
606
+ exports.LightMapImpl = LightMapImpl;
607
+ exports.Polyfill = typeof Map !== "undefined" ? Map : LightMapImpl;
608
+ //# sourceMappingURL=Map.js.map
609
+
610
+ /***/ }),
611
+
612
+ /***/ 12903:
613
+ /***/ ((__unused_webpack_module, exports) => {
614
+
615
+
616
+ exports.__esModule = true;
617
+ if (!Object.is) {
618
+ Object.is = function (x, y) {
619
+ // SameValue algorithm
620
+ if (x === y) { // Steps 1-5, 7-10
621
+ // Steps 6.b-6.e: +0 != -0
622
+ return x !== 0 || 1 / x === 1 / y;
623
+ }
624
+ else {
625
+ // Step 6.a: NaN == NaN
626
+ return x !== x && y !== y;
627
+ }
628
+ };
629
+ }
630
+ //# sourceMappingURL=Object.is.js.map
631
+
632
+ /***/ }),
633
+
634
+ /***/ 44105:
635
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
636
+
637
+
638
+ exports.__esModule = true;
639
+ exports.Polyfill = exports.LightSetImpl = void 0;
640
+ var Map_1 = __webpack_require__(65134);
641
+ var LightSetImpl = /** @class */ (function () {
642
+ function LightSetImpl(values) {
643
+ this.map = new Map_1.Polyfill();
644
+ if (values === undefined) {
645
+ return;
646
+ }
647
+ for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {
648
+ var value = values_1[_i];
649
+ this.add(value);
650
+ }
651
+ }
652
+ LightSetImpl.prototype.has = function (value) {
653
+ return this.map.has(value);
654
+ };
655
+ LightSetImpl.prototype.add = function (value) {
656
+ this.map.set(value, true);
657
+ return this;
658
+ };
659
+ LightSetImpl.prototype.values = function () {
660
+ return this.map.keys();
661
+ };
662
+ LightSetImpl.prototype["delete"] = function (value) {
663
+ return this.map["delete"](value);
664
+ };
665
+ return LightSetImpl;
666
+ }());
667
+ exports.LightSetImpl = LightSetImpl;
668
+ exports.Polyfill = typeof Set !== "undefined" ? Set : LightSetImpl;
669
+ //# sourceMappingURL=Set.js.map
670
+
671
+ /***/ })
672
+
673
+ };
674
+ ;