@chaibuilder/sdk 1.2.114 → 1.2.116
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 +2 -6
- package/dist/CodeEditor-Bl58eelM.cjs +1 -0
- package/dist/CodeEditor-C1ImRmIp.js +77 -0
- package/dist/Topbar-BpMZTZKz.cjs +1 -0
- package/dist/Topbar-tRFEAMbG.js +113 -0
- package/dist/UnsplashImages-BXarNGDE.cjs +1 -0
- package/dist/{UnsplashImages-chQ74Yzq.js → UnsplashImages-Ds_3IihK.js} +38 -90
- package/dist/UploadImages-DPMndPNm.cjs +1 -0
- package/dist/UploadImages-VZ7-y0rA.js +101 -0
- package/dist/cdn.js +25283 -0
- package/dist/{context-menu-FPX89OKr.js → context-menu-BbqLeYFX.js} +1 -1
- package/dist/{context-menu-sQn7ryJ6.cjs → context-menu-DfAXjmc8.cjs} +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +50 -17
- package/dist/core.js +74 -127
- package/dist/{iconBase-Ief2hJUZ.js → iconBase-DHfFLkem.js} +6 -12
- package/dist/index-B_be_Or7.cjs +63 -0
- package/dist/{index-IZpHf_8d.js → index-Bn53BEJy.js} +1631 -1658
- package/dist/jsx-runtime-BYECrxsp.cjs +30 -0
- package/dist/{jsx-runtime-Sp0orL4X.js → jsx-runtime-DGlMoOmv.js} +241 -242
- package/dist/{plugin-UiUFs2fK.js → plugin-BOEoR5jk.js} +1 -1
- package/dist/{plugin-xOpS-UNV.cjs → plugin-COMQcYlW.cjs} +1 -1
- package/dist/{plugin-f6SDZ_Or.js → plugin-Dw854zFv.js} +7 -8
- package/dist/{plugin-jum1MjXp.cjs → plugin-I9XxF65G.cjs} +1 -1
- package/dist/render.cjs +1 -1
- package/dist/render.js +10 -14
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.js +12 -13
- package/dist/style.css +1 -1
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.js +5 -7
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +3 -6
- package/dist/ui.js +145 -163
- package/dist/web-blocks.cjs +19 -2
- package/dist/web-blocks.js +116 -102
- package/package.json +3 -1
- package/dist/CodeEditor-BWHGysUw.cjs +0 -1
- package/dist/CodeEditor-q9he9IC8.js +0 -129
- package/dist/Topbar-86JxE7Uw.js +0 -163
- package/dist/Topbar-8LnyJF7S.cjs +0 -1
- package/dist/UnsplashImages-MLEjengP.cjs +0 -1
- package/dist/UploadImages--77rHMEx.cjs +0 -1
- package/dist/UploadImages-Auy8ZPBl.js +0 -153
- package/dist/index-KsZZcMSu.cjs +0 -63
- package/dist/jsx-runtime-JYMCiFoE.cjs +0 -27
- /package/dist/{STRINGS-Xxstm-7I.js → STRINGS-eiGM83kj.js} +0 -0
- /package/dist/{STRINGS-Yl7cSWDc.cjs → STRINGS-ew98weUe.cjs} +0 -0
- /package/dist/{controls-p9IwFnPx.cjs → controls-C4n5ycp4.cjs} +0 -0
- /package/dist/{controls-lEwMTdPQ.js → controls-Com-zYCq.js} +0 -0
- /package/dist/{iconBase-aZzpqff_.cjs → iconBase-Cn2BsTrq.cjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
1
|
+
import Se from "react";
|
|
2
|
+
var X = { 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 V = Se, C = Symbol.for("react.element"), M = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, F = V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, A = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function w(y, f, T) {
|
|
18
|
+
var p, _ = {}, b = null, I = null;
|
|
19
|
+
T !== void 0 && (b = "" + T), f.key !== void 0 && (b = "" + f.key), f.ref !== void 0 && (I = f.ref);
|
|
20
|
+
for (p in f) m.call(f, p) && !A.hasOwnProperty(p) && (_[p] = f[p]);
|
|
21
|
+
if (y && y.defaultProps) for (p in f = y.defaultProps, f) _[p] === void 0 && (_[p] = f[p]);
|
|
22
|
+
return { $$typeof: C, type: y, key: b, ref: I, props: _, _owner: F.current };
|
|
27
23
|
}
|
|
28
|
-
return
|
|
24
|
+
return k.Fragment = M, 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 fr() {
|
|
38
|
+
return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var V = Se, C = Symbol.for("react.element"), M = 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"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), H = Symbol.iterator, Pe = "@@iterator";
|
|
40
|
+
function Ce(e) {
|
|
45
41
|
if (e === null || typeof e != "object")
|
|
46
42
|
return null;
|
|
47
|
-
var r =
|
|
43
|
+
var r = H && e[H] || e[Pe];
|
|
48
44
|
return typeof r == "function" ? r : null;
|
|
49
45
|
}
|
|
50
|
-
var
|
|
46
|
+
var O = V.__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
|
+
we("error", e, t);
|
|
56
52
|
}
|
|
57
53
|
}
|
|
58
|
-
function
|
|
54
|
+
function we(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 je = !1, xe = !1, ke = !1, De = !1, Fe = !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 Ae(e) {
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === m || e === A || Fe || e === F || e === T || e === p || De || e === I || je || xe || ke || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === _ || e.$$typeof === w || e.$$typeof === y || e.$$typeof === f || // 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 Ie(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 M:
|
|
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 y:
|
|
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
|
-
case
|
|
117
|
-
return
|
|
118
|
-
case
|
|
112
|
+
case f:
|
|
113
|
+
return Ie(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 b: {
|
|
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 h = 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 We() {
|
|
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,208 +149,208 @@ function ur() {
|
|
|
153
149
|
groupEnd: e
|
|
154
150
|
});
|
|
155
151
|
}
|
|
156
|
-
|
|
152
|
+
j++;
|
|
157
153
|
}
|
|
158
154
|
}
|
|
159
|
-
function
|
|
155
|
+
function Ye() {
|
|
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: h({}, e, {
|
|
169
165
|
value: ee
|
|
170
166
|
}),
|
|
171
|
-
info:
|
|
167
|
+
info: h({}, e, {
|
|
172
168
|
value: re
|
|
173
169
|
}),
|
|
174
|
-
warn:
|
|
170
|
+
warn: h({}, e, {
|
|
175
171
|
value: te
|
|
176
172
|
}),
|
|
177
|
-
error:
|
|
173
|
+
error: h({}, e, {
|
|
178
174
|
value: ne
|
|
179
175
|
}),
|
|
180
|
-
group:
|
|
176
|
+
group: h({}, e, {
|
|
181
177
|
value: ae
|
|
182
178
|
}),
|
|
183
|
-
groupCollapsed:
|
|
184
|
-
value: oe
|
|
185
|
-
}),
|
|
186
|
-
groupEnd: R({}, e, {
|
|
179
|
+
groupCollapsed: h({}, e, {
|
|
187
180
|
value: ie
|
|
181
|
+
}),
|
|
182
|
+
groupEnd: h({}, 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 U = O.ReactCurrentDispatcher, N;
|
|
191
|
+
function W(e, r, t) {
|
|
196
192
|
{
|
|
197
|
-
if (
|
|
193
|
+
if (N === 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
|
+
N = n && n[1] || "";
|
|
203
199
|
}
|
|
204
200
|
return `
|
|
205
|
-
` +
|
|
201
|
+
` + N + e;
|
|
206
202
|
}
|
|
207
203
|
}
|
|
208
|
-
var B = !1,
|
|
204
|
+
var B = !1, Y;
|
|
209
205
|
{
|
|
210
|
-
var
|
|
211
|
-
|
|
206
|
+
var $e = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
Y = new $e();
|
|
212
208
|
}
|
|
213
209
|
function se(e, r) {
|
|
214
210
|
if (!e || B)
|
|
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
218
|
B = !0;
|
|
223
|
-
var
|
|
219
|
+
var o = Error.prepareStackTrace;
|
|
224
220
|
Error.prepareStackTrace = void 0;
|
|
225
221
|
var u;
|
|
226
|
-
u =
|
|
222
|
+
u = U.current, U.current = null, We();
|
|
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
|
-
`), s = a.length - 1,
|
|
264
|
-
|
|
265
|
-
for (; s >= 1 &&
|
|
266
|
-
if (a[s] !== v[
|
|
267
|
-
if (s !== 1 ||
|
|
259
|
+
`), s = a.length - 1, l = v.length - 1; s >= 1 && l >= 0 && a[s] !== v[l]; )
|
|
260
|
+
l--;
|
|
261
|
+
for (; s >= 1 && l >= 0; s--, l--)
|
|
262
|
+
if (a[s] !== v[l]) {
|
|
263
|
+
if (s !== 1 || l !== 1)
|
|
268
264
|
do
|
|
269
|
-
if (s--,
|
|
270
|
-
var
|
|
265
|
+
if (s--, l--, l < 0 || a[s] !== v[l]) {
|
|
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
|
-
while (s >= 1 &&
|
|
270
|
+
while (s >= 1 && l >= 0);
|
|
275
271
|
break;
|
|
276
272
|
}
|
|
277
273
|
}
|
|
278
274
|
} finally {
|
|
279
|
-
B = !1,
|
|
275
|
+
B = !1, U.current = u, Ye(), Error.prepareStackTrace = o;
|
|
280
276
|
}
|
|
281
|
-
var
|
|
282
|
-
return typeof e == "function" &&
|
|
277
|
+
var P = e ? e.displayName || e.name : "", R = P ? W(P) : "";
|
|
278
|
+
return typeof e == "function" && Y.set(e, R), R;
|
|
283
279
|
}
|
|
284
|
-
function
|
|
280
|
+
function Le(e, r, t) {
|
|
285
281
|
return se(e, !1);
|
|
286
282
|
}
|
|
287
|
-
function
|
|
283
|
+
function Ve(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, Ve(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
|
-
case
|
|
307
|
-
return
|
|
308
|
-
case
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
var n = e,
|
|
302
|
+
case f:
|
|
303
|
+
return Le(e.render);
|
|
304
|
+
case _:
|
|
305
|
+
return $(e.type, r, t);
|
|
306
|
+
case b: {
|
|
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, le = {}, fe = O.ReactDebugCurrentFrame;
|
|
321
317
|
function L(e) {
|
|
322
318
|
if (e) {
|
|
323
|
-
var r = e._owner, t =
|
|
324
|
-
|
|
319
|
+
var r = e._owner, t = $(e.type, e._source, r ? r.type : null);
|
|
320
|
+
fe.setExtraStackFrame(t);
|
|
325
321
|
} else
|
|
326
|
-
|
|
322
|
+
fe.setExtraStackFrame(null);
|
|
327
323
|
}
|
|
328
|
-
function
|
|
324
|
+
function Me(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 le) && (le[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 Ue = Array.isArray;
|
|
344
|
+
function J(e) {
|
|
345
|
+
return Ue(e);
|
|
350
346
|
}
|
|
351
|
-
function
|
|
347
|
+
function Ne(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 Be(e) {
|
|
358
354
|
try {
|
|
359
355
|
return ce(e), !1;
|
|
360
356
|
} catch {
|
|
@@ -365,26 +361,25 @@ 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 (Be(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.", Ne(e)), ce(e);
|
|
370
366
|
}
|
|
371
|
-
var
|
|
367
|
+
var de = O.ReactCurrentOwner, Je = {
|
|
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 qe(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;
|
|
@@ -392,15 +387,12 @@ function ur() {
|
|
|
392
387
|
return e.key !== void 0;
|
|
393
388
|
}
|
|
394
389
|
function Ge(e, r) {
|
|
395
|
-
|
|
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
|
-
}
|
|
390
|
+
typeof e.ref == "string" && de.current;
|
|
399
391
|
}
|
|
400
392
|
function ze(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 Xe(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 He = function(e, r, t, n,
|
|
414
|
+
var He = 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 Ze(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), qe(r) && (ve(r.key), a = "" + r.key), Ke(r) && (v = r.ref, Ge(r, o));
|
|
455
447
|
for (u in r)
|
|
456
|
-
|
|
448
|
+
x.call(r, u) && !Je.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
|
-
var
|
|
464
|
-
a && ze(
|
|
455
|
+
var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
+
a && ze(i, l), v && Xe(i, l);
|
|
465
457
|
}
|
|
466
|
-
return He(e, a, v,
|
|
458
|
+
return He(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 q;
|
|
470
|
+
q = !1;
|
|
471
|
+
function G(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 Ze(e) {
|
|
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
|
-
}
|
|
504
|
-
}
|
|
505
|
-
var be = {};
|
|
506
486
|
function Qe(e) {
|
|
487
|
+
return "";
|
|
488
|
+
}
|
|
489
|
+
var ye = {};
|
|
490
|
+
function er(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 be(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 = er(r);
|
|
508
|
+
if (ye[t])
|
|
525
509
|
return;
|
|
526
|
-
|
|
510
|
+
ye[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
515
|
function he(e, r) {
|
|
532
516
|
{
|
|
533
517
|
if (typeof e != "object")
|
|
534
518
|
return;
|
|
535
|
-
if (
|
|
519
|
+
if (J(e))
|
|
536
520
|
for (var t = 0; t < e.length; t++) {
|
|
537
521
|
var n = e[t];
|
|
538
|
-
|
|
522
|
+
G(n) && be(n, r);
|
|
539
523
|
}
|
|
540
|
-
else if (
|
|
524
|
+
else if (G(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 = Ce(e);
|
|
528
|
+
if (typeof o == "function" && o !== e.entries)
|
|
529
|
+
for (var u = o.call(e), i; !(i = u.next()).done; )
|
|
530
|
+
G(i.value) && be(i.value, r);
|
|
547
531
|
}
|
|
548
532
|
}
|
|
549
533
|
}
|
|
550
|
-
function
|
|
534
|
+
function rr(e) {
|
|
551
535
|
{
|
|
552
536
|
var r = e.type;
|
|
553
537
|
if (r == null || typeof r == "string")
|
|
@@ -555,77 +539,92 @@ Check the top-level render call using <` + t + ">.");
|
|
|
555
539
|
var t;
|
|
556
540
|
if (typeof r == "function")
|
|
557
541
|
t = r.propTypes;
|
|
558
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
542
|
+
else if (typeof r == "object" && (r.$$typeof === f || // 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
|
+
Me(t, e.props, "prop", n, e);
|
|
551
|
+
} else if (r.PropTypes !== void 0 && !q) {
|
|
552
|
+
q = !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 tr(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 Re = {};
|
|
572
|
+
function me(e, r, t, n, o, u) {
|
|
588
573
|
{
|
|
589
|
-
var
|
|
590
|
-
if (!
|
|
574
|
+
var i = Ae(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 = Qe();
|
|
594
579
|
v ? a += v : a += Ee();
|
|
595
580
|
var s;
|
|
596
|
-
e === null ? s = "null" :
|
|
581
|
+
e === null ? s = "null" : J(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
|
|
599
|
-
if (
|
|
600
|
-
return
|
|
601
|
-
if (
|
|
602
|
-
var
|
|
603
|
-
if (
|
|
583
|
+
var l = Ze(e, r, t, o, u);
|
|
584
|
+
if (l == null)
|
|
585
|
+
return l;
|
|
586
|
+
if (i) {
|
|
587
|
+
var g = r.children;
|
|
588
|
+
if (g !== void 0)
|
|
604
589
|
if (n)
|
|
605
|
-
if (
|
|
606
|
-
for (var
|
|
607
|
-
he(
|
|
608
|
-
Object.freeze && Object.freeze(
|
|
590
|
+
if (J(g)) {
|
|
591
|
+
for (var P = 0; P < g.length; P++)
|
|
592
|
+
he(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
|
-
he(
|
|
597
|
+
he(g, e);
|
|
613
598
|
}
|
|
614
|
-
|
|
599
|
+
if (x.call(r, "key")) {
|
|
600
|
+
var R = E(e), d = Object.keys(r).filter(function(sr) {
|
|
601
|
+
return sr !== "key";
|
|
602
|
+
}), z = d.length > 0 ? "{key: someKey, " + d.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
+
if (!Re[R + z]) {
|
|
604
|
+
var ur = 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} />`, z, R, ur, R), Re[R + z] = !0;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
return e === m ? tr(l) : rr(l), l;
|
|
615
614
|
}
|
|
616
615
|
}
|
|
617
|
-
function tr(e, r, t) {
|
|
618
|
-
return Re(e, r, t, !0);
|
|
619
|
-
}
|
|
620
616
|
function nr(e, r, t) {
|
|
621
|
-
return
|
|
617
|
+
return me(e, r, t, !0);
|
|
618
|
+
}
|
|
619
|
+
function ar(e, r, t) {
|
|
620
|
+
return me(e, r, t, !1);
|
|
622
621
|
}
|
|
623
|
-
var
|
|
624
|
-
|
|
625
|
-
}()),
|
|
622
|
+
var ir = ar, or = nr;
|
|
623
|
+
D.Fragment = m, D.jsx = ir, D.jsxs = or;
|
|
624
|
+
}()), D;
|
|
626
625
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var
|
|
626
|
+
process.env.NODE_ENV === "production" ? X.exports = lr() : X.exports = fr();
|
|
627
|
+
var vr = X.exports;
|
|
629
628
|
export {
|
|
630
|
-
|
|
629
|
+
vr as j
|
|
631
630
|
};
|