@uva-glass/component-library 2.6.1 → 2.6.3
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/Lexical.prod-sR6tW7N6.js +4236 -0
- package/dist/Lexical.prod-sR6tW7N6.js.map +1 -0
- package/dist/LexicalClipboard.prod-BbRoaXo6.js +258 -0
- package/dist/LexicalClipboard.prod-BbRoaXo6.js.map +1 -0
- package/dist/{LexicalComposerContext.prod-Dyvim1tK.js → LexicalComposerContext.prod-DxxjdrXB.js} +2 -2
- package/dist/{LexicalComposerContext.prod-Dyvim1tK.js.map → LexicalComposerContext.prod-DxxjdrXB.js.map} +1 -1
- package/dist/LexicalLink.prod-iDKxtfCF.js +263 -0
- package/dist/LexicalLink.prod-iDKxtfCF.js.map +1 -0
- package/dist/LexicalList.prod-ywkx7SnO.js +576 -0
- package/dist/LexicalList.prod-ywkx7SnO.js.map +1 -0
- package/dist/LexicalSelection.prod-mYXylG1z.js +86 -0
- package/dist/LexicalSelection.prod-mYXylG1z.js.map +1 -0
- package/dist/LexicalTable.prod-XN7avk7R.js +1447 -0
- package/dist/LexicalTable.prod-XN7avk7R.js.map +1 -0
- package/dist/LexicalUtils.prod-DnFLi0Ww.js +122 -0
- package/dist/LexicalUtils.prod-DnFLi0Ww.js.map +1 -0
- package/dist/{SortableProvider-BUsvniX7.js → SortableProvider-RaH_ZXB3.js} +20 -20
- package/dist/{SortableProvider-BUsvniX7.js.map → SortableProvider-RaH_ZXB3.js.map} +1 -1
- package/dist/{TablePlugin-E6UFlCgy.js → TablePlugin-5Cs2F_co.js} +75 -74
- package/dist/{TablePlugin-E6UFlCgy.js.map → TablePlugin-5Cs2F_co.js.map} +1 -1
- package/dist/components/Buttons/Button.stories.js +1 -1
- package/dist/components/Buttons/LinkButton.stories.js +1 -1
- package/dist/components/Buttons/MenuButton.stories.js +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.js +6 -5
- package/dist/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.stories.js +1 -1
- package/dist/components/CheckboxButton/CheckboxButton.stories.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.d.ts +2 -2
- package/dist/components/CheckboxTree/CheckboxTree.js +110 -74
- package/dist/components/CheckboxTree/CheckboxTree.js.map +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.stories.d.ts +2 -1
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +121 -31
- package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
- package/dist/components/Chip/Chip.stories.js +1 -1
- package/dist/components/Drawer/Drawer.stories.js +1 -1
- package/dist/components/FormInput/FormInput.js +14 -13
- package/dist/components/FormInput/FormInput.js.map +1 -1
- package/dist/components/FormInput/FormInput.stories.js +1 -1
- package/dist/components/IconButton/IconButton.stories.js +1 -1
- package/dist/components/InputField/InputField.js +17 -17
- package/dist/components/InputField/InputField.stories.js +17 -16
- package/dist/components/InputField/InputField.stories.js.map +1 -1
- package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +5 -4
- package/dist/components/MultiSelect/components/MultiSelectHeader.js.map +1 -1
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +4 -4
- package/dist/components/OverlayStepBar/OverlayStepBar.js +13 -12
- package/dist/components/OverlayStepBar/OverlayStepBar.js.map +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +15 -14
- package/dist/components/PeriodSelector/PeriodSelector.js.map +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +11 -10
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js.map +1 -1
- package/dist/components/RadioButton/RadioButton.js +3 -3
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +6 -5
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js.map +1 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +4 -4
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +15 -14
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +6 -5
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js.map +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +43 -42
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +42 -42
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +15 -15
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +5 -4
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js.map +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +8 -7
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +29 -29
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +18 -18
- package/dist/components/RteEditor/Plugins/index.js +1 -1
- package/dist/components/RteEditor/Providers/LanguageProvider.js +7 -7
- package/dist/components/RteEditor/RteEditor.js +608 -663
- package/dist/components/RteEditor/RteEditor.js.map +1 -1
- package/dist/components/RteEditor/helpers.js +11 -11
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/SelectListbox/SelectProvider.js +10 -10
- package/dist/components/Sortable/Sortable.js +1 -1
- package/dist/components/Sortable/Sortable.stories.js +7 -7
- package/dist/components/Sortable/SortableProvider.js +1 -1
- package/dist/components/Sortable/components/SortableContainer.js +1 -1
- package/dist/components/Sortable/components/SortableItem.js +15 -15
- package/dist/components/Sortable/sortableReducer.js +21 -21
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +5 -5
- package/dist/components/Tooltip/Tooltip.js +22 -22
- package/dist/components/index.js +1 -1
- package/dist/{helpers-BVGma1u6.js → helpers-BpqX-Lj3.js} +32 -32
- package/dist/helpers-BpqX-Lj3.js.map +1 -0
- package/dist/{index-0wq-B7do.js → index-B3c5pcHk.js} +22 -22
- package/dist/{index-0wq-B7do.js.map → index-B3c5pcHk.js.map} +1 -1
- package/dist/{index-B9BWML6P.js → index-BpZ8v2ye.js} +7088 -7092
- package/dist/{index-B9BWML6P.js.map → index-BpZ8v2ye.js.map} +1 -1
- package/dist/index-CHX1d9_A.js +21922 -0
- package/dist/{index-DWzkl4aY.js.map → index-CHX1d9_A.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{react-18-BIqxBxbW.js → react-18-CT6mjea2.js} +2 -2
- package/dist/{react-18-BIqxBxbW.js.map → react-18-CT6mjea2.js.map} +1 -1
- package/dist/storybook__react.d.js +510 -510
- package/dist/storybook__react.d.js.map +1 -1
- package/package.json +14 -14
- package/dist/Lexical.prod-Bzma_w4s.js +0 -4216
- package/dist/Lexical.prod-Bzma_w4s.js.map +0 -1
- package/dist/LexicalClipboard.prod-Dg23ixPD.js +0 -258
- package/dist/LexicalClipboard.prod-Dg23ixPD.js.map +0 -1
- package/dist/LexicalLink.prod-C1RDJLfo.js +0 -208
- package/dist/LexicalLink.prod-C1RDJLfo.js.map +0 -1
- package/dist/LexicalList.prod-BGzfDPU0.js +0 -568
- package/dist/LexicalList.prod-BGzfDPU0.js.map +0 -1
- package/dist/LexicalSelection.prod-CNWFGVlh.js +0 -86
- package/dist/LexicalSelection.prod-CNWFGVlh.js.map +0 -1
- package/dist/LexicalTable.prod-D-4NN9o5.js +0 -1366
- package/dist/LexicalTable.prod-D-4NN9o5.js.map +0 -1
- package/dist/LexicalUtils.prod-Cg2siy-c.js +0 -94
- package/dist/LexicalUtils.prod-Cg2siy-c.js.map +0 -1
- package/dist/helpers-BVGma1u6.js.map +0 -1
- package/dist/index-DWzkl4aY.js +0 -21915
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var It = (
|
|
1
|
+
var It = (d, s) => () => (s || d((s = { exports: {} }).exports, s), s.exports);
|
|
2
2
|
import * as Re from "react";
|
|
3
3
|
import _e, { StrictMode as Tt, Fragment as Ct, Component as Ot } from "react";
|
|
4
4
|
import { s as qr } from "./index-2mUSc_Ki.js";
|
|
5
|
-
import { r as Gr } from "./index-
|
|
6
|
-
var
|
|
7
|
-
var St = Object.create, cr = Object.defineProperty, _t = Object.getOwnPropertyDescriptor, Wr = Object.getOwnPropertyNames, Lt = Object.getPrototypeOf, Dt = Object.prototype.hasOwnProperty, x = (
|
|
8
|
-
return
|
|
9
|
-
}, $t = (
|
|
10
|
-
for (var
|
|
11
|
-
}, Nt = (
|
|
12
|
-
if (
|
|
13
|
-
return
|
|
14
|
-
}, bt = (
|
|
5
|
+
import { r as Gr } from "./index-BpZ8v2ye.js";
|
|
6
|
+
var vn = It((Tn, be) => {
|
|
7
|
+
var St = Object.create, cr = Object.defineProperty, _t = Object.getOwnPropertyDescriptor, Wr = Object.getOwnPropertyNames, Lt = Object.getPrototypeOf, Dt = Object.prototype.hasOwnProperty, x = (d, s) => function() {
|
|
8
|
+
return s || (0, d[Wr(d)[0]])((s = { exports: {} }).exports, s), s.exports;
|
|
9
|
+
}, $t = (d, s) => {
|
|
10
|
+
for (var i in s) cr(d, i, { get: s[i], enumerable: !0 });
|
|
11
|
+
}, Nt = (d, s, i, l) => {
|
|
12
|
+
if (s && typeof s == "object" || typeof s == "function") for (let o of Wr(s)) !Dt.call(d, o) && o !== i && cr(d, o, { get: () => s[o], enumerable: !(l = _t(s, o)) || l.enumerable });
|
|
13
|
+
return d;
|
|
14
|
+
}, bt = (d, s, i) => (i = d != null ? St(Lt(d)) : {}, Nt(!d || !d.__esModule ? cr(i, "default", { value: d, enumerable: !0 }) : i, d)), Ye = { exports: {} }, Q = {};
|
|
15
15
|
/**
|
|
16
16
|
* @license React
|
|
17
17
|
* react-dom-test-utils.production.min.js
|
|
@@ -25,67 +25,67 @@ var En = It((Tn, be) => {
|
|
|
25
25
|
function At() {
|
|
26
26
|
if (Pr) return Q;
|
|
27
27
|
Pr = 1;
|
|
28
|
-
var
|
|
29
|
-
function
|
|
30
|
-
var y = r,
|
|
28
|
+
var d = _e, s = Gr();
|
|
29
|
+
function i(r) {
|
|
30
|
+
var y = r, v = r;
|
|
31
31
|
if (r.alternate) for (; y.return; ) y = y.return;
|
|
32
32
|
else {
|
|
33
33
|
r = y;
|
|
34
34
|
do
|
|
35
|
-
y = r, y.flags & 4098 && (
|
|
35
|
+
y = r, y.flags & 4098 && (v = y.return), r = y.return;
|
|
36
36
|
while (r);
|
|
37
37
|
}
|
|
38
|
-
return y.tag === 3 ?
|
|
38
|
+
return y.tag === 3 ? v : null;
|
|
39
39
|
}
|
|
40
40
|
function l(r) {
|
|
41
|
-
if (
|
|
41
|
+
if (i(r) !== r) throw Error("Unable to find node on an unmounted component.");
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function o(r) {
|
|
44
44
|
var y = r.alternate;
|
|
45
45
|
if (!y) {
|
|
46
|
-
if (y =
|
|
46
|
+
if (y = i(r), y === null) throw Error("Unable to find node on an unmounted component.");
|
|
47
47
|
return y !== r ? null : r;
|
|
48
48
|
}
|
|
49
|
-
for (var
|
|
50
|
-
var V =
|
|
49
|
+
for (var v = r, b = y; ; ) {
|
|
50
|
+
var V = v.return;
|
|
51
51
|
if (V === null) break;
|
|
52
52
|
var Y = V.alternate;
|
|
53
53
|
if (Y === null) {
|
|
54
54
|
if (b = V.return, b !== null) {
|
|
55
|
-
|
|
55
|
+
v = b;
|
|
56
56
|
continue;
|
|
57
57
|
}
|
|
58
58
|
break;
|
|
59
59
|
}
|
|
60
60
|
if (V.child === Y.child) {
|
|
61
61
|
for (Y = V.child; Y; ) {
|
|
62
|
-
if (Y ===
|
|
62
|
+
if (Y === v) return l(V), r;
|
|
63
63
|
if (Y === b) return l(V), y;
|
|
64
64
|
Y = Y.sibling;
|
|
65
65
|
}
|
|
66
66
|
throw Error("Unable to find node on an unmounted component.");
|
|
67
67
|
}
|
|
68
|
-
if (
|
|
68
|
+
if (v.return !== b.return) v = V, b = Y;
|
|
69
69
|
else {
|
|
70
70
|
for (var U = !1, K = V.child; K; ) {
|
|
71
|
-
if (K ===
|
|
72
|
-
U = !0,
|
|
71
|
+
if (K === v) {
|
|
72
|
+
U = !0, v = V, b = Y;
|
|
73
73
|
break;
|
|
74
74
|
}
|
|
75
75
|
if (K === b) {
|
|
76
|
-
U = !0, b = V,
|
|
76
|
+
U = !0, b = V, v = Y;
|
|
77
77
|
break;
|
|
78
78
|
}
|
|
79
79
|
K = K.sibling;
|
|
80
80
|
}
|
|
81
81
|
if (!U) {
|
|
82
82
|
for (K = Y.child; K; ) {
|
|
83
|
-
if (K ===
|
|
84
|
-
U = !0,
|
|
83
|
+
if (K === v) {
|
|
84
|
+
U = !0, v = Y, b = V;
|
|
85
85
|
break;
|
|
86
86
|
}
|
|
87
87
|
if (K === b) {
|
|
88
|
-
U = !0, b = Y,
|
|
88
|
+
U = !0, b = Y, v = V;
|
|
89
89
|
break;
|
|
90
90
|
}
|
|
91
91
|
K = K.sibling;
|
|
@@ -93,10 +93,10 @@ var En = It((Tn, be) => {
|
|
|
93
93
|
if (!U) throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
if (
|
|
96
|
+
if (v.alternate !== b) throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.");
|
|
97
97
|
}
|
|
98
|
-
if (
|
|
99
|
-
return
|
|
98
|
+
if (v.tag !== 3) throw Error("Unable to find node on an unmounted component.");
|
|
99
|
+
return v.stateNode.current === v ? r : y;
|
|
100
100
|
}
|
|
101
101
|
var a = Object.assign;
|
|
102
102
|
function c(r) {
|
|
@@ -110,18 +110,18 @@ var En = It((Tn, be) => {
|
|
|
110
110
|
return !1;
|
|
111
111
|
}
|
|
112
112
|
function n(r) {
|
|
113
|
-
function y(
|
|
114
|
-
this._reactName =
|
|
115
|
-
for (var K in r) r.hasOwnProperty(K) && (
|
|
113
|
+
function y(v, b, V, Y, U) {
|
|
114
|
+
this._reactName = v, this._targetInst = V, this.type = b, this.nativeEvent = Y, this.target = U, this.currentTarget = null;
|
|
115
|
+
for (var K in r) r.hasOwnProperty(K) && (v = r[K], this[K] = v ? v(Y) : Y[K]);
|
|
116
116
|
return this.isDefaultPrevented = (Y.defaultPrevented != null ? Y.defaultPrevented : Y.returnValue === !1) ? R : t, this.isPropagationStopped = t, this;
|
|
117
117
|
}
|
|
118
118
|
return a(y.prototype, { preventDefault: function() {
|
|
119
119
|
this.defaultPrevented = !0;
|
|
120
|
-
var
|
|
121
|
-
|
|
120
|
+
var v = this.nativeEvent;
|
|
121
|
+
v && (v.preventDefault ? v.preventDefault() : typeof v.returnValue != "unknown" && (v.returnValue = !1), this.isDefaultPrevented = R);
|
|
122
122
|
}, stopPropagation: function() {
|
|
123
|
-
var
|
|
124
|
-
|
|
123
|
+
var v = this.nativeEvent;
|
|
124
|
+
v && (v.stopPropagation ? v.stopPropagation() : typeof v.cancelBubble != "unknown" && (v.cancelBubble = !0), this.isPropagationStopped = R);
|
|
125
125
|
}, persist: function() {
|
|
126
126
|
}, isPersistent: R }), y;
|
|
127
127
|
}
|
|
@@ -129,10 +129,10 @@ var En = It((Tn, be) => {
|
|
|
129
129
|
return r.timeStamp || Date.now();
|
|
130
130
|
}, defaultPrevented: 0, isTrusted: 0 }, u = n(O), m = a({}, O, { view: 0, detail: 0 });
|
|
131
131
|
n(m);
|
|
132
|
-
var
|
|
132
|
+
var E, p, I, A = a({}, m, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: $, button: 0, buttons: 0, relatedTarget: function(r) {
|
|
133
133
|
return r.relatedTarget === void 0 ? r.fromElement === r.srcElement ? r.toElement : r.fromElement : r.relatedTarget;
|
|
134
134
|
}, movementX: function(r) {
|
|
135
|
-
return "movementX" in r ? r.movementX : (r !== I && (I && r.type === "mousemove" ? (
|
|
135
|
+
return "movementX" in r ? r.movementX : (r !== I && (I && r.type === "mousemove" ? (E = r.screenX - I.screenX, p = r.screenY - I.screenY) : p = E = 0, I = r), E);
|
|
136
136
|
}, movementY: function(r) {
|
|
137
137
|
return "movementY" in r ? r.movementY : p;
|
|
138
138
|
} });
|
|
@@ -220,10 +220,10 @@ var En = It((Tn, be) => {
|
|
|
220
220
|
return "deltaY" in r ? r.deltaY : "wheelDeltaY" in r ? -r.wheelDeltaY : "wheelDelta" in r ? -r.wheelDelta : 0;
|
|
221
221
|
}, deltaZ: 0, deltaMode: 0 });
|
|
222
222
|
n(Te);
|
|
223
|
-
function T(r, y,
|
|
223
|
+
function T(r, y, v, b, V, Y, U, K, ae) {
|
|
224
224
|
var pe = Array.prototype.slice.call(arguments, 3);
|
|
225
225
|
try {
|
|
226
|
-
y.apply(
|
|
226
|
+
y.apply(v, pe);
|
|
227
227
|
} catch (ar) {
|
|
228
228
|
this.onError(ar);
|
|
229
229
|
}
|
|
@@ -231,10 +231,10 @@ var En = It((Tn, be) => {
|
|
|
231
231
|
var w = !1, S = null, C = !1, L = null, _ = { onError: function(r) {
|
|
232
232
|
w = !0, S = r;
|
|
233
233
|
} };
|
|
234
|
-
function N(r, y,
|
|
234
|
+
function N(r, y, v, b, V, Y, U, K, ae) {
|
|
235
235
|
w = !1, S = null, T.apply(_, arguments);
|
|
236
236
|
}
|
|
237
|
-
function F(r, y,
|
|
237
|
+
function F(r, y, v, b, V, Y, U, K, ae) {
|
|
238
238
|
if (N.apply(this, arguments), w) {
|
|
239
239
|
if (w) {
|
|
240
240
|
var pe = S;
|
|
@@ -243,32 +243,32 @@ var En = It((Tn, be) => {
|
|
|
243
243
|
C || (C = !0, L = pe);
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
var k = Array.isArray, M =
|
|
246
|
+
var k = Array.isArray, M = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events, W = M[0], me = M[1], ve = M[2], er = M[3], rr = M[4], Pe = d.unstable_act;
|
|
247
247
|
function xe() {
|
|
248
248
|
}
|
|
249
249
|
function ke(r, y) {
|
|
250
250
|
if (!r) return [];
|
|
251
|
-
if (r =
|
|
252
|
-
for (var
|
|
253
|
-
if (
|
|
254
|
-
var V =
|
|
251
|
+
if (r = o(r), !r) return [];
|
|
252
|
+
for (var v = r, b = []; ; ) {
|
|
253
|
+
if (v.tag === 5 || v.tag === 6 || v.tag === 1 || v.tag === 0) {
|
|
254
|
+
var V = v.stateNode;
|
|
255
255
|
y(V) && b.push(V);
|
|
256
256
|
}
|
|
257
|
-
if (
|
|
257
|
+
if (v.child) v.child.return = v, v = v.child;
|
|
258
258
|
else {
|
|
259
|
-
if (
|
|
260
|
-
for (; !
|
|
261
|
-
if (!
|
|
262
|
-
|
|
259
|
+
if (v === r) return b;
|
|
260
|
+
for (; !v.sibling; ) {
|
|
261
|
+
if (!v.return || v.return === r) return b;
|
|
262
|
+
v = v.return;
|
|
263
263
|
}
|
|
264
|
-
|
|
264
|
+
v.sibling.return = v.return, v = v.sibling;
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
function ce(r, y) {
|
|
269
269
|
if (r && !r._reactInternals) {
|
|
270
|
-
var
|
|
271
|
-
throw r = k(r) ? "an array" : r && r.nodeType === 1 && r.tagName ? "a DOM node" :
|
|
270
|
+
var v = String(r);
|
|
271
|
+
throw r = k(r) ? "an array" : r && r.nodeType === 1 && r.tagName ? "a DOM node" : v === "[object Object]" ? "object with keys {" + Object.keys(r).join(", ") + "}" : v, Error(y + "(...): the first argument must be a React class instance. Instead received: " + (r + "."));
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
function Le(r) {
|
|
@@ -284,10 +284,10 @@ var En = It((Tn, be) => {
|
|
|
284
284
|
return ce(r, "findAllInRenderedTree"), r ? ke(r._reactInternals, y) : [];
|
|
285
285
|
}
|
|
286
286
|
function De(r, y) {
|
|
287
|
-
return ce(r, "scryRenderedDOMComponentsWithClass"), ye(r, function(
|
|
288
|
-
if (Le(
|
|
289
|
-
var b =
|
|
290
|
-
typeof b != "string" && (b =
|
|
287
|
+
return ce(r, "scryRenderedDOMComponentsWithClass"), ye(r, function(v) {
|
|
288
|
+
if (Le(v)) {
|
|
289
|
+
var b = v.className;
|
|
290
|
+
typeof b != "string" && (b = v.getAttribute("class") || "");
|
|
291
291
|
var V = b.split(/\s+/);
|
|
292
292
|
if (!k(y)) {
|
|
293
293
|
if (y === void 0) throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");
|
|
@@ -301,20 +301,20 @@ var En = It((Tn, be) => {
|
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
303
|
function je(r, y) {
|
|
304
|
-
return ce(r, "scryRenderedDOMComponentsWithTag"), ye(r, function(
|
|
305
|
-
return Le(
|
|
304
|
+
return ce(r, "scryRenderedDOMComponentsWithTag"), ye(r, function(v) {
|
|
305
|
+
return Le(v) && v.tagName.toUpperCase() === y.toUpperCase();
|
|
306
306
|
});
|
|
307
307
|
}
|
|
308
308
|
function Me(r, y) {
|
|
309
|
-
return ce(r, "scryRenderedComponentsWithType"), ye(r, function(
|
|
310
|
-
return Ce(
|
|
309
|
+
return ce(r, "scryRenderedComponentsWithType"), ye(r, function(v) {
|
|
310
|
+
return Ce(v, y);
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
|
-
function Ue(r, y,
|
|
313
|
+
function Ue(r, y, v) {
|
|
314
314
|
var b = r.type || "unknown-event";
|
|
315
|
-
r.currentTarget = me(
|
|
315
|
+
r.currentTarget = me(v), F(b, y, void 0, r), r.currentTarget = null;
|
|
316
316
|
}
|
|
317
|
-
function Fe(r, y,
|
|
317
|
+
function Fe(r, y, v) {
|
|
318
318
|
for (var b = []; r; ) {
|
|
319
319
|
b.push(r);
|
|
320
320
|
do
|
|
@@ -322,15 +322,15 @@ var En = It((Tn, be) => {
|
|
|
322
322
|
while (r && r.tag !== 5);
|
|
323
323
|
r = r || null;
|
|
324
324
|
}
|
|
325
|
-
for (r = b.length; 0 < r--; ) y(b[r], "captured",
|
|
326
|
-
for (r = 0; r < b.length; r++) y(b[r], "bubbled",
|
|
325
|
+
for (r = b.length; 0 < r--; ) y(b[r], "captured", v);
|
|
326
|
+
for (r = 0; r < b.length; r++) y(b[r], "bubbled", v);
|
|
327
327
|
}
|
|
328
328
|
function Xe(r, y) {
|
|
329
|
-
var
|
|
330
|
-
if (!
|
|
331
|
-
var b =
|
|
329
|
+
var v = r.stateNode;
|
|
330
|
+
if (!v) return null;
|
|
331
|
+
var b = ve(v);
|
|
332
332
|
if (!b) return null;
|
|
333
|
-
|
|
333
|
+
v = b[y];
|
|
334
334
|
e: switch (y) {
|
|
335
335
|
case "onClick":
|
|
336
336
|
case "onClickCapture":
|
|
@@ -349,25 +349,25 @@ var En = It((Tn, be) => {
|
|
|
349
349
|
r = !1;
|
|
350
350
|
}
|
|
351
351
|
if (r) return null;
|
|
352
|
-
if (
|
|
353
|
-
return
|
|
352
|
+
if (v && typeof v != "function") throw Error("Expected `" + y + "` listener to be a function, instead got a value of `" + typeof v + "` type.");
|
|
353
|
+
return v;
|
|
354
354
|
}
|
|
355
|
-
function tr(r, y,
|
|
356
|
-
r &&
|
|
355
|
+
function tr(r, y, v) {
|
|
356
|
+
r && v && v._reactName && (y = Xe(r, v._reactName)) && (v._dispatchListeners == null && (v._dispatchListeners = []), v._dispatchInstances == null && (v._dispatchInstances = []), v._dispatchListeners.push(y), v._dispatchInstances.push(r));
|
|
357
357
|
}
|
|
358
|
-
function Ne(r, y,
|
|
359
|
-
var b =
|
|
360
|
-
y === "captured" && (b += "Capture"), (y = Xe(r, b)) && (
|
|
358
|
+
function Ne(r, y, v) {
|
|
359
|
+
var b = v._reactName;
|
|
360
|
+
y === "captured" && (b += "Capture"), (y = Xe(r, b)) && (v._dispatchListeners == null && (v._dispatchListeners = []), v._dispatchInstances == null && (v._dispatchInstances = []), v._dispatchListeners.push(y), v._dispatchInstances.push(r));
|
|
361
361
|
}
|
|
362
362
|
var qe = {}, Oe = /* @__PURE__ */ new Set(["mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave"]);
|
|
363
363
|
function nr(r) {
|
|
364
|
-
return function(y,
|
|
365
|
-
if (
|
|
364
|
+
return function(y, v) {
|
|
365
|
+
if (d.isValidElement(y)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");
|
|
366
366
|
if (ge(y)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");
|
|
367
367
|
var b = "on" + r[0].toUpperCase() + r.slice(1), V = new xe();
|
|
368
368
|
V.target = y, V.type = r.toLowerCase();
|
|
369
369
|
var Y = W(y), U = new u(b, V.type, Y, V, y);
|
|
370
|
-
U.persist(), a(U,
|
|
370
|
+
U.persist(), a(U, v), Oe.has(r) ? U && U._reactName && tr(U._targetInst, null, U) : U && U._reactName && Fe(U._targetInst, Ne, U), s.unstable_batchedUpdates(function() {
|
|
371
371
|
if (er(y), U) {
|
|
372
372
|
var K = U._dispatchListeners, ae = U._dispatchInstances;
|
|
373
373
|
if (k(K)) for (var pe = 0; pe < K.length && !U.isPropagationStopped(); pe++) Ue(U, K[pe], ae[pe]);
|
|
@@ -390,20 +390,20 @@ var En = It((Tn, be) => {
|
|
|
390
390
|
if (ce(r, "findRenderedDOMComponentWithTag"), r = je(r, y), r.length !== 1) throw Error("Did not find exactly one match (found: " + r.length + ") for tag:" + y);
|
|
391
391
|
return r[0];
|
|
392
392
|
}, Q.isCompositeComponent = ge, Q.isCompositeComponentWithType = Ce, Q.isDOMComponent = Le, Q.isDOMComponentElement = function(r) {
|
|
393
|
-
return !!(r &&
|
|
393
|
+
return !!(r && d.isValidElement(r) && r.tagName);
|
|
394
394
|
}, Q.isElement = function(r) {
|
|
395
|
-
return
|
|
395
|
+
return d.isValidElement(r);
|
|
396
396
|
}, Q.isElementOfType = function(r, y) {
|
|
397
|
-
return
|
|
397
|
+
return d.isValidElement(r) && r.type === y;
|
|
398
398
|
}, Q.mockComponent = function(r, y) {
|
|
399
399
|
return y = y || r.mockTagName || "div", r.prototype.render.mockImplementation(function() {
|
|
400
|
-
return
|
|
400
|
+
return d.createElement(y, null, this.props.children);
|
|
401
401
|
}), this;
|
|
402
402
|
}, Q.nativeTouchData = function(r, y) {
|
|
403
403
|
return { touches: [{ pageX: r, pageY: y }] };
|
|
404
404
|
}, Q.renderIntoDocument = function(r) {
|
|
405
405
|
var y = document.createElement("div");
|
|
406
|
-
return
|
|
406
|
+
return s.render(r, y);
|
|
407
407
|
}, Q.scryRenderedComponentsWithType = Me, Q.scryRenderedDOMComponentsWithClass = De, Q.scryRenderedDOMComponentsWithTag = je, Q.traverseTwoPhase = Fe, Q;
|
|
408
408
|
}
|
|
409
409
|
var ee = {};
|
|
@@ -419,29 +419,29 @@ var En = It((Tn, be) => {
|
|
|
419
419
|
var xr;
|
|
420
420
|
function Pt() {
|
|
421
421
|
return xr || (xr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
422
|
-
var
|
|
422
|
+
var d = _e, s = Gr(), i = d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
423
423
|
function l(e) {
|
|
424
424
|
{
|
|
425
|
-
for (var
|
|
425
|
+
for (var f = arguments.length, h = new Array(f > 1 ? f - 1 : 0), g = 1; g < f; g++)
|
|
426
426
|
h[g - 1] = arguments[g];
|
|
427
427
|
a("warn", e, h);
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
function
|
|
430
|
+
function o(e) {
|
|
431
431
|
{
|
|
432
|
-
for (var
|
|
432
|
+
for (var f = arguments.length, h = new Array(f > 1 ? f - 1 : 0), g = 1; g < f; g++)
|
|
433
433
|
h[g - 1] = arguments[g];
|
|
434
434
|
a("error", e, h);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
function a(e,
|
|
437
|
+
function a(e, f, h) {
|
|
438
438
|
{
|
|
439
|
-
var g =
|
|
440
|
-
P !== "" && (
|
|
439
|
+
var g = i.ReactDebugCurrentFrame, P = g.getStackAddendum();
|
|
440
|
+
P !== "" && (f += "%s", h = h.concat([P]));
|
|
441
441
|
var X = h.map(function(J) {
|
|
442
442
|
return String(J);
|
|
443
443
|
});
|
|
444
|
-
X.unshift("Warning: " +
|
|
444
|
+
X.unshift("Warning: " + f), Function.prototype.apply.call(console[e], console, X);
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
447
|
function c(e) {
|
|
@@ -450,59 +450,59 @@ var En = It((Tn, be) => {
|
|
|
450
450
|
var R = 0, t = 1, n = 3, O = 5, u = 6, m = (
|
|
451
451
|
/* */
|
|
452
452
|
0
|
|
453
|
-
),
|
|
453
|
+
), E = (
|
|
454
454
|
/* */
|
|
455
455
|
2
|
|
456
456
|
), p = (
|
|
457
457
|
/* */
|
|
458
458
|
4096
|
|
459
459
|
);
|
|
460
|
-
|
|
460
|
+
i.ReactCurrentOwner;
|
|
461
461
|
function I(e) {
|
|
462
|
-
var
|
|
462
|
+
var f = e, h = e;
|
|
463
463
|
if (e.alternate)
|
|
464
|
-
for (;
|
|
465
|
-
|
|
464
|
+
for (; f.return; )
|
|
465
|
+
f = f.return;
|
|
466
466
|
else {
|
|
467
|
-
var g =
|
|
467
|
+
var g = f;
|
|
468
468
|
do
|
|
469
|
-
|
|
469
|
+
f = g, (f.flags & (E | p)) !== m && (h = f.return), g = f.return;
|
|
470
470
|
while (g);
|
|
471
471
|
}
|
|
472
|
-
return
|
|
472
|
+
return f.tag === n ? h : null;
|
|
473
473
|
}
|
|
474
474
|
function A(e) {
|
|
475
475
|
if (I(e) !== e)
|
|
476
476
|
throw new Error("Unable to find node on an unmounted component.");
|
|
477
477
|
}
|
|
478
478
|
function j(e) {
|
|
479
|
-
var
|
|
480
|
-
if (!
|
|
479
|
+
var f = e.alternate;
|
|
480
|
+
if (!f) {
|
|
481
481
|
var h = I(e);
|
|
482
482
|
if (h === null)
|
|
483
483
|
throw new Error("Unable to find node on an unmounted component.");
|
|
484
484
|
return h !== e ? null : e;
|
|
485
485
|
}
|
|
486
|
-
for (var g = e, P =
|
|
486
|
+
for (var g = e, P = f; ; ) {
|
|
487
487
|
var X = g.return;
|
|
488
488
|
if (X === null)
|
|
489
489
|
break;
|
|
490
490
|
var J = X.alternate;
|
|
491
491
|
if (J === null) {
|
|
492
|
-
var
|
|
493
|
-
if (
|
|
494
|
-
g = P =
|
|
492
|
+
var ie = X.return;
|
|
493
|
+
if (ie !== null) {
|
|
494
|
+
g = P = ie;
|
|
495
495
|
continue;
|
|
496
496
|
}
|
|
497
497
|
break;
|
|
498
498
|
}
|
|
499
499
|
if (X.child === J.child) {
|
|
500
|
-
for (var
|
|
501
|
-
if (
|
|
500
|
+
for (var oe = X.child; oe; ) {
|
|
501
|
+
if (oe === g)
|
|
502
502
|
return A(X), e;
|
|
503
|
-
if (
|
|
504
|
-
return A(X),
|
|
505
|
-
|
|
503
|
+
if (oe === P)
|
|
504
|
+
return A(X), f;
|
|
505
|
+
oe = oe.sibling;
|
|
506
506
|
}
|
|
507
507
|
throw new Error("Unable to find node on an unmounted component.");
|
|
508
508
|
}
|
|
@@ -541,12 +541,12 @@ var En = It((Tn, be) => {
|
|
|
541
541
|
}
|
|
542
542
|
if (g.tag !== n)
|
|
543
543
|
throw new Error("Unable to find node on an unmounted component.");
|
|
544
|
-
return g.stateNode.current === g ? e :
|
|
544
|
+
return g.stateNode.current === g ? e : f;
|
|
545
545
|
}
|
|
546
546
|
var D = Object.assign;
|
|
547
547
|
function q(e) {
|
|
548
|
-
var
|
|
549
|
-
return "charCode" in e ? (
|
|
548
|
+
var f, h = e.keyCode;
|
|
549
|
+
return "charCode" in e ? (f = e.charCode, f === 0 && h === 13 && (f = 13)) : f = h, f === 10 && (f = 13), f >= 32 || f === 13 ? f : 0;
|
|
550
550
|
}
|
|
551
551
|
function re() {
|
|
552
552
|
return !0;
|
|
@@ -555,17 +555,17 @@ var En = It((Tn, be) => {
|
|
|
555
555
|
return !1;
|
|
556
556
|
}
|
|
557
557
|
function z(e) {
|
|
558
|
-
function
|
|
558
|
+
function f(h, g, P, X, J) {
|
|
559
559
|
this._reactName = h, this._targetInst = P, this.type = g, this.nativeEvent = X, this.target = J, this.currentTarget = null;
|
|
560
|
-
for (var
|
|
561
|
-
if (e.hasOwnProperty(
|
|
562
|
-
var
|
|
563
|
-
|
|
560
|
+
for (var ie in e)
|
|
561
|
+
if (e.hasOwnProperty(ie)) {
|
|
562
|
+
var oe = e[ie];
|
|
563
|
+
oe ? this[ie] = oe(X) : this[ie] = X[ie];
|
|
564
564
|
}
|
|
565
565
|
var se = X.defaultPrevented != null ? X.defaultPrevented : X.returnValue === !1;
|
|
566
566
|
return se ? this.isDefaultPrevented = re : this.isDefaultPrevented = G, this.isPropagationStopped = G, this;
|
|
567
567
|
}
|
|
568
|
-
return D(
|
|
568
|
+
return D(f.prototype, {
|
|
569
569
|
preventDefault: function() {
|
|
570
570
|
this.defaultPrevented = !0;
|
|
571
571
|
var h = this.nativeEvent;
|
|
@@ -588,7 +588,7 @@ var En = It((Tn, be) => {
|
|
|
588
588
|
* @return {boolean} True if this should not be released, false otherwise.
|
|
589
589
|
*/
|
|
590
590
|
isPersistent: re
|
|
591
|
-
}),
|
|
591
|
+
}), f;
|
|
592
592
|
}
|
|
593
593
|
var Z = {
|
|
594
594
|
eventPhase: 0,
|
|
@@ -710,9 +710,9 @@ var En = It((Tn, be) => {
|
|
|
710
710
|
};
|
|
711
711
|
function N(e) {
|
|
712
712
|
if (e.key) {
|
|
713
|
-
var
|
|
714
|
-
if (
|
|
715
|
-
return
|
|
713
|
+
var f = L[e.key] || e.key;
|
|
714
|
+
if (f !== "Unidentified")
|
|
715
|
+
return f;
|
|
716
716
|
}
|
|
717
717
|
if (e.type === "keypress") {
|
|
718
718
|
var h = q(e);
|
|
@@ -727,7 +727,7 @@ var En = It((Tn, be) => {
|
|
|
727
727
|
Shift: "shiftKey"
|
|
728
728
|
};
|
|
729
729
|
function k(e) {
|
|
730
|
-
var
|
|
730
|
+
var f = this, h = f.nativeEvent;
|
|
731
731
|
if (h.getModifierState)
|
|
732
732
|
return h.getModifierState(e);
|
|
733
733
|
var g = F[e];
|
|
@@ -772,7 +772,7 @@ var En = It((Tn, be) => {
|
|
|
772
772
|
isPrimary: 0
|
|
773
773
|
});
|
|
774
774
|
z(me);
|
|
775
|
-
var
|
|
775
|
+
var ve = D({}, B, {
|
|
776
776
|
touches: 0,
|
|
777
777
|
targetTouches: 0,
|
|
778
778
|
changedTouches: 0,
|
|
@@ -782,7 +782,7 @@ var En = It((Tn, be) => {
|
|
|
782
782
|
shiftKey: 0,
|
|
783
783
|
getModifierState: M
|
|
784
784
|
});
|
|
785
|
-
z(
|
|
785
|
+
z(ve);
|
|
786
786
|
var er = D({}, Z, {
|
|
787
787
|
propertyName: 0,
|
|
788
788
|
elapsedTime: 0,
|
|
@@ -814,10 +814,10 @@ var En = It((Tn, be) => {
|
|
|
814
814
|
});
|
|
815
815
|
z(rr);
|
|
816
816
|
var Pe = 1;
|
|
817
|
-
function xe(e,
|
|
817
|
+
function xe(e, f, h, g, P, X, J, ie, oe) {
|
|
818
818
|
var se = Array.prototype.slice.call(arguments, 3);
|
|
819
819
|
try {
|
|
820
|
-
|
|
820
|
+
f.apply(h, se);
|
|
821
821
|
} catch (te) {
|
|
822
822
|
this.onError(te);
|
|
823
823
|
}
|
|
@@ -825,16 +825,16 @@ var En = It((Tn, be) => {
|
|
|
825
825
|
var ke = xe;
|
|
826
826
|
if (typeof window < "u" && typeof window.dispatchEvent == "function" && typeof document < "u" && typeof document.createEvent == "function") {
|
|
827
827
|
var ce = document.createElement("react");
|
|
828
|
-
ke = function(
|
|
828
|
+
ke = function(f, h, g, P, X, J, ie, oe, se) {
|
|
829
829
|
if (typeof document > "u" || document === null)
|
|
830
830
|
throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
|
|
831
|
-
var te = document.createEvent("Event"),
|
|
831
|
+
var te = document.createEvent("Event"), ir = !1, _r = !0, wt = window.event, Lr = Object.getOwnPropertyDescriptor(window, "event");
|
|
832
832
|
function Dr() {
|
|
833
|
-
ce.removeEventListener(
|
|
833
|
+
ce.removeEventListener(or, $r, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = wt);
|
|
834
834
|
}
|
|
835
835
|
var Rt = Array.prototype.slice.call(arguments, 3);
|
|
836
836
|
function $r() {
|
|
837
|
-
|
|
837
|
+
ir = !0, Dr(), h.apply(g, Rt), _r = !1;
|
|
838
838
|
}
|
|
839
839
|
var we, Nr = !1, br = !1;
|
|
840
840
|
function Ar(Ve) {
|
|
@@ -844,8 +844,8 @@ var En = It((Tn, be) => {
|
|
|
844
844
|
} catch {
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
|
-
var
|
|
848
|
-
if (window.addEventListener("error", Ar), ce.addEventListener(
|
|
847
|
+
var or = "react-" + (f || "invokeguardedcallback");
|
|
848
|
+
if (window.addEventListener("error", Ar), ce.addEventListener(or, $r, !1), te.initEvent(or, !1, !1), ce.dispatchEvent(te), Lr && Object.defineProperty(window, "event", Lr), ir && _r && (Nr ? br && (we = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : we = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(we)), window.removeEventListener("error", Ar), !ir)
|
|
849
849
|
return Dr(), xe.apply(this, arguments);
|
|
850
850
|
};
|
|
851
851
|
}
|
|
@@ -854,10 +854,10 @@ var En = It((Tn, be) => {
|
|
|
854
854
|
ge = !0, Ce = e;
|
|
855
855
|
}
|
|
856
856
|
};
|
|
857
|
-
function Me(e,
|
|
857
|
+
function Me(e, f, h, g, P, X, J, ie, oe) {
|
|
858
858
|
ge = !1, Ce = null, Le.apply(je, arguments);
|
|
859
859
|
}
|
|
860
|
-
function Ue(e,
|
|
860
|
+
function Ue(e, f, h, g, P, X, J, ie, oe) {
|
|
861
861
|
if (Me.apply(this, arguments), ge) {
|
|
862
862
|
var se = Xe();
|
|
863
863
|
ye || (ye = !0, De = se);
|
|
@@ -880,11 +880,11 @@ var En = It((Tn, be) => {
|
|
|
880
880
|
function Ne(e) {
|
|
881
881
|
return tr(e);
|
|
882
882
|
}
|
|
883
|
-
var qe =
|
|
883
|
+
var qe = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, Oe = qe.Events, nr = Oe[0], r = Oe[1], y = Oe[2], v = Oe[3], b = Oe[4], V = d.unstable_act;
|
|
884
884
|
function Y(e) {
|
|
885
885
|
}
|
|
886
886
|
var U = !1;
|
|
887
|
-
function K(e,
|
|
887
|
+
function K(e, f) {
|
|
888
888
|
if (!e)
|
|
889
889
|
return [];
|
|
890
890
|
var h = j(e);
|
|
@@ -893,7 +893,7 @@ var En = It((Tn, be) => {
|
|
|
893
893
|
for (var g = h, P = []; ; ) {
|
|
894
894
|
if (g.tag === O || g.tag === u || g.tag === t || g.tag === R) {
|
|
895
895
|
var X = g.stateNode;
|
|
896
|
-
|
|
896
|
+
f(X) && P.push(X);
|
|
897
897
|
}
|
|
898
898
|
if (g.child) {
|
|
899
899
|
g.child.return = g, g = g.child;
|
|
@@ -909,125 +909,125 @@ var En = It((Tn, be) => {
|
|
|
909
909
|
g.sibling.return = g.return, g = g.sibling;
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
|
-
function ae(e,
|
|
912
|
+
function ae(e, f) {
|
|
913
913
|
if (e && !c(e)) {
|
|
914
914
|
var h, g = String(e);
|
|
915
|
-
throw Ne(e) ? h = "an array" : e && e.nodeType === Pe && e.tagName ? h = "a DOM node" : g === "[object Object]" ? h = "object with keys {" + Object.keys(e).join(", ") + "}" : h = g, new Error(
|
|
915
|
+
throw Ne(e) ? h = "an array" : e && e.nodeType === Pe && e.tagName ? h = "a DOM node" : g === "[object Object]" ? h = "object with keys {" + Object.keys(e).join(", ") + "}" : h = g, new Error(f + "(...): the first argument must be a React class instance. " + ("Instead received: " + h + "."));
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
918
|
var pe = !1;
|
|
919
919
|
function ar(e) {
|
|
920
|
-
pe || (pe = !0,
|
|
921
|
-
var
|
|
922
|
-
return
|
|
920
|
+
pe || (pe = !0, o("ReactDOMTestUtils is deprecated and will be removed in a future major release, because it exposes internal implementation details that are highly likely to change between releases. Upgrade to a modern testing library, such as @testing-library/react. See https://react.dev/warnings/react-dom-test-utils for more info."));
|
|
921
|
+
var f = document.createElement("div");
|
|
922
|
+
return s.render(e, f);
|
|
923
923
|
}
|
|
924
924
|
function Zr(e) {
|
|
925
|
-
return
|
|
925
|
+
return d.isValidElement(e);
|
|
926
926
|
}
|
|
927
|
-
function Jr(e,
|
|
928
|
-
return
|
|
927
|
+
function Jr(e, f) {
|
|
928
|
+
return d.isValidElement(e) && e.type === f;
|
|
929
929
|
}
|
|
930
930
|
function Ge(e) {
|
|
931
931
|
return !!(e && e.nodeType === Pe && e.tagName);
|
|
932
932
|
}
|
|
933
933
|
function Qr(e) {
|
|
934
|
-
return !!(e &&
|
|
934
|
+
return !!(e && d.isValidElement(e) && e.tagName);
|
|
935
935
|
}
|
|
936
936
|
function sr(e) {
|
|
937
937
|
return Ge(e) ? !1 : e != null && typeof e.render == "function" && typeof e.setState == "function";
|
|
938
938
|
}
|
|
939
|
-
function gr(e,
|
|
939
|
+
function gr(e, f) {
|
|
940
940
|
if (!sr(e))
|
|
941
941
|
return !1;
|
|
942
942
|
var h = c(e), g = h.type;
|
|
943
|
-
return g ===
|
|
943
|
+
return g === f;
|
|
944
944
|
}
|
|
945
|
-
function We(e,
|
|
945
|
+
function We(e, f) {
|
|
946
946
|
if (ae(e, "findAllInRenderedTree"), !e)
|
|
947
947
|
return [];
|
|
948
948
|
var h = c(e);
|
|
949
|
-
return K(h,
|
|
949
|
+
return K(h, f);
|
|
950
950
|
}
|
|
951
|
-
function yr(e,
|
|
951
|
+
function yr(e, f) {
|
|
952
952
|
return ae(e, "scryRenderedDOMComponentsWithClass"), We(e, function(h) {
|
|
953
953
|
if (Ge(h)) {
|
|
954
954
|
var g = h.className;
|
|
955
955
|
typeof g != "string" && (g = h.getAttribute("class") || "");
|
|
956
956
|
var P = g.split(/\s+/);
|
|
957
|
-
if (!Ne(
|
|
958
|
-
if (
|
|
957
|
+
if (!Ne(f)) {
|
|
958
|
+
if (f === void 0)
|
|
959
959
|
throw new Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");
|
|
960
|
-
|
|
960
|
+
f = f.split(/\s+/);
|
|
961
961
|
}
|
|
962
|
-
return
|
|
962
|
+
return f.every(function(X) {
|
|
963
963
|
return P.indexOf(X) !== -1;
|
|
964
964
|
});
|
|
965
965
|
}
|
|
966
966
|
return !1;
|
|
967
967
|
});
|
|
968
968
|
}
|
|
969
|
-
function et(e,
|
|
969
|
+
function et(e, f) {
|
|
970
970
|
ae(e, "findRenderedDOMComponentWithClass");
|
|
971
|
-
var h = yr(e,
|
|
971
|
+
var h = yr(e, f);
|
|
972
972
|
if (h.length !== 1)
|
|
973
|
-
throw new Error("Did not find exactly one match (found: " + h.length + ") for class:" +
|
|
973
|
+
throw new Error("Did not find exactly one match (found: " + h.length + ") for class:" + f);
|
|
974
974
|
return h[0];
|
|
975
975
|
}
|
|
976
|
-
function wr(e,
|
|
976
|
+
function wr(e, f) {
|
|
977
977
|
return ae(e, "scryRenderedDOMComponentsWithTag"), We(e, function(h) {
|
|
978
|
-
return Ge(h) && h.tagName.toUpperCase() ===
|
|
978
|
+
return Ge(h) && h.tagName.toUpperCase() === f.toUpperCase();
|
|
979
979
|
});
|
|
980
980
|
}
|
|
981
|
-
function rt(e,
|
|
981
|
+
function rt(e, f) {
|
|
982
982
|
ae(e, "findRenderedDOMComponentWithTag");
|
|
983
|
-
var h = wr(e,
|
|
983
|
+
var h = wr(e, f);
|
|
984
984
|
if (h.length !== 1)
|
|
985
|
-
throw new Error("Did not find exactly one match (found: " + h.length + ") for tag:" +
|
|
985
|
+
throw new Error("Did not find exactly one match (found: " + h.length + ") for tag:" + f);
|
|
986
986
|
return h[0];
|
|
987
987
|
}
|
|
988
|
-
function Rr(e,
|
|
988
|
+
function Rr(e, f) {
|
|
989
989
|
return ae(e, "scryRenderedComponentsWithType"), We(e, function(h) {
|
|
990
|
-
return gr(h,
|
|
990
|
+
return gr(h, f);
|
|
991
991
|
});
|
|
992
992
|
}
|
|
993
|
-
function tt(e,
|
|
993
|
+
function tt(e, f) {
|
|
994
994
|
ae(e, "findRenderedComponentWithType");
|
|
995
|
-
var h = Rr(e,
|
|
995
|
+
var h = Rr(e, f);
|
|
996
996
|
if (h.length !== 1)
|
|
997
|
-
throw new Error("Did not find exactly one match (found: " + h.length + ") for componentType:" +
|
|
997
|
+
throw new Error("Did not find exactly one match (found: " + h.length + ") for componentType:" + f);
|
|
998
998
|
return h[0];
|
|
999
999
|
}
|
|
1000
|
-
function nt(e,
|
|
1000
|
+
function nt(e, f) {
|
|
1001
1001
|
return U || (U = !0, l(`ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.
|
|
1002
1002
|
|
|
1003
|
-
See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
1004
|
-
return
|
|
1003
|
+
See https://reactjs.org/link/test-utils-mock-component for more information.`)), f = f || e.mockTagName || "div", e.prototype.render.mockImplementation(function() {
|
|
1004
|
+
return d.createElement(f, null, this.props.children);
|
|
1005
1005
|
}), this;
|
|
1006
1006
|
}
|
|
1007
|
-
function at(e,
|
|
1007
|
+
function at(e, f) {
|
|
1008
1008
|
return {
|
|
1009
1009
|
touches: [{
|
|
1010
1010
|
pageX: e,
|
|
1011
|
-
pageY:
|
|
1011
|
+
pageY: f
|
|
1012
1012
|
}]
|
|
1013
1013
|
};
|
|
1014
1014
|
}
|
|
1015
|
-
function Ir(e,
|
|
1015
|
+
function Ir(e, f, h) {
|
|
1016
1016
|
var g = e.type || "unknown-event";
|
|
1017
|
-
e.currentTarget = r(h), Ue(g,
|
|
1017
|
+
e.currentTarget = r(h), Ue(g, f, void 0, e), e.currentTarget = null;
|
|
1018
1018
|
}
|
|
1019
1019
|
function st(e) {
|
|
1020
|
-
var
|
|
1021
|
-
if (Ne(
|
|
1022
|
-
for (var g = 0; g <
|
|
1023
|
-
Ir(e,
|
|
1024
|
-
else
|
|
1020
|
+
var f = e._dispatchListeners, h = e._dispatchInstances;
|
|
1021
|
+
if (Ne(f))
|
|
1022
|
+
for (var g = 0; g < f.length && !e.isPropagationStopped(); g++)
|
|
1023
|
+
Ir(e, f[g], h[g]);
|
|
1024
|
+
else f && Ir(e, f, h);
|
|
1025
1025
|
e._dispatchListeners = null, e._dispatchInstances = null;
|
|
1026
1026
|
}
|
|
1027
|
-
var
|
|
1027
|
+
var it = function(e) {
|
|
1028
1028
|
e && (st(e), e.isPersistent() || e.constructor.release(e));
|
|
1029
1029
|
};
|
|
1030
|
-
function
|
|
1030
|
+
function ot(e) {
|
|
1031
1031
|
return e === "button" || e === "input" || e === "select" || e === "textarea";
|
|
1032
1032
|
}
|
|
1033
1033
|
function lt(e) {
|
|
@@ -1036,16 +1036,16 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1036
1036
|
while (e && e.tag !== O);
|
|
1037
1037
|
return e || null;
|
|
1038
1038
|
}
|
|
1039
|
-
function Tr(e,
|
|
1039
|
+
function Tr(e, f, h) {
|
|
1040
1040
|
for (var g = []; e; )
|
|
1041
1041
|
g.push(e), e = lt(e);
|
|
1042
1042
|
var P;
|
|
1043
1043
|
for (P = g.length; P-- > 0; )
|
|
1044
|
-
|
|
1044
|
+
f(g[P], "captured", h);
|
|
1045
1045
|
for (P = 0; P < g.length; P++)
|
|
1046
|
-
|
|
1046
|
+
f(g[P], "bubbled", h);
|
|
1047
1047
|
}
|
|
1048
|
-
function ut(e,
|
|
1048
|
+
function ut(e, f, h) {
|
|
1049
1049
|
switch (e) {
|
|
1050
1050
|
case "onClick":
|
|
1051
1051
|
case "onClickCapture":
|
|
@@ -1058,70 +1058,70 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1058
1058
|
case "onMouseUp":
|
|
1059
1059
|
case "onMouseUpCapture":
|
|
1060
1060
|
case "onMouseEnter":
|
|
1061
|
-
return !!(h.disabled &&
|
|
1061
|
+
return !!(h.disabled && ot(f));
|
|
1062
1062
|
default:
|
|
1063
1063
|
return !1;
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
|
-
function Cr(e,
|
|
1066
|
+
function Cr(e, f) {
|
|
1067
1067
|
var h = e.stateNode;
|
|
1068
1068
|
if (!h)
|
|
1069
1069
|
return null;
|
|
1070
1070
|
var g = y(h);
|
|
1071
1071
|
if (!g)
|
|
1072
1072
|
return null;
|
|
1073
|
-
var P = g[
|
|
1074
|
-
if (ut(
|
|
1073
|
+
var P = g[f];
|
|
1074
|
+
if (ut(f, e.type, g))
|
|
1075
1075
|
return null;
|
|
1076
1076
|
if (P && typeof P != "function")
|
|
1077
|
-
throw new Error("Expected `" +
|
|
1077
|
+
throw new Error("Expected `" + f + "` listener to be a function, instead got a value of `" + typeof P + "` type.");
|
|
1078
1078
|
return P;
|
|
1079
1079
|
}
|
|
1080
|
-
function ct(e,
|
|
1081
|
-
var g =
|
|
1080
|
+
function ct(e, f, h) {
|
|
1081
|
+
var g = f._reactName;
|
|
1082
1082
|
return h === "captured" && (g += "Capture"), Cr(e, g);
|
|
1083
1083
|
}
|
|
1084
|
-
function pt(e,
|
|
1084
|
+
function pt(e, f, h) {
|
|
1085
1085
|
if (e && h && h._reactName) {
|
|
1086
1086
|
var g = h._reactName, P = Cr(e, g);
|
|
1087
1087
|
P && (h._dispatchListeners == null && (h._dispatchListeners = []), h._dispatchInstances == null && (h._dispatchInstances = []), h._dispatchListeners.push(P), h._dispatchInstances.push(e));
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1091
|
-
e ||
|
|
1092
|
-
var g = ct(e, h,
|
|
1090
|
+
function ft(e, f, h) {
|
|
1091
|
+
e || o("Dispatching inst must not be null");
|
|
1092
|
+
var g = ct(e, h, f);
|
|
1093
1093
|
g && (h._dispatchListeners == null && (h._dispatchListeners = []), h._dispatchInstances == null && (h._dispatchInstances = []), h._dispatchListeners.push(g), h._dispatchInstances.push(e));
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1095
|
+
function dt(e) {
|
|
1096
1096
|
e && e._reactName && pt(e._targetInst, null, e);
|
|
1097
1097
|
}
|
|
1098
1098
|
function ht(e) {
|
|
1099
|
-
e && e._reactName && Tr(e._targetInst,
|
|
1099
|
+
e && e._reactName && Tr(e._targetInst, ft, e);
|
|
1100
1100
|
}
|
|
1101
1101
|
var Or = {}, mt = /* @__PURE__ */ new Set(["mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave"]);
|
|
1102
|
-
function
|
|
1103
|
-
return function(
|
|
1104
|
-
if (
|
|
1102
|
+
function Et(e) {
|
|
1103
|
+
return function(f, h) {
|
|
1104
|
+
if (d.isValidElement(f))
|
|
1105
1105
|
throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");
|
|
1106
|
-
if (sr(
|
|
1106
|
+
if (sr(f))
|
|
1107
1107
|
throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");
|
|
1108
1108
|
var g = "on" + e[0].toUpperCase() + e.slice(1), P = new Y();
|
|
1109
|
-
P.target =
|
|
1110
|
-
var X = nr(
|
|
1111
|
-
J.persist(), D(J, h), mt.has(e) ?
|
|
1112
|
-
|
|
1109
|
+
P.target = f, P.type = e.toLowerCase();
|
|
1110
|
+
var X = nr(f), J = new H(g, P.type, X, P, f);
|
|
1111
|
+
J.persist(), D(J, h), mt.has(e) ? dt(J) : ht(J), s.unstable_batchedUpdates(function() {
|
|
1112
|
+
v(f), it(J), Fe();
|
|
1113
1113
|
}), b();
|
|
1114
1114
|
};
|
|
1115
1115
|
}
|
|
1116
|
-
var
|
|
1116
|
+
var vt = ["blur", "cancel", "click", "close", "contextMenu", "copy", "cut", "auxClick", "doubleClick", "dragEnd", "dragStart", "drop", "focus", "input", "invalid", "keyDown", "keyPress", "keyUp", "mouseDown", "mouseUp", "paste", "pause", "play", "pointerCancel", "pointerDown", "pointerUp", "rateChange", "reset", "resize", "seeked", "submit", "touchCancel", "touchEnd", "touchStart", "volumeChange", "drag", "dragEnter", "dragExit", "dragLeave", "dragOver", "mouseMove", "mouseOut", "mouseOver", "pointerMove", "pointerOut", "pointerOver", "scroll", "toggle", "touchMove", "wheel", "abort", "animationEnd", "animationIteration", "animationStart", "canPlay", "canPlayThrough", "durationChange", "emptied", "encrypted", "ended", "error", "gotPointerCapture", "load", "loadedData", "loadedMetadata", "loadStart", "lostPointerCapture", "playing", "progress", "seeking", "stalled", "suspend", "timeUpdate", "transitionEnd", "waiting", "mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave", "change", "select", "beforeInput", "compositionEnd", "compositionStart", "compositionUpdate"];
|
|
1117
1117
|
function gt() {
|
|
1118
|
-
|
|
1119
|
-
Or[e] =
|
|
1118
|
+
vt.forEach(function(e) {
|
|
1119
|
+
Or[e] = Et(e);
|
|
1120
1120
|
});
|
|
1121
1121
|
}
|
|
1122
1122
|
gt();
|
|
1123
|
-
var Sr = !1, yt = function(
|
|
1124
|
-
return Sr || (Sr = !0,
|
|
1123
|
+
var Sr = !1, yt = function(f) {
|
|
1124
|
+
return Sr || (Sr = !0, o("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")), V(f);
|
|
1125
1125
|
};
|
|
1126
1126
|
ee.Simulate = Or, ee.act = yt, ee.findAllInRenderedTree = We, ee.findRenderedComponentWithType = tt, ee.findRenderedDOMComponentWithClass = et, ee.findRenderedDOMComponentWithTag = rt, ee.isCompositeComponent = sr, ee.isCompositeComponentWithType = gr, ee.isDOMComponent = Ge, ee.isDOMComponentElement = Qr, ee.isElement = Zr, ee.isElementOfType = Jr, ee.mockComponent = nt, ee.nativeTouchData = at, ee.renderIntoDocument = ar, ee.scryRenderedComponentsWithType = Rr, ee.scryRenderedDOMComponentsWithClass = yr, ee.scryRenderedDOMComponentsWithTag = wr, ee.traverseTwoPhase = Tr;
|
|
1127
1127
|
}()), ee;
|
|
@@ -1130,54 +1130,54 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1130
1130
|
function xt() {
|
|
1131
1131
|
return kr || (kr = 1, process.env.NODE_ENV === "production" ? Ye.exports = At() : Ye.exports = Pt()), Ye.exports;
|
|
1132
1132
|
}
|
|
1133
|
-
var kt = xt(), Be = x({ "../../node_modules/semver/internal/constants.js"(
|
|
1134
|
-
var
|
|
1135
|
-
|
|
1136
|
-
} }), ze = x({ "../../node_modules/semver/internal/debug.js"(
|
|
1137
|
-
var
|
|
1133
|
+
var kt = xt(), Be = x({ "../../node_modules/semver/internal/constants.js"(d, s) {
|
|
1134
|
+
var i = "2.0.0", l = Number.MAX_SAFE_INTEGER || 9007199254740991, o = 16, a = 250, c = ["major", "premajor", "minor", "preminor", "patch", "prepatch", "prerelease"];
|
|
1135
|
+
s.exports = { MAX_LENGTH: 256, MAX_SAFE_COMPONENT_LENGTH: o, MAX_SAFE_BUILD_LENGTH: a, MAX_SAFE_INTEGER: l, RELEASE_TYPES: c, SEMVER_SPEC_VERSION: i, FLAG_INCLUDE_PRERELEASE: 1, FLAG_LOOSE: 2 };
|
|
1136
|
+
} }), ze = x({ "../../node_modules/semver/internal/debug.js"(d, s) {
|
|
1137
|
+
var i = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...l) => console.error("SEMVER", ...l) : () => {
|
|
1138
1138
|
};
|
|
1139
|
-
|
|
1140
|
-
} }), Ae = x({ "../../node_modules/semver/internal/re.js"(
|
|
1141
|
-
var { MAX_SAFE_COMPONENT_LENGTH:
|
|
1142
|
-
|
|
1143
|
-
var c =
|
|
1139
|
+
s.exports = i;
|
|
1140
|
+
} }), Ae = x({ "../../node_modules/semver/internal/re.js"(d, s) {
|
|
1141
|
+
var { MAX_SAFE_COMPONENT_LENGTH: i, MAX_SAFE_BUILD_LENGTH: l, MAX_LENGTH: o } = Be(), a = ze();
|
|
1142
|
+
d = s.exports = {};
|
|
1143
|
+
var c = d.re = [], R = d.safeRe = [], t = d.src = [], n = d.t = {}, O = 0, u = "[a-zA-Z0-9-]", m = [["\\s", 1], ["\\d", o], [u, l]], E = (I) => {
|
|
1144
1144
|
for (let [A, j] of m) I = I.split(`${A}*`).join(`${A}{0,${j}}`).split(`${A}+`).join(`${A}{1,${j}}`);
|
|
1145
1145
|
return I;
|
|
1146
1146
|
}, p = (I, A, j) => {
|
|
1147
|
-
let D =
|
|
1147
|
+
let D = E(A), q = O++;
|
|
1148
1148
|
a(I, q, A), n[I] = q, t[q] = A, c[q] = new RegExp(A, j ? "g" : void 0), R[q] = new RegExp(D, j ? "g" : void 0);
|
|
1149
1149
|
};
|
|
1150
|
-
p("NUMERICIDENTIFIER", "0|[1-9]\\d*"), p("NUMERICIDENTIFIERLOOSE", "\\d+"), p("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${u}*`), p("MAINVERSION", `(${t[n.NUMERICIDENTIFIER]})\\.(${t[n.NUMERICIDENTIFIER]})\\.(${t[n.NUMERICIDENTIFIER]})`), p("MAINVERSIONLOOSE", `(${t[n.NUMERICIDENTIFIERLOOSE]})\\.(${t[n.NUMERICIDENTIFIERLOOSE]})\\.(${t[n.NUMERICIDENTIFIERLOOSE]})`), p("PRERELEASEIDENTIFIER", `(?:${t[n.NUMERICIDENTIFIER]}|${t[n.NONNUMERICIDENTIFIER]})`), p("PRERELEASEIDENTIFIERLOOSE", `(?:${t[n.NUMERICIDENTIFIERLOOSE]}|${t[n.NONNUMERICIDENTIFIER]})`), p("PRERELEASE", `(?:-(${t[n.PRERELEASEIDENTIFIER]}(?:\\.${t[n.PRERELEASEIDENTIFIER]})*))`), p("PRERELEASELOOSE", `(?:-?(${t[n.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${t[n.PRERELEASEIDENTIFIERLOOSE]})*))`), p("BUILDIDENTIFIER", `${u}+`), p("BUILD", `(?:\\+(${t[n.BUILDIDENTIFIER]}(?:\\.${t[n.BUILDIDENTIFIER]})*))`), p("FULLPLAIN", `v?${t[n.MAINVERSION]}${t[n.PRERELEASE]}?${t[n.BUILD]}?`), p("FULL", `^${t[n.FULLPLAIN]}$`), p("LOOSEPLAIN", `[v=\\s]*${t[n.MAINVERSIONLOOSE]}${t[n.PRERELEASELOOSE]}?${t[n.BUILD]}?`), p("LOOSE", `^${t[n.LOOSEPLAIN]}$`), p("GTLT", "((?:<|>)?=?)"), p("XRANGEIDENTIFIERLOOSE", `${t[n.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), p("XRANGEIDENTIFIER", `${t[n.NUMERICIDENTIFIER]}|x|X|\\*`), p("XRANGEPLAIN", `[v=\\s]*(${t[n.XRANGEIDENTIFIER]})(?:\\.(${t[n.XRANGEIDENTIFIER]})(?:\\.(${t[n.XRANGEIDENTIFIER]})(?:${t[n.PRERELEASE]})?${t[n.BUILD]}?)?)?`), p("XRANGEPLAINLOOSE", `[v=\\s]*(${t[n.XRANGEIDENTIFIERLOOSE]})(?:\\.(${t[n.XRANGEIDENTIFIERLOOSE]})(?:\\.(${t[n.XRANGEIDENTIFIERLOOSE]})(?:${t[n.PRERELEASELOOSE]})?${t[n.BUILD]}?)?)?`), p("XRANGE", `^${t[n.GTLT]}\\s*${t[n.XRANGEPLAIN]}$`), p("XRANGELOOSE", `^${t[n.GTLT]}\\s*${t[n.XRANGEPLAINLOOSE]}$`), p("COERCEPLAIN", `(^|[^\\d])(\\d{1,${
|
|
1151
|
-
} }), pr = x({ "../../node_modules/semver/internal/parse-options.js"(
|
|
1152
|
-
var
|
|
1153
|
-
|
|
1154
|
-
} }), Vr = x({ "../../node_modules/semver/internal/identifiers.js"(
|
|
1155
|
-
var
|
|
1156
|
-
let R =
|
|
1150
|
+
p("NUMERICIDENTIFIER", "0|[1-9]\\d*"), p("NUMERICIDENTIFIERLOOSE", "\\d+"), p("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${u}*`), p("MAINVERSION", `(${t[n.NUMERICIDENTIFIER]})\\.(${t[n.NUMERICIDENTIFIER]})\\.(${t[n.NUMERICIDENTIFIER]})`), p("MAINVERSIONLOOSE", `(${t[n.NUMERICIDENTIFIERLOOSE]})\\.(${t[n.NUMERICIDENTIFIERLOOSE]})\\.(${t[n.NUMERICIDENTIFIERLOOSE]})`), p("PRERELEASEIDENTIFIER", `(?:${t[n.NUMERICIDENTIFIER]}|${t[n.NONNUMERICIDENTIFIER]})`), p("PRERELEASEIDENTIFIERLOOSE", `(?:${t[n.NUMERICIDENTIFIERLOOSE]}|${t[n.NONNUMERICIDENTIFIER]})`), p("PRERELEASE", `(?:-(${t[n.PRERELEASEIDENTIFIER]}(?:\\.${t[n.PRERELEASEIDENTIFIER]})*))`), p("PRERELEASELOOSE", `(?:-?(${t[n.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${t[n.PRERELEASEIDENTIFIERLOOSE]})*))`), p("BUILDIDENTIFIER", `${u}+`), p("BUILD", `(?:\\+(${t[n.BUILDIDENTIFIER]}(?:\\.${t[n.BUILDIDENTIFIER]})*))`), p("FULLPLAIN", `v?${t[n.MAINVERSION]}${t[n.PRERELEASE]}?${t[n.BUILD]}?`), p("FULL", `^${t[n.FULLPLAIN]}$`), p("LOOSEPLAIN", `[v=\\s]*${t[n.MAINVERSIONLOOSE]}${t[n.PRERELEASELOOSE]}?${t[n.BUILD]}?`), p("LOOSE", `^${t[n.LOOSEPLAIN]}$`), p("GTLT", "((?:<|>)?=?)"), p("XRANGEIDENTIFIERLOOSE", `${t[n.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), p("XRANGEIDENTIFIER", `${t[n.NUMERICIDENTIFIER]}|x|X|\\*`), p("XRANGEPLAIN", `[v=\\s]*(${t[n.XRANGEIDENTIFIER]})(?:\\.(${t[n.XRANGEIDENTIFIER]})(?:\\.(${t[n.XRANGEIDENTIFIER]})(?:${t[n.PRERELEASE]})?${t[n.BUILD]}?)?)?`), p("XRANGEPLAINLOOSE", `[v=\\s]*(${t[n.XRANGEIDENTIFIERLOOSE]})(?:\\.(${t[n.XRANGEIDENTIFIERLOOSE]})(?:\\.(${t[n.XRANGEIDENTIFIERLOOSE]})(?:${t[n.PRERELEASELOOSE]})?${t[n.BUILD]}?)?)?`), p("XRANGE", `^${t[n.GTLT]}\\s*${t[n.XRANGEPLAIN]}$`), p("XRANGELOOSE", `^${t[n.GTLT]}\\s*${t[n.XRANGEPLAINLOOSE]}$`), p("COERCEPLAIN", `(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`), p("COERCE", `${t[n.COERCEPLAIN]}(?:$|[^\\d])`), p("COERCEFULL", t[n.COERCEPLAIN] + `(?:${t[n.PRERELEASE]})?(?:${t[n.BUILD]})?(?:$|[^\\d])`), p("COERCERTL", t[n.COERCE], !0), p("COERCERTLFULL", t[n.COERCEFULL], !0), p("LONETILDE", "(?:~>?)"), p("TILDETRIM", `(\\s*)${t[n.LONETILDE]}\\s+`, !0), d.tildeTrimReplace = "$1~", p("TILDE", `^${t[n.LONETILDE]}${t[n.XRANGEPLAIN]}$`), p("TILDELOOSE", `^${t[n.LONETILDE]}${t[n.XRANGEPLAINLOOSE]}$`), p("LONECARET", "(?:\\^)"), p("CARETTRIM", `(\\s*)${t[n.LONECARET]}\\s+`, !0), d.caretTrimReplace = "$1^", p("CARET", `^${t[n.LONECARET]}${t[n.XRANGEPLAIN]}$`), p("CARETLOOSE", `^${t[n.LONECARET]}${t[n.XRANGEPLAINLOOSE]}$`), p("COMPARATORLOOSE", `^${t[n.GTLT]}\\s*(${t[n.LOOSEPLAIN]})$|^$`), p("COMPARATOR", `^${t[n.GTLT]}\\s*(${t[n.FULLPLAIN]})$|^$`), p("COMPARATORTRIM", `(\\s*)${t[n.GTLT]}\\s*(${t[n.LOOSEPLAIN]}|${t[n.XRANGEPLAIN]})`, !0), d.comparatorTrimReplace = "$1$2$3", p("HYPHENRANGE", `^\\s*(${t[n.XRANGEPLAIN]})\\s+-\\s+(${t[n.XRANGEPLAIN]})\\s*$`), p("HYPHENRANGELOOSE", `^\\s*(${t[n.XRANGEPLAINLOOSE]})\\s+-\\s+(${t[n.XRANGEPLAINLOOSE]})\\s*$`), p("STAR", "(<|>)?=?\\s*\\*"), p("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), p("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
1151
|
+
} }), pr = x({ "../../node_modules/semver/internal/parse-options.js"(d, s) {
|
|
1152
|
+
var i = Object.freeze({ loose: !0 }), l = Object.freeze({}), o = (a) => a ? typeof a != "object" ? i : a : l;
|
|
1153
|
+
s.exports = o;
|
|
1154
|
+
} }), Vr = x({ "../../node_modules/semver/internal/identifiers.js"(d, s) {
|
|
1155
|
+
var i = /^[0-9]+$/, l = (a, c) => {
|
|
1156
|
+
let R = i.test(a), t = i.test(c);
|
|
1157
1157
|
return R && t && (a = +a, c = +c), a === c ? 0 : R && !t ? -1 : t && !R ? 1 : a < c ? -1 : 1;
|
|
1158
|
-
},
|
|
1159
|
-
|
|
1160
|
-
} }), ne = x({ "../../node_modules/semver/classes/semver.js"(
|
|
1161
|
-
var
|
|
1158
|
+
}, o = (a, c) => l(c, a);
|
|
1159
|
+
s.exports = { compareIdentifiers: l, rcompareIdentifiers: o };
|
|
1160
|
+
} }), ne = x({ "../../node_modules/semver/classes/semver.js"(d, s) {
|
|
1161
|
+
var i = ze(), { MAX_LENGTH: l, MAX_SAFE_INTEGER: o } = Be(), { safeRe: a, t: c } = Ae(), R = pr(), { compareIdentifiers: t } = Vr(), n = class Ee {
|
|
1162
1162
|
constructor(u, m) {
|
|
1163
|
-
if (m = R(m), u instanceof
|
|
1163
|
+
if (m = R(m), u instanceof Ee) {
|
|
1164
1164
|
if (u.loose === !!m.loose && u.includePrerelease === !!m.includePrerelease) return u;
|
|
1165
1165
|
u = u.version;
|
|
1166
1166
|
} else if (typeof u != "string") throw new TypeError(`Invalid version. Must be a string. Got type "${typeof u}".`);
|
|
1167
1167
|
if (u.length > l) throw new TypeError(`version is longer than ${l} characters`);
|
|
1168
|
-
|
|
1169
|
-
let
|
|
1170
|
-
if (!
|
|
1171
|
-
if (this.raw = u, this.major = +
|
|
1172
|
-
if (this.minor >
|
|
1173
|
-
if (this.patch >
|
|
1174
|
-
|
|
1168
|
+
i("SemVer", u, m), this.options = m, this.loose = !!m.loose, this.includePrerelease = !!m.includePrerelease;
|
|
1169
|
+
let E = u.trim().match(m.loose ? a[c.LOOSE] : a[c.FULL]);
|
|
1170
|
+
if (!E) throw new TypeError(`Invalid Version: ${u}`);
|
|
1171
|
+
if (this.raw = u, this.major = +E[1], this.minor = +E[2], this.patch = +E[3], this.major > o || this.major < 0) throw new TypeError("Invalid major version");
|
|
1172
|
+
if (this.minor > o || this.minor < 0) throw new TypeError("Invalid minor version");
|
|
1173
|
+
if (this.patch > o || this.patch < 0) throw new TypeError("Invalid patch version");
|
|
1174
|
+
E[4] ? this.prerelease = E[4].split(".").map((p) => {
|
|
1175
1175
|
if (/^[0-9]+$/.test(p)) {
|
|
1176
1176
|
let I = +p;
|
|
1177
|
-
if (I >= 0 && I <
|
|
1177
|
+
if (I >= 0 && I < o) return I;
|
|
1178
1178
|
}
|
|
1179
1179
|
return p;
|
|
1180
|
-
}) : this.prerelease = [], this.build =
|
|
1180
|
+
}) : this.prerelease = [], this.build = E[5] ? E[5].split(".") : [], this.format();
|
|
1181
1181
|
}
|
|
1182
1182
|
format() {
|
|
1183
1183
|
return this.version = `${this.major}.${this.minor}.${this.patch}`, this.prerelease.length && (this.version += `-${this.prerelease.join(".")}`), this.version;
|
|
@@ -1186,54 +1186,54 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1186
1186
|
return this.version;
|
|
1187
1187
|
}
|
|
1188
1188
|
compare(u) {
|
|
1189
|
-
if (
|
|
1189
|
+
if (i("SemVer.compare", this.version, this.options, u), !(u instanceof Ee)) {
|
|
1190
1190
|
if (typeof u == "string" && u === this.version) return 0;
|
|
1191
|
-
u = new
|
|
1191
|
+
u = new Ee(u, this.options);
|
|
1192
1192
|
}
|
|
1193
1193
|
return u.version === this.version ? 0 : this.compareMain(u) || this.comparePre(u);
|
|
1194
1194
|
}
|
|
1195
1195
|
compareMain(u) {
|
|
1196
|
-
return u instanceof
|
|
1196
|
+
return u instanceof Ee || (u = new Ee(u, this.options)), t(this.major, u.major) || t(this.minor, u.minor) || t(this.patch, u.patch);
|
|
1197
1197
|
}
|
|
1198
1198
|
comparePre(u) {
|
|
1199
|
-
if (u instanceof
|
|
1199
|
+
if (u instanceof Ee || (u = new Ee(u, this.options)), this.prerelease.length && !u.prerelease.length) return -1;
|
|
1200
1200
|
if (!this.prerelease.length && u.prerelease.length) return 1;
|
|
1201
1201
|
if (!this.prerelease.length && !u.prerelease.length) return 0;
|
|
1202
1202
|
let m = 0;
|
|
1203
1203
|
do {
|
|
1204
|
-
let
|
|
1205
|
-
if (
|
|
1204
|
+
let E = this.prerelease[m], p = u.prerelease[m];
|
|
1205
|
+
if (i("prerelease compare", m, E, p), E === void 0 && p === void 0) return 0;
|
|
1206
1206
|
if (p === void 0) return 1;
|
|
1207
|
-
if (
|
|
1208
|
-
if (
|
|
1209
|
-
return t(
|
|
1207
|
+
if (E === void 0) return -1;
|
|
1208
|
+
if (E !== p)
|
|
1209
|
+
return t(E, p);
|
|
1210
1210
|
} while (++m);
|
|
1211
1211
|
}
|
|
1212
1212
|
compareBuild(u) {
|
|
1213
|
-
u instanceof
|
|
1213
|
+
u instanceof Ee || (u = new Ee(u, this.options));
|
|
1214
1214
|
let m = 0;
|
|
1215
1215
|
do {
|
|
1216
|
-
let
|
|
1217
|
-
if (
|
|
1216
|
+
let E = this.build[m], p = u.build[m];
|
|
1217
|
+
if (i("build compare", m, E, p), E === void 0 && p === void 0) return 0;
|
|
1218
1218
|
if (p === void 0) return 1;
|
|
1219
|
-
if (
|
|
1220
|
-
if (
|
|
1221
|
-
return t(
|
|
1219
|
+
if (E === void 0) return -1;
|
|
1220
|
+
if (E !== p)
|
|
1221
|
+
return t(E, p);
|
|
1222
1222
|
} while (++m);
|
|
1223
1223
|
}
|
|
1224
|
-
inc(u, m,
|
|
1224
|
+
inc(u, m, E) {
|
|
1225
1225
|
switch (u) {
|
|
1226
1226
|
case "premajor":
|
|
1227
|
-
this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", m,
|
|
1227
|
+
this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", m, E);
|
|
1228
1228
|
break;
|
|
1229
1229
|
case "preminor":
|
|
1230
|
-
this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", m,
|
|
1230
|
+
this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", m, E);
|
|
1231
1231
|
break;
|
|
1232
1232
|
case "prepatch":
|
|
1233
|
-
this.prerelease.length = 0, this.inc("patch", m,
|
|
1233
|
+
this.prerelease.length = 0, this.inc("patch", m, E), this.inc("pre", m, E);
|
|
1234
1234
|
break;
|
|
1235
1235
|
case "prerelease":
|
|
1236
|
-
this.prerelease.length === 0 && this.inc("patch", m,
|
|
1236
|
+
this.prerelease.length === 0 && this.inc("patch", m, E), this.inc("pre", m, E);
|
|
1237
1237
|
break;
|
|
1238
1238
|
case "major":
|
|
1239
1239
|
(this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) && this.major++, this.minor = 0, this.patch = 0, this.prerelease = [];
|
|
@@ -1245,20 +1245,20 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1245
1245
|
this.prerelease.length === 0 && this.patch++, this.prerelease = [];
|
|
1246
1246
|
break;
|
|
1247
1247
|
case "pre": {
|
|
1248
|
-
let p = Number(
|
|
1249
|
-
if (!m &&
|
|
1248
|
+
let p = Number(E) ? 1 : 0;
|
|
1249
|
+
if (!m && E === !1) throw new Error("invalid increment argument: identifier is empty");
|
|
1250
1250
|
if (this.prerelease.length === 0) this.prerelease = [p];
|
|
1251
1251
|
else {
|
|
1252
1252
|
let I = this.prerelease.length;
|
|
1253
1253
|
for (; --I >= 0; ) typeof this.prerelease[I] == "number" && (this.prerelease[I]++, I = -2);
|
|
1254
1254
|
if (I === -1) {
|
|
1255
|
-
if (m === this.prerelease.join(".") &&
|
|
1255
|
+
if (m === this.prerelease.join(".") && E === !1) throw new Error("invalid increment argument: identifier already exists");
|
|
1256
1256
|
this.prerelease.push(p);
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
1259
|
if (m) {
|
|
1260
1260
|
let I = [m, p];
|
|
1261
|
-
|
|
1261
|
+
E === !1 && (I = [m]), t(this.prerelease[0], m) === 0 ? isNaN(this.prerelease[1]) && (this.prerelease = I) : this.prerelease = I;
|
|
1262
1262
|
}
|
|
1263
1263
|
break;
|
|
1264
1264
|
}
|
|
@@ -1268,106 +1268,106 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1268
1268
|
return this.raw = this.format(), this.build.length && (this.raw += `+${this.build.join(".")}`), this;
|
|
1269
1269
|
}
|
|
1270
1270
|
};
|
|
1271
|
-
|
|
1272
|
-
} }), $e = x({ "../../node_modules/semver/functions/parse.js"(
|
|
1273
|
-
var
|
|
1274
|
-
if (
|
|
1271
|
+
s.exports = n;
|
|
1272
|
+
} }), $e = x({ "../../node_modules/semver/functions/parse.js"(d, s) {
|
|
1273
|
+
var i = ne(), l = (o, a, c = !1) => {
|
|
1274
|
+
if (o instanceof i) return o;
|
|
1275
1275
|
try {
|
|
1276
|
-
return new
|
|
1276
|
+
return new i(o, a);
|
|
1277
1277
|
} catch (R) {
|
|
1278
1278
|
if (!c) return null;
|
|
1279
1279
|
throw R;
|
|
1280
1280
|
}
|
|
1281
1281
|
};
|
|
1282
|
-
|
|
1283
|
-
} }), jt = x({ "../../node_modules/semver/functions/valid.js"(
|
|
1284
|
-
var
|
|
1285
|
-
let c =
|
|
1282
|
+
s.exports = l;
|
|
1283
|
+
} }), jt = x({ "../../node_modules/semver/functions/valid.js"(d, s) {
|
|
1284
|
+
var i = $e(), l = (o, a) => {
|
|
1285
|
+
let c = i(o, a);
|
|
1286
1286
|
return c ? c.version : null;
|
|
1287
1287
|
};
|
|
1288
|
-
|
|
1289
|
-
} }), Mt = x({ "../../node_modules/semver/functions/clean.js"(
|
|
1290
|
-
var
|
|
1291
|
-
let c =
|
|
1288
|
+
s.exports = l;
|
|
1289
|
+
} }), Mt = x({ "../../node_modules/semver/functions/clean.js"(d, s) {
|
|
1290
|
+
var i = $e(), l = (o, a) => {
|
|
1291
|
+
let c = i(o.trim().replace(/^[=v]+/, ""), a);
|
|
1292
1292
|
return c ? c.version : null;
|
|
1293
1293
|
};
|
|
1294
|
-
|
|
1295
|
-
} }), Ut = x({ "../../node_modules/semver/functions/inc.js"(
|
|
1296
|
-
var
|
|
1294
|
+
s.exports = l;
|
|
1295
|
+
} }), Ut = x({ "../../node_modules/semver/functions/inc.js"(d, s) {
|
|
1296
|
+
var i = ne(), l = (o, a, c, R, t) => {
|
|
1297
1297
|
typeof c == "string" && (t = R, R = c, c = void 0);
|
|
1298
1298
|
try {
|
|
1299
|
-
return new
|
|
1299
|
+
return new i(o instanceof i ? o.version : o, c).inc(a, R, t).version;
|
|
1300
1300
|
} catch {
|
|
1301
1301
|
return null;
|
|
1302
1302
|
}
|
|
1303
1303
|
};
|
|
1304
|
-
|
|
1305
|
-
} }), Ft = x({ "../../node_modules/semver/functions/diff.js"(
|
|
1306
|
-
var
|
|
1307
|
-
let c =
|
|
1304
|
+
s.exports = l;
|
|
1305
|
+
} }), Ft = x({ "../../node_modules/semver/functions/diff.js"(d, s) {
|
|
1306
|
+
var i = $e(), l = (o, a) => {
|
|
1307
|
+
let c = i(o, null, !0), R = i(a, null, !0), t = c.compare(R);
|
|
1308
1308
|
if (t === 0) return null;
|
|
1309
1309
|
let n = t > 0, O = n ? c : R, u = n ? R : c, m = !!O.prerelease.length;
|
|
1310
1310
|
if (u.prerelease.length && !m) return !u.patch && !u.minor ? "major" : O.patch ? "patch" : O.minor ? "minor" : "major";
|
|
1311
|
-
let
|
|
1312
|
-
return c.major !== R.major ?
|
|
1311
|
+
let E = m ? "pre" : "";
|
|
1312
|
+
return c.major !== R.major ? E + "major" : c.minor !== R.minor ? E + "minor" : c.patch !== R.patch ? E + "patch" : "prerelease";
|
|
1313
1313
|
};
|
|
1314
|
-
|
|
1315
|
-
} }), Xt = x({ "../../node_modules/semver/functions/major.js"(
|
|
1316
|
-
var
|
|
1317
|
-
|
|
1318
|
-
} }), qt = x({ "../../node_modules/semver/functions/minor.js"(
|
|
1319
|
-
var
|
|
1320
|
-
|
|
1321
|
-
} }), Gt = x({ "../../node_modules/semver/functions/patch.js"(
|
|
1322
|
-
var
|
|
1323
|
-
|
|
1324
|
-
} }), Wt = x({ "../../node_modules/semver/functions/prerelease.js"(
|
|
1325
|
-
var
|
|
1326
|
-
let c =
|
|
1314
|
+
s.exports = l;
|
|
1315
|
+
} }), Xt = x({ "../../node_modules/semver/functions/major.js"(d, s) {
|
|
1316
|
+
var i = ne(), l = (o, a) => new i(o, a).major;
|
|
1317
|
+
s.exports = l;
|
|
1318
|
+
} }), qt = x({ "../../node_modules/semver/functions/minor.js"(d, s) {
|
|
1319
|
+
var i = ne(), l = (o, a) => new i(o, a).minor;
|
|
1320
|
+
s.exports = l;
|
|
1321
|
+
} }), Gt = x({ "../../node_modules/semver/functions/patch.js"(d, s) {
|
|
1322
|
+
var i = ne(), l = (o, a) => new i(o, a).patch;
|
|
1323
|
+
s.exports = l;
|
|
1324
|
+
} }), Wt = x({ "../../node_modules/semver/functions/prerelease.js"(d, s) {
|
|
1325
|
+
var i = $e(), l = (o, a) => {
|
|
1326
|
+
let c = i(o, a);
|
|
1327
1327
|
return c && c.prerelease.length ? c.prerelease : null;
|
|
1328
1328
|
};
|
|
1329
|
-
|
|
1330
|
-
} }),
|
|
1331
|
-
var
|
|
1332
|
-
|
|
1333
|
-
} }), Vt = x({ "../../node_modules/semver/functions/rcompare.js"(
|
|
1334
|
-
var
|
|
1335
|
-
|
|
1336
|
-
} }), Yt = x({ "../../node_modules/semver/functions/compare-loose.js"(
|
|
1337
|
-
var
|
|
1338
|
-
|
|
1339
|
-
} }),
|
|
1340
|
-
var
|
|
1341
|
-
let R = new
|
|
1329
|
+
s.exports = l;
|
|
1330
|
+
} }), fe = x({ "../../node_modules/semver/functions/compare.js"(d, s) {
|
|
1331
|
+
var i = ne(), l = (o, a, c) => new i(o, c).compare(new i(a, c));
|
|
1332
|
+
s.exports = l;
|
|
1333
|
+
} }), Vt = x({ "../../node_modules/semver/functions/rcompare.js"(d, s) {
|
|
1334
|
+
var i = fe(), l = (o, a, c) => i(a, o, c);
|
|
1335
|
+
s.exports = l;
|
|
1336
|
+
} }), Yt = x({ "../../node_modules/semver/functions/compare-loose.js"(d, s) {
|
|
1337
|
+
var i = fe(), l = (o, a) => i(o, a, !0);
|
|
1338
|
+
s.exports = l;
|
|
1339
|
+
} }), fr = x({ "../../node_modules/semver/functions/compare-build.js"(d, s) {
|
|
1340
|
+
var i = ne(), l = (o, a, c) => {
|
|
1341
|
+
let R = new i(o, c), t = new i(a, c);
|
|
1342
1342
|
return R.compare(t) || R.compareBuild(t);
|
|
1343
1343
|
};
|
|
1344
|
-
|
|
1345
|
-
} }), Kt = x({ "../../node_modules/semver/functions/sort.js"(
|
|
1346
|
-
var
|
|
1347
|
-
|
|
1348
|
-
} }), Ht = x({ "../../node_modules/semver/functions/rsort.js"(
|
|
1349
|
-
var
|
|
1350
|
-
|
|
1351
|
-
} }), Ze = x({ "../../node_modules/semver/functions/gt.js"(
|
|
1352
|
-
var
|
|
1353
|
-
|
|
1354
|
-
} }),
|
|
1355
|
-
var
|
|
1356
|
-
|
|
1357
|
-
} }), Yr = x({ "../../node_modules/semver/functions/eq.js"(
|
|
1358
|
-
var
|
|
1359
|
-
|
|
1360
|
-
} }), Kr = x({ "../../node_modules/semver/functions/neq.js"(
|
|
1361
|
-
var
|
|
1362
|
-
|
|
1363
|
-
} }), hr = x({ "../../node_modules/semver/functions/gte.js"(
|
|
1364
|
-
var
|
|
1365
|
-
|
|
1366
|
-
} }), mr = x({ "../../node_modules/semver/functions/lte.js"(
|
|
1367
|
-
var
|
|
1368
|
-
|
|
1369
|
-
} }), Hr = x({ "../../node_modules/semver/functions/cmp.js"(
|
|
1370
|
-
var
|
|
1344
|
+
s.exports = l;
|
|
1345
|
+
} }), Kt = x({ "../../node_modules/semver/functions/sort.js"(d, s) {
|
|
1346
|
+
var i = fr(), l = (o, a) => o.sort((c, R) => i(c, R, a));
|
|
1347
|
+
s.exports = l;
|
|
1348
|
+
} }), Ht = x({ "../../node_modules/semver/functions/rsort.js"(d, s) {
|
|
1349
|
+
var i = fr(), l = (o, a) => o.sort((c, R) => i(R, c, a));
|
|
1350
|
+
s.exports = l;
|
|
1351
|
+
} }), Ze = x({ "../../node_modules/semver/functions/gt.js"(d, s) {
|
|
1352
|
+
var i = fe(), l = (o, a, c) => i(o, a, c) > 0;
|
|
1353
|
+
s.exports = l;
|
|
1354
|
+
} }), dr = x({ "../../node_modules/semver/functions/lt.js"(d, s) {
|
|
1355
|
+
var i = fe(), l = (o, a, c) => i(o, a, c) < 0;
|
|
1356
|
+
s.exports = l;
|
|
1357
|
+
} }), Yr = x({ "../../node_modules/semver/functions/eq.js"(d, s) {
|
|
1358
|
+
var i = fe(), l = (o, a, c) => i(o, a, c) === 0;
|
|
1359
|
+
s.exports = l;
|
|
1360
|
+
} }), Kr = x({ "../../node_modules/semver/functions/neq.js"(d, s) {
|
|
1361
|
+
var i = fe(), l = (o, a, c) => i(o, a, c) !== 0;
|
|
1362
|
+
s.exports = l;
|
|
1363
|
+
} }), hr = x({ "../../node_modules/semver/functions/gte.js"(d, s) {
|
|
1364
|
+
var i = fe(), l = (o, a, c) => i(o, a, c) >= 0;
|
|
1365
|
+
s.exports = l;
|
|
1366
|
+
} }), mr = x({ "../../node_modules/semver/functions/lte.js"(d, s) {
|
|
1367
|
+
var i = fe(), l = (o, a, c) => i(o, a, c) <= 0;
|
|
1368
|
+
s.exports = l;
|
|
1369
|
+
} }), Hr = x({ "../../node_modules/semver/functions/cmp.js"(d, s) {
|
|
1370
|
+
var i = Yr(), l = Kr(), o = Ze(), a = hr(), c = dr(), R = mr(), t = (n, O, u, m) => {
|
|
1371
1371
|
switch (O) {
|
|
1372
1372
|
case "===":
|
|
1373
1373
|
return typeof n == "object" && (n = n.version), typeof u == "object" && (u = u.version), n === u;
|
|
@@ -1376,11 +1376,11 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1376
1376
|
case "":
|
|
1377
1377
|
case "=":
|
|
1378
1378
|
case "==":
|
|
1379
|
-
return
|
|
1379
|
+
return i(n, u, m);
|
|
1380
1380
|
case "!=":
|
|
1381
1381
|
return l(n, u, m);
|
|
1382
1382
|
case ">":
|
|
1383
|
-
return
|
|
1383
|
+
return o(n, u, m);
|
|
1384
1384
|
case ">=":
|
|
1385
1385
|
return a(n, u, m);
|
|
1386
1386
|
case "<":
|
|
@@ -1391,54 +1391,54 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1391
1391
|
throw new TypeError(`Invalid operator: ${O}`);
|
|
1392
1392
|
}
|
|
1393
1393
|
};
|
|
1394
|
-
|
|
1395
|
-
} }), Bt = x({ "../../node_modules/semver/functions/coerce.js"(
|
|
1396
|
-
var
|
|
1397
|
-
if (R instanceof
|
|
1394
|
+
s.exports = t;
|
|
1395
|
+
} }), Bt = x({ "../../node_modules/semver/functions/coerce.js"(d, s) {
|
|
1396
|
+
var i = ne(), l = $e(), { safeRe: o, t: a } = Ae(), c = (R, t) => {
|
|
1397
|
+
if (R instanceof i) return R;
|
|
1398
1398
|
if (typeof R == "number" && (R = String(R)), typeof R != "string") return null;
|
|
1399
1399
|
t = t || {};
|
|
1400
1400
|
let n = null;
|
|
1401
|
-
if (!t.rtl) n = R.match(t.includePrerelease ?
|
|
1401
|
+
if (!t.rtl) n = R.match(t.includePrerelease ? o[a.COERCEFULL] : o[a.COERCE]);
|
|
1402
1402
|
else {
|
|
1403
|
-
let I = t.includePrerelease ?
|
|
1403
|
+
let I = t.includePrerelease ? o[a.COERCERTLFULL] : o[a.COERCERTL], A;
|
|
1404
1404
|
for (; (A = I.exec(R)) && (!n || n.index + n[0].length !== R.length); ) (!n || A.index + A[0].length !== n.index + n[0].length) && (n = A), I.lastIndex = A.index + A[1].length + A[2].length;
|
|
1405
1405
|
I.lastIndex = -1;
|
|
1406
1406
|
}
|
|
1407
1407
|
if (n === null) return null;
|
|
1408
|
-
let O = n[2], u = n[3] || "0", m = n[4] || "0",
|
|
1409
|
-
return l(`${O}.${u}.${m}${
|
|
1408
|
+
let O = n[2], u = n[3] || "0", m = n[4] || "0", E = t.includePrerelease && n[5] ? `-${n[5]}` : "", p = t.includePrerelease && n[6] ? `+${n[6]}` : "";
|
|
1409
|
+
return l(`${O}.${u}.${m}${E}${p}`, t);
|
|
1410
1410
|
};
|
|
1411
|
-
|
|
1412
|
-
} }), zt = x({ "../../node_modules/semver/internal/lrucache.js"(
|
|
1413
|
-
var
|
|
1411
|
+
s.exports = c;
|
|
1412
|
+
} }), zt = x({ "../../node_modules/semver/internal/lrucache.js"(d, s) {
|
|
1413
|
+
var i = class {
|
|
1414
1414
|
constructor() {
|
|
1415
1415
|
this.max = 1e3, this.map = /* @__PURE__ */ new Map();
|
|
1416
1416
|
}
|
|
1417
1417
|
get(l) {
|
|
1418
|
-
let
|
|
1419
|
-
if (
|
|
1418
|
+
let o = this.map.get(l);
|
|
1419
|
+
if (o !== void 0) return this.map.delete(l), this.map.set(l, o), o;
|
|
1420
1420
|
}
|
|
1421
1421
|
delete(l) {
|
|
1422
1422
|
return this.map.delete(l);
|
|
1423
1423
|
}
|
|
1424
|
-
set(l,
|
|
1425
|
-
if (!this.delete(l) &&
|
|
1424
|
+
set(l, o) {
|
|
1425
|
+
if (!this.delete(l) && o !== void 0) {
|
|
1426
1426
|
if (this.map.size >= this.max) {
|
|
1427
1427
|
let a = this.map.keys().next().value;
|
|
1428
1428
|
this.delete(a);
|
|
1429
1429
|
}
|
|
1430
|
-
this.map.set(l,
|
|
1430
|
+
this.map.set(l, o);
|
|
1431
1431
|
}
|
|
1432
1432
|
return this;
|
|
1433
1433
|
}
|
|
1434
1434
|
};
|
|
1435
|
-
|
|
1436
|
-
} }),
|
|
1437
|
-
var
|
|
1435
|
+
s.exports = i;
|
|
1436
|
+
} }), de = x({ "../../node_modules/semver/classes/range.js"(d, s) {
|
|
1437
|
+
var i = /\s+/g, l = class He {
|
|
1438
1438
|
constructor(w, S) {
|
|
1439
1439
|
if (S = c(S), w instanceof He) return w.loose === !!S.loose && w.includePrerelease === !!S.includePrerelease ? w : new He(w.raw, S);
|
|
1440
1440
|
if (w instanceof R) return this.raw = w.value, this.set = [[w]], this.formatted = void 0, this;
|
|
1441
|
-
if (this.options = S, this.loose = !!S.loose, this.includePrerelease = !!S.includePrerelease, this.raw = w.trim().replace(
|
|
1441
|
+
if (this.options = S, this.loose = !!S.loose, this.includePrerelease = !!S.includePrerelease, this.raw = w.trim().replace(i, " "), this.set = this.raw.split("||").map((C) => this.parseRange(C.trim())).filter((C) => C.length), !this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
1442
1442
|
if (this.set.length > 1) {
|
|
1443
1443
|
let C = this.set[0];
|
|
1444
1444
|
if (this.set = this.set.filter((L) => !j(L[0])), this.set.length === 0) this.set = [C];
|
|
@@ -1472,7 +1472,7 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1472
1472
|
let S = ((this.options.includePrerelease && I) | (this.options.loose && A)) + ":" + w, C = a.get(S);
|
|
1473
1473
|
if (C) return C;
|
|
1474
1474
|
let L = this.options.loose, _ = L ? O[u.HYPHENRANGELOOSE] : O[u.HYPHENRANGE];
|
|
1475
|
-
w = w.replace(_, he(this.options.includePrerelease)), t("hyphen replace", w), w = w.replace(O[u.COMPARATORTRIM], m), t("comparator trim", w), w = w.replace(O[u.TILDETRIM],
|
|
1475
|
+
w = w.replace(_, he(this.options.includePrerelease)), t("hyphen replace", w), w = w.replace(O[u.COMPARATORTRIM], m), t("comparator trim", w), w = w.replace(O[u.TILDETRIM], E), t("tilde trim", w), w = w.replace(O[u.CARETTRIM], p), t("caret trim", w);
|
|
1476
1476
|
let N = w.split(" ").map((W) => re(W, this.options)).join(" ").split(/\s+/).map((W) => Ie(W, this.options));
|
|
1477
1477
|
L && (N = N.filter((W) => (t("loose invalid filter", W, this.options), !!W.match(O[u.COMPARATORLOOSE])))), t("range list", N);
|
|
1478
1478
|
let F = /* @__PURE__ */ new Map(), k = N.map((W) => new R(W, this.options));
|
|
@@ -1499,8 +1499,8 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1499
1499
|
return !1;
|
|
1500
1500
|
}
|
|
1501
1501
|
};
|
|
1502
|
-
|
|
1503
|
-
var
|
|
1502
|
+
s.exports = l;
|
|
1503
|
+
var o = zt(), a = new o(), c = pr(), R = Je(), t = ze(), n = ne(), { safeRe: O, t: u, comparatorTrimReplace: m, tildeTrimReplace: E, caretTrimReplace: p } = Ae(), { FLAG_INCLUDE_PRERELEASE: I, FLAG_LOOSE: A } = Be(), j = (T) => T.value === "<0.0.0-0", D = (T) => T.value === "", q = (T, w) => {
|
|
1504
1504
|
let S = !0, C = T.slice(), L = C.pop();
|
|
1505
1505
|
for (; S && C.length; ) S = C.every((_) => L.intersects(_, w)), L = C.pop();
|
|
1506
1506
|
return S;
|
|
@@ -1524,10 +1524,10 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1524
1524
|
let S = w.loose ? O[u.XRANGELOOSE] : O[u.XRANGE];
|
|
1525
1525
|
return T.replace(S, (C, L, _, N, F, k) => {
|
|
1526
1526
|
t("xRange", T, C, L, _, N, F, k);
|
|
1527
|
-
let M = G(_), W = M || G(N), me = W || G(F),
|
|
1528
|
-
return L === "=" &&
|
|
1527
|
+
let M = G(_), W = M || G(N), me = W || G(F), ve = me;
|
|
1528
|
+
return L === "=" && ve && (L = ""), k = w.includePrerelease ? "-0" : "", M ? L === ">" || L === "<" ? C = "<0.0.0-0" : C = "*" : L && ve ? (W && (N = 0), F = 0, L === ">" ? (L = ">=", W ? (_ = +_ + 1, N = 0, F = 0) : (N = +N + 1, F = 0)) : L === "<=" && (L = "<", W ? _ = +_ + 1 : N = +N + 1), L === "<" && (k = "-0"), C = `${L + _}.${N}.${F}${k}`) : W ? C = `>=${_}.0.0${k} <${+_ + 1}.0.0-0` : me && (C = `>=${_}.${N}.0${k} <${_}.${+N + 1}.0-0`), t("xRange return", C), C;
|
|
1529
1529
|
});
|
|
1530
|
-
}, ue = (T, w) => (t("replaceStars", T, w), T.trim().replace(O[u.STAR], "")), Ie = (T, w) => (t("replaceGTE0", T, w), T.trim().replace(O[w.includePrerelease ? u.GTE0PRE : u.GTE0], "")), he = (T) => (w, S, C, L, _, N, F, k, M, W, me,
|
|
1530
|
+
}, ue = (T, w) => (t("replaceStars", T, w), T.trim().replace(O[u.STAR], "")), Ie = (T, w) => (t("replaceGTE0", T, w), T.trim().replace(O[w.includePrerelease ? u.GTE0PRE : u.GTE0], "")), he = (T) => (w, S, C, L, _, N, F, k, M, W, me, ve) => (G(C) ? S = "" : G(L) ? S = `>=${C}.0.0${T ? "-0" : ""}` : G(_) ? S = `>=${C}.${L}.0${T ? "-0" : ""}` : N ? S = `>=${S}` : S = `>=${S}${T ? "-0" : ""}`, G(M) ? k = "" : G(W) ? k = `<${+M + 1}.0.0-0` : G(me) ? k = `<${M}.${+W + 1}.0-0` : ve ? k = `<=${M}.${W}.${me}-${ve}` : T ? k = `<${M}.${W}.${+me + 1}-0` : k = `<=${k}`, `${S} ${k}`.trim()), Te = (T, w, S) => {
|
|
1531
1531
|
for (let C = 0; C < T.length; C++) if (!T[C].test(w)) return !1;
|
|
1532
1532
|
if (w.prerelease.length && !S.includePrerelease) {
|
|
1533
1533
|
for (let C = 0; C < T.length; C++) if (t(T[C].semver), T[C].semver !== R.ANY && T[C].semver.prerelease.length > 0) {
|
|
@@ -1538,28 +1538,28 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1538
1538
|
}
|
|
1539
1539
|
return !0;
|
|
1540
1540
|
};
|
|
1541
|
-
} }), Je = x({ "../../node_modules/semver/classes/comparator.js"(
|
|
1542
|
-
var
|
|
1541
|
+
} }), Je = x({ "../../node_modules/semver/classes/comparator.js"(d, s) {
|
|
1542
|
+
var i = Symbol("SemVer ANY"), l = class ur {
|
|
1543
1543
|
static get ANY() {
|
|
1544
|
-
return
|
|
1544
|
+
return i;
|
|
1545
1545
|
}
|
|
1546
|
-
constructor(m,
|
|
1547
|
-
if (
|
|
1548
|
-
if (m.loose === !!
|
|
1546
|
+
constructor(m, E) {
|
|
1547
|
+
if (E = o(E), m instanceof ur) {
|
|
1548
|
+
if (m.loose === !!E.loose) return m;
|
|
1549
1549
|
m = m.value;
|
|
1550
1550
|
}
|
|
1551
|
-
m = m.trim().split(/\s+/).join(" "), t("comparator", m,
|
|
1551
|
+
m = m.trim().split(/\s+/).join(" "), t("comparator", m, E), this.options = E, this.loose = !!E.loose, this.parse(m), this.semver === i ? this.value = "" : this.value = this.operator + this.semver.version, t("comp", this);
|
|
1552
1552
|
}
|
|
1553
1553
|
parse(m) {
|
|
1554
|
-
let
|
|
1554
|
+
let E = this.options.loose ? a[c.COMPARATORLOOSE] : a[c.COMPARATOR], p = m.match(E);
|
|
1555
1555
|
if (!p) throw new TypeError(`Invalid comparator: ${m}`);
|
|
1556
|
-
this.operator = p[1] !== void 0 ? p[1] : "", this.operator === "=" && (this.operator = ""), p[2] ? this.semver = new n(p[2], this.options.loose) : this.semver =
|
|
1556
|
+
this.operator = p[1] !== void 0 ? p[1] : "", this.operator === "=" && (this.operator = ""), p[2] ? this.semver = new n(p[2], this.options.loose) : this.semver = i;
|
|
1557
1557
|
}
|
|
1558
1558
|
toString() {
|
|
1559
1559
|
return this.value;
|
|
1560
1560
|
}
|
|
1561
1561
|
test(m) {
|
|
1562
|
-
if (t("Comparator.test", m, this.options.loose), this.semver ===
|
|
1562
|
+
if (t("Comparator.test", m, this.options.loose), this.semver === i || m === i) return !0;
|
|
1563
1563
|
if (typeof m == "string") try {
|
|
1564
1564
|
m = new n(m, this.options);
|
|
1565
1565
|
} catch {
|
|
@@ -1567,28 +1567,28 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1567
1567
|
}
|
|
1568
1568
|
return R(m, this.operator, this.semver, this.options);
|
|
1569
1569
|
}
|
|
1570
|
-
intersects(m,
|
|
1570
|
+
intersects(m, E) {
|
|
1571
1571
|
if (!(m instanceof ur)) throw new TypeError("a Comparator is required");
|
|
1572
|
-
return this.operator === "" ? this.value === "" ? !0 : new O(m.value,
|
|
1572
|
+
return this.operator === "" ? this.value === "" ? !0 : new O(m.value, E).test(this.value) : m.operator === "" ? m.value === "" ? !0 : new O(this.value, E).test(m.semver) : (E = o(E), E.includePrerelease && (this.value === "<0.0.0-0" || m.value === "<0.0.0-0") || !E.includePrerelease && (this.value.startsWith("<0.0.0") || m.value.startsWith("<0.0.0")) ? !1 : !!(this.operator.startsWith(">") && m.operator.startsWith(">") || this.operator.startsWith("<") && m.operator.startsWith("<") || this.semver.version === m.semver.version && this.operator.includes("=") && m.operator.includes("=") || R(this.semver, "<", m.semver, E) && this.operator.startsWith(">") && m.operator.startsWith("<") || R(this.semver, ">", m.semver, E) && this.operator.startsWith("<") && m.operator.startsWith(">")));
|
|
1573
1573
|
}
|
|
1574
1574
|
};
|
|
1575
|
-
|
|
1576
|
-
var
|
|
1577
|
-
} }), Qe = x({ "../../node_modules/semver/functions/satisfies.js"(
|
|
1578
|
-
var
|
|
1575
|
+
s.exports = l;
|
|
1576
|
+
var o = pr(), { safeRe: a, t: c } = Ae(), R = Hr(), t = ze(), n = ne(), O = de();
|
|
1577
|
+
} }), Qe = x({ "../../node_modules/semver/functions/satisfies.js"(d, s) {
|
|
1578
|
+
var i = de(), l = (o, a, c) => {
|
|
1579
1579
|
try {
|
|
1580
|
-
a = new
|
|
1580
|
+
a = new i(a, c);
|
|
1581
1581
|
} catch {
|
|
1582
1582
|
return !1;
|
|
1583
1583
|
}
|
|
1584
|
-
return a.test(
|
|
1584
|
+
return a.test(o);
|
|
1585
1585
|
};
|
|
1586
|
-
|
|
1587
|
-
} }), Zt = x({ "../../node_modules/semver/ranges/to-comparators.js"(
|
|
1588
|
-
var
|
|
1589
|
-
|
|
1590
|
-
} }), Jt = x({ "../../node_modules/semver/ranges/max-satisfying.js"(
|
|
1591
|
-
var
|
|
1586
|
+
s.exports = l;
|
|
1587
|
+
} }), Zt = x({ "../../node_modules/semver/ranges/to-comparators.js"(d, s) {
|
|
1588
|
+
var i = de(), l = (o, a) => new i(o, a).set.map((c) => c.map((R) => R.value).join(" ").trim().split(" "));
|
|
1589
|
+
s.exports = l;
|
|
1590
|
+
} }), Jt = x({ "../../node_modules/semver/ranges/max-satisfying.js"(d, s) {
|
|
1591
|
+
var i = ne(), l = de(), o = (a, c, R) => {
|
|
1592
1592
|
let t = null, n = null, O = null;
|
|
1593
1593
|
try {
|
|
1594
1594
|
O = new l(c, R);
|
|
@@ -1596,12 +1596,12 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1596
1596
|
return null;
|
|
1597
1597
|
}
|
|
1598
1598
|
return a.forEach((u) => {
|
|
1599
|
-
O.test(u) && (!t || n.compare(u) === -1) && (t = u, n = new
|
|
1599
|
+
O.test(u) && (!t || n.compare(u) === -1) && (t = u, n = new i(t, R));
|
|
1600
1600
|
}), t;
|
|
1601
1601
|
};
|
|
1602
|
-
|
|
1603
|
-
} }), Qt = x({ "../../node_modules/semver/ranges/min-satisfying.js"(
|
|
1604
|
-
var
|
|
1602
|
+
s.exports = o;
|
|
1603
|
+
} }), Qt = x({ "../../node_modules/semver/ranges/min-satisfying.js"(d, s) {
|
|
1604
|
+
var i = ne(), l = de(), o = (a, c, R) => {
|
|
1605
1605
|
let t = null, n = null, O = null;
|
|
1606
1606
|
try {
|
|
1607
1607
|
O = new l(c, R);
|
|
@@ -1609,26 +1609,26 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1609
1609
|
return null;
|
|
1610
1610
|
}
|
|
1611
1611
|
return a.forEach((u) => {
|
|
1612
|
-
O.test(u) && (!t || n.compare(u) === 1) && (t = u, n = new
|
|
1612
|
+
O.test(u) && (!t || n.compare(u) === 1) && (t = u, n = new i(t, R));
|
|
1613
1613
|
}), t;
|
|
1614
1614
|
};
|
|
1615
|
-
|
|
1616
|
-
} }), en = x({ "../../node_modules/semver/ranges/min-version.js"(
|
|
1617
|
-
var
|
|
1615
|
+
s.exports = o;
|
|
1616
|
+
} }), en = x({ "../../node_modules/semver/ranges/min-version.js"(d, s) {
|
|
1617
|
+
var i = ne(), l = de(), o = Ze(), a = (c, R) => {
|
|
1618
1618
|
c = new l(c, R);
|
|
1619
|
-
let t = new
|
|
1620
|
-
if (c.test(t) || (t = new
|
|
1619
|
+
let t = new i("0.0.0");
|
|
1620
|
+
if (c.test(t) || (t = new i("0.0.0-0"), c.test(t))) return t;
|
|
1621
1621
|
t = null;
|
|
1622
1622
|
for (let n = 0; n < c.set.length; ++n) {
|
|
1623
1623
|
let O = c.set[n], u = null;
|
|
1624
1624
|
O.forEach((m) => {
|
|
1625
|
-
let
|
|
1625
|
+
let E = new i(m.semver.version);
|
|
1626
1626
|
switch (m.operator) {
|
|
1627
1627
|
case ">":
|
|
1628
|
-
|
|
1628
|
+
E.prerelease.length === 0 ? E.patch++ : E.prerelease.push(0), E.raw = E.format();
|
|
1629
1629
|
case "":
|
|
1630
1630
|
case ">=":
|
|
1631
|
-
(!u ||
|
|
1631
|
+
(!u || o(E, u)) && (u = E);
|
|
1632
1632
|
break;
|
|
1633
1633
|
case "<":
|
|
1634
1634
|
case "<=":
|
|
@@ -1636,23 +1636,23 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1636
1636
|
default:
|
|
1637
1637
|
throw new Error(`Unexpected operation: ${m.operator}`);
|
|
1638
1638
|
}
|
|
1639
|
-
}), u && (!t ||
|
|
1639
|
+
}), u && (!t || o(t, u)) && (t = u);
|
|
1640
1640
|
}
|
|
1641
1641
|
return t && c.test(t) ? t : null;
|
|
1642
1642
|
};
|
|
1643
|
-
|
|
1644
|
-
} }), rn = x({ "../../node_modules/semver/ranges/valid.js"(
|
|
1645
|
-
var
|
|
1643
|
+
s.exports = a;
|
|
1644
|
+
} }), rn = x({ "../../node_modules/semver/ranges/valid.js"(d, s) {
|
|
1645
|
+
var i = de(), l = (o, a) => {
|
|
1646
1646
|
try {
|
|
1647
|
-
return new
|
|
1647
|
+
return new i(o, a).range || "*";
|
|
1648
1648
|
} catch {
|
|
1649
1649
|
return null;
|
|
1650
1650
|
}
|
|
1651
1651
|
};
|
|
1652
|
-
|
|
1653
|
-
} }),
|
|
1654
|
-
var
|
|
1655
|
-
m = new
|
|
1652
|
+
s.exports = l;
|
|
1653
|
+
} }), Er = x({ "../../node_modules/semver/ranges/outside.js"(d, s) {
|
|
1654
|
+
var i = ne(), l = Je(), { ANY: o } = l, a = de(), c = Qe(), R = Ze(), t = dr(), n = mr(), O = hr(), u = (m, E, p, I) => {
|
|
1655
|
+
m = new i(m, I), E = new a(E, I);
|
|
1656
1656
|
let A, j, D, q, re;
|
|
1657
1657
|
switch (p) {
|
|
1658
1658
|
case ">":
|
|
@@ -1664,42 +1664,42 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1664
1664
|
default:
|
|
1665
1665
|
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
|
1666
1666
|
}
|
|
1667
|
-
if (c(m,
|
|
1668
|
-
for (let G = 0; G <
|
|
1669
|
-
let z =
|
|
1667
|
+
if (c(m, E, I)) return !1;
|
|
1668
|
+
for (let G = 0; G < E.set.length; ++G) {
|
|
1669
|
+
let z = E.set[G], Z = null, H = null;
|
|
1670
1670
|
if (z.forEach((B) => {
|
|
1671
|
-
B.semver ===
|
|
1671
|
+
B.semver === o && (B = new l(">=0.0.0")), Z = Z || B, H = H || B, A(B.semver, Z.semver, I) ? Z = B : D(B.semver, H.semver, I) && (H = B);
|
|
1672
1672
|
}), Z.operator === q || Z.operator === re || (!H.operator || H.operator === q) && j(m, H.semver) || H.operator === re && D(m, H.semver)) return !1;
|
|
1673
1673
|
}
|
|
1674
1674
|
return !0;
|
|
1675
1675
|
};
|
|
1676
|
-
|
|
1677
|
-
} }), tn = x({ "../../node_modules/semver/ranges/gtr.js"(
|
|
1678
|
-
var
|
|
1679
|
-
|
|
1680
|
-
} }), nn = x({ "../../node_modules/semver/ranges/ltr.js"(
|
|
1681
|
-
var
|
|
1682
|
-
|
|
1683
|
-
} }), an = x({ "../../node_modules/semver/ranges/intersects.js"(
|
|
1684
|
-
var
|
|
1685
|
-
|
|
1686
|
-
} }), sn = x({ "../../node_modules/semver/ranges/simplify.js"(
|
|
1687
|
-
var
|
|
1688
|
-
|
|
1689
|
-
let R = [], t = null, n = null, O =
|
|
1690
|
-
for (let p of O)
|
|
1676
|
+
s.exports = u;
|
|
1677
|
+
} }), tn = x({ "../../node_modules/semver/ranges/gtr.js"(d, s) {
|
|
1678
|
+
var i = Er(), l = (o, a, c) => i(o, a, ">", c);
|
|
1679
|
+
s.exports = l;
|
|
1680
|
+
} }), nn = x({ "../../node_modules/semver/ranges/ltr.js"(d, s) {
|
|
1681
|
+
var i = Er(), l = (o, a, c) => i(o, a, "<", c);
|
|
1682
|
+
s.exports = l;
|
|
1683
|
+
} }), an = x({ "../../node_modules/semver/ranges/intersects.js"(d, s) {
|
|
1684
|
+
var i = de(), l = (o, a, c) => (o = new i(o, c), a = new i(a, c), o.intersects(a, c));
|
|
1685
|
+
s.exports = l;
|
|
1686
|
+
} }), sn = x({ "../../node_modules/semver/ranges/simplify.js"(d, s) {
|
|
1687
|
+
var i = Qe(), l = fe();
|
|
1688
|
+
s.exports = (o, a, c) => {
|
|
1689
|
+
let R = [], t = null, n = null, O = o.sort((p, I) => l(p, I, c));
|
|
1690
|
+
for (let p of O) i(p, a, c) ? (n = p, t || (t = p)) : (n && R.push([t, n]), n = null, t = null);
|
|
1691
1691
|
t && R.push([t, null]);
|
|
1692
1692
|
let u = [];
|
|
1693
1693
|
for (let [p, I] of R) p === I ? u.push(p) : !I && p === O[0] ? u.push("*") : I ? p === O[0] ? u.push(`<=${I}`) : u.push(`${p} - ${I}`) : u.push(`>=${p}`);
|
|
1694
|
-
let m = u.join(" || "),
|
|
1695
|
-
return m.length <
|
|
1694
|
+
let m = u.join(" || "), E = typeof a.raw == "string" ? a.raw : String(a);
|
|
1695
|
+
return m.length < E.length ? m : a;
|
|
1696
1696
|
};
|
|
1697
|
-
} }), on = x({ "../../node_modules/semver/ranges/subset.js"(
|
|
1698
|
-
var
|
|
1699
|
-
if (
|
|
1700
|
-
|
|
1697
|
+
} }), on = x({ "../../node_modules/semver/ranges/subset.js"(d, s) {
|
|
1698
|
+
var i = de(), l = Je(), { ANY: o } = l, a = Qe(), c = fe(), R = (E, p, I = {}) => {
|
|
1699
|
+
if (E === p) return !0;
|
|
1700
|
+
E = new i(E, I), p = new i(p, I);
|
|
1701
1701
|
let A = !1;
|
|
1702
|
-
e: for (let j of
|
|
1702
|
+
e: for (let j of E.set) {
|
|
1703
1703
|
for (let D of p.set) {
|
|
1704
1704
|
let q = O(j, D, I);
|
|
1705
1705
|
if (A = A || q !== null, q) continue e;
|
|
@@ -1707,18 +1707,18 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1707
1707
|
if (A) return !1;
|
|
1708
1708
|
}
|
|
1709
1709
|
return !0;
|
|
1710
|
-
}, t = [new l(">=0.0.0-0")], n = [new l(">=0.0.0")], O = (
|
|
1711
|
-
if (
|
|
1712
|
-
if (
|
|
1713
|
-
if (p.length === 1 && p[0].semver ===
|
|
1714
|
-
I.includePrerelease ?
|
|
1710
|
+
}, t = [new l(">=0.0.0-0")], n = [new l(">=0.0.0")], O = (E, p, I) => {
|
|
1711
|
+
if (E === p) return !0;
|
|
1712
|
+
if (E.length === 1 && E[0].semver === o) {
|
|
1713
|
+
if (p.length === 1 && p[0].semver === o) return !0;
|
|
1714
|
+
I.includePrerelease ? E = t : E = n;
|
|
1715
1715
|
}
|
|
1716
|
-
if (p.length === 1 && p[0].semver ===
|
|
1716
|
+
if (p.length === 1 && p[0].semver === o) {
|
|
1717
1717
|
if (I.includePrerelease) return !0;
|
|
1718
1718
|
p = n;
|
|
1719
1719
|
}
|
|
1720
1720
|
let A = /* @__PURE__ */ new Set(), j, D;
|
|
1721
|
-
for (let $ of
|
|
1721
|
+
for (let $ of E) $.operator === ">" || $.operator === ">=" ? j = u(j, $, I) : $.operator === "<" || $.operator === "<=" ? D = m(D, $, I) : A.add($.semver);
|
|
1722
1722
|
if (A.size > 1) return null;
|
|
1723
1723
|
let q;
|
|
1724
1724
|
if (j && D && (q = c(j.semver, D.semver, I), q > 0 || q === 0 && (j.operator !== ">=" || D.operator !== "<=")))
|
|
@@ -1744,57 +1744,57 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1744
1744
|
if (!$.operator && (D || j) && q !== 0) return !1;
|
|
1745
1745
|
}
|
|
1746
1746
|
return !(j && z && !D && q !== 0 || D && Z && !j && q !== 0 || B || H);
|
|
1747
|
-
}, u = (
|
|
1748
|
-
if (!
|
|
1749
|
-
let A = c(
|
|
1750
|
-
return A > 0 ?
|
|
1751
|
-
}, m = (
|
|
1752
|
-
if (!
|
|
1753
|
-
let A = c(
|
|
1754
|
-
return A < 0 ?
|
|
1747
|
+
}, u = (E, p, I) => {
|
|
1748
|
+
if (!E) return p;
|
|
1749
|
+
let A = c(E.semver, p.semver, I);
|
|
1750
|
+
return A > 0 ? E : A < 0 || p.operator === ">" && E.operator === ">=" ? p : E;
|
|
1751
|
+
}, m = (E, p, I) => {
|
|
1752
|
+
if (!E) return p;
|
|
1753
|
+
let A = c(E.semver, p.semver, I);
|
|
1754
|
+
return A < 0 ? E : A > 0 || p.operator === "<" && E.operator === "<=" ? p : E;
|
|
1755
1755
|
};
|
|
1756
|
-
|
|
1757
|
-
} }), ln = x({ "../../node_modules/semver/index.js"(
|
|
1758
|
-
var
|
|
1759
|
-
|
|
1756
|
+
s.exports = R;
|
|
1757
|
+
} }), ln = x({ "../../node_modules/semver/index.js"(d, s) {
|
|
1758
|
+
var i = Ae(), l = Be(), o = ne(), a = Vr(), c = $e(), R = jt(), t = Mt(), n = Ut(), O = Ft(), u = Xt(), m = qt(), E = Gt(), p = Wt(), I = fe(), A = Vt(), j = Yt(), D = fr(), q = Kt(), re = Ht(), G = Ze(), z = dr(), Z = Yr(), H = Kr(), B = hr(), $ = mr(), le = Hr(), ue = Bt(), Ie = Je(), he = de(), Te = Qe(), T = Zt(), w = Jt(), S = Qt(), C = en(), L = rn(), _ = Er(), N = tn(), F = nn(), k = an(), M = sn(), W = on();
|
|
1759
|
+
s.exports = { parse: c, valid: R, clean: t, inc: n, diff: O, major: u, minor: m, patch: E, prerelease: p, compare: I, rcompare: A, compareLoose: j, compareBuild: D, sort: q, rsort: re, gt: G, lt: z, eq: Z, neq: H, gte: B, lte: $, cmp: le, coerce: ue, Comparator: Ie, Range: he, satisfies: Te, toComparators: T, maxSatisfying: w, minSatisfying: S, minVersion: C, validRange: L, outside: _, gtr: N, ltr: F, intersects: k, simplifyRange: M, subset: W, SemVer: o, re: i.re, src: i.src, tokens: i.t, SEMVER_SPEC_VERSION: l.SEMVER_SPEC_VERSION, RELEASE_TYPES: l.RELEASE_TYPES, compareIdentifiers: a.compareIdentifiers, rcompareIdentifiers: a.rcompareIdentifiers };
|
|
1760
1760
|
} }), Br = {};
|
|
1761
|
-
$t(Br, { decorators: () => mn, mount: () =>
|
|
1762
|
-
var jr = bt(ln()), un = (
|
|
1763
|
-
let { id:
|
|
1764
|
-
if (!l) throw new Error(`Unable to render story ${
|
|
1765
|
-
return _e.createElement(l, { ...
|
|
1761
|
+
$t(Br, { decorators: () => mn, mount: () => dn, parameters: () => hn, render: () => un, renderToCanvas: () => zr });
|
|
1762
|
+
var jr = bt(ln()), un = (d, s) => {
|
|
1763
|
+
let { id: i, component: l } = s;
|
|
1764
|
+
if (!l) throw new Error(`Unable to render story ${i} as the component annotation is missing from the default export`);
|
|
1765
|
+
return _e.createElement(l, { ...d });
|
|
1766
1766
|
}, Mr = { ...Re }, cn = typeof Mr.act == "function" ? Mr.act : kt.act;
|
|
1767
|
-
function Se(
|
|
1768
|
-
globalThis.IS_REACT_ACT_ENVIRONMENT =
|
|
1767
|
+
function Se(d) {
|
|
1768
|
+
globalThis.IS_REACT_ACT_ENVIRONMENT = d;
|
|
1769
1769
|
}
|
|
1770
|
-
function
|
|
1770
|
+
function vr() {
|
|
1771
1771
|
return globalThis.IS_REACT_ACT_ENVIRONMENT;
|
|
1772
1772
|
}
|
|
1773
|
-
function pn(
|
|
1774
|
-
return (
|
|
1775
|
-
let
|
|
1773
|
+
function pn(d) {
|
|
1774
|
+
return (s) => {
|
|
1775
|
+
let i = vr();
|
|
1776
1776
|
Se(!0);
|
|
1777
1777
|
try {
|
|
1778
|
-
let l = !1,
|
|
1779
|
-
let a =
|
|
1778
|
+
let l = !1, o = d(() => {
|
|
1779
|
+
let a = s();
|
|
1780
1780
|
return a !== null && typeof a == "object" && typeof a.then == "function" && (l = !0), a;
|
|
1781
1781
|
});
|
|
1782
1782
|
if (l) {
|
|
1783
|
-
let a =
|
|
1783
|
+
let a = o;
|
|
1784
1784
|
return { then: (c, R) => {
|
|
1785
1785
|
a.then((t) => {
|
|
1786
|
-
Se(
|
|
1786
|
+
Se(i), c(t);
|
|
1787
1787
|
}, (t) => {
|
|
1788
|
-
Se(
|
|
1788
|
+
Se(i), R(t);
|
|
1789
1789
|
});
|
|
1790
1790
|
} };
|
|
1791
|
-
} else return Se(
|
|
1791
|
+
} else return Se(i), o;
|
|
1792
1792
|
} catch (l) {
|
|
1793
|
-
throw Se(
|
|
1793
|
+
throw Se(i), l;
|
|
1794
1794
|
}
|
|
1795
1795
|
};
|
|
1796
1796
|
}
|
|
1797
|
-
var Ke = pn(cn), { FRAMEWORK_OPTIONS: lr } = qr,
|
|
1797
|
+
var Ke = pn(cn), { FRAMEWORK_OPTIONS: lr } = qr, fn = class extends Ot {
|
|
1798
1798
|
constructor() {
|
|
1799
1799
|
super(...arguments), this.state = { hasError: !1 };
|
|
1800
1800
|
}
|
|
@@ -1802,37 +1802,37 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1802
1802
|
return { hasError: !0 };
|
|
1803
1803
|
}
|
|
1804
1804
|
componentDidMount() {
|
|
1805
|
-
let { hasError:
|
|
1806
|
-
|
|
1805
|
+
let { hasError: d } = this.state, { showMain: s } = this.props;
|
|
1806
|
+
d || s();
|
|
1807
1807
|
}
|
|
1808
|
-
componentDidCatch(
|
|
1809
|
-
let { showException:
|
|
1810
|
-
|
|
1808
|
+
componentDidCatch(d) {
|
|
1809
|
+
let { showException: s } = this.props;
|
|
1810
|
+
s(d);
|
|
1811
1811
|
}
|
|
1812
1812
|
render() {
|
|
1813
|
-
let { hasError:
|
|
1814
|
-
return
|
|
1813
|
+
let { hasError: d } = this.state, { children: s } = this.props;
|
|
1814
|
+
return d ? null : s;
|
|
1815
1815
|
}
|
|
1816
1816
|
}, Ur = lr != null && lr.strictMode ? Tt : Ct;
|
|
1817
|
-
async function zr({ storyContext:
|
|
1817
|
+
async function zr({ storyContext: d, unboundStoryFn: s, showMain: i, showException: l, forceRemount: o }, a) {
|
|
1818
1818
|
var u, m;
|
|
1819
|
-
let { renderElement: c, unmountElement: R } = await import("./react-18-
|
|
1820
|
-
return
|
|
1819
|
+
let { renderElement: c, unmountElement: R } = await import("./react-18-CT6mjea2.js"), t = s, n = vr() ? _e.createElement(t, { ...d }) : _e.createElement(fn, { showMain: i, showException: l }, _e.createElement(t, { ...d })), O = Ur ? _e.createElement(Ur, null, n) : n;
|
|
1820
|
+
return o && R(a), await c(O, a, (m = (u = d == null ? void 0 : d.parameters) == null ? void 0 : u.react) == null ? void 0 : m.rootOptions), () => R(a);
|
|
1821
1821
|
}
|
|
1822
|
-
var
|
|
1823
|
-
var
|
|
1824
|
-
if (!((a = (
|
|
1825
|
-
let
|
|
1826
|
-
if (
|
|
1827
|
-
return Re.createElement(Re.Suspense, null, Re.createElement(
|
|
1822
|
+
var dn = (d) => async (s) => (s != null && (d.originalStoryFn = () => s), await d.renderToCanvas(), d.canvas), hn = { renderer: "react" }, mn = [(d, s) => {
|
|
1823
|
+
var o, a;
|
|
1824
|
+
if (!((a = (o = s.parameters) == null ? void 0 : o.react) != null && a.rsc)) return Re.createElement(d, null);
|
|
1825
|
+
let i = jr.default.major(Re.version), l = jr.default.minor(Re.version);
|
|
1826
|
+
if (i < 18 || i === 18 && l < 3) throw new Error("React Server Components require React >= 18.3");
|
|
1827
|
+
return Re.createElement(Re.Suspense, null, Re.createElement(d, null));
|
|
1828
1828
|
}], { window: Fr } = qr;
|
|
1829
1829
|
Fr && (Fr.STORYBOOK_ENV = "react");
|
|
1830
1830
|
({ ...Br });
|
|
1831
|
-
function
|
|
1831
|
+
function En() {
|
|
1832
1832
|
return typeof jest < "u" && jest !== null ? setTimeout._isMockFunction === !0 || Object.prototype.hasOwnProperty.call(setTimeout, "clock") : !1;
|
|
1833
1833
|
}
|
|
1834
1834
|
var Xr;
|
|
1835
1835
|
typeof be < "u" && ((Xr = be == null ? void 0 : be.hot) == null || Xr.decline());
|
|
1836
1836
|
});
|
|
1837
|
-
export default
|
|
1837
|
+
export default vn();
|
|
1838
1838
|
//# sourceMappingURL=storybook__react.d.js.map
|