@machinemetrics/mm-react-embeddable 0.4.8 → 0.4.9
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/mm-react-embeddable.cjs.js +3 -119
- package/dist/mm-react-embeddable.es.js +75 -3283
- package/package.json +1 -1
|
@@ -1,3307 +1,99 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* react.production.min.js
|
|
8
|
-
*
|
|
9
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
10
|
-
*
|
|
11
|
-
* This source code is licensed under the MIT license found in the
|
|
12
|
-
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/
|
|
14
|
-
var Er;
|
|
15
|
-
function to() {
|
|
16
|
-
if (Er) return B;
|
|
17
|
-
Er = 1;
|
|
18
|
-
var t = Symbol.for("react.element"), a = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), m = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), C = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), P = Symbol.iterator;
|
|
19
|
-
function M(o) {
|
|
20
|
-
return o === null || typeof o != "object" ? null : (o = P && o[P] || o["@@iterator"], typeof o == "function" ? o : null);
|
|
21
|
-
}
|
|
22
|
-
var N = { isMounted: function() {
|
|
23
|
-
return !1;
|
|
24
|
-
}, enqueueForceUpdate: function() {
|
|
25
|
-
}, enqueueReplaceState: function() {
|
|
26
|
-
}, enqueueSetState: function() {
|
|
27
|
-
} }, $ = Object.assign, j = {};
|
|
28
|
-
function x(o, u, l) {
|
|
29
|
-
this.props = o, this.context = u, this.refs = j, this.updater = l || N;
|
|
30
|
-
}
|
|
31
|
-
x.prototype.isReactComponent = {}, x.prototype.setState = function(o, u) {
|
|
32
|
-
if (typeof o != "object" && typeof o != "function" && o != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
33
|
-
this.updater.enqueueSetState(this, o, u, "setState");
|
|
34
|
-
}, x.prototype.forceUpdate = function(o) {
|
|
35
|
-
this.updater.enqueueForceUpdate(this, o, "forceUpdate");
|
|
36
|
-
};
|
|
37
|
-
function F() {
|
|
38
|
-
}
|
|
39
|
-
F.prototype = x.prototype;
|
|
40
|
-
function L(o, u, l) {
|
|
41
|
-
this.props = o, this.context = u, this.refs = j, this.updater = l || N;
|
|
42
|
-
}
|
|
43
|
-
var Y = L.prototype = new F();
|
|
44
|
-
Y.constructor = L, $(Y, x.prototype), Y.isPureReactComponent = !0;
|
|
45
|
-
var D = Array.isArray, b = Object.prototype.hasOwnProperty, X = { current: null }, de = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
46
|
-
function ie(o, u, l) {
|
|
47
|
-
var d, w = {}, s = null, S = null;
|
|
48
|
-
if (u != null) for (d in u.ref !== void 0 && (S = u.ref), u.key !== void 0 && (s = "" + u.key), u) b.call(u, d) && !de.hasOwnProperty(d) && (w[d] = u[d]);
|
|
49
|
-
var f = arguments.length - 2;
|
|
50
|
-
if (f === 1) w.children = l;
|
|
51
|
-
else if (1 < f) {
|
|
52
|
-
for (var A = Array(f), O = 0; O < f; O++) A[O] = arguments[O + 2];
|
|
53
|
-
w.children = A;
|
|
54
|
-
}
|
|
55
|
-
if (o && o.defaultProps) for (d in f = o.defaultProps, f) w[d] === void 0 && (w[d] = f[d]);
|
|
56
|
-
return { $$typeof: t, type: o, key: s, ref: S, props: w, _owner: X.current };
|
|
57
|
-
}
|
|
58
|
-
function ye(o, u) {
|
|
59
|
-
return { $$typeof: t, type: o.type, key: u, ref: o.ref, props: o.props, _owner: o._owner };
|
|
60
|
-
}
|
|
61
|
-
function be(o) {
|
|
62
|
-
return typeof o == "object" && o !== null && o.$$typeof === t;
|
|
63
|
-
}
|
|
64
|
-
function Ee(o) {
|
|
65
|
-
var u = { "=": "=0", ":": "=2" };
|
|
66
|
-
return "$" + o.replace(/[=:]/g, function(l) {
|
|
67
|
-
return u[l];
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
var fe = /\/+/g;
|
|
71
|
-
function pe(o, u) {
|
|
72
|
-
return typeof o == "object" && o !== null && o.key != null ? Ee("" + o.key) : u.toString(36);
|
|
73
|
-
}
|
|
74
|
-
function se(o, u, l, d, w) {
|
|
75
|
-
var s = typeof o;
|
|
76
|
-
(s === "undefined" || s === "boolean") && (o = null);
|
|
77
|
-
var S = !1;
|
|
78
|
-
if (o === null) S = !0;
|
|
79
|
-
else switch (s) {
|
|
80
|
-
case "string":
|
|
81
|
-
case "number":
|
|
82
|
-
S = !0;
|
|
83
|
-
break;
|
|
84
|
-
case "object":
|
|
85
|
-
switch (o.$$typeof) {
|
|
86
|
-
case t:
|
|
87
|
-
case a:
|
|
88
|
-
S = !0;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
if (S) return S = o, w = w(S), o = d === "" ? "." + pe(S, 0) : d, D(w) ? (l = "", o != null && (l = o.replace(fe, "$&/") + "/"), se(w, u, l, "", function(O) {
|
|
92
|
-
return O;
|
|
93
|
-
})) : w != null && (be(w) && (w = ye(w, l + (!w.key || S && S.key === w.key ? "" : ("" + w.key).replace(fe, "$&/") + "/") + o)), u.push(w)), 1;
|
|
94
|
-
if (S = 0, d = d === "" ? "." : d + ":", D(o)) for (var f = 0; f < o.length; f++) {
|
|
95
|
-
s = o[f];
|
|
96
|
-
var A = d + pe(s, f);
|
|
97
|
-
S += se(s, u, l, A, w);
|
|
98
|
-
}
|
|
99
|
-
else if (A = M(o), typeof A == "function") for (o = A.call(o), f = 0; !(s = o.next()).done; ) s = s.value, A = d + pe(s, f++), S += se(s, u, l, A, w);
|
|
100
|
-
else if (s === "object") throw u = String(o), Error("Objects are not valid as a React child (found: " + (u === "[object Object]" ? "object with keys {" + Object.keys(o).join(", ") + "}" : u) + "). If you meant to render a collection of children, use an array instead.");
|
|
101
|
-
return S;
|
|
102
|
-
}
|
|
103
|
-
function Q(o, u, l) {
|
|
104
|
-
if (o == null) return o;
|
|
105
|
-
var d = [], w = 0;
|
|
106
|
-
return se(o, d, "", "", function(s) {
|
|
107
|
-
return u.call(l, s, w++);
|
|
108
|
-
}), d;
|
|
109
|
-
}
|
|
110
|
-
function ne(o) {
|
|
111
|
-
if (o._status === -1) {
|
|
112
|
-
var u = o._result;
|
|
113
|
-
u = u(), u.then(function(l) {
|
|
114
|
-
(o._status === 0 || o._status === -1) && (o._status = 1, o._result = l);
|
|
115
|
-
}, function(l) {
|
|
116
|
-
(o._status === 0 || o._status === -1) && (o._status = 2, o._result = l);
|
|
117
|
-
}), o._status === -1 && (o._status = 0, o._result = u);
|
|
118
|
-
}
|
|
119
|
-
if (o._status === 1) return o._result.default;
|
|
120
|
-
throw o._result;
|
|
121
|
-
}
|
|
122
|
-
var k = { current: null }, oe = { transition: null }, Se = { ReactCurrentDispatcher: k, ReactCurrentBatchConfig: oe, ReactCurrentOwner: X };
|
|
123
|
-
function E() {
|
|
124
|
-
throw Error("act(...) is not supported in production builds of React.");
|
|
125
|
-
}
|
|
126
|
-
return B.Children = { map: Q, forEach: function(o, u, l) {
|
|
127
|
-
Q(o, function() {
|
|
128
|
-
u.apply(this, arguments);
|
|
129
|
-
}, l);
|
|
130
|
-
}, count: function(o) {
|
|
131
|
-
var u = 0;
|
|
132
|
-
return Q(o, function() {
|
|
133
|
-
u++;
|
|
134
|
-
}), u;
|
|
135
|
-
}, toArray: function(o) {
|
|
136
|
-
return Q(o, function(u) {
|
|
137
|
-
return u;
|
|
138
|
-
}) || [];
|
|
139
|
-
}, only: function(o) {
|
|
140
|
-
if (!be(o)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
141
|
-
return o;
|
|
142
|
-
} }, B.Component = x, B.Fragment = n, B.Profiler = p, B.PureComponent = L, B.StrictMode = i, B.Suspense = _, B.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Se, B.act = E, B.cloneElement = function(o, u, l) {
|
|
143
|
-
if (o == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + o + ".");
|
|
144
|
-
var d = $({}, o.props), w = o.key, s = o.ref, S = o._owner;
|
|
145
|
-
if (u != null) {
|
|
146
|
-
if (u.ref !== void 0 && (s = u.ref, S = X.current), u.key !== void 0 && (w = "" + u.key), o.type && o.type.defaultProps) var f = o.type.defaultProps;
|
|
147
|
-
for (A in u) b.call(u, A) && !de.hasOwnProperty(A) && (d[A] = u[A] === void 0 && f !== void 0 ? f[A] : u[A]);
|
|
148
|
-
}
|
|
149
|
-
var A = arguments.length - 2;
|
|
150
|
-
if (A === 1) d.children = l;
|
|
151
|
-
else if (1 < A) {
|
|
152
|
-
f = Array(A);
|
|
153
|
-
for (var O = 0; O < A; O++) f[O] = arguments[O + 2];
|
|
154
|
-
d.children = f;
|
|
155
|
-
}
|
|
156
|
-
return { $$typeof: t, type: o.type, key: w, ref: s, props: d, _owner: S };
|
|
157
|
-
}, B.createContext = function(o) {
|
|
158
|
-
return o = { $$typeof: m, _currentValue: o, _currentValue2: o, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, o.Provider = { $$typeof: v, _context: o }, o.Consumer = o;
|
|
159
|
-
}, B.createElement = ie, B.createFactory = function(o) {
|
|
160
|
-
var u = ie.bind(null, o);
|
|
161
|
-
return u.type = o, u;
|
|
162
|
-
}, B.createRef = function() {
|
|
163
|
-
return { current: null };
|
|
164
|
-
}, B.forwardRef = function(o) {
|
|
165
|
-
return { $$typeof: y, render: o };
|
|
166
|
-
}, B.isValidElement = be, B.lazy = function(o) {
|
|
167
|
-
return { $$typeof: T, _payload: { _status: -1, _result: o }, _init: ne };
|
|
168
|
-
}, B.memo = function(o, u) {
|
|
169
|
-
return { $$typeof: C, type: o, compare: u === void 0 ? null : u };
|
|
170
|
-
}, B.startTransition = function(o) {
|
|
171
|
-
var u = oe.transition;
|
|
172
|
-
oe.transition = {};
|
|
173
|
-
try {
|
|
174
|
-
o();
|
|
175
|
-
} finally {
|
|
176
|
-
oe.transition = u;
|
|
177
|
-
}
|
|
178
|
-
}, B.unstable_act = E, B.useCallback = function(o, u) {
|
|
179
|
-
return k.current.useCallback(o, u);
|
|
180
|
-
}, B.useContext = function(o) {
|
|
181
|
-
return k.current.useContext(o);
|
|
182
|
-
}, B.useDebugValue = function() {
|
|
183
|
-
}, B.useDeferredValue = function(o) {
|
|
184
|
-
return k.current.useDeferredValue(o);
|
|
185
|
-
}, B.useEffect = function(o, u) {
|
|
186
|
-
return k.current.useEffect(o, u);
|
|
187
|
-
}, B.useId = function() {
|
|
188
|
-
return k.current.useId();
|
|
189
|
-
}, B.useImperativeHandle = function(o, u, l) {
|
|
190
|
-
return k.current.useImperativeHandle(o, u, l);
|
|
191
|
-
}, B.useInsertionEffect = function(o, u) {
|
|
192
|
-
return k.current.useInsertionEffect(o, u);
|
|
193
|
-
}, B.useLayoutEffect = function(o, u) {
|
|
194
|
-
return k.current.useLayoutEffect(o, u);
|
|
195
|
-
}, B.useMemo = function(o, u) {
|
|
196
|
-
return k.current.useMemo(o, u);
|
|
197
|
-
}, B.useReducer = function(o, u, l) {
|
|
198
|
-
return k.current.useReducer(o, u, l);
|
|
199
|
-
}, B.useRef = function(o) {
|
|
200
|
-
return k.current.useRef(o);
|
|
201
|
-
}, B.useState = function(o) {
|
|
202
|
-
return k.current.useState(o);
|
|
203
|
-
}, B.useSyncExternalStore = function(o, u, l) {
|
|
204
|
-
return k.current.useSyncExternalStore(o, u, l);
|
|
205
|
-
}, B.useTransition = function() {
|
|
206
|
-
return k.current.useTransition();
|
|
207
|
-
}, B.version = "18.3.1", B;
|
|
208
|
-
}
|
|
209
|
-
var Ue = { exports: {} };
|
|
210
|
-
/**
|
|
211
|
-
* @license React
|
|
212
|
-
* react.development.js
|
|
213
|
-
*
|
|
214
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
215
|
-
*
|
|
216
|
-
* This source code is licensed under the MIT license found in the
|
|
217
|
-
* LICENSE file in the root directory of this source tree.
|
|
218
|
-
*/
|
|
219
|
-
Ue.exports;
|
|
220
|
-
var _r;
|
|
221
|
-
function ro() {
|
|
222
|
-
return _r || (_r = 1, function(t, a) {
|
|
223
|
-
process.env.NODE_ENV !== "production" && function() {
|
|
224
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
225
|
-
var n = "18.3.1", i = Symbol.for("react.element"), p = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), C = Symbol.for("react.context"), T = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), x = Symbol.iterator, F = "@@iterator";
|
|
226
|
-
function L(e) {
|
|
227
|
-
if (e === null || typeof e != "object")
|
|
228
|
-
return null;
|
|
229
|
-
var r = x && e[x] || e[F];
|
|
230
|
-
return typeof r == "function" ? r : null;
|
|
231
|
-
}
|
|
232
|
-
var Y = {
|
|
233
|
-
/**
|
|
234
|
-
* @internal
|
|
235
|
-
* @type {ReactComponent}
|
|
236
|
-
*/
|
|
237
|
-
current: null
|
|
238
|
-
}, D = {
|
|
239
|
-
transition: null
|
|
240
|
-
}, b = {
|
|
241
|
-
current: null,
|
|
242
|
-
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
|
|
243
|
-
isBatchingLegacy: !1,
|
|
244
|
-
didScheduleLegacyUpdate: !1
|
|
245
|
-
}, X = {
|
|
246
|
-
/**
|
|
247
|
-
* @internal
|
|
248
|
-
* @type {ReactComponent}
|
|
249
|
-
*/
|
|
250
|
-
current: null
|
|
251
|
-
}, de = {}, ie = null;
|
|
252
|
-
function ye(e) {
|
|
253
|
-
ie = e;
|
|
254
|
-
}
|
|
255
|
-
de.setExtraStackFrame = function(e) {
|
|
256
|
-
ie = e;
|
|
257
|
-
}, de.getCurrentStack = null, de.getStackAddendum = function() {
|
|
258
|
-
var e = "";
|
|
259
|
-
ie && (e += ie);
|
|
260
|
-
var r = de.getCurrentStack;
|
|
261
|
-
return r && (e += r() || ""), e;
|
|
262
|
-
};
|
|
263
|
-
var be = !1, Ee = !1, fe = !1, pe = !1, se = !1, Q = {
|
|
264
|
-
ReactCurrentDispatcher: Y,
|
|
265
|
-
ReactCurrentBatchConfig: D,
|
|
266
|
-
ReactCurrentOwner: X
|
|
267
|
-
};
|
|
268
|
-
Q.ReactDebugCurrentFrame = de, Q.ReactCurrentActQueue = b;
|
|
269
|
-
function ne(e) {
|
|
270
|
-
{
|
|
271
|
-
for (var r = arguments.length, c = new Array(r > 1 ? r - 1 : 0), h = 1; h < r; h++)
|
|
272
|
-
c[h - 1] = arguments[h];
|
|
273
|
-
oe("warn", e, c);
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
function k(e) {
|
|
277
|
-
{
|
|
278
|
-
for (var r = arguments.length, c = new Array(r > 1 ? r - 1 : 0), h = 1; h < r; h++)
|
|
279
|
-
c[h - 1] = arguments[h];
|
|
280
|
-
oe("error", e, c);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
function oe(e, r, c) {
|
|
284
|
-
{
|
|
285
|
-
var h = Q.ReactDebugCurrentFrame, R = h.getStackAddendum();
|
|
286
|
-
R !== "" && (r += "%s", c = c.concat([R]));
|
|
287
|
-
var z = c.map(function(I) {
|
|
288
|
-
return String(I);
|
|
289
|
-
});
|
|
290
|
-
z.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, z);
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
var Se = {};
|
|
294
|
-
function E(e, r) {
|
|
295
|
-
{
|
|
296
|
-
var c = e.constructor, h = c && (c.displayName || c.name) || "ReactClass", R = h + "." + r;
|
|
297
|
-
if (Se[R])
|
|
298
|
-
return;
|
|
299
|
-
k("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, h), Se[R] = !0;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
var o = {
|
|
303
|
-
/**
|
|
304
|
-
* Checks whether or not this composite component is mounted.
|
|
305
|
-
* @param {ReactClass} publicInstance The instance we want to test.
|
|
306
|
-
* @return {boolean} True if mounted, false otherwise.
|
|
307
|
-
* @protected
|
|
308
|
-
* @final
|
|
309
|
-
*/
|
|
310
|
-
isMounted: function(e) {
|
|
311
|
-
return !1;
|
|
312
|
-
},
|
|
313
|
-
/**
|
|
314
|
-
* Forces an update. This should only be invoked when it is known with
|
|
315
|
-
* certainty that we are **not** in a DOM transaction.
|
|
316
|
-
*
|
|
317
|
-
* You may want to call this when you know that some deeper aspect of the
|
|
318
|
-
* component's state has changed but `setState` was not called.
|
|
319
|
-
*
|
|
320
|
-
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
|
321
|
-
* `componentWillUpdate` and `componentDidUpdate`.
|
|
322
|
-
*
|
|
323
|
-
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
324
|
-
* @param {?function} callback Called after component is updated.
|
|
325
|
-
* @param {?string} callerName name of the calling function in the public API.
|
|
326
|
-
* @internal
|
|
327
|
-
*/
|
|
328
|
-
enqueueForceUpdate: function(e, r, c) {
|
|
329
|
-
E(e, "forceUpdate");
|
|
330
|
-
},
|
|
331
|
-
/**
|
|
332
|
-
* Replaces all of the state. Always use this or `setState` to mutate state.
|
|
333
|
-
* You should treat `this.state` as immutable.
|
|
334
|
-
*
|
|
335
|
-
* There is no guarantee that `this.state` will be immediately updated, so
|
|
336
|
-
* accessing `this.state` after calling this method may return the old value.
|
|
337
|
-
*
|
|
338
|
-
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
339
|
-
* @param {object} completeState Next state.
|
|
340
|
-
* @param {?function} callback Called after component is updated.
|
|
341
|
-
* @param {?string} callerName name of the calling function in the public API.
|
|
342
|
-
* @internal
|
|
343
|
-
*/
|
|
344
|
-
enqueueReplaceState: function(e, r, c, h) {
|
|
345
|
-
E(e, "replaceState");
|
|
346
|
-
},
|
|
347
|
-
/**
|
|
348
|
-
* Sets a subset of the state. This only exists because _pendingState is
|
|
349
|
-
* internal. This provides a merging strategy that is not available to deep
|
|
350
|
-
* properties which is confusing. TODO: Expose pendingState or don't use it
|
|
351
|
-
* during the merge.
|
|
352
|
-
*
|
|
353
|
-
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
354
|
-
* @param {object} partialState Next partial state to be merged with state.
|
|
355
|
-
* @param {?function} callback Called after component is updated.
|
|
356
|
-
* @param {?string} Name of the calling function in the public API.
|
|
357
|
-
* @internal
|
|
358
|
-
*/
|
|
359
|
-
enqueueSetState: function(e, r, c, h) {
|
|
360
|
-
E(e, "setState");
|
|
361
|
-
}
|
|
362
|
-
}, u = Object.assign, l = {};
|
|
363
|
-
Object.freeze(l);
|
|
364
|
-
function d(e, r, c) {
|
|
365
|
-
this.props = e, this.context = r, this.refs = l, this.updater = c || o;
|
|
366
|
-
}
|
|
367
|
-
d.prototype.isReactComponent = {}, d.prototype.setState = function(e, r) {
|
|
368
|
-
if (typeof e != "object" && typeof e != "function" && e != null)
|
|
369
|
-
throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
370
|
-
this.updater.enqueueSetState(this, e, r, "setState");
|
|
371
|
-
}, d.prototype.forceUpdate = function(e) {
|
|
372
|
-
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
|
373
|
-
};
|
|
374
|
-
{
|
|
375
|
-
var w = {
|
|
376
|
-
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
|
377
|
-
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
|
378
|
-
}, s = function(e, r) {
|
|
379
|
-
Object.defineProperty(d.prototype, e, {
|
|
380
|
-
get: function() {
|
|
381
|
-
ne("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
|
|
382
|
-
}
|
|
383
|
-
});
|
|
384
|
-
};
|
|
385
|
-
for (var S in w)
|
|
386
|
-
w.hasOwnProperty(S) && s(S, w[S]);
|
|
387
|
-
}
|
|
388
|
-
function f() {
|
|
389
|
-
}
|
|
390
|
-
f.prototype = d.prototype;
|
|
391
|
-
function A(e, r, c) {
|
|
392
|
-
this.props = e, this.context = r, this.refs = l, this.updater = c || o;
|
|
393
|
-
}
|
|
394
|
-
var O = A.prototype = new f();
|
|
395
|
-
O.constructor = A, u(O, d.prototype), O.isPureReactComponent = !0;
|
|
396
|
-
function W() {
|
|
397
|
-
var e = {
|
|
398
|
-
current: null
|
|
399
|
-
};
|
|
400
|
-
return Object.seal(e), e;
|
|
401
|
-
}
|
|
402
|
-
var g = Array.isArray;
|
|
403
|
-
function K(e) {
|
|
404
|
-
return g(e);
|
|
405
|
-
}
|
|
406
|
-
function he(e) {
|
|
407
|
-
{
|
|
408
|
-
var r = typeof Symbol == "function" && Symbol.toStringTag, c = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
409
|
-
return c;
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
function q(e) {
|
|
413
|
-
try {
|
|
414
|
-
return me(e), !1;
|
|
415
|
-
} catch {
|
|
416
|
-
return !0;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
function me(e) {
|
|
420
|
-
return "" + e;
|
|
421
|
-
}
|
|
422
|
-
function H(e) {
|
|
423
|
-
if (q(e))
|
|
424
|
-
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", he(e)), me(e);
|
|
425
|
-
}
|
|
426
|
-
function ge(e, r, c) {
|
|
427
|
-
var h = e.displayName;
|
|
428
|
-
if (h)
|
|
429
|
-
return h;
|
|
430
|
-
var R = r.displayName || r.name || "";
|
|
431
|
-
return R !== "" ? c + "(" + R + ")" : c;
|
|
432
|
-
}
|
|
433
|
-
function Ae(e) {
|
|
434
|
-
return e.displayName || "Context";
|
|
435
|
-
}
|
|
436
|
-
function te(e) {
|
|
437
|
-
if (e == null)
|
|
438
|
-
return null;
|
|
439
|
-
if (typeof e.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
440
|
-
return e.displayName || e.name || null;
|
|
441
|
-
if (typeof e == "string")
|
|
442
|
-
return e;
|
|
443
|
-
switch (e) {
|
|
444
|
-
case v:
|
|
445
|
-
return "Fragment";
|
|
446
|
-
case p:
|
|
447
|
-
return "Portal";
|
|
448
|
-
case y:
|
|
449
|
-
return "Profiler";
|
|
450
|
-
case m:
|
|
451
|
-
return "StrictMode";
|
|
452
|
-
case P:
|
|
453
|
-
return "Suspense";
|
|
454
|
-
case M:
|
|
455
|
-
return "SuspenseList";
|
|
456
|
-
}
|
|
457
|
-
if (typeof e == "object")
|
|
458
|
-
switch (e.$$typeof) {
|
|
459
|
-
case C:
|
|
460
|
-
var r = e;
|
|
461
|
-
return Ae(r) + ".Consumer";
|
|
462
|
-
case _:
|
|
463
|
-
var c = e;
|
|
464
|
-
return Ae(c._context) + ".Provider";
|
|
465
|
-
case T:
|
|
466
|
-
return ge(e, e.render, "ForwardRef");
|
|
467
|
-
case N:
|
|
468
|
-
var h = e.displayName || null;
|
|
469
|
-
return h !== null ? h : te(e.type) || "Memo";
|
|
470
|
-
case $: {
|
|
471
|
-
var R = e, z = R._payload, I = R._init;
|
|
472
|
-
try {
|
|
473
|
-
return te(I(z));
|
|
474
|
-
} catch {
|
|
475
|
-
return null;
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
return null;
|
|
480
|
-
}
|
|
481
|
-
var Re = Object.prototype.hasOwnProperty, Pe = {
|
|
482
|
-
key: !0,
|
|
483
|
-
ref: !0,
|
|
484
|
-
__self: !0,
|
|
485
|
-
__source: !0
|
|
486
|
-
}, Ce, V, ae;
|
|
487
|
-
ae = {};
|
|
488
|
-
function je(e) {
|
|
489
|
-
if (Re.call(e, "ref")) {
|
|
490
|
-
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
491
|
-
if (r && r.isReactWarning)
|
|
492
|
-
return !1;
|
|
493
|
-
}
|
|
494
|
-
return e.ref !== void 0;
|
|
495
|
-
}
|
|
496
|
-
function De(e) {
|
|
497
|
-
if (Re.call(e, "key")) {
|
|
498
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
499
|
-
if (r && r.isReactWarning)
|
|
500
|
-
return !1;
|
|
501
|
-
}
|
|
502
|
-
return e.key !== void 0;
|
|
503
|
-
}
|
|
504
|
-
function Te(e, r) {
|
|
505
|
-
var c = function() {
|
|
506
|
-
Ce || (Ce = !0, k("%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));
|
|
507
|
-
};
|
|
508
|
-
c.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
509
|
-
get: c,
|
|
510
|
-
configurable: !0
|
|
511
|
-
});
|
|
512
|
-
}
|
|
513
|
-
function en(e, r) {
|
|
514
|
-
var c = function() {
|
|
515
|
-
V || (V = !0, k("%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));
|
|
516
|
-
};
|
|
517
|
-
c.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
518
|
-
get: c,
|
|
519
|
-
configurable: !0
|
|
520
|
-
});
|
|
521
|
-
}
|
|
522
|
-
function tn(e) {
|
|
523
|
-
if (typeof e.ref == "string" && X.current && e.__self && X.current.stateNode !== e.__self) {
|
|
524
|
-
var r = te(X.current.type);
|
|
525
|
-
ae[r] || (k('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), ae[r] = !0);
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
var lt = function(e, r, c, h, R, z, I) {
|
|
529
|
-
var U = {
|
|
530
|
-
// This tag allows us to uniquely identify this as a React Element
|
|
531
|
-
$$typeof: i,
|
|
532
|
-
// Built-in properties that belong on the element
|
|
533
|
-
type: e,
|
|
534
|
-
key: r,
|
|
535
|
-
ref: c,
|
|
536
|
-
props: I,
|
|
537
|
-
// Record the component responsible for creating this element.
|
|
538
|
-
_owner: z
|
|
539
|
-
};
|
|
540
|
-
return U._store = {}, Object.defineProperty(U._store, "validated", {
|
|
541
|
-
configurable: !1,
|
|
542
|
-
enumerable: !1,
|
|
543
|
-
writable: !0,
|
|
544
|
-
value: !1
|
|
545
|
-
}), Object.defineProperty(U, "_self", {
|
|
546
|
-
configurable: !1,
|
|
547
|
-
enumerable: !1,
|
|
548
|
-
writable: !1,
|
|
549
|
-
value: h
|
|
550
|
-
}), Object.defineProperty(U, "_source", {
|
|
551
|
-
configurable: !1,
|
|
552
|
-
enumerable: !1,
|
|
553
|
-
writable: !1,
|
|
554
|
-
value: R
|
|
555
|
-
}), Object.freeze && (Object.freeze(U.props), Object.freeze(U)), U;
|
|
556
|
-
};
|
|
557
|
-
function rn(e, r, c) {
|
|
558
|
-
var h, R = {}, z = null, I = null, U = null, G = null;
|
|
559
|
-
if (r != null) {
|
|
560
|
-
je(r) && (I = r.ref, tn(r)), De(r) && (H(r.key), z = "" + r.key), U = r.__self === void 0 ? null : r.__self, G = r.__source === void 0 ? null : r.__source;
|
|
561
|
-
for (h in r)
|
|
562
|
-
Re.call(r, h) && !Pe.hasOwnProperty(h) && (R[h] = r[h]);
|
|
563
|
-
}
|
|
564
|
-
var ee = arguments.length - 2;
|
|
565
|
-
if (ee === 1)
|
|
566
|
-
R.children = c;
|
|
567
|
-
else if (ee > 1) {
|
|
568
|
-
for (var ue = Array(ee), ce = 0; ce < ee; ce++)
|
|
569
|
-
ue[ce] = arguments[ce + 2];
|
|
570
|
-
Object.freeze && Object.freeze(ue), R.children = ue;
|
|
571
|
-
}
|
|
572
|
-
if (e && e.defaultProps) {
|
|
573
|
-
var le = e.defaultProps;
|
|
574
|
-
for (h in le)
|
|
575
|
-
R[h] === void 0 && (R[h] = le[h]);
|
|
576
|
-
}
|
|
577
|
-
if (z || I) {
|
|
578
|
-
var ve = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
579
|
-
z && Te(R, ve), I && en(R, ve);
|
|
580
|
-
}
|
|
581
|
-
return lt(e, z, I, U, G, X.current, R);
|
|
582
|
-
}
|
|
583
|
-
function nn(e, r) {
|
|
584
|
-
var c = lt(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
|
|
585
|
-
return c;
|
|
586
|
-
}
|
|
587
|
-
function on(e, r, c) {
|
|
588
|
-
if (e == null)
|
|
589
|
-
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
|
590
|
-
var h, R = u({}, e.props), z = e.key, I = e.ref, U = e._self, G = e._source, ee = e._owner;
|
|
591
|
-
if (r != null) {
|
|
592
|
-
je(r) && (I = r.ref, ee = X.current), De(r) && (H(r.key), z = "" + r.key);
|
|
593
|
-
var ue;
|
|
594
|
-
e.type && e.type.defaultProps && (ue = e.type.defaultProps);
|
|
595
|
-
for (h in r)
|
|
596
|
-
Re.call(r, h) && !Pe.hasOwnProperty(h) && (r[h] === void 0 && ue !== void 0 ? R[h] = ue[h] : R[h] = r[h]);
|
|
597
|
-
}
|
|
598
|
-
var ce = arguments.length - 2;
|
|
599
|
-
if (ce === 1)
|
|
600
|
-
R.children = c;
|
|
601
|
-
else if (ce > 1) {
|
|
602
|
-
for (var le = Array(ce), ve = 0; ve < ce; ve++)
|
|
603
|
-
le[ve] = arguments[ve + 2];
|
|
604
|
-
R.children = le;
|
|
605
|
-
}
|
|
606
|
-
return lt(e.type, z, I, U, G, ee, R);
|
|
607
|
-
}
|
|
608
|
-
function $e(e) {
|
|
609
|
-
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
610
|
-
}
|
|
611
|
-
var Bt = ".", an = ":";
|
|
612
|
-
function sn(e) {
|
|
613
|
-
var r = /[=:]/g, c = {
|
|
614
|
-
"=": "=0",
|
|
615
|
-
":": "=2"
|
|
616
|
-
}, h = e.replace(r, function(R) {
|
|
617
|
-
return c[R];
|
|
618
|
-
});
|
|
619
|
-
return "$" + h;
|
|
620
|
-
}
|
|
621
|
-
var qt = !1, un = /\/+/g;
|
|
622
|
-
function Ht(e) {
|
|
623
|
-
return e.replace(un, "$&/");
|
|
624
|
-
}
|
|
625
|
-
function ft(e, r) {
|
|
626
|
-
return typeof e == "object" && e !== null && e.key != null ? (H(e.key), sn("" + e.key)) : r.toString(36);
|
|
627
|
-
}
|
|
628
|
-
function He(e, r, c, h, R) {
|
|
629
|
-
var z = typeof e;
|
|
630
|
-
(z === "undefined" || z === "boolean") && (e = null);
|
|
631
|
-
var I = !1;
|
|
632
|
-
if (e === null)
|
|
633
|
-
I = !0;
|
|
634
|
-
else
|
|
635
|
-
switch (z) {
|
|
636
|
-
case "string":
|
|
637
|
-
case "number":
|
|
638
|
-
I = !0;
|
|
639
|
-
break;
|
|
640
|
-
case "object":
|
|
641
|
-
switch (e.$$typeof) {
|
|
642
|
-
case i:
|
|
643
|
-
case p:
|
|
644
|
-
I = !0;
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
if (I) {
|
|
648
|
-
var U = e, G = R(U), ee = h === "" ? Bt + ft(U, 0) : h;
|
|
649
|
-
if (K(G)) {
|
|
650
|
-
var ue = "";
|
|
651
|
-
ee != null && (ue = Ht(ee) + "/"), He(G, r, ue, "", function(eo) {
|
|
652
|
-
return eo;
|
|
653
|
-
});
|
|
654
|
-
} else G != null && ($e(G) && (G.key && (!U || U.key !== G.key) && H(G.key), G = nn(
|
|
655
|
-
G,
|
|
656
|
-
// Keep both the (mapped) and old keys if they differ, just as
|
|
657
|
-
// traverseAllChildren used to do for objects as children
|
|
658
|
-
c + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
|
659
|
-
(G.key && (!U || U.key !== G.key) ? (
|
|
660
|
-
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
661
|
-
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
662
|
-
Ht("" + G.key) + "/"
|
|
663
|
-
) : "") + ee
|
|
664
|
-
)), r.push(G));
|
|
665
|
-
return 1;
|
|
666
|
-
}
|
|
667
|
-
var ce, le, ve = 0, we = h === "" ? Bt : h + an;
|
|
668
|
-
if (K(e))
|
|
669
|
-
for (var tt = 0; tt < e.length; tt++)
|
|
670
|
-
ce = e[tt], le = we + ft(ce, tt), ve += He(ce, r, c, le, R);
|
|
671
|
-
else {
|
|
672
|
-
var wt = L(e);
|
|
673
|
-
if (typeof wt == "function") {
|
|
674
|
-
var gr = e;
|
|
675
|
-
wt === gr.entries && (qt || ne("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), qt = !0);
|
|
676
|
-
for (var Zn = wt.call(gr), br, Jn = 0; !(br = Zn.next()).done; )
|
|
677
|
-
ce = br.value, le = we + ft(ce, Jn++), ve += He(ce, r, c, le, R);
|
|
678
|
-
} else if (z === "object") {
|
|
679
|
-
var wr = String(e);
|
|
680
|
-
throw new Error("Objects are not valid as a React child (found: " + (wr === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : wr) + "). If you meant to render a collection of children, use an array instead.");
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
return ve;
|
|
684
|
-
}
|
|
685
|
-
function Ge(e, r, c) {
|
|
686
|
-
if (e == null)
|
|
687
|
-
return e;
|
|
688
|
-
var h = [], R = 0;
|
|
689
|
-
return He(e, h, "", "", function(z) {
|
|
690
|
-
return r.call(c, z, R++);
|
|
691
|
-
}), h;
|
|
692
|
-
}
|
|
693
|
-
function cn(e) {
|
|
694
|
-
var r = 0;
|
|
695
|
-
return Ge(e, function() {
|
|
696
|
-
r++;
|
|
697
|
-
}), r;
|
|
698
|
-
}
|
|
699
|
-
function ln(e, r, c) {
|
|
700
|
-
Ge(e, function() {
|
|
701
|
-
r.apply(this, arguments);
|
|
702
|
-
}, c);
|
|
703
|
-
}
|
|
704
|
-
function fn(e) {
|
|
705
|
-
return Ge(e, function(r) {
|
|
706
|
-
return r;
|
|
707
|
-
}) || [];
|
|
708
|
-
}
|
|
709
|
-
function dn(e) {
|
|
710
|
-
if (!$e(e))
|
|
711
|
-
throw new Error("React.Children.only expected to receive a single React element child.");
|
|
712
|
-
return e;
|
|
713
|
-
}
|
|
714
|
-
function pn(e) {
|
|
715
|
-
var r = {
|
|
716
|
-
$$typeof: C,
|
|
717
|
-
// As a workaround to support multiple concurrent renderers, we categorize
|
|
718
|
-
// some renderers as primary and others as secondary. We only expect
|
|
719
|
-
// there to be two concurrent renderers at most: React Native (primary) and
|
|
720
|
-
// Fabric (secondary); React DOM (primary) and React ART (secondary).
|
|
721
|
-
// Secondary renderers store their context values on separate fields.
|
|
722
|
-
_currentValue: e,
|
|
723
|
-
_currentValue2: e,
|
|
724
|
-
// Used to track how many concurrent renderers this context currently
|
|
725
|
-
// supports within in a single renderer. Such as parallel server rendering.
|
|
726
|
-
_threadCount: 0,
|
|
727
|
-
// These are circular
|
|
728
|
-
Provider: null,
|
|
729
|
-
Consumer: null,
|
|
730
|
-
// Add these to use same hidden class in VM as ServerContext
|
|
731
|
-
_defaultValue: null,
|
|
732
|
-
_globalName: null
|
|
733
|
-
};
|
|
734
|
-
r.Provider = {
|
|
735
|
-
$$typeof: _,
|
|
736
|
-
_context: r
|
|
737
|
-
};
|
|
738
|
-
var c = !1, h = !1, R = !1;
|
|
739
|
-
{
|
|
740
|
-
var z = {
|
|
741
|
-
$$typeof: C,
|
|
742
|
-
_context: r
|
|
743
|
-
};
|
|
744
|
-
Object.defineProperties(z, {
|
|
745
|
-
Provider: {
|
|
746
|
-
get: function() {
|
|
747
|
-
return h || (h = !0, k("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;
|
|
748
|
-
},
|
|
749
|
-
set: function(I) {
|
|
750
|
-
r.Provider = I;
|
|
751
|
-
}
|
|
752
|
-
},
|
|
753
|
-
_currentValue: {
|
|
754
|
-
get: function() {
|
|
755
|
-
return r._currentValue;
|
|
756
|
-
},
|
|
757
|
-
set: function(I) {
|
|
758
|
-
r._currentValue = I;
|
|
759
|
-
}
|
|
760
|
-
},
|
|
761
|
-
_currentValue2: {
|
|
762
|
-
get: function() {
|
|
763
|
-
return r._currentValue2;
|
|
764
|
-
},
|
|
765
|
-
set: function(I) {
|
|
766
|
-
r._currentValue2 = I;
|
|
767
|
-
}
|
|
768
|
-
},
|
|
769
|
-
_threadCount: {
|
|
770
|
-
get: function() {
|
|
771
|
-
return r._threadCount;
|
|
772
|
-
},
|
|
773
|
-
set: function(I) {
|
|
774
|
-
r._threadCount = I;
|
|
775
|
-
}
|
|
776
|
-
},
|
|
777
|
-
Consumer: {
|
|
778
|
-
get: function() {
|
|
779
|
-
return c || (c = !0, k("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;
|
|
780
|
-
}
|
|
781
|
-
},
|
|
782
|
-
displayName: {
|
|
783
|
-
get: function() {
|
|
784
|
-
return r.displayName;
|
|
785
|
-
},
|
|
786
|
-
set: function(I) {
|
|
787
|
-
R || (ne("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", I), R = !0);
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
}), r.Consumer = z;
|
|
791
|
-
}
|
|
792
|
-
return r._currentRenderer = null, r._currentRenderer2 = null, r;
|
|
793
|
-
}
|
|
794
|
-
var We = -1, dt = 0, Gt = 1, hn = 2;
|
|
795
|
-
function vn(e) {
|
|
796
|
-
if (e._status === We) {
|
|
797
|
-
var r = e._result, c = r();
|
|
798
|
-
if (c.then(function(z) {
|
|
799
|
-
if (e._status === dt || e._status === We) {
|
|
800
|
-
var I = e;
|
|
801
|
-
I._status = Gt, I._result = z;
|
|
802
|
-
}
|
|
803
|
-
}, function(z) {
|
|
804
|
-
if (e._status === dt || e._status === We) {
|
|
805
|
-
var I = e;
|
|
806
|
-
I._status = hn, I._result = z;
|
|
807
|
-
}
|
|
808
|
-
}), e._status === We) {
|
|
809
|
-
var h = e;
|
|
810
|
-
h._status = dt, h._result = c;
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
if (e._status === Gt) {
|
|
814
|
-
var R = e._result;
|
|
815
|
-
return R === void 0 && k(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
816
|
-
|
|
817
|
-
Your code should look like:
|
|
818
|
-
const MyComponent = lazy(() => import('./MyComponent'))
|
|
819
|
-
|
|
820
|
-
Did you accidentally put curly braces around the import?`, R), "default" in R || k(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
821
|
-
|
|
822
|
-
Your code should look like:
|
|
823
|
-
const MyComponent = lazy(() => import('./MyComponent'))`, R), R.default;
|
|
824
|
-
} else
|
|
825
|
-
throw e._result;
|
|
826
|
-
}
|
|
827
|
-
function yn(e) {
|
|
828
|
-
var r = {
|
|
829
|
-
// We use these fields to store the result.
|
|
830
|
-
_status: We,
|
|
831
|
-
_result: e
|
|
832
|
-
}, c = {
|
|
833
|
-
$$typeof: $,
|
|
834
|
-
_payload: r,
|
|
835
|
-
_init: vn
|
|
836
|
-
};
|
|
837
|
-
{
|
|
838
|
-
var h, R;
|
|
839
|
-
Object.defineProperties(c, {
|
|
840
|
-
defaultProps: {
|
|
841
|
-
configurable: !0,
|
|
842
|
-
get: function() {
|
|
843
|
-
return h;
|
|
844
|
-
},
|
|
845
|
-
set: function(z) {
|
|
846
|
-
k("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."), h = z, Object.defineProperty(c, "defaultProps", {
|
|
847
|
-
enumerable: !0
|
|
848
|
-
});
|
|
849
|
-
}
|
|
850
|
-
},
|
|
851
|
-
propTypes: {
|
|
852
|
-
configurable: !0,
|
|
853
|
-
get: function() {
|
|
854
|
-
return R;
|
|
855
|
-
},
|
|
856
|
-
set: function(z) {
|
|
857
|
-
k("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."), R = z, Object.defineProperty(c, "propTypes", {
|
|
858
|
-
enumerable: !0
|
|
859
|
-
});
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
});
|
|
863
|
-
}
|
|
864
|
-
return c;
|
|
865
|
-
}
|
|
866
|
-
function mn(e) {
|
|
867
|
-
e != null && e.$$typeof === N ? k("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? k("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && k("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) && k("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
|
|
868
|
-
var r = {
|
|
869
|
-
$$typeof: T,
|
|
870
|
-
render: e
|
|
871
|
-
};
|
|
872
|
-
{
|
|
873
|
-
var c;
|
|
874
|
-
Object.defineProperty(r, "displayName", {
|
|
875
|
-
enumerable: !1,
|
|
876
|
-
configurable: !0,
|
|
877
|
-
get: function() {
|
|
878
|
-
return c;
|
|
879
|
-
},
|
|
880
|
-
set: function(h) {
|
|
881
|
-
c = h, !e.name && !e.displayName && (e.displayName = h);
|
|
882
|
-
}
|
|
883
|
-
});
|
|
884
|
-
}
|
|
885
|
-
return r;
|
|
886
|
-
}
|
|
887
|
-
var Kt;
|
|
888
|
-
Kt = Symbol.for("react.module.reference");
|
|
889
|
-
function Xt(e) {
|
|
890
|
-
return !!(typeof e == "string" || typeof e == "function" || e === v || e === y || se || e === m || e === P || e === M || pe || e === j || be || Ee || fe || typeof e == "object" && e !== null && (e.$$typeof === $ || e.$$typeof === N || e.$$typeof === _ || e.$$typeof === C || e.$$typeof === T || // This needs to include all possible module reference object
|
|
891
|
-
// types supported by any Flight configuration anywhere since
|
|
892
|
-
// we don't know which Flight build this will end up being used
|
|
893
|
-
// with.
|
|
894
|
-
e.$$typeof === Kt || e.getModuleId !== void 0));
|
|
895
|
-
}
|
|
896
|
-
function gn(e, r) {
|
|
897
|
-
Xt(e) || k("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
|
898
|
-
var c = {
|
|
899
|
-
$$typeof: N,
|
|
900
|
-
type: e,
|
|
901
|
-
compare: r === void 0 ? null : r
|
|
902
|
-
};
|
|
903
|
-
{
|
|
904
|
-
var h;
|
|
905
|
-
Object.defineProperty(c, "displayName", {
|
|
906
|
-
enumerable: !1,
|
|
907
|
-
configurable: !0,
|
|
908
|
-
get: function() {
|
|
909
|
-
return h;
|
|
910
|
-
},
|
|
911
|
-
set: function(R) {
|
|
912
|
-
h = R, !e.name && !e.displayName && (e.displayName = R);
|
|
913
|
-
}
|
|
914
|
-
});
|
|
915
|
-
}
|
|
916
|
-
return c;
|
|
917
|
-
}
|
|
918
|
-
function _e() {
|
|
919
|
-
var e = Y.current;
|
|
920
|
-
return e === null && k(`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:
|
|
921
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
922
|
-
2. You might be breaking the Rules of Hooks
|
|
923
|
-
3. You might have more than one copy of React in the same app
|
|
924
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
|
|
925
|
-
}
|
|
926
|
-
function bn(e) {
|
|
927
|
-
var r = _e();
|
|
928
|
-
if (e._context !== void 0) {
|
|
929
|
-
var c = e._context;
|
|
930
|
-
c.Consumer === e ? k("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?") : c.Provider === e && k("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
|
|
931
|
-
}
|
|
932
|
-
return r.useContext(e);
|
|
933
|
-
}
|
|
934
|
-
function wn(e) {
|
|
935
|
-
var r = _e();
|
|
936
|
-
return r.useState(e);
|
|
937
|
-
}
|
|
938
|
-
function En(e, r, c) {
|
|
939
|
-
var h = _e();
|
|
940
|
-
return h.useReducer(e, r, c);
|
|
941
|
-
}
|
|
942
|
-
function _n(e) {
|
|
943
|
-
var r = _e();
|
|
944
|
-
return r.useRef(e);
|
|
945
|
-
}
|
|
946
|
-
function Sn(e, r) {
|
|
947
|
-
var c = _e();
|
|
948
|
-
return c.useEffect(e, r);
|
|
949
|
-
}
|
|
950
|
-
function Cn(e, r) {
|
|
951
|
-
var c = _e();
|
|
952
|
-
return c.useInsertionEffect(e, r);
|
|
953
|
-
}
|
|
954
|
-
function Rn(e, r) {
|
|
955
|
-
var c = _e();
|
|
956
|
-
return c.useLayoutEffect(e, r);
|
|
957
|
-
}
|
|
958
|
-
function Tn(e, r) {
|
|
959
|
-
var c = _e();
|
|
960
|
-
return c.useCallback(e, r);
|
|
961
|
-
}
|
|
962
|
-
function On(e, r) {
|
|
963
|
-
var c = _e();
|
|
964
|
-
return c.useMemo(e, r);
|
|
965
|
-
}
|
|
966
|
-
function An(e, r, c) {
|
|
967
|
-
var h = _e();
|
|
968
|
-
return h.useImperativeHandle(e, r, c);
|
|
969
|
-
}
|
|
970
|
-
function Pn(e, r) {
|
|
971
|
-
{
|
|
972
|
-
var c = _e();
|
|
973
|
-
return c.useDebugValue(e, r);
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
function kn() {
|
|
977
|
-
var e = _e();
|
|
978
|
-
return e.useTransition();
|
|
979
|
-
}
|
|
980
|
-
function xn(e) {
|
|
981
|
-
var r = _e();
|
|
982
|
-
return r.useDeferredValue(e);
|
|
983
|
-
}
|
|
984
|
-
function In() {
|
|
985
|
-
var e = _e();
|
|
986
|
-
return e.useId();
|
|
987
|
-
}
|
|
988
|
-
function jn(e, r, c) {
|
|
989
|
-
var h = _e();
|
|
990
|
-
return h.useSyncExternalStore(e, r, c);
|
|
991
|
-
}
|
|
992
|
-
var Ve = 0, Qt, Zt, Jt, er, tr, rr, nr;
|
|
993
|
-
function or() {
|
|
994
|
-
}
|
|
995
|
-
or.__reactDisabledLog = !0;
|
|
996
|
-
function Dn() {
|
|
997
|
-
{
|
|
998
|
-
if (Ve === 0) {
|
|
999
|
-
Qt = console.log, Zt = console.info, Jt = console.warn, er = console.error, tr = console.group, rr = console.groupCollapsed, nr = console.groupEnd;
|
|
1000
|
-
var e = {
|
|
1001
|
-
configurable: !0,
|
|
1002
|
-
enumerable: !0,
|
|
1003
|
-
value: or,
|
|
1004
|
-
writable: !0
|
|
1005
|
-
};
|
|
1006
|
-
Object.defineProperties(console, {
|
|
1007
|
-
info: e,
|
|
1008
|
-
log: e,
|
|
1009
|
-
warn: e,
|
|
1010
|
-
error: e,
|
|
1011
|
-
group: e,
|
|
1012
|
-
groupCollapsed: e,
|
|
1013
|
-
groupEnd: e
|
|
1014
|
-
});
|
|
1015
|
-
}
|
|
1016
|
-
Ve++;
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
function $n() {
|
|
1020
|
-
{
|
|
1021
|
-
if (Ve--, Ve === 0) {
|
|
1022
|
-
var e = {
|
|
1023
|
-
configurable: !0,
|
|
1024
|
-
enumerable: !0,
|
|
1025
|
-
writable: !0
|
|
1026
|
-
};
|
|
1027
|
-
Object.defineProperties(console, {
|
|
1028
|
-
log: u({}, e, {
|
|
1029
|
-
value: Qt
|
|
1030
|
-
}),
|
|
1031
|
-
info: u({}, e, {
|
|
1032
|
-
value: Zt
|
|
1033
|
-
}),
|
|
1034
|
-
warn: u({}, e, {
|
|
1035
|
-
value: Jt
|
|
1036
|
-
}),
|
|
1037
|
-
error: u({}, e, {
|
|
1038
|
-
value: er
|
|
1039
|
-
}),
|
|
1040
|
-
group: u({}, e, {
|
|
1041
|
-
value: tr
|
|
1042
|
-
}),
|
|
1043
|
-
groupCollapsed: u({}, e, {
|
|
1044
|
-
value: rr
|
|
1045
|
-
}),
|
|
1046
|
-
groupEnd: u({}, e, {
|
|
1047
|
-
value: nr
|
|
1048
|
-
})
|
|
1049
|
-
});
|
|
1050
|
-
}
|
|
1051
|
-
Ve < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
var pt = Q.ReactCurrentDispatcher, ht;
|
|
1055
|
-
function Ke(e, r, c) {
|
|
1056
|
-
{
|
|
1057
|
-
if (ht === void 0)
|
|
1058
|
-
try {
|
|
1059
|
-
throw Error();
|
|
1060
|
-
} catch (R) {
|
|
1061
|
-
var h = R.stack.trim().match(/\n( *(at )?)/);
|
|
1062
|
-
ht = h && h[1] || "";
|
|
1063
|
-
}
|
|
1064
|
-
return `
|
|
1065
|
-
` + ht + e;
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
var vt = !1, Xe;
|
|
1069
|
-
{
|
|
1070
|
-
var Mn = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1071
|
-
Xe = new Mn();
|
|
1072
|
-
}
|
|
1073
|
-
function ar(e, r) {
|
|
1074
|
-
if (!e || vt)
|
|
1075
|
-
return "";
|
|
1076
|
-
{
|
|
1077
|
-
var c = Xe.get(e);
|
|
1078
|
-
if (c !== void 0)
|
|
1079
|
-
return c;
|
|
1080
|
-
}
|
|
1081
|
-
var h;
|
|
1082
|
-
vt = !0;
|
|
1083
|
-
var R = Error.prepareStackTrace;
|
|
1084
|
-
Error.prepareStackTrace = void 0;
|
|
1085
|
-
var z;
|
|
1086
|
-
z = pt.current, pt.current = null, Dn();
|
|
1087
|
-
try {
|
|
1088
|
-
if (r) {
|
|
1089
|
-
var I = function() {
|
|
1090
|
-
throw Error();
|
|
1091
|
-
};
|
|
1092
|
-
if (Object.defineProperty(I.prototype, "props", {
|
|
1093
|
-
set: function() {
|
|
1094
|
-
throw Error();
|
|
1095
|
-
}
|
|
1096
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1097
|
-
try {
|
|
1098
|
-
Reflect.construct(I, []);
|
|
1099
|
-
} catch (we) {
|
|
1100
|
-
h = we;
|
|
1101
|
-
}
|
|
1102
|
-
Reflect.construct(e, [], I);
|
|
1103
|
-
} else {
|
|
1104
|
-
try {
|
|
1105
|
-
I.call();
|
|
1106
|
-
} catch (we) {
|
|
1107
|
-
h = we;
|
|
1108
|
-
}
|
|
1109
|
-
e.call(I.prototype);
|
|
1110
|
-
}
|
|
1111
|
-
} else {
|
|
1112
|
-
try {
|
|
1113
|
-
throw Error();
|
|
1114
|
-
} catch (we) {
|
|
1115
|
-
h = we;
|
|
1116
|
-
}
|
|
1117
|
-
e();
|
|
1118
|
-
}
|
|
1119
|
-
} catch (we) {
|
|
1120
|
-
if (we && h && typeof we.stack == "string") {
|
|
1121
|
-
for (var U = we.stack.split(`
|
|
1122
|
-
`), G = h.stack.split(`
|
|
1123
|
-
`), ee = U.length - 1, ue = G.length - 1; ee >= 1 && ue >= 0 && U[ee] !== G[ue]; )
|
|
1124
|
-
ue--;
|
|
1125
|
-
for (; ee >= 1 && ue >= 0; ee--, ue--)
|
|
1126
|
-
if (U[ee] !== G[ue]) {
|
|
1127
|
-
if (ee !== 1 || ue !== 1)
|
|
1128
|
-
do
|
|
1129
|
-
if (ee--, ue--, ue < 0 || U[ee] !== G[ue]) {
|
|
1130
|
-
var ce = `
|
|
1131
|
-
` + U[ee].replace(" at new ", " at ");
|
|
1132
|
-
return e.displayName && ce.includes("<anonymous>") && (ce = ce.replace("<anonymous>", e.displayName)), typeof e == "function" && Xe.set(e, ce), ce;
|
|
1133
|
-
}
|
|
1134
|
-
while (ee >= 1 && ue >= 0);
|
|
1135
|
-
break;
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
} finally {
|
|
1139
|
-
vt = !1, pt.current = z, $n(), Error.prepareStackTrace = R;
|
|
1140
|
-
}
|
|
1141
|
-
var le = e ? e.displayName || e.name : "", ve = le ? Ke(le) : "";
|
|
1142
|
-
return typeof e == "function" && Xe.set(e, ve), ve;
|
|
1143
|
-
}
|
|
1144
|
-
function Nn(e, r, c) {
|
|
1145
|
-
return ar(e, !1);
|
|
1146
|
-
}
|
|
1147
|
-
function Ln(e) {
|
|
1148
|
-
var r = e.prototype;
|
|
1149
|
-
return !!(r && r.isReactComponent);
|
|
1150
|
-
}
|
|
1151
|
-
function Qe(e, r, c) {
|
|
1152
|
-
if (e == null)
|
|
1153
|
-
return "";
|
|
1154
|
-
if (typeof e == "function")
|
|
1155
|
-
return ar(e, Ln(e));
|
|
1156
|
-
if (typeof e == "string")
|
|
1157
|
-
return Ke(e);
|
|
1158
|
-
switch (e) {
|
|
1159
|
-
case P:
|
|
1160
|
-
return Ke("Suspense");
|
|
1161
|
-
case M:
|
|
1162
|
-
return Ke("SuspenseList");
|
|
1163
|
-
}
|
|
1164
|
-
if (typeof e == "object")
|
|
1165
|
-
switch (e.$$typeof) {
|
|
1166
|
-
case T:
|
|
1167
|
-
return Nn(e.render);
|
|
1168
|
-
case N:
|
|
1169
|
-
return Qe(e.type, r, c);
|
|
1170
|
-
case $: {
|
|
1171
|
-
var h = e, R = h._payload, z = h._init;
|
|
1172
|
-
try {
|
|
1173
|
-
return Qe(z(R), r, c);
|
|
1174
|
-
} catch {
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
return "";
|
|
1179
|
-
}
|
|
1180
|
-
var ir = {}, sr = Q.ReactDebugCurrentFrame;
|
|
1181
|
-
function Ze(e) {
|
|
1182
|
-
if (e) {
|
|
1183
|
-
var r = e._owner, c = Qe(e.type, e._source, r ? r.type : null);
|
|
1184
|
-
sr.setExtraStackFrame(c);
|
|
1185
|
-
} else
|
|
1186
|
-
sr.setExtraStackFrame(null);
|
|
1187
|
-
}
|
|
1188
|
-
function Fn(e, r, c, h, R) {
|
|
1189
|
-
{
|
|
1190
|
-
var z = Function.call.bind(Re);
|
|
1191
|
-
for (var I in e)
|
|
1192
|
-
if (z(e, I)) {
|
|
1193
|
-
var U = void 0;
|
|
1194
|
-
try {
|
|
1195
|
-
if (typeof e[I] != "function") {
|
|
1196
|
-
var G = Error((h || "React class") + ": " + c + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1197
|
-
throw G.name = "Invariant Violation", G;
|
|
1198
|
-
}
|
|
1199
|
-
U = e[I](r, I, h, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1200
|
-
} catch (ee) {
|
|
1201
|
-
U = ee;
|
|
1202
|
-
}
|
|
1203
|
-
U && !(U instanceof Error) && (Ze(R), k("%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).", h || "React class", c, I, typeof U), Ze(null)), U instanceof Error && !(U.message in ir) && (ir[U.message] = !0, Ze(R), k("Failed %s type: %s", c, U.message), Ze(null));
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1206
|
-
}
|
|
1207
|
-
function Me(e) {
|
|
1208
|
-
if (e) {
|
|
1209
|
-
var r = e._owner, c = Qe(e.type, e._source, r ? r.type : null);
|
|
1210
|
-
ye(c);
|
|
1211
|
-
} else
|
|
1212
|
-
ye(null);
|
|
1213
|
-
}
|
|
1214
|
-
var yt;
|
|
1215
|
-
yt = !1;
|
|
1216
|
-
function ur() {
|
|
1217
|
-
if (X.current) {
|
|
1218
|
-
var e = te(X.current.type);
|
|
1219
|
-
if (e)
|
|
1220
|
-
return `
|
|
1221
|
-
|
|
1222
|
-
Check the render method of \`` + e + "`.";
|
|
1223
|
-
}
|
|
1224
|
-
return "";
|
|
1225
|
-
}
|
|
1226
|
-
function zn(e) {
|
|
1227
|
-
if (e !== void 0) {
|
|
1228
|
-
var r = e.fileName.replace(/^.*[\\\/]/, ""), c = e.lineNumber;
|
|
1229
|
-
return `
|
|
1230
|
-
|
|
1231
|
-
Check your code at ` + r + ":" + c + ".";
|
|
1232
|
-
}
|
|
1233
|
-
return "";
|
|
1234
|
-
}
|
|
1235
|
-
function Yn(e) {
|
|
1236
|
-
return e != null ? zn(e.__source) : "";
|
|
1237
|
-
}
|
|
1238
|
-
var cr = {};
|
|
1239
|
-
function Wn(e) {
|
|
1240
|
-
var r = ur();
|
|
1241
|
-
if (!r) {
|
|
1242
|
-
var c = typeof e == "string" ? e : e.displayName || e.name;
|
|
1243
|
-
c && (r = `
|
|
1244
|
-
|
|
1245
|
-
Check the top-level render call using <` + c + ">.");
|
|
1246
|
-
}
|
|
1247
|
-
return r;
|
|
1248
|
-
}
|
|
1249
|
-
function lr(e, r) {
|
|
1250
|
-
if (!(!e._store || e._store.validated || e.key != null)) {
|
|
1251
|
-
e._store.validated = !0;
|
|
1252
|
-
var c = Wn(r);
|
|
1253
|
-
if (!cr[c]) {
|
|
1254
|
-
cr[c] = !0;
|
|
1255
|
-
var h = "";
|
|
1256
|
-
e && e._owner && e._owner !== X.current && (h = " It was passed a child from " + te(e._owner.type) + "."), Me(e), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, h), Me(null);
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
}
|
|
1260
|
-
function fr(e, r) {
|
|
1261
|
-
if (typeof e == "object") {
|
|
1262
|
-
if (K(e))
|
|
1263
|
-
for (var c = 0; c < e.length; c++) {
|
|
1264
|
-
var h = e[c];
|
|
1265
|
-
$e(h) && lr(h, r);
|
|
1266
|
-
}
|
|
1267
|
-
else if ($e(e))
|
|
1268
|
-
e._store && (e._store.validated = !0);
|
|
1269
|
-
else if (e) {
|
|
1270
|
-
var R = L(e);
|
|
1271
|
-
if (typeof R == "function" && R !== e.entries)
|
|
1272
|
-
for (var z = R.call(e), I; !(I = z.next()).done; )
|
|
1273
|
-
$e(I.value) && lr(I.value, r);
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
}
|
|
1277
|
-
function dr(e) {
|
|
1278
|
-
{
|
|
1279
|
-
var r = e.type;
|
|
1280
|
-
if (r == null || typeof r == "string")
|
|
1281
|
-
return;
|
|
1282
|
-
var c;
|
|
1283
|
-
if (typeof r == "function")
|
|
1284
|
-
c = r.propTypes;
|
|
1285
|
-
else if (typeof r == "object" && (r.$$typeof === T || // Note: Memo only checks outer props here.
|
|
1286
|
-
// Inner props are checked in the reconciler.
|
|
1287
|
-
r.$$typeof === N))
|
|
1288
|
-
c = r.propTypes;
|
|
1289
|
-
else
|
|
1290
|
-
return;
|
|
1291
|
-
if (c) {
|
|
1292
|
-
var h = te(r);
|
|
1293
|
-
Fn(c, e.props, "prop", h, e);
|
|
1294
|
-
} else if (r.PropTypes !== void 0 && !yt) {
|
|
1295
|
-
yt = !0;
|
|
1296
|
-
var R = te(r);
|
|
1297
|
-
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
|
|
1298
|
-
}
|
|
1299
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1300
|
-
}
|
|
1301
|
-
}
|
|
1302
|
-
function Vn(e) {
|
|
1303
|
-
{
|
|
1304
|
-
for (var r = Object.keys(e.props), c = 0; c < r.length; c++) {
|
|
1305
|
-
var h = r[c];
|
|
1306
|
-
if (h !== "children" && h !== "key") {
|
|
1307
|
-
Me(e), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), Me(null);
|
|
1308
|
-
break;
|
|
1309
|
-
}
|
|
1310
|
-
}
|
|
1311
|
-
e.ref !== null && (Me(e), k("Invalid attribute `ref` supplied to `React.Fragment`."), Me(null));
|
|
1312
|
-
}
|
|
1313
|
-
}
|
|
1314
|
-
function pr(e, r, c) {
|
|
1315
|
-
var h = Xt(e);
|
|
1316
|
-
if (!h) {
|
|
1317
|
-
var R = "";
|
|
1318
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1319
|
-
var z = Yn(r);
|
|
1320
|
-
z ? R += z : R += ur();
|
|
1321
|
-
var I;
|
|
1322
|
-
e === null ? I = "null" : K(e) ? I = "array" : e !== void 0 && e.$$typeof === i ? (I = "<" + (te(e.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : I = typeof e, k("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", I, R);
|
|
1323
|
-
}
|
|
1324
|
-
var U = rn.apply(this, arguments);
|
|
1325
|
-
if (U == null)
|
|
1326
|
-
return U;
|
|
1327
|
-
if (h)
|
|
1328
|
-
for (var G = 2; G < arguments.length; G++)
|
|
1329
|
-
fr(arguments[G], e);
|
|
1330
|
-
return e === v ? Vn(U) : dr(U), U;
|
|
1331
|
-
}
|
|
1332
|
-
var hr = !1;
|
|
1333
|
-
function Un(e) {
|
|
1334
|
-
var r = pr.bind(null, e);
|
|
1335
|
-
return r.type = e, hr || (hr = !0, ne("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", {
|
|
1336
|
-
enumerable: !1,
|
|
1337
|
-
get: function() {
|
|
1338
|
-
return ne("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
|
|
1339
|
-
value: e
|
|
1340
|
-
}), e;
|
|
1341
|
-
}
|
|
1342
|
-
}), r;
|
|
1343
|
-
}
|
|
1344
|
-
function Bn(e, r, c) {
|
|
1345
|
-
for (var h = on.apply(this, arguments), R = 2; R < arguments.length; R++)
|
|
1346
|
-
fr(arguments[R], h.type);
|
|
1347
|
-
return dr(h), h;
|
|
1348
|
-
}
|
|
1349
|
-
function qn(e, r) {
|
|
1350
|
-
var c = D.transition;
|
|
1351
|
-
D.transition = {};
|
|
1352
|
-
var h = D.transition;
|
|
1353
|
-
D.transition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1354
|
-
try {
|
|
1355
|
-
e();
|
|
1356
|
-
} finally {
|
|
1357
|
-
if (D.transition = c, c === null && h._updatedFibers) {
|
|
1358
|
-
var R = h._updatedFibers.size;
|
|
1359
|
-
R > 10 && ne("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."), h._updatedFibers.clear();
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
var vr = !1, Je = null;
|
|
1364
|
-
function Hn(e) {
|
|
1365
|
-
if (Je === null)
|
|
1366
|
-
try {
|
|
1367
|
-
var r = ("require" + Math.random()).slice(0, 7), c = t && t[r];
|
|
1368
|
-
Je = c.call(t, "timers").setImmediate;
|
|
1369
|
-
} catch {
|
|
1370
|
-
Je = function(R) {
|
|
1371
|
-
vr === !1 && (vr = !0, typeof MessageChannel > "u" && k("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."));
|
|
1372
|
-
var z = new MessageChannel();
|
|
1373
|
-
z.port1.onmessage = R, z.port2.postMessage(void 0);
|
|
1374
|
-
};
|
|
1375
|
-
}
|
|
1376
|
-
return Je(e);
|
|
1377
|
-
}
|
|
1378
|
-
var Ne = 0, yr = !1;
|
|
1379
|
-
function mr(e) {
|
|
1380
|
-
{
|
|
1381
|
-
var r = Ne;
|
|
1382
|
-
Ne++, b.current === null && (b.current = []);
|
|
1383
|
-
var c = b.isBatchingLegacy, h;
|
|
1384
|
-
try {
|
|
1385
|
-
if (b.isBatchingLegacy = !0, h = e(), !c && b.didScheduleLegacyUpdate) {
|
|
1386
|
-
var R = b.current;
|
|
1387
|
-
R !== null && (b.didScheduleLegacyUpdate = !1, bt(R));
|
|
1388
|
-
}
|
|
1389
|
-
} catch (le) {
|
|
1390
|
-
throw et(r), le;
|
|
1391
|
-
} finally {
|
|
1392
|
-
b.isBatchingLegacy = c;
|
|
1393
|
-
}
|
|
1394
|
-
if (h !== null && typeof h == "object" && typeof h.then == "function") {
|
|
1395
|
-
var z = h, I = !1, U = {
|
|
1396
|
-
then: function(le, ve) {
|
|
1397
|
-
I = !0, z.then(function(we) {
|
|
1398
|
-
et(r), Ne === 0 ? mt(we, le, ve) : le(we);
|
|
1399
|
-
}, function(we) {
|
|
1400
|
-
et(r), ve(we);
|
|
1401
|
-
});
|
|
1402
|
-
}
|
|
1403
|
-
};
|
|
1404
|
-
return !yr && typeof Promise < "u" && Promise.resolve().then(function() {
|
|
1405
|
-
}).then(function() {
|
|
1406
|
-
I || (yr = !0, k("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 () => ...);"));
|
|
1407
|
-
}), U;
|
|
1408
|
-
} else {
|
|
1409
|
-
var G = h;
|
|
1410
|
-
if (et(r), Ne === 0) {
|
|
1411
|
-
var ee = b.current;
|
|
1412
|
-
ee !== null && (bt(ee), b.current = null);
|
|
1413
|
-
var ue = {
|
|
1414
|
-
then: function(le, ve) {
|
|
1415
|
-
b.current === null ? (b.current = [], mt(G, le, ve)) : le(G);
|
|
1416
|
-
}
|
|
1417
|
-
};
|
|
1418
|
-
return ue;
|
|
1419
|
-
} else {
|
|
1420
|
-
var ce = {
|
|
1421
|
-
then: function(le, ve) {
|
|
1422
|
-
le(G);
|
|
1423
|
-
}
|
|
1424
|
-
};
|
|
1425
|
-
return ce;
|
|
1426
|
-
}
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
function et(e) {
|
|
1431
|
-
e !== Ne - 1 && k("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Ne = e;
|
|
1432
|
-
}
|
|
1433
|
-
function mt(e, r, c) {
|
|
1434
|
-
{
|
|
1435
|
-
var h = b.current;
|
|
1436
|
-
if (h !== null)
|
|
1437
|
-
try {
|
|
1438
|
-
bt(h), Hn(function() {
|
|
1439
|
-
h.length === 0 ? (b.current = null, r(e)) : mt(e, r, c);
|
|
1440
|
-
});
|
|
1441
|
-
} catch (R) {
|
|
1442
|
-
c(R);
|
|
1443
|
-
}
|
|
1444
|
-
else
|
|
1445
|
-
r(e);
|
|
1446
|
-
}
|
|
1447
|
-
}
|
|
1448
|
-
var gt = !1;
|
|
1449
|
-
function bt(e) {
|
|
1450
|
-
if (!gt) {
|
|
1451
|
-
gt = !0;
|
|
1452
|
-
var r = 0;
|
|
1453
|
-
try {
|
|
1454
|
-
for (; r < e.length; r++) {
|
|
1455
|
-
var c = e[r];
|
|
1456
|
-
do
|
|
1457
|
-
c = c(!0);
|
|
1458
|
-
while (c !== null);
|
|
1459
|
-
}
|
|
1460
|
-
e.length = 0;
|
|
1461
|
-
} catch (h) {
|
|
1462
|
-
throw e = e.slice(r + 1), h;
|
|
1463
|
-
} finally {
|
|
1464
|
-
gt = !1;
|
|
1465
|
-
}
|
|
1466
|
-
}
|
|
1467
|
-
}
|
|
1468
|
-
var Gn = pr, Kn = Bn, Xn = Un, Qn = {
|
|
1469
|
-
map: Ge,
|
|
1470
|
-
forEach: ln,
|
|
1471
|
-
count: cn,
|
|
1472
|
-
toArray: fn,
|
|
1473
|
-
only: dn
|
|
1474
|
-
};
|
|
1475
|
-
a.Children = Qn, a.Component = d, a.Fragment = v, a.Profiler = y, a.PureComponent = A, a.StrictMode = m, a.Suspense = P, a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Q, a.act = mr, a.cloneElement = Kn, a.createContext = pn, a.createElement = Gn, a.createFactory = Xn, a.createRef = W, a.forwardRef = mn, a.isValidElement = $e, a.lazy = yn, a.memo = gn, a.startTransition = qn, a.unstable_act = mr, a.useCallback = Tn, a.useContext = bn, a.useDebugValue = Pn, a.useDeferredValue = xn, a.useEffect = Sn, a.useId = In, a.useImperativeHandle = An, a.useInsertionEffect = Cn, a.useLayoutEffect = Rn, a.useMemo = On, a.useReducer = En, a.useRef = _n, a.useState = wn, a.useSyncExternalStore = jn, a.useTransition = kn, a.version = n, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
1476
|
-
}();
|
|
1477
|
-
}(Ue, Ue.exports)), Ue.exports;
|
|
1478
|
-
}
|
|
1479
|
-
process.env.NODE_ENV === "production" ? Pt.exports = to() : Pt.exports = ro();
|
|
1480
|
-
var re = Pt.exports;
|
|
1481
|
-
const ke = /* @__PURE__ */ Nt(re);
|
|
1482
|
-
var kt = { exports: {} }, rt = { exports: {} }, Z = {};
|
|
1483
|
-
/** @license React v16.13.1
|
|
1484
|
-
* react-is.production.min.js
|
|
1485
|
-
*
|
|
1486
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1487
|
-
*
|
|
1488
|
-
* This source code is licensed under the MIT license found in the
|
|
1489
|
-
* LICENSE file in the root directory of this source tree.
|
|
1490
|
-
*/
|
|
1491
|
-
var Sr;
|
|
1492
|
-
function no() {
|
|
1493
|
-
if (Sr) return Z;
|
|
1494
|
-
Sr = 1;
|
|
1495
|
-
var t = typeof Symbol == "function" && Symbol.for, a = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, p = t ? Symbol.for("react.strict_mode") : 60108, v = t ? Symbol.for("react.profiler") : 60114, m = t ? Symbol.for("react.provider") : 60109, y = t ? Symbol.for("react.context") : 60110, _ = t ? Symbol.for("react.async_mode") : 60111, C = t ? Symbol.for("react.concurrent_mode") : 60111, T = t ? Symbol.for("react.forward_ref") : 60112, P = t ? Symbol.for("react.suspense") : 60113, M = t ? Symbol.for("react.suspense_list") : 60120, N = t ? Symbol.for("react.memo") : 60115, $ = t ? Symbol.for("react.lazy") : 60116, j = t ? Symbol.for("react.block") : 60121, x = t ? Symbol.for("react.fundamental") : 60117, F = t ? Symbol.for("react.responder") : 60118, L = t ? Symbol.for("react.scope") : 60119;
|
|
1496
|
-
function Y(b) {
|
|
1497
|
-
if (typeof b == "object" && b !== null) {
|
|
1498
|
-
var X = b.$$typeof;
|
|
1499
|
-
switch (X) {
|
|
1500
|
-
case a:
|
|
1501
|
-
switch (b = b.type, b) {
|
|
1502
|
-
case _:
|
|
1503
|
-
case C:
|
|
1504
|
-
case i:
|
|
1505
|
-
case v:
|
|
1506
|
-
case p:
|
|
1507
|
-
case P:
|
|
1508
|
-
return b;
|
|
1509
|
-
default:
|
|
1510
|
-
switch (b = b && b.$$typeof, b) {
|
|
1511
|
-
case y:
|
|
1512
|
-
case T:
|
|
1513
|
-
case $:
|
|
1514
|
-
case N:
|
|
1515
|
-
case m:
|
|
1516
|
-
return b;
|
|
1517
|
-
default:
|
|
1518
|
-
return X;
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
case n:
|
|
1522
|
-
return X;
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
}
|
|
1526
|
-
function D(b) {
|
|
1527
|
-
return Y(b) === C;
|
|
1528
|
-
}
|
|
1529
|
-
return Z.AsyncMode = _, Z.ConcurrentMode = C, Z.ContextConsumer = y, Z.ContextProvider = m, Z.Element = a, Z.ForwardRef = T, Z.Fragment = i, Z.Lazy = $, Z.Memo = N, Z.Portal = n, Z.Profiler = v, Z.StrictMode = p, Z.Suspense = P, Z.isAsyncMode = function(b) {
|
|
1530
|
-
return D(b) || Y(b) === _;
|
|
1531
|
-
}, Z.isConcurrentMode = D, Z.isContextConsumer = function(b) {
|
|
1532
|
-
return Y(b) === y;
|
|
1533
|
-
}, Z.isContextProvider = function(b) {
|
|
1534
|
-
return Y(b) === m;
|
|
1535
|
-
}, Z.isElement = function(b) {
|
|
1536
|
-
return typeof b == "object" && b !== null && b.$$typeof === a;
|
|
1537
|
-
}, Z.isForwardRef = function(b) {
|
|
1538
|
-
return Y(b) === T;
|
|
1539
|
-
}, Z.isFragment = function(b) {
|
|
1540
|
-
return Y(b) === i;
|
|
1541
|
-
}, Z.isLazy = function(b) {
|
|
1542
|
-
return Y(b) === $;
|
|
1543
|
-
}, Z.isMemo = function(b) {
|
|
1544
|
-
return Y(b) === N;
|
|
1545
|
-
}, Z.isPortal = function(b) {
|
|
1546
|
-
return Y(b) === n;
|
|
1547
|
-
}, Z.isProfiler = function(b) {
|
|
1548
|
-
return Y(b) === v;
|
|
1549
|
-
}, Z.isStrictMode = function(b) {
|
|
1550
|
-
return Y(b) === p;
|
|
1551
|
-
}, Z.isSuspense = function(b) {
|
|
1552
|
-
return Y(b) === P;
|
|
1553
|
-
}, Z.isValidElementType = function(b) {
|
|
1554
|
-
return typeof b == "string" || typeof b == "function" || b === i || b === C || b === v || b === p || b === P || b === M || typeof b == "object" && b !== null && (b.$$typeof === $ || b.$$typeof === N || b.$$typeof === m || b.$$typeof === y || b.$$typeof === T || b.$$typeof === x || b.$$typeof === F || b.$$typeof === L || b.$$typeof === j);
|
|
1555
|
-
}, Z.typeOf = Y, Z;
|
|
1556
|
-
}
|
|
1557
|
-
var J = {};
|
|
1558
|
-
/** @license React v16.13.1
|
|
1559
|
-
* react-is.development.js
|
|
1560
|
-
*
|
|
1561
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1562
|
-
*
|
|
1563
|
-
* This source code is licensed under the MIT license found in the
|
|
1564
|
-
* LICENSE file in the root directory of this source tree.
|
|
1565
|
-
*/
|
|
1566
|
-
var Cr;
|
|
1567
|
-
function oo() {
|
|
1568
|
-
return Cr || (Cr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1569
|
-
var t = typeof Symbol == "function" && Symbol.for, a = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, p = t ? Symbol.for("react.strict_mode") : 60108, v = t ? Symbol.for("react.profiler") : 60114, m = t ? Symbol.for("react.provider") : 60109, y = t ? Symbol.for("react.context") : 60110, _ = t ? Symbol.for("react.async_mode") : 60111, C = t ? Symbol.for("react.concurrent_mode") : 60111, T = t ? Symbol.for("react.forward_ref") : 60112, P = t ? Symbol.for("react.suspense") : 60113, M = t ? Symbol.for("react.suspense_list") : 60120, N = t ? Symbol.for("react.memo") : 60115, $ = t ? Symbol.for("react.lazy") : 60116, j = t ? Symbol.for("react.block") : 60121, x = t ? Symbol.for("react.fundamental") : 60117, F = t ? Symbol.for("react.responder") : 60118, L = t ? Symbol.for("react.scope") : 60119;
|
|
1570
|
-
function Y(g) {
|
|
1571
|
-
return typeof g == "string" || typeof g == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1572
|
-
g === i || g === C || g === v || g === p || g === P || g === M || typeof g == "object" && g !== null && (g.$$typeof === $ || g.$$typeof === N || g.$$typeof === m || g.$$typeof === y || g.$$typeof === T || g.$$typeof === x || g.$$typeof === F || g.$$typeof === L || g.$$typeof === j);
|
|
1573
|
-
}
|
|
1574
|
-
function D(g) {
|
|
1575
|
-
if (typeof g == "object" && g !== null) {
|
|
1576
|
-
var K = g.$$typeof;
|
|
1577
|
-
switch (K) {
|
|
1578
|
-
case a:
|
|
1579
|
-
var he = g.type;
|
|
1580
|
-
switch (he) {
|
|
1581
|
-
case _:
|
|
1582
|
-
case C:
|
|
1583
|
-
case i:
|
|
1584
|
-
case v:
|
|
1585
|
-
case p:
|
|
1586
|
-
case P:
|
|
1587
|
-
return he;
|
|
1588
|
-
default:
|
|
1589
|
-
var q = he && he.$$typeof;
|
|
1590
|
-
switch (q) {
|
|
1591
|
-
case y:
|
|
1592
|
-
case T:
|
|
1593
|
-
case $:
|
|
1594
|
-
case N:
|
|
1595
|
-
case m:
|
|
1596
|
-
return q;
|
|
1597
|
-
default:
|
|
1598
|
-
return K;
|
|
1599
|
-
}
|
|
1600
|
-
}
|
|
1601
|
-
case n:
|
|
1602
|
-
return K;
|
|
1603
|
-
}
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
var b = _, X = C, de = y, ie = m, ye = a, be = T, Ee = i, fe = $, pe = N, se = n, Q = v, ne = p, k = P, oe = !1;
|
|
1607
|
-
function Se(g) {
|
|
1608
|
-
return oe || (oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), E(g) || D(g) === _;
|
|
1609
|
-
}
|
|
1610
|
-
function E(g) {
|
|
1611
|
-
return D(g) === C;
|
|
1612
|
-
}
|
|
1613
|
-
function o(g) {
|
|
1614
|
-
return D(g) === y;
|
|
1615
|
-
}
|
|
1616
|
-
function u(g) {
|
|
1617
|
-
return D(g) === m;
|
|
1618
|
-
}
|
|
1619
|
-
function l(g) {
|
|
1620
|
-
return typeof g == "object" && g !== null && g.$$typeof === a;
|
|
1621
|
-
}
|
|
1622
|
-
function d(g) {
|
|
1623
|
-
return D(g) === T;
|
|
1624
|
-
}
|
|
1625
|
-
function w(g) {
|
|
1626
|
-
return D(g) === i;
|
|
1627
|
-
}
|
|
1628
|
-
function s(g) {
|
|
1629
|
-
return D(g) === $;
|
|
1630
|
-
}
|
|
1631
|
-
function S(g) {
|
|
1632
|
-
return D(g) === N;
|
|
1633
|
-
}
|
|
1634
|
-
function f(g) {
|
|
1635
|
-
return D(g) === n;
|
|
1636
|
-
}
|
|
1637
|
-
function A(g) {
|
|
1638
|
-
return D(g) === v;
|
|
1639
|
-
}
|
|
1640
|
-
function O(g) {
|
|
1641
|
-
return D(g) === p;
|
|
1642
|
-
}
|
|
1643
|
-
function W(g) {
|
|
1644
|
-
return D(g) === P;
|
|
1645
|
-
}
|
|
1646
|
-
J.AsyncMode = b, J.ConcurrentMode = X, J.ContextConsumer = de, J.ContextProvider = ie, J.Element = ye, J.ForwardRef = be, J.Fragment = Ee, J.Lazy = fe, J.Memo = pe, J.Portal = se, J.Profiler = Q, J.StrictMode = ne, J.Suspense = k, J.isAsyncMode = Se, J.isConcurrentMode = E, J.isContextConsumer = o, J.isContextProvider = u, J.isElement = l, J.isForwardRef = d, J.isFragment = w, J.isLazy = s, J.isMemo = S, J.isPortal = f, J.isProfiler = A, J.isStrictMode = O, J.isSuspense = W, J.isValidElementType = Y, J.typeOf = D;
|
|
1647
|
-
}()), J;
|
|
1648
|
-
}
|
|
1649
|
-
var Rr;
|
|
1650
|
-
function ct() {
|
|
1651
|
-
return Rr || (Rr = 1, process.env.NODE_ENV === "production" ? rt.exports = no() : rt.exports = oo()), rt.exports;
|
|
1652
|
-
}
|
|
1653
|
-
/*
|
|
1654
|
-
object-assign
|
|
1655
|
-
(c) Sindre Sorhus
|
|
1656
|
-
@license MIT
|
|
1657
|
-
*/
|
|
1658
|
-
var Et, Tr;
|
|
1659
|
-
function ao() {
|
|
1660
|
-
if (Tr) return Et;
|
|
1661
|
-
Tr = 1;
|
|
1662
|
-
var t = Object.getOwnPropertySymbols, a = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
1663
|
-
function i(v) {
|
|
1664
|
-
if (v == null)
|
|
1665
|
-
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
1666
|
-
return Object(v);
|
|
1667
|
-
}
|
|
1668
|
-
function p() {
|
|
1669
|
-
try {
|
|
1670
|
-
if (!Object.assign)
|
|
1671
|
-
return !1;
|
|
1672
|
-
var v = new String("abc");
|
|
1673
|
-
if (v[5] = "de", Object.getOwnPropertyNames(v)[0] === "5")
|
|
1674
|
-
return !1;
|
|
1675
|
-
for (var m = {}, y = 0; y < 10; y++)
|
|
1676
|
-
m["_" + String.fromCharCode(y)] = y;
|
|
1677
|
-
var _ = Object.getOwnPropertyNames(m).map(function(T) {
|
|
1678
|
-
return m[T];
|
|
1679
|
-
});
|
|
1680
|
-
if (_.join("") !== "0123456789")
|
|
1681
|
-
return !1;
|
|
1682
|
-
var C = {};
|
|
1683
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(T) {
|
|
1684
|
-
C[T] = T;
|
|
1685
|
-
}), Object.keys(Object.assign({}, C)).join("") === "abcdefghijklmnopqrst";
|
|
1686
|
-
} catch {
|
|
1687
|
-
return !1;
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
return Et = p() ? Object.assign : function(v, m) {
|
|
1691
|
-
for (var y, _ = i(v), C, T = 1; T < arguments.length; T++) {
|
|
1692
|
-
y = Object(arguments[T]);
|
|
1693
|
-
for (var P in y)
|
|
1694
|
-
a.call(y, P) && (_[P] = y[P]);
|
|
1695
|
-
if (t) {
|
|
1696
|
-
C = t(y);
|
|
1697
|
-
for (var M = 0; M < C.length; M++)
|
|
1698
|
-
n.call(y, C[M]) && (_[C[M]] = y[C[M]]);
|
|
1699
|
-
}
|
|
1700
|
-
}
|
|
1701
|
-
return _;
|
|
1702
|
-
}, Et;
|
|
1703
|
-
}
|
|
1704
|
-
var _t, Or;
|
|
1705
|
-
function Lt() {
|
|
1706
|
-
if (Or) return _t;
|
|
1707
|
-
Or = 1;
|
|
1708
|
-
var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
1709
|
-
return _t = t, _t;
|
|
1710
|
-
}
|
|
1711
|
-
var St, Ar;
|
|
1712
|
-
function Vr() {
|
|
1713
|
-
return Ar || (Ar = 1, St = Function.call.bind(Object.prototype.hasOwnProperty)), St;
|
|
1714
|
-
}
|
|
1715
|
-
var Ct, Pr;
|
|
1716
|
-
function io() {
|
|
1717
|
-
if (Pr) return Ct;
|
|
1718
|
-
Pr = 1;
|
|
1719
|
-
var t = function() {
|
|
1720
|
-
};
|
|
1721
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1722
|
-
var a = Lt(), n = {}, i = Vr();
|
|
1723
|
-
t = function(v) {
|
|
1724
|
-
var m = "Warning: " + v;
|
|
1725
|
-
typeof console < "u" && console.error(m);
|
|
1726
|
-
try {
|
|
1727
|
-
throw new Error(m);
|
|
1728
|
-
} catch {
|
|
1729
|
-
}
|
|
1730
|
-
};
|
|
1731
|
-
}
|
|
1732
|
-
function p(v, m, y, _, C) {
|
|
1733
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1734
|
-
for (var T in v)
|
|
1735
|
-
if (i(v, T)) {
|
|
1736
|
-
var P;
|
|
1737
|
-
try {
|
|
1738
|
-
if (typeof v[T] != "function") {
|
|
1739
|
-
var M = Error(
|
|
1740
|
-
(_ || "React class") + ": " + y + " type `" + T + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof v[T] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
1741
|
-
);
|
|
1742
|
-
throw M.name = "Invariant Violation", M;
|
|
1743
|
-
}
|
|
1744
|
-
P = v[T](m, T, _, y, null, a);
|
|
1745
|
-
} catch ($) {
|
|
1746
|
-
P = $;
|
|
1747
|
-
}
|
|
1748
|
-
if (P && !(P instanceof Error) && t(
|
|
1749
|
-
(_ || "React class") + ": type specification of " + y + " `" + T + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof P + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1750
|
-
), P instanceof Error && !(P.message in n)) {
|
|
1751
|
-
n[P.message] = !0;
|
|
1752
|
-
var N = C ? C() : "";
|
|
1753
|
-
t(
|
|
1754
|
-
"Failed " + y + " type: " + P.message + (N ?? "")
|
|
1755
|
-
);
|
|
1756
|
-
}
|
|
1757
|
-
}
|
|
1758
|
-
}
|
|
1759
|
-
}
|
|
1760
|
-
return p.resetWarningCache = function() {
|
|
1761
|
-
process.env.NODE_ENV !== "production" && (n = {});
|
|
1762
|
-
}, Ct = p, Ct;
|
|
1763
|
-
}
|
|
1764
|
-
var Rt, kr;
|
|
1765
|
-
function so() {
|
|
1766
|
-
if (kr) return Rt;
|
|
1767
|
-
kr = 1;
|
|
1768
|
-
var t = ct(), a = ao(), n = Lt(), i = Vr(), p = io(), v = function() {
|
|
1769
|
-
};
|
|
1770
|
-
process.env.NODE_ENV !== "production" && (v = function(y) {
|
|
1771
|
-
var _ = "Warning: " + y;
|
|
1772
|
-
typeof console < "u" && console.error(_);
|
|
1773
|
-
try {
|
|
1774
|
-
throw new Error(_);
|
|
1775
|
-
} catch {
|
|
1776
|
-
}
|
|
1777
|
-
});
|
|
1778
|
-
function m() {
|
|
1779
|
-
return null;
|
|
1780
|
-
}
|
|
1781
|
-
return Rt = function(y, _) {
|
|
1782
|
-
var C = typeof Symbol == "function" && Symbol.iterator, T = "@@iterator";
|
|
1783
|
-
function P(E) {
|
|
1784
|
-
var o = E && (C && E[C] || E[T]);
|
|
1785
|
-
if (typeof o == "function")
|
|
1786
|
-
return o;
|
|
1787
|
-
}
|
|
1788
|
-
var M = "<<anonymous>>", N = {
|
|
1789
|
-
array: F("array"),
|
|
1790
|
-
bigint: F("bigint"),
|
|
1791
|
-
bool: F("boolean"),
|
|
1792
|
-
func: F("function"),
|
|
1793
|
-
number: F("number"),
|
|
1794
|
-
object: F("object"),
|
|
1795
|
-
string: F("string"),
|
|
1796
|
-
symbol: F("symbol"),
|
|
1797
|
-
any: L(),
|
|
1798
|
-
arrayOf: Y,
|
|
1799
|
-
element: D(),
|
|
1800
|
-
elementType: b(),
|
|
1801
|
-
instanceOf: X,
|
|
1802
|
-
node: be(),
|
|
1803
|
-
objectOf: ie,
|
|
1804
|
-
oneOf: de,
|
|
1805
|
-
oneOfType: ye,
|
|
1806
|
-
shape: fe,
|
|
1807
|
-
exact: pe
|
|
1808
|
-
};
|
|
1809
|
-
function $(E, o) {
|
|
1810
|
-
return E === o ? E !== 0 || 1 / E === 1 / o : E !== E && o !== o;
|
|
1811
|
-
}
|
|
1812
|
-
function j(E, o) {
|
|
1813
|
-
this.message = E, this.data = o && typeof o == "object" ? o : {}, this.stack = "";
|
|
1814
|
-
}
|
|
1815
|
-
j.prototype = Error.prototype;
|
|
1816
|
-
function x(E) {
|
|
1817
|
-
if (process.env.NODE_ENV !== "production")
|
|
1818
|
-
var o = {}, u = 0;
|
|
1819
|
-
function l(w, s, S, f, A, O, W) {
|
|
1820
|
-
if (f = f || M, O = O || S, W !== n) {
|
|
1821
|
-
if (_) {
|
|
1822
|
-
var g = new Error(
|
|
1823
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1824
|
-
);
|
|
1825
|
-
throw g.name = "Invariant Violation", g;
|
|
1826
|
-
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1827
|
-
var K = f + ":" + S;
|
|
1828
|
-
!o[K] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1829
|
-
u < 3 && (v(
|
|
1830
|
-
"You are manually calling a React.PropTypes validation function for the `" + O + "` prop on `" + f + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1831
|
-
), o[K] = !0, u++);
|
|
1832
|
-
}
|
|
1833
|
-
}
|
|
1834
|
-
return s[S] == null ? w ? s[S] === null ? new j("The " + A + " `" + O + "` is marked as required " + ("in `" + f + "`, but its value is `null`.")) : new j("The " + A + " `" + O + "` is marked as required in " + ("`" + f + "`, but its value is `undefined`.")) : null : E(s, S, f, A, O);
|
|
1835
|
-
}
|
|
1836
|
-
var d = l.bind(null, !1);
|
|
1837
|
-
return d.isRequired = l.bind(null, !0), d;
|
|
1838
|
-
}
|
|
1839
|
-
function F(E) {
|
|
1840
|
-
function o(u, l, d, w, s, S) {
|
|
1841
|
-
var f = u[l], A = ne(f);
|
|
1842
|
-
if (A !== E) {
|
|
1843
|
-
var O = k(f);
|
|
1844
|
-
return new j(
|
|
1845
|
-
"Invalid " + w + " `" + s + "` of type " + ("`" + O + "` supplied to `" + d + "`, expected ") + ("`" + E + "`."),
|
|
1846
|
-
{ expectedType: E }
|
|
1847
|
-
);
|
|
1848
|
-
}
|
|
1849
|
-
return null;
|
|
1850
|
-
}
|
|
1851
|
-
return x(o);
|
|
1852
|
-
}
|
|
1853
|
-
function L() {
|
|
1854
|
-
return x(m);
|
|
1855
|
-
}
|
|
1856
|
-
function Y(E) {
|
|
1857
|
-
function o(u, l, d, w, s) {
|
|
1858
|
-
if (typeof E != "function")
|
|
1859
|
-
return new j("Property `" + s + "` of component `" + d + "` has invalid PropType notation inside arrayOf.");
|
|
1860
|
-
var S = u[l];
|
|
1861
|
-
if (!Array.isArray(S)) {
|
|
1862
|
-
var f = ne(S);
|
|
1863
|
-
return new j("Invalid " + w + " `" + s + "` of type " + ("`" + f + "` supplied to `" + d + "`, expected an array."));
|
|
1864
|
-
}
|
|
1865
|
-
for (var A = 0; A < S.length; A++) {
|
|
1866
|
-
var O = E(S, A, d, w, s + "[" + A + "]", n);
|
|
1867
|
-
if (O instanceof Error)
|
|
1868
|
-
return O;
|
|
1869
|
-
}
|
|
1870
|
-
return null;
|
|
1871
|
-
}
|
|
1872
|
-
return x(o);
|
|
1873
|
-
}
|
|
1874
|
-
function D() {
|
|
1875
|
-
function E(o, u, l, d, w) {
|
|
1876
|
-
var s = o[u];
|
|
1877
|
-
if (!y(s)) {
|
|
1878
|
-
var S = ne(s);
|
|
1879
|
-
return new j("Invalid " + d + " `" + w + "` of type " + ("`" + S + "` supplied to `" + l + "`, expected a single ReactElement."));
|
|
1880
|
-
}
|
|
1881
|
-
return null;
|
|
1882
|
-
}
|
|
1883
|
-
return x(E);
|
|
1884
|
-
}
|
|
1885
|
-
function b() {
|
|
1886
|
-
function E(o, u, l, d, w) {
|
|
1887
|
-
var s = o[u];
|
|
1888
|
-
if (!t.isValidElementType(s)) {
|
|
1889
|
-
var S = ne(s);
|
|
1890
|
-
return new j("Invalid " + d + " `" + w + "` of type " + ("`" + S + "` supplied to `" + l + "`, expected a single ReactElement type."));
|
|
1891
|
-
}
|
|
1892
|
-
return null;
|
|
1893
|
-
}
|
|
1894
|
-
return x(E);
|
|
1895
|
-
}
|
|
1896
|
-
function X(E) {
|
|
1897
|
-
function o(u, l, d, w, s) {
|
|
1898
|
-
if (!(u[l] instanceof E)) {
|
|
1899
|
-
var S = E.name || M, f = Se(u[l]);
|
|
1900
|
-
return new j("Invalid " + w + " `" + s + "` of type " + ("`" + f + "` supplied to `" + d + "`, expected ") + ("instance of `" + S + "`."));
|
|
1901
|
-
}
|
|
1902
|
-
return null;
|
|
1903
|
-
}
|
|
1904
|
-
return x(o);
|
|
1905
|
-
}
|
|
1906
|
-
function de(E) {
|
|
1907
|
-
if (!Array.isArray(E))
|
|
1908
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? v(
|
|
1909
|
-
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1910
|
-
) : v("Invalid argument supplied to oneOf, expected an array.")), m;
|
|
1911
|
-
function o(u, l, d, w, s) {
|
|
1912
|
-
for (var S = u[l], f = 0; f < E.length; f++)
|
|
1913
|
-
if ($(S, E[f]))
|
|
1914
|
-
return null;
|
|
1915
|
-
var A = JSON.stringify(E, function(W, g) {
|
|
1916
|
-
var K = k(g);
|
|
1917
|
-
return K === "symbol" ? String(g) : g;
|
|
1918
|
-
});
|
|
1919
|
-
return new j("Invalid " + w + " `" + s + "` of value `" + String(S) + "` " + ("supplied to `" + d + "`, expected one of " + A + "."));
|
|
1920
|
-
}
|
|
1921
|
-
return x(o);
|
|
1922
|
-
}
|
|
1923
|
-
function ie(E) {
|
|
1924
|
-
function o(u, l, d, w, s) {
|
|
1925
|
-
if (typeof E != "function")
|
|
1926
|
-
return new j("Property `" + s + "` of component `" + d + "` has invalid PropType notation inside objectOf.");
|
|
1927
|
-
var S = u[l], f = ne(S);
|
|
1928
|
-
if (f !== "object")
|
|
1929
|
-
return new j("Invalid " + w + " `" + s + "` of type " + ("`" + f + "` supplied to `" + d + "`, expected an object."));
|
|
1930
|
-
for (var A in S)
|
|
1931
|
-
if (i(S, A)) {
|
|
1932
|
-
var O = E(S, A, d, w, s + "." + A, n);
|
|
1933
|
-
if (O instanceof Error)
|
|
1934
|
-
return O;
|
|
1935
|
-
}
|
|
1936
|
-
return null;
|
|
1937
|
-
}
|
|
1938
|
-
return x(o);
|
|
1939
|
-
}
|
|
1940
|
-
function ye(E) {
|
|
1941
|
-
if (!Array.isArray(E))
|
|
1942
|
-
return process.env.NODE_ENV !== "production" && v("Invalid argument supplied to oneOfType, expected an instance of array."), m;
|
|
1943
|
-
for (var o = 0; o < E.length; o++) {
|
|
1944
|
-
var u = E[o];
|
|
1945
|
-
if (typeof u != "function")
|
|
1946
|
-
return v(
|
|
1947
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + oe(u) + " at index " + o + "."
|
|
1948
|
-
), m;
|
|
1949
|
-
}
|
|
1950
|
-
function l(d, w, s, S, f) {
|
|
1951
|
-
for (var A = [], O = 0; O < E.length; O++) {
|
|
1952
|
-
var W = E[O], g = W(d, w, s, S, f, n);
|
|
1953
|
-
if (g == null)
|
|
1954
|
-
return null;
|
|
1955
|
-
g.data && i(g.data, "expectedType") && A.push(g.data.expectedType);
|
|
1956
|
-
}
|
|
1957
|
-
var K = A.length > 0 ? ", expected one of type [" + A.join(", ") + "]" : "";
|
|
1958
|
-
return new j("Invalid " + S + " `" + f + "` supplied to " + ("`" + s + "`" + K + "."));
|
|
1959
|
-
}
|
|
1960
|
-
return x(l);
|
|
1961
|
-
}
|
|
1962
|
-
function be() {
|
|
1963
|
-
function E(o, u, l, d, w) {
|
|
1964
|
-
return se(o[u]) ? null : new j("Invalid " + d + " `" + w + "` supplied to " + ("`" + l + "`, expected a ReactNode."));
|
|
1965
|
-
}
|
|
1966
|
-
return x(E);
|
|
1967
|
-
}
|
|
1968
|
-
function Ee(E, o, u, l, d) {
|
|
1969
|
-
return new j(
|
|
1970
|
-
(E || "React class") + ": " + o + " type `" + u + "." + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + d + "`."
|
|
1971
|
-
);
|
|
1972
|
-
}
|
|
1973
|
-
function fe(E) {
|
|
1974
|
-
function o(u, l, d, w, s) {
|
|
1975
|
-
var S = u[l], f = ne(S);
|
|
1976
|
-
if (f !== "object")
|
|
1977
|
-
return new j("Invalid " + w + " `" + s + "` of type `" + f + "` " + ("supplied to `" + d + "`, expected `object`."));
|
|
1978
|
-
for (var A in E) {
|
|
1979
|
-
var O = E[A];
|
|
1980
|
-
if (typeof O != "function")
|
|
1981
|
-
return Ee(d, w, s, A, k(O));
|
|
1982
|
-
var W = O(S, A, d, w, s + "." + A, n);
|
|
1983
|
-
if (W)
|
|
1984
|
-
return W;
|
|
1985
|
-
}
|
|
1986
|
-
return null;
|
|
1987
|
-
}
|
|
1988
|
-
return x(o);
|
|
1989
|
-
}
|
|
1990
|
-
function pe(E) {
|
|
1991
|
-
function o(u, l, d, w, s) {
|
|
1992
|
-
var S = u[l], f = ne(S);
|
|
1993
|
-
if (f !== "object")
|
|
1994
|
-
return new j("Invalid " + w + " `" + s + "` of type `" + f + "` " + ("supplied to `" + d + "`, expected `object`."));
|
|
1995
|
-
var A = a({}, u[l], E);
|
|
1996
|
-
for (var O in A) {
|
|
1997
|
-
var W = E[O];
|
|
1998
|
-
if (i(E, O) && typeof W != "function")
|
|
1999
|
-
return Ee(d, w, s, O, k(W));
|
|
2000
|
-
if (!W)
|
|
2001
|
-
return new j(
|
|
2002
|
-
"Invalid " + w + " `" + s + "` key `" + O + "` supplied to `" + d + "`.\nBad object: " + JSON.stringify(u[l], null, " ") + `
|
|
2003
|
-
Valid keys: ` + JSON.stringify(Object.keys(E), null, " ")
|
|
2004
|
-
);
|
|
2005
|
-
var g = W(S, O, d, w, s + "." + O, n);
|
|
2006
|
-
if (g)
|
|
2007
|
-
return g;
|
|
2008
|
-
}
|
|
2009
|
-
return null;
|
|
2010
|
-
}
|
|
2011
|
-
return x(o);
|
|
2012
|
-
}
|
|
2013
|
-
function se(E) {
|
|
2014
|
-
switch (typeof E) {
|
|
2015
|
-
case "number":
|
|
2016
|
-
case "string":
|
|
2017
|
-
case "undefined":
|
|
2018
|
-
return !0;
|
|
2019
|
-
case "boolean":
|
|
2020
|
-
return !E;
|
|
2021
|
-
case "object":
|
|
2022
|
-
if (Array.isArray(E))
|
|
2023
|
-
return E.every(se);
|
|
2024
|
-
if (E === null || y(E))
|
|
2025
|
-
return !0;
|
|
2026
|
-
var o = P(E);
|
|
2027
|
-
if (o) {
|
|
2028
|
-
var u = o.call(E), l;
|
|
2029
|
-
if (o !== E.entries) {
|
|
2030
|
-
for (; !(l = u.next()).done; )
|
|
2031
|
-
if (!se(l.value))
|
|
2032
|
-
return !1;
|
|
2033
|
-
} else
|
|
2034
|
-
for (; !(l = u.next()).done; ) {
|
|
2035
|
-
var d = l.value;
|
|
2036
|
-
if (d && !se(d[1]))
|
|
2037
|
-
return !1;
|
|
2038
|
-
}
|
|
2039
|
-
} else
|
|
2040
|
-
return !1;
|
|
2041
|
-
return !0;
|
|
2042
|
-
default:
|
|
2043
|
-
return !1;
|
|
2044
|
-
}
|
|
2045
|
-
}
|
|
2046
|
-
function Q(E, o) {
|
|
2047
|
-
return E === "symbol" ? !0 : o ? o["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && o instanceof Symbol : !1;
|
|
2048
|
-
}
|
|
2049
|
-
function ne(E) {
|
|
2050
|
-
var o = typeof E;
|
|
2051
|
-
return Array.isArray(E) ? "array" : E instanceof RegExp ? "object" : Q(o, E) ? "symbol" : o;
|
|
2052
|
-
}
|
|
2053
|
-
function k(E) {
|
|
2054
|
-
if (typeof E > "u" || E === null)
|
|
2055
|
-
return "" + E;
|
|
2056
|
-
var o = ne(E);
|
|
2057
|
-
if (o === "object") {
|
|
2058
|
-
if (E instanceof Date)
|
|
2059
|
-
return "date";
|
|
2060
|
-
if (E instanceof RegExp)
|
|
2061
|
-
return "regexp";
|
|
2062
|
-
}
|
|
2063
|
-
return o;
|
|
2064
|
-
}
|
|
2065
|
-
function oe(E) {
|
|
2066
|
-
var o = k(E);
|
|
2067
|
-
switch (o) {
|
|
2068
|
-
case "array":
|
|
2069
|
-
case "object":
|
|
2070
|
-
return "an " + o;
|
|
2071
|
-
case "boolean":
|
|
2072
|
-
case "date":
|
|
2073
|
-
case "regexp":
|
|
2074
|
-
return "a " + o;
|
|
2075
|
-
default:
|
|
2076
|
-
return o;
|
|
2077
|
-
}
|
|
2078
|
-
}
|
|
2079
|
-
function Se(E) {
|
|
2080
|
-
return !E.constructor || !E.constructor.name ? M : E.constructor.name;
|
|
2081
|
-
}
|
|
2082
|
-
return N.checkPropTypes = p, N.resetWarningCache = p.resetWarningCache, N.PropTypes = N, N;
|
|
2083
|
-
}, Rt;
|
|
2084
|
-
}
|
|
2085
|
-
var Tt, xr;
|
|
2086
|
-
function uo() {
|
|
2087
|
-
if (xr) return Tt;
|
|
2088
|
-
xr = 1;
|
|
2089
|
-
var t = Lt();
|
|
2090
|
-
function a() {
|
|
2091
|
-
}
|
|
2092
|
-
function n() {
|
|
2093
|
-
}
|
|
2094
|
-
return n.resetWarningCache = a, Tt = function() {
|
|
2095
|
-
function i(m, y, _, C, T, P) {
|
|
2096
|
-
if (P !== t) {
|
|
2097
|
-
var M = new Error(
|
|
2098
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
2099
|
-
);
|
|
2100
|
-
throw M.name = "Invariant Violation", M;
|
|
2101
|
-
}
|
|
2102
|
-
}
|
|
2103
|
-
i.isRequired = i;
|
|
2104
|
-
function p() {
|
|
2105
|
-
return i;
|
|
2106
|
-
}
|
|
2107
|
-
var v = {
|
|
2108
|
-
array: i,
|
|
2109
|
-
bigint: i,
|
|
2110
|
-
bool: i,
|
|
2111
|
-
func: i,
|
|
2112
|
-
number: i,
|
|
2113
|
-
object: i,
|
|
2114
|
-
string: i,
|
|
2115
|
-
symbol: i,
|
|
2116
|
-
any: i,
|
|
2117
|
-
arrayOf: p,
|
|
2118
|
-
element: i,
|
|
2119
|
-
elementType: i,
|
|
2120
|
-
instanceOf: p,
|
|
2121
|
-
node: i,
|
|
2122
|
-
objectOf: p,
|
|
2123
|
-
oneOf: p,
|
|
2124
|
-
oneOfType: p,
|
|
2125
|
-
shape: p,
|
|
2126
|
-
exact: p,
|
|
2127
|
-
checkPropTypes: n,
|
|
2128
|
-
resetWarningCache: a
|
|
2129
|
-
};
|
|
2130
|
-
return v.PropTypes = v, v;
|
|
2131
|
-
}, Tt;
|
|
2132
|
-
}
|
|
2133
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2134
|
-
var co = ct(), lo = !0;
|
|
2135
|
-
kt.exports = so()(co.isElement, lo);
|
|
2136
|
-
} else
|
|
2137
|
-
kt.exports = uo()();
|
|
2138
|
-
var fo = kt.exports;
|
|
2139
|
-
const Le = /* @__PURE__ */ Nt(fo);
|
|
2140
|
-
var Ft = ct();
|
|
2141
|
-
function po(t) {
|
|
2142
|
-
function a(u, l, d, w, s) {
|
|
2143
|
-
for (var S = 0, f = 0, A = 0, O = 0, W, g, K = 0, he = 0, q, me = q = W = 0, H = 0, ge = 0, Ae = 0, te = 0, Re = d.length, Pe = Re - 1, Ce, V = "", ae = "", je = "", De = "", Te; H < Re; ) {
|
|
2144
|
-
if (g = d.charCodeAt(H), H === Pe && f + O + A + S !== 0 && (f !== 0 && (g = f === 47 ? 10 : 47), O = A = S = 0, Re++, Pe++), f + O + A + S === 0) {
|
|
2145
|
-
if (H === Pe && (0 < ge && (V = V.replace(M, "")), 0 < V.trim().length)) {
|
|
2146
|
-
switch (g) {
|
|
2147
|
-
case 32:
|
|
2148
|
-
case 9:
|
|
2149
|
-
case 59:
|
|
2150
|
-
case 13:
|
|
2151
|
-
case 10:
|
|
2152
|
-
break;
|
|
2153
|
-
default:
|
|
2154
|
-
V += d.charAt(H);
|
|
2155
|
-
}
|
|
2156
|
-
g = 59;
|
|
2157
|
-
}
|
|
2158
|
-
switch (g) {
|
|
2159
|
-
case 123:
|
|
2160
|
-
for (V = V.trim(), W = V.charCodeAt(0), q = 1, te = ++H; H < Re; ) {
|
|
2161
|
-
switch (g = d.charCodeAt(H)) {
|
|
2162
|
-
case 123:
|
|
2163
|
-
q++;
|
|
2164
|
-
break;
|
|
2165
|
-
case 125:
|
|
2166
|
-
q--;
|
|
2167
|
-
break;
|
|
2168
|
-
case 47:
|
|
2169
|
-
switch (g = d.charCodeAt(H + 1)) {
|
|
2170
|
-
case 42:
|
|
2171
|
-
case 47:
|
|
2172
|
-
e: {
|
|
2173
|
-
for (me = H + 1; me < Pe; ++me)
|
|
2174
|
-
switch (d.charCodeAt(me)) {
|
|
2175
|
-
case 47:
|
|
2176
|
-
if (g === 42 && d.charCodeAt(me - 1) === 42 && H + 2 !== me) {
|
|
2177
|
-
H = me + 1;
|
|
2178
|
-
break e;
|
|
2179
|
-
}
|
|
2180
|
-
break;
|
|
2181
|
-
case 10:
|
|
2182
|
-
if (g === 47) {
|
|
2183
|
-
H = me + 1;
|
|
2184
|
-
break e;
|
|
2185
|
-
}
|
|
2186
|
-
}
|
|
2187
|
-
H = me;
|
|
2188
|
-
}
|
|
2189
|
-
}
|
|
2190
|
-
break;
|
|
2191
|
-
case 91:
|
|
2192
|
-
g++;
|
|
2193
|
-
case 40:
|
|
2194
|
-
g++;
|
|
2195
|
-
case 34:
|
|
2196
|
-
case 39:
|
|
2197
|
-
for (; H++ < Pe && d.charCodeAt(H) !== g; )
|
|
2198
|
-
;
|
|
2199
|
-
}
|
|
2200
|
-
if (q === 0) break;
|
|
2201
|
-
H++;
|
|
2202
|
-
}
|
|
2203
|
-
switch (q = d.substring(te, H), W === 0 && (W = (V = V.replace(P, "").trim()).charCodeAt(0)), W) {
|
|
2204
|
-
case 64:
|
|
2205
|
-
switch (0 < ge && (V = V.replace(M, "")), g = V.charCodeAt(1), g) {
|
|
2206
|
-
case 100:
|
|
2207
|
-
case 109:
|
|
2208
|
-
case 115:
|
|
2209
|
-
case 45:
|
|
2210
|
-
ge = l;
|
|
2211
|
-
break;
|
|
2212
|
-
default:
|
|
2213
|
-
ge = ne;
|
|
2214
|
-
}
|
|
2215
|
-
if (q = a(l, ge, q, g, s + 1), te = q.length, 0 < oe && (ge = n(ne, V, Ae), Te = y(3, q, ge, l, pe, fe, te, g, s, w), V = ge.join(""), Te !== void 0 && (te = (q = Te.trim()).length) === 0 && (g = 0, q = "")), 0 < te) switch (g) {
|
|
2216
|
-
case 115:
|
|
2217
|
-
V = V.replace(X, m);
|
|
2218
|
-
case 100:
|
|
2219
|
-
case 109:
|
|
2220
|
-
case 45:
|
|
2221
|
-
q = V + "{" + q + "}";
|
|
2222
|
-
break;
|
|
2223
|
-
case 107:
|
|
2224
|
-
V = V.replace(L, "$1 $2"), q = V + "{" + q + "}", q = Q === 1 || Q === 2 && v("@" + q, 3) ? "@-webkit-" + q + "@" + q : "@" + q;
|
|
2225
|
-
break;
|
|
2226
|
-
default:
|
|
2227
|
-
q = V + q, w === 112 && (q = (ae += q, ""));
|
|
2228
|
-
}
|
|
2229
|
-
else q = "";
|
|
2230
|
-
break;
|
|
2231
|
-
default:
|
|
2232
|
-
q = a(l, n(l, V, Ae), q, w, s + 1);
|
|
2233
|
-
}
|
|
2234
|
-
je += q, q = Ae = ge = me = W = 0, V = "", g = d.charCodeAt(++H);
|
|
2235
|
-
break;
|
|
2236
|
-
case 125:
|
|
2237
|
-
case 59:
|
|
2238
|
-
if (V = (0 < ge ? V.replace(M, "") : V).trim(), 1 < (te = V.length)) switch (me === 0 && (W = V.charCodeAt(0), W === 45 || 96 < W && 123 > W) && (te = (V = V.replace(" ", ":")).length), 0 < oe && (Te = y(1, V, l, u, pe, fe, ae.length, w, s, w)) !== void 0 && (te = (V = Te.trim()).length) === 0 && (V = "\0\0"), W = V.charCodeAt(0), g = V.charCodeAt(1), W) {
|
|
2239
|
-
case 0:
|
|
2240
|
-
break;
|
|
2241
|
-
case 64:
|
|
2242
|
-
if (g === 105 || g === 99) {
|
|
2243
|
-
De += V + d.charAt(H);
|
|
2244
|
-
break;
|
|
2245
|
-
}
|
|
2246
|
-
default:
|
|
2247
|
-
V.charCodeAt(te - 1) !== 58 && (ae += p(V, W, g, V.charCodeAt(2)));
|
|
2248
|
-
}
|
|
2249
|
-
Ae = ge = me = W = 0, V = "", g = d.charCodeAt(++H);
|
|
2250
|
-
}
|
|
2251
|
-
}
|
|
2252
|
-
switch (g) {
|
|
2253
|
-
case 13:
|
|
2254
|
-
case 10:
|
|
2255
|
-
f === 47 ? f = 0 : 1 + W === 0 && w !== 107 && 0 < V.length && (ge = 1, V += "\0"), 0 < oe * E && y(0, V, l, u, pe, fe, ae.length, w, s, w), fe = 1, pe++;
|
|
2256
|
-
break;
|
|
2257
|
-
case 59:
|
|
2258
|
-
case 125:
|
|
2259
|
-
if (f + O + A + S === 0) {
|
|
2260
|
-
fe++;
|
|
2261
|
-
break;
|
|
2262
|
-
}
|
|
2263
|
-
default:
|
|
2264
|
-
switch (fe++, Ce = d.charAt(H), g) {
|
|
2265
|
-
case 9:
|
|
2266
|
-
case 32:
|
|
2267
|
-
if (O + S + f === 0) switch (K) {
|
|
2268
|
-
case 44:
|
|
2269
|
-
case 58:
|
|
2270
|
-
case 9:
|
|
2271
|
-
case 32:
|
|
2272
|
-
Ce = "";
|
|
2273
|
-
break;
|
|
2274
|
-
default:
|
|
2275
|
-
g !== 32 && (Ce = " ");
|
|
2276
|
-
}
|
|
2277
|
-
break;
|
|
2278
|
-
case 0:
|
|
2279
|
-
Ce = "\\0";
|
|
2280
|
-
break;
|
|
2281
|
-
case 12:
|
|
2282
|
-
Ce = "\\f";
|
|
2283
|
-
break;
|
|
2284
|
-
case 11:
|
|
2285
|
-
Ce = "\\v";
|
|
2286
|
-
break;
|
|
2287
|
-
case 38:
|
|
2288
|
-
O + f + S === 0 && (ge = Ae = 1, Ce = "\f" + Ce);
|
|
2289
|
-
break;
|
|
2290
|
-
case 108:
|
|
2291
|
-
if (O + f + S + se === 0 && 0 < me) switch (H - me) {
|
|
2292
|
-
case 2:
|
|
2293
|
-
K === 112 && d.charCodeAt(H - 3) === 58 && (se = K);
|
|
2294
|
-
case 8:
|
|
2295
|
-
he === 111 && (se = he);
|
|
2296
|
-
}
|
|
2297
|
-
break;
|
|
2298
|
-
case 58:
|
|
2299
|
-
O + f + S === 0 && (me = H);
|
|
2300
|
-
break;
|
|
2301
|
-
case 44:
|
|
2302
|
-
f + A + O + S === 0 && (ge = 1, Ce += "\r");
|
|
2303
|
-
break;
|
|
2304
|
-
case 34:
|
|
2305
|
-
case 39:
|
|
2306
|
-
f === 0 && (O = O === g ? 0 : O === 0 ? g : O);
|
|
2307
|
-
break;
|
|
2308
|
-
case 91:
|
|
2309
|
-
O + f + A === 0 && S++;
|
|
2310
|
-
break;
|
|
2311
|
-
case 93:
|
|
2312
|
-
O + f + A === 0 && S--;
|
|
2313
|
-
break;
|
|
2314
|
-
case 41:
|
|
2315
|
-
O + f + S === 0 && A--;
|
|
2316
|
-
break;
|
|
2317
|
-
case 40:
|
|
2318
|
-
if (O + f + S === 0) {
|
|
2319
|
-
if (W === 0) switch (2 * K + 3 * he) {
|
|
2320
|
-
case 533:
|
|
2321
|
-
break;
|
|
2322
|
-
default:
|
|
2323
|
-
W = 1;
|
|
2324
|
-
}
|
|
2325
|
-
A++;
|
|
2326
|
-
}
|
|
2327
|
-
break;
|
|
2328
|
-
case 64:
|
|
2329
|
-
f + A + O + S + me + q === 0 && (q = 1);
|
|
2330
|
-
break;
|
|
2331
|
-
case 42:
|
|
2332
|
-
case 47:
|
|
2333
|
-
if (!(0 < O + S + A)) switch (f) {
|
|
2334
|
-
case 0:
|
|
2335
|
-
switch (2 * g + 3 * d.charCodeAt(H + 1)) {
|
|
2336
|
-
case 235:
|
|
2337
|
-
f = 47;
|
|
2338
|
-
break;
|
|
2339
|
-
case 220:
|
|
2340
|
-
te = H, f = 42;
|
|
2341
|
-
}
|
|
2342
|
-
break;
|
|
2343
|
-
case 42:
|
|
2344
|
-
g === 47 && K === 42 && te + 2 !== H && (d.charCodeAt(te + 2) === 33 && (ae += d.substring(te, H + 1)), Ce = "", f = 0);
|
|
2345
|
-
}
|
|
2346
|
-
}
|
|
2347
|
-
f === 0 && (V += Ce);
|
|
2348
|
-
}
|
|
2349
|
-
he = K, K = g, H++;
|
|
2350
|
-
}
|
|
2351
|
-
if (te = ae.length, 0 < te) {
|
|
2352
|
-
if (ge = l, 0 < oe && (Te = y(2, ae, ge, u, pe, fe, te, w, s, w), Te !== void 0 && (ae = Te).length === 0)) return De + ae + je;
|
|
2353
|
-
if (ae = ge.join(",") + "{" + ae + "}", Q * se !== 0) {
|
|
2354
|
-
switch (Q !== 2 || v(ae, 2) || (se = 0), se) {
|
|
2355
|
-
case 111:
|
|
2356
|
-
ae = ae.replace(D, ":-moz-$1") + ae;
|
|
2357
|
-
break;
|
|
2358
|
-
case 112:
|
|
2359
|
-
ae = ae.replace(Y, "::-webkit-input-$1") + ae.replace(Y, "::-moz-$1") + ae.replace(Y, ":-ms-input-$1") + ae;
|
|
2360
|
-
}
|
|
2361
|
-
se = 0;
|
|
2362
|
-
}
|
|
2363
|
-
}
|
|
2364
|
-
return De + ae + je;
|
|
2365
|
-
}
|
|
2366
|
-
function n(u, l, d) {
|
|
2367
|
-
var w = l.trim().split(x);
|
|
2368
|
-
l = w;
|
|
2369
|
-
var s = w.length, S = u.length;
|
|
2370
|
-
switch (S) {
|
|
2371
|
-
case 0:
|
|
2372
|
-
case 1:
|
|
2373
|
-
var f = 0;
|
|
2374
|
-
for (u = S === 0 ? "" : u[0] + " "; f < s; ++f)
|
|
2375
|
-
l[f] = i(u, l[f], d).trim();
|
|
2376
|
-
break;
|
|
2377
|
-
default:
|
|
2378
|
-
var A = f = 0;
|
|
2379
|
-
for (l = []; f < s; ++f)
|
|
2380
|
-
for (var O = 0; O < S; ++O)
|
|
2381
|
-
l[A++] = i(u[O] + " ", w[f], d).trim();
|
|
2382
|
-
}
|
|
2383
|
-
return l;
|
|
2384
|
-
}
|
|
2385
|
-
function i(u, l, d) {
|
|
2386
|
-
var w = l.charCodeAt(0);
|
|
2387
|
-
switch (33 > w && (w = (l = l.trim()).charCodeAt(0)), w) {
|
|
2388
|
-
case 38:
|
|
2389
|
-
return l.replace(F, "$1" + u.trim());
|
|
2390
|
-
case 58:
|
|
2391
|
-
return u.trim() + l.replace(F, "$1" + u.trim());
|
|
2392
|
-
default:
|
|
2393
|
-
if (0 < 1 * d && 0 < l.indexOf("\f")) return l.replace(F, (u.charCodeAt(0) === 58 ? "" : "$1") + u.trim());
|
|
2394
|
-
}
|
|
2395
|
-
return u + l;
|
|
2396
|
-
}
|
|
2397
|
-
function p(u, l, d, w) {
|
|
2398
|
-
var s = u + ";", S = 2 * l + 3 * d + 4 * w;
|
|
2399
|
-
if (S === 944) {
|
|
2400
|
-
u = s.indexOf(":", 9) + 1;
|
|
2401
|
-
var f = s.substring(u, s.length - 1).trim();
|
|
2402
|
-
return f = s.substring(0, u).trim() + f + ";", Q === 1 || Q === 2 && v(f, 1) ? "-webkit-" + f + f : f;
|
|
2403
|
-
}
|
|
2404
|
-
if (Q === 0 || Q === 2 && !v(s, 1)) return s;
|
|
2405
|
-
switch (S) {
|
|
2406
|
-
case 1015:
|
|
2407
|
-
return s.charCodeAt(10) === 97 ? "-webkit-" + s + s : s;
|
|
2408
|
-
case 951:
|
|
2409
|
-
return s.charCodeAt(3) === 116 ? "-webkit-" + s + s : s;
|
|
2410
|
-
case 963:
|
|
2411
|
-
return s.charCodeAt(5) === 110 ? "-webkit-" + s + s : s;
|
|
2412
|
-
case 1009:
|
|
2413
|
-
if (s.charCodeAt(4) !== 100) break;
|
|
2414
|
-
case 969:
|
|
2415
|
-
case 942:
|
|
2416
|
-
return "-webkit-" + s + s;
|
|
2417
|
-
case 978:
|
|
2418
|
-
return "-webkit-" + s + "-moz-" + s + s;
|
|
2419
|
-
case 1019:
|
|
2420
|
-
case 983:
|
|
2421
|
-
return "-webkit-" + s + "-moz-" + s + "-ms-" + s + s;
|
|
2422
|
-
case 883:
|
|
2423
|
-
if (s.charCodeAt(8) === 45) return "-webkit-" + s + s;
|
|
2424
|
-
if (0 < s.indexOf("image-set(", 11)) return s.replace(Ee, "$1-webkit-$2") + s;
|
|
2425
|
-
break;
|
|
2426
|
-
case 932:
|
|
2427
|
-
if (s.charCodeAt(4) === 45) switch (s.charCodeAt(5)) {
|
|
2428
|
-
case 103:
|
|
2429
|
-
return "-webkit-box-" + s.replace("-grow", "") + "-webkit-" + s + "-ms-" + s.replace("grow", "positive") + s;
|
|
2430
|
-
case 115:
|
|
2431
|
-
return "-webkit-" + s + "-ms-" + s.replace("shrink", "negative") + s;
|
|
2432
|
-
case 98:
|
|
2433
|
-
return "-webkit-" + s + "-ms-" + s.replace("basis", "preferred-size") + s;
|
|
2434
|
-
}
|
|
2435
|
-
return "-webkit-" + s + "-ms-" + s + s;
|
|
2436
|
-
case 964:
|
|
2437
|
-
return "-webkit-" + s + "-ms-flex-" + s + s;
|
|
2438
|
-
case 1023:
|
|
2439
|
-
if (s.charCodeAt(8) !== 99) break;
|
|
2440
|
-
return f = s.substring(s.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify"), "-webkit-box-pack" + f + "-webkit-" + s + "-ms-flex-pack" + f + s;
|
|
2441
|
-
case 1005:
|
|
2442
|
-
return $.test(s) ? s.replace(N, ":-webkit-") + s.replace(N, ":-moz-") + s : s;
|
|
2443
|
-
case 1e3:
|
|
2444
|
-
switch (f = s.substring(13).trim(), l = f.indexOf("-") + 1, f.charCodeAt(0) + f.charCodeAt(l)) {
|
|
2445
|
-
case 226:
|
|
2446
|
-
f = s.replace(b, "tb");
|
|
2447
|
-
break;
|
|
2448
|
-
case 232:
|
|
2449
|
-
f = s.replace(b, "tb-rl");
|
|
2450
|
-
break;
|
|
2451
|
-
case 220:
|
|
2452
|
-
f = s.replace(b, "lr");
|
|
2453
|
-
break;
|
|
2454
|
-
default:
|
|
2455
|
-
return s;
|
|
2456
|
-
}
|
|
2457
|
-
return "-webkit-" + s + "-ms-" + f + s;
|
|
2458
|
-
case 1017:
|
|
2459
|
-
if (s.indexOf("sticky", 9) === -1) break;
|
|
2460
|
-
case 975:
|
|
2461
|
-
switch (l = (s = u).length - 10, f = (s.charCodeAt(l) === 33 ? s.substring(0, l) : s).substring(u.indexOf(":", 7) + 1).trim(), S = f.charCodeAt(0) + (f.charCodeAt(7) | 0)) {
|
|
2462
|
-
case 203:
|
|
2463
|
-
if (111 > f.charCodeAt(8)) break;
|
|
2464
|
-
case 115:
|
|
2465
|
-
s = s.replace(f, "-webkit-" + f) + ";" + s;
|
|
2466
|
-
break;
|
|
2467
|
-
case 207:
|
|
2468
|
-
case 102:
|
|
2469
|
-
s = s.replace(f, "-webkit-" + (102 < S ? "inline-" : "") + "box") + ";" + s.replace(f, "-webkit-" + f) + ";" + s.replace(f, "-ms-" + f + "box") + ";" + s;
|
|
2470
|
-
}
|
|
2471
|
-
return s + ";";
|
|
2472
|
-
case 938:
|
|
2473
|
-
if (s.charCodeAt(5) === 45) switch (s.charCodeAt(6)) {
|
|
2474
|
-
case 105:
|
|
2475
|
-
return f = s.replace("-items", ""), "-webkit-" + s + "-webkit-box-" + f + "-ms-flex-" + f + s;
|
|
2476
|
-
case 115:
|
|
2477
|
-
return "-webkit-" + s + "-ms-flex-item-" + s.replace(ie, "") + s;
|
|
2478
|
-
default:
|
|
2479
|
-
return "-webkit-" + s + "-ms-flex-line-pack" + s.replace("align-content", "").replace(ie, "") + s;
|
|
2480
|
-
}
|
|
2481
|
-
break;
|
|
2482
|
-
case 973:
|
|
2483
|
-
case 989:
|
|
2484
|
-
if (s.charCodeAt(3) !== 45 || s.charCodeAt(4) === 122) break;
|
|
2485
|
-
case 931:
|
|
2486
|
-
case 953:
|
|
2487
|
-
if (be.test(u) === !0) return (f = u.substring(u.indexOf(":") + 1)).charCodeAt(0) === 115 ? p(u.replace("stretch", "fill-available"), l, d, w).replace(":fill-available", ":stretch") : s.replace(f, "-webkit-" + f) + s.replace(f, "-moz-" + f.replace("fill-", "")) + s;
|
|
2488
|
-
break;
|
|
2489
|
-
case 962:
|
|
2490
|
-
if (s = "-webkit-" + s + (s.charCodeAt(5) === 102 ? "-ms-" + s : "") + s, d + w === 211 && s.charCodeAt(13) === 105 && 0 < s.indexOf("transform", 10)) return s.substring(0, s.indexOf(";", 27) + 1).replace(j, "$1-webkit-$2") + s;
|
|
2491
|
-
}
|
|
2492
|
-
return s;
|
|
2493
|
-
}
|
|
2494
|
-
function v(u, l) {
|
|
2495
|
-
var d = u.indexOf(l === 1 ? ":" : "{"), w = u.substring(0, l !== 3 ? d : 10);
|
|
2496
|
-
return d = u.substring(d + 1, u.length - 1), Se(l !== 2 ? w : w.replace(ye, "$1"), d, l);
|
|
2497
|
-
}
|
|
2498
|
-
function m(u, l) {
|
|
2499
|
-
var d = p(l, l.charCodeAt(0), l.charCodeAt(1), l.charCodeAt(2));
|
|
2500
|
-
return d !== l + ";" ? d.replace(de, " or ($1)").substring(4) : "(" + l + ")";
|
|
2501
|
-
}
|
|
2502
|
-
function y(u, l, d, w, s, S, f, A, O, W) {
|
|
2503
|
-
for (var g = 0, K = l, he; g < oe; ++g)
|
|
2504
|
-
switch (he = k[g].call(T, u, K, d, w, s, S, f, A, O, W)) {
|
|
2505
|
-
case void 0:
|
|
2506
|
-
case !1:
|
|
2507
|
-
case !0:
|
|
2508
|
-
case null:
|
|
2509
|
-
break;
|
|
2510
|
-
default:
|
|
2511
|
-
K = he;
|
|
2512
|
-
}
|
|
2513
|
-
if (K !== l) return K;
|
|
2514
|
-
}
|
|
2515
|
-
function _(u) {
|
|
2516
|
-
switch (u) {
|
|
2517
|
-
case void 0:
|
|
2518
|
-
case null:
|
|
2519
|
-
oe = k.length = 0;
|
|
2520
|
-
break;
|
|
2521
|
-
default:
|
|
2522
|
-
if (typeof u == "function") k[oe++] = u;
|
|
2523
|
-
else if (typeof u == "object") for (var l = 0, d = u.length; l < d; ++l)
|
|
2524
|
-
_(u[l]);
|
|
2525
|
-
else E = !!u | 0;
|
|
2526
|
-
}
|
|
2527
|
-
return _;
|
|
2528
|
-
}
|
|
2529
|
-
function C(u) {
|
|
2530
|
-
return u = u.prefix, u !== void 0 && (Se = null, u ? typeof u != "function" ? Q = 1 : (Q = 2, Se = u) : Q = 0), C;
|
|
2531
|
-
}
|
|
2532
|
-
function T(u, l) {
|
|
2533
|
-
var d = u;
|
|
2534
|
-
if (33 > d.charCodeAt(0) && (d = d.trim()), o = d, d = [o], 0 < oe) {
|
|
2535
|
-
var w = y(-1, l, d, d, pe, fe, 0, 0, 0, 0);
|
|
2536
|
-
w !== void 0 && typeof w == "string" && (l = w);
|
|
2537
|
-
}
|
|
2538
|
-
var s = a(ne, d, l, 0, 0);
|
|
2539
|
-
return 0 < oe && (w = y(-2, s, d, d, pe, fe, s.length, 0, 0, 0), w !== void 0 && (s = w)), o = "", se = 0, fe = pe = 1, s;
|
|
2540
|
-
}
|
|
2541
|
-
var P = /^\0+/g, M = /[\0\r\f]/g, N = /: */g, $ = /zoo|gra/, j = /([,: ])(transform)/g, x = /,\r+?/g, F = /([\t\r\n ])*\f?&/g, L = /@(k\w+)\s*(\S*)\s*/, Y = /::(place)/g, D = /:(read-only)/g, b = /[svh]\w+-[tblr]{2}/, X = /\(\s*(.*)\s*\)/g, de = /([\s\S]*?);/g, ie = /-self|flex-/g, ye = /[^]*?(:[rp][el]a[\w-]+)[^]*/, be = /stretch|:\s*\w+\-(?:conte|avail)/, Ee = /([^-])(image-set\()/, fe = 1, pe = 1, se = 0, Q = 1, ne = [], k = [], oe = 0, Se = null, E = 0, o = "";
|
|
2542
|
-
return T.use = _, T.set = C, t !== void 0 && C(t), T;
|
|
2543
|
-
}
|
|
2544
|
-
var ho = {
|
|
2545
|
-
animationIterationCount: 1,
|
|
2546
|
-
borderImageOutset: 1,
|
|
2547
|
-
borderImageSlice: 1,
|
|
2548
|
-
borderImageWidth: 1,
|
|
2549
|
-
boxFlex: 1,
|
|
2550
|
-
boxFlexGroup: 1,
|
|
2551
|
-
boxOrdinalGroup: 1,
|
|
2552
|
-
columnCount: 1,
|
|
2553
|
-
columns: 1,
|
|
2554
|
-
flex: 1,
|
|
2555
|
-
flexGrow: 1,
|
|
2556
|
-
flexPositive: 1,
|
|
2557
|
-
flexShrink: 1,
|
|
2558
|
-
flexNegative: 1,
|
|
2559
|
-
flexOrder: 1,
|
|
2560
|
-
gridRow: 1,
|
|
2561
|
-
gridRowEnd: 1,
|
|
2562
|
-
gridRowSpan: 1,
|
|
2563
|
-
gridRowStart: 1,
|
|
2564
|
-
gridColumn: 1,
|
|
2565
|
-
gridColumnEnd: 1,
|
|
2566
|
-
gridColumnSpan: 1,
|
|
2567
|
-
gridColumnStart: 1,
|
|
2568
|
-
msGridRow: 1,
|
|
2569
|
-
msGridRowSpan: 1,
|
|
2570
|
-
msGridColumn: 1,
|
|
2571
|
-
msGridColumnSpan: 1,
|
|
2572
|
-
fontWeight: 1,
|
|
2573
|
-
lineHeight: 1,
|
|
2574
|
-
opacity: 1,
|
|
2575
|
-
order: 1,
|
|
2576
|
-
orphans: 1,
|
|
2577
|
-
tabSize: 1,
|
|
2578
|
-
widows: 1,
|
|
2579
|
-
zIndex: 1,
|
|
2580
|
-
zoom: 1,
|
|
2581
|
-
WebkitLineClamp: 1,
|
|
2582
|
-
// SVG-related properties
|
|
2583
|
-
fillOpacity: 1,
|
|
2584
|
-
floodOpacity: 1,
|
|
2585
|
-
stopOpacity: 1,
|
|
2586
|
-
strokeDasharray: 1,
|
|
2587
|
-
strokeDashoffset: 1,
|
|
2588
|
-
strokeMiterlimit: 1,
|
|
2589
|
-
strokeOpacity: 1,
|
|
2590
|
-
strokeWidth: 1
|
|
2591
|
-
};
|
|
2592
|
-
function vo(t) {
|
|
2593
|
-
var a = /* @__PURE__ */ Object.create(null);
|
|
2594
|
-
return function(n) {
|
|
2595
|
-
return a[n] === void 0 && (a[n] = t(n)), a[n];
|
|
2596
|
-
};
|
|
2597
|
-
}
|
|
2598
|
-
var yo = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Ir = /* @__PURE__ */ vo(
|
|
2599
|
-
function(t) {
|
|
2600
|
-
return yo.test(t) || t.charCodeAt(0) === 111 && t.charCodeAt(1) === 110 && t.charCodeAt(2) < 91;
|
|
2601
|
-
}
|
|
2602
|
-
/* Z+1 */
|
|
2603
|
-
), zt = ct(), mo = {
|
|
2604
|
-
childContextTypes: !0,
|
|
2605
|
-
contextType: !0,
|
|
2606
|
-
contextTypes: !0,
|
|
2607
|
-
defaultProps: !0,
|
|
2608
|
-
displayName: !0,
|
|
2609
|
-
getDefaultProps: !0,
|
|
2610
|
-
getDerivedStateFromError: !0,
|
|
2611
|
-
getDerivedStateFromProps: !0,
|
|
2612
|
-
mixins: !0,
|
|
2613
|
-
propTypes: !0,
|
|
2614
|
-
type: !0
|
|
2615
|
-
}, go = {
|
|
2616
|
-
name: !0,
|
|
2617
|
-
length: !0,
|
|
2618
|
-
prototype: !0,
|
|
2619
|
-
caller: !0,
|
|
2620
|
-
callee: !0,
|
|
2621
|
-
arguments: !0,
|
|
2622
|
-
arity: !0
|
|
2623
|
-
}, bo = {
|
|
2624
|
-
$$typeof: !0,
|
|
2625
|
-
render: !0,
|
|
2626
|
-
defaultProps: !0,
|
|
2627
|
-
displayName: !0,
|
|
2628
|
-
propTypes: !0
|
|
2629
|
-
}, Ur = {
|
|
2630
|
-
$$typeof: !0,
|
|
2631
|
-
compare: !0,
|
|
2632
|
-
defaultProps: !0,
|
|
2633
|
-
displayName: !0,
|
|
2634
|
-
propTypes: !0,
|
|
2635
|
-
type: !0
|
|
2636
|
-
}, Yt = {};
|
|
2637
|
-
Yt[zt.ForwardRef] = bo;
|
|
2638
|
-
Yt[zt.Memo] = Ur;
|
|
2639
|
-
function jr(t) {
|
|
2640
|
-
return zt.isMemo(t) ? Ur : Yt[t.$$typeof] || mo;
|
|
2641
|
-
}
|
|
2642
|
-
var wo = Object.defineProperty, Eo = Object.getOwnPropertyNames, Dr = Object.getOwnPropertySymbols, _o = Object.getOwnPropertyDescriptor, So = Object.getPrototypeOf, $r = Object.prototype;
|
|
2643
|
-
function Br(t, a, n) {
|
|
2644
|
-
if (typeof a != "string") {
|
|
2645
|
-
if ($r) {
|
|
2646
|
-
var i = So(a);
|
|
2647
|
-
i && i !== $r && Br(t, i, n);
|
|
2648
|
-
}
|
|
2649
|
-
var p = Eo(a);
|
|
2650
|
-
Dr && (p = p.concat(Dr(a)));
|
|
2651
|
-
for (var v = jr(t), m = jr(a), y = 0; y < p.length; ++y) {
|
|
2652
|
-
var _ = p[y];
|
|
2653
|
-
if (!go[_] && !(n && n[_]) && !(m && m[_]) && !(v && v[_])) {
|
|
2654
|
-
var C = _o(a, _);
|
|
2655
|
-
try {
|
|
2656
|
-
wo(t, _, C);
|
|
2657
|
-
} catch {
|
|
2658
|
-
}
|
|
2659
|
-
}
|
|
2660
|
-
}
|
|
2661
|
-
}
|
|
2662
|
-
return t;
|
|
2663
|
-
}
|
|
2664
|
-
var Co = Br;
|
|
2665
|
-
const Ro = /* @__PURE__ */ Nt(Co);
|
|
2666
|
-
function Oe() {
|
|
2667
|
-
return (Oe = Object.assign || function(t) {
|
|
2668
|
-
for (var a = 1; a < arguments.length; a++) {
|
|
2669
|
-
var n = arguments[a];
|
|
2670
|
-
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
|
|
2671
|
-
}
|
|
2672
|
-
return t;
|
|
2673
|
-
}).apply(this, arguments);
|
|
2674
|
-
}
|
|
2675
|
-
var Mr = function(t, a) {
|
|
2676
|
-
for (var n = [t[0]], i = 0, p = a.length; i < p; i += 1) n.push(a[i], t[i + 1]);
|
|
2677
|
-
return n;
|
|
2678
|
-
}, xt = function(t) {
|
|
2679
|
-
return t !== null && typeof t == "object" && (t.toString ? t.toString() : Object.prototype.toString.call(t)) === "[object Object]" && !Ft.typeOf(t);
|
|
2680
|
-
}, st = Object.freeze([]), xe = Object.freeze({});
|
|
2681
|
-
function qe(t) {
|
|
2682
|
-
return typeof t == "function";
|
|
2683
|
-
}
|
|
2684
|
-
function It(t) {
|
|
2685
|
-
return process.env.NODE_ENV !== "production" && typeof t == "string" && t || t.displayName || t.name || "Component";
|
|
2686
|
-
}
|
|
2687
|
-
function Wt(t) {
|
|
2688
|
-
return t && typeof t.styledComponentId == "string";
|
|
2689
|
-
}
|
|
2690
|
-
var Fe = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Vt = typeof window < "u" && "HTMLElement" in window, To = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production")), Oo = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
|
|
2691
|
-
|
|
2692
|
-
`, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
2693
|
-
|
|
2694
|
-
- Are you trying to reuse it across renders?
|
|
2695
|
-
- Are you accidentally calling collectStyles twice?
|
|
2696
|
-
|
|
2697
|
-
`, 3: `Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
|
2698
|
-
|
|
2699
|
-
`, 4: `The \`StyleSheetManager\` expects a valid target or sheet prop!
|
|
2700
|
-
|
|
2701
|
-
- Does this error occur on the client and is your target falsy?
|
|
2702
|
-
- Does this error occur on the server and is the sheet falsy?
|
|
2703
|
-
|
|
2704
|
-
`, 5: `The clone method cannot be used on the client!
|
|
2705
|
-
|
|
2706
|
-
- Are you running in a client-like environment on the server?
|
|
2707
|
-
- Are you trying to run SSR on the client?
|
|
2708
|
-
|
|
2709
|
-
`, 6: `Trying to insert a new style tag, but the given Node is unmounted!
|
|
2710
|
-
|
|
2711
|
-
- Are you using a custom target that isn't mounted?
|
|
2712
|
-
- Does your document not have a valid head element?
|
|
2713
|
-
- Have you accidentally removed a style tag manually?
|
|
2714
|
-
|
|
2715
|
-
`, 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: `ThemeProvider: Please make your "theme" prop an object.
|
|
2716
|
-
|
|
2717
|
-
`, 9: "Missing document `<head>`\n\n", 10: `Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
|
|
2718
|
-
|
|
2719
|
-
`, 11: `_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
|
|
2720
|
-
|
|
2721
|
-
`, 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n", 13: `%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
|
|
2722
|
-
|
|
2723
|
-
`, 14: `ThemeProvider: "theme" prop is required.
|
|
2724
|
-
|
|
2725
|
-
`, 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: `Reached the limit of how many styled components may be created at group %s.
|
|
2726
|
-
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
|
2727
|
-
as for instance in your render method then you may be running into this limitation.
|
|
2728
|
-
|
|
2729
|
-
`, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
|
|
2730
|
-
Has styled-components' style tag been unmounted or altered by another script?
|
|
2731
|
-
` } : {};
|
|
2732
|
-
function Ao() {
|
|
2733
|
-
for (var t = arguments.length <= 0 ? void 0 : arguments[0], a = [], n = 1, i = arguments.length; n < i; n += 1) a.push(n < 0 || arguments.length <= n ? void 0 : arguments[n]);
|
|
2734
|
-
return a.forEach(function(p) {
|
|
2735
|
-
t = t.replace(/%[a-z]/, p);
|
|
2736
|
-
}), t;
|
|
2737
|
-
}
|
|
2738
|
-
function Ye(t) {
|
|
2739
|
-
for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), i = 1; i < a; i++) n[i - 1] = arguments[i];
|
|
2740
|
-
throw process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://git.io/JUIaE#" + t + " for more information." + (n.length > 0 ? " Args: " + n.join(", ") : "")) : new Error(Ao.apply(void 0, [Oo[t]].concat(n)).trim());
|
|
2741
|
-
}
|
|
2742
|
-
var Po = function() {
|
|
2743
|
-
function t(n) {
|
|
2744
|
-
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = n;
|
|
2745
|
-
}
|
|
2746
|
-
var a = t.prototype;
|
|
2747
|
-
return a.indexOfGroup = function(n) {
|
|
2748
|
-
for (var i = 0, p = 0; p < n; p++) i += this.groupSizes[p];
|
|
2749
|
-
return i;
|
|
2750
|
-
}, a.insertRules = function(n, i) {
|
|
2751
|
-
if (n >= this.groupSizes.length) {
|
|
2752
|
-
for (var p = this.groupSizes, v = p.length, m = v; n >= m; ) (m <<= 1) < 0 && Ye(16, "" + n);
|
|
2753
|
-
this.groupSizes = new Uint32Array(m), this.groupSizes.set(p), this.length = m;
|
|
2754
|
-
for (var y = v; y < m; y++) this.groupSizes[y] = 0;
|
|
2755
|
-
}
|
|
2756
|
-
for (var _ = this.indexOfGroup(n + 1), C = 0, T = i.length; C < T; C++) this.tag.insertRule(_, i[C]) && (this.groupSizes[n]++, _++);
|
|
2757
|
-
}, a.clearGroup = function(n) {
|
|
2758
|
-
if (n < this.length) {
|
|
2759
|
-
var i = this.groupSizes[n], p = this.indexOfGroup(n), v = p + i;
|
|
2760
|
-
this.groupSizes[n] = 0;
|
|
2761
|
-
for (var m = p; m < v; m++) this.tag.deleteRule(p);
|
|
2762
|
-
}
|
|
2763
|
-
}, a.getGroup = function(n) {
|
|
2764
|
-
var i = "";
|
|
2765
|
-
if (n >= this.length || this.groupSizes[n] === 0) return i;
|
|
2766
|
-
for (var p = this.groupSizes[n], v = this.indexOfGroup(n), m = v + p, y = v; y < m; y++) i += this.tag.getRule(y) + `/*!sc*/
|
|
2767
|
-
`;
|
|
2768
|
-
return i;
|
|
2769
|
-
}, t;
|
|
2770
|
-
}(), it = /* @__PURE__ */ new Map(), ut = /* @__PURE__ */ new Map(), Be = 1, nt = function(t) {
|
|
2771
|
-
if (it.has(t)) return it.get(t);
|
|
2772
|
-
for (; ut.has(Be); ) Be++;
|
|
2773
|
-
var a = Be++;
|
|
2774
|
-
return process.env.NODE_ENV !== "production" && ((0 | a) < 0 || a > 1 << 30) && Ye(16, "" + a), it.set(t, a), ut.set(a, t), a;
|
|
2775
|
-
}, ko = function(t) {
|
|
2776
|
-
return ut.get(t);
|
|
2777
|
-
}, xo = function(t, a) {
|
|
2778
|
-
a >= Be && (Be = a + 1), it.set(t, a), ut.set(a, t);
|
|
2779
|
-
}, Io = "style[" + Fe + '][data-styled-version="5.3.11"]', jo = new RegExp("^" + Fe + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), Do = function(t, a, n) {
|
|
2780
|
-
for (var i, p = n.split(","), v = 0, m = p.length; v < m; v++) (i = p[v]) && t.registerName(a, i);
|
|
2781
|
-
}, $o = function(t, a) {
|
|
2782
|
-
for (var n = (a.textContent || "").split(`/*!sc*/
|
|
2783
|
-
`), i = [], p = 0, v = n.length; p < v; p++) {
|
|
2784
|
-
var m = n[p].trim();
|
|
2785
|
-
if (m) {
|
|
2786
|
-
var y = m.match(jo);
|
|
2787
|
-
if (y) {
|
|
2788
|
-
var _ = 0 | parseInt(y[1], 10), C = y[2];
|
|
2789
|
-
_ !== 0 && (xo(C, _), Do(t, C, y[3]), t.getTag().insertRules(_, i)), i.length = 0;
|
|
2790
|
-
} else i.push(m);
|
|
2791
|
-
}
|
|
2792
|
-
}
|
|
2793
|
-
}, Mo = function() {
|
|
2794
|
-
return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
|
|
2795
|
-
}, qr = function(t) {
|
|
2796
|
-
var a = document.head, n = t || a, i = document.createElement("style"), p = function(y) {
|
|
2797
|
-
for (var _ = y.childNodes, C = _.length; C >= 0; C--) {
|
|
2798
|
-
var T = _[C];
|
|
2799
|
-
if (T && T.nodeType === 1 && T.hasAttribute(Fe)) return T;
|
|
2800
|
-
}
|
|
2801
|
-
}(n), v = p !== void 0 ? p.nextSibling : null;
|
|
2802
|
-
i.setAttribute(Fe, "active"), i.setAttribute("data-styled-version", "5.3.11");
|
|
2803
|
-
var m = Mo();
|
|
2804
|
-
return m && i.setAttribute("nonce", m), n.insertBefore(i, v), i;
|
|
2805
|
-
}, No = function() {
|
|
2806
|
-
function t(n) {
|
|
2807
|
-
var i = this.element = qr(n);
|
|
2808
|
-
i.appendChild(document.createTextNode("")), this.sheet = function(p) {
|
|
2809
|
-
if (p.sheet) return p.sheet;
|
|
2810
|
-
for (var v = document.styleSheets, m = 0, y = v.length; m < y; m++) {
|
|
2811
|
-
var _ = v[m];
|
|
2812
|
-
if (_.ownerNode === p) return _;
|
|
2813
|
-
}
|
|
2814
|
-
Ye(17);
|
|
2815
|
-
}(i), this.length = 0;
|
|
2816
|
-
}
|
|
2817
|
-
var a = t.prototype;
|
|
2818
|
-
return a.insertRule = function(n, i) {
|
|
2819
|
-
try {
|
|
2820
|
-
return this.sheet.insertRule(i, n), this.length++, !0;
|
|
2821
|
-
} catch {
|
|
2822
|
-
return !1;
|
|
2823
|
-
}
|
|
2824
|
-
}, a.deleteRule = function(n) {
|
|
2825
|
-
this.sheet.deleteRule(n), this.length--;
|
|
2826
|
-
}, a.getRule = function(n) {
|
|
2827
|
-
var i = this.sheet.cssRules[n];
|
|
2828
|
-
return i !== void 0 && typeof i.cssText == "string" ? i.cssText : "";
|
|
2829
|
-
}, t;
|
|
2830
|
-
}(), Lo = function() {
|
|
2831
|
-
function t(n) {
|
|
2832
|
-
var i = this.element = qr(n);
|
|
2833
|
-
this.nodes = i.childNodes, this.length = 0;
|
|
2834
|
-
}
|
|
2835
|
-
var a = t.prototype;
|
|
2836
|
-
return a.insertRule = function(n, i) {
|
|
2837
|
-
if (n <= this.length && n >= 0) {
|
|
2838
|
-
var p = document.createTextNode(i), v = this.nodes[n];
|
|
2839
|
-
return this.element.insertBefore(p, v || null), this.length++, !0;
|
|
2840
|
-
}
|
|
2841
|
-
return !1;
|
|
2842
|
-
}, a.deleteRule = function(n) {
|
|
2843
|
-
this.element.removeChild(this.nodes[n]), this.length--;
|
|
2844
|
-
}, a.getRule = function(n) {
|
|
2845
|
-
return n < this.length ? this.nodes[n].textContent : "";
|
|
2846
|
-
}, t;
|
|
2847
|
-
}(), Fo = function() {
|
|
2848
|
-
function t(n) {
|
|
2849
|
-
this.rules = [], this.length = 0;
|
|
2850
|
-
}
|
|
2851
|
-
var a = t.prototype;
|
|
2852
|
-
return a.insertRule = function(n, i) {
|
|
2853
|
-
return n <= this.length && (this.rules.splice(n, 0, i), this.length++, !0);
|
|
2854
|
-
}, a.deleteRule = function(n) {
|
|
2855
|
-
this.rules.splice(n, 1), this.length--;
|
|
2856
|
-
}, a.getRule = function(n) {
|
|
2857
|
-
return n < this.length ? this.rules[n] : "";
|
|
2858
|
-
}, t;
|
|
2859
|
-
}(), Nr = Vt, zo = { isServer: !Vt, useCSSOMInjection: !To }, Hr = function() {
|
|
2860
|
-
function t(n, i, p) {
|
|
2861
|
-
n === void 0 && (n = xe), i === void 0 && (i = {}), this.options = Oe({}, zo, {}, n), this.gs = i, this.names = new Map(p), this.server = !!n.isServer, !this.server && Vt && Nr && (Nr = !1, function(v) {
|
|
2862
|
-
for (var m = document.querySelectorAll(Io), y = 0, _ = m.length; y < _; y++) {
|
|
2863
|
-
var C = m[y];
|
|
2864
|
-
C && C.getAttribute(Fe) !== "active" && ($o(v, C), C.parentNode && C.parentNode.removeChild(C));
|
|
2865
|
-
}
|
|
2866
|
-
}(this));
|
|
2867
|
-
}
|
|
2868
|
-
t.registerId = function(n) {
|
|
2869
|
-
return nt(n);
|
|
2870
|
-
};
|
|
2871
|
-
var a = t.prototype;
|
|
2872
|
-
return a.reconstructWithOptions = function(n, i) {
|
|
2873
|
-
return i === void 0 && (i = !0), new t(Oe({}, this.options, {}, n), this.gs, i && this.names || void 0);
|
|
2874
|
-
}, a.allocateGSInstance = function(n) {
|
|
2875
|
-
return this.gs[n] = (this.gs[n] || 0) + 1;
|
|
2876
|
-
}, a.getTag = function() {
|
|
2877
|
-
return this.tag || (this.tag = (p = (i = this.options).isServer, v = i.useCSSOMInjection, m = i.target, n = p ? new Fo(m) : v ? new No(m) : new Lo(m), new Po(n)));
|
|
2878
|
-
var n, i, p, v, m;
|
|
2879
|
-
}, a.hasNameForId = function(n, i) {
|
|
2880
|
-
return this.names.has(n) && this.names.get(n).has(i);
|
|
2881
|
-
}, a.registerName = function(n, i) {
|
|
2882
|
-
if (nt(n), this.names.has(n)) this.names.get(n).add(i);
|
|
2883
|
-
else {
|
|
2884
|
-
var p = /* @__PURE__ */ new Set();
|
|
2885
|
-
p.add(i), this.names.set(n, p);
|
|
2886
|
-
}
|
|
2887
|
-
}, a.insertRules = function(n, i, p) {
|
|
2888
|
-
this.registerName(n, i), this.getTag().insertRules(nt(n), p);
|
|
2889
|
-
}, a.clearNames = function(n) {
|
|
2890
|
-
this.names.has(n) && this.names.get(n).clear();
|
|
2891
|
-
}, a.clearRules = function(n) {
|
|
2892
|
-
this.getTag().clearGroup(nt(n)), this.clearNames(n);
|
|
2893
|
-
}, a.clearTag = function() {
|
|
2894
|
-
this.tag = void 0;
|
|
2895
|
-
}, a.toString = function() {
|
|
2896
|
-
return function(n) {
|
|
2897
|
-
for (var i = n.getTag(), p = i.length, v = "", m = 0; m < p; m++) {
|
|
2898
|
-
var y = ko(m);
|
|
2899
|
-
if (y !== void 0) {
|
|
2900
|
-
var _ = n.names.get(y), C = i.getGroup(m);
|
|
2901
|
-
if (_ && C && _.size) {
|
|
2902
|
-
var T = Fe + ".g" + m + '[id="' + y + '"]', P = "";
|
|
2903
|
-
_ !== void 0 && _.forEach(function(M) {
|
|
2904
|
-
M.length > 0 && (P += M + ",");
|
|
2905
|
-
}), v += "" + C + T + '{content:"' + P + `"}/*!sc*/
|
|
2906
|
-
`;
|
|
2907
|
-
}
|
|
2908
|
-
}
|
|
2909
|
-
}
|
|
2910
|
-
return v;
|
|
2911
|
-
}(this);
|
|
2912
|
-
}, t;
|
|
2913
|
-
}(), Yo = /(a)(d)/gi, Lr = function(t) {
|
|
2914
|
-
return String.fromCharCode(t + (t > 25 ? 39 : 97));
|
|
2915
|
-
};
|
|
2916
|
-
function jt(t) {
|
|
2917
|
-
var a, n = "";
|
|
2918
|
-
for (a = Math.abs(t); a > 52; a = a / 52 | 0) n = Lr(a % 52) + n;
|
|
2919
|
-
return (Lr(a % 52) + n).replace(Yo, "$1-$2");
|
|
2920
|
-
}
|
|
2921
|
-
var Ie = function(t, a) {
|
|
2922
|
-
for (var n = a.length; n; ) t = 33 * t ^ a.charCodeAt(--n);
|
|
2923
|
-
return t;
|
|
2924
|
-
}, Gr = function(t) {
|
|
2925
|
-
return Ie(5381, t);
|
|
2926
|
-
};
|
|
2927
|
-
function Wo(t) {
|
|
2928
|
-
for (var a = 0; a < t.length; a += 1) {
|
|
2929
|
-
var n = t[a];
|
|
2930
|
-
if (qe(n) && !Wt(n)) return !1;
|
|
2931
|
-
}
|
|
2932
|
-
return !0;
|
|
2933
|
-
}
|
|
2934
|
-
var Vo = Gr("5.3.11"), Uo = function() {
|
|
2935
|
-
function t(a, n, i) {
|
|
2936
|
-
this.rules = a, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (i === void 0 || i.isStatic) && Wo(a), this.componentId = n, this.baseHash = Ie(Vo, n), this.baseStyle = i, Hr.registerId(n);
|
|
2937
|
-
}
|
|
2938
|
-
return t.prototype.generateAndInjectStyles = function(a, n, i) {
|
|
2939
|
-
var p = this.componentId, v = [];
|
|
2940
|
-
if (this.baseStyle && v.push(this.baseStyle.generateAndInjectStyles(a, n, i)), this.isStatic && !i.hash) if (this.staticRulesId && n.hasNameForId(p, this.staticRulesId)) v.push(this.staticRulesId);
|
|
2941
|
-
else {
|
|
2942
|
-
var m = ze(this.rules, a, n, i).join(""), y = jt(Ie(this.baseHash, m) >>> 0);
|
|
2943
|
-
if (!n.hasNameForId(p, y)) {
|
|
2944
|
-
var _ = i(m, "." + y, void 0, p);
|
|
2945
|
-
n.insertRules(p, y, _);
|
|
2946
|
-
}
|
|
2947
|
-
v.push(y), this.staticRulesId = y;
|
|
2948
|
-
}
|
|
2949
|
-
else {
|
|
2950
|
-
for (var C = this.rules.length, T = Ie(this.baseHash, i.hash), P = "", M = 0; M < C; M++) {
|
|
2951
|
-
var N = this.rules[M];
|
|
2952
|
-
if (typeof N == "string") P += N, process.env.NODE_ENV !== "production" && (T = Ie(T, N + M));
|
|
2953
|
-
else if (N) {
|
|
2954
|
-
var $ = ze(N, a, n, i), j = Array.isArray($) ? $.join("") : $;
|
|
2955
|
-
T = Ie(T, j + M), P += j;
|
|
2956
|
-
}
|
|
2957
|
-
}
|
|
2958
|
-
if (P) {
|
|
2959
|
-
var x = jt(T >>> 0);
|
|
2960
|
-
if (!n.hasNameForId(p, x)) {
|
|
2961
|
-
var F = i(P, "." + x, void 0, p);
|
|
2962
|
-
n.insertRules(p, x, F);
|
|
2963
|
-
}
|
|
2964
|
-
v.push(x);
|
|
2965
|
-
}
|
|
2966
|
-
}
|
|
2967
|
-
return v.join(" ");
|
|
2968
|
-
}, t;
|
|
2969
|
-
}(), Bo = /^\s*\/\/.*$/gm, qo = [":", "[", ".", "#"];
|
|
2970
|
-
function Ho(t) {
|
|
2971
|
-
var a, n, i, p, v = xe, m = v.options, y = m === void 0 ? xe : m, _ = v.plugins, C = _ === void 0 ? st : _, T = new po(y), P = [], M = /* @__PURE__ */ function(j) {
|
|
2972
|
-
function x(F) {
|
|
2973
|
-
if (F) try {
|
|
2974
|
-
j(F + "}");
|
|
2975
|
-
} catch {
|
|
2976
|
-
}
|
|
2977
|
-
}
|
|
2978
|
-
return function(F, L, Y, D, b, X, de, ie, ye, be) {
|
|
2979
|
-
switch (F) {
|
|
2980
|
-
case 1:
|
|
2981
|
-
if (ye === 0 && L.charCodeAt(0) === 64) return j(L + ";"), "";
|
|
2982
|
-
break;
|
|
2983
|
-
case 2:
|
|
2984
|
-
if (ie === 0) return L + "/*|*/";
|
|
2985
|
-
break;
|
|
2986
|
-
case 3:
|
|
2987
|
-
switch (ie) {
|
|
2988
|
-
case 102:
|
|
2989
|
-
case 112:
|
|
2990
|
-
return j(Y[0] + L), "";
|
|
2991
|
-
default:
|
|
2992
|
-
return L + (be === 0 ? "/*|*/" : "");
|
|
2993
|
-
}
|
|
2994
|
-
case -2:
|
|
2995
|
-
L.split("/*|*/}").forEach(x);
|
|
2996
|
-
}
|
|
2997
|
-
};
|
|
2998
|
-
}(function(j) {
|
|
2999
|
-
P.push(j);
|
|
3000
|
-
}), N = function(j, x, F) {
|
|
3001
|
-
return x === 0 && qo.indexOf(F[n.length]) !== -1 || F.match(p) ? j : "." + a;
|
|
3002
|
-
};
|
|
3003
|
-
function $(j, x, F, L) {
|
|
3004
|
-
L === void 0 && (L = "&");
|
|
3005
|
-
var Y = j.replace(Bo, ""), D = x && F ? F + " " + x + " { " + Y + " }" : Y;
|
|
3006
|
-
return a = L, n = x, i = new RegExp("\\" + n + "\\b", "g"), p = new RegExp("(\\" + n + "\\b){2,}"), T(F || !x ? "" : x, D);
|
|
3007
|
-
}
|
|
3008
|
-
return T.use([].concat(C, [function(j, x, F) {
|
|
3009
|
-
j === 2 && F.length && F[0].lastIndexOf(n) > 0 && (F[0] = F[0].replace(i, N));
|
|
3010
|
-
}, M, function(j) {
|
|
3011
|
-
if (j === -2) {
|
|
3012
|
-
var x = P;
|
|
3013
|
-
return P = [], x;
|
|
3014
|
-
}
|
|
3015
|
-
}])), $.hash = C.length ? C.reduce(function(j, x) {
|
|
3016
|
-
return x.name || Ye(15), Ie(j, x.name);
|
|
3017
|
-
}, 5381).toString() : "", $;
|
|
3018
|
-
}
|
|
3019
|
-
var Kr = ke.createContext();
|
|
3020
|
-
Kr.Consumer;
|
|
3021
|
-
var Xr = ke.createContext(), Go = (Xr.Consumer, new Hr()), Dt = Ho();
|
|
3022
|
-
function Ko() {
|
|
3023
|
-
return re.useContext(Kr) || Go;
|
|
3024
|
-
}
|
|
3025
|
-
function Xo() {
|
|
3026
|
-
return re.useContext(Xr) || Dt;
|
|
3027
|
-
}
|
|
3028
|
-
var Qo = function() {
|
|
3029
|
-
function t(a, n) {
|
|
3030
|
-
var i = this;
|
|
3031
|
-
this.inject = function(p, v) {
|
|
3032
|
-
v === void 0 && (v = Dt);
|
|
3033
|
-
var m = i.name + v.hash;
|
|
3034
|
-
p.hasNameForId(i.id, m) || p.insertRules(i.id, m, v(i.rules, m, "@keyframes"));
|
|
3035
|
-
}, this.toString = function() {
|
|
3036
|
-
return Ye(12, String(i.name));
|
|
3037
|
-
}, this.name = a, this.id = "sc-keyframes-" + a, this.rules = n;
|
|
3038
|
-
}
|
|
3039
|
-
return t.prototype.getName = function(a) {
|
|
3040
|
-
return a === void 0 && (a = Dt), this.name + a.hash;
|
|
3041
|
-
}, t;
|
|
3042
|
-
}(), Zo = /([A-Z])/, Jo = /([A-Z])/g, ea = /^ms-/, ta = function(t) {
|
|
3043
|
-
return "-" + t.toLowerCase();
|
|
3044
|
-
};
|
|
3045
|
-
function Fr(t) {
|
|
3046
|
-
return Zo.test(t) ? t.replace(Jo, ta).replace(ea, "-ms-") : t;
|
|
3047
|
-
}
|
|
3048
|
-
var zr = function(t) {
|
|
3049
|
-
return t == null || t === !1 || t === "";
|
|
3050
|
-
};
|
|
3051
|
-
function ze(t, a, n, i) {
|
|
3052
|
-
if (Array.isArray(t)) {
|
|
3053
|
-
for (var p, v = [], m = 0, y = t.length; m < y; m += 1) (p = ze(t[m], a, n, i)) !== "" && (Array.isArray(p) ? v.push.apply(v, p) : v.push(p));
|
|
3054
|
-
return v;
|
|
3055
|
-
}
|
|
3056
|
-
if (zr(t)) return "";
|
|
3057
|
-
if (Wt(t)) return "." + t.styledComponentId;
|
|
3058
|
-
if (qe(t)) {
|
|
3059
|
-
if (typeof (C = t) != "function" || C.prototype && C.prototype.isReactComponent || !a) return t;
|
|
3060
|
-
var _ = t(a);
|
|
3061
|
-
return process.env.NODE_ENV !== "production" && Ft.isElement(_) && console.warn(It(t) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), ze(_, a, n, i);
|
|
3062
|
-
}
|
|
3063
|
-
var C;
|
|
3064
|
-
return t instanceof Qo ? n ? (t.inject(n, i), t.getName(i)) : t : xt(t) ? function T(P, M) {
|
|
3065
|
-
var N, $, j = [];
|
|
3066
|
-
for (var x in P) P.hasOwnProperty(x) && !zr(P[x]) && (Array.isArray(P[x]) && P[x].isCss || qe(P[x]) ? j.push(Fr(x) + ":", P[x], ";") : xt(P[x]) ? j.push.apply(j, T(P[x], x)) : j.push(Fr(x) + ": " + (N = x, ($ = P[x]) == null || typeof $ == "boolean" || $ === "" ? "" : typeof $ != "number" || $ === 0 || N in ho || N.startsWith("--") ? String($).trim() : $ + "px") + ";"));
|
|
3067
|
-
return M ? [M + " {"].concat(j, ["}"]) : j;
|
|
3068
|
-
}(t) : t.toString();
|
|
3069
|
-
}
|
|
3070
|
-
var Yr = function(t) {
|
|
3071
|
-
return Array.isArray(t) && (t.isCss = !0), t;
|
|
3072
|
-
};
|
|
3073
|
-
function ra(t) {
|
|
3074
|
-
for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), i = 1; i < a; i++) n[i - 1] = arguments[i];
|
|
3075
|
-
return qe(t) || xt(t) ? Yr(ze(Mr(st, [t].concat(n)))) : n.length === 0 && t.length === 1 && typeof t[0] == "string" ? t : Yr(ze(Mr(t, n)));
|
|
3076
|
-
}
|
|
3077
|
-
var Wr = /invalid hook call/i, ot = /* @__PURE__ */ new Set(), na = function(t, a) {
|
|
3078
|
-
if (process.env.NODE_ENV !== "production") {
|
|
3079
|
-
var n = "The component " + t + (a ? ' with the id of "' + a + '"' : "") + ` has been created dynamically.
|
|
3080
|
-
You may see this warning because you've called styled inside another component.
|
|
3081
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`, i = console.error;
|
|
3082
|
-
try {
|
|
3083
|
-
var p = !0;
|
|
3084
|
-
console.error = function(v) {
|
|
3085
|
-
if (Wr.test(v)) p = !1, ot.delete(n);
|
|
3086
|
-
else {
|
|
3087
|
-
for (var m = arguments.length, y = new Array(m > 1 ? m - 1 : 0), _ = 1; _ < m; _++) y[_ - 1] = arguments[_];
|
|
3088
|
-
i.apply(void 0, [v].concat(y));
|
|
3089
|
-
}
|
|
3090
|
-
}, re.useRef(), p && !ot.has(n) && (console.warn(n), ot.add(n));
|
|
3091
|
-
} catch (v) {
|
|
3092
|
-
Wr.test(v.message) && ot.delete(n);
|
|
3093
|
-
} finally {
|
|
3094
|
-
console.error = i;
|
|
3095
|
-
}
|
|
3096
|
-
}
|
|
3097
|
-
}, oa = function(t, a, n) {
|
|
3098
|
-
return n === void 0 && (n = xe), t.theme !== n.theme && t.theme || a || n.theme;
|
|
3099
|
-
}, aa = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, ia = /(^-|-$)/g;
|
|
3100
|
-
function Ot(t) {
|
|
3101
|
-
return t.replace(aa, "-").replace(ia, "");
|
|
3102
|
-
}
|
|
3103
|
-
var sa = function(t) {
|
|
3104
|
-
return jt(Gr(t) >>> 0);
|
|
3105
|
-
};
|
|
3106
|
-
function at(t) {
|
|
3107
|
-
return typeof t == "string" && (process.env.NODE_ENV === "production" || t.charAt(0) === t.charAt(0).toLowerCase());
|
|
3108
|
-
}
|
|
3109
|
-
var $t = function(t) {
|
|
3110
|
-
return typeof t == "function" || typeof t == "object" && t !== null && !Array.isArray(t);
|
|
3111
|
-
}, ua = function(t) {
|
|
3112
|
-
return t !== "__proto__" && t !== "constructor" && t !== "prototype";
|
|
3113
|
-
};
|
|
3114
|
-
function ca(t, a, n) {
|
|
3115
|
-
var i = t[n];
|
|
3116
|
-
$t(a) && $t(i) ? Qr(i, a) : t[n] = a;
|
|
3117
|
-
}
|
|
3118
|
-
function Qr(t) {
|
|
3119
|
-
for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), i = 1; i < a; i++) n[i - 1] = arguments[i];
|
|
3120
|
-
for (var p = 0, v = n; p < v.length; p++) {
|
|
3121
|
-
var m = v[p];
|
|
3122
|
-
if ($t(m)) for (var y in m) ua(y) && ca(t, m[y], y);
|
|
3123
|
-
}
|
|
3124
|
-
return t;
|
|
3125
|
-
}
|
|
3126
|
-
var Zr = ke.createContext();
|
|
3127
|
-
Zr.Consumer;
|
|
3128
|
-
var At = {};
|
|
3129
|
-
function Jr(t, a, n) {
|
|
3130
|
-
var i = Wt(t), p = !at(t), v = a.attrs, m = v === void 0 ? st : v, y = a.componentId, _ = y === void 0 ? function(L, Y) {
|
|
3131
|
-
var D = typeof L != "string" ? "sc" : Ot(L);
|
|
3132
|
-
At[D] = (At[D] || 0) + 1;
|
|
3133
|
-
var b = D + "-" + sa("5.3.11" + D + At[D]);
|
|
3134
|
-
return Y ? Y + "-" + b : b;
|
|
3135
|
-
}(a.displayName, a.parentComponentId) : y, C = a.displayName, T = C === void 0 ? function(L) {
|
|
3136
|
-
return at(L) ? "styled." + L : "Styled(" + It(L) + ")";
|
|
3137
|
-
}(t) : C, P = a.displayName && a.componentId ? Ot(a.displayName) + "-" + a.componentId : a.componentId || _, M = i && t.attrs ? Array.prototype.concat(t.attrs, m).filter(Boolean) : m, N = a.shouldForwardProp;
|
|
3138
|
-
i && t.shouldForwardProp && (N = a.shouldForwardProp ? function(L, Y, D) {
|
|
3139
|
-
return t.shouldForwardProp(L, Y, D) && a.shouldForwardProp(L, Y, D);
|
|
3140
|
-
} : t.shouldForwardProp);
|
|
3141
|
-
var $, j = new Uo(n, P, i ? t.componentStyle : void 0), x = j.isStatic && m.length === 0, F = function(L, Y) {
|
|
3142
|
-
return function(D, b, X, de) {
|
|
3143
|
-
var ie = D.attrs, ye = D.componentStyle, be = D.defaultProps, Ee = D.foldedComponentIds, fe = D.shouldForwardProp, pe = D.styledComponentId, se = D.target, Q = function(w, s, S) {
|
|
3144
|
-
w === void 0 && (w = xe);
|
|
3145
|
-
var f = Oe({}, s, { theme: w }), A = {};
|
|
3146
|
-
return S.forEach(function(O) {
|
|
3147
|
-
var W, g, K, he = O;
|
|
3148
|
-
for (W in qe(he) && (he = he(f)), he) f[W] = A[W] = W === "className" ? (g = A[W], K = he[W], g && K ? g + " " + K : g || K) : he[W];
|
|
3149
|
-
}), [f, A];
|
|
3150
|
-
}(oa(b, re.useContext(Zr), be) || xe, b, ie), ne = Q[0], k = Q[1], oe = function(w, s, S, f) {
|
|
3151
|
-
var A = Ko(), O = Xo(), W = s ? w.generateAndInjectStyles(xe, A, O) : w.generateAndInjectStyles(S, A, O);
|
|
3152
|
-
return process.env.NODE_ENV !== "production" && !s && f && f(W), W;
|
|
3153
|
-
}(ye, de, ne, process.env.NODE_ENV !== "production" ? D.warnTooManyClasses : void 0), Se = X, E = k.$as || b.$as || k.as || b.as || se, o = at(E), u = k !== b ? Oe({}, b, {}, k) : b, l = {};
|
|
3154
|
-
for (var d in u) d[0] !== "$" && d !== "as" && (d === "forwardedAs" ? l.as = u[d] : (fe ? fe(d, Ir, E) : !o || Ir(d)) && (l[d] = u[d]));
|
|
3155
|
-
return b.style && k.style !== b.style && (l.style = Oe({}, b.style, {}, k.style)), l.className = Array.prototype.concat(Ee, pe, oe !== pe ? oe : null, b.className, k.className).filter(Boolean).join(" "), l.ref = Se, re.createElement(E, l);
|
|
3156
|
-
}($, L, Y, x);
|
|
3157
|
-
};
|
|
3158
|
-
return F.displayName = T, ($ = ke.forwardRef(F)).attrs = M, $.componentStyle = j, $.displayName = T, $.shouldForwardProp = N, $.foldedComponentIds = i ? Array.prototype.concat(t.foldedComponentIds, t.styledComponentId) : st, $.styledComponentId = P, $.target = i ? t.target : t, $.withComponent = function(L) {
|
|
3159
|
-
var Y = a.componentId, D = function(X, de) {
|
|
3160
|
-
if (X == null) return {};
|
|
3161
|
-
var ie, ye, be = {}, Ee = Object.keys(X);
|
|
3162
|
-
for (ye = 0; ye < Ee.length; ye++) ie = Ee[ye], de.indexOf(ie) >= 0 || (be[ie] = X[ie]);
|
|
3163
|
-
return be;
|
|
3164
|
-
}(a, ["componentId"]), b = Y && Y + "-" + (at(L) ? L : Ot(It(L)));
|
|
3165
|
-
return Jr(L, Oe({}, D, { attrs: M, componentId: b }), n);
|
|
3166
|
-
}, Object.defineProperty($, "defaultProps", { get: function() {
|
|
3167
|
-
return this._foldedDefaultProps;
|
|
3168
|
-
}, set: function(L) {
|
|
3169
|
-
this._foldedDefaultProps = i ? Qr({}, t.defaultProps, L) : L;
|
|
3170
|
-
} }), process.env.NODE_ENV !== "production" && (na(T, P), $.warnTooManyClasses = /* @__PURE__ */ function(L, Y) {
|
|
3171
|
-
var D = {}, b = !1;
|
|
3172
|
-
return function(X) {
|
|
3173
|
-
if (!b && (D[X] = !0, Object.keys(D).length >= 200)) {
|
|
3174
|
-
var de = Y ? ' with the id of "' + Y + '"' : "";
|
|
3175
|
-
console.warn("Over 200 classes were generated for component " + L + de + `.
|
|
3176
|
-
Consider using the attrs method, together with a style object for frequently changed styles.
|
|
3177
|
-
Example:
|
|
3178
|
-
const Component = styled.div.attrs(props => ({
|
|
3179
|
-
style: {
|
|
3180
|
-
background: props.background,
|
|
3181
|
-
},
|
|
3182
|
-
}))\`width: 100%;\`
|
|
3183
|
-
|
|
3184
|
-
<Component />`), b = !0, D = {};
|
|
3185
|
-
}
|
|
3186
|
-
};
|
|
3187
|
-
}(T, P)), Object.defineProperty($, "toString", { value: function() {
|
|
3188
|
-
return "." + $.styledComponentId;
|
|
3189
|
-
} }), p && Ro($, t, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0, withComponent: !0 }), $;
|
|
3190
|
-
}
|
|
3191
|
-
var Mt = function(t) {
|
|
3192
|
-
return function a(n, i, p) {
|
|
3193
|
-
if (p === void 0 && (p = xe), !Ft.isValidElementType(i)) return Ye(1, String(i));
|
|
3194
|
-
var v = function() {
|
|
3195
|
-
return n(i, p, ra.apply(void 0, arguments));
|
|
3196
|
-
};
|
|
3197
|
-
return v.withConfig = function(m) {
|
|
3198
|
-
return a(n, i, Oe({}, p, {}, m));
|
|
3199
|
-
}, v.attrs = function(m) {
|
|
3200
|
-
return a(n, i, Oe({}, p, { attrs: Array.prototype.concat(p.attrs, m).filter(Boolean) }));
|
|
3201
|
-
}, v;
|
|
3202
|
-
}(Jr, t);
|
|
3203
|
-
};
|
|
3204
|
-
["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach(function(t) {
|
|
3205
|
-
Mt[t] = Mt(t);
|
|
3206
|
-
});
|
|
3207
|
-
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
3208
|
-
Perhaps you're looking to import 'styled-components/native'?
|
|
3209
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, window["__styled-components-init__"] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
3210
|
-
|
|
3211
|
-
See https://s-c.sh/2BAXzed for more info.`), window["__styled-components-init__"] += 1);
|
|
3212
|
-
const Ut = re.createContext(null), la = ({ children: t }) => {
|
|
3213
|
-
const [a, n] = re.useState({}), i = re.useRef({}), p = re.useCallback((y, _, C) => {
|
|
3214
|
-
n((T) => ({ ...T, [y]: { origin: _, frameRef: C } }));
|
|
1
|
+
import b, { createContext as P, useState as g, useRef as M, useCallback as y, useEffect as m, useContext as R } from "react";
|
|
2
|
+
import f from "prop-types";
|
|
3
|
+
import C from "styled-components";
|
|
4
|
+
const w = P(null), W = ({ children: n }) => {
|
|
5
|
+
const [a, i] = g({}), r = M({}), u = y((t, e, o) => {
|
|
6
|
+
i((s) => ({ ...s, [t]: { origin: e, frameRef: o } }));
|
|
3215
7
|
}, []);
|
|
3216
|
-
|
|
3217
|
-
const
|
|
3218
|
-
var
|
|
3219
|
-
if (!((
|
|
8
|
+
m(() => {
|
|
9
|
+
const t = (e) => {
|
|
10
|
+
var s, l;
|
|
11
|
+
if (!((s = e == null ? void 0 : e.data) != null && s.instanceId))
|
|
3220
12
|
return;
|
|
3221
|
-
(((
|
|
13
|
+
(((l = r.current[e.data.instanceId]) == null ? void 0 : l[e.data.type]) || []).forEach((E) => E(e.data));
|
|
3222
14
|
};
|
|
3223
|
-
return window.addEventListener("message",
|
|
3224
|
-
window.removeEventListener("message",
|
|
15
|
+
return window.addEventListener("message", t), () => {
|
|
16
|
+
window.removeEventListener("message", t);
|
|
3225
17
|
};
|
|
3226
18
|
}, [a]);
|
|
3227
|
-
const
|
|
3228
|
-
(
|
|
3229
|
-
const
|
|
3230
|
-
if (!
|
|
3231
|
-
console.warn(`Origin not set for id: ${
|
|
19
|
+
const d = y(
|
|
20
|
+
(t, e, o) => {
|
|
21
|
+
const s = a[t];
|
|
22
|
+
if (!s) {
|
|
23
|
+
console.warn(`Origin not set for id: ${t}. Unable to send message.`);
|
|
3232
24
|
return;
|
|
3233
25
|
}
|
|
3234
|
-
|
|
3235
|
-
{ type:
|
|
3236
|
-
|
|
26
|
+
s.frameRef.current.contentWindow.postMessage(
|
|
27
|
+
{ type: e, ...o, instanceId: t },
|
|
28
|
+
s.origin
|
|
3237
29
|
);
|
|
3238
30
|
},
|
|
3239
31
|
[a]
|
|
3240
|
-
),
|
|
3241
|
-
registerFrame:
|
|
3242
|
-
sendMessage:
|
|
3243
|
-
addListener: (
|
|
3244
|
-
|
|
32
|
+
), c = {
|
|
33
|
+
registerFrame: u,
|
|
34
|
+
sendMessage: d,
|
|
35
|
+
addListener: (t, e, o) => (r.current[t] || (r.current[t] = {}), r.current[t][e] || (r.current[t][e] = []), r.current[t][e].push(o), () => {
|
|
36
|
+
r.current[t][e] = r.current[t][e].filter((s) => s !== o);
|
|
3245
37
|
})
|
|
3246
38
|
};
|
|
3247
|
-
return /* @__PURE__ */
|
|
3248
|
-
},
|
|
3249
|
-
const
|
|
3250
|
-
if (
|
|
39
|
+
return /* @__PURE__ */ b.createElement(w.Provider, { value: c }, n);
|
|
40
|
+
}, $ = (n, a, i) => {
|
|
41
|
+
const r = R(w);
|
|
42
|
+
if (r === null)
|
|
3251
43
|
throw new Error(
|
|
3252
44
|
"useEmbeddedEffect must be used within a MMEmbeddedWrapperProvider"
|
|
3253
45
|
);
|
|
3254
|
-
const
|
|
3255
|
-
return
|
|
3256
|
-
|
|
3257
|
-
}, [
|
|
3258
|
-
if (!(!
|
|
3259
|
-
return
|
|
3260
|
-
|
|
46
|
+
const u = M(i);
|
|
47
|
+
return m(() => {
|
|
48
|
+
u.current = i;
|
|
49
|
+
}, [i]), m(() => {
|
|
50
|
+
if (!(!n || !a))
|
|
51
|
+
return r.addListener(
|
|
52
|
+
n,
|
|
3261
53
|
a,
|
|
3262
|
-
(...
|
|
54
|
+
(...d) => u.current(...d)
|
|
3263
55
|
);
|
|
3264
|
-
}, [
|
|
3265
|
-
|
|
3266
|
-
|
|
56
|
+
}, [r, n, a]), y((d, c) => r.sendMessage(n, d, c), [
|
|
57
|
+
r,
|
|
58
|
+
n
|
|
3267
59
|
]);
|
|
3268
60
|
};
|
|
3269
|
-
|
|
3270
|
-
children:
|
|
61
|
+
W.propTypes = {
|
|
62
|
+
children: f.node.isRequired
|
|
3271
63
|
};
|
|
3272
|
-
const
|
|
64
|
+
const j = C.iframe`
|
|
3273
65
|
width: 100%;
|
|
3274
66
|
height: 100%;
|
|
3275
67
|
border: none;
|
|
3276
|
-
visibility: ${(
|
|
3277
|
-
`,
|
|
3278
|
-
id:
|
|
68
|
+
visibility: ${(n) => n.isready ? "visible" : "hidden"};
|
|
69
|
+
`, v = ({
|
|
70
|
+
id: n,
|
|
3279
71
|
genericFrameFallback: a,
|
|
3280
|
-
src:
|
|
3281
|
-
path:
|
|
3282
|
-
onInit:
|
|
72
|
+
src: i,
|
|
73
|
+
path: r,
|
|
74
|
+
onInit: u = () => {
|
|
3283
75
|
},
|
|
3284
|
-
...
|
|
76
|
+
...d
|
|
3285
77
|
}) => {
|
|
3286
|
-
const
|
|
3287
|
-
return
|
|
3288
|
-
|
|
3289
|
-
}, [
|
|
3290
|
-
|
|
3291
|
-
}, [
|
|
3292
|
-
!
|
|
3293
|
-
const
|
|
3294
|
-
|
|
78
|
+
const c = M(), [t, e] = g(), [o, s] = g(0), { registerFrame: l, sendMessage: E } = R(w), [h, I] = g(), [x, L] = g(!1);
|
|
79
|
+
return m(() => {
|
|
80
|
+
r !== void 0 && I(r);
|
|
81
|
+
}, [r]), m(() => {
|
|
82
|
+
h === void 0 || !o || E(n, "navigate", { path: h });
|
|
83
|
+
}, [h, o, n, E]), m(() => {
|
|
84
|
+
!i || !n || !c || (async () => {
|
|
85
|
+
const p = new URL(i);
|
|
86
|
+
l(n, p.origin, c), u();
|
|
3295
87
|
try {
|
|
3296
|
-
if ((await (await fetch(`${
|
|
3297
|
-
|
|
88
|
+
if ((await (await fetch(`${p.origin}/mm-app-manifest.json`)).json()).manifestVersion)
|
|
89
|
+
e(`${p.origin}/mm-embedded-interop?id=${n}`);
|
|
3298
90
|
else
|
|
3299
91
|
throw Error();
|
|
3300
92
|
} catch {
|
|
3301
|
-
a ? (
|
|
93
|
+
a ? (e(i), s(1)) : L(!0);
|
|
3302
94
|
}
|
|
3303
95
|
})();
|
|
3304
|
-
}, [
|
|
96
|
+
}, [i, n, l, c]), $(n, "ready", () => s((p) => p + 1)), x ? /* @__PURE__ */ b.createElement(
|
|
3305
97
|
"div",
|
|
3306
98
|
{
|
|
3307
99
|
style: {
|
|
@@ -3311,18 +103,18 @@ const da = Mt.iframe`
|
|
|
3311
103
|
justifyContent: "center"
|
|
3312
104
|
}
|
|
3313
105
|
},
|
|
3314
|
-
/* @__PURE__ */
|
|
3315
|
-
) : /* @__PURE__ */
|
|
106
|
+
/* @__PURE__ */ b.createElement("div", { style: { textAlign: "center" } }, "Application must adhere to the MM App Manifest specification to be embedded.")
|
|
107
|
+
) : /* @__PURE__ */ b.createElement(j, { isready: o, ref: c, src: t, ...d });
|
|
3316
108
|
};
|
|
3317
|
-
|
|
3318
|
-
id:
|
|
3319
|
-
genericFrameFallback:
|
|
3320
|
-
src:
|
|
3321
|
-
path:
|
|
3322
|
-
onInit:
|
|
109
|
+
v.propTypes = {
|
|
110
|
+
id: f.string,
|
|
111
|
+
genericFrameFallback: f.bool,
|
|
112
|
+
src: f.string.isRequired,
|
|
113
|
+
path: f.string,
|
|
114
|
+
onInit: f.func
|
|
3323
115
|
};
|
|
3324
116
|
export {
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
117
|
+
v as MMEmbeddedWrapper,
|
|
118
|
+
W as MMEmbeddedWrapperProvider,
|
|
119
|
+
$ as useEmbeddedEffect
|
|
3328
120
|
};
|