@blockbite/ui 2.0.2 → 2.0.5
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/AutocompleteDropdown.js +22 -22
- package/dist/Badge.js +1 -1
- package/dist/BitePreview.js +1 -1
- package/dist/Button.d.ts +3 -3
- package/dist/Button.js +5 -5
- package/dist/ButtonToggle.d.ts +6 -6
- package/dist/ButtonToggle.js +10 -10
- package/dist/Chapter.js +7 -7
- package/dist/ChapterDivider.js +1 -1
- package/dist/Checkbox.js +8 -8
- package/dist/DisappearingMessage.js +1 -1
- package/dist/DropdownPicker.js +3 -3
- package/dist/EmptyState.js +1 -1
- package/dist/FloatingPanel.js +1 -1
- package/dist/FocalPointControl.js +7 -7
- package/dist/Icon.js +1 -1
- package/dist/LinkPicker.js +2 -2
- package/dist/MediaPicker.js +1 -1
- package/dist/MetricsControl.d.ts +1 -1
- package/dist/MetricsControl.js +40 -41
- package/dist/Modal.js +1 -1
- package/dist/Notice.d.ts +1 -1
- package/dist/Notice.js +9 -9
- package/dist/PasswordInput.js +1 -1
- package/dist/Popover.js +2 -2
- package/dist/RangeSlider.js +5 -5
- package/dist/ResponsiveImage.js +1 -1
- package/dist/ResponsiveVideo.js +1 -1
- package/dist/ScrollList.d.ts +1 -1
- package/dist/ScrollList.js +5 -5
- package/dist/SectionList.js +25 -25
- package/dist/SelectControlWrapper.js +1 -1
- package/dist/SingleBlockTypeAppender.js +1 -1
- package/dist/SlideIn.js +8 -8
- package/dist/Spinner.js +1 -1
- package/dist/Tabs.js +6 -6
- package/dist/Tag.js +1 -1
- package/dist/TextControl.js +5 -5
- package/dist/TextControlLabel.js +6 -6
- package/dist/ToggleGroup.d.ts +3 -3
- package/dist/ToggleGroup.js +7 -7
- package/dist/ToggleSwitch.js +9 -9
- package/dist/Wrap.js +1 -1
- package/dist/node_modules/{react → .pnpm/react@18.2.0/node_modules/react}/cjs/react-jsx-runtime.development.js +204 -219
- package/dist/node_modules/{react → .pnpm/react@18.2.0/node_modules/react}/cjs/react-jsx-runtime.production.min.js +1 -1
- package/dist/node_modules/{react → .pnpm/react@18.2.0/node_modules/react}/jsx-runtime.js +1 -1
- package/dist/packages/icons/jsx/ChevronDown.js +23 -0
- package/dist/packages/icons/jsx/ColumnSpacing.js +25 -0
- package/dist/packages/icons/jsx/Cross2.js +23 -0
- package/dist/packages/icons/jsx/Desktop.js +25 -0
- package/dist/packages/icons/jsx/Grid.js +25 -0
- package/dist/packages/icons/jsx/Pencil1.js +25 -0
- package/dist/packages/icons/jsx/Percentage.js +28 -0
- package/dist/packages/icons/jsx/Plus.js +23 -0
- package/dist/packages/icons/jsx/Slider.js +25 -0
- package/dist/packages/icons/jsx/Tailwind.js +23 -0
- package/dist/packages/icons/jsx/Trash.js +25 -0
- package/package.json +24 -26
- package/dist/_virtual/ChevronDown.js +0 -4
- package/dist/_virtual/ColumnSpacing.js +0 -4
- package/dist/_virtual/Cross2.js +0 -4
- package/dist/_virtual/Desktop.js +0 -4
- package/dist/_virtual/Grid.js +0 -4
- package/dist/_virtual/Pencil1.js +0 -4
- package/dist/_virtual/Percentage.js +0 -4
- package/dist/_virtual/Plus.js +0 -4
- package/dist/_virtual/Slider.js +0 -4
- package/dist/_virtual/Tailwind.js +0 -4
- package/dist/_virtual/Trash.js +0 -4
- package/dist/_virtual/_commonjsHelpers.js +0 -8
- package/dist/node_modules/@blockbite/icons/dist/ChevronDown.js +0 -63
- package/dist/node_modules/@blockbite/icons/dist/ColumnSpacing.js +0 -65
- package/dist/node_modules/@blockbite/icons/dist/Cross2.js +0 -63
- package/dist/node_modules/@blockbite/icons/dist/Desktop.js +0 -65
- package/dist/node_modules/@blockbite/icons/dist/Grid.js +0 -65
- package/dist/node_modules/@blockbite/icons/dist/Pencil1.js +0 -65
- package/dist/node_modules/@blockbite/icons/dist/Percentage.js +0 -74
- package/dist/node_modules/@blockbite/icons/dist/Plus.js +0 -63
- package/dist/node_modules/@blockbite/icons/dist/Slider.js +0 -65
- package/dist/node_modules/@blockbite/icons/dist/Tailwind.js +0 -63
- package/dist/node_modules/@blockbite/icons/dist/Trash.js +0 -65
- package/dist/node_modules/lodash/_Hash.js +0 -22
- package/dist/node_modules/lodash/_ListCache.js +0 -22
- package/dist/node_modules/lodash/_Map.js +0 -6
- package/dist/node_modules/lodash/_MapCache.js +0 -22
- package/dist/node_modules/lodash/_Symbol.js +0 -5
- package/dist/node_modules/lodash/_arrayMap.js +0 -9
- package/dist/node_modules/lodash/_assocIndexOf.js +0 -12
- package/dist/node_modules/lodash/_baseGetTag.js +0 -11
- package/dist/node_modules/lodash/_baseHas.js +0 -8
- package/dist/node_modules/lodash/_baseIsArguments.js +0 -10
- package/dist/node_modules/lodash/_baseIsNative.js +0 -17
- package/dist/node_modules/lodash/_baseToString.js +0 -19
- package/dist/node_modules/lodash/_castPath.js +0 -12
- package/dist/node_modules/lodash/_coreJsData.js +0 -5
- package/dist/node_modules/lodash/_freeGlobal.js +0 -5
- package/dist/node_modules/lodash/_getMapData.js +0 -10
- package/dist/node_modules/lodash/_getNative.js +0 -11
- package/dist/node_modules/lodash/_getRawTag.js +0 -16
- package/dist/node_modules/lodash/_getValue.js +0 -7
- package/dist/node_modules/lodash/_hasPath.js +0 -21
- package/dist/node_modules/lodash/_hashClear.js +0 -9
- package/dist/node_modules/lodash/_hashDelete.js +0 -8
- package/dist/node_modules/lodash/_hashGet.js +0 -14
- package/dist/node_modules/lodash/_hashHas.js +0 -10
- package/dist/node_modules/lodash/_hashSet.js +0 -10
- package/dist/node_modules/lodash/_isIndex.js +0 -9
- package/dist/node_modules/lodash/_isKey.js +0 -13
- package/dist/node_modules/lodash/_isKeyable.js +0 -8
- package/dist/node_modules/lodash/_isMasked.js +0 -12
- package/dist/node_modules/lodash/_listCacheClear.js +0 -7
- package/dist/node_modules/lodash/_listCacheDelete.js +0 -13
- package/dist/node_modules/lodash/_listCacheGet.js +0 -10
- package/dist/node_modules/lodash/_listCacheHas.js +0 -9
- package/dist/node_modules/lodash/_listCacheSet.js +0 -10
- package/dist/node_modules/lodash/_mapCacheClear.js +0 -15
- package/dist/node_modules/lodash/_mapCacheDelete.js +0 -10
- package/dist/node_modules/lodash/_mapCacheGet.js +0 -9
- package/dist/node_modules/lodash/_mapCacheHas.js +0 -9
- package/dist/node_modules/lodash/_mapCacheSet.js +0 -10
- package/dist/node_modules/lodash/_memoizeCapped.js +0 -12
- package/dist/node_modules/lodash/_nativeCreate.js +0 -5
- package/dist/node_modules/lodash/_objectToString.js +0 -8
- package/dist/node_modules/lodash/_root.js +0 -5
- package/dist/node_modules/lodash/_stringToPath.js +0 -10
- package/dist/node_modules/lodash/_toKey.js +0 -12
- package/dist/node_modules/lodash/_toSource.js +0 -18
- package/dist/node_modules/lodash/eq.js +0 -7
- package/dist/node_modules/lodash/has.js +0 -12
- package/dist/node_modules/lodash/isArguments.js +0 -10
- package/dist/node_modules/lodash/isArray.js +0 -4
- package/dist/node_modules/lodash/isFunction.js +0 -13
- package/dist/node_modules/lodash/isLength.js +0 -8
- package/dist/node_modules/lodash/isObject.js +0 -8
- package/dist/node_modules/lodash/isObjectLike.js +0 -7
- package/dist/node_modules/lodash/isSymbol.js +0 -10
- package/dist/node_modules/lodash/memoize.js +0 -19
- package/dist/node_modules/lodash/toString.js +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import
|
|
1
|
+
import { __exports as _ } from "../../../../../../_virtual/react-jsx-runtime.development.js";
|
|
2
|
+
import rr from "react";
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.development.js
|
|
@@ -10,26 +10,26 @@ import ir from "react";
|
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
12
|
var Ee;
|
|
13
|
-
function
|
|
14
|
-
return Ee ?
|
|
15
|
-
var
|
|
16
|
-
function
|
|
13
|
+
function ar() {
|
|
14
|
+
return Ee ? _ : (Ee = 1, process.env.NODE_ENV !== "production" && function() {
|
|
15
|
+
var be = rr, j = Symbol.for("react.element"), he = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), V = Symbol.for("react.strict_mode"), L = Symbol.for("react.profiler"), U = Symbol.for("react.provider"), N = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), Re = Symbol.for("react.offscreen"), B = Symbol.iterator, _e = "@@iterator";
|
|
16
|
+
function me(e) {
|
|
17
17
|
if (e === null || typeof e != "object")
|
|
18
18
|
return null;
|
|
19
|
-
var r =
|
|
19
|
+
var r = B && e[B] || e[_e];
|
|
20
20
|
return typeof r == "function" ? r : null;
|
|
21
21
|
}
|
|
22
|
-
var
|
|
23
|
-
function
|
|
22
|
+
var E = be.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
23
|
+
function c(e) {
|
|
24
24
|
{
|
|
25
25
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
26
26
|
t[n - 1] = arguments[n];
|
|
27
|
-
|
|
27
|
+
ye("error", e, t);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function ye(e, r, t) {
|
|
31
31
|
{
|
|
32
|
-
var n =
|
|
32
|
+
var n = E.ReactDebugCurrentFrame, o = n.getStackAddendum();
|
|
33
33
|
o !== "" && (r += "%s", t = t.concat([o]));
|
|
34
34
|
var u = t.map(function(i) {
|
|
35
35
|
return String(i);
|
|
@@ -37,60 +37,60 @@ function sr() {
|
|
|
37
37
|
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
|
|
42
|
-
function
|
|
43
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
40
|
+
var Te = !1, Ce = !1, Pe = !1, Oe = !1, we = !1, q;
|
|
41
|
+
q = Symbol.for("react.module.reference");
|
|
42
|
+
function Se(e) {
|
|
43
|
+
return !!(typeof e == "string" || typeof e == "function" || e === m || e === L || we || e === V || e === x || e === k || Oe || e === Re || Te || Ce || Pe || typeof e == "object" && e !== null && (e.$$typeof === D || e.$$typeof === T || e.$$typeof === U || e.$$typeof === N || e.$$typeof === y || // This needs to include all possible module reference object
|
|
44
44
|
// types supported by any Flight configuration anywhere since
|
|
45
45
|
// we don't know which Flight build this will end up being used
|
|
46
46
|
// with.
|
|
47
|
-
e.$$typeof ===
|
|
47
|
+
e.$$typeof === q || e.getModuleId !== void 0));
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function je(e, r, t) {
|
|
50
50
|
var n = e.displayName;
|
|
51
51
|
if (n)
|
|
52
52
|
return n;
|
|
53
53
|
var o = r.displayName || r.name || "";
|
|
54
54
|
return o !== "" ? t + "(" + o + ")" : t;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function G(e) {
|
|
57
57
|
return e.displayName || "Context";
|
|
58
58
|
}
|
|
59
59
|
function p(e) {
|
|
60
60
|
if (e == null)
|
|
61
61
|
return null;
|
|
62
|
-
if (typeof e.tag == "number" &&
|
|
62
|
+
if (typeof e.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
63
63
|
return e.displayName || e.name || null;
|
|
64
64
|
if (typeof e == "string")
|
|
65
65
|
return e;
|
|
66
66
|
switch (e) {
|
|
67
|
-
case
|
|
67
|
+
case m:
|
|
68
68
|
return "Fragment";
|
|
69
|
-
case
|
|
69
|
+
case he:
|
|
70
70
|
return "Portal";
|
|
71
|
-
case
|
|
71
|
+
case L:
|
|
72
72
|
return "Profiler";
|
|
73
|
-
case
|
|
73
|
+
case V:
|
|
74
74
|
return "StrictMode";
|
|
75
75
|
case x:
|
|
76
76
|
return "Suspense";
|
|
77
|
-
case
|
|
77
|
+
case k:
|
|
78
78
|
return "SuspenseList";
|
|
79
79
|
}
|
|
80
80
|
if (typeof e == "object")
|
|
81
81
|
switch (e.$$typeof) {
|
|
82
82
|
case N:
|
|
83
83
|
var r = e;
|
|
84
|
-
return
|
|
85
|
-
case
|
|
84
|
+
return G(r) + ".Consumer";
|
|
85
|
+
case U:
|
|
86
86
|
var t = e;
|
|
87
|
-
return
|
|
88
|
-
case
|
|
89
|
-
return
|
|
90
|
-
case
|
|
87
|
+
return G(t._context) + ".Provider";
|
|
88
|
+
case y:
|
|
89
|
+
return je(e, e.render, "ForwardRef");
|
|
90
|
+
case T:
|
|
91
91
|
var n = e.displayName || null;
|
|
92
92
|
return n !== null ? n : p(e.type) || "Memo";
|
|
93
|
-
case
|
|
93
|
+
case D: {
|
|
94
94
|
var o = e, u = o._payload, i = o._init;
|
|
95
95
|
try {
|
|
96
96
|
return p(i(u));
|
|
@@ -101,18 +101,18 @@ function sr() {
|
|
|
101
101
|
}
|
|
102
102
|
return null;
|
|
103
103
|
}
|
|
104
|
-
var g = Object.assign, R = 0, z,
|
|
105
|
-
function
|
|
104
|
+
var g = Object.assign, R = 0, z, J, K, H, X, Z, Q;
|
|
105
|
+
function ee() {
|
|
106
106
|
}
|
|
107
|
-
|
|
108
|
-
function
|
|
107
|
+
ee.__reactDisabledLog = !0;
|
|
108
|
+
function xe() {
|
|
109
109
|
{
|
|
110
110
|
if (R === 0) {
|
|
111
|
-
z = console.log,
|
|
111
|
+
z = console.log, J = console.info, K = console.warn, H = console.error, X = console.group, Z = console.groupCollapsed, Q = console.groupEnd;
|
|
112
112
|
var e = {
|
|
113
113
|
configurable: !0,
|
|
114
114
|
enumerable: !0,
|
|
115
|
-
value:
|
|
115
|
+
value: ee,
|
|
116
116
|
writable: !0
|
|
117
117
|
};
|
|
118
118
|
Object.defineProperties(console, {
|
|
@@ -128,7 +128,7 @@ function sr() {
|
|
|
128
128
|
R++;
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function ke() {
|
|
132
132
|
{
|
|
133
133
|
if (R--, R === 0) {
|
|
134
134
|
var e = {
|
|
@@ -141,61 +141,61 @@ function sr() {
|
|
|
141
141
|
value: z
|
|
142
142
|
}),
|
|
143
143
|
info: g({}, e, {
|
|
144
|
-
value:
|
|
144
|
+
value: J
|
|
145
145
|
}),
|
|
146
146
|
warn: g({}, e, {
|
|
147
|
-
value:
|
|
147
|
+
value: K
|
|
148
148
|
}),
|
|
149
149
|
error: g({}, e, {
|
|
150
|
-
value:
|
|
150
|
+
value: H
|
|
151
151
|
}),
|
|
152
152
|
group: g({}, e, {
|
|
153
|
-
value:
|
|
153
|
+
value: X
|
|
154
154
|
}),
|
|
155
155
|
groupCollapsed: g({}, e, {
|
|
156
|
-
value:
|
|
156
|
+
value: Z
|
|
157
157
|
}),
|
|
158
158
|
groupEnd: g({}, e, {
|
|
159
|
-
value:
|
|
159
|
+
value: Q
|
|
160
160
|
})
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
R < 0 &&
|
|
163
|
+
R < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
var
|
|
167
|
-
function
|
|
166
|
+
var F = E.ReactCurrentDispatcher, A;
|
|
167
|
+
function C(e, r, t) {
|
|
168
168
|
{
|
|
169
|
-
if (
|
|
169
|
+
if (A === void 0)
|
|
170
170
|
try {
|
|
171
171
|
throw Error();
|
|
172
172
|
} catch (o) {
|
|
173
173
|
var n = o.stack.trim().match(/\n( *(at )?)/);
|
|
174
|
-
|
|
174
|
+
A = n && n[1] || "";
|
|
175
175
|
}
|
|
176
176
|
return `
|
|
177
|
-
` +
|
|
177
|
+
` + A + e;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
var
|
|
180
|
+
var I = !1, P;
|
|
181
181
|
{
|
|
182
|
-
var
|
|
183
|
-
|
|
182
|
+
var De = typeof WeakMap == "function" ? WeakMap : Map;
|
|
183
|
+
P = new De();
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
if (!e ||
|
|
185
|
+
function re(e, r) {
|
|
186
|
+
if (!e || I)
|
|
187
187
|
return "";
|
|
188
188
|
{
|
|
189
|
-
var t =
|
|
189
|
+
var t = P.get(e);
|
|
190
190
|
if (t !== void 0)
|
|
191
191
|
return t;
|
|
192
192
|
}
|
|
193
193
|
var n;
|
|
194
|
-
|
|
194
|
+
I = !0;
|
|
195
195
|
var o = Error.prepareStackTrace;
|
|
196
196
|
Error.prepareStackTrace = void 0;
|
|
197
197
|
var u;
|
|
198
|
-
u =
|
|
198
|
+
u = F.current, F.current = null, xe();
|
|
199
199
|
try {
|
|
200
200
|
if (r) {
|
|
201
201
|
var i = function() {
|
|
@@ -208,167 +208,167 @@ function sr() {
|
|
|
208
208
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
209
209
|
try {
|
|
210
210
|
Reflect.construct(i, []);
|
|
211
|
-
} catch (
|
|
212
|
-
n =
|
|
211
|
+
} catch (d) {
|
|
212
|
+
n = d;
|
|
213
213
|
}
|
|
214
214
|
Reflect.construct(e, [], i);
|
|
215
215
|
} else {
|
|
216
216
|
try {
|
|
217
217
|
i.call();
|
|
218
|
-
} catch (
|
|
219
|
-
n =
|
|
218
|
+
} catch (d) {
|
|
219
|
+
n = d;
|
|
220
220
|
}
|
|
221
221
|
e.call(i.prototype);
|
|
222
222
|
}
|
|
223
223
|
} else {
|
|
224
224
|
try {
|
|
225
225
|
throw Error();
|
|
226
|
-
} catch (
|
|
227
|
-
n =
|
|
226
|
+
} catch (d) {
|
|
227
|
+
n = d;
|
|
228
228
|
}
|
|
229
229
|
e();
|
|
230
230
|
}
|
|
231
|
-
} catch (
|
|
232
|
-
if (
|
|
233
|
-
for (var a =
|
|
234
|
-
`),
|
|
235
|
-
`),
|
|
236
|
-
|
|
237
|
-
for (;
|
|
238
|
-
if (a[
|
|
239
|
-
if (
|
|
231
|
+
} catch (d) {
|
|
232
|
+
if (d && n && typeof d.stack == "string") {
|
|
233
|
+
for (var a = d.stack.split(`
|
|
234
|
+
`), f = n.stack.split(`
|
|
235
|
+
`), l = a.length - 1, s = f.length - 1; l >= 1 && s >= 0 && a[l] !== f[s]; )
|
|
236
|
+
s--;
|
|
237
|
+
for (; l >= 1 && s >= 0; l--, s--)
|
|
238
|
+
if (a[l] !== f[s]) {
|
|
239
|
+
if (l !== 1 || s !== 1)
|
|
240
240
|
do
|
|
241
|
-
if (
|
|
242
|
-
var
|
|
243
|
-
` + a[
|
|
244
|
-
return e.displayName &&
|
|
241
|
+
if (l--, s--, s < 0 || a[l] !== f[s]) {
|
|
242
|
+
var v = `
|
|
243
|
+
` + a[l].replace(" at new ", " at ");
|
|
244
|
+
return e.displayName && v.includes("<anonymous>") && (v = v.replace("<anonymous>", e.displayName)), typeof e == "function" && P.set(e, v), v;
|
|
245
245
|
}
|
|
246
|
-
while (
|
|
246
|
+
while (l >= 1 && s >= 0);
|
|
247
247
|
break;
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
} finally {
|
|
251
|
-
|
|
251
|
+
I = !1, F.current = u, ke(), Error.prepareStackTrace = o;
|
|
252
252
|
}
|
|
253
|
-
var
|
|
254
|
-
return typeof e == "function" &&
|
|
253
|
+
var h = e ? e.displayName || e.name : "", ge = h ? C(h) : "";
|
|
254
|
+
return typeof e == "function" && P.set(e, ge), ge;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
257
|
-
return
|
|
256
|
+
function Fe(e, r, t) {
|
|
257
|
+
return re(e, !1);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function Ae(e) {
|
|
260
260
|
var r = e.prototype;
|
|
261
261
|
return !!(r && r.isReactComponent);
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function O(e, r, t) {
|
|
264
264
|
if (e == null)
|
|
265
265
|
return "";
|
|
266
266
|
if (typeof e == "function")
|
|
267
|
-
return
|
|
267
|
+
return re(e, Ae(e));
|
|
268
268
|
if (typeof e == "string")
|
|
269
|
-
return
|
|
269
|
+
return C(e);
|
|
270
270
|
switch (e) {
|
|
271
271
|
case x:
|
|
272
|
-
return
|
|
273
|
-
case
|
|
274
|
-
return
|
|
272
|
+
return C("Suspense");
|
|
273
|
+
case k:
|
|
274
|
+
return C("SuspenseList");
|
|
275
275
|
}
|
|
276
276
|
if (typeof e == "object")
|
|
277
277
|
switch (e.$$typeof) {
|
|
278
|
-
case
|
|
279
|
-
return
|
|
280
|
-
case
|
|
281
|
-
return
|
|
282
|
-
case
|
|
278
|
+
case y:
|
|
279
|
+
return Fe(e.render);
|
|
280
|
+
case T:
|
|
281
|
+
return O(e.type, r, t);
|
|
282
|
+
case D: {
|
|
283
283
|
var n = e, o = n._payload, u = n._init;
|
|
284
284
|
try {
|
|
285
|
-
return
|
|
285
|
+
return O(u(o), r, t);
|
|
286
286
|
} catch {
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
return "";
|
|
291
291
|
}
|
|
292
|
-
var
|
|
293
|
-
function
|
|
292
|
+
var w = Object.prototype.hasOwnProperty, te = {}, ne = E.ReactDebugCurrentFrame;
|
|
293
|
+
function S(e) {
|
|
294
294
|
if (e) {
|
|
295
|
-
var r = e._owner, t =
|
|
296
|
-
|
|
295
|
+
var r = e._owner, t = O(e.type, e._source, r ? r.type : null);
|
|
296
|
+
ne.setExtraStackFrame(t);
|
|
297
297
|
} else
|
|
298
|
-
|
|
298
|
+
ne.setExtraStackFrame(null);
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Ie(e, r, t, n, o) {
|
|
301
301
|
{
|
|
302
|
-
var u = Function.call.bind(
|
|
302
|
+
var u = Function.call.bind(w);
|
|
303
303
|
for (var i in e)
|
|
304
304
|
if (u(e, i)) {
|
|
305
305
|
var a = void 0;
|
|
306
306
|
try {
|
|
307
307
|
if (typeof e[i] != "function") {
|
|
308
|
-
var
|
|
309
|
-
throw
|
|
308
|
+
var f = 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`.");
|
|
309
|
+
throw f.name = "Invariant Violation", f;
|
|
310
310
|
}
|
|
311
311
|
a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
312
|
-
} catch (
|
|
313
|
-
a =
|
|
312
|
+
} catch (l) {
|
|
313
|
+
a = l;
|
|
314
314
|
}
|
|
315
|
-
a && !(a instanceof Error) && (
|
|
315
|
+
a && !(a instanceof Error) && (S(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), S(null)), a instanceof Error && !(a.message in te) && (te[a.message] = !0, S(o), c("Failed %s type: %s", t, a.message), S(null));
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
|
-
var
|
|
320
|
-
function
|
|
321
|
-
return
|
|
319
|
+
var $e = Array.isArray;
|
|
320
|
+
function $(e) {
|
|
321
|
+
return $e(e);
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function Ye(e) {
|
|
324
324
|
{
|
|
325
325
|
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
326
326
|
return t;
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function We(e) {
|
|
330
330
|
try {
|
|
331
|
-
return
|
|
331
|
+
return ae(e), !1;
|
|
332
332
|
} catch {
|
|
333
333
|
return !0;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function ae(e) {
|
|
337
337
|
return "" + e;
|
|
338
338
|
}
|
|
339
|
-
function
|
|
340
|
-
if (
|
|
341
|
-
return
|
|
339
|
+
function ie(e) {
|
|
340
|
+
if (We(e))
|
|
341
|
+
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ye(e)), ae(e);
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var oe = E.ReactCurrentOwner, Me = {
|
|
344
344
|
key: !0,
|
|
345
345
|
ref: !0,
|
|
346
346
|
__self: !0,
|
|
347
347
|
__source: !0
|
|
348
|
-
},
|
|
349
|
-
function
|
|
350
|
-
if (
|
|
348
|
+
}, ue, le;
|
|
349
|
+
function Ve(e) {
|
|
350
|
+
if (w.call(e, "ref")) {
|
|
351
351
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
352
352
|
if (r && r.isReactWarning)
|
|
353
353
|
return !1;
|
|
354
354
|
}
|
|
355
355
|
return e.ref !== void 0;
|
|
356
356
|
}
|
|
357
|
-
function
|
|
358
|
-
if (
|
|
357
|
+
function Le(e) {
|
|
358
|
+
if (w.call(e, "key")) {
|
|
359
359
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
360
360
|
if (r && r.isReactWarning)
|
|
361
361
|
return !1;
|
|
362
362
|
}
|
|
363
363
|
return e.key !== void 0;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
typeof e.ref == "string" &&
|
|
365
|
+
function Ue(e, r) {
|
|
366
|
+
typeof e.ref == "string" && oe.current;
|
|
367
367
|
}
|
|
368
368
|
function Ne(e, r) {
|
|
369
369
|
{
|
|
370
370
|
var t = function() {
|
|
371
|
-
|
|
371
|
+
ue || (ue = !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));
|
|
372
372
|
};
|
|
373
373
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
374
374
|
get: t,
|
|
@@ -376,10 +376,10 @@ function sr() {
|
|
|
376
376
|
});
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function Be(e, r) {
|
|
380
380
|
{
|
|
381
381
|
var t = function() {
|
|
382
|
-
|
|
382
|
+
le || (le = !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));
|
|
383
383
|
};
|
|
384
384
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
385
385
|
get: t,
|
|
@@ -387,10 +387,10 @@ function sr() {
|
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
var
|
|
390
|
+
var qe = function(e, r, t, n, o, u, i) {
|
|
391
391
|
var a = {
|
|
392
392
|
// This tag allows us to uniquely identify this as a React Element
|
|
393
|
-
$$typeof:
|
|
393
|
+
$$typeof: j,
|
|
394
394
|
// Built-in properties that belong on the element
|
|
395
395
|
type: e,
|
|
396
396
|
key: r,
|
|
@@ -416,38 +416,38 @@ function sr() {
|
|
|
416
416
|
value: o
|
|
417
417
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
418
418
|
};
|
|
419
|
-
function
|
|
419
|
+
function Ge(e, r, t, n, o) {
|
|
420
420
|
{
|
|
421
|
-
var u, i = {}, a = null,
|
|
422
|
-
t !== void 0 && (
|
|
421
|
+
var u, i = {}, a = null, f = null;
|
|
422
|
+
t !== void 0 && (ie(t), a = "" + t), Le(r) && (ie(r.key), a = "" + r.key), Ve(r) && (f = r.ref, Ue(r, o));
|
|
423
423
|
for (u in r)
|
|
424
|
-
|
|
424
|
+
w.call(r, u) && !Me.hasOwnProperty(u) && (i[u] = r[u]);
|
|
425
425
|
if (e && e.defaultProps) {
|
|
426
|
-
var
|
|
427
|
-
for (u in
|
|
428
|
-
i[u] === void 0 && (i[u] =
|
|
426
|
+
var l = e.defaultProps;
|
|
427
|
+
for (u in l)
|
|
428
|
+
i[u] === void 0 && (i[u] = l[u]);
|
|
429
429
|
}
|
|
430
|
-
if (a ||
|
|
431
|
-
var
|
|
432
|
-
a && Ne(i,
|
|
430
|
+
if (a || f) {
|
|
431
|
+
var s = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
432
|
+
a && Ne(i, s), f && Be(i, s);
|
|
433
433
|
}
|
|
434
|
-
return
|
|
434
|
+
return qe(e, a, f, o, n, oe.current, i);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
var Y =
|
|
438
|
-
function
|
|
437
|
+
var Y = E.ReactCurrentOwner, se = E.ReactDebugCurrentFrame;
|
|
438
|
+
function b(e) {
|
|
439
439
|
if (e) {
|
|
440
|
-
var r = e._owner, t =
|
|
441
|
-
|
|
440
|
+
var r = e._owner, t = O(e.type, e._source, r ? r.type : null);
|
|
441
|
+
se.setExtraStackFrame(t);
|
|
442
442
|
} else
|
|
443
|
-
|
|
443
|
+
se.setExtraStackFrame(null);
|
|
444
444
|
}
|
|
445
|
-
var
|
|
446
|
-
|
|
447
|
-
function
|
|
448
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
445
|
+
var W;
|
|
446
|
+
W = !1;
|
|
447
|
+
function M(e) {
|
|
448
|
+
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function fe() {
|
|
451
451
|
{
|
|
452
452
|
if (Y.current) {
|
|
453
453
|
var e = p(Y.current.type);
|
|
@@ -462,10 +462,10 @@ Check the render method of \`` + e + "`.";
|
|
|
462
462
|
function ze(e) {
|
|
463
463
|
return "";
|
|
464
464
|
}
|
|
465
|
-
var
|
|
466
|
-
function
|
|
465
|
+
var ce = {};
|
|
466
|
+
function Je(e) {
|
|
467
467
|
{
|
|
468
|
-
var r =
|
|
468
|
+
var r = fe();
|
|
469
469
|
if (!r) {
|
|
470
470
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
471
471
|
t && (r = `
|
|
@@ -475,39 +475,39 @@ Check the top-level render call using <` + t + ">.");
|
|
|
475
475
|
return r;
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function ve(e, r) {
|
|
479
479
|
{
|
|
480
480
|
if (!e._store || e._store.validated || e.key != null)
|
|
481
481
|
return;
|
|
482
482
|
e._store.validated = !0;
|
|
483
|
-
var t =
|
|
484
|
-
if (
|
|
483
|
+
var t = Je(r);
|
|
484
|
+
if (ce[t])
|
|
485
485
|
return;
|
|
486
|
-
|
|
486
|
+
ce[t] = !0;
|
|
487
487
|
var n = "";
|
|
488
|
-
e && e._owner && e._owner !== Y.current && (n = " It was passed a child from " + p(e._owner.type) + "."),
|
|
488
|
+
e && e._owner && e._owner !== Y.current && (n = " It was passed a child from " + p(e._owner.type) + "."), b(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), b(null);
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function de(e, r) {
|
|
492
492
|
{
|
|
493
493
|
if (typeof e != "object")
|
|
494
494
|
return;
|
|
495
|
-
if (
|
|
495
|
+
if ($(e))
|
|
496
496
|
for (var t = 0; t < e.length; t++) {
|
|
497
497
|
var n = e[t];
|
|
498
|
-
|
|
498
|
+
M(n) && ve(n, r);
|
|
499
499
|
}
|
|
500
|
-
else if (
|
|
500
|
+
else if (M(e))
|
|
501
501
|
e._store && (e._store.validated = !0);
|
|
502
502
|
else if (e) {
|
|
503
|
-
var o =
|
|
503
|
+
var o = me(e);
|
|
504
504
|
if (typeof o == "function" && o !== e.entries)
|
|
505
505
|
for (var u = o.call(e), i; !(i = u.next()).done; )
|
|
506
|
-
|
|
506
|
+
M(i.value) && ve(i.value, r);
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function Ke(e) {
|
|
511
511
|
{
|
|
512
512
|
var r = e.type;
|
|
513
513
|
if (r == null || typeof r == "string")
|
|
@@ -515,90 +515,75 @@ Check the top-level render call using <` + t + ">.");
|
|
|
515
515
|
var t;
|
|
516
516
|
if (typeof r == "function")
|
|
517
517
|
t = r.propTypes;
|
|
518
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
518
|
+
else if (typeof r == "object" && (r.$$typeof === y || // Note: Memo only checks outer props here.
|
|
519
519
|
// Inner props are checked in the reconciler.
|
|
520
|
-
r.$$typeof ===
|
|
520
|
+
r.$$typeof === T))
|
|
521
521
|
t = r.propTypes;
|
|
522
522
|
else
|
|
523
523
|
return;
|
|
524
524
|
if (t) {
|
|
525
525
|
var n = p(r);
|
|
526
|
-
|
|
527
|
-
} else if (r.PropTypes !== void 0 && !
|
|
528
|
-
|
|
526
|
+
Ie(t, e.props, "prop", n, e);
|
|
527
|
+
} else if (r.PropTypes !== void 0 && !W) {
|
|
528
|
+
W = !0;
|
|
529
529
|
var o = p(r);
|
|
530
|
-
|
|
530
|
+
c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
|
|
531
531
|
}
|
|
532
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
532
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function He(e) {
|
|
536
536
|
{
|
|
537
537
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
538
538
|
var n = r[t];
|
|
539
539
|
if (n !== "children" && n !== "key") {
|
|
540
|
-
|
|
540
|
+
b(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), b(null);
|
|
541
541
|
break;
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
|
-
e.ref !== null && (
|
|
544
|
+
e.ref !== null && (b(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), b(null));
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
|
|
548
|
-
function he(e, r, t, n, o, u) {
|
|
547
|
+
function pe(e, r, t, n, o, u) {
|
|
549
548
|
{
|
|
550
|
-
var i =
|
|
549
|
+
var i = Se(e);
|
|
551
550
|
if (!i) {
|
|
552
551
|
var a = "";
|
|
553
552
|
(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.");
|
|
554
|
-
var
|
|
555
|
-
|
|
556
|
-
var
|
|
557
|
-
e === null ?
|
|
553
|
+
var f = ze();
|
|
554
|
+
f ? a += f : a += fe();
|
|
555
|
+
var l;
|
|
556
|
+
e === null ? l = "null" : $(e) ? l = "array" : e !== void 0 && e.$$typeof === j ? (l = "<" + (p(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : l = 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", l, a);
|
|
558
557
|
}
|
|
559
|
-
var
|
|
560
|
-
if (
|
|
561
|
-
return
|
|
558
|
+
var s = Ge(e, r, t, o, u);
|
|
559
|
+
if (s == null)
|
|
560
|
+
return s;
|
|
562
561
|
if (i) {
|
|
563
|
-
var
|
|
564
|
-
if (
|
|
562
|
+
var v = r.children;
|
|
563
|
+
if (v !== void 0)
|
|
565
564
|
if (n)
|
|
566
|
-
if (
|
|
567
|
-
for (var
|
|
568
|
-
|
|
569
|
-
Object.freeze && Object.freeze(
|
|
565
|
+
if ($(v)) {
|
|
566
|
+
for (var h = 0; h < v.length; h++)
|
|
567
|
+
de(v[h], e);
|
|
568
|
+
Object.freeze && Object.freeze(v);
|
|
570
569
|
} else
|
|
571
|
-
|
|
570
|
+
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.");
|
|
572
571
|
else
|
|
573
|
-
|
|
574
|
-
}
|
|
575
|
-
if (_.call(r, "key")) {
|
|
576
|
-
var b = p(e), v = Object.keys(r).filter(function(ar) {
|
|
577
|
-
return ar !== "key";
|
|
578
|
-
}), L = v.length > 0 ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
579
|
-
if (!be[b + L]) {
|
|
580
|
-
var nr = v.length > 0 ? "{" + v.join(": ..., ") + ": ...}" : "{}";
|
|
581
|
-
f(`A props object containing a "key" prop is being spread into JSX:
|
|
582
|
-
let props = %s;
|
|
583
|
-
<%s {...props} />
|
|
584
|
-
React keys must be passed directly to JSX without using spread:
|
|
585
|
-
let props = %s;
|
|
586
|
-
<%s key={someKey} {...props} />`, L, b, nr, b), be[b + L] = !0;
|
|
587
|
-
}
|
|
572
|
+
de(v, e);
|
|
588
573
|
}
|
|
589
|
-
return e ===
|
|
574
|
+
return e === m ? He(s) : Ke(s), s;
|
|
590
575
|
}
|
|
591
576
|
}
|
|
592
|
-
function
|
|
593
|
-
return
|
|
577
|
+
function Xe(e, r, t) {
|
|
578
|
+
return pe(e, r, t, !0);
|
|
594
579
|
}
|
|
595
|
-
function
|
|
596
|
-
return
|
|
580
|
+
function Ze(e, r, t) {
|
|
581
|
+
return pe(e, r, t, !1);
|
|
597
582
|
}
|
|
598
|
-
var
|
|
599
|
-
|
|
600
|
-
}(),
|
|
583
|
+
var Qe = Ze, er = Xe;
|
|
584
|
+
_.Fragment = m, _.jsx = Qe, _.jsxs = er;
|
|
585
|
+
}(), _);
|
|
601
586
|
}
|
|
602
587
|
export {
|
|
603
|
-
|
|
588
|
+
ar as __require
|
|
604
589
|
};
|