@chaibuilder/sdk 2.0.0-beta.5 → 2.0.0-beta.51
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/README.md +0 -4
- package/dist/ChaiThemeFn-Cort9tch.js +201 -0
- package/dist/ChaiThemeFn-DQu-2Eh9.cjs +13 -0
- package/dist/CodeEditor-CARM2Bvq.js +77 -0
- package/dist/CodeEditor-DFSAQLjb.cjs +1 -0
- package/dist/STRINGS-DtEft2kY.js +5 -0
- package/dist/STRINGS-n7COZtKr.cjs +1 -0
- package/dist/Topbar-CEyGOl06.js +16 -0
- package/dist/Topbar-pFV2NO8v.cjs +1 -0
- package/dist/{context-menu-0lRey9QY.cjs → context-menu-C_ITMOD1.cjs} +1 -1
- package/dist/{context-menu-I8woggB3.js → context-menu-FCyNTUkl.js} +66 -66
- package/dist/core.cjs +61 -1
- package/dist/core.d.ts +114 -54
- package/dist/core.js +8708 -122
- package/dist/{iconBase-Ief2hJUZ.js → iconBase-DHfFLkem.js} +6 -12
- package/dist/{jsx-runtime-Sp0orL4X.js → jsx-runtime-Drh4NO5G.js} +234 -232
- package/dist/jsx-runtime-qcKc-DpB.cjs +30 -0
- package/dist/mockServiceWorker.js +39 -24
- package/dist/plugin-2xcljWGM.cjs +1 -0
- package/dist/plugin-kUMxtQR5.js +24 -0
- package/dist/render.cjs +2 -2
- package/dist/render.d.ts +34 -16
- package/dist/render.js +136 -136
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.d.ts +0 -1
- package/dist/runtime.js +0 -20
- package/dist/{style.css → sdk.css} +1 -1
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.d.ts +31 -26
- package/dist/tailwind.js +8 -10
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +6 -51
- package/dist/ui.js +199 -356
- package/dist/web-blocks.cjs +2 -2
- package/dist/web-blocks.js +1327 -703
- package/package.json +121 -120
- package/dist/CodeEditor-fHc8uUZi.js +0 -126
- package/dist/CodeEditor-jEPBwyMf.cjs +0 -1
- package/dist/STRINGS-Xxstm-7I.js +0 -7
- package/dist/STRINGS-Yl7cSWDc.cjs +0 -1
- package/dist/Topbar-9ltyM5Cl.js +0 -160
- package/dist/Topbar-CbNTH5d8.cjs +0 -1
- package/dist/controls-lEwMTdPQ.js +0 -234
- package/dist/controls-p9IwFnPx.cjs +0 -1
- package/dist/index-UvIwJj5Y.js +0 -8540
- package/dist/index-gHOGFo7e.cjs +0 -63
- package/dist/jsx-runtime-JYMCiFoE.cjs +0 -27
- package/dist/plugin-UiUFs2fK.js +0 -44
- package/dist/plugin-f6SDZ_Or.js +0 -108
- package/dist/plugin-jum1MjXp.cjs +0 -1
- package/dist/plugin-xOpS-UNV.cjs +0 -1
- /package/dist/{iconBase-aZzpqff_.cjs → iconBase-Cn2BsTrq.cjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
1
|
+
import Pe from "react";
|
|
2
|
+
var V = { exports: {} }, k = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -9,25 +9,21 @@ var H = { exports: {} }, j = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
|
|
23
|
-
if (_ && _.defaultProps)
|
|
24
|
-
for (d in l = _.defaultProps, l)
|
|
25
|
-
g[d] === void 0 && (g[d] = l[d]);
|
|
26
|
-
return { $$typeof: P, type: _, key: h, ref: A, props: g, _owner: D.current };
|
|
12
|
+
var Te;
|
|
13
|
+
function lr() {
|
|
14
|
+
if (Te) return k;
|
|
15
|
+
Te = 1;
|
|
16
|
+
var M = Pe, C = Symbol.for("react.element"), U = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, F = M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, A = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function w(R, l, T) {
|
|
18
|
+
var p, _ = {}, y = null, I = null;
|
|
19
|
+
T !== void 0 && (y = "" + T), l.key !== void 0 && (y = "" + l.key), l.ref !== void 0 && (I = l.ref);
|
|
20
|
+
for (p in l) m.call(l, p) && !A.hasOwnProperty(p) && (_[p] = l[p]);
|
|
21
|
+
if (R && R.defaultProps) for (p in l = R.defaultProps, l) _[p] === void 0 && (_[p] = l[p]);
|
|
22
|
+
return { $$typeof: C, type: R, key: y, ref: I, props: _, _owner: F.current };
|
|
27
23
|
}
|
|
28
|
-
return
|
|
24
|
+
return k.Fragment = U, k.jsx = w, k.jsxs = w, k;
|
|
29
25
|
}
|
|
30
|
-
var
|
|
26
|
+
var D = {};
|
|
31
27
|
/**
|
|
32
28
|
* @license React
|
|
33
29
|
* react-jsx-runtime.development.js
|
|
@@ -37,49 +33,49 @@ var k = {};
|
|
|
37
33
|
* This source code is licensed under the MIT license found in the
|
|
38
34
|
* LICENSE file in the root directory of this source tree.
|
|
39
35
|
*/
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
return
|
|
43
|
-
var
|
|
44
|
-
function
|
|
36
|
+
var Oe;
|
|
37
|
+
function cr() {
|
|
38
|
+
return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var M = Pe, C = Symbol.for("react.element"), U = Symbol.for("react.portal"), m = 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"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), H = Symbol.iterator, Ce = "@@iterator";
|
|
40
|
+
function we(e) {
|
|
45
41
|
if (e === null || typeof e != "object")
|
|
46
42
|
return null;
|
|
47
|
-
var r =
|
|
43
|
+
var r = H && e[H] || e[Ce];
|
|
48
44
|
return typeof r == "function" ? r : null;
|
|
49
45
|
}
|
|
50
|
-
var
|
|
46
|
+
var O = M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
47
|
function c(e) {
|
|
52
48
|
{
|
|
53
49
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
54
50
|
t[n - 1] = arguments[n];
|
|
55
|
-
|
|
51
|
+
je("error", e, t);
|
|
56
52
|
}
|
|
57
53
|
}
|
|
58
|
-
function
|
|
54
|
+
function je(e, r, t) {
|
|
59
55
|
{
|
|
60
|
-
var n =
|
|
61
|
-
|
|
62
|
-
var u = t.map(function(
|
|
63
|
-
return String(
|
|
56
|
+
var n = O.ReactDebugCurrentFrame, o = n.getStackAddendum();
|
|
57
|
+
o !== "" && (r += "%s", t = t.concat([o]));
|
|
58
|
+
var u = t.map(function(i) {
|
|
59
|
+
return String(i);
|
|
64
60
|
});
|
|
65
61
|
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
66
62
|
}
|
|
67
63
|
}
|
|
68
|
-
var
|
|
64
|
+
var xe = !1, ke = !1, De = !1, Fe = !1, Ae = !1, Z;
|
|
69
65
|
Z = Symbol.for("react.module.reference");
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === m || e ===
|
|
66
|
+
function Ie(e) {
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === m || e === A || Ae || e === F || e === T || e === p || Fe || e === I || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === _ || e.$$typeof === w || e.$$typeof === R || e.$$typeof === l || // This needs to include all possible module reference object
|
|
72
68
|
// types supported by any Flight configuration anywhere since
|
|
73
69
|
// we don't know which Flight build this will end up being used
|
|
74
70
|
// with.
|
|
75
71
|
e.$$typeof === Z || e.getModuleId !== void 0));
|
|
76
72
|
}
|
|
77
|
-
function
|
|
73
|
+
function We(e, r, t) {
|
|
78
74
|
var n = e.displayName;
|
|
79
75
|
if (n)
|
|
80
76
|
return n;
|
|
81
|
-
var
|
|
82
|
-
return
|
|
77
|
+
var o = r.displayName || r.name || "";
|
|
78
|
+
return o !== "" ? t + "(" + o + ")" : t;
|
|
83
79
|
}
|
|
84
80
|
function Q(e) {
|
|
85
81
|
return e.displayName || "Context";
|
|
@@ -94,34 +90,34 @@ function ur() {
|
|
|
94
90
|
switch (e) {
|
|
95
91
|
case m:
|
|
96
92
|
return "Fragment";
|
|
97
|
-
case
|
|
93
|
+
case U:
|
|
98
94
|
return "Portal";
|
|
99
|
-
case
|
|
95
|
+
case A:
|
|
100
96
|
return "Profiler";
|
|
101
|
-
case
|
|
97
|
+
case F:
|
|
102
98
|
return "StrictMode";
|
|
103
|
-
case
|
|
99
|
+
case T:
|
|
104
100
|
return "Suspense";
|
|
105
|
-
case
|
|
101
|
+
case p:
|
|
106
102
|
return "SuspenseList";
|
|
107
103
|
}
|
|
108
104
|
if (typeof e == "object")
|
|
109
105
|
switch (e.$$typeof) {
|
|
110
|
-
case
|
|
106
|
+
case R:
|
|
111
107
|
var r = e;
|
|
112
108
|
return Q(r) + ".Consumer";
|
|
113
|
-
case
|
|
109
|
+
case w:
|
|
114
110
|
var t = e;
|
|
115
111
|
return Q(t._context) + ".Provider";
|
|
116
112
|
case l:
|
|
117
|
-
return
|
|
118
|
-
case
|
|
113
|
+
return We(e, e.render, "ForwardRef");
|
|
114
|
+
case _:
|
|
119
115
|
var n = e.displayName || null;
|
|
120
116
|
return n !== null ? n : E(e.type) || "Memo";
|
|
121
|
-
case
|
|
122
|
-
var
|
|
117
|
+
case y: {
|
|
118
|
+
var o = e, u = o._payload, i = o._init;
|
|
123
119
|
try {
|
|
124
|
-
return E(
|
|
120
|
+
return E(i(u));
|
|
125
121
|
} catch {
|
|
126
122
|
return null;
|
|
127
123
|
}
|
|
@@ -129,14 +125,14 @@ function ur() {
|
|
|
129
125
|
}
|
|
130
126
|
return null;
|
|
131
127
|
}
|
|
132
|
-
var
|
|
128
|
+
var b = Object.assign, j = 0, ee, re, te, ne, ae, ie, oe;
|
|
133
129
|
function ue() {
|
|
134
130
|
}
|
|
135
131
|
ue.__reactDisabledLog = !0;
|
|
136
|
-
function
|
|
132
|
+
function Ye() {
|
|
137
133
|
{
|
|
138
|
-
if (
|
|
139
|
-
ee = console.log, re = console.info, te = console.warn, ne = console.error, ae = console.group,
|
|
134
|
+
if (j === 0) {
|
|
135
|
+
ee = console.log, re = console.info, te = console.warn, ne = console.error, ae = console.group, ie = console.groupCollapsed, oe = console.groupEnd;
|
|
140
136
|
var e = {
|
|
141
137
|
configurable: !0,
|
|
142
138
|
enumerable: !0,
|
|
@@ -153,112 +149,112 @@ function ur() {
|
|
|
153
149
|
groupEnd: e
|
|
154
150
|
});
|
|
155
151
|
}
|
|
156
|
-
|
|
152
|
+
j++;
|
|
157
153
|
}
|
|
158
154
|
}
|
|
159
|
-
function
|
|
155
|
+
function $e() {
|
|
160
156
|
{
|
|
161
|
-
if (
|
|
157
|
+
if (j--, j === 0) {
|
|
162
158
|
var e = {
|
|
163
159
|
configurable: !0,
|
|
164
160
|
enumerable: !0,
|
|
165
161
|
writable: !0
|
|
166
162
|
};
|
|
167
163
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
164
|
+
log: b({}, e, {
|
|
169
165
|
value: ee
|
|
170
166
|
}),
|
|
171
|
-
info:
|
|
167
|
+
info: b({}, e, {
|
|
172
168
|
value: re
|
|
173
169
|
}),
|
|
174
|
-
warn:
|
|
170
|
+
warn: b({}, e, {
|
|
175
171
|
value: te
|
|
176
172
|
}),
|
|
177
|
-
error:
|
|
173
|
+
error: b({}, e, {
|
|
178
174
|
value: ne
|
|
179
175
|
}),
|
|
180
|
-
group:
|
|
176
|
+
group: b({}, e, {
|
|
181
177
|
value: ae
|
|
182
178
|
}),
|
|
183
|
-
groupCollapsed:
|
|
184
|
-
value: oe
|
|
185
|
-
}),
|
|
186
|
-
groupEnd: R({}, e, {
|
|
179
|
+
groupCollapsed: b({}, e, {
|
|
187
180
|
value: ie
|
|
181
|
+
}),
|
|
182
|
+
groupEnd: b({}, e, {
|
|
183
|
+
value: oe
|
|
188
184
|
})
|
|
189
185
|
});
|
|
190
186
|
}
|
|
191
|
-
|
|
187
|
+
j < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
188
|
}
|
|
193
189
|
}
|
|
194
|
-
var
|
|
195
|
-
function
|
|
190
|
+
var N = O.ReactCurrentDispatcher, J;
|
|
191
|
+
function W(e, r, t) {
|
|
196
192
|
{
|
|
197
|
-
if (
|
|
193
|
+
if (J === void 0)
|
|
198
194
|
try {
|
|
199
195
|
throw Error();
|
|
200
|
-
} catch (
|
|
201
|
-
var n =
|
|
202
|
-
|
|
196
|
+
} catch (o) {
|
|
197
|
+
var n = o.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
+
J = n && n[1] || "";
|
|
203
199
|
}
|
|
204
200
|
return `
|
|
205
|
-
` +
|
|
201
|
+
` + J + e;
|
|
206
202
|
}
|
|
207
203
|
}
|
|
208
|
-
var
|
|
204
|
+
var q = !1, Y;
|
|
209
205
|
{
|
|
210
|
-
var
|
|
211
|
-
|
|
206
|
+
var Le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
Y = new Le();
|
|
212
208
|
}
|
|
213
209
|
function se(e, r) {
|
|
214
|
-
if (!e ||
|
|
210
|
+
if (!e || q)
|
|
215
211
|
return "";
|
|
216
212
|
{
|
|
217
|
-
var t =
|
|
213
|
+
var t = Y.get(e);
|
|
218
214
|
if (t !== void 0)
|
|
219
215
|
return t;
|
|
220
216
|
}
|
|
221
217
|
var n;
|
|
222
|
-
|
|
223
|
-
var
|
|
218
|
+
q = !0;
|
|
219
|
+
var o = Error.prepareStackTrace;
|
|
224
220
|
Error.prepareStackTrace = void 0;
|
|
225
221
|
var u;
|
|
226
|
-
u =
|
|
222
|
+
u = N.current, N.current = null, Ye();
|
|
227
223
|
try {
|
|
228
224
|
if (r) {
|
|
229
|
-
var
|
|
225
|
+
var i = function() {
|
|
230
226
|
throw Error();
|
|
231
227
|
};
|
|
232
|
-
if (Object.defineProperty(
|
|
228
|
+
if (Object.defineProperty(i.prototype, "props", {
|
|
233
229
|
set: function() {
|
|
234
230
|
throw Error();
|
|
235
231
|
}
|
|
236
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
233
|
try {
|
|
238
|
-
Reflect.construct(
|
|
239
|
-
} catch (
|
|
240
|
-
n =
|
|
234
|
+
Reflect.construct(i, []);
|
|
235
|
+
} catch (d) {
|
|
236
|
+
n = d;
|
|
241
237
|
}
|
|
242
|
-
Reflect.construct(e, [],
|
|
238
|
+
Reflect.construct(e, [], i);
|
|
243
239
|
} else {
|
|
244
240
|
try {
|
|
245
|
-
|
|
246
|
-
} catch (
|
|
247
|
-
n =
|
|
241
|
+
i.call();
|
|
242
|
+
} catch (d) {
|
|
243
|
+
n = d;
|
|
248
244
|
}
|
|
249
|
-
e.call(
|
|
245
|
+
e.call(i.prototype);
|
|
250
246
|
}
|
|
251
247
|
} else {
|
|
252
248
|
try {
|
|
253
249
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
n =
|
|
250
|
+
} catch (d) {
|
|
251
|
+
n = d;
|
|
256
252
|
}
|
|
257
253
|
e();
|
|
258
254
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var a =
|
|
255
|
+
} catch (d) {
|
|
256
|
+
if (d && n && typeof d.stack == "string") {
|
|
257
|
+
for (var a = d.stack.split(`
|
|
262
258
|
`), v = n.stack.split(`
|
|
263
259
|
`), s = a.length - 1, f = v.length - 1; s >= 1 && f >= 0 && a[s] !== v[f]; )
|
|
264
260
|
f--;
|
|
@@ -267,94 +263,94 @@ function ur() {
|
|
|
267
263
|
if (s !== 1 || f !== 1)
|
|
268
264
|
do
|
|
269
265
|
if (s--, f--, f < 0 || a[s] !== v[f]) {
|
|
270
|
-
var
|
|
266
|
+
var g = `
|
|
271
267
|
` + a[s].replace(" at new ", " at ");
|
|
272
|
-
return e.displayName &&
|
|
268
|
+
return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, g), g;
|
|
273
269
|
}
|
|
274
270
|
while (s >= 1 && f >= 0);
|
|
275
271
|
break;
|
|
276
272
|
}
|
|
277
273
|
}
|
|
278
274
|
} finally {
|
|
279
|
-
|
|
275
|
+
q = !1, N.current = u, $e(), Error.prepareStackTrace = o;
|
|
280
276
|
}
|
|
281
|
-
var
|
|
282
|
-
return typeof e == "function" &&
|
|
277
|
+
var P = e ? e.displayName || e.name : "", h = P ? W(P) : "";
|
|
278
|
+
return typeof e == "function" && Y.set(e, h), h;
|
|
283
279
|
}
|
|
284
|
-
function
|
|
280
|
+
function Ve(e, r, t) {
|
|
285
281
|
return se(e, !1);
|
|
286
282
|
}
|
|
287
|
-
function
|
|
283
|
+
function Me(e) {
|
|
288
284
|
var r = e.prototype;
|
|
289
285
|
return !!(r && r.isReactComponent);
|
|
290
286
|
}
|
|
291
|
-
function
|
|
287
|
+
function $(e, r, t) {
|
|
292
288
|
if (e == null)
|
|
293
289
|
return "";
|
|
294
290
|
if (typeof e == "function")
|
|
295
|
-
return se(e,
|
|
291
|
+
return se(e, Me(e));
|
|
296
292
|
if (typeof e == "string")
|
|
297
|
-
return
|
|
293
|
+
return W(e);
|
|
298
294
|
switch (e) {
|
|
299
|
-
case
|
|
300
|
-
return
|
|
301
|
-
case
|
|
302
|
-
return
|
|
295
|
+
case T:
|
|
296
|
+
return W("Suspense");
|
|
297
|
+
case p:
|
|
298
|
+
return W("SuspenseList");
|
|
303
299
|
}
|
|
304
300
|
if (typeof e == "object")
|
|
305
301
|
switch (e.$$typeof) {
|
|
306
302
|
case l:
|
|
307
|
-
return
|
|
308
|
-
case
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
var n = e,
|
|
303
|
+
return Ve(e.render);
|
|
304
|
+
case _:
|
|
305
|
+
return $(e.type, r, t);
|
|
306
|
+
case y: {
|
|
307
|
+
var n = e, o = n._payload, u = n._init;
|
|
312
308
|
try {
|
|
313
|
-
return
|
|
309
|
+
return $(u(o), r, t);
|
|
314
310
|
} catch {
|
|
315
311
|
}
|
|
316
312
|
}
|
|
317
313
|
}
|
|
318
314
|
return "";
|
|
319
315
|
}
|
|
320
|
-
var
|
|
316
|
+
var x = Object.prototype.hasOwnProperty, fe = {}, le = O.ReactDebugCurrentFrame;
|
|
321
317
|
function L(e) {
|
|
322
318
|
if (e) {
|
|
323
|
-
var r = e._owner, t =
|
|
319
|
+
var r = e._owner, t = $(e.type, e._source, r ? r.type : null);
|
|
324
320
|
le.setExtraStackFrame(t);
|
|
325
321
|
} else
|
|
326
322
|
le.setExtraStackFrame(null);
|
|
327
323
|
}
|
|
328
|
-
function
|
|
324
|
+
function Ue(e, r, t, n, o) {
|
|
329
325
|
{
|
|
330
|
-
var u = Function.call.bind(
|
|
331
|
-
for (var
|
|
332
|
-
if (u(e,
|
|
326
|
+
var u = Function.call.bind(x);
|
|
327
|
+
for (var i in e)
|
|
328
|
+
if (u(e, i)) {
|
|
333
329
|
var a = void 0;
|
|
334
330
|
try {
|
|
335
|
-
if (typeof e[
|
|
336
|
-
var v = Error((n || "React class") + ": " + t + " type `" +
|
|
331
|
+
if (typeof e[i] != "function") {
|
|
332
|
+
var v = Error((n || "React class") + ": " + t + " 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`.");
|
|
337
333
|
throw v.name = "Invariant Violation", v;
|
|
338
334
|
}
|
|
339
|
-
a = e[
|
|
335
|
+
a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
336
|
} catch (s) {
|
|
341
337
|
a = s;
|
|
342
338
|
}
|
|
343
|
-
a && !(a instanceof Error) && (L(
|
|
339
|
+
a && !(a instanceof Error) && (L(o), c("%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, i, typeof a), L(null)), a instanceof Error && !(a.message in fe) && (fe[a.message] = !0, L(o), c("Failed %s type: %s", t, a.message), L(null));
|
|
344
340
|
}
|
|
345
341
|
}
|
|
346
342
|
}
|
|
347
|
-
var
|
|
348
|
-
function
|
|
349
|
-
return
|
|
343
|
+
var Ne = Array.isArray;
|
|
344
|
+
function B(e) {
|
|
345
|
+
return Ne(e);
|
|
350
346
|
}
|
|
351
|
-
function
|
|
347
|
+
function Je(e) {
|
|
352
348
|
{
|
|
353
349
|
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
350
|
return t;
|
|
355
351
|
}
|
|
356
352
|
}
|
|
357
|
-
function
|
|
353
|
+
function qe(e) {
|
|
358
354
|
try {
|
|
359
355
|
return ce(e), !1;
|
|
360
356
|
} catch {
|
|
@@ -365,42 +361,38 @@ function ur() {
|
|
|
365
361
|
return "" + e;
|
|
366
362
|
}
|
|
367
363
|
function ve(e) {
|
|
368
|
-
if (
|
|
369
|
-
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
364
|
+
if (qe(e))
|
|
365
|
+
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), ce(e);
|
|
370
366
|
}
|
|
371
|
-
var
|
|
367
|
+
var de = O.ReactCurrentOwner, Be = {
|
|
372
368
|
key: !0,
|
|
373
369
|
ref: !0,
|
|
374
370
|
__self: !0,
|
|
375
371
|
__source: !0
|
|
376
|
-
},
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
if ($.call(e, "ref")) {
|
|
372
|
+
}, pe, ge;
|
|
373
|
+
function Ke(e) {
|
|
374
|
+
if (x.call(e, "ref")) {
|
|
380
375
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
376
|
if (r && r.isReactWarning)
|
|
382
377
|
return !1;
|
|
383
378
|
}
|
|
384
379
|
return e.ref !== void 0;
|
|
385
380
|
}
|
|
386
|
-
function
|
|
387
|
-
if (
|
|
381
|
+
function Ge(e) {
|
|
382
|
+
if (x.call(e, "key")) {
|
|
388
383
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
384
|
if (r && r.isReactWarning)
|
|
390
385
|
return !1;
|
|
391
386
|
}
|
|
392
387
|
return e.key !== void 0;
|
|
393
388
|
}
|
|
394
|
-
function Ge(e, r) {
|
|
395
|
-
if (typeof e.ref == "string" && x.current && r && x.current.stateNode !== r) {
|
|
396
|
-
var t = E(x.current.type);
|
|
397
|
-
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', E(x.current.type), e.ref), J[t] = !0);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
389
|
function ze(e, r) {
|
|
390
|
+
typeof e.ref == "string" && de.current;
|
|
391
|
+
}
|
|
392
|
+
function Xe(e, r) {
|
|
401
393
|
{
|
|
402
394
|
var t = function() {
|
|
403
|
-
|
|
395
|
+
pe || (pe = !0, c("%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));
|
|
404
396
|
};
|
|
405
397
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
406
398
|
get: t,
|
|
@@ -408,10 +400,10 @@ function ur() {
|
|
|
408
400
|
});
|
|
409
401
|
}
|
|
410
402
|
}
|
|
411
|
-
function
|
|
403
|
+
function He(e, r) {
|
|
412
404
|
{
|
|
413
405
|
var t = function() {
|
|
414
|
-
|
|
406
|
+
ge || (ge = !0, c("%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));
|
|
415
407
|
};
|
|
416
408
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
409
|
get: t,
|
|
@@ -419,15 +411,15 @@ function ur() {
|
|
|
419
411
|
});
|
|
420
412
|
}
|
|
421
413
|
}
|
|
422
|
-
var
|
|
414
|
+
var Ze = function(e, r, t, n, o, u, i) {
|
|
423
415
|
var a = {
|
|
424
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
|
-
$$typeof:
|
|
417
|
+
$$typeof: C,
|
|
426
418
|
// Built-in properties that belong on the element
|
|
427
419
|
type: e,
|
|
428
420
|
key: r,
|
|
429
421
|
ref: t,
|
|
430
|
-
props:
|
|
422
|
+
props: i,
|
|
431
423
|
// Record the component responsible for creating this element.
|
|
432
424
|
_owner: u
|
|
433
425
|
};
|
|
@@ -445,44 +437,44 @@ function ur() {
|
|
|
445
437
|
configurable: !1,
|
|
446
438
|
enumerable: !1,
|
|
447
439
|
writable: !1,
|
|
448
|
-
value:
|
|
440
|
+
value: o
|
|
449
441
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
450
442
|
};
|
|
451
|
-
function
|
|
443
|
+
function Qe(e, r, t, n, o) {
|
|
452
444
|
{
|
|
453
|
-
var u,
|
|
454
|
-
t !== void 0 && (ve(t), a = "" + t),
|
|
445
|
+
var u, i = {}, a = null, v = null;
|
|
446
|
+
t !== void 0 && (ve(t), a = "" + t), Ge(r) && (ve(r.key), a = "" + r.key), Ke(r) && (v = r.ref, ze(r, o));
|
|
455
447
|
for (u in r)
|
|
456
|
-
|
|
448
|
+
x.call(r, u) && !Be.hasOwnProperty(u) && (i[u] = r[u]);
|
|
457
449
|
if (e && e.defaultProps) {
|
|
458
450
|
var s = e.defaultProps;
|
|
459
451
|
for (u in s)
|
|
460
|
-
|
|
452
|
+
i[u] === void 0 && (i[u] = s[u]);
|
|
461
453
|
}
|
|
462
454
|
if (a || v) {
|
|
463
455
|
var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
-
a &&
|
|
456
|
+
a && Xe(i, f), v && He(i, f);
|
|
465
457
|
}
|
|
466
|
-
return
|
|
458
|
+
return Ze(e, a, v, o, n, de.current, i);
|
|
467
459
|
}
|
|
468
460
|
}
|
|
469
|
-
var
|
|
470
|
-
function
|
|
461
|
+
var K = O.ReactCurrentOwner, _e = O.ReactDebugCurrentFrame;
|
|
462
|
+
function S(e) {
|
|
471
463
|
if (e) {
|
|
472
|
-
var r = e._owner, t =
|
|
473
|
-
|
|
464
|
+
var r = e._owner, t = $(e.type, e._source, r ? r.type : null);
|
|
465
|
+
_e.setExtraStackFrame(t);
|
|
474
466
|
} else
|
|
475
|
-
|
|
467
|
+
_e.setExtraStackFrame(null);
|
|
476
468
|
}
|
|
477
|
-
var
|
|
478
|
-
|
|
479
|
-
function
|
|
480
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
469
|
+
var G;
|
|
470
|
+
G = !1;
|
|
471
|
+
function z(e) {
|
|
472
|
+
return typeof e == "object" && e !== null && e.$$typeof === C;
|
|
481
473
|
}
|
|
482
474
|
function Ee() {
|
|
483
475
|
{
|
|
484
|
-
if (
|
|
485
|
-
var e = E(
|
|
476
|
+
if (K.current) {
|
|
477
|
+
var e = E(K.current.type);
|
|
486
478
|
if (e)
|
|
487
479
|
return `
|
|
488
480
|
|
|
@@ -491,19 +483,11 @@ Check the render method of \`` + e + "`.";
|
|
|
491
483
|
return "";
|
|
492
484
|
}
|
|
493
485
|
}
|
|
494
|
-
function
|
|
495
|
-
|
|
496
|
-
if (e !== void 0) {
|
|
497
|
-
var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
|
|
498
|
-
return `
|
|
499
|
-
|
|
500
|
-
Check your code at ` + r + ":" + t + ".";
|
|
501
|
-
}
|
|
502
|
-
return "";
|
|
503
|
-
}
|
|
486
|
+
function er(e) {
|
|
487
|
+
return "";
|
|
504
488
|
}
|
|
505
|
-
var
|
|
506
|
-
function
|
|
489
|
+
var Re = {};
|
|
490
|
+
function rr(e) {
|
|
507
491
|
{
|
|
508
492
|
var r = Ee();
|
|
509
493
|
if (!r) {
|
|
@@ -515,39 +499,39 @@ Check the top-level render call using <` + t + ">.");
|
|
|
515
499
|
return r;
|
|
516
500
|
}
|
|
517
501
|
}
|
|
518
|
-
function
|
|
502
|
+
function ye(e, r) {
|
|
519
503
|
{
|
|
520
504
|
if (!e._store || e._store.validated || e.key != null)
|
|
521
505
|
return;
|
|
522
506
|
e._store.validated = !0;
|
|
523
|
-
var t =
|
|
524
|
-
if (
|
|
507
|
+
var t = rr(r);
|
|
508
|
+
if (Re[t])
|
|
525
509
|
return;
|
|
526
|
-
|
|
510
|
+
Re[t] = !0;
|
|
527
511
|
var n = "";
|
|
528
|
-
e && e._owner && e._owner !==
|
|
512
|
+
e && e._owner && e._owner !== K.current && (n = " It was passed a child from " + E(e._owner.type) + "."), S(e), c('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), S(null);
|
|
529
513
|
}
|
|
530
514
|
}
|
|
531
|
-
function
|
|
515
|
+
function be(e, r) {
|
|
532
516
|
{
|
|
533
517
|
if (typeof e != "object")
|
|
534
518
|
return;
|
|
535
|
-
if (
|
|
519
|
+
if (B(e))
|
|
536
520
|
for (var t = 0; t < e.length; t++) {
|
|
537
521
|
var n = e[t];
|
|
538
|
-
|
|
522
|
+
z(n) && ye(n, r);
|
|
539
523
|
}
|
|
540
|
-
else if (
|
|
524
|
+
else if (z(e))
|
|
541
525
|
e._store && (e._store.validated = !0);
|
|
542
526
|
else if (e) {
|
|
543
|
-
var
|
|
544
|
-
if (typeof
|
|
545
|
-
for (var u =
|
|
546
|
-
|
|
527
|
+
var o = we(e);
|
|
528
|
+
if (typeof o == "function" && o !== e.entries)
|
|
529
|
+
for (var u = o.call(e), i; !(i = u.next()).done; )
|
|
530
|
+
z(i.value) && ye(i.value, r);
|
|
547
531
|
}
|
|
548
532
|
}
|
|
549
533
|
}
|
|
550
|
-
function
|
|
534
|
+
function tr(e) {
|
|
551
535
|
{
|
|
552
536
|
var r = e.type;
|
|
553
537
|
if (r == null || typeof r == "string")
|
|
@@ -557,75 +541,93 @@ Check the top-level render call using <` + t + ">.");
|
|
|
557
541
|
t = r.propTypes;
|
|
558
542
|
else if (typeof r == "object" && (r.$$typeof === l || // Note: Memo only checks outer props here.
|
|
559
543
|
// Inner props are checked in the reconciler.
|
|
560
|
-
r.$$typeof ===
|
|
544
|
+
r.$$typeof === _))
|
|
561
545
|
t = r.propTypes;
|
|
562
546
|
else
|
|
563
547
|
return;
|
|
564
548
|
if (t) {
|
|
565
549
|
var n = E(r);
|
|
566
|
-
|
|
567
|
-
} else if (r.PropTypes !== void 0 && !
|
|
568
|
-
|
|
569
|
-
var
|
|
570
|
-
c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
550
|
+
Ue(t, e.props, "prop", n, e);
|
|
551
|
+
} else if (r.PropTypes !== void 0 && !G) {
|
|
552
|
+
G = !0;
|
|
553
|
+
var o = E(r);
|
|
554
|
+
c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
|
|
571
555
|
}
|
|
572
556
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
573
557
|
}
|
|
574
558
|
}
|
|
575
|
-
function
|
|
559
|
+
function nr(e) {
|
|
576
560
|
{
|
|
577
561
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
578
562
|
var n = r[t];
|
|
579
563
|
if (n !== "children" && n !== "key") {
|
|
580
|
-
|
|
564
|
+
S(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), S(null);
|
|
581
565
|
break;
|
|
582
566
|
}
|
|
583
567
|
}
|
|
584
|
-
e.ref !== null && (
|
|
568
|
+
e.ref !== null && (S(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
|
|
585
569
|
}
|
|
586
570
|
}
|
|
587
|
-
|
|
571
|
+
var he = {};
|
|
572
|
+
function me(e, r, t, n, o, u) {
|
|
588
573
|
{
|
|
589
|
-
var
|
|
590
|
-
if (!
|
|
574
|
+
var i = Ie(e);
|
|
575
|
+
if (!i) {
|
|
591
576
|
var a = "";
|
|
592
577
|
(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.");
|
|
593
|
-
var v =
|
|
578
|
+
var v = er();
|
|
594
579
|
v ? a += v : a += Ee();
|
|
595
580
|
var s;
|
|
596
|
-
e === null ? s = "null" :
|
|
581
|
+
e === null ? s = "null" : B(e) ? s = "array" : e !== void 0 && e.$$typeof === C ? (s = "<" + (E(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("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);
|
|
597
582
|
}
|
|
598
|
-
var f =
|
|
583
|
+
var f = Qe(e, r, t, o, u);
|
|
599
584
|
if (f == null)
|
|
600
585
|
return f;
|
|
601
|
-
if (
|
|
602
|
-
var
|
|
603
|
-
if (
|
|
586
|
+
if (i) {
|
|
587
|
+
var g = r.children;
|
|
588
|
+
if (g !== void 0)
|
|
604
589
|
if (n)
|
|
605
|
-
if (
|
|
606
|
-
for (var
|
|
607
|
-
|
|
608
|
-
Object.freeze && Object.freeze(
|
|
590
|
+
if (B(g)) {
|
|
591
|
+
for (var P = 0; P < g.length; P++)
|
|
592
|
+
be(g[P], e);
|
|
593
|
+
Object.freeze && Object.freeze(g);
|
|
609
594
|
} else
|
|
610
595
|
c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
611
596
|
else
|
|
612
|
-
|
|
597
|
+
be(g, e);
|
|
598
|
+
}
|
|
599
|
+
if (x.call(r, "key")) {
|
|
600
|
+
var h = E(e), d = Object.keys(r).filter(function(fr) {
|
|
601
|
+
return fr !== "key";
|
|
602
|
+
}), X = d.length > 0 ? "{key: someKey, " + d.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
+
if (!he[h + X]) {
|
|
604
|
+
var sr = d.length > 0 ? "{" + d.join(": ..., ") + ": ...}" : "{}";
|
|
605
|
+
c(`A props object containing a "key" prop is being spread into JSX:
|
|
606
|
+
let props = %s;
|
|
607
|
+
<%s {...props} />
|
|
608
|
+
React keys must be passed directly to JSX without using spread:
|
|
609
|
+
let props = %s;
|
|
610
|
+
<%s key={someKey} {...props} />`, X, h, sr, h), he[h + X] = !0;
|
|
611
|
+
}
|
|
613
612
|
}
|
|
614
|
-
return e === m ?
|
|
613
|
+
return e === m ? nr(f) : tr(f), f;
|
|
615
614
|
}
|
|
616
615
|
}
|
|
617
|
-
function
|
|
618
|
-
return
|
|
616
|
+
function ar(e, r, t) {
|
|
617
|
+
return me(e, r, t, !0);
|
|
619
618
|
}
|
|
620
|
-
function
|
|
621
|
-
return
|
|
619
|
+
function ir(e, r, t) {
|
|
620
|
+
return me(e, r, t, !1);
|
|
622
621
|
}
|
|
623
|
-
var
|
|
624
|
-
|
|
625
|
-
}()),
|
|
622
|
+
var or = ir, ur = ar;
|
|
623
|
+
D.Fragment = m, D.jsx = or, D.jsxs = ur;
|
|
624
|
+
}()), D;
|
|
625
|
+
}
|
|
626
|
+
var Se;
|
|
627
|
+
function vr() {
|
|
628
|
+
return Se || (Se = 1, process.env.NODE_ENV === "production" ? V.exports = lr() : V.exports = cr()), V.exports;
|
|
626
629
|
}
|
|
627
|
-
|
|
628
|
-
var fr = H.exports;
|
|
630
|
+
var pr = vr();
|
|
629
631
|
export {
|
|
630
|
-
|
|
632
|
+
pr as j
|
|
631
633
|
};
|