@deriv-com/translations 1.3.11 → 1.3.12
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/components/localize.d.ts +0 -1
- package/dist/components/localize.js +125 -121
- package/dist/{crc32-DnIYX8GT.js → crc32-BeCcwohL.js} +117 -113
- package/dist/hooks/use-translations.js +4 -4
- package/dist/{i18nInstance-D20fwFYr.js → i18nInstance-D3STmr24.js} +2 -2
- package/dist/{jsx-runtime-BuVcKMXM.js → jsx-runtime-oIKL5WiM.js} +170 -171
- package/dist/provider/translation-provider.d.ts +0 -1
- package/dist/provider/translation-provider.js +2 -2
- package/dist/{useTranslation-D9WrAGyQ.js → useTranslation-CZfO55Z-.js} +4 -4
- package/dist/utils/initialize-i18n.d.ts +0 -1
- package/dist/utils/initialize-i18n.js +2 -2
- package/dist/utils/lang-utils.d.ts +0 -1
- package/dist/utils/lang-utils.js +1 -1
- package/dist/utils/localize.js +5 -5
- package/dist/utils/otasdk.d.ts +0 -1
- package/dist/utils/otasdk.js +13 -16
- package/package.json +4 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import Oe, { createContext as ir } from "react";
|
|
2
|
-
const
|
|
3
|
-
class
|
|
2
|
+
const cr = ir();
|
|
3
|
+
class dr {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.usedNamespaces = {};
|
|
6
6
|
}
|
|
7
|
-
addUsedNamespaces(
|
|
8
|
-
|
|
7
|
+
addUsedNamespaces(m) {
|
|
8
|
+
m.forEach((y) => {
|
|
9
9
|
this.usedNamespaces[y] || (this.usedNamespaces[y] = !0);
|
|
10
10
|
});
|
|
11
11
|
}
|
|
@@ -13,7 +13,7 @@ class cr {
|
|
|
13
13
|
return Object.keys(this.usedNamespaces);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
var
|
|
16
|
+
var L = { exports: {} }, j = {};
|
|
17
17
|
/**
|
|
18
18
|
* @license React
|
|
19
19
|
* react-jsx-runtime.production.min.js
|
|
@@ -23,21 +23,21 @@ var H = { exports: {} }, k = {};
|
|
|
23
23
|
* This source code is licensed under the MIT license found in the
|
|
24
24
|
* LICENSE file in the root directory of this source tree.
|
|
25
25
|
*/
|
|
26
|
-
var
|
|
26
|
+
var be;
|
|
27
27
|
function ur() {
|
|
28
|
-
if (
|
|
29
|
-
|
|
30
|
-
var
|
|
31
|
-
function w(
|
|
32
|
-
var v,
|
|
33
|
-
O !== void 0 && (
|
|
34
|
-
for (v in l) T.call(l, v) && !
|
|
35
|
-
if (
|
|
36
|
-
return { $$typeof:
|
|
28
|
+
if (be) return j;
|
|
29
|
+
be = 1;
|
|
30
|
+
var D = Oe, m = Symbol.for("react.element"), y = Symbol.for("react.fragment"), T = Object.prototype.hasOwnProperty, F = D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, A = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
31
|
+
function w(R, l, O) {
|
|
32
|
+
var v, E = {}, _ = null, I = null;
|
|
33
|
+
O !== void 0 && (_ = "" + O), l.key !== void 0 && (_ = "" + l.key), l.ref !== void 0 && (I = l.ref);
|
|
34
|
+
for (v in l) T.call(l, v) && !A.hasOwnProperty(v) && (E[v] = l[v]);
|
|
35
|
+
if (R && R.defaultProps) for (v in l = R.defaultProps, l) E[v] === void 0 && (E[v] = l[v]);
|
|
36
|
+
return { $$typeof: m, type: R, key: _, ref: I, props: E, _owner: F.current };
|
|
37
37
|
}
|
|
38
|
-
return
|
|
38
|
+
return j.Fragment = y, j.jsx = w, j.jsxs = w, j;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var k = {};
|
|
41
41
|
/**
|
|
42
42
|
* @license React
|
|
43
43
|
* react-jsx-runtime.development.js
|
|
@@ -47,18 +47,18 @@ var D = {};
|
|
|
47
47
|
* This source code is licensed under the MIT license found in the
|
|
48
48
|
* LICENSE file in the root directory of this source tree.
|
|
49
49
|
*/
|
|
50
|
-
var
|
|
50
|
+
var ye;
|
|
51
51
|
function sr() {
|
|
52
|
-
return
|
|
53
|
-
var
|
|
52
|
+
return ye || (ye = 1, process.env.NODE_ENV !== "production" && function() {
|
|
53
|
+
var D = Oe, m = Symbol.for("react.element"), y = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), F = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), R = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), O = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), K = Symbol.iterator, Ce = "@@iterator";
|
|
54
54
|
function Pe(e) {
|
|
55
55
|
if (e === null || typeof e != "object")
|
|
56
56
|
return null;
|
|
57
|
-
var r =
|
|
57
|
+
var r = K && e[K] || e[Ce];
|
|
58
58
|
return typeof r == "function" ? r : null;
|
|
59
59
|
}
|
|
60
|
-
var C =
|
|
61
|
-
function
|
|
60
|
+
var C = D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
61
|
+
function d(e) {
|
|
62
62
|
{
|
|
63
63
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
64
64
|
t[n - 1] = arguments[n];
|
|
@@ -75,14 +75,14 @@ function sr() {
|
|
|
75
75
|
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var we = !1, xe = !1, je = !1, ke = !1, De = !1,
|
|
79
|
-
|
|
78
|
+
var we = !1, xe = !1, je = !1, ke = !1, De = !1, H;
|
|
79
|
+
H = Symbol.for("react.module.reference");
|
|
80
80
|
function Fe(e) {
|
|
81
|
-
return !!(typeof e == "string" || typeof e == "function" || e === T || e ===
|
|
81
|
+
return !!(typeof e == "string" || typeof e == "function" || e === T || e === A || De || e === F || e === O || e === v || ke || e === I || we || xe || je || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === E || e.$$typeof === w || e.$$typeof === R || e.$$typeof === l || // This needs to include all possible module reference object
|
|
82
82
|
// types supported by any Flight configuration anywhere since
|
|
83
83
|
// we don't know which Flight build this will end up being used
|
|
84
84
|
// with.
|
|
85
|
-
e.$$typeof ===
|
|
85
|
+
e.$$typeof === H || e.getModuleId !== void 0));
|
|
86
86
|
}
|
|
87
87
|
function Ae(e, r, t) {
|
|
88
88
|
var n = e.displayName;
|
|
@@ -91,13 +91,13 @@ function sr() {
|
|
|
91
91
|
var i = r.displayName || r.name || "";
|
|
92
92
|
return i !== "" ? t + "(" + i + ")" : t;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function X(e) {
|
|
95
95
|
return e.displayName || "Context";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function g(e) {
|
|
98
98
|
if (e == null)
|
|
99
99
|
return null;
|
|
100
|
-
if (typeof e.tag == "number" &&
|
|
100
|
+
if (typeof e.tag == "number" && d("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
101
101
|
return e.displayName || e.name || null;
|
|
102
102
|
if (typeof e == "string")
|
|
103
103
|
return e;
|
|
@@ -106,9 +106,9 @@ function sr() {
|
|
|
106
106
|
return "Fragment";
|
|
107
107
|
case y:
|
|
108
108
|
return "Portal";
|
|
109
|
-
case I:
|
|
110
|
-
return "Profiler";
|
|
111
109
|
case A:
|
|
110
|
+
return "Profiler";
|
|
111
|
+
case F:
|
|
112
112
|
return "StrictMode";
|
|
113
113
|
case O:
|
|
114
114
|
return "Suspense";
|
|
@@ -117,21 +117,21 @@ function sr() {
|
|
|
117
117
|
}
|
|
118
118
|
if (typeof e == "object")
|
|
119
119
|
switch (e.$$typeof) {
|
|
120
|
-
case
|
|
120
|
+
case R:
|
|
121
121
|
var r = e;
|
|
122
|
-
return
|
|
122
|
+
return X(r) + ".Consumer";
|
|
123
123
|
case w:
|
|
124
124
|
var t = e;
|
|
125
|
-
return
|
|
125
|
+
return X(t._context) + ".Provider";
|
|
126
126
|
case l:
|
|
127
127
|
return Ae(e, e.render, "ForwardRef");
|
|
128
|
-
case
|
|
128
|
+
case E:
|
|
129
129
|
var n = e.displayName || null;
|
|
130
|
-
return n !== null ? n :
|
|
131
|
-
case
|
|
130
|
+
return n !== null ? n : g(e.type) || "Memo";
|
|
131
|
+
case _: {
|
|
132
132
|
var i = e, u = i._payload, o = i._init;
|
|
133
133
|
try {
|
|
134
|
-
return
|
|
134
|
+
return g(o(u));
|
|
135
135
|
} catch {
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
@@ -139,18 +139,18 @@ function sr() {
|
|
|
139
139
|
}
|
|
140
140
|
return null;
|
|
141
141
|
}
|
|
142
|
-
var
|
|
143
|
-
function
|
|
142
|
+
var b = Object.assign, x = 0, Z, Q, ee, re, te, ne, ae;
|
|
143
|
+
function oe() {
|
|
144
144
|
}
|
|
145
|
-
|
|
145
|
+
oe.__reactDisabledLog = !0;
|
|
146
146
|
function Ie() {
|
|
147
147
|
{
|
|
148
148
|
if (x === 0) {
|
|
149
|
-
|
|
149
|
+
Z = console.log, Q = console.info, ee = console.warn, re = console.error, te = console.group, ne = console.groupCollapsed, ae = console.groupEnd;
|
|
150
150
|
var e = {
|
|
151
151
|
configurable: !0,
|
|
152
152
|
enumerable: !0,
|
|
153
|
-
value:
|
|
153
|
+
value: oe,
|
|
154
154
|
writable: !0
|
|
155
155
|
};
|
|
156
156
|
Object.defineProperties(console, {
|
|
@@ -175,34 +175,34 @@ function sr() {
|
|
|
175
175
|
writable: !0
|
|
176
176
|
};
|
|
177
177
|
Object.defineProperties(console, {
|
|
178
|
-
log:
|
|
178
|
+
log: b({}, e, {
|
|
179
|
+
value: Z
|
|
180
|
+
}),
|
|
181
|
+
info: b({}, e, {
|
|
182
|
+
value: Q
|
|
183
|
+
}),
|
|
184
|
+
warn: b({}, e, {
|
|
179
185
|
value: ee
|
|
180
186
|
}),
|
|
181
|
-
|
|
187
|
+
error: b({}, e, {
|
|
182
188
|
value: re
|
|
183
189
|
}),
|
|
184
|
-
|
|
190
|
+
group: b({}, e, {
|
|
185
191
|
value: te
|
|
186
192
|
}),
|
|
187
|
-
|
|
193
|
+
groupCollapsed: b({}, e, {
|
|
188
194
|
value: ne
|
|
189
195
|
}),
|
|
190
|
-
|
|
196
|
+
groupEnd: b({}, e, {
|
|
191
197
|
value: ae
|
|
192
|
-
}),
|
|
193
|
-
groupCollapsed: _({}, e, {
|
|
194
|
-
value: oe
|
|
195
|
-
}),
|
|
196
|
-
groupEnd: _({}, e, {
|
|
197
|
-
value: ie
|
|
198
198
|
})
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
|
-
x < 0 &&
|
|
201
|
+
x < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
var V = C.ReactCurrentDispatcher, M;
|
|
205
|
-
function
|
|
205
|
+
function $(e, r, t) {
|
|
206
206
|
{
|
|
207
207
|
if (M === void 0)
|
|
208
208
|
try {
|
|
@@ -215,13 +215,13 @@ function sr() {
|
|
|
215
215
|
` + M + e;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
var
|
|
218
|
+
var q = !1, N;
|
|
219
219
|
{
|
|
220
|
-
var
|
|
221
|
-
N = new
|
|
220
|
+
var Ne = typeof WeakMap == "function" ? WeakMap : Map;
|
|
221
|
+
N = new Ne();
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
if (!e ||
|
|
223
|
+
function ie(e, r) {
|
|
224
|
+
if (!e || q)
|
|
225
225
|
return "";
|
|
226
226
|
{
|
|
227
227
|
var t = N.get(e);
|
|
@@ -229,7 +229,7 @@ function sr() {
|
|
|
229
229
|
return t;
|
|
230
230
|
}
|
|
231
231
|
var n;
|
|
232
|
-
|
|
232
|
+
q = !0;
|
|
233
233
|
var i = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
235
|
var u;
|
|
@@ -246,37 +246,37 @@ function sr() {
|
|
|
246
246
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
247
247
|
try {
|
|
248
248
|
Reflect.construct(o, []);
|
|
249
|
-
} catch (
|
|
250
|
-
n =
|
|
249
|
+
} catch (h) {
|
|
250
|
+
n = h;
|
|
251
251
|
}
|
|
252
252
|
Reflect.construct(e, [], o);
|
|
253
253
|
} else {
|
|
254
254
|
try {
|
|
255
255
|
o.call();
|
|
256
|
-
} catch (
|
|
257
|
-
n =
|
|
256
|
+
} catch (h) {
|
|
257
|
+
n = h;
|
|
258
258
|
}
|
|
259
259
|
e.call(o.prototype);
|
|
260
260
|
}
|
|
261
261
|
} else {
|
|
262
262
|
try {
|
|
263
263
|
throw Error();
|
|
264
|
-
} catch (
|
|
265
|
-
n =
|
|
264
|
+
} catch (h) {
|
|
265
|
+
n = h;
|
|
266
266
|
}
|
|
267
267
|
e();
|
|
268
268
|
}
|
|
269
|
-
} catch (
|
|
270
|
-
if (
|
|
271
|
-
for (var a =
|
|
272
|
-
`),
|
|
273
|
-
`), s = a.length - 1, f =
|
|
269
|
+
} catch (h) {
|
|
270
|
+
if (h && n && typeof h.stack == "string") {
|
|
271
|
+
for (var a = h.stack.split(`
|
|
272
|
+
`), c = n.stack.split(`
|
|
273
|
+
`), s = a.length - 1, f = c.length - 1; s >= 1 && f >= 0 && a[s] !== c[f]; )
|
|
274
274
|
f--;
|
|
275
275
|
for (; s >= 1 && f >= 0; s--, f--)
|
|
276
|
-
if (a[s] !==
|
|
276
|
+
if (a[s] !== c[f]) {
|
|
277
277
|
if (s !== 1 || f !== 1)
|
|
278
278
|
do
|
|
279
|
-
if (s--, f--, f < 0 || a[s] !==
|
|
279
|
+
if (s--, f--, f < 0 || a[s] !== c[f]) {
|
|
280
280
|
var p = `
|
|
281
281
|
` + a[s].replace(" at new ", " at ");
|
|
282
282
|
return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && N.set(e, p), p;
|
|
@@ -286,15 +286,15 @@ function sr() {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
} finally {
|
|
289
|
-
|
|
289
|
+
q = !1, V.current = u, $e(), Error.prepareStackTrace = i;
|
|
290
290
|
}
|
|
291
|
-
var S = e ? e.displayName || e.name : "",
|
|
292
|
-
return typeof e == "function" && N.set(e,
|
|
291
|
+
var S = e ? e.displayName || e.name : "", ge = S ? $(S) : "";
|
|
292
|
+
return typeof e == "function" && N.set(e, ge), ge;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
295
|
-
return
|
|
294
|
+
function Ye(e, r, t) {
|
|
295
|
+
return ie(e, !1);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function We(e) {
|
|
298
298
|
var r = e.prototype;
|
|
299
299
|
return !!(r && r.isReactComponent);
|
|
300
300
|
}
|
|
@@ -302,22 +302,22 @@ function sr() {
|
|
|
302
302
|
if (e == null)
|
|
303
303
|
return "";
|
|
304
304
|
if (typeof e == "function")
|
|
305
|
-
return
|
|
305
|
+
return ie(e, We(e));
|
|
306
306
|
if (typeof e == "string")
|
|
307
|
-
return
|
|
307
|
+
return $(e);
|
|
308
308
|
switch (e) {
|
|
309
309
|
case O:
|
|
310
|
-
return
|
|
310
|
+
return $("Suspense");
|
|
311
311
|
case v:
|
|
312
|
-
return
|
|
312
|
+
return $("SuspenseList");
|
|
313
313
|
}
|
|
314
314
|
if (typeof e == "object")
|
|
315
315
|
switch (e.$$typeof) {
|
|
316
316
|
case l:
|
|
317
|
-
return
|
|
318
|
-
case
|
|
317
|
+
return Ye(e.render);
|
|
318
|
+
case E:
|
|
319
319
|
return Y(e.type, r, t);
|
|
320
|
-
case
|
|
320
|
+
case _: {
|
|
321
321
|
var n = e, i = n._payload, u = n._init;
|
|
322
322
|
try {
|
|
323
323
|
return Y(u(i), r, t);
|
|
@@ -327,36 +327,36 @@ function sr() {
|
|
|
327
327
|
}
|
|
328
328
|
return "";
|
|
329
329
|
}
|
|
330
|
-
var
|
|
330
|
+
var W = Object.prototype.hasOwnProperty, ue = {}, se = C.ReactDebugCurrentFrame;
|
|
331
331
|
function U(e) {
|
|
332
332
|
if (e) {
|
|
333
333
|
var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
|
|
334
|
-
|
|
334
|
+
se.setExtraStackFrame(t);
|
|
335
335
|
} else
|
|
336
|
-
|
|
336
|
+
se.setExtraStackFrame(null);
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function Ue(e, r, t, n, i) {
|
|
339
339
|
{
|
|
340
|
-
var u = Function.call.bind(
|
|
340
|
+
var u = Function.call.bind(W);
|
|
341
341
|
for (var o in e)
|
|
342
342
|
if (u(e, o)) {
|
|
343
343
|
var a = void 0;
|
|
344
344
|
try {
|
|
345
345
|
if (typeof e[o] != "function") {
|
|
346
|
-
var
|
|
347
|
-
throw
|
|
346
|
+
var c = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
347
|
+
throw c.name = "Invariant Violation", c;
|
|
348
348
|
}
|
|
349
349
|
a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
350
350
|
} catch (s) {
|
|
351
351
|
a = s;
|
|
352
352
|
}
|
|
353
|
-
a && !(a instanceof Error) && (U(i),
|
|
353
|
+
a && !(a instanceof Error) && (U(i), d("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof a), U(null)), a instanceof Error && !(a.message in ue) && (ue[a.message] = !0, U(i), d("Failed %s type: %s", t, a.message), U(null));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
var
|
|
358
|
-
function
|
|
359
|
-
return
|
|
357
|
+
var Le = Array.isArray;
|
|
358
|
+
function B(e) {
|
|
359
|
+
return Le(e);
|
|
360
360
|
}
|
|
361
361
|
function Ve(e) {
|
|
362
362
|
{
|
|
@@ -366,27 +366,26 @@ function sr() {
|
|
|
366
366
|
}
|
|
367
367
|
function Me(e) {
|
|
368
368
|
try {
|
|
369
|
-
return
|
|
369
|
+
return fe(e), !1;
|
|
370
370
|
} catch {
|
|
371
371
|
return !0;
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function fe(e) {
|
|
375
375
|
return "" + e;
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function le(e) {
|
|
378
378
|
if (Me(e))
|
|
379
|
-
return
|
|
379
|
+
return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(e)), fe(e);
|
|
380
380
|
}
|
|
381
|
-
var
|
|
381
|
+
var ce = C.ReactCurrentOwner, qe = {
|
|
382
382
|
key: !0,
|
|
383
383
|
ref: !0,
|
|
384
384
|
__self: !0,
|
|
385
385
|
__source: !0
|
|
386
|
-
},
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
if (L.call(e, "ref")) {
|
|
386
|
+
}, de, ve;
|
|
387
|
+
function Be(e) {
|
|
388
|
+
if (W.call(e, "ref")) {
|
|
390
389
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
391
390
|
if (r && r.isReactWarning)
|
|
392
391
|
return !1;
|
|
@@ -394,7 +393,7 @@ function sr() {
|
|
|
394
393
|
return e.ref !== void 0;
|
|
395
394
|
}
|
|
396
395
|
function Je(e) {
|
|
397
|
-
if (
|
|
396
|
+
if (W.call(e, "key")) {
|
|
398
397
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
399
398
|
if (r && r.isReactWarning)
|
|
400
399
|
return !1;
|
|
@@ -402,15 +401,12 @@ function sr() {
|
|
|
402
401
|
return e.key !== void 0;
|
|
403
402
|
}
|
|
404
403
|
function Ge(e, r) {
|
|
405
|
-
|
|
406
|
-
var t = h(j.current.type);
|
|
407
|
-
J[t] || (c('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', h(j.current.type), e.ref), J[t] = !0);
|
|
408
|
-
}
|
|
404
|
+
typeof e.ref == "string" && ce.current;
|
|
409
405
|
}
|
|
410
406
|
function ze(e, r) {
|
|
411
407
|
{
|
|
412
408
|
var t = function() {
|
|
413
|
-
|
|
409
|
+
de || (de = !0, d("%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));
|
|
414
410
|
};
|
|
415
411
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
416
412
|
get: t,
|
|
@@ -421,7 +417,7 @@ function sr() {
|
|
|
421
417
|
function Ke(e, r) {
|
|
422
418
|
{
|
|
423
419
|
var t = function() {
|
|
424
|
-
|
|
420
|
+
ve || (ve = !0, d("%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));
|
|
425
421
|
};
|
|
426
422
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
427
423
|
get: t,
|
|
@@ -432,7 +428,7 @@ function sr() {
|
|
|
432
428
|
var He = function(e, r, t, n, i, u, o) {
|
|
433
429
|
var a = {
|
|
434
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
435
|
-
$$typeof:
|
|
431
|
+
$$typeof: m,
|
|
436
432
|
// Built-in properties that belong on the element
|
|
437
433
|
type: e,
|
|
438
434
|
key: r,
|
|
@@ -460,39 +456,39 @@ function sr() {
|
|
|
460
456
|
};
|
|
461
457
|
function Xe(e, r, t, n, i) {
|
|
462
458
|
{
|
|
463
|
-
var u, o = {}, a = null,
|
|
464
|
-
t !== void 0 && (
|
|
459
|
+
var u, o = {}, a = null, c = null;
|
|
460
|
+
t !== void 0 && (le(t), a = "" + t), Je(r) && (le(r.key), a = "" + r.key), Be(r) && (c = r.ref, Ge(r, i));
|
|
465
461
|
for (u in r)
|
|
466
|
-
|
|
462
|
+
W.call(r, u) && !qe.hasOwnProperty(u) && (o[u] = r[u]);
|
|
467
463
|
if (e && e.defaultProps) {
|
|
468
464
|
var s = e.defaultProps;
|
|
469
465
|
for (u in s)
|
|
470
466
|
o[u] === void 0 && (o[u] = s[u]);
|
|
471
467
|
}
|
|
472
|
-
if (a ||
|
|
468
|
+
if (a || c) {
|
|
473
469
|
var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
474
|
-
a && ze(o, f),
|
|
470
|
+
a && ze(o, f), c && Ke(o, f);
|
|
475
471
|
}
|
|
476
|
-
return He(e, a,
|
|
472
|
+
return He(e, a, c, i, n, ce.current, o);
|
|
477
473
|
}
|
|
478
474
|
}
|
|
479
|
-
var
|
|
475
|
+
var J = C.ReactCurrentOwner, pe = C.ReactDebugCurrentFrame;
|
|
480
476
|
function P(e) {
|
|
481
477
|
if (e) {
|
|
482
478
|
var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
|
|
483
|
-
|
|
479
|
+
pe.setExtraStackFrame(t);
|
|
484
480
|
} else
|
|
485
|
-
|
|
481
|
+
pe.setExtraStackFrame(null);
|
|
486
482
|
}
|
|
487
|
-
var
|
|
488
|
-
|
|
489
|
-
function
|
|
490
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
483
|
+
var G;
|
|
484
|
+
G = !1;
|
|
485
|
+
function z(e) {
|
|
486
|
+
return typeof e == "object" && e !== null && e.$$typeof === m;
|
|
491
487
|
}
|
|
492
|
-
function
|
|
488
|
+
function Ee() {
|
|
493
489
|
{
|
|
494
|
-
if (
|
|
495
|
-
var e =
|
|
490
|
+
if (J.current) {
|
|
491
|
+
var e = g(J.current.type);
|
|
496
492
|
if (e)
|
|
497
493
|
return `
|
|
498
494
|
|
|
@@ -504,10 +500,10 @@ Check the render method of \`` + e + "`.";
|
|
|
504
500
|
function Ze(e) {
|
|
505
501
|
return "";
|
|
506
502
|
}
|
|
507
|
-
var
|
|
503
|
+
var he = {};
|
|
508
504
|
function Qe(e) {
|
|
509
505
|
{
|
|
510
|
-
var r =
|
|
506
|
+
var r = Ee();
|
|
511
507
|
if (!r) {
|
|
512
508
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
513
509
|
t && (r = `
|
|
@@ -517,35 +513,35 @@ Check the top-level render call using <` + t + ">.");
|
|
|
517
513
|
return r;
|
|
518
514
|
}
|
|
519
515
|
}
|
|
520
|
-
function
|
|
516
|
+
function me(e, r) {
|
|
521
517
|
{
|
|
522
518
|
if (!e._store || e._store.validated || e.key != null)
|
|
523
519
|
return;
|
|
524
520
|
e._store.validated = !0;
|
|
525
521
|
var t = Qe(r);
|
|
526
|
-
if (
|
|
522
|
+
if (he[t])
|
|
527
523
|
return;
|
|
528
|
-
|
|
524
|
+
he[t] = !0;
|
|
529
525
|
var n = "";
|
|
530
|
-
e && e._owner && e._owner !==
|
|
526
|
+
e && e._owner && e._owner !== J.current && (n = " It was passed a child from " + g(e._owner.type) + "."), P(e), d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), P(null);
|
|
531
527
|
}
|
|
532
528
|
}
|
|
533
|
-
function
|
|
529
|
+
function Re(e, r) {
|
|
534
530
|
{
|
|
535
531
|
if (typeof e != "object")
|
|
536
532
|
return;
|
|
537
|
-
if (
|
|
533
|
+
if (B(e))
|
|
538
534
|
for (var t = 0; t < e.length; t++) {
|
|
539
535
|
var n = e[t];
|
|
540
|
-
|
|
536
|
+
z(n) && me(n, r);
|
|
541
537
|
}
|
|
542
|
-
else if (
|
|
538
|
+
else if (z(e))
|
|
543
539
|
e._store && (e._store.validated = !0);
|
|
544
540
|
else if (e) {
|
|
545
541
|
var i = Pe(e);
|
|
546
542
|
if (typeof i == "function" && i !== e.entries)
|
|
547
543
|
for (var u = i.call(e), o; !(o = u.next()).done; )
|
|
548
|
-
|
|
544
|
+
z(o.value) && me(o.value, r);
|
|
549
545
|
}
|
|
550
546
|
}
|
|
551
547
|
}
|
|
@@ -559,19 +555,19 @@ Check the top-level render call using <` + t + ">.");
|
|
|
559
555
|
t = r.propTypes;
|
|
560
556
|
else if (typeof r == "object" && (r.$$typeof === l || // Note: Memo only checks outer props here.
|
|
561
557
|
// Inner props are checked in the reconciler.
|
|
562
|
-
r.$$typeof ===
|
|
558
|
+
r.$$typeof === E))
|
|
563
559
|
t = r.propTypes;
|
|
564
560
|
else
|
|
565
561
|
return;
|
|
566
562
|
if (t) {
|
|
567
|
-
var n =
|
|
568
|
-
|
|
569
|
-
} else if (r.PropTypes !== void 0 && !
|
|
570
|
-
|
|
571
|
-
var i =
|
|
572
|
-
|
|
563
|
+
var n = g(r);
|
|
564
|
+
Ue(t, e.props, "prop", n, e);
|
|
565
|
+
} else if (r.PropTypes !== void 0 && !G) {
|
|
566
|
+
G = !0;
|
|
567
|
+
var i = g(r);
|
|
568
|
+
d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
|
|
573
569
|
}
|
|
574
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
570
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
575
571
|
}
|
|
576
572
|
}
|
|
577
573
|
function rr(e) {
|
|
@@ -579,23 +575,23 @@ Check the top-level render call using <` + t + ">.");
|
|
|
579
575
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
580
576
|
var n = r[t];
|
|
581
577
|
if (n !== "children" && n !== "key") {
|
|
582
|
-
P(e),
|
|
578
|
+
P(e), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), P(null);
|
|
583
579
|
break;
|
|
584
580
|
}
|
|
585
581
|
}
|
|
586
|
-
e.ref !== null && (P(e),
|
|
582
|
+
e.ref !== null && (P(e), d("Invalid attribute `ref` supplied to `React.Fragment`."), P(null));
|
|
587
583
|
}
|
|
588
584
|
}
|
|
589
|
-
function
|
|
585
|
+
function _e(e, r, t, n, i, u) {
|
|
590
586
|
{
|
|
591
587
|
var o = Fe(e);
|
|
592
588
|
if (!o) {
|
|
593
589
|
var a = "";
|
|
594
590
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
595
|
-
var
|
|
596
|
-
|
|
591
|
+
var c = Ze();
|
|
592
|
+
c ? a += c : a += Ee();
|
|
597
593
|
var s;
|
|
598
|
-
e === null ? s = "null" :
|
|
594
|
+
e === null ? s = "null" : B(e) ? s = "array" : e !== void 0 && e.$$typeof === m ? (s = "<" + (g(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
|
|
599
595
|
}
|
|
600
596
|
var f = Xe(e, r, t, i, u);
|
|
601
597
|
if (f == null)
|
|
@@ -604,32 +600,35 @@ Check the top-level render call using <` + t + ">.");
|
|
|
604
600
|
var p = r.children;
|
|
605
601
|
if (p !== void 0)
|
|
606
602
|
if (n)
|
|
607
|
-
if (
|
|
603
|
+
if (B(p)) {
|
|
608
604
|
for (var S = 0; S < p.length; S++)
|
|
609
|
-
|
|
605
|
+
Re(p[S], e);
|
|
610
606
|
Object.freeze && Object.freeze(p);
|
|
611
607
|
} else
|
|
612
|
-
|
|
608
|
+
d("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
613
609
|
else
|
|
614
|
-
|
|
610
|
+
Re(p, e);
|
|
615
611
|
}
|
|
616
612
|
return e === T ? rr(f) : er(f), f;
|
|
617
613
|
}
|
|
618
614
|
}
|
|
619
615
|
function tr(e, r, t) {
|
|
620
|
-
return
|
|
616
|
+
return _e(e, r, t, !0);
|
|
621
617
|
}
|
|
622
618
|
function nr(e, r, t) {
|
|
623
|
-
return
|
|
619
|
+
return _e(e, r, t, !1);
|
|
624
620
|
}
|
|
625
621
|
var ar = nr, or = tr;
|
|
626
|
-
|
|
627
|
-
}()),
|
|
622
|
+
k.Fragment = T, k.jsx = ar, k.jsxs = or;
|
|
623
|
+
}()), k;
|
|
624
|
+
}
|
|
625
|
+
var Te;
|
|
626
|
+
function fr() {
|
|
627
|
+
return Te || (Te = 1, process.env.NODE_ENV === "production" ? L.exports = ur() : L.exports = sr()), L.exports;
|
|
628
628
|
}
|
|
629
|
-
|
|
630
|
-
var dr = H.exports;
|
|
629
|
+
var vr = fr();
|
|
631
630
|
export {
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
631
|
+
cr as I,
|
|
632
|
+
dr as R,
|
|
633
|
+
vr as j
|
|
635
634
|
};
|