react-iframe-plugin 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/iframe-plugin.es.js +389 -1864
- package/dist/iframe-plugin.umd.js +10 -48
- package/package.json +5 -3
package/dist/iframe-plugin.es.js
CHANGED
@@ -1,1480 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
* @license React
|
4
|
-
* react.production.min.js
|
5
|
-
*
|
6
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
7
|
-
*
|
8
|
-
* This source code is licensed under the MIT license found in the
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
10
|
-
*/
|
11
|
-
var pt;
|
12
|
-
function Wt() {
|
13
|
-
if (pt) return m;
|
14
|
-
pt = 1;
|
15
|
-
var K = Symbol.for("react.element"), v = Symbol.for("react.portal"), de = Symbol.for("react.fragment"), H = Symbol.for("react.strict_mode"), pe = Symbol.for("react.profiler"), te = Symbol.for("react.provider"), ne = Symbol.for("react.context"), Z = Symbol.for("react.forward_ref"), $ = Symbol.for("react.suspense"), ee = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), V = Symbol.iterator;
|
16
|
-
function re(n) {
|
17
|
-
return n === null || typeof n != "object" ? null : (n = V && n[V] || n["@@iterator"], typeof n == "function" ? n : null);
|
18
|
-
}
|
19
|
-
var J = { isMounted: function() {
|
20
|
-
return !1;
|
21
|
-
}, enqueueForceUpdate: function() {
|
22
|
-
}, enqueueReplaceState: function() {
|
23
|
-
}, enqueueSetState: function() {
|
24
|
-
} }, se = Object.assign, Fe = {};
|
25
|
-
function ae(n, i, g) {
|
26
|
-
this.props = n, this.context = i, this.refs = Fe, this.updater = g || J;
|
27
|
-
}
|
28
|
-
ae.prototype.isReactComponent = {}, ae.prototype.setState = function(n, i) {
|
29
|
-
if (typeof n != "object" && typeof n != "function" && n != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
30
|
-
this.updater.enqueueSetState(this, n, i, "setState");
|
31
|
-
}, ae.prototype.forceUpdate = function(n) {
|
32
|
-
this.updater.enqueueForceUpdate(this, n, "forceUpdate");
|
33
|
-
};
|
34
|
-
function oe() {
|
35
|
-
}
|
36
|
-
oe.prototype = ae.prototype;
|
37
|
-
function x(n, i, g) {
|
38
|
-
this.props = n, this.context = i, this.refs = Fe, this.updater = g || J;
|
39
|
-
}
|
40
|
-
var ge = x.prototype = new oe();
|
41
|
-
ge.constructor = x, se(ge, ae.prototype), ge.isPureReactComponent = !0;
|
42
|
-
var ue = Array.isArray, M = Object.prototype.hasOwnProperty, G = { current: null }, ce = { key: !0, ref: !0, __self: !0, __source: !0 };
|
43
|
-
function ve(n, i, g) {
|
44
|
-
var b, R = {}, k = null, O = null;
|
45
|
-
if (i != null) for (b in i.ref !== void 0 && (O = i.ref), i.key !== void 0 && (k = "" + i.key), i) M.call(i, b) && !ce.hasOwnProperty(b) && (R[b] = i[b]);
|
46
|
-
var T = arguments.length - 2;
|
47
|
-
if (T === 1) R.children = g;
|
48
|
-
else if (1 < T) {
|
49
|
-
for (var w = Array(T), W = 0; W < T; W++) w[W] = arguments[W + 2];
|
50
|
-
R.children = w;
|
51
|
-
}
|
52
|
-
if (n && n.defaultProps) for (b in T = n.defaultProps, T) R[b] === void 0 && (R[b] = T[b]);
|
53
|
-
return { $$typeof: K, type: n, key: k, ref: O, props: R, _owner: G.current };
|
54
|
-
}
|
55
|
-
function we(n, i) {
|
56
|
-
return { $$typeof: K, type: n.type, key: i, ref: n.ref, props: n.props, _owner: n._owner };
|
57
|
-
}
|
58
|
-
function Se(n) {
|
59
|
-
return typeof n == "object" && n !== null && n.$$typeof === K;
|
60
|
-
}
|
61
|
-
function Ye(n) {
|
62
|
-
var i = { "=": "=0", ":": "=2" };
|
63
|
-
return "$" + n.replace(/[=:]/g, function(g) {
|
64
|
-
return i[g];
|
65
|
-
});
|
66
|
-
}
|
67
|
-
var Te = /\/+/g;
|
68
|
-
function z(n, i) {
|
69
|
-
return typeof n == "object" && n !== null && n.key != null ? Ye("" + n.key) : i.toString(36);
|
70
|
-
}
|
71
|
-
function X(n, i, g, b, R) {
|
72
|
-
var k = typeof n;
|
73
|
-
(k === "undefined" || k === "boolean") && (n = null);
|
74
|
-
var O = !1;
|
75
|
-
if (n === null) O = !0;
|
76
|
-
else switch (k) {
|
77
|
-
case "string":
|
78
|
-
case "number":
|
79
|
-
O = !0;
|
80
|
-
break;
|
81
|
-
case "object":
|
82
|
-
switch (n.$$typeof) {
|
83
|
-
case K:
|
84
|
-
case v:
|
85
|
-
O = !0;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
if (O) return O = n, R = R(O), n = b === "" ? "." + z(O, 0) : b, ue(R) ? (g = "", n != null && (g = n.replace(Te, "$&/") + "/"), X(R, i, g, "", function(W) {
|
89
|
-
return W;
|
90
|
-
})) : R != null && (Se(R) && (R = we(R, g + (!R.key || O && O.key === R.key ? "" : ("" + R.key).replace(Te, "$&/") + "/") + n)), i.push(R)), 1;
|
91
|
-
if (O = 0, b = b === "" ? "." : b + ":", ue(n)) for (var T = 0; T < n.length; T++) {
|
92
|
-
k = n[T];
|
93
|
-
var w = b + z(k, T);
|
94
|
-
O += X(k, i, g, w, R);
|
95
|
-
}
|
96
|
-
else if (w = re(n), typeof w == "function") for (n = w.call(n), T = 0; !(k = n.next()).done; ) k = k.value, w = b + z(k, T++), O += X(k, i, g, w, R);
|
97
|
-
else if (k === "object") throw i = String(n), Error("Objects are not valid as a React child (found: " + (i === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : i) + "). If you meant to render a collection of children, use an array instead.");
|
98
|
-
return O;
|
99
|
-
}
|
100
|
-
function U(n, i, g) {
|
101
|
-
if (n == null) return n;
|
102
|
-
var b = [], R = 0;
|
103
|
-
return X(n, b, "", "", function(k) {
|
104
|
-
return i.call(g, k, R++);
|
105
|
-
}), b;
|
106
|
-
}
|
107
|
-
function ie(n) {
|
108
|
-
if (n._status === -1) {
|
109
|
-
var i = n._result;
|
110
|
-
i = i(), i.then(function(g) {
|
111
|
-
(n._status === 0 || n._status === -1) && (n._status = 1, n._result = g);
|
112
|
-
}, function(g) {
|
113
|
-
(n._status === 0 || n._status === -1) && (n._status = 2, n._result = g);
|
114
|
-
}), n._status === -1 && (n._status = 0, n._result = i);
|
115
|
-
}
|
116
|
-
if (n._status === 1) return n._result.default;
|
117
|
-
throw n._result;
|
118
|
-
}
|
119
|
-
var l = { current: null }, fe = { transition: null }, Oe = { ReactCurrentDispatcher: l, ReactCurrentBatchConfig: fe, ReactCurrentOwner: G };
|
120
|
-
function ye() {
|
121
|
-
throw Error("act(...) is not supported in production builds of React.");
|
122
|
-
}
|
123
|
-
return m.Children = { map: U, forEach: function(n, i, g) {
|
124
|
-
U(n, function() {
|
125
|
-
i.apply(this, arguments);
|
126
|
-
}, g);
|
127
|
-
}, count: function(n) {
|
128
|
-
var i = 0;
|
129
|
-
return U(n, function() {
|
130
|
-
i++;
|
131
|
-
}), i;
|
132
|
-
}, toArray: function(n) {
|
133
|
-
return U(n, function(i) {
|
134
|
-
return i;
|
135
|
-
}) || [];
|
136
|
-
}, only: function(n) {
|
137
|
-
if (!Se(n)) throw Error("React.Children.only expected to receive a single React element child.");
|
138
|
-
return n;
|
139
|
-
} }, m.Component = ae, m.Fragment = de, m.Profiler = pe, m.PureComponent = x, m.StrictMode = H, m.Suspense = $, m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Oe, m.act = ye, m.cloneElement = function(n, i, g) {
|
140
|
-
if (n == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + n + ".");
|
141
|
-
var b = se({}, n.props), R = n.key, k = n.ref, O = n._owner;
|
142
|
-
if (i != null) {
|
143
|
-
if (i.ref !== void 0 && (k = i.ref, O = G.current), i.key !== void 0 && (R = "" + i.key), n.type && n.type.defaultProps) var T = n.type.defaultProps;
|
144
|
-
for (w in i) M.call(i, w) && !ce.hasOwnProperty(w) && (b[w] = i[w] === void 0 && T !== void 0 ? T[w] : i[w]);
|
145
|
-
}
|
146
|
-
var w = arguments.length - 2;
|
147
|
-
if (w === 1) b.children = g;
|
148
|
-
else if (1 < w) {
|
149
|
-
T = Array(w);
|
150
|
-
for (var W = 0; W < w; W++) T[W] = arguments[W + 2];
|
151
|
-
b.children = T;
|
152
|
-
}
|
153
|
-
return { $$typeof: K, type: n.type, key: R, ref: k, props: b, _owner: O };
|
154
|
-
}, m.createContext = function(n) {
|
155
|
-
return n = { $$typeof: ne, _currentValue: n, _currentValue2: n, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, n.Provider = { $$typeof: te, _context: n }, n.Consumer = n;
|
156
|
-
}, m.createElement = ve, m.createFactory = function(n) {
|
157
|
-
var i = ve.bind(null, n);
|
158
|
-
return i.type = n, i;
|
159
|
-
}, m.createRef = function() {
|
160
|
-
return { current: null };
|
161
|
-
}, m.forwardRef = function(n) {
|
162
|
-
return { $$typeof: Z, render: n };
|
163
|
-
}, m.isValidElement = Se, m.lazy = function(n) {
|
164
|
-
return { $$typeof: L, _payload: { _status: -1, _result: n }, _init: ie };
|
165
|
-
}, m.memo = function(n, i) {
|
166
|
-
return { $$typeof: ee, type: n, compare: i === void 0 ? null : i };
|
167
|
-
}, m.startTransition = function(n) {
|
168
|
-
var i = fe.transition;
|
169
|
-
fe.transition = {};
|
170
|
-
try {
|
171
|
-
n();
|
172
|
-
} finally {
|
173
|
-
fe.transition = i;
|
174
|
-
}
|
175
|
-
}, m.unstable_act = ye, m.useCallback = function(n, i) {
|
176
|
-
return l.current.useCallback(n, i);
|
177
|
-
}, m.useContext = function(n) {
|
178
|
-
return l.current.useContext(n);
|
179
|
-
}, m.useDebugValue = function() {
|
180
|
-
}, m.useDeferredValue = function(n) {
|
181
|
-
return l.current.useDeferredValue(n);
|
182
|
-
}, m.useEffect = function(n, i) {
|
183
|
-
return l.current.useEffect(n, i);
|
184
|
-
}, m.useId = function() {
|
185
|
-
return l.current.useId();
|
186
|
-
}, m.useImperativeHandle = function(n, i, g) {
|
187
|
-
return l.current.useImperativeHandle(n, i, g);
|
188
|
-
}, m.useInsertionEffect = function(n, i) {
|
189
|
-
return l.current.useInsertionEffect(n, i);
|
190
|
-
}, m.useLayoutEffect = function(n, i) {
|
191
|
-
return l.current.useLayoutEffect(n, i);
|
192
|
-
}, m.useMemo = function(n, i) {
|
193
|
-
return l.current.useMemo(n, i);
|
194
|
-
}, m.useReducer = function(n, i, g) {
|
195
|
-
return l.current.useReducer(n, i, g);
|
196
|
-
}, m.useRef = function(n) {
|
197
|
-
return l.current.useRef(n);
|
198
|
-
}, m.useState = function(n) {
|
199
|
-
return l.current.useState(n);
|
200
|
-
}, m.useSyncExternalStore = function(n, i, g) {
|
201
|
-
return l.current.useSyncExternalStore(n, i, g);
|
202
|
-
}, m.useTransition = function() {
|
203
|
-
return l.current.useTransition();
|
204
|
-
}, m.version = "18.3.1", m;
|
205
|
-
}
|
206
|
-
var Xe = { exports: {} };
|
207
|
-
/**
|
208
|
-
* @license React
|
209
|
-
* react.development.js
|
210
|
-
*
|
211
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
212
|
-
*
|
213
|
-
* This source code is licensed under the MIT license found in the
|
214
|
-
* LICENSE file in the root directory of this source tree.
|
215
|
-
*/
|
216
|
-
Xe.exports;
|
217
|
-
var vt;
|
218
|
-
function Nt() {
|
219
|
-
return vt || (vt = 1, function(K, v) {
|
220
|
-
process.env.NODE_ENV !== "production" && function() {
|
221
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
222
|
-
var de = "18.3.1", H = Symbol.for("react.element"), pe = Symbol.for("react.portal"), te = Symbol.for("react.fragment"), ne = Symbol.for("react.strict_mode"), Z = Symbol.for("react.profiler"), $ = Symbol.for("react.provider"), ee = Symbol.for("react.context"), L = Symbol.for("react.forward_ref"), V = Symbol.for("react.suspense"), re = Symbol.for("react.suspense_list"), J = Symbol.for("react.memo"), se = Symbol.for("react.lazy"), Fe = Symbol.for("react.offscreen"), ae = Symbol.iterator, oe = "@@iterator";
|
223
|
-
function x(e) {
|
224
|
-
if (e === null || typeof e != "object")
|
225
|
-
return null;
|
226
|
-
var r = ae && e[ae] || e[oe];
|
227
|
-
return typeof r == "function" ? r : null;
|
228
|
-
}
|
229
|
-
var ge = {
|
230
|
-
/**
|
231
|
-
* @internal
|
232
|
-
* @type {ReactComponent}
|
233
|
-
*/
|
234
|
-
current: null
|
235
|
-
}, ue = {
|
236
|
-
transition: null
|
237
|
-
}, M = {
|
238
|
-
current: null,
|
239
|
-
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
|
240
|
-
isBatchingLegacy: !1,
|
241
|
-
didScheduleLegacyUpdate: !1
|
242
|
-
}, G = {
|
243
|
-
/**
|
244
|
-
* @internal
|
245
|
-
* @type {ReactComponent}
|
246
|
-
*/
|
247
|
-
current: null
|
248
|
-
}, ce = {}, ve = null;
|
249
|
-
function we(e) {
|
250
|
-
ve = e;
|
251
|
-
}
|
252
|
-
ce.setExtraStackFrame = function(e) {
|
253
|
-
ve = e;
|
254
|
-
}, ce.getCurrentStack = null, ce.getStackAddendum = function() {
|
255
|
-
var e = "";
|
256
|
-
ve && (e += ve);
|
257
|
-
var r = ce.getCurrentStack;
|
258
|
-
return r && (e += r() || ""), e;
|
259
|
-
};
|
260
|
-
var Se = !1, Ye = !1, Te = !1, z = !1, X = !1, U = {
|
261
|
-
ReactCurrentDispatcher: ge,
|
262
|
-
ReactCurrentBatchConfig: ue,
|
263
|
-
ReactCurrentOwner: G
|
264
|
-
};
|
265
|
-
U.ReactDebugCurrentFrame = ce, U.ReactCurrentActQueue = M;
|
266
|
-
function ie(e) {
|
267
|
-
{
|
268
|
-
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
269
|
-
a[o - 1] = arguments[o];
|
270
|
-
fe("warn", e, a);
|
271
|
-
}
|
272
|
-
}
|
273
|
-
function l(e) {
|
274
|
-
{
|
275
|
-
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
276
|
-
a[o - 1] = arguments[o];
|
277
|
-
fe("error", e, a);
|
278
|
-
}
|
279
|
-
}
|
280
|
-
function fe(e, r, a) {
|
281
|
-
{
|
282
|
-
var o = U.ReactDebugCurrentFrame, c = o.getStackAddendum();
|
283
|
-
c !== "" && (r += "%s", a = a.concat([c]));
|
284
|
-
var d = a.map(function(f) {
|
285
|
-
return String(f);
|
286
|
-
});
|
287
|
-
d.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, d);
|
288
|
-
}
|
289
|
-
}
|
290
|
-
var Oe = {};
|
291
|
-
function ye(e, r) {
|
292
|
-
{
|
293
|
-
var a = e.constructor, o = a && (a.displayName || a.name) || "ReactClass", c = o + "." + r;
|
294
|
-
if (Oe[c])
|
295
|
-
return;
|
296
|
-
l("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", r, o), Oe[c] = !0;
|
297
|
-
}
|
298
|
-
}
|
299
|
-
var n = {
|
300
|
-
/**
|
301
|
-
* Checks whether or not this composite component is mounted.
|
302
|
-
* @param {ReactClass} publicInstance The instance we want to test.
|
303
|
-
* @return {boolean} True if mounted, false otherwise.
|
304
|
-
* @protected
|
305
|
-
* @final
|
306
|
-
*/
|
307
|
-
isMounted: function(e) {
|
308
|
-
return !1;
|
309
|
-
},
|
310
|
-
/**
|
311
|
-
* Forces an update. This should only be invoked when it is known with
|
312
|
-
* certainty that we are **not** in a DOM transaction.
|
313
|
-
*
|
314
|
-
* You may want to call this when you know that some deeper aspect of the
|
315
|
-
* component's state has changed but `setState` was not called.
|
316
|
-
*
|
317
|
-
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
318
|
-
* `componentWillUpdate` and `componentDidUpdate`.
|
319
|
-
*
|
320
|
-
* @param {ReactClass} publicInstance The instance that should rerender.
|
321
|
-
* @param {?function} callback Called after component is updated.
|
322
|
-
* @param {?string} callerName name of the calling function in the public API.
|
323
|
-
* @internal
|
324
|
-
*/
|
325
|
-
enqueueForceUpdate: function(e, r, a) {
|
326
|
-
ye(e, "forceUpdate");
|
327
|
-
},
|
328
|
-
/**
|
329
|
-
* Replaces all of the state. Always use this or `setState` to mutate state.
|
330
|
-
* You should treat `this.state` as immutable.
|
331
|
-
*
|
332
|
-
* There is no guarantee that `this.state` will be immediately updated, so
|
333
|
-
* accessing `this.state` after calling this method may return the old value.
|
334
|
-
*
|
335
|
-
* @param {ReactClass} publicInstance The instance that should rerender.
|
336
|
-
* @param {object} completeState Next state.
|
337
|
-
* @param {?function} callback Called after component is updated.
|
338
|
-
* @param {?string} callerName name of the calling function in the public API.
|
339
|
-
* @internal
|
340
|
-
*/
|
341
|
-
enqueueReplaceState: function(e, r, a, o) {
|
342
|
-
ye(e, "replaceState");
|
343
|
-
},
|
344
|
-
/**
|
345
|
-
* Sets a subset of the state. This only exists because _pendingState is
|
346
|
-
* internal. This provides a merging strategy that is not available to deep
|
347
|
-
* properties which is confusing. TODO: Expose pendingState or don't use it
|
348
|
-
* during the merge.
|
349
|
-
*
|
350
|
-
* @param {ReactClass} publicInstance The instance that should rerender.
|
351
|
-
* @param {object} partialState Next partial state to be merged with state.
|
352
|
-
* @param {?function} callback Called after component is updated.
|
353
|
-
* @param {?string} Name of the calling function in the public API.
|
354
|
-
* @internal
|
355
|
-
*/
|
356
|
-
enqueueSetState: function(e, r, a, o) {
|
357
|
-
ye(e, "setState");
|
358
|
-
}
|
359
|
-
}, i = Object.assign, g = {};
|
360
|
-
Object.freeze(g);
|
361
|
-
function b(e, r, a) {
|
362
|
-
this.props = e, this.context = r, this.refs = g, this.updater = a || n;
|
363
|
-
}
|
364
|
-
b.prototype.isReactComponent = {}, b.prototype.setState = function(e, r) {
|
365
|
-
if (typeof e != "object" && typeof e != "function" && e != null)
|
366
|
-
throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
367
|
-
this.updater.enqueueSetState(this, e, r, "setState");
|
368
|
-
}, b.prototype.forceUpdate = function(e) {
|
369
|
-
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
370
|
-
};
|
371
|
-
{
|
372
|
-
var R = {
|
373
|
-
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
374
|
-
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
375
|
-
}, k = function(e, r) {
|
376
|
-
Object.defineProperty(b.prototype, e, {
|
377
|
-
get: function() {
|
378
|
-
ie("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
|
379
|
-
}
|
380
|
-
});
|
381
|
-
};
|
382
|
-
for (var O in R)
|
383
|
-
R.hasOwnProperty(O) && k(O, R[O]);
|
384
|
-
}
|
385
|
-
function T() {
|
386
|
-
}
|
387
|
-
T.prototype = b.prototype;
|
388
|
-
function w(e, r, a) {
|
389
|
-
this.props = e, this.context = r, this.refs = g, this.updater = a || n;
|
390
|
-
}
|
391
|
-
var W = w.prototype = new T();
|
392
|
-
W.constructor = w, i(W, b.prototype), W.isPureReactComponent = !0;
|
393
|
-
function gr() {
|
394
|
-
var e = {
|
395
|
-
current: null
|
396
|
-
};
|
397
|
-
return Object.seal(e), e;
|
398
|
-
}
|
399
|
-
var Qe = Array.isArray;
|
400
|
-
function $e(e) {
|
401
|
-
return Qe(e);
|
402
|
-
}
|
403
|
-
function _r(e) {
|
404
|
-
{
|
405
|
-
var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
406
|
-
return a;
|
407
|
-
}
|
408
|
-
}
|
409
|
-
function Le(e) {
|
410
|
-
try {
|
411
|
-
return _e(e), !1;
|
412
|
-
} catch {
|
413
|
-
return !0;
|
414
|
-
}
|
415
|
-
}
|
416
|
-
function _e(e) {
|
417
|
-
return "" + e;
|
418
|
-
}
|
419
|
-
function Pe(e) {
|
420
|
-
if (Le(e))
|
421
|
-
return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _r(e)), _e(e);
|
422
|
-
}
|
423
|
-
function Ze(e, r, a) {
|
424
|
-
var o = e.displayName;
|
425
|
-
if (o)
|
426
|
-
return o;
|
427
|
-
var c = r.displayName || r.name || "";
|
428
|
-
return c !== "" ? a + "(" + c + ")" : a;
|
429
|
-
}
|
430
|
-
function ke(e) {
|
431
|
-
return e.displayName || "Context";
|
432
|
-
}
|
433
|
-
function le(e) {
|
434
|
-
if (e == null)
|
435
|
-
return null;
|
436
|
-
if (typeof e.tag == "number" && l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
437
|
-
return e.displayName || e.name || null;
|
438
|
-
if (typeof e == "string")
|
439
|
-
return e;
|
440
|
-
switch (e) {
|
441
|
-
case te:
|
442
|
-
return "Fragment";
|
443
|
-
case pe:
|
444
|
-
return "Portal";
|
445
|
-
case Z:
|
446
|
-
return "Profiler";
|
447
|
-
case ne:
|
448
|
-
return "StrictMode";
|
449
|
-
case V:
|
450
|
-
return "Suspense";
|
451
|
-
case re:
|
452
|
-
return "SuspenseList";
|
453
|
-
}
|
454
|
-
if (typeof e == "object")
|
455
|
-
switch (e.$$typeof) {
|
456
|
-
case ee:
|
457
|
-
var r = e;
|
458
|
-
return ke(r) + ".Consumer";
|
459
|
-
case $:
|
460
|
-
var a = e;
|
461
|
-
return ke(a._context) + ".Provider";
|
462
|
-
case L:
|
463
|
-
return Ze(e, e.render, "ForwardRef");
|
464
|
-
case J:
|
465
|
-
var o = e.displayName || null;
|
466
|
-
return o !== null ? o : le(e.type) || "Memo";
|
467
|
-
case se: {
|
468
|
-
var c = e, d = c._payload, f = c._init;
|
469
|
-
try {
|
470
|
-
return le(f(d));
|
471
|
-
} catch {
|
472
|
-
return null;
|
473
|
-
}
|
474
|
-
}
|
475
|
-
}
|
476
|
-
return null;
|
477
|
-
}
|
478
|
-
var je = Object.prototype.hasOwnProperty, Me = {
|
479
|
-
key: !0,
|
480
|
-
ref: !0,
|
481
|
-
__self: !0,
|
482
|
-
__source: !0
|
483
|
-
}, er, rr, We;
|
484
|
-
We = {};
|
485
|
-
function Be(e) {
|
486
|
-
if (je.call(e, "ref")) {
|
487
|
-
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
488
|
-
if (r && r.isReactWarning)
|
489
|
-
return !1;
|
490
|
-
}
|
491
|
-
return e.ref !== void 0;
|
492
|
-
}
|
493
|
-
function be(e) {
|
494
|
-
if (je.call(e, "key")) {
|
495
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
496
|
-
if (r && r.isReactWarning)
|
497
|
-
return !1;
|
498
|
-
}
|
499
|
-
return e.key !== void 0;
|
500
|
-
}
|
501
|
-
function br(e, r) {
|
502
|
-
var a = function() {
|
503
|
-
er || (er = !0, l("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
504
|
-
};
|
505
|
-
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
506
|
-
get: a,
|
507
|
-
configurable: !0
|
508
|
-
});
|
509
|
-
}
|
510
|
-
function tr(e, r) {
|
511
|
-
var a = function() {
|
512
|
-
rr || (rr = !0, l("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
513
|
-
};
|
514
|
-
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
515
|
-
get: a,
|
516
|
-
configurable: !0
|
517
|
-
});
|
518
|
-
}
|
519
|
-
function nr(e) {
|
520
|
-
if (typeof e.ref == "string" && G.current && e.__self && G.current.stateNode !== e.__self) {
|
521
|
-
var r = le(G.current.type);
|
522
|
-
We[r] || (l('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', r, e.ref), We[r] = !0);
|
523
|
-
}
|
524
|
-
}
|
525
|
-
var Ae = function(e, r, a, o, c, d, f) {
|
526
|
-
var y = {
|
527
|
-
// This tag allows us to uniquely identify this as a React Element
|
528
|
-
$$typeof: H,
|
529
|
-
// Built-in properties that belong on the element
|
530
|
-
type: e,
|
531
|
-
key: r,
|
532
|
-
ref: a,
|
533
|
-
props: f,
|
534
|
-
// Record the component responsible for creating this element.
|
535
|
-
_owner: d
|
536
|
-
};
|
537
|
-
return y._store = {}, Object.defineProperty(y._store, "validated", {
|
538
|
-
configurable: !1,
|
539
|
-
enumerable: !1,
|
540
|
-
writable: !0,
|
541
|
-
value: !1
|
542
|
-
}), Object.defineProperty(y, "_self", {
|
543
|
-
configurable: !1,
|
544
|
-
enumerable: !1,
|
545
|
-
writable: !1,
|
546
|
-
value: o
|
547
|
-
}), Object.defineProperty(y, "_source", {
|
548
|
-
configurable: !1,
|
549
|
-
enumerable: !1,
|
550
|
-
writable: !1,
|
551
|
-
value: c
|
552
|
-
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
|
553
|
-
};
|
554
|
-
function Er(e, r, a) {
|
555
|
-
var o, c = {}, d = null, f = null, y = null, E = null;
|
556
|
-
if (r != null) {
|
557
|
-
Be(r) && (f = r.ref, nr(r)), be(r) && (Pe(r.key), d = "" + r.key), y = r.__self === void 0 ? null : r.__self, E = r.__source === void 0 ? null : r.__source;
|
558
|
-
for (o in r)
|
559
|
-
je.call(r, o) && !Me.hasOwnProperty(o) && (c[o] = r[o]);
|
560
|
-
}
|
561
|
-
var P = arguments.length - 2;
|
562
|
-
if (P === 1)
|
563
|
-
c.children = a;
|
564
|
-
else if (P > 1) {
|
565
|
-
for (var j = Array(P), A = 0; A < P; A++)
|
566
|
-
j[A] = arguments[A + 2];
|
567
|
-
Object.freeze && Object.freeze(j), c.children = j;
|
568
|
-
}
|
569
|
-
if (e && e.defaultProps) {
|
570
|
-
var I = e.defaultProps;
|
571
|
-
for (o in I)
|
572
|
-
c[o] === void 0 && (c[o] = I[o]);
|
573
|
-
}
|
574
|
-
if (d || f) {
|
575
|
-
var N = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
576
|
-
d && br(c, N), f && tr(c, N);
|
577
|
-
}
|
578
|
-
return Ae(e, d, f, y, E, G.current, c);
|
579
|
-
}
|
580
|
-
function Rr(e, r) {
|
581
|
-
var a = Ae(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
|
582
|
-
return a;
|
583
|
-
}
|
584
|
-
function Cr(e, r, a) {
|
585
|
-
if (e == null)
|
586
|
-
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
587
|
-
var o, c = i({}, e.props), d = e.key, f = e.ref, y = e._self, E = e._source, P = e._owner;
|
588
|
-
if (r != null) {
|
589
|
-
Be(r) && (f = r.ref, P = G.current), be(r) && (Pe(r.key), d = "" + r.key);
|
590
|
-
var j;
|
591
|
-
e.type && e.type.defaultProps && (j = e.type.defaultProps);
|
592
|
-
for (o in r)
|
593
|
-
je.call(r, o) && !Me.hasOwnProperty(o) && (r[o] === void 0 && j !== void 0 ? c[o] = j[o] : c[o] = r[o]);
|
594
|
-
}
|
595
|
-
var A = arguments.length - 2;
|
596
|
-
if (A === 1)
|
597
|
-
c.children = a;
|
598
|
-
else if (A > 1) {
|
599
|
-
for (var I = Array(A), N = 0; N < A; N++)
|
600
|
-
I[N] = arguments[N + 2];
|
601
|
-
c.children = I;
|
602
|
-
}
|
603
|
-
return Ae(e.type, d, f, y, E, P, c);
|
604
|
-
}
|
605
|
-
function Ee(e) {
|
606
|
-
return typeof e == "object" && e !== null && e.$$typeof === H;
|
607
|
-
}
|
608
|
-
var ar = ".", wr = ":";
|
609
|
-
function Sr(e) {
|
610
|
-
var r = /[=:]/g, a = {
|
611
|
-
"=": "=0",
|
612
|
-
":": "=2"
|
613
|
-
}, o = e.replace(r, function(c) {
|
614
|
-
return a[c];
|
615
|
-
});
|
616
|
-
return "$" + o;
|
617
|
-
}
|
618
|
-
var Ne = !1, or = /\/+/g;
|
619
|
-
function he(e) {
|
620
|
-
return e.replace(or, "$&/");
|
621
|
-
}
|
622
|
-
function xe(e, r) {
|
623
|
-
return typeof e == "object" && e !== null && e.key != null ? (Pe(e.key), Sr("" + e.key)) : r.toString(36);
|
624
|
-
}
|
625
|
-
function Re(e, r, a, o, c) {
|
626
|
-
var d = typeof e;
|
627
|
-
(d === "undefined" || d === "boolean") && (e = null);
|
628
|
-
var f = !1;
|
629
|
-
if (e === null)
|
630
|
-
f = !0;
|
631
|
-
else
|
632
|
-
switch (d) {
|
633
|
-
case "string":
|
634
|
-
case "number":
|
635
|
-
f = !0;
|
636
|
-
break;
|
637
|
-
case "object":
|
638
|
-
switch (e.$$typeof) {
|
639
|
-
case H:
|
640
|
-
case pe:
|
641
|
-
f = !0;
|
642
|
-
}
|
643
|
-
}
|
644
|
-
if (f) {
|
645
|
-
var y = e, E = c(y), P = o === "" ? ar + xe(y, 0) : o;
|
646
|
-
if ($e(E)) {
|
647
|
-
var j = "";
|
648
|
-
P != null && (j = he(P) + "/"), Re(E, r, j, "", function(Mt) {
|
649
|
-
return Mt;
|
650
|
-
});
|
651
|
-
} else E != null && (Ee(E) && (E.key && (!y || y.key !== E.key) && Pe(E.key), E = Rr(
|
652
|
-
E,
|
653
|
-
// Keep both the (mapped) and old keys if they differ, just as
|
654
|
-
// traverseAllChildren used to do for objects as children
|
655
|
-
a + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
656
|
-
(E.key && (!y || y.key !== E.key) ? (
|
657
|
-
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
658
|
-
// eslint-disable-next-line react-internal/safe-string-coercion
|
659
|
-
he("" + E.key) + "/"
|
660
|
-
) : "") + P
|
661
|
-
)), r.push(E));
|
662
|
-
return 1;
|
663
|
-
}
|
664
|
-
var A, I, N = 0, B = o === "" ? ar : o + wr;
|
665
|
-
if ($e(e))
|
666
|
-
for (var mr = 0; mr < e.length; mr++)
|
667
|
-
A = e[mr], I = B + xe(A, mr), N += Re(A, r, a, I, c);
|
668
|
-
else {
|
669
|
-
var Nr = x(e);
|
670
|
-
if (typeof Nr == "function") {
|
671
|
-
var ft = e;
|
672
|
-
Nr === ft.entries && (Ne || ie("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Ne = !0);
|
673
|
-
for (var $t = Nr.call(ft), lt, Lt = 0; !(lt = $t.next()).done; )
|
674
|
-
A = lt.value, I = B + xe(A, Lt++), N += Re(A, r, a, I, c);
|
675
|
-
} else if (d === "object") {
|
676
|
-
var dt = String(e);
|
677
|
-
throw new Error("Objects are not valid as a React child (found: " + (dt === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : dt) + "). If you meant to render a collection of children, use an array instead.");
|
678
|
-
}
|
679
|
-
}
|
680
|
-
return N;
|
681
|
-
}
|
682
|
-
function De(e, r, a) {
|
683
|
-
if (e == null)
|
684
|
-
return e;
|
685
|
-
var o = [], c = 0;
|
686
|
-
return Re(e, o, "", "", function(d) {
|
687
|
-
return r.call(a, d, c++);
|
688
|
-
}), o;
|
689
|
-
}
|
690
|
-
function Tr(e) {
|
691
|
-
var r = 0;
|
692
|
-
return De(e, function() {
|
693
|
-
r++;
|
694
|
-
}), r;
|
695
|
-
}
|
696
|
-
function ur(e, r, a) {
|
697
|
-
De(e, function() {
|
698
|
-
r.apply(this, arguments);
|
699
|
-
}, a);
|
700
|
-
}
|
701
|
-
function Or(e) {
|
702
|
-
return De(e, function(r) {
|
703
|
-
return r;
|
704
|
-
}) || [];
|
705
|
-
}
|
706
|
-
function ir(e) {
|
707
|
-
if (!Ee(e))
|
708
|
-
throw new Error("React.Children.only expected to receive a single React element child.");
|
709
|
-
return e;
|
710
|
-
}
|
711
|
-
function sr(e) {
|
712
|
-
var r = {
|
713
|
-
$$typeof: ee,
|
714
|
-
// As a workaround to support multiple concurrent renderers, we categorize
|
715
|
-
// some renderers as primary and others as secondary. We only expect
|
716
|
-
// there to be two concurrent renderers at most: React Native (primary) and
|
717
|
-
// Fabric (secondary); React DOM (primary) and React ART (secondary).
|
718
|
-
// Secondary renderers store their context values on separate fields.
|
719
|
-
_currentValue: e,
|
720
|
-
_currentValue2: e,
|
721
|
-
// Used to track how many concurrent renderers this context currently
|
722
|
-
// supports within in a single renderer. Such as parallel server rendering.
|
723
|
-
_threadCount: 0,
|
724
|
-
// These are circular
|
725
|
-
Provider: null,
|
726
|
-
Consumer: null,
|
727
|
-
// Add these to use same hidden class in VM as ServerContext
|
728
|
-
_defaultValue: null,
|
729
|
-
_globalName: null
|
730
|
-
};
|
731
|
-
r.Provider = {
|
732
|
-
$$typeof: $,
|
733
|
-
_context: r
|
734
|
-
};
|
735
|
-
var a = !1, o = !1, c = !1;
|
736
|
-
{
|
737
|
-
var d = {
|
738
|
-
$$typeof: ee,
|
739
|
-
_context: r
|
740
|
-
};
|
741
|
-
Object.defineProperties(d, {
|
742
|
-
Provider: {
|
743
|
-
get: function() {
|
744
|
-
return o || (o = !0, l("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), r.Provider;
|
745
|
-
},
|
746
|
-
set: function(f) {
|
747
|
-
r.Provider = f;
|
748
|
-
}
|
749
|
-
},
|
750
|
-
_currentValue: {
|
751
|
-
get: function() {
|
752
|
-
return r._currentValue;
|
753
|
-
},
|
754
|
-
set: function(f) {
|
755
|
-
r._currentValue = f;
|
756
|
-
}
|
757
|
-
},
|
758
|
-
_currentValue2: {
|
759
|
-
get: function() {
|
760
|
-
return r._currentValue2;
|
761
|
-
},
|
762
|
-
set: function(f) {
|
763
|
-
r._currentValue2 = f;
|
764
|
-
}
|
765
|
-
},
|
766
|
-
_threadCount: {
|
767
|
-
get: function() {
|
768
|
-
return r._threadCount;
|
769
|
-
},
|
770
|
-
set: function(f) {
|
771
|
-
r._threadCount = f;
|
772
|
-
}
|
773
|
-
},
|
774
|
-
Consumer: {
|
775
|
-
get: function() {
|
776
|
-
return a || (a = !0, l("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), r.Consumer;
|
777
|
-
}
|
778
|
-
},
|
779
|
-
displayName: {
|
780
|
-
get: function() {
|
781
|
-
return r.displayName;
|
782
|
-
},
|
783
|
-
set: function(f) {
|
784
|
-
c || (ie("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", f), c = !0);
|
785
|
-
}
|
786
|
-
}
|
787
|
-
}), r.Consumer = d;
|
788
|
-
}
|
789
|
-
return r._currentRenderer = null, r._currentRenderer2 = null, r;
|
790
|
-
}
|
791
|
-
var Ie = -1, ze = 0, qe = 1, cr = 2;
|
792
|
-
function Pr(e) {
|
793
|
-
if (e._status === Ie) {
|
794
|
-
var r = e._result, a = r();
|
795
|
-
if (a.then(function(d) {
|
796
|
-
if (e._status === ze || e._status === Ie) {
|
797
|
-
var f = e;
|
798
|
-
f._status = qe, f._result = d;
|
799
|
-
}
|
800
|
-
}, function(d) {
|
801
|
-
if (e._status === ze || e._status === Ie) {
|
802
|
-
var f = e;
|
803
|
-
f._status = cr, f._result = d;
|
804
|
-
}
|
805
|
-
}), e._status === Ie) {
|
806
|
-
var o = e;
|
807
|
-
o._status = ze, o._result = a;
|
808
|
-
}
|
809
|
-
}
|
810
|
-
if (e._status === qe) {
|
811
|
-
var c = e._result;
|
812
|
-
return c === void 0 && l(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
813
|
-
|
814
|
-
Your code should look like:
|
815
|
-
const MyComponent = lazy(() => import('./MyComponent'))
|
816
|
-
|
817
|
-
Did you accidentally put curly braces around the import?`, c), "default" in c || l(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
818
|
-
|
819
|
-
Your code should look like:
|
820
|
-
const MyComponent = lazy(() => import('./MyComponent'))`, c), c.default;
|
821
|
-
} else
|
822
|
-
throw e._result;
|
823
|
-
}
|
824
|
-
function kr(e) {
|
825
|
-
var r = {
|
826
|
-
// We use these fields to store the result.
|
827
|
-
_status: Ie,
|
828
|
-
_result: e
|
829
|
-
}, a = {
|
830
|
-
$$typeof: se,
|
831
|
-
_payload: r,
|
832
|
-
_init: Pr
|
833
|
-
};
|
834
|
-
{
|
835
|
-
var o, c;
|
836
|
-
Object.defineProperties(a, {
|
837
|
-
defaultProps: {
|
838
|
-
configurable: !0,
|
839
|
-
get: function() {
|
840
|
-
return o;
|
841
|
-
},
|
842
|
-
set: function(d) {
|
843
|
-
l("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), o = d, Object.defineProperty(a, "defaultProps", {
|
844
|
-
enumerable: !0
|
845
|
-
});
|
846
|
-
}
|
847
|
-
},
|
848
|
-
propTypes: {
|
849
|
-
configurable: !0,
|
850
|
-
get: function() {
|
851
|
-
return c;
|
852
|
-
},
|
853
|
-
set: function(d) {
|
854
|
-
l("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), c = d, Object.defineProperty(a, "propTypes", {
|
855
|
-
enumerable: !0
|
856
|
-
});
|
857
|
-
}
|
858
|
-
}
|
859
|
-
});
|
860
|
-
}
|
861
|
-
return a;
|
862
|
-
}
|
863
|
-
function jr(e) {
|
864
|
-
e != null && e.$$typeof === J ? l("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? l("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && l("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && l("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
|
865
|
-
var r = {
|
866
|
-
$$typeof: L,
|
867
|
-
render: e
|
868
|
-
};
|
869
|
-
{
|
870
|
-
var a;
|
871
|
-
Object.defineProperty(r, "displayName", {
|
872
|
-
enumerable: !1,
|
873
|
-
configurable: !0,
|
874
|
-
get: function() {
|
875
|
-
return a;
|
876
|
-
},
|
877
|
-
set: function(o) {
|
878
|
-
a = o, !e.name && !e.displayName && (e.displayName = o);
|
879
|
-
}
|
880
|
-
});
|
881
|
-
}
|
882
|
-
return r;
|
883
|
-
}
|
884
|
-
var fr;
|
885
|
-
fr = Symbol.for("react.module.reference");
|
886
|
-
function t(e) {
|
887
|
-
return !!(typeof e == "string" || typeof e == "function" || e === te || e === Z || X || e === ne || e === V || e === re || z || e === Fe || Se || Ye || Te || typeof e == "object" && e !== null && (e.$$typeof === se || e.$$typeof === J || e.$$typeof === $ || e.$$typeof === ee || e.$$typeof === L || // This needs to include all possible module reference object
|
888
|
-
// types supported by any Flight configuration anywhere since
|
889
|
-
// we don't know which Flight build this will end up being used
|
890
|
-
// with.
|
891
|
-
e.$$typeof === fr || e.getModuleId !== void 0));
|
892
|
-
}
|
893
|
-
function u(e, r) {
|
894
|
-
t(e) || l("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
895
|
-
var a = {
|
896
|
-
$$typeof: J,
|
897
|
-
type: e,
|
898
|
-
compare: r === void 0 ? null : r
|
899
|
-
};
|
900
|
-
{
|
901
|
-
var o;
|
902
|
-
Object.defineProperty(a, "displayName", {
|
903
|
-
enumerable: !1,
|
904
|
-
configurable: !0,
|
905
|
-
get: function() {
|
906
|
-
return o;
|
907
|
-
},
|
908
|
-
set: function(c) {
|
909
|
-
o = c, !e.name && !e.displayName && (e.displayName = c);
|
910
|
-
}
|
911
|
-
});
|
912
|
-
}
|
913
|
-
return a;
|
914
|
-
}
|
915
|
-
function s() {
|
916
|
-
var e = ge.current;
|
917
|
-
return e === null && l(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
918
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
919
|
-
2. You might be breaking the Rules of Hooks
|
920
|
-
3. You might have more than one copy of React in the same app
|
921
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
|
922
|
-
}
|
923
|
-
function p(e) {
|
924
|
-
var r = s();
|
925
|
-
if (e._context !== void 0) {
|
926
|
-
var a = e._context;
|
927
|
-
a.Consumer === e ? l("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : a.Provider === e && l("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
|
928
|
-
}
|
929
|
-
return r.useContext(e);
|
930
|
-
}
|
931
|
-
function C(e) {
|
932
|
-
var r = s();
|
933
|
-
return r.useState(e);
|
934
|
-
}
|
935
|
-
function S(e, r, a) {
|
936
|
-
var o = s();
|
937
|
-
return o.useReducer(e, r, a);
|
938
|
-
}
|
939
|
-
function _(e) {
|
940
|
-
var r = s();
|
941
|
-
return r.useRef(e);
|
942
|
-
}
|
943
|
-
function h(e, r) {
|
944
|
-
var a = s();
|
945
|
-
return a.useEffect(e, r);
|
946
|
-
}
|
947
|
-
function Y(e, r) {
|
948
|
-
var a = s();
|
949
|
-
return a.useInsertionEffect(e, r);
|
950
|
-
}
|
951
|
-
function D(e, r) {
|
952
|
-
var a = s();
|
953
|
-
return a.useLayoutEffect(e, r);
|
954
|
-
}
|
955
|
-
function F(e, r) {
|
956
|
-
var a = s();
|
957
|
-
return a.useCallback(e, r);
|
958
|
-
}
|
959
|
-
function Q(e, r) {
|
960
|
-
var a = s();
|
961
|
-
return a.useMemo(e, r);
|
962
|
-
}
|
963
|
-
function Ce(e, r, a) {
|
964
|
-
var o = s();
|
965
|
-
return o.useImperativeHandle(e, r, a);
|
966
|
-
}
|
967
|
-
function me(e, r) {
|
968
|
-
{
|
969
|
-
var a = s();
|
970
|
-
return a.useDebugValue(e, r);
|
971
|
-
}
|
972
|
-
}
|
973
|
-
function q() {
|
974
|
-
var e = s();
|
975
|
-
return e.useTransition();
|
976
|
-
}
|
977
|
-
function Ke(e) {
|
978
|
-
var r = s();
|
979
|
-
return r.useDeferredValue(e);
|
980
|
-
}
|
981
|
-
function Ar() {
|
982
|
-
var e = s();
|
983
|
-
return e.useId();
|
984
|
-
}
|
985
|
-
function xr(e, r, a) {
|
986
|
-
var o = s();
|
987
|
-
return o.useSyncExternalStore(e, r, a);
|
988
|
-
}
|
989
|
-
var He = 0, Yr, Br, zr, qr, Kr, Hr, Gr;
|
990
|
-
function Jr() {
|
991
|
-
}
|
992
|
-
Jr.__reactDisabledLog = !0;
|
993
|
-
function gt() {
|
994
|
-
{
|
995
|
-
if (He === 0) {
|
996
|
-
Yr = console.log, Br = console.info, zr = console.warn, qr = console.error, Kr = console.group, Hr = console.groupCollapsed, Gr = console.groupEnd;
|
997
|
-
var e = {
|
998
|
-
configurable: !0,
|
999
|
-
enumerable: !0,
|
1000
|
-
value: Jr,
|
1001
|
-
writable: !0
|
1002
|
-
};
|
1003
|
-
Object.defineProperties(console, {
|
1004
|
-
info: e,
|
1005
|
-
log: e,
|
1006
|
-
warn: e,
|
1007
|
-
error: e,
|
1008
|
-
group: e,
|
1009
|
-
groupCollapsed: e,
|
1010
|
-
groupEnd: e
|
1011
|
-
});
|
1012
|
-
}
|
1013
|
-
He++;
|
1014
|
-
}
|
1015
|
-
}
|
1016
|
-
function _t() {
|
1017
|
-
{
|
1018
|
-
if (He--, He === 0) {
|
1019
|
-
var e = {
|
1020
|
-
configurable: !0,
|
1021
|
-
enumerable: !0,
|
1022
|
-
writable: !0
|
1023
|
-
};
|
1024
|
-
Object.defineProperties(console, {
|
1025
|
-
log: i({}, e, {
|
1026
|
-
value: Yr
|
1027
|
-
}),
|
1028
|
-
info: i({}, e, {
|
1029
|
-
value: Br
|
1030
|
-
}),
|
1031
|
-
warn: i({}, e, {
|
1032
|
-
value: zr
|
1033
|
-
}),
|
1034
|
-
error: i({}, e, {
|
1035
|
-
value: qr
|
1036
|
-
}),
|
1037
|
-
group: i({}, e, {
|
1038
|
-
value: Kr
|
1039
|
-
}),
|
1040
|
-
groupCollapsed: i({}, e, {
|
1041
|
-
value: Hr
|
1042
|
-
}),
|
1043
|
-
groupEnd: i({}, e, {
|
1044
|
-
value: Gr
|
1045
|
-
})
|
1046
|
-
});
|
1047
|
-
}
|
1048
|
-
He < 0 && l("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
1049
|
-
}
|
1050
|
-
}
|
1051
|
-
var Dr = U.ReactCurrentDispatcher, Ir;
|
1052
|
-
function lr(e, r, a) {
|
1053
|
-
{
|
1054
|
-
if (Ir === void 0)
|
1055
|
-
try {
|
1056
|
-
throw Error();
|
1057
|
-
} catch (c) {
|
1058
|
-
var o = c.stack.trim().match(/\n( *(at )?)/);
|
1059
|
-
Ir = o && o[1] || "";
|
1060
|
-
}
|
1061
|
-
return `
|
1062
|
-
` + Ir + e;
|
1063
|
-
}
|
1064
|
-
}
|
1065
|
-
var Fr = !1, dr;
|
1066
|
-
{
|
1067
|
-
var bt = typeof WeakMap == "function" ? WeakMap : Map;
|
1068
|
-
dr = new bt();
|
1069
|
-
}
|
1070
|
-
function Xr(e, r) {
|
1071
|
-
if (!e || Fr)
|
1072
|
-
return "";
|
1073
|
-
{
|
1074
|
-
var a = dr.get(e);
|
1075
|
-
if (a !== void 0)
|
1076
|
-
return a;
|
1077
|
-
}
|
1078
|
-
var o;
|
1079
|
-
Fr = !0;
|
1080
|
-
var c = Error.prepareStackTrace;
|
1081
|
-
Error.prepareStackTrace = void 0;
|
1082
|
-
var d;
|
1083
|
-
d = Dr.current, Dr.current = null, gt();
|
1084
|
-
try {
|
1085
|
-
if (r) {
|
1086
|
-
var f = function() {
|
1087
|
-
throw Error();
|
1088
|
-
};
|
1089
|
-
if (Object.defineProperty(f.prototype, "props", {
|
1090
|
-
set: function() {
|
1091
|
-
throw Error();
|
1092
|
-
}
|
1093
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
1094
|
-
try {
|
1095
|
-
Reflect.construct(f, []);
|
1096
|
-
} catch (B) {
|
1097
|
-
o = B;
|
1098
|
-
}
|
1099
|
-
Reflect.construct(e, [], f);
|
1100
|
-
} else {
|
1101
|
-
try {
|
1102
|
-
f.call();
|
1103
|
-
} catch (B) {
|
1104
|
-
o = B;
|
1105
|
-
}
|
1106
|
-
e.call(f.prototype);
|
1107
|
-
}
|
1108
|
-
} else {
|
1109
|
-
try {
|
1110
|
-
throw Error();
|
1111
|
-
} catch (B) {
|
1112
|
-
o = B;
|
1113
|
-
}
|
1114
|
-
e();
|
1115
|
-
}
|
1116
|
-
} catch (B) {
|
1117
|
-
if (B && o && typeof B.stack == "string") {
|
1118
|
-
for (var y = B.stack.split(`
|
1119
|
-
`), E = o.stack.split(`
|
1120
|
-
`), P = y.length - 1, j = E.length - 1; P >= 1 && j >= 0 && y[P] !== E[j]; )
|
1121
|
-
j--;
|
1122
|
-
for (; P >= 1 && j >= 0; P--, j--)
|
1123
|
-
if (y[P] !== E[j]) {
|
1124
|
-
if (P !== 1 || j !== 1)
|
1125
|
-
do
|
1126
|
-
if (P--, j--, j < 0 || y[P] !== E[j]) {
|
1127
|
-
var A = `
|
1128
|
-
` + y[P].replace(" at new ", " at ");
|
1129
|
-
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && dr.set(e, A), A;
|
1130
|
-
}
|
1131
|
-
while (P >= 1 && j >= 0);
|
1132
|
-
break;
|
1133
|
-
}
|
1134
|
-
}
|
1135
|
-
} finally {
|
1136
|
-
Fr = !1, Dr.current = d, _t(), Error.prepareStackTrace = c;
|
1137
|
-
}
|
1138
|
-
var I = e ? e.displayName || e.name : "", N = I ? lr(I) : "";
|
1139
|
-
return typeof e == "function" && dr.set(e, N), N;
|
1140
|
-
}
|
1141
|
-
function Et(e, r, a) {
|
1142
|
-
return Xr(e, !1);
|
1143
|
-
}
|
1144
|
-
function Rt(e) {
|
1145
|
-
var r = e.prototype;
|
1146
|
-
return !!(r && r.isReactComponent);
|
1147
|
-
}
|
1148
|
-
function pr(e, r, a) {
|
1149
|
-
if (e == null)
|
1150
|
-
return "";
|
1151
|
-
if (typeof e == "function")
|
1152
|
-
return Xr(e, Rt(e));
|
1153
|
-
if (typeof e == "string")
|
1154
|
-
return lr(e);
|
1155
|
-
switch (e) {
|
1156
|
-
case V:
|
1157
|
-
return lr("Suspense");
|
1158
|
-
case re:
|
1159
|
-
return lr("SuspenseList");
|
1160
|
-
}
|
1161
|
-
if (typeof e == "object")
|
1162
|
-
switch (e.$$typeof) {
|
1163
|
-
case L:
|
1164
|
-
return Et(e.render);
|
1165
|
-
case J:
|
1166
|
-
return pr(e.type, r, a);
|
1167
|
-
case se: {
|
1168
|
-
var o = e, c = o._payload, d = o._init;
|
1169
|
-
try {
|
1170
|
-
return pr(d(c), r, a);
|
1171
|
-
} catch {
|
1172
|
-
}
|
1173
|
-
}
|
1174
|
-
}
|
1175
|
-
return "";
|
1176
|
-
}
|
1177
|
-
var Qr = {}, Zr = U.ReactDebugCurrentFrame;
|
1178
|
-
function vr(e) {
|
1179
|
-
if (e) {
|
1180
|
-
var r = e._owner, a = pr(e.type, e._source, r ? r.type : null);
|
1181
|
-
Zr.setExtraStackFrame(a);
|
1182
|
-
} else
|
1183
|
-
Zr.setExtraStackFrame(null);
|
1184
|
-
}
|
1185
|
-
function Ct(e, r, a, o, c) {
|
1186
|
-
{
|
1187
|
-
var d = Function.call.bind(je);
|
1188
|
-
for (var f in e)
|
1189
|
-
if (d(e, f)) {
|
1190
|
-
var y = void 0;
|
1191
|
-
try {
|
1192
|
-
if (typeof e[f] != "function") {
|
1193
|
-
var E = Error((o || "React class") + ": " + a + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
1194
|
-
throw E.name = "Invariant Violation", E;
|
1195
|
-
}
|
1196
|
-
y = e[f](r, f, o, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
1197
|
-
} catch (P) {
|
1198
|
-
y = P;
|
1199
|
-
}
|
1200
|
-
y && !(y instanceof Error) && (vr(c), l("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", a, f, typeof y), vr(null)), y instanceof Error && !(y.message in Qr) && (Qr[y.message] = !0, vr(c), l("Failed %s type: %s", a, y.message), vr(null));
|
1201
|
-
}
|
1202
|
-
}
|
1203
|
-
}
|
1204
|
-
function Ve(e) {
|
1205
|
-
if (e) {
|
1206
|
-
var r = e._owner, a = pr(e.type, e._source, r ? r.type : null);
|
1207
|
-
we(a);
|
1208
|
-
} else
|
1209
|
-
we(null);
|
1210
|
-
}
|
1211
|
-
var $r;
|
1212
|
-
$r = !1;
|
1213
|
-
function et() {
|
1214
|
-
if (G.current) {
|
1215
|
-
var e = le(G.current.type);
|
1216
|
-
if (e)
|
1217
|
-
return `
|
1218
|
-
|
1219
|
-
Check the render method of \`` + e + "`.";
|
1220
|
-
}
|
1221
|
-
return "";
|
1222
|
-
}
|
1223
|
-
function wt(e) {
|
1224
|
-
if (e !== void 0) {
|
1225
|
-
var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
|
1226
|
-
return `
|
1227
|
-
|
1228
|
-
Check your code at ` + r + ":" + a + ".";
|
1229
|
-
}
|
1230
|
-
return "";
|
1231
|
-
}
|
1232
|
-
function St(e) {
|
1233
|
-
return e != null ? wt(e.__source) : "";
|
1234
|
-
}
|
1235
|
-
var rt = {};
|
1236
|
-
function Tt(e) {
|
1237
|
-
var r = et();
|
1238
|
-
if (!r) {
|
1239
|
-
var a = typeof e == "string" ? e : e.displayName || e.name;
|
1240
|
-
a && (r = `
|
1241
|
-
|
1242
|
-
Check the top-level render call using <` + a + ">.");
|
1243
|
-
}
|
1244
|
-
return r;
|
1245
|
-
}
|
1246
|
-
function tt(e, r) {
|
1247
|
-
if (!(!e._store || e._store.validated || e.key != null)) {
|
1248
|
-
e._store.validated = !0;
|
1249
|
-
var a = Tt(r);
|
1250
|
-
if (!rt[a]) {
|
1251
|
-
rt[a] = !0;
|
1252
|
-
var o = "";
|
1253
|
-
e && e._owner && e._owner !== G.current && (o = " It was passed a child from " + le(e._owner.type) + "."), Ve(e), l('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, o), Ve(null);
|
1254
|
-
}
|
1255
|
-
}
|
1256
|
-
}
|
1257
|
-
function nt(e, r) {
|
1258
|
-
if (typeof e == "object") {
|
1259
|
-
if ($e(e))
|
1260
|
-
for (var a = 0; a < e.length; a++) {
|
1261
|
-
var o = e[a];
|
1262
|
-
Ee(o) && tt(o, r);
|
1263
|
-
}
|
1264
|
-
else if (Ee(e))
|
1265
|
-
e._store && (e._store.validated = !0);
|
1266
|
-
else if (e) {
|
1267
|
-
var c = x(e);
|
1268
|
-
if (typeof c == "function" && c !== e.entries)
|
1269
|
-
for (var d = c.call(e), f; !(f = d.next()).done; )
|
1270
|
-
Ee(f.value) && tt(f.value, r);
|
1271
|
-
}
|
1272
|
-
}
|
1273
|
-
}
|
1274
|
-
function at(e) {
|
1275
|
-
{
|
1276
|
-
var r = e.type;
|
1277
|
-
if (r == null || typeof r == "string")
|
1278
|
-
return;
|
1279
|
-
var a;
|
1280
|
-
if (typeof r == "function")
|
1281
|
-
a = r.propTypes;
|
1282
|
-
else if (typeof r == "object" && (r.$$typeof === L || // Note: Memo only checks outer props here.
|
1283
|
-
// Inner props are checked in the reconciler.
|
1284
|
-
r.$$typeof === J))
|
1285
|
-
a = r.propTypes;
|
1286
|
-
else
|
1287
|
-
return;
|
1288
|
-
if (a) {
|
1289
|
-
var o = le(r);
|
1290
|
-
Ct(a, e.props, "prop", o, e);
|
1291
|
-
} else if (r.PropTypes !== void 0 && !$r) {
|
1292
|
-
$r = !0;
|
1293
|
-
var c = le(r);
|
1294
|
-
l("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", c || "Unknown");
|
1295
|
-
}
|
1296
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && l("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
1297
|
-
}
|
1298
|
-
}
|
1299
|
-
function Ot(e) {
|
1300
|
-
{
|
1301
|
-
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
|
1302
|
-
var o = r[a];
|
1303
|
-
if (o !== "children" && o !== "key") {
|
1304
|
-
Ve(e), l("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), Ve(null);
|
1305
|
-
break;
|
1306
|
-
}
|
1307
|
-
}
|
1308
|
-
e.ref !== null && (Ve(e), l("Invalid attribute `ref` supplied to `React.Fragment`."), Ve(null));
|
1309
|
-
}
|
1310
|
-
}
|
1311
|
-
function ot(e, r, a) {
|
1312
|
-
var o = t(e);
|
1313
|
-
if (!o) {
|
1314
|
-
var c = "";
|
1315
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
1316
|
-
var d = St(r);
|
1317
|
-
d ? c += d : c += et();
|
1318
|
-
var f;
|
1319
|
-
e === null ? f = "null" : $e(e) ? f = "array" : e !== void 0 && e.$$typeof === H ? (f = "<" + (le(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : f = typeof e, l("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", f, c);
|
1320
|
-
}
|
1321
|
-
var y = Er.apply(this, arguments);
|
1322
|
-
if (y == null)
|
1323
|
-
return y;
|
1324
|
-
if (o)
|
1325
|
-
for (var E = 2; E < arguments.length; E++)
|
1326
|
-
nt(arguments[E], e);
|
1327
|
-
return e === te ? Ot(y) : at(y), y;
|
1328
|
-
}
|
1329
|
-
var ut = !1;
|
1330
|
-
function Pt(e) {
|
1331
|
-
var r = ot.bind(null, e);
|
1332
|
-
return r.type = e, ut || (ut = !0, ie("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(r, "type", {
|
1333
|
-
enumerable: !1,
|
1334
|
-
get: function() {
|
1335
|
-
return ie("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
|
1336
|
-
value: e
|
1337
|
-
}), e;
|
1338
|
-
}
|
1339
|
-
}), r;
|
1340
|
-
}
|
1341
|
-
function kt(e, r, a) {
|
1342
|
-
for (var o = Cr.apply(this, arguments), c = 2; c < arguments.length; c++)
|
1343
|
-
nt(arguments[c], o.type);
|
1344
|
-
return at(o), o;
|
1345
|
-
}
|
1346
|
-
function jt(e, r) {
|
1347
|
-
var a = ue.transition;
|
1348
|
-
ue.transition = {};
|
1349
|
-
var o = ue.transition;
|
1350
|
-
ue.transition._updatedFibers = /* @__PURE__ */ new Set();
|
1351
|
-
try {
|
1352
|
-
e();
|
1353
|
-
} finally {
|
1354
|
-
if (ue.transition = a, a === null && o._updatedFibers) {
|
1355
|
-
var c = o._updatedFibers.size;
|
1356
|
-
c > 10 && ie("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), o._updatedFibers.clear();
|
1357
|
-
}
|
1358
|
-
}
|
1359
|
-
}
|
1360
|
-
var it = !1, yr = null;
|
1361
|
-
function At(e) {
|
1362
|
-
if (yr === null)
|
1363
|
-
try {
|
1364
|
-
var r = ("require" + Math.random()).slice(0, 7), a = K && K[r];
|
1365
|
-
yr = a.call(K, "timers").setImmediate;
|
1366
|
-
} catch {
|
1367
|
-
yr = function(c) {
|
1368
|
-
it === !1 && (it = !0, typeof MessageChannel > "u" && l("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
|
1369
|
-
var d = new MessageChannel();
|
1370
|
-
d.port1.onmessage = c, d.port2.postMessage(void 0);
|
1371
|
-
};
|
1372
|
-
}
|
1373
|
-
return yr(e);
|
1374
|
-
}
|
1375
|
-
var Ue = 0, st = !1;
|
1376
|
-
function ct(e) {
|
1377
|
-
{
|
1378
|
-
var r = Ue;
|
1379
|
-
Ue++, M.current === null && (M.current = []);
|
1380
|
-
var a = M.isBatchingLegacy, o;
|
1381
|
-
try {
|
1382
|
-
if (M.isBatchingLegacy = !0, o = e(), !a && M.didScheduleLegacyUpdate) {
|
1383
|
-
var c = M.current;
|
1384
|
-
c !== null && (M.didScheduleLegacyUpdate = !1, Wr(c));
|
1385
|
-
}
|
1386
|
-
} catch (I) {
|
1387
|
-
throw hr(r), I;
|
1388
|
-
} finally {
|
1389
|
-
M.isBatchingLegacy = a;
|
1390
|
-
}
|
1391
|
-
if (o !== null && typeof o == "object" && typeof o.then == "function") {
|
1392
|
-
var d = o, f = !1, y = {
|
1393
|
-
then: function(I, N) {
|
1394
|
-
f = !0, d.then(function(B) {
|
1395
|
-
hr(r), Ue === 0 ? Lr(B, I, N) : I(B);
|
1396
|
-
}, function(B) {
|
1397
|
-
hr(r), N(B);
|
1398
|
-
});
|
1399
|
-
}
|
1400
|
-
};
|
1401
|
-
return !st && typeof Promise < "u" && Promise.resolve().then(function() {
|
1402
|
-
}).then(function() {
|
1403
|
-
f || (st = !0, l("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
|
1404
|
-
}), y;
|
1405
|
-
} else {
|
1406
|
-
var E = o;
|
1407
|
-
if (hr(r), Ue === 0) {
|
1408
|
-
var P = M.current;
|
1409
|
-
P !== null && (Wr(P), M.current = null);
|
1410
|
-
var j = {
|
1411
|
-
then: function(I, N) {
|
1412
|
-
M.current === null ? (M.current = [], Lr(E, I, N)) : I(E);
|
1413
|
-
}
|
1414
|
-
};
|
1415
|
-
return j;
|
1416
|
-
} else {
|
1417
|
-
var A = {
|
1418
|
-
then: function(I, N) {
|
1419
|
-
I(E);
|
1420
|
-
}
|
1421
|
-
};
|
1422
|
-
return A;
|
1423
|
-
}
|
1424
|
-
}
|
1425
|
-
}
|
1426
|
-
}
|
1427
|
-
function hr(e) {
|
1428
|
-
e !== Ue - 1 && l("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Ue = e;
|
1429
|
-
}
|
1430
|
-
function Lr(e, r, a) {
|
1431
|
-
{
|
1432
|
-
var o = M.current;
|
1433
|
-
if (o !== null)
|
1434
|
-
try {
|
1435
|
-
Wr(o), At(function() {
|
1436
|
-
o.length === 0 ? (M.current = null, r(e)) : Lr(e, r, a);
|
1437
|
-
});
|
1438
|
-
} catch (c) {
|
1439
|
-
a(c);
|
1440
|
-
}
|
1441
|
-
else
|
1442
|
-
r(e);
|
1443
|
-
}
|
1444
|
-
}
|
1445
|
-
var Mr = !1;
|
1446
|
-
function Wr(e) {
|
1447
|
-
if (!Mr) {
|
1448
|
-
Mr = !0;
|
1449
|
-
var r = 0;
|
1450
|
-
try {
|
1451
|
-
for (; r < e.length; r++) {
|
1452
|
-
var a = e[r];
|
1453
|
-
do
|
1454
|
-
a = a(!0);
|
1455
|
-
while (a !== null);
|
1456
|
-
}
|
1457
|
-
e.length = 0;
|
1458
|
-
} catch (o) {
|
1459
|
-
throw e = e.slice(r + 1), o;
|
1460
|
-
} finally {
|
1461
|
-
Mr = !1;
|
1462
|
-
}
|
1463
|
-
}
|
1464
|
-
}
|
1465
|
-
var xt = ot, Dt = kt, It = Pt, Ft = {
|
1466
|
-
map: De,
|
1467
|
-
forEach: ur,
|
1468
|
-
count: Tr,
|
1469
|
-
toArray: Or,
|
1470
|
-
only: ir
|
1471
|
-
};
|
1472
|
-
v.Children = Ft, v.Component = b, v.Fragment = te, v.Profiler = Z, v.PureComponent = w, v.StrictMode = ne, v.Suspense = V, v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = U, v.act = ct, v.cloneElement = Dt, v.createContext = sr, v.createElement = xt, v.createFactory = It, v.createRef = gr, v.forwardRef = jr, v.isValidElement = Ee, v.lazy = kr, v.memo = u, v.startTransition = jt, v.unstable_act = ct, v.useCallback = F, v.useContext = p, v.useDebugValue = me, v.useDeferredValue = Ke, v.useEffect = h, v.useId = Ar, v.useImperativeHandle = Ce, v.useInsertionEffect = Y, v.useLayoutEffect = D, v.useMemo = Q, v.useReducer = S, v.useRef = _, v.useState = C, v.useSyncExternalStore = xr, v.useTransition = q, v.version = de, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
1473
|
-
}();
|
1474
|
-
}(Xe, Xe.exports)), Xe.exports;
|
1475
|
-
}
|
1476
|
-
process.env.NODE_ENV === "production" ? Ur.exports = Wt() : Ur.exports = Nt();
|
1477
|
-
var mt = Ur.exports;
|
1
|
+
import we from "react";
|
2
|
+
var Z = { exports: {} }, A = {};
|
1478
3
|
/**
|
1479
4
|
* @license React
|
1480
5
|
* react-jsx-runtime.production.min.js
|
@@ -1484,21 +9,21 @@ var mt = Ur.exports;
|
|
1484
9
|
* This source code is licensed under the MIT license found in the
|
1485
10
|
* LICENSE file in the root directory of this source tree.
|
1486
11
|
*/
|
1487
|
-
var
|
1488
|
-
function
|
1489
|
-
if (
|
1490
|
-
|
1491
|
-
var
|
1492
|
-
function
|
1493
|
-
var
|
1494
|
-
|
1495
|
-
for (
|
1496
|
-
if (
|
1497
|
-
return { $$typeof:
|
12
|
+
var Oe;
|
13
|
+
function lr() {
|
14
|
+
if (Oe) return A;
|
15
|
+
Oe = 1;
|
16
|
+
var C = we, E = Symbol.for("react.element"), j = Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, W = C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, $ = { key: !0, ref: !0, __self: !0, __source: !0 };
|
17
|
+
function x(R, c, O) {
|
18
|
+
var p, b = {}, _ = null, Y = null;
|
19
|
+
O !== void 0 && (_ = "" + O), c.key !== void 0 && (_ = "" + c.key), c.ref !== void 0 && (Y = c.ref);
|
20
|
+
for (p in c) h.call(c, p) && !$.hasOwnProperty(p) && (b[p] = c[p]);
|
21
|
+
if (R && R.defaultProps) for (p in c = R.defaultProps, c) b[p] === void 0 && (b[p] = c[p]);
|
22
|
+
return { $$typeof: E, type: R, key: _, ref: Y, props: b, _owner: W.current };
|
1498
23
|
}
|
1499
|
-
return
|
24
|
+
return A.Fragment = j, A.jsx = x, A.jsxs = x, A;
|
1500
25
|
}
|
1501
|
-
var
|
26
|
+
var I = {};
|
1502
27
|
/**
|
1503
28
|
* @license React
|
1504
29
|
* react-jsx-runtime.development.js
|
@@ -1508,91 +33,91 @@ var Je = {};
|
|
1508
33
|
* This source code is licensed under the MIT license found in the
|
1509
34
|
* LICENSE file in the root directory of this source tree.
|
1510
35
|
*/
|
1511
|
-
var
|
1512
|
-
function
|
1513
|
-
return
|
1514
|
-
var
|
1515
|
-
function
|
1516
|
-
if (
|
36
|
+
var Se;
|
37
|
+
function cr() {
|
38
|
+
return Se || (Se = 1, process.env.NODE_ENV !== "production" && function() {
|
39
|
+
var C = we, E = Symbol.for("react.element"), j = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), W = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), R = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), O = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), Q = Symbol.iterator, Pe = "@@iterator";
|
40
|
+
function Ce(e) {
|
41
|
+
if (e === null || typeof e != "object")
|
1517
42
|
return null;
|
1518
|
-
var
|
1519
|
-
return typeof
|
43
|
+
var r = Q && e[Q] || e[Pe];
|
44
|
+
return typeof r == "function" ? r : null;
|
1520
45
|
}
|
1521
|
-
var
|
1522
|
-
function
|
46
|
+
var S = C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
47
|
+
function l(e) {
|
1523
48
|
{
|
1524
|
-
for (var
|
1525
|
-
|
1526
|
-
|
49
|
+
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
50
|
+
t[n - 1] = arguments[n];
|
51
|
+
je("error", e, t);
|
1527
52
|
}
|
1528
53
|
}
|
1529
|
-
function
|
54
|
+
function je(e, r, t) {
|
1530
55
|
{
|
1531
|
-
var
|
1532
|
-
|
1533
|
-
var
|
1534
|
-
return String(
|
56
|
+
var n = S.ReactDebugCurrentFrame, i = n.getStackAddendum();
|
57
|
+
i !== "" && (r += "%s", t = t.concat([i]));
|
58
|
+
var u = t.map(function(o) {
|
59
|
+
return String(o);
|
1535
60
|
});
|
1536
|
-
|
61
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
1537
62
|
}
|
1538
63
|
}
|
1539
|
-
var
|
1540
|
-
|
1541
|
-
function
|
1542
|
-
return !!(typeof
|
64
|
+
var xe = !1, ke = !1, De = !1, Fe = !1, Ae = !1, ee;
|
65
|
+
ee = Symbol.for("react.module.reference");
|
66
|
+
function Ie(e) {
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === h || e === $ || Ae || e === W || e === O || e === p || Fe || e === Y || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === x || e.$$typeof === R || e.$$typeof === c || // This needs to include all possible module reference object
|
1543
68
|
// types supported by any Flight configuration anywhere since
|
1544
69
|
// we don't know which Flight build this will end up being used
|
1545
70
|
// with.
|
1546
|
-
|
71
|
+
e.$$typeof === ee || e.getModuleId !== void 0));
|
1547
72
|
}
|
1548
|
-
function
|
1549
|
-
var
|
1550
|
-
if (
|
1551
|
-
return
|
1552
|
-
var
|
1553
|
-
return
|
73
|
+
function We(e, r, t) {
|
74
|
+
var n = e.displayName;
|
75
|
+
if (n)
|
76
|
+
return n;
|
77
|
+
var i = r.displayName || r.name || "";
|
78
|
+
return i !== "" ? t + "(" + i + ")" : t;
|
1554
79
|
}
|
1555
|
-
function
|
1556
|
-
return
|
80
|
+
function re(e) {
|
81
|
+
return e.displayName || "Context";
|
1557
82
|
}
|
1558
|
-
function
|
1559
|
-
if (
|
83
|
+
function y(e) {
|
84
|
+
if (e == null)
|
1560
85
|
return null;
|
1561
|
-
if (typeof
|
1562
|
-
return
|
1563
|
-
if (typeof
|
1564
|
-
return
|
1565
|
-
switch (
|
1566
|
-
case
|
86
|
+
if (typeof e.tag == "number" && l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
87
|
+
return e.displayName || e.name || null;
|
88
|
+
if (typeof e == "string")
|
89
|
+
return e;
|
90
|
+
switch (e) {
|
91
|
+
case h:
|
1567
92
|
return "Fragment";
|
1568
|
-
case
|
93
|
+
case j:
|
1569
94
|
return "Portal";
|
1570
|
-
case
|
95
|
+
case $:
|
1571
96
|
return "Profiler";
|
1572
|
-
case
|
97
|
+
case W:
|
1573
98
|
return "StrictMode";
|
1574
|
-
case
|
99
|
+
case O:
|
1575
100
|
return "Suspense";
|
1576
|
-
case
|
101
|
+
case p:
|
1577
102
|
return "SuspenseList";
|
1578
103
|
}
|
1579
|
-
if (typeof
|
1580
|
-
switch (
|
1581
|
-
case
|
1582
|
-
var
|
1583
|
-
return
|
1584
|
-
case
|
1585
|
-
var
|
1586
|
-
return
|
1587
|
-
case
|
1588
|
-
return
|
1589
|
-
case
|
1590
|
-
var
|
1591
|
-
return
|
1592
|
-
case
|
1593
|
-
var
|
104
|
+
if (typeof e == "object")
|
105
|
+
switch (e.$$typeof) {
|
106
|
+
case R:
|
107
|
+
var r = e;
|
108
|
+
return re(r) + ".Consumer";
|
109
|
+
case x:
|
110
|
+
var t = e;
|
111
|
+
return re(t._context) + ".Provider";
|
112
|
+
case c:
|
113
|
+
return We(e, e.render, "ForwardRef");
|
114
|
+
case b:
|
115
|
+
var n = e.displayName || null;
|
116
|
+
return n !== null ? n : y(e.type) || "Memo";
|
117
|
+
case _: {
|
118
|
+
var i = e, u = i._payload, o = i._init;
|
1594
119
|
try {
|
1595
|
-
return
|
120
|
+
return y(o(u));
|
1596
121
|
} catch {
|
1597
122
|
return null;
|
1598
123
|
}
|
@@ -1600,521 +125,521 @@ function Ut() {
|
|
1600
125
|
}
|
1601
126
|
return null;
|
1602
127
|
}
|
1603
|
-
var
|
1604
|
-
function
|
128
|
+
var m = Object.assign, k = 0, te, ne, ae, oe, ie, ue, se;
|
129
|
+
function fe() {
|
1605
130
|
}
|
1606
|
-
|
1607
|
-
function
|
131
|
+
fe.__reactDisabledLog = !0;
|
132
|
+
function $e() {
|
1608
133
|
{
|
1609
|
-
if (
|
1610
|
-
|
1611
|
-
var
|
134
|
+
if (k === 0) {
|
135
|
+
te = console.log, ne = console.info, ae = console.warn, oe = console.error, ie = console.group, ue = console.groupCollapsed, se = console.groupEnd;
|
136
|
+
var e = {
|
1612
137
|
configurable: !0,
|
1613
138
|
enumerable: !0,
|
1614
|
-
value:
|
139
|
+
value: fe,
|
1615
140
|
writable: !0
|
1616
141
|
};
|
1617
142
|
Object.defineProperties(console, {
|
1618
|
-
info:
|
1619
|
-
log:
|
1620
|
-
warn:
|
1621
|
-
error:
|
1622
|
-
group:
|
1623
|
-
groupCollapsed:
|
1624
|
-
groupEnd:
|
143
|
+
info: e,
|
144
|
+
log: e,
|
145
|
+
warn: e,
|
146
|
+
error: e,
|
147
|
+
group: e,
|
148
|
+
groupCollapsed: e,
|
149
|
+
groupEnd: e
|
1625
150
|
});
|
1626
151
|
}
|
1627
|
-
|
152
|
+
k++;
|
1628
153
|
}
|
1629
154
|
}
|
1630
|
-
function
|
155
|
+
function Ye() {
|
1631
156
|
{
|
1632
|
-
if (
|
1633
|
-
var
|
157
|
+
if (k--, k === 0) {
|
158
|
+
var e = {
|
1634
159
|
configurable: !0,
|
1635
160
|
enumerable: !0,
|
1636
161
|
writable: !0
|
1637
162
|
};
|
1638
163
|
Object.defineProperties(console, {
|
1639
|
-
log:
|
1640
|
-
value:
|
164
|
+
log: m({}, e, {
|
165
|
+
value: te
|
1641
166
|
}),
|
1642
|
-
info:
|
1643
|
-
value:
|
167
|
+
info: m({}, e, {
|
168
|
+
value: ne
|
1644
169
|
}),
|
1645
|
-
warn:
|
1646
|
-
value:
|
170
|
+
warn: m({}, e, {
|
171
|
+
value: ae
|
1647
172
|
}),
|
1648
|
-
error:
|
1649
|
-
value:
|
173
|
+
error: m({}, e, {
|
174
|
+
value: oe
|
1650
175
|
}),
|
1651
|
-
group:
|
1652
|
-
value:
|
176
|
+
group: m({}, e, {
|
177
|
+
value: ie
|
1653
178
|
}),
|
1654
|
-
groupCollapsed:
|
1655
|
-
value:
|
179
|
+
groupCollapsed: m({}, e, {
|
180
|
+
value: ue
|
1656
181
|
}),
|
1657
|
-
groupEnd:
|
1658
|
-
value:
|
182
|
+
groupEnd: m({}, e, {
|
183
|
+
value: se
|
1659
184
|
})
|
1660
185
|
});
|
1661
186
|
}
|
1662
|
-
|
187
|
+
k < 0 && l("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
1663
188
|
}
|
1664
189
|
}
|
1665
|
-
var
|
1666
|
-
function
|
190
|
+
var N = S.ReactCurrentDispatcher, B;
|
191
|
+
function L(e, r, t) {
|
1667
192
|
{
|
1668
|
-
if (
|
193
|
+
if (B === void 0)
|
1669
194
|
try {
|
1670
195
|
throw Error();
|
1671
|
-
} catch (
|
1672
|
-
var
|
1673
|
-
|
196
|
+
} catch (i) {
|
197
|
+
var n = i.stack.trim().match(/\n( *(at )?)/);
|
198
|
+
B = n && n[1] || "";
|
1674
199
|
}
|
1675
200
|
return `
|
1676
|
-
` +
|
201
|
+
` + B + e;
|
1677
202
|
}
|
1678
203
|
}
|
1679
|
-
var
|
204
|
+
var J = !1, V;
|
1680
205
|
{
|
1681
|
-
var
|
1682
|
-
|
206
|
+
var Le = typeof WeakMap == "function" ? WeakMap : Map;
|
207
|
+
V = new Le();
|
1683
208
|
}
|
1684
|
-
function
|
1685
|
-
if (!
|
209
|
+
function le(e, r) {
|
210
|
+
if (!e || J)
|
1686
211
|
return "";
|
1687
212
|
{
|
1688
|
-
var
|
1689
|
-
if (
|
1690
|
-
return
|
213
|
+
var t = V.get(e);
|
214
|
+
if (t !== void 0)
|
215
|
+
return t;
|
1691
216
|
}
|
1692
|
-
var
|
1693
|
-
|
1694
|
-
var
|
217
|
+
var n;
|
218
|
+
J = !0;
|
219
|
+
var i = Error.prepareStackTrace;
|
1695
220
|
Error.prepareStackTrace = void 0;
|
1696
|
-
var
|
1697
|
-
|
221
|
+
var u;
|
222
|
+
u = N.current, N.current = null, $e();
|
1698
223
|
try {
|
1699
|
-
if (
|
1700
|
-
var
|
224
|
+
if (r) {
|
225
|
+
var o = function() {
|
1701
226
|
throw Error();
|
1702
227
|
};
|
1703
|
-
if (Object.defineProperty(
|
228
|
+
if (Object.defineProperty(o.prototype, "props", {
|
1704
229
|
set: function() {
|
1705
230
|
throw Error();
|
1706
231
|
}
|
1707
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
1708
233
|
try {
|
1709
|
-
Reflect.construct(
|
1710
|
-
} catch (
|
1711
|
-
|
234
|
+
Reflect.construct(o, []);
|
235
|
+
} catch (v) {
|
236
|
+
n = v;
|
1712
237
|
}
|
1713
|
-
Reflect.construct(
|
238
|
+
Reflect.construct(e, [], o);
|
1714
239
|
} else {
|
1715
240
|
try {
|
1716
|
-
|
1717
|
-
} catch (
|
1718
|
-
|
241
|
+
o.call();
|
242
|
+
} catch (v) {
|
243
|
+
n = v;
|
1719
244
|
}
|
1720
|
-
|
245
|
+
e.call(o.prototype);
|
1721
246
|
}
|
1722
247
|
} else {
|
1723
248
|
try {
|
1724
249
|
throw Error();
|
1725
|
-
} catch (
|
1726
|
-
|
250
|
+
} catch (v) {
|
251
|
+
n = v;
|
1727
252
|
}
|
1728
|
-
|
253
|
+
e();
|
1729
254
|
}
|
1730
|
-
} catch (
|
1731
|
-
if (
|
1732
|
-
for (var
|
1733
|
-
`),
|
1734
|
-
`),
|
1735
|
-
|
1736
|
-
for (;
|
1737
|
-
if (
|
1738
|
-
if (
|
255
|
+
} catch (v) {
|
256
|
+
if (v && n && typeof v.stack == "string") {
|
257
|
+
for (var a = v.stack.split(`
|
258
|
+
`), d = n.stack.split(`
|
259
|
+
`), s = a.length - 1, f = d.length - 1; s >= 1 && f >= 0 && a[s] !== d[f]; )
|
260
|
+
f--;
|
261
|
+
for (; s >= 1 && f >= 0; s--, f--)
|
262
|
+
if (a[s] !== d[f]) {
|
263
|
+
if (s !== 1 || f !== 1)
|
1739
264
|
do
|
1740
|
-
if (
|
1741
|
-
var
|
1742
|
-
` +
|
1743
|
-
return
|
265
|
+
if (s--, f--, f < 0 || a[s] !== d[f]) {
|
266
|
+
var g = `
|
267
|
+
` + a[s].replace(" at new ", " at ");
|
268
|
+
return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && V.set(e, g), g;
|
1744
269
|
}
|
1745
|
-
while (
|
270
|
+
while (s >= 1 && f >= 0);
|
1746
271
|
break;
|
1747
272
|
}
|
1748
273
|
}
|
1749
274
|
} finally {
|
1750
|
-
|
275
|
+
J = !1, N.current = u, Ye(), Error.prepareStackTrace = i;
|
1751
276
|
}
|
1752
|
-
var
|
1753
|
-
return typeof
|
277
|
+
var P = e ? e.displayName || e.name : "", T = P ? L(P) : "";
|
278
|
+
return typeof e == "function" && V.set(e, T), T;
|
1754
279
|
}
|
1755
|
-
function
|
1756
|
-
return
|
280
|
+
function Ve(e, r, t) {
|
281
|
+
return le(e, !1);
|
1757
282
|
}
|
1758
|
-
function
|
1759
|
-
var
|
1760
|
-
return !!(
|
283
|
+
function Me(e) {
|
284
|
+
var r = e.prototype;
|
285
|
+
return !!(r && r.isReactComponent);
|
1761
286
|
}
|
1762
|
-
function
|
1763
|
-
if (
|
287
|
+
function M(e, r, t) {
|
288
|
+
if (e == null)
|
1764
289
|
return "";
|
1765
|
-
if (typeof
|
1766
|
-
return
|
1767
|
-
if (typeof
|
1768
|
-
return
|
1769
|
-
switch (
|
1770
|
-
case
|
1771
|
-
return
|
1772
|
-
case
|
1773
|
-
return
|
1774
|
-
}
|
1775
|
-
if (typeof
|
1776
|
-
switch (
|
1777
|
-
case
|
1778
|
-
return
|
1779
|
-
case
|
1780
|
-
return
|
1781
|
-
case
|
1782
|
-
var
|
290
|
+
if (typeof e == "function")
|
291
|
+
return le(e, Me(e));
|
292
|
+
if (typeof e == "string")
|
293
|
+
return L(e);
|
294
|
+
switch (e) {
|
295
|
+
case O:
|
296
|
+
return L("Suspense");
|
297
|
+
case p:
|
298
|
+
return L("SuspenseList");
|
299
|
+
}
|
300
|
+
if (typeof e == "object")
|
301
|
+
switch (e.$$typeof) {
|
302
|
+
case c:
|
303
|
+
return Ve(e.render);
|
304
|
+
case b:
|
305
|
+
return M(e.type, r, t);
|
306
|
+
case _: {
|
307
|
+
var n = e, i = n._payload, u = n._init;
|
1783
308
|
try {
|
1784
|
-
return
|
309
|
+
return M(u(i), r, t);
|
1785
310
|
} catch {
|
1786
311
|
}
|
1787
312
|
}
|
1788
313
|
}
|
1789
314
|
return "";
|
1790
315
|
}
|
1791
|
-
var
|
1792
|
-
function
|
1793
|
-
if (
|
1794
|
-
var
|
1795
|
-
|
316
|
+
var D = Object.prototype.hasOwnProperty, ce = {}, de = S.ReactDebugCurrentFrame;
|
317
|
+
function U(e) {
|
318
|
+
if (e) {
|
319
|
+
var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
|
320
|
+
de.setExtraStackFrame(t);
|
1796
321
|
} else
|
1797
|
-
|
322
|
+
de.setExtraStackFrame(null);
|
1798
323
|
}
|
1799
|
-
function
|
324
|
+
function Ue(e, r, t, n, i) {
|
1800
325
|
{
|
1801
|
-
var
|
1802
|
-
for (var
|
1803
|
-
if (
|
1804
|
-
var
|
326
|
+
var u = Function.call.bind(D);
|
327
|
+
for (var o in e)
|
328
|
+
if (u(e, o)) {
|
329
|
+
var a = void 0;
|
1805
330
|
try {
|
1806
|
-
if (typeof
|
1807
|
-
var
|
1808
|
-
throw
|
331
|
+
if (typeof e[o] != "function") {
|
332
|
+
var d = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
333
|
+
throw d.name = "Invariant Violation", d;
|
1809
334
|
}
|
1810
|
-
|
1811
|
-
} catch (
|
1812
|
-
|
335
|
+
a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
336
|
+
} catch (s) {
|
337
|
+
a = s;
|
1813
338
|
}
|
1814
|
-
|
339
|
+
a && !(a instanceof Error) && (U(i), l("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof a), U(null)), a instanceof Error && !(a.message in ce) && (ce[a.message] = !0, U(i), l("Failed %s type: %s", t, a.message), U(null));
|
1815
340
|
}
|
1816
341
|
}
|
1817
342
|
}
|
1818
|
-
var
|
1819
|
-
function
|
1820
|
-
return
|
343
|
+
var Ne = Array.isArray;
|
344
|
+
function q(e) {
|
345
|
+
return Ne(e);
|
1821
346
|
}
|
1822
|
-
function
|
347
|
+
function Be(e) {
|
1823
348
|
{
|
1824
|
-
var
|
1825
|
-
return
|
349
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
350
|
+
return t;
|
1826
351
|
}
|
1827
352
|
}
|
1828
|
-
function
|
353
|
+
function Je(e) {
|
1829
354
|
try {
|
1830
|
-
return
|
355
|
+
return ve(e), !1;
|
1831
356
|
} catch {
|
1832
357
|
return !0;
|
1833
358
|
}
|
1834
359
|
}
|
1835
|
-
function
|
1836
|
-
return "" +
|
360
|
+
function ve(e) {
|
361
|
+
return "" + e;
|
1837
362
|
}
|
1838
|
-
function
|
1839
|
-
if (
|
1840
|
-
return
|
363
|
+
function pe(e) {
|
364
|
+
if (Je(e))
|
365
|
+
return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Be(e)), ve(e);
|
1841
366
|
}
|
1842
|
-
var
|
367
|
+
var F = S.ReactCurrentOwner, qe = {
|
1843
368
|
key: !0,
|
1844
369
|
ref: !0,
|
1845
370
|
__self: !0,
|
1846
371
|
__source: !0
|
1847
|
-
},
|
1848
|
-
|
1849
|
-
function
|
1850
|
-
if (
|
1851
|
-
var
|
1852
|
-
if (
|
372
|
+
}, ge, ye, K;
|
373
|
+
K = {};
|
374
|
+
function Ke(e) {
|
375
|
+
if (D.call(e, "ref")) {
|
376
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
377
|
+
if (r && r.isReactWarning)
|
1853
378
|
return !1;
|
1854
379
|
}
|
1855
|
-
return
|
380
|
+
return e.ref !== void 0;
|
1856
381
|
}
|
1857
|
-
function
|
1858
|
-
if (
|
1859
|
-
var
|
1860
|
-
if (
|
382
|
+
function Ge(e) {
|
383
|
+
if (D.call(e, "key")) {
|
384
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
385
|
+
if (r && r.isReactWarning)
|
1861
386
|
return !1;
|
1862
387
|
}
|
1863
|
-
return
|
388
|
+
return e.key !== void 0;
|
1864
389
|
}
|
1865
|
-
function
|
1866
|
-
if (typeof
|
1867
|
-
var
|
1868
|
-
|
390
|
+
function ze(e, r) {
|
391
|
+
if (typeof e.ref == "string" && F.current && r && F.current.stateNode !== r) {
|
392
|
+
var t = y(F.current.type);
|
393
|
+
K[t] || (l('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', y(F.current.type), e.ref), K[t] = !0);
|
1869
394
|
}
|
1870
395
|
}
|
1871
|
-
function
|
396
|
+
function Xe(e, r) {
|
1872
397
|
{
|
1873
|
-
var
|
1874
|
-
|
398
|
+
var t = function() {
|
399
|
+
ge || (ge = !0, l("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
1875
400
|
};
|
1876
|
-
|
1877
|
-
get:
|
401
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
402
|
+
get: t,
|
1878
403
|
configurable: !0
|
1879
404
|
});
|
1880
405
|
}
|
1881
406
|
}
|
1882
|
-
function
|
407
|
+
function He(e, r) {
|
1883
408
|
{
|
1884
|
-
var
|
1885
|
-
|
409
|
+
var t = function() {
|
410
|
+
ye || (ye = !0, l("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
1886
411
|
};
|
1887
|
-
|
1888
|
-
get:
|
412
|
+
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
413
|
+
get: t,
|
1889
414
|
configurable: !0
|
1890
415
|
});
|
1891
416
|
}
|
1892
417
|
}
|
1893
|
-
var
|
1894
|
-
var
|
418
|
+
var Ze = function(e, r, t, n, i, u, o) {
|
419
|
+
var a = {
|
1895
420
|
// This tag allows us to uniquely identify this as a React Element
|
1896
|
-
$$typeof:
|
421
|
+
$$typeof: E,
|
1897
422
|
// Built-in properties that belong on the element
|
1898
|
-
type:
|
1899
|
-
key:
|
1900
|
-
ref:
|
1901
|
-
props:
|
423
|
+
type: e,
|
424
|
+
key: r,
|
425
|
+
ref: t,
|
426
|
+
props: o,
|
1902
427
|
// Record the component responsible for creating this element.
|
1903
|
-
_owner:
|
428
|
+
_owner: u
|
1904
429
|
};
|
1905
|
-
return
|
430
|
+
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
1906
431
|
configurable: !1,
|
1907
432
|
enumerable: !1,
|
1908
433
|
writable: !0,
|
1909
434
|
value: !1
|
1910
|
-
}), Object.defineProperty(
|
435
|
+
}), Object.defineProperty(a, "_self", {
|
1911
436
|
configurable: !1,
|
1912
437
|
enumerable: !1,
|
1913
438
|
writable: !1,
|
1914
|
-
value:
|
1915
|
-
}), Object.defineProperty(
|
439
|
+
value: n
|
440
|
+
}), Object.defineProperty(a, "_source", {
|
1916
441
|
configurable: !1,
|
1917
442
|
enumerable: !1,
|
1918
443
|
writable: !1,
|
1919
|
-
value:
|
1920
|
-
}), Object.freeze && (Object.freeze(
|
444
|
+
value: i
|
445
|
+
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
1921
446
|
};
|
1922
|
-
function
|
447
|
+
function Qe(e, r, t, n, i) {
|
1923
448
|
{
|
1924
|
-
var
|
1925
|
-
|
1926
|
-
for (
|
1927
|
-
|
1928
|
-
if (
|
1929
|
-
var
|
1930
|
-
for (
|
1931
|
-
|
449
|
+
var u, o = {}, a = null, d = null;
|
450
|
+
t !== void 0 && (pe(t), a = "" + t), Ge(r) && (pe(r.key), a = "" + r.key), Ke(r) && (d = r.ref, ze(r, i));
|
451
|
+
for (u in r)
|
452
|
+
D.call(r, u) && !qe.hasOwnProperty(u) && (o[u] = r[u]);
|
453
|
+
if (e && e.defaultProps) {
|
454
|
+
var s = e.defaultProps;
|
455
|
+
for (u in s)
|
456
|
+
o[u] === void 0 && (o[u] = s[u]);
|
1932
457
|
}
|
1933
|
-
if (
|
1934
|
-
var
|
1935
|
-
|
458
|
+
if (a || d) {
|
459
|
+
var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
460
|
+
a && Xe(o, f), d && He(o, f);
|
1936
461
|
}
|
1937
|
-
return
|
462
|
+
return Ze(e, a, d, i, n, F.current, o);
|
1938
463
|
}
|
1939
464
|
}
|
1940
|
-
var
|
1941
|
-
function
|
1942
|
-
if (
|
1943
|
-
var
|
1944
|
-
|
465
|
+
var G = S.ReactCurrentOwner, be = S.ReactDebugCurrentFrame;
|
466
|
+
function w(e) {
|
467
|
+
if (e) {
|
468
|
+
var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
|
469
|
+
be.setExtraStackFrame(t);
|
1945
470
|
} else
|
1946
|
-
|
471
|
+
be.setExtraStackFrame(null);
|
1947
472
|
}
|
1948
|
-
var
|
1949
|
-
|
1950
|
-
function
|
1951
|
-
return typeof
|
473
|
+
var z;
|
474
|
+
z = !1;
|
475
|
+
function X(e) {
|
476
|
+
return typeof e == "object" && e !== null && e.$$typeof === E;
|
1952
477
|
}
|
1953
|
-
function
|
478
|
+
function he() {
|
1954
479
|
{
|
1955
|
-
if (
|
1956
|
-
var
|
1957
|
-
if (
|
480
|
+
if (G.current) {
|
481
|
+
var e = y(G.current.type);
|
482
|
+
if (e)
|
1958
483
|
return `
|
1959
484
|
|
1960
|
-
Check the render method of \`` +
|
485
|
+
Check the render method of \`` + e + "`.";
|
1961
486
|
}
|
1962
487
|
return "";
|
1963
488
|
}
|
1964
489
|
}
|
1965
|
-
function
|
490
|
+
function er(e) {
|
1966
491
|
return "";
|
1967
492
|
}
|
1968
|
-
var
|
1969
|
-
function
|
493
|
+
var Ee = {};
|
494
|
+
function rr(e) {
|
1970
495
|
{
|
1971
|
-
var
|
1972
|
-
if (!
|
1973
|
-
var
|
1974
|
-
|
496
|
+
var r = he();
|
497
|
+
if (!r) {
|
498
|
+
var t = typeof e == "string" ? e : e.displayName || e.name;
|
499
|
+
t && (r = `
|
1975
500
|
|
1976
|
-
Check the top-level render call using <` +
|
501
|
+
Check the top-level render call using <` + t + ">.");
|
1977
502
|
}
|
1978
|
-
return
|
503
|
+
return r;
|
1979
504
|
}
|
1980
505
|
}
|
1981
|
-
function
|
506
|
+
function Re(e, r) {
|
1982
507
|
{
|
1983
|
-
if (!
|
508
|
+
if (!e._store || e._store.validated || e.key != null)
|
1984
509
|
return;
|
1985
|
-
|
1986
|
-
var
|
1987
|
-
if (
|
510
|
+
e._store.validated = !0;
|
511
|
+
var t = rr(r);
|
512
|
+
if (Ee[t])
|
1988
513
|
return;
|
1989
|
-
|
1990
|
-
var
|
1991
|
-
|
514
|
+
Ee[t] = !0;
|
515
|
+
var n = "";
|
516
|
+
e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + y(e._owner.type) + "."), w(e), l('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), w(null);
|
1992
517
|
}
|
1993
518
|
}
|
1994
|
-
function
|
519
|
+
function _e(e, r) {
|
1995
520
|
{
|
1996
|
-
if (typeof
|
521
|
+
if (typeof e != "object")
|
1997
522
|
return;
|
1998
|
-
if (
|
1999
|
-
for (var
|
2000
|
-
var
|
2001
|
-
|
523
|
+
if (q(e))
|
524
|
+
for (var t = 0; t < e.length; t++) {
|
525
|
+
var n = e[t];
|
526
|
+
X(n) && Re(n, r);
|
2002
527
|
}
|
2003
|
-
else if (
|
2004
|
-
|
2005
|
-
else if (
|
2006
|
-
var
|
2007
|
-
if (typeof
|
2008
|
-
for (var
|
2009
|
-
|
528
|
+
else if (X(e))
|
529
|
+
e._store && (e._store.validated = !0);
|
530
|
+
else if (e) {
|
531
|
+
var i = Ce(e);
|
532
|
+
if (typeof i == "function" && i !== e.entries)
|
533
|
+
for (var u = i.call(e), o; !(o = u.next()).done; )
|
534
|
+
X(o.value) && Re(o.value, r);
|
2010
535
|
}
|
2011
536
|
}
|
2012
537
|
}
|
2013
|
-
function
|
538
|
+
function tr(e) {
|
2014
539
|
{
|
2015
|
-
var
|
2016
|
-
if (
|
540
|
+
var r = e.type;
|
541
|
+
if (r == null || typeof r == "string")
|
2017
542
|
return;
|
2018
|
-
var
|
2019
|
-
if (typeof
|
2020
|
-
|
2021
|
-
else if (typeof
|
543
|
+
var t;
|
544
|
+
if (typeof r == "function")
|
545
|
+
t = r.propTypes;
|
546
|
+
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
2022
547
|
// Inner props are checked in the reconciler.
|
2023
|
-
|
2024
|
-
|
548
|
+
r.$$typeof === b))
|
549
|
+
t = r.propTypes;
|
2025
550
|
else
|
2026
551
|
return;
|
2027
|
-
if (
|
2028
|
-
var
|
2029
|
-
|
2030
|
-
} else if (
|
2031
|
-
|
2032
|
-
var
|
2033
|
-
|
552
|
+
if (t) {
|
553
|
+
var n = y(r);
|
554
|
+
Ue(t, e.props, "prop", n, e);
|
555
|
+
} else if (r.PropTypes !== void 0 && !z) {
|
556
|
+
z = !0;
|
557
|
+
var i = y(r);
|
558
|
+
l("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
|
2034
559
|
}
|
2035
|
-
typeof
|
560
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && l("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
2036
561
|
}
|
2037
562
|
}
|
2038
|
-
function
|
563
|
+
function nr(e) {
|
2039
564
|
{
|
2040
|
-
for (var
|
2041
|
-
var
|
2042
|
-
if (
|
2043
|
-
|
565
|
+
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
566
|
+
var n = r[t];
|
567
|
+
if (n !== "children" && n !== "key") {
|
568
|
+
w(e), l("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), w(null);
|
2044
569
|
break;
|
2045
570
|
}
|
2046
571
|
}
|
2047
|
-
|
572
|
+
e.ref !== null && (w(e), l("Invalid attribute `ref` supplied to `React.Fragment`."), w(null));
|
2048
573
|
}
|
2049
574
|
}
|
2050
|
-
var
|
2051
|
-
function
|
575
|
+
var me = {};
|
576
|
+
function Te(e, r, t, n, i, u) {
|
2052
577
|
{
|
2053
|
-
var
|
2054
|
-
if (!
|
2055
|
-
var
|
2056
|
-
(
|
2057
|
-
var
|
2058
|
-
|
2059
|
-
var
|
2060
|
-
|
2061
|
-
}
|
2062
|
-
var
|
2063
|
-
if (
|
2064
|
-
return
|
2065
|
-
if (
|
2066
|
-
var
|
2067
|
-
if (
|
2068
|
-
if (
|
2069
|
-
if (
|
2070
|
-
for (var
|
2071
|
-
|
2072
|
-
Object.freeze && Object.freeze(
|
578
|
+
var o = Ie(e);
|
579
|
+
if (!o) {
|
580
|
+
var a = "";
|
581
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
582
|
+
var d = er();
|
583
|
+
d ? a += d : a += he();
|
584
|
+
var s;
|
585
|
+
e === null ? s = "null" : q(e) ? s = "array" : e !== void 0 && e.$$typeof === E ? (s = "<" + (y(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, l("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
|
586
|
+
}
|
587
|
+
var f = Qe(e, r, t, i, u);
|
588
|
+
if (f == null)
|
589
|
+
return f;
|
590
|
+
if (o) {
|
591
|
+
var g = r.children;
|
592
|
+
if (g !== void 0)
|
593
|
+
if (n)
|
594
|
+
if (q(g)) {
|
595
|
+
for (var P = 0; P < g.length; P++)
|
596
|
+
_e(g[P], e);
|
597
|
+
Object.freeze && Object.freeze(g);
|
2073
598
|
} else
|
2074
|
-
|
599
|
+
l("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
2075
600
|
else
|
2076
|
-
|
2077
|
-
}
|
2078
|
-
if (
|
2079
|
-
var
|
2080
|
-
return
|
2081
|
-
}),
|
2082
|
-
if (!
|
2083
|
-
var
|
2084
|
-
|
601
|
+
_e(g, e);
|
602
|
+
}
|
603
|
+
if (D.call(r, "key")) {
|
604
|
+
var T = y(e), v = Object.keys(r).filter(function(fr) {
|
605
|
+
return fr !== "key";
|
606
|
+
}), H = v.length > 0 ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}";
|
607
|
+
if (!me[T + H]) {
|
608
|
+
var sr = v.length > 0 ? "{" + v.join(": ..., ") + ": ...}" : "{}";
|
609
|
+
l(`A props object containing a "key" prop is being spread into JSX:
|
2085
610
|
let props = %s;
|
2086
611
|
<%s {...props} />
|
2087
612
|
React keys must be passed directly to JSX without using spread:
|
2088
613
|
let props = %s;
|
2089
|
-
<%s key={someKey} {...props} />`,
|
614
|
+
<%s key={someKey} {...props} />`, H, T, sr, T), me[T + H] = !0;
|
2090
615
|
}
|
2091
616
|
}
|
2092
|
-
return
|
617
|
+
return e === h ? nr(f) : tr(f), f;
|
2093
618
|
}
|
2094
619
|
}
|
2095
|
-
function
|
2096
|
-
return
|
620
|
+
function ar(e, r, t) {
|
621
|
+
return Te(e, r, t, !0);
|
2097
622
|
}
|
2098
|
-
function
|
2099
|
-
return
|
623
|
+
function or(e, r, t) {
|
624
|
+
return Te(e, r, t, !1);
|
2100
625
|
}
|
2101
|
-
var
|
2102
|
-
|
2103
|
-
}()),
|
626
|
+
var ir = or, ur = ar;
|
627
|
+
I.Fragment = h, I.jsx = ir, I.jsxs = ur;
|
628
|
+
}()), I;
|
2104
629
|
}
|
2105
|
-
process.env.NODE_ENV === "production" ?
|
2106
|
-
var
|
2107
|
-
const
|
630
|
+
process.env.NODE_ENV === "production" ? Z.exports = lr() : Z.exports = cr();
|
631
|
+
var dr = Z.exports;
|
632
|
+
const pr = ({ src: C, title: E, style: j, ...h }) => /* @__PURE__ */ dr.jsx(
|
2108
633
|
"iframe",
|
2109
634
|
{
|
2110
|
-
src:
|
2111
|
-
title:
|
2112
|
-
style:
|
635
|
+
src: C,
|
636
|
+
title: E,
|
637
|
+
style: j,
|
2113
638
|
frameBorder: "0",
|
2114
639
|
allowFullScreen: !0,
|
2115
|
-
...
|
640
|
+
...h
|
2116
641
|
}
|
2117
642
|
);
|
2118
643
|
export {
|
2119
|
-
|
644
|
+
pr as default
|
2120
645
|
};
|