@blocknote/mantine 0.13.4 → 0.14.0
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/blocknote-mantine.js +624 -611
- package/dist/blocknote-mantine.js.map +1 -1
- package/dist/blocknote-mantine.umd.cjs +10 -10
- package/dist/blocknote-mantine.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/webpack-stats.json +1 -1
- package/package.json +7 -4
- package/src/form/TextInput.tsx +2 -2
- package/src/index.tsx +5 -1
- package/src/menu/Menu.tsx +28 -18
- package/src/panel/Panel.tsx +16 -12
- package/src/panel/PanelButton.tsx +3 -3
- package/src/panel/PanelFileInput.tsx +2 -2
- package/src/panel/PanelTextInput.tsx +2 -2
- package/src/popover/Popover.tsx +10 -6
- package/src/sideMenu/SideMenu.tsx +9 -4
- package/src/sideMenu/SideMenuButton.tsx +8 -5
- package/src/style.css +1 -0
- package/src/suggestionMenu/SuggestionMenu.tsx +3 -3
- package/src/suggestionMenu/SuggestionMenuEmptyItem.tsx +5 -5
- package/src/suggestionMenu/SuggestionMenuItem.tsx +19 -14
- package/src/suggestionMenu/SuggestionMenuLabel.tsx +3 -3
- package/src/suggestionMenu/SuggestionMenuLoader.tsx +2 -2
- package/src/tableHandle/TableHandle.tsx +4 -2
- package/src/toolbar/Toolbar.tsx +3 -3
- package/src/toolbar/ToolbarButton.tsx +17 -11
- package/src/toolbar/ToolbarSelect.tsx +16 -12
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useBlockNoteContext as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
var ie = { exports: {} }, B = {};
|
|
1
|
+
import D, { forwardRef as R, createContext as Ir, useState as Lr, useRef as Le, useCallback as le, useContext as Ar } from "react";
|
|
2
|
+
import { useBlockNoteContext as $r, ComponentsContext as zr, BlockNoteViewRaw as Wr } from "@blocknote/react";
|
|
3
|
+
import { TextInput as Ge, Menu as C, CheckIcon as He, Group as N, Tabs as J, LoadingOverlay as Br, Button as V, FileInput as Vr, Popover as Yr, PopoverTarget as Ur, PopoverDropdown as Gr, ActionIcon as Ke, Stack as de, Text as X, Badge as Hr, Loader as Kr, Tooltip as qr, MantineProvider as Jr } from "@mantine/core";
|
|
4
|
+
import Xr from "use-prefers-color-scheme";
|
|
5
|
+
import { assertEmpty as j, isSafari as ue } from "@blocknote/core";
|
|
6
|
+
import { mergeRefs as qe, useFocusWithin as Zr, useFocusTrap as Qr } from "@mantine/hooks";
|
|
7
|
+
var ce = { exports: {} }, W = {};
|
|
9
8
|
/**
|
|
10
9
|
* @license React
|
|
11
10
|
* react-jsx-runtime.production.min.js
|
|
@@ -15,25 +14,25 @@ var ie = { exports: {} }, B = {};
|
|
|
15
14
|
* This source code is licensed under the MIT license found in the
|
|
16
15
|
* LICENSE file in the root directory of this source tree.
|
|
17
16
|
*/
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
if (
|
|
21
|
-
return
|
|
22
|
-
|
|
23
|
-
var r =
|
|
24
|
-
function
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
for (
|
|
28
|
-
|
|
17
|
+
var Ae;
|
|
18
|
+
function et() {
|
|
19
|
+
if (Ae)
|
|
20
|
+
return W;
|
|
21
|
+
Ae = 1;
|
|
22
|
+
var r = D, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, s = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
|
+
function d(u, v, b) {
|
|
24
|
+
var h, w = {}, k = null, Y = null;
|
|
25
|
+
b !== void 0 && (k = "" + b), v.key !== void 0 && (k = "" + v.key), v.ref !== void 0 && (Y = v.ref);
|
|
26
|
+
for (h in v)
|
|
27
|
+
a.call(v, h) && !c.hasOwnProperty(h) && (w[h] = v[h]);
|
|
29
28
|
if (u && u.defaultProps)
|
|
30
|
-
for (
|
|
31
|
-
w[
|
|
32
|
-
return { $$typeof: t, type: u, key:
|
|
29
|
+
for (h in v = u.defaultProps, v)
|
|
30
|
+
w[h] === void 0 && (w[h] = v[h]);
|
|
31
|
+
return { $$typeof: t, type: u, key: k, ref: Y, props: w, _owner: s.current };
|
|
33
32
|
}
|
|
34
|
-
return
|
|
33
|
+
return W.Fragment = n, W.jsx = d, W.jsxs = d, W;
|
|
35
34
|
}
|
|
36
|
-
var
|
|
35
|
+
var B = {};
|
|
37
36
|
/**
|
|
38
37
|
* @license React
|
|
39
38
|
* react-jsx-runtime.development.js
|
|
@@ -43,51 +42,51 @@ var $ = {};
|
|
|
43
42
|
* This source code is licensed under the MIT license found in the
|
|
44
43
|
* LICENSE file in the root directory of this source tree.
|
|
45
44
|
*/
|
|
46
|
-
var
|
|
47
|
-
function
|
|
48
|
-
return
|
|
49
|
-
var r =
|
|
50
|
-
function
|
|
45
|
+
var $e;
|
|
46
|
+
function rt() {
|
|
47
|
+
return $e || ($e = 1, process.env.NODE_ENV !== "production" && function() {
|
|
48
|
+
var r = D, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), u = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), fe = Symbol.iterator, rr = "@@iterator";
|
|
49
|
+
function tr(e) {
|
|
51
50
|
if (e === null || typeof e != "object")
|
|
52
51
|
return null;
|
|
53
|
-
var
|
|
54
|
-
return typeof
|
|
52
|
+
var o = fe && e[fe] || e[rr];
|
|
53
|
+
return typeof o == "function" ? o : null;
|
|
55
54
|
}
|
|
56
|
-
var
|
|
55
|
+
var I = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
57
56
|
function S(e) {
|
|
58
57
|
{
|
|
59
|
-
for (var
|
|
60
|
-
i[
|
|
61
|
-
|
|
58
|
+
for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), f = 1; f < o; f++)
|
|
59
|
+
i[f - 1] = arguments[f];
|
|
60
|
+
nr("error", e, i);
|
|
62
61
|
}
|
|
63
62
|
}
|
|
64
|
-
function
|
|
63
|
+
function nr(e, o, i) {
|
|
65
64
|
{
|
|
66
|
-
var
|
|
67
|
-
|
|
68
|
-
var
|
|
65
|
+
var f = I.ReactDebugCurrentFrame, p = f.getStackAddendum();
|
|
66
|
+
p !== "" && (o += "%s", i = i.concat([p]));
|
|
67
|
+
var y = i.map(function(g) {
|
|
69
68
|
return String(g);
|
|
70
69
|
});
|
|
71
|
-
|
|
70
|
+
y.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, y);
|
|
72
71
|
}
|
|
73
72
|
}
|
|
74
|
-
var
|
|
75
|
-
|
|
76
|
-
function
|
|
77
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
73
|
+
var ar = !1, or = !1, ir = !1, sr = !1, lr = !1, ve;
|
|
74
|
+
ve = Symbol.for("react.module.reference");
|
|
75
|
+
function ur(e) {
|
|
76
|
+
return !!(typeof e == "string" || typeof e == "function" || e === a || e === c || lr || e === s || e === b || e === h || sr || e === Y || ar || or || ir || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === w || e.$$typeof === d || e.$$typeof === u || e.$$typeof === v || // This needs to include all possible module reference object
|
|
78
77
|
// types supported by any Flight configuration anywhere since
|
|
79
78
|
// we don't know which Flight build this will end up being used
|
|
80
79
|
// with.
|
|
81
|
-
e.$$typeof ===
|
|
80
|
+
e.$$typeof === ve || e.getModuleId !== void 0));
|
|
82
81
|
}
|
|
83
|
-
function
|
|
84
|
-
var
|
|
85
|
-
if (
|
|
86
|
-
return
|
|
87
|
-
var
|
|
88
|
-
return
|
|
82
|
+
function cr(e, o, i) {
|
|
83
|
+
var f = e.displayName;
|
|
84
|
+
if (f)
|
|
85
|
+
return f;
|
|
86
|
+
var p = o.displayName || o.name || "";
|
|
87
|
+
return p !== "" ? i + "(" + p + ")" : i;
|
|
89
88
|
}
|
|
90
|
-
function
|
|
89
|
+
function be(e) {
|
|
91
90
|
return e.displayName || "Context";
|
|
92
91
|
}
|
|
93
92
|
function O(e) {
|
|
@@ -98,7 +97,7 @@ function zr() {
|
|
|
98
97
|
if (typeof e == "string")
|
|
99
98
|
return e;
|
|
100
99
|
switch (e) {
|
|
101
|
-
case
|
|
100
|
+
case a:
|
|
102
101
|
return "Fragment";
|
|
103
102
|
case n:
|
|
104
103
|
return "Portal";
|
|
@@ -106,28 +105,28 @@ function zr() {
|
|
|
106
105
|
return "Profiler";
|
|
107
106
|
case s:
|
|
108
107
|
return "StrictMode";
|
|
109
|
-
case
|
|
108
|
+
case b:
|
|
110
109
|
return "Suspense";
|
|
111
|
-
case
|
|
110
|
+
case h:
|
|
112
111
|
return "SuspenseList";
|
|
113
112
|
}
|
|
114
113
|
if (typeof e == "object")
|
|
115
114
|
switch (e.$$typeof) {
|
|
116
115
|
case u:
|
|
117
|
-
var
|
|
118
|
-
return
|
|
119
|
-
case
|
|
116
|
+
var o = e;
|
|
117
|
+
return be(o) + ".Consumer";
|
|
118
|
+
case d:
|
|
120
119
|
var i = e;
|
|
121
|
-
return
|
|
122
|
-
case
|
|
123
|
-
return
|
|
120
|
+
return be(i._context) + ".Provider";
|
|
121
|
+
case v:
|
|
122
|
+
return cr(e, e.render, "ForwardRef");
|
|
124
123
|
case w:
|
|
125
|
-
var
|
|
126
|
-
return
|
|
127
|
-
case
|
|
128
|
-
var
|
|
124
|
+
var f = e.displayName || null;
|
|
125
|
+
return f !== null ? f : O(e.type) || "Memo";
|
|
126
|
+
case k: {
|
|
127
|
+
var p = e, y = p._payload, g = p._init;
|
|
129
128
|
try {
|
|
130
|
-
return O(g(
|
|
129
|
+
return O(g(y));
|
|
131
130
|
} catch {
|
|
132
131
|
return null;
|
|
133
132
|
}
|
|
@@ -135,18 +134,18 @@ function zr() {
|
|
|
135
134
|
}
|
|
136
135
|
return null;
|
|
137
136
|
}
|
|
138
|
-
var
|
|
139
|
-
function
|
|
137
|
+
var M = Object.assign, $ = 0, me, ge, pe, he, xe, ye, je;
|
|
138
|
+
function Re() {
|
|
140
139
|
}
|
|
141
|
-
|
|
142
|
-
function
|
|
140
|
+
Re.__reactDisabledLog = !0;
|
|
141
|
+
function dr() {
|
|
143
142
|
{
|
|
144
|
-
if (
|
|
145
|
-
|
|
143
|
+
if ($ === 0) {
|
|
144
|
+
me = console.log, ge = console.info, pe = console.warn, he = console.error, xe = console.group, ye = console.groupCollapsed, je = console.groupEnd;
|
|
146
145
|
var e = {
|
|
147
146
|
configurable: !0,
|
|
148
147
|
enumerable: !0,
|
|
149
|
-
value:
|
|
148
|
+
value: Re,
|
|
150
149
|
writable: !0
|
|
151
150
|
};
|
|
152
151
|
Object.defineProperties(console, {
|
|
@@ -159,79 +158,79 @@ function zr() {
|
|
|
159
158
|
groupEnd: e
|
|
160
159
|
});
|
|
161
160
|
}
|
|
162
|
-
|
|
161
|
+
$++;
|
|
163
162
|
}
|
|
164
163
|
}
|
|
165
|
-
function
|
|
164
|
+
function fr() {
|
|
166
165
|
{
|
|
167
|
-
if (
|
|
166
|
+
if ($--, $ === 0) {
|
|
168
167
|
var e = {
|
|
169
168
|
configurable: !0,
|
|
170
169
|
enumerable: !0,
|
|
171
170
|
writable: !0
|
|
172
171
|
};
|
|
173
172
|
Object.defineProperties(console, {
|
|
174
|
-
log:
|
|
175
|
-
value:
|
|
173
|
+
log: M({}, e, {
|
|
174
|
+
value: me
|
|
176
175
|
}),
|
|
177
|
-
info:
|
|
178
|
-
value:
|
|
176
|
+
info: M({}, e, {
|
|
177
|
+
value: ge
|
|
179
178
|
}),
|
|
180
|
-
warn:
|
|
181
|
-
value:
|
|
179
|
+
warn: M({}, e, {
|
|
180
|
+
value: pe
|
|
182
181
|
}),
|
|
183
|
-
error:
|
|
184
|
-
value:
|
|
182
|
+
error: M({}, e, {
|
|
183
|
+
value: he
|
|
185
184
|
}),
|
|
186
|
-
group:
|
|
187
|
-
value:
|
|
185
|
+
group: M({}, e, {
|
|
186
|
+
value: xe
|
|
188
187
|
}),
|
|
189
|
-
groupCollapsed:
|
|
190
|
-
value:
|
|
188
|
+
groupCollapsed: M({}, e, {
|
|
189
|
+
value: ye
|
|
191
190
|
}),
|
|
192
|
-
groupEnd:
|
|
193
|
-
value:
|
|
191
|
+
groupEnd: M({}, e, {
|
|
192
|
+
value: je
|
|
194
193
|
})
|
|
195
194
|
});
|
|
196
195
|
}
|
|
197
|
-
|
|
196
|
+
$ < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
198
197
|
}
|
|
199
198
|
}
|
|
200
|
-
var
|
|
201
|
-
function
|
|
199
|
+
var ee = I.ReactCurrentDispatcher, re;
|
|
200
|
+
function U(e, o, i) {
|
|
202
201
|
{
|
|
203
|
-
if (
|
|
202
|
+
if (re === void 0)
|
|
204
203
|
try {
|
|
205
204
|
throw Error();
|
|
206
|
-
} catch (
|
|
207
|
-
var
|
|
208
|
-
|
|
205
|
+
} catch (p) {
|
|
206
|
+
var f = p.stack.trim().match(/\n( *(at )?)/);
|
|
207
|
+
re = f && f[1] || "";
|
|
209
208
|
}
|
|
210
209
|
return `
|
|
211
|
-
` +
|
|
210
|
+
` + re + e;
|
|
212
211
|
}
|
|
213
212
|
}
|
|
214
|
-
var
|
|
213
|
+
var te = !1, G;
|
|
215
214
|
{
|
|
216
|
-
var
|
|
217
|
-
|
|
215
|
+
var vr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
216
|
+
G = new vr();
|
|
218
217
|
}
|
|
219
|
-
function
|
|
220
|
-
if (!e ||
|
|
218
|
+
function Ee(e, o) {
|
|
219
|
+
if (!e || te)
|
|
221
220
|
return "";
|
|
222
221
|
{
|
|
223
|
-
var i =
|
|
222
|
+
var i = G.get(e);
|
|
224
223
|
if (i !== void 0)
|
|
225
224
|
return i;
|
|
226
225
|
}
|
|
227
|
-
var
|
|
228
|
-
|
|
229
|
-
var
|
|
226
|
+
var f;
|
|
227
|
+
te = !0;
|
|
228
|
+
var p = Error.prepareStackTrace;
|
|
230
229
|
Error.prepareStackTrace = void 0;
|
|
231
|
-
var
|
|
232
|
-
|
|
230
|
+
var y;
|
|
231
|
+
y = ee.current, ee.current = null, dr();
|
|
233
232
|
try {
|
|
234
|
-
if (
|
|
233
|
+
if (o) {
|
|
235
234
|
var g = function() {
|
|
236
235
|
throw Error();
|
|
237
236
|
};
|
|
@@ -243,14 +242,14 @@ function zr() {
|
|
|
243
242
|
try {
|
|
244
243
|
Reflect.construct(g, []);
|
|
245
244
|
} catch (F) {
|
|
246
|
-
|
|
245
|
+
f = F;
|
|
247
246
|
}
|
|
248
247
|
Reflect.construct(e, [], g);
|
|
249
248
|
} else {
|
|
250
249
|
try {
|
|
251
250
|
g.call();
|
|
252
251
|
} catch (F) {
|
|
253
|
-
|
|
252
|
+
f = F;
|
|
254
253
|
}
|
|
255
254
|
e.call(g.prototype);
|
|
256
255
|
}
|
|
@@ -258,155 +257,155 @@ function zr() {
|
|
|
258
257
|
try {
|
|
259
258
|
throw Error();
|
|
260
259
|
} catch (F) {
|
|
261
|
-
|
|
260
|
+
f = F;
|
|
262
261
|
}
|
|
263
262
|
e();
|
|
264
263
|
}
|
|
265
264
|
} catch (F) {
|
|
266
|
-
if (F &&
|
|
265
|
+
if (F && f && typeof F.stack == "string") {
|
|
267
266
|
for (var m = F.stack.split(`
|
|
268
|
-
`),
|
|
269
|
-
`), E = m.length - 1,
|
|
270
|
-
|
|
271
|
-
for (; E >= 1 &&
|
|
272
|
-
if (m[E] !==
|
|
273
|
-
if (E !== 1 ||
|
|
267
|
+
`), P = f.stack.split(`
|
|
268
|
+
`), E = m.length - 1, T = P.length - 1; E >= 1 && T >= 0 && m[E] !== P[T]; )
|
|
269
|
+
T--;
|
|
270
|
+
for (; E >= 1 && T >= 0; E--, T--)
|
|
271
|
+
if (m[E] !== P[T]) {
|
|
272
|
+
if (E !== 1 || T !== 1)
|
|
274
273
|
do
|
|
275
|
-
if (E--,
|
|
276
|
-
var
|
|
274
|
+
if (E--, T--, T < 0 || m[E] !== P[T]) {
|
|
275
|
+
var _ = `
|
|
277
276
|
` + m[E].replace(" at new ", " at ");
|
|
278
|
-
return e.displayName &&
|
|
277
|
+
return e.displayName && _.includes("<anonymous>") && (_ = _.replace("<anonymous>", e.displayName)), typeof e == "function" && G.set(e, _), _;
|
|
279
278
|
}
|
|
280
|
-
while (E >= 1 &&
|
|
279
|
+
while (E >= 1 && T >= 0);
|
|
281
280
|
break;
|
|
282
281
|
}
|
|
283
282
|
}
|
|
284
283
|
} finally {
|
|
285
|
-
|
|
284
|
+
te = !1, ee.current = y, fr(), Error.prepareStackTrace = p;
|
|
286
285
|
}
|
|
287
|
-
var
|
|
288
|
-
return typeof e == "function" &&
|
|
286
|
+
var A = e ? e.displayName || e.name : "", Ie = A ? U(A) : "";
|
|
287
|
+
return typeof e == "function" && G.set(e, Ie), Ie;
|
|
289
288
|
}
|
|
290
|
-
function
|
|
291
|
-
return
|
|
289
|
+
function br(e, o, i) {
|
|
290
|
+
return Ee(e, !1);
|
|
292
291
|
}
|
|
293
|
-
function
|
|
294
|
-
var
|
|
295
|
-
return !!(
|
|
292
|
+
function mr(e) {
|
|
293
|
+
var o = e.prototype;
|
|
294
|
+
return !!(o && o.isReactComponent);
|
|
296
295
|
}
|
|
297
|
-
function
|
|
296
|
+
function H(e, o, i) {
|
|
298
297
|
if (e == null)
|
|
299
298
|
return "";
|
|
300
299
|
if (typeof e == "function")
|
|
301
|
-
return
|
|
300
|
+
return Ee(e, mr(e));
|
|
302
301
|
if (typeof e == "string")
|
|
303
|
-
return
|
|
302
|
+
return U(e);
|
|
304
303
|
switch (e) {
|
|
305
|
-
case
|
|
306
|
-
return
|
|
307
|
-
case
|
|
308
|
-
return
|
|
304
|
+
case b:
|
|
305
|
+
return U("Suspense");
|
|
306
|
+
case h:
|
|
307
|
+
return U("SuspenseList");
|
|
309
308
|
}
|
|
310
309
|
if (typeof e == "object")
|
|
311
310
|
switch (e.$$typeof) {
|
|
312
|
-
case
|
|
313
|
-
return
|
|
311
|
+
case v:
|
|
312
|
+
return br(e.render);
|
|
314
313
|
case w:
|
|
315
|
-
return
|
|
316
|
-
case
|
|
317
|
-
var
|
|
314
|
+
return H(e.type, o, i);
|
|
315
|
+
case k: {
|
|
316
|
+
var f = e, p = f._payload, y = f._init;
|
|
318
317
|
try {
|
|
319
|
-
return
|
|
318
|
+
return H(y(p), o, i);
|
|
320
319
|
} catch {
|
|
321
320
|
}
|
|
322
321
|
}
|
|
323
322
|
}
|
|
324
323
|
return "";
|
|
325
324
|
}
|
|
326
|
-
var
|
|
327
|
-
function
|
|
325
|
+
var K = Object.prototype.hasOwnProperty, Te = {}, we = I.ReactDebugCurrentFrame;
|
|
326
|
+
function q(e) {
|
|
328
327
|
if (e) {
|
|
329
|
-
var
|
|
330
|
-
|
|
328
|
+
var o = e._owner, i = H(e.type, e._source, o ? o.type : null);
|
|
329
|
+
we.setExtraStackFrame(i);
|
|
331
330
|
} else
|
|
332
|
-
|
|
331
|
+
we.setExtraStackFrame(null);
|
|
333
332
|
}
|
|
334
|
-
function
|
|
333
|
+
function gr(e, o, i, f, p) {
|
|
335
334
|
{
|
|
336
|
-
var
|
|
335
|
+
var y = Function.call.bind(K);
|
|
337
336
|
for (var g in e)
|
|
338
|
-
if (
|
|
337
|
+
if (y(e, g)) {
|
|
339
338
|
var m = void 0;
|
|
340
339
|
try {
|
|
341
340
|
if (typeof e[g] != "function") {
|
|
342
|
-
var
|
|
343
|
-
throw
|
|
341
|
+
var P = Error((f || "React class") + ": " + i + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
342
|
+
throw P.name = "Invariant Violation", P;
|
|
344
343
|
}
|
|
345
|
-
m = e[g](
|
|
344
|
+
m = e[g](o, g, f, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
346
345
|
} catch (E) {
|
|
347
346
|
m = E;
|
|
348
347
|
}
|
|
349
|
-
m && !(m instanceof Error) && (
|
|
348
|
+
m && !(m instanceof Error) && (q(p), S("%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).", f || "React class", i, g, typeof m), q(null)), m instanceof Error && !(m.message in Te) && (Te[m.message] = !0, q(p), S("Failed %s type: %s", i, m.message), q(null));
|
|
350
349
|
}
|
|
351
350
|
}
|
|
352
351
|
}
|
|
353
|
-
var
|
|
354
|
-
function
|
|
355
|
-
return
|
|
352
|
+
var pr = Array.isArray;
|
|
353
|
+
function ne(e) {
|
|
354
|
+
return pr(e);
|
|
356
355
|
}
|
|
357
|
-
function
|
|
356
|
+
function hr(e) {
|
|
358
357
|
{
|
|
359
|
-
var
|
|
358
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, i = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
360
359
|
return i;
|
|
361
360
|
}
|
|
362
361
|
}
|
|
363
|
-
function
|
|
362
|
+
function xr(e) {
|
|
364
363
|
try {
|
|
365
|
-
return
|
|
364
|
+
return ke(e), !1;
|
|
366
365
|
} catch {
|
|
367
366
|
return !0;
|
|
368
367
|
}
|
|
369
368
|
}
|
|
370
|
-
function
|
|
369
|
+
function ke(e) {
|
|
371
370
|
return "" + e;
|
|
372
371
|
}
|
|
373
|
-
function
|
|
374
|
-
if (
|
|
375
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
372
|
+
function Se(e) {
|
|
373
|
+
if (xr(e))
|
|
374
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", hr(e)), ke(e);
|
|
376
375
|
}
|
|
377
|
-
var z =
|
|
376
|
+
var z = I.ReactCurrentOwner, yr = {
|
|
378
377
|
key: !0,
|
|
379
378
|
ref: !0,
|
|
380
379
|
__self: !0,
|
|
381
380
|
__source: !0
|
|
382
|
-
},
|
|
383
|
-
|
|
384
|
-
function
|
|
385
|
-
if (
|
|
386
|
-
var
|
|
387
|
-
if (
|
|
381
|
+
}, Pe, _e, ae;
|
|
382
|
+
ae = {};
|
|
383
|
+
function jr(e) {
|
|
384
|
+
if (K.call(e, "ref")) {
|
|
385
|
+
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
386
|
+
if (o && o.isReactWarning)
|
|
388
387
|
return !1;
|
|
389
388
|
}
|
|
390
389
|
return e.ref !== void 0;
|
|
391
390
|
}
|
|
392
|
-
function
|
|
393
|
-
if (
|
|
394
|
-
var
|
|
395
|
-
if (
|
|
391
|
+
function Rr(e) {
|
|
392
|
+
if (K.call(e, "key")) {
|
|
393
|
+
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
394
|
+
if (o && o.isReactWarning)
|
|
396
395
|
return !1;
|
|
397
396
|
}
|
|
398
397
|
return e.key !== void 0;
|
|
399
398
|
}
|
|
400
|
-
function
|
|
401
|
-
if (typeof e.ref == "string" && z.current &&
|
|
399
|
+
function Er(e, o) {
|
|
400
|
+
if (typeof e.ref == "string" && z.current && o && z.current.stateNode !== o) {
|
|
402
401
|
var i = O(z.current.type);
|
|
403
|
-
|
|
402
|
+
ae[i] || (S('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', O(z.current.type), e.ref), ae[i] = !0);
|
|
404
403
|
}
|
|
405
404
|
}
|
|
406
|
-
function
|
|
405
|
+
function Tr(e, o) {
|
|
407
406
|
{
|
|
408
407
|
var i = function() {
|
|
409
|
-
|
|
408
|
+
Pe || (Pe = !0, S("%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)", o));
|
|
410
409
|
};
|
|
411
410
|
i.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
412
411
|
get: i,
|
|
@@ -414,10 +413,10 @@ function zr() {
|
|
|
414
413
|
});
|
|
415
414
|
}
|
|
416
415
|
}
|
|
417
|
-
function
|
|
416
|
+
function wr(e, o) {
|
|
418
417
|
{
|
|
419
418
|
var i = function() {
|
|
420
|
-
|
|
419
|
+
_e || (_e = !0, S("%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)", o));
|
|
421
420
|
};
|
|
422
421
|
i.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
423
422
|
get: i,
|
|
@@ -425,17 +424,17 @@ function zr() {
|
|
|
425
424
|
});
|
|
426
425
|
}
|
|
427
426
|
}
|
|
428
|
-
var
|
|
427
|
+
var kr = function(e, o, i, f, p, y, g) {
|
|
429
428
|
var m = {
|
|
430
429
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
430
|
$$typeof: t,
|
|
432
431
|
// Built-in properties that belong on the element
|
|
433
432
|
type: e,
|
|
434
|
-
key:
|
|
433
|
+
key: o,
|
|
435
434
|
ref: i,
|
|
436
435
|
props: g,
|
|
437
436
|
// Record the component responsible for creating this element.
|
|
438
|
-
_owner:
|
|
437
|
+
_owner: y
|
|
439
438
|
};
|
|
440
439
|
return m._store = {}, Object.defineProperty(m._store, "validated", {
|
|
441
440
|
configurable: !1,
|
|
@@ -446,49 +445,49 @@ function zr() {
|
|
|
446
445
|
configurable: !1,
|
|
447
446
|
enumerable: !1,
|
|
448
447
|
writable: !1,
|
|
449
|
-
value:
|
|
448
|
+
value: f
|
|
450
449
|
}), Object.defineProperty(m, "_source", {
|
|
451
450
|
configurable: !1,
|
|
452
451
|
enumerable: !1,
|
|
453
452
|
writable: !1,
|
|
454
|
-
value:
|
|
453
|
+
value: p
|
|
455
454
|
}), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
|
|
456
455
|
};
|
|
457
|
-
function
|
|
456
|
+
function Sr(e, o, i, f, p) {
|
|
458
457
|
{
|
|
459
|
-
var
|
|
460
|
-
i !== void 0 && (
|
|
461
|
-
for (
|
|
462
|
-
|
|
458
|
+
var y, g = {}, m = null, P = null;
|
|
459
|
+
i !== void 0 && (Se(i), m = "" + i), Rr(o) && (Se(o.key), m = "" + o.key), jr(o) && (P = o.ref, Er(o, p));
|
|
460
|
+
for (y in o)
|
|
461
|
+
K.call(o, y) && !yr.hasOwnProperty(y) && (g[y] = o[y]);
|
|
463
462
|
if (e && e.defaultProps) {
|
|
464
463
|
var E = e.defaultProps;
|
|
465
|
-
for (
|
|
466
|
-
g[
|
|
464
|
+
for (y in E)
|
|
465
|
+
g[y] === void 0 && (g[y] = E[y]);
|
|
467
466
|
}
|
|
468
|
-
if (m ||
|
|
469
|
-
var
|
|
470
|
-
m &&
|
|
467
|
+
if (m || P) {
|
|
468
|
+
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
469
|
+
m && Tr(g, T), P && wr(g, T);
|
|
471
470
|
}
|
|
472
|
-
return
|
|
471
|
+
return kr(e, m, P, p, f, z.current, g);
|
|
473
472
|
}
|
|
474
473
|
}
|
|
475
|
-
var
|
|
476
|
-
function
|
|
474
|
+
var oe = I.ReactCurrentOwner, Ce = I.ReactDebugCurrentFrame;
|
|
475
|
+
function L(e) {
|
|
477
476
|
if (e) {
|
|
478
|
-
var
|
|
479
|
-
|
|
477
|
+
var o = e._owner, i = H(e.type, e._source, o ? o.type : null);
|
|
478
|
+
Ce.setExtraStackFrame(i);
|
|
480
479
|
} else
|
|
481
|
-
|
|
480
|
+
Ce.setExtraStackFrame(null);
|
|
482
481
|
}
|
|
483
|
-
var
|
|
484
|
-
|
|
485
|
-
function
|
|
482
|
+
var ie;
|
|
483
|
+
ie = !1;
|
|
484
|
+
function se(e) {
|
|
486
485
|
return typeof e == "object" && e !== null && e.$$typeof === t;
|
|
487
486
|
}
|
|
488
|
-
function
|
|
487
|
+
function Oe() {
|
|
489
488
|
{
|
|
490
|
-
if (
|
|
491
|
-
var e = O(
|
|
489
|
+
if (oe.current) {
|
|
490
|
+
var e = O(oe.current.type);
|
|
492
491
|
if (e)
|
|
493
492
|
return `
|
|
494
493
|
|
|
@@ -497,151 +496,151 @@ Check the render method of \`` + e + "`.";
|
|
|
497
496
|
return "";
|
|
498
497
|
}
|
|
499
498
|
}
|
|
500
|
-
function
|
|
499
|
+
function Pr(e) {
|
|
501
500
|
{
|
|
502
501
|
if (e !== void 0) {
|
|
503
|
-
var
|
|
502
|
+
var o = e.fileName.replace(/^.*[\\\/]/, ""), i = e.lineNumber;
|
|
504
503
|
return `
|
|
505
504
|
|
|
506
|
-
Check your code at ` +
|
|
505
|
+
Check your code at ` + o + ":" + i + ".";
|
|
507
506
|
}
|
|
508
507
|
return "";
|
|
509
508
|
}
|
|
510
509
|
}
|
|
511
|
-
var
|
|
512
|
-
function
|
|
510
|
+
var Fe = {};
|
|
511
|
+
function _r(e) {
|
|
513
512
|
{
|
|
514
|
-
var
|
|
515
|
-
if (!
|
|
513
|
+
var o = Oe();
|
|
514
|
+
if (!o) {
|
|
516
515
|
var i = typeof e == "string" ? e : e.displayName || e.name;
|
|
517
|
-
i && (
|
|
516
|
+
i && (o = `
|
|
518
517
|
|
|
519
518
|
Check the top-level render call using <` + i + ">.");
|
|
520
519
|
}
|
|
521
|
-
return
|
|
520
|
+
return o;
|
|
522
521
|
}
|
|
523
522
|
}
|
|
524
|
-
function
|
|
523
|
+
function De(e, o) {
|
|
525
524
|
{
|
|
526
525
|
if (!e._store || e._store.validated || e.key != null)
|
|
527
526
|
return;
|
|
528
527
|
e._store.validated = !0;
|
|
529
|
-
var i =
|
|
530
|
-
if (
|
|
528
|
+
var i = _r(o);
|
|
529
|
+
if (Fe[i])
|
|
531
530
|
return;
|
|
532
|
-
|
|
533
|
-
var
|
|
534
|
-
e && e._owner && e._owner !==
|
|
531
|
+
Fe[i] = !0;
|
|
532
|
+
var f = "";
|
|
533
|
+
e && e._owner && e._owner !== oe.current && (f = " It was passed a child from " + O(e._owner.type) + "."), L(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, f), L(null);
|
|
535
534
|
}
|
|
536
535
|
}
|
|
537
|
-
function
|
|
536
|
+
function Ne(e, o) {
|
|
538
537
|
{
|
|
539
538
|
if (typeof e != "object")
|
|
540
539
|
return;
|
|
541
|
-
if (
|
|
540
|
+
if (ne(e))
|
|
542
541
|
for (var i = 0; i < e.length; i++) {
|
|
543
|
-
var
|
|
544
|
-
|
|
542
|
+
var f = e[i];
|
|
543
|
+
se(f) && De(f, o);
|
|
545
544
|
}
|
|
546
|
-
else if (
|
|
545
|
+
else if (se(e))
|
|
547
546
|
e._store && (e._store.validated = !0);
|
|
548
547
|
else if (e) {
|
|
549
|
-
var
|
|
550
|
-
if (typeof
|
|
551
|
-
for (var
|
|
552
|
-
|
|
548
|
+
var p = tr(e);
|
|
549
|
+
if (typeof p == "function" && p !== e.entries)
|
|
550
|
+
for (var y = p.call(e), g; !(g = y.next()).done; )
|
|
551
|
+
se(g.value) && De(g.value, o);
|
|
553
552
|
}
|
|
554
553
|
}
|
|
555
554
|
}
|
|
556
|
-
function
|
|
555
|
+
function Cr(e) {
|
|
557
556
|
{
|
|
558
|
-
var
|
|
559
|
-
if (
|
|
557
|
+
var o = e.type;
|
|
558
|
+
if (o == null || typeof o == "string")
|
|
560
559
|
return;
|
|
561
560
|
var i;
|
|
562
|
-
if (typeof
|
|
563
|
-
i =
|
|
564
|
-
else if (typeof
|
|
561
|
+
if (typeof o == "function")
|
|
562
|
+
i = o.propTypes;
|
|
563
|
+
else if (typeof o == "object" && (o.$$typeof === v || // Note: Memo only checks outer props here.
|
|
565
564
|
// Inner props are checked in the reconciler.
|
|
566
|
-
|
|
567
|
-
i =
|
|
565
|
+
o.$$typeof === w))
|
|
566
|
+
i = o.propTypes;
|
|
568
567
|
else
|
|
569
568
|
return;
|
|
570
569
|
if (i) {
|
|
571
|
-
var
|
|
572
|
-
|
|
573
|
-
} else if (
|
|
574
|
-
|
|
575
|
-
var
|
|
576
|
-
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
570
|
+
var f = O(o);
|
|
571
|
+
gr(i, e.props, "prop", f, e);
|
|
572
|
+
} else if (o.PropTypes !== void 0 && !ie) {
|
|
573
|
+
ie = !0;
|
|
574
|
+
var p = O(o);
|
|
575
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
|
|
577
576
|
}
|
|
578
|
-
typeof
|
|
577
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
579
578
|
}
|
|
580
579
|
}
|
|
581
|
-
function
|
|
580
|
+
function Or(e) {
|
|
582
581
|
{
|
|
583
|
-
for (var
|
|
584
|
-
var
|
|
585
|
-
if (
|
|
586
|
-
|
|
582
|
+
for (var o = Object.keys(e.props), i = 0; i < o.length; i++) {
|
|
583
|
+
var f = o[i];
|
|
584
|
+
if (f !== "children" && f !== "key") {
|
|
585
|
+
L(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), L(null);
|
|
587
586
|
break;
|
|
588
587
|
}
|
|
589
588
|
}
|
|
590
|
-
e.ref !== null && (
|
|
589
|
+
e.ref !== null && (L(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), L(null));
|
|
591
590
|
}
|
|
592
591
|
}
|
|
593
|
-
function
|
|
592
|
+
function Me(e, o, i, f, p, y) {
|
|
594
593
|
{
|
|
595
|
-
var g =
|
|
594
|
+
var g = ur(e);
|
|
596
595
|
if (!g) {
|
|
597
596
|
var m = "";
|
|
598
597
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (m += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
599
|
-
var
|
|
600
|
-
|
|
598
|
+
var P = Pr(p);
|
|
599
|
+
P ? m += P : m += Oe();
|
|
601
600
|
var E;
|
|
602
|
-
e === null ? E = "null" :
|
|
601
|
+
e === null ? E = "null" : ne(e) ? E = "array" : e !== void 0 && e.$$typeof === t ? (E = "<" + (O(e.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, m);
|
|
603
602
|
}
|
|
604
|
-
var
|
|
605
|
-
if (
|
|
606
|
-
return
|
|
603
|
+
var T = Sr(e, o, i, p, y);
|
|
604
|
+
if (T == null)
|
|
605
|
+
return T;
|
|
607
606
|
if (g) {
|
|
608
|
-
var
|
|
609
|
-
if (
|
|
610
|
-
if (
|
|
611
|
-
if (
|
|
612
|
-
for (var
|
|
613
|
-
|
|
614
|
-
Object.freeze && Object.freeze(
|
|
607
|
+
var _ = o.children;
|
|
608
|
+
if (_ !== void 0)
|
|
609
|
+
if (f)
|
|
610
|
+
if (ne(_)) {
|
|
611
|
+
for (var A = 0; A < _.length; A++)
|
|
612
|
+
Ne(_[A], e);
|
|
613
|
+
Object.freeze && Object.freeze(_);
|
|
615
614
|
} else
|
|
616
615
|
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
617
616
|
else
|
|
618
|
-
|
|
617
|
+
Ne(_, e);
|
|
619
618
|
}
|
|
620
|
-
return e ===
|
|
619
|
+
return e === a ? Or(T) : Cr(T), T;
|
|
621
620
|
}
|
|
622
621
|
}
|
|
623
|
-
function
|
|
624
|
-
return
|
|
622
|
+
function Fr(e, o, i) {
|
|
623
|
+
return Me(e, o, i, !0);
|
|
625
624
|
}
|
|
626
|
-
function
|
|
627
|
-
return
|
|
625
|
+
function Dr(e, o, i) {
|
|
626
|
+
return Me(e, o, i, !1);
|
|
628
627
|
}
|
|
629
|
-
var
|
|
630
|
-
|
|
631
|
-
}()),
|
|
628
|
+
var Nr = Dr, Mr = Fr;
|
|
629
|
+
B.Fragment = a, B.jsx = Nr, B.jsxs = Mr;
|
|
630
|
+
}()), B;
|
|
632
631
|
}
|
|
633
|
-
process.env.NODE_ENV === "production" ?
|
|
634
|
-
var l =
|
|
635
|
-
const
|
|
636
|
-
const
|
|
637
|
-
function s(c,
|
|
632
|
+
process.env.NODE_ENV === "production" ? ce.exports = et() : ce.exports = rt();
|
|
633
|
+
var l = ce.exports;
|
|
634
|
+
const Je = (r, t, n = !1) => {
|
|
635
|
+
const a = [];
|
|
636
|
+
function s(c, d = "--bn") {
|
|
638
637
|
for (const u in c) {
|
|
639
|
-
const
|
|
640
|
-
typeof c[u] != "object" ? (typeof c[u] == "number" && (c[u] = `${c[u]}px`), n ? t.style.removeProperty(
|
|
638
|
+
const v = u.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), b = `${d}-${v}`;
|
|
639
|
+
typeof c[u] != "object" ? (typeof c[u] == "number" && (c[u] = `${c[u]}px`), n ? t.style.removeProperty(b) : t.style.setProperty(b, c[u].toString())) : s(c[u], b);
|
|
641
640
|
}
|
|
642
641
|
}
|
|
643
|
-
return s(r),
|
|
644
|
-
},
|
|
642
|
+
return s(r), a;
|
|
643
|
+
}, ze = (r, t) => Je(r, t), tt = {
|
|
645
644
|
colors: {
|
|
646
645
|
editor: {
|
|
647
646
|
text: void 0,
|
|
@@ -711,198 +710,200 @@ const Be = (r, t, n = !1) => {
|
|
|
711
710
|
},
|
|
712
711
|
borderRadius: void 0,
|
|
713
712
|
fontFamily: void 0
|
|
714
|
-
},
|
|
713
|
+
}, nt = (r) => Je(tt, r, !0), at = R((r, t) => {
|
|
715
714
|
const {
|
|
716
715
|
className: n,
|
|
717
|
-
name:
|
|
716
|
+
name: a,
|
|
718
717
|
label: s,
|
|
719
718
|
icon: c,
|
|
720
|
-
value:
|
|
719
|
+
value: d,
|
|
721
720
|
autoFocus: u,
|
|
722
|
-
placeholder:
|
|
723
|
-
onKeyDown:
|
|
724
|
-
onChange:
|
|
721
|
+
placeholder: v,
|
|
722
|
+
onKeyDown: b,
|
|
723
|
+
onChange: h,
|
|
725
724
|
onSubmit: w,
|
|
726
|
-
...
|
|
725
|
+
...k
|
|
727
726
|
} = r;
|
|
728
|
-
return
|
|
729
|
-
|
|
727
|
+
return j(k), /* @__PURE__ */ l.jsx(
|
|
728
|
+
Ge,
|
|
730
729
|
{
|
|
731
730
|
size: "xs",
|
|
732
731
|
className: n,
|
|
733
732
|
ref: t,
|
|
734
|
-
name:
|
|
733
|
+
name: a,
|
|
735
734
|
label: s,
|
|
736
735
|
leftSection: c,
|
|
737
|
-
value:
|
|
736
|
+
value: d,
|
|
738
737
|
autoFocus: u,
|
|
739
738
|
"data-autofocus": u ? "true" : void 0,
|
|
740
|
-
placeholder:
|
|
741
|
-
onKeyDown:
|
|
742
|
-
onChange:
|
|
739
|
+
placeholder: v,
|
|
740
|
+
onKeyDown: b,
|
|
741
|
+
onChange: h,
|
|
743
742
|
onSubmit: w
|
|
744
743
|
}
|
|
745
744
|
);
|
|
746
745
|
});
|
|
747
|
-
var
|
|
746
|
+
var Xe = {
|
|
748
747
|
color: void 0,
|
|
749
748
|
size: void 0,
|
|
750
749
|
className: void 0,
|
|
751
750
|
style: void 0,
|
|
752
751
|
attr: void 0
|
|
753
|
-
},
|
|
754
|
-
function
|
|
752
|
+
}, We = D.createContext && /* @__PURE__ */ D.createContext(Xe), ot = ["attr", "size", "title"];
|
|
753
|
+
function it(r, t) {
|
|
755
754
|
if (r == null)
|
|
756
755
|
return {};
|
|
757
|
-
var n =
|
|
756
|
+
var n = st(r, t), a, s;
|
|
758
757
|
if (Object.getOwnPropertySymbols) {
|
|
759
758
|
var c = Object.getOwnPropertySymbols(r);
|
|
760
759
|
for (s = 0; s < c.length; s++)
|
|
761
|
-
|
|
760
|
+
a = c[s], !(t.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(r, a) && (n[a] = r[a]);
|
|
762
761
|
}
|
|
763
762
|
return n;
|
|
764
763
|
}
|
|
765
|
-
function
|
|
764
|
+
function st(r, t) {
|
|
766
765
|
if (r == null)
|
|
767
766
|
return {};
|
|
768
767
|
var n = {};
|
|
769
|
-
for (var
|
|
770
|
-
if (Object.prototype.hasOwnProperty.call(r,
|
|
771
|
-
if (t.indexOf(
|
|
768
|
+
for (var a in r)
|
|
769
|
+
if (Object.prototype.hasOwnProperty.call(r, a)) {
|
|
770
|
+
if (t.indexOf(a) >= 0)
|
|
772
771
|
continue;
|
|
773
|
-
n[
|
|
772
|
+
n[a] = r[a];
|
|
774
773
|
}
|
|
775
774
|
return n;
|
|
776
775
|
}
|
|
777
|
-
function
|
|
778
|
-
return
|
|
776
|
+
function Z() {
|
|
777
|
+
return Z = Object.assign ? Object.assign.bind() : function(r) {
|
|
779
778
|
for (var t = 1; t < arguments.length; t++) {
|
|
780
779
|
var n = arguments[t];
|
|
781
|
-
for (var
|
|
782
|
-
Object.prototype.hasOwnProperty.call(n,
|
|
780
|
+
for (var a in n)
|
|
781
|
+
Object.prototype.hasOwnProperty.call(n, a) && (r[a] = n[a]);
|
|
783
782
|
}
|
|
784
783
|
return r;
|
|
785
|
-
},
|
|
784
|
+
}, Z.apply(this, arguments);
|
|
786
785
|
}
|
|
787
|
-
function
|
|
786
|
+
function Be(r, t) {
|
|
788
787
|
var n = Object.keys(r);
|
|
789
788
|
if (Object.getOwnPropertySymbols) {
|
|
790
|
-
var
|
|
791
|
-
t && (
|
|
789
|
+
var a = Object.getOwnPropertySymbols(r);
|
|
790
|
+
t && (a = a.filter(function(s) {
|
|
792
791
|
return Object.getOwnPropertyDescriptor(r, s).enumerable;
|
|
793
|
-
})), n.push.apply(n,
|
|
792
|
+
})), n.push.apply(n, a);
|
|
794
793
|
}
|
|
795
794
|
return n;
|
|
796
795
|
}
|
|
797
|
-
function
|
|
796
|
+
function Q(r) {
|
|
798
797
|
for (var t = 1; t < arguments.length; t++) {
|
|
799
798
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
800
|
-
t % 2 ?
|
|
801
|
-
|
|
802
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(n)) :
|
|
803
|
-
Object.defineProperty(r,
|
|
799
|
+
t % 2 ? Be(Object(n), !0).forEach(function(a) {
|
|
800
|
+
lt(r, a, n[a]);
|
|
801
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(n)) : Be(Object(n)).forEach(function(a) {
|
|
802
|
+
Object.defineProperty(r, a, Object.getOwnPropertyDescriptor(n, a));
|
|
804
803
|
});
|
|
805
804
|
}
|
|
806
805
|
return r;
|
|
807
806
|
}
|
|
808
|
-
function
|
|
809
|
-
return t =
|
|
807
|
+
function lt(r, t, n) {
|
|
808
|
+
return t = ut(t), t in r ? Object.defineProperty(r, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = n, r;
|
|
810
809
|
}
|
|
811
|
-
function
|
|
812
|
-
var t =
|
|
810
|
+
function ut(r) {
|
|
811
|
+
var t = ct(r, "string");
|
|
813
812
|
return typeof t == "symbol" ? t : t + "";
|
|
814
813
|
}
|
|
815
|
-
function
|
|
814
|
+
function ct(r, t) {
|
|
816
815
|
if (typeof r != "object" || !r)
|
|
817
816
|
return r;
|
|
818
817
|
var n = r[Symbol.toPrimitive];
|
|
819
818
|
if (n !== void 0) {
|
|
820
|
-
var
|
|
821
|
-
if (typeof
|
|
822
|
-
return
|
|
819
|
+
var a = n.call(r, t || "default");
|
|
820
|
+
if (typeof a != "object")
|
|
821
|
+
return a;
|
|
823
822
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
824
823
|
}
|
|
825
824
|
return (t === "string" ? String : Number)(r);
|
|
826
825
|
}
|
|
827
|
-
function
|
|
828
|
-
return r && r.map((t, n) => /* @__PURE__ */
|
|
826
|
+
function Ze(r) {
|
|
827
|
+
return r && r.map((t, n) => /* @__PURE__ */ D.createElement(t.tag, Q({
|
|
829
828
|
key: n
|
|
830
|
-
}, t.attr),
|
|
829
|
+
}, t.attr), Ze(t.child)));
|
|
831
830
|
}
|
|
832
|
-
function
|
|
833
|
-
return (t) => /* @__PURE__ */
|
|
834
|
-
attr:
|
|
835
|
-
}, t),
|
|
831
|
+
function Qe(r) {
|
|
832
|
+
return (t) => /* @__PURE__ */ D.createElement(dt, Z({
|
|
833
|
+
attr: Q({}, r.attr)
|
|
834
|
+
}, t), Ze(r.child));
|
|
836
835
|
}
|
|
837
|
-
function
|
|
836
|
+
function dt(r) {
|
|
838
837
|
var t = (n) => {
|
|
839
838
|
var {
|
|
840
|
-
attr:
|
|
839
|
+
attr: a,
|
|
841
840
|
size: s,
|
|
842
841
|
title: c
|
|
843
|
-
} = r,
|
|
844
|
-
return n.className && (
|
|
842
|
+
} = r, d = it(r, ot), u = s || n.size || "1em", v;
|
|
843
|
+
return n.className && (v = n.className), r.className && (v = (v ? v + " " : "") + r.className), /* @__PURE__ */ D.createElement("svg", Z({
|
|
845
844
|
stroke: "currentColor",
|
|
846
845
|
fill: "currentColor",
|
|
847
846
|
strokeWidth: "0"
|
|
848
|
-
}, n.attr,
|
|
849
|
-
className:
|
|
850
|
-
style:
|
|
847
|
+
}, n.attr, a, d, {
|
|
848
|
+
className: v,
|
|
849
|
+
style: Q(Q({
|
|
851
850
|
color: r.color || n.color
|
|
852
851
|
}, n.style), r.style),
|
|
853
852
|
height: u,
|
|
854
853
|
width: u,
|
|
855
854
|
xmlns: "http://www.w3.org/2000/svg"
|
|
856
|
-
}), c && /* @__PURE__ */
|
|
855
|
+
}), c && /* @__PURE__ */ D.createElement("title", null, c), r.children);
|
|
857
856
|
};
|
|
858
|
-
return
|
|
857
|
+
return We !== void 0 ? /* @__PURE__ */ D.createElement(We.Consumer, null, (n) => t(n)) : t(Xe);
|
|
859
858
|
}
|
|
860
|
-
function
|
|
861
|
-
return
|
|
859
|
+
function ft(r) {
|
|
860
|
+
return Qe({ tag: "svg", attr: { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z", clipRule: "evenodd" }, child: [] }] })(r);
|
|
862
861
|
}
|
|
863
|
-
function
|
|
864
|
-
return
|
|
862
|
+
function vt(r) {
|
|
863
|
+
return Qe({ tag: "svg", attr: { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z", clipRule: "evenodd" }, child: [] }] })(r);
|
|
865
864
|
}
|
|
866
|
-
const
|
|
865
|
+
const er = Ir(void 0), bt = R((r, t) => {
|
|
867
866
|
const {
|
|
868
867
|
children: n,
|
|
869
|
-
onOpenChange:
|
|
868
|
+
onOpenChange: a,
|
|
870
869
|
position: s,
|
|
871
870
|
sub: c,
|
|
872
871
|
// not used
|
|
873
|
-
...
|
|
872
|
+
...d
|
|
874
873
|
} = r;
|
|
875
|
-
|
|
876
|
-
const [u,
|
|
877
|
-
|
|
878
|
-
|
|
874
|
+
j(d);
|
|
875
|
+
const [u, v] = Lr(!1), b = Le(null), h = Le(), w = le(() => {
|
|
876
|
+
h.current && clearTimeout(h.current), h.current = setTimeout(() => {
|
|
877
|
+
v(!1);
|
|
879
878
|
}, 250);
|
|
880
|
-
}, []),
|
|
881
|
-
|
|
879
|
+
}, []), k = le(() => {
|
|
880
|
+
h.current && clearTimeout(h.current), v(!0);
|
|
882
881
|
}, []);
|
|
883
882
|
return /* @__PURE__ */ l.jsx(
|
|
884
|
-
|
|
883
|
+
er.Provider,
|
|
885
884
|
{
|
|
886
885
|
value: {
|
|
887
|
-
onMenuMouseOver:
|
|
888
|
-
onMenuMouseLeave:
|
|
886
|
+
onMenuMouseOver: k,
|
|
887
|
+
onMenuMouseLeave: w
|
|
889
888
|
},
|
|
890
889
|
children: /* @__PURE__ */ l.jsx(
|
|
891
|
-
|
|
890
|
+
C.Item,
|
|
892
891
|
{
|
|
893
892
|
className: "bn-menu-item bn-mt-sub-menu-item",
|
|
894
|
-
ref: t,
|
|
895
|
-
onMouseOver:
|
|
896
|
-
onMouseLeave:
|
|
893
|
+
ref: qe(t, b),
|
|
894
|
+
onMouseOver: k,
|
|
895
|
+
onMouseLeave: w,
|
|
897
896
|
children: /* @__PURE__ */ l.jsx(
|
|
898
|
-
|
|
897
|
+
C,
|
|
899
898
|
{
|
|
900
|
-
|
|
899
|
+
portalProps: {
|
|
900
|
+
target: b.current ? b.current.parentElement : void 0
|
|
901
|
+
},
|
|
901
902
|
middlewares: { flip: !0, shift: !0, inline: !1, size: !0 },
|
|
902
903
|
trigger: "hover",
|
|
903
904
|
opened: u,
|
|
904
|
-
onClose: () =>
|
|
905
|
-
onOpen: () =>
|
|
905
|
+
onClose: () => a == null ? void 0 : a(!1),
|
|
906
|
+
onOpen: () => a == null ? void 0 : a(!0),
|
|
906
907
|
position: s,
|
|
907
908
|
children: n
|
|
908
909
|
}
|
|
@@ -911,394 +912,404 @@ const Ye = wr(void 0), Zr = T((r, t) => {
|
|
|
911
912
|
)
|
|
912
913
|
}
|
|
913
914
|
);
|
|
914
|
-
}),
|
|
915
|
-
const { children: t, onOpenChange: n, position:
|
|
916
|
-
return
|
|
917
|
-
|
|
915
|
+
}), mt = (r) => {
|
|
916
|
+
const { children: t, onOpenChange: n, position: a, sub: s, ...c } = r;
|
|
917
|
+
return j(c), s ? /* @__PURE__ */ l.jsx(bt, { ...r }) : /* @__PURE__ */ l.jsx(
|
|
918
|
+
C,
|
|
918
919
|
{
|
|
919
920
|
withinPortal: !1,
|
|
920
921
|
middlewares: { flip: !0, shift: !0, inline: !1, size: !0 },
|
|
921
922
|
onClose: () => n == null ? void 0 : n(!1),
|
|
922
923
|
onOpen: () => n == null ? void 0 : n(!0),
|
|
923
|
-
position:
|
|
924
|
+
position: a,
|
|
924
925
|
children: t
|
|
925
926
|
}
|
|
926
927
|
);
|
|
927
|
-
},
|
|
928
|
-
const { className: n, children:
|
|
929
|
-
return
|
|
930
|
-
|
|
931
|
-
/* @__PURE__ */ l.jsx(
|
|
928
|
+
}, gt = R((r, t) => {
|
|
929
|
+
const { className: n, children: a, icon: s, checked: c, subTrigger: d, onClick: u, ...v } = r;
|
|
930
|
+
return j(v, !1), d ? /* @__PURE__ */ l.jsxs("div", { ref: t, ...v, children: [
|
|
931
|
+
a,
|
|
932
|
+
/* @__PURE__ */ l.jsx(vt, { size: 15 })
|
|
932
933
|
] }) : /* @__PURE__ */ l.jsx(
|
|
933
|
-
|
|
934
|
+
C.Item,
|
|
934
935
|
{
|
|
935
936
|
className: n,
|
|
936
937
|
ref: t,
|
|
937
938
|
leftSection: s,
|
|
938
|
-
rightSection: c ? /* @__PURE__ */ l.jsx(
|
|
939
|
+
rightSection: c ? /* @__PURE__ */ l.jsx(He, { size: 10 }) : c === !1 ? /* @__PURE__ */ l.jsx("div", { className: "bn-tick-space" }) : null,
|
|
939
940
|
onClick: u,
|
|
940
|
-
...
|
|
941
|
-
children:
|
|
941
|
+
...v,
|
|
942
|
+
children: a
|
|
942
943
|
}
|
|
943
944
|
);
|
|
944
|
-
}),
|
|
945
|
+
}), pt = (r) => {
|
|
945
946
|
const {
|
|
946
947
|
children: t,
|
|
947
948
|
sub: n,
|
|
948
949
|
// unused
|
|
949
|
-
...
|
|
950
|
+
...a
|
|
950
951
|
} = r;
|
|
951
|
-
return
|
|
952
|
-
},
|
|
952
|
+
return j(a), /* @__PURE__ */ l.jsx(C.Target, { children: t });
|
|
953
|
+
}, ht = R((r, t) => {
|
|
953
954
|
const {
|
|
954
955
|
className: n,
|
|
955
|
-
children:
|
|
956
|
+
children: a,
|
|
956
957
|
sub: s,
|
|
957
958
|
//unused
|
|
958
959
|
...c
|
|
959
960
|
} = r;
|
|
960
|
-
|
|
961
|
-
const
|
|
961
|
+
j(c);
|
|
962
|
+
const d = Ar(er);
|
|
962
963
|
return /* @__PURE__ */ l.jsx(
|
|
963
|
-
|
|
964
|
+
C.Dropdown,
|
|
964
965
|
{
|
|
965
966
|
className: n,
|
|
966
967
|
ref: t,
|
|
967
|
-
onMouseOver:
|
|
968
|
-
onMouseLeave:
|
|
969
|
-
children:
|
|
968
|
+
onMouseOver: d == null ? void 0 : d.onMenuMouseOver,
|
|
969
|
+
onMouseLeave: d == null ? void 0 : d.onMenuMouseLeave,
|
|
970
|
+
children: a
|
|
970
971
|
}
|
|
971
972
|
);
|
|
972
|
-
}),
|
|
973
|
-
const { className: n, ...
|
|
974
|
-
return
|
|
975
|
-
}),
|
|
976
|
-
const { className: n, children:
|
|
977
|
-
return
|
|
978
|
-
}),
|
|
973
|
+
}), xt = R((r, t) => {
|
|
974
|
+
const { className: n, ...a } = r;
|
|
975
|
+
return j(a), /* @__PURE__ */ l.jsx(C.Divider, { className: n, ref: t });
|
|
976
|
+
}), yt = R((r, t) => {
|
|
977
|
+
const { className: n, children: a, ...s } = r;
|
|
978
|
+
return j(s), /* @__PURE__ */ l.jsx(C.Label, { className: n, ref: t, children: a });
|
|
979
|
+
}), jt = R((r, t) => {
|
|
979
980
|
const {
|
|
980
981
|
className: n,
|
|
981
|
-
tabs:
|
|
982
|
+
tabs: a,
|
|
982
983
|
defaultOpenTab: s,
|
|
983
984
|
openTab: c,
|
|
984
|
-
setOpenTab:
|
|
985
|
+
setOpenTab: d,
|
|
985
986
|
loading: u,
|
|
986
|
-
...
|
|
987
|
+
...v
|
|
987
988
|
} = r;
|
|
988
|
-
return
|
|
989
|
-
|
|
989
|
+
return j(v), /* @__PURE__ */ l.jsx(N, { className: n, ref: t, children: /* @__PURE__ */ l.jsxs(
|
|
990
|
+
J,
|
|
990
991
|
{
|
|
991
992
|
value: c,
|
|
992
993
|
defaultValue: s,
|
|
993
|
-
onChange:
|
|
994
|
+
onChange: d,
|
|
994
995
|
children: [
|
|
995
|
-
u && /* @__PURE__ */ l.jsx(
|
|
996
|
-
/* @__PURE__ */ l.jsx(
|
|
997
|
-
|
|
996
|
+
u && /* @__PURE__ */ l.jsx(Br, { visible: u }),
|
|
997
|
+
/* @__PURE__ */ l.jsx(J.List, { children: a.map((b) => /* @__PURE__ */ l.jsx(
|
|
998
|
+
J.Tab,
|
|
998
999
|
{
|
|
999
|
-
"data-test": `${
|
|
1000
|
-
value:
|
|
1001
|
-
children:
|
|
1000
|
+
"data-test": `${b.name.toLowerCase()}-tab`,
|
|
1001
|
+
value: b.name,
|
|
1002
|
+
children: b.name
|
|
1002
1003
|
},
|
|
1003
|
-
|
|
1004
|
+
b.name
|
|
1004
1005
|
)) }),
|
|
1005
|
-
|
|
1006
|
+
a.map((b) => /* @__PURE__ */ l.jsx(J.Panel, { value: b.name, children: b.tabPanel }, b.name))
|
|
1006
1007
|
]
|
|
1007
1008
|
}
|
|
1008
1009
|
) });
|
|
1009
|
-
}),
|
|
1010
|
-
const { className: n, children:
|
|
1011
|
-
return
|
|
1012
|
-
|
|
1010
|
+
}), Rt = R((r, t) => {
|
|
1011
|
+
const { className: n, children: a, onClick: s, label: c, ...d } = r;
|
|
1012
|
+
return j(d), /* @__PURE__ */ l.jsx(
|
|
1013
|
+
V,
|
|
1013
1014
|
{
|
|
1014
1015
|
size: "xs",
|
|
1015
1016
|
"aria-label": c,
|
|
1016
1017
|
className: n,
|
|
1017
1018
|
ref: t,
|
|
1018
1019
|
onClick: s,
|
|
1019
|
-
...
|
|
1020
|
-
children:
|
|
1020
|
+
...d,
|
|
1021
|
+
children: a
|
|
1021
1022
|
}
|
|
1022
1023
|
);
|
|
1023
|
-
}),
|
|
1024
|
-
const { className: n, accept:
|
|
1025
|
-
return
|
|
1026
|
-
|
|
1024
|
+
}), Et = R((r, t) => {
|
|
1025
|
+
const { className: n, accept: a, value: s, placeholder: c, onChange: d, ...u } = r;
|
|
1026
|
+
return j(u), /* @__PURE__ */ l.jsx(
|
|
1027
|
+
Vr,
|
|
1027
1028
|
{
|
|
1028
1029
|
size: "xs",
|
|
1029
1030
|
className: n,
|
|
1030
1031
|
ref: t,
|
|
1031
|
-
accept:
|
|
1032
|
+
accept: a,
|
|
1032
1033
|
value: s,
|
|
1033
1034
|
placeholder: c,
|
|
1034
|
-
onChange:
|
|
1035
|
+
onChange: d,
|
|
1035
1036
|
...u
|
|
1036
1037
|
}
|
|
1037
1038
|
);
|
|
1038
|
-
}),
|
|
1039
|
-
const { className: n, children:
|
|
1040
|
-
return
|
|
1041
|
-
}),
|
|
1042
|
-
const { className: n, value:
|
|
1043
|
-
return
|
|
1044
|
-
|
|
1039
|
+
}), Tt = R((r, t) => {
|
|
1040
|
+
const { className: n, children: a, ...s } = r;
|
|
1041
|
+
return j(s), /* @__PURE__ */ l.jsx("div", { className: n, ref: t, children: a });
|
|
1042
|
+
}), wt = R((r, t) => {
|
|
1043
|
+
const { className: n, value: a, placeholder: s, onKeyDown: c, onChange: d, ...u } = r;
|
|
1044
|
+
return j(u), /* @__PURE__ */ l.jsx(
|
|
1045
|
+
Ge,
|
|
1045
1046
|
{
|
|
1046
1047
|
size: "xs",
|
|
1047
1048
|
"data-test": "embed-input",
|
|
1048
1049
|
className: n,
|
|
1049
1050
|
ref: t,
|
|
1050
|
-
value:
|
|
1051
|
+
value: a,
|
|
1051
1052
|
placeholder: s,
|
|
1052
1053
|
onKeyDown: c,
|
|
1053
|
-
onChange:
|
|
1054
|
+
onChange: d
|
|
1054
1055
|
}
|
|
1055
1056
|
);
|
|
1056
|
-
}),
|
|
1057
|
-
const { children: t, opened: n, position:
|
|
1058
|
-
return
|
|
1059
|
-
|
|
1057
|
+
}), kt = (r) => {
|
|
1058
|
+
const { children: t, opened: n, position: a, ...s } = r;
|
|
1059
|
+
return j(s), /* @__PURE__ */ l.jsx(
|
|
1060
|
+
Yr,
|
|
1060
1061
|
{
|
|
1061
1062
|
withinPortal: !1,
|
|
1062
1063
|
zIndex: 1e4,
|
|
1063
1064
|
opened: n,
|
|
1064
|
-
position:
|
|
1065
|
+
position: a,
|
|
1065
1066
|
children: t
|
|
1066
1067
|
}
|
|
1067
1068
|
);
|
|
1068
|
-
},
|
|
1069
|
+
}, St = (r) => {
|
|
1069
1070
|
const { children: t, ...n } = r;
|
|
1070
|
-
return
|
|
1071
|
-
},
|
|
1071
|
+
return j(n), /* @__PURE__ */ l.jsx(Ur, { children: t });
|
|
1072
|
+
}, Pt = R((r, t) => {
|
|
1072
1073
|
const {
|
|
1073
1074
|
className: n,
|
|
1074
|
-
children:
|
|
1075
|
+
children: a,
|
|
1075
1076
|
variant: s,
|
|
1076
1077
|
// unused
|
|
1077
1078
|
...c
|
|
1078
1079
|
} = r;
|
|
1079
|
-
return
|
|
1080
|
-
}),
|
|
1081
|
-
const { className: n, children:
|
|
1082
|
-
return
|
|
1083
|
-
|
|
1080
|
+
return j(c), /* @__PURE__ */ l.jsx(Gr, { className: n, ref: t, children: a });
|
|
1081
|
+
}), _t = R((r, t) => {
|
|
1082
|
+
const { className: n, children: a, ...s } = r;
|
|
1083
|
+
return j(s, !1), /* @__PURE__ */ l.jsx(
|
|
1084
|
+
N,
|
|
1085
|
+
{
|
|
1086
|
+
align: "center",
|
|
1087
|
+
gap: 0,
|
|
1088
|
+
className: n,
|
|
1089
|
+
ref: t,
|
|
1090
|
+
...s,
|
|
1091
|
+
children: a
|
|
1092
|
+
}
|
|
1093
|
+
);
|
|
1094
|
+
}), Ct = R((r, t) => {
|
|
1084
1095
|
const {
|
|
1085
1096
|
className: n,
|
|
1086
|
-
children:
|
|
1097
|
+
children: a,
|
|
1087
1098
|
icon: s,
|
|
1088
1099
|
onClick: c,
|
|
1089
|
-
onDragEnd:
|
|
1100
|
+
onDragEnd: d,
|
|
1090
1101
|
onDragStart: u,
|
|
1091
|
-
draggable:
|
|
1092
|
-
label:
|
|
1093
|
-
...
|
|
1102
|
+
draggable: v,
|
|
1103
|
+
label: b,
|
|
1104
|
+
...h
|
|
1094
1105
|
} = r;
|
|
1095
|
-
return
|
|
1096
|
-
|
|
1106
|
+
return j(h, !1), s ? /* @__PURE__ */ l.jsx(
|
|
1107
|
+
Ke,
|
|
1097
1108
|
{
|
|
1098
1109
|
size: 24,
|
|
1099
1110
|
className: n,
|
|
1100
1111
|
ref: t,
|
|
1101
1112
|
onClick: c,
|
|
1102
|
-
onDragEnd:
|
|
1113
|
+
onDragEnd: d,
|
|
1103
1114
|
onDragStart: u,
|
|
1104
|
-
draggable:
|
|
1105
|
-
"aria-label":
|
|
1106
|
-
...
|
|
1115
|
+
draggable: v,
|
|
1116
|
+
"aria-label": b,
|
|
1117
|
+
...h,
|
|
1107
1118
|
children: s
|
|
1108
1119
|
}
|
|
1109
1120
|
) : /* @__PURE__ */ l.jsx(
|
|
1110
|
-
|
|
1121
|
+
V,
|
|
1111
1122
|
{
|
|
1112
1123
|
className: n,
|
|
1113
1124
|
ref: t,
|
|
1114
1125
|
onClick: c,
|
|
1115
|
-
onDragEnd:
|
|
1126
|
+
onDragEnd: d,
|
|
1116
1127
|
onDragStart: u,
|
|
1117
|
-
draggable:
|
|
1118
|
-
"aria-label":
|
|
1119
|
-
...
|
|
1120
|
-
children:
|
|
1128
|
+
draggable: v,
|
|
1129
|
+
"aria-label": b,
|
|
1130
|
+
...h,
|
|
1131
|
+
children: a
|
|
1121
1132
|
}
|
|
1122
1133
|
);
|
|
1123
|
-
}),
|
|
1124
|
-
const { className: n, children:
|
|
1125
|
-
return
|
|
1126
|
-
|
|
1134
|
+
}), Ot = R((r, t) => {
|
|
1135
|
+
const { className: n, children: a, id: s, ...c } = r;
|
|
1136
|
+
return j(c), /* @__PURE__ */ l.jsx(
|
|
1137
|
+
de,
|
|
1127
1138
|
{
|
|
1128
1139
|
gap: 0,
|
|
1129
1140
|
className: n,
|
|
1130
1141
|
ref: t,
|
|
1131
1142
|
id: s,
|
|
1132
1143
|
role: "listbox",
|
|
1133
|
-
children:
|
|
1144
|
+
children: a
|
|
1134
1145
|
}
|
|
1135
1146
|
);
|
|
1136
|
-
}),
|
|
1137
|
-
const { className: n, children:
|
|
1138
|
-
return
|
|
1139
|
-
}),
|
|
1140
|
-
const { className: n, isSelected:
|
|
1141
|
-
return
|
|
1142
|
-
|
|
1147
|
+
}), Ft = R((r, t) => {
|
|
1148
|
+
const { className: n, children: a, ...s } = r;
|
|
1149
|
+
return j(s), /* @__PURE__ */ l.jsx(N, { className: n, ref: t, children: /* @__PURE__ */ l.jsx(N, { className: "bn-mt-suggestion-menu-item-label", children: a }) });
|
|
1150
|
+
}), Dt = R((r, t) => {
|
|
1151
|
+
const { className: n, isSelected: a, onClick: s, item: c, id: d, ...u } = r;
|
|
1152
|
+
return j(u), /* @__PURE__ */ l.jsxs(
|
|
1153
|
+
N,
|
|
1143
1154
|
{
|
|
1144
1155
|
gap: 0,
|
|
1145
1156
|
className: n,
|
|
1146
1157
|
ref: t,
|
|
1147
|
-
id:
|
|
1158
|
+
id: d,
|
|
1148
1159
|
role: "option",
|
|
1149
1160
|
onClick: s,
|
|
1150
|
-
"aria-selected":
|
|
1161
|
+
"aria-selected": a || void 0,
|
|
1151
1162
|
children: [
|
|
1152
1163
|
c.icon && /* @__PURE__ */ l.jsx(
|
|
1153
|
-
|
|
1164
|
+
N,
|
|
1154
1165
|
{
|
|
1155
1166
|
className: "bn-mt-suggestion-menu-item-section",
|
|
1156
1167
|
"data-position": "left",
|
|
1157
1168
|
children: c.icon
|
|
1158
1169
|
}
|
|
1159
1170
|
),
|
|
1160
|
-
/* @__PURE__ */ l.jsxs(
|
|
1161
|
-
/* @__PURE__ */ l.jsx(
|
|
1162
|
-
/* @__PURE__ */ l.jsx(
|
|
1171
|
+
/* @__PURE__ */ l.jsxs(de, { gap: 0, className: "bn-mt-suggestion-menu-item-body", children: [
|
|
1172
|
+
/* @__PURE__ */ l.jsx(X, { className: "bn-mt-suggestion-menu-item-title", children: c.title }),
|
|
1173
|
+
/* @__PURE__ */ l.jsx(X, { className: "bn-mt-suggestion-menu-item-subtitle", children: c.subtext })
|
|
1163
1174
|
] }),
|
|
1164
1175
|
c.badge && /* @__PURE__ */ l.jsx(
|
|
1165
|
-
|
|
1176
|
+
N,
|
|
1166
1177
|
{
|
|
1167
1178
|
"data-position": "right",
|
|
1168
1179
|
className: "bn-mt-suggestion-menu-item-section",
|
|
1169
|
-
children: /* @__PURE__ */ l.jsx(
|
|
1180
|
+
children: /* @__PURE__ */ l.jsx(Hr, { size: "xs", children: c.badge })
|
|
1170
1181
|
}
|
|
1171
1182
|
)
|
|
1172
1183
|
]
|
|
1173
1184
|
}
|
|
1174
1185
|
);
|
|
1175
|
-
}),
|
|
1176
|
-
const { className: n, children:
|
|
1177
|
-
return
|
|
1178
|
-
}),
|
|
1186
|
+
}), Nt = R((r, t) => {
|
|
1187
|
+
const { className: n, children: a, ...s } = r;
|
|
1188
|
+
return j(s), /* @__PURE__ */ l.jsx(N, { className: n, ref: t, children: a });
|
|
1189
|
+
}), Mt = R((r, t) => {
|
|
1179
1190
|
const {
|
|
1180
1191
|
className: n,
|
|
1181
|
-
children:
|
|
1192
|
+
children: a,
|
|
1182
1193
|
// unused, using "dots" instead
|
|
1183
1194
|
...s
|
|
1184
1195
|
} = r;
|
|
1185
|
-
return
|
|
1186
|
-
}),
|
|
1196
|
+
return j(s), /* @__PURE__ */ l.jsx(Kr, { className: n, type: "dots", ref: t });
|
|
1197
|
+
}), It = R((r, t) => {
|
|
1187
1198
|
const {
|
|
1188
1199
|
className: n,
|
|
1189
|
-
children:
|
|
1200
|
+
children: a,
|
|
1190
1201
|
draggable: s,
|
|
1191
1202
|
onDragStart: c,
|
|
1192
|
-
onDragEnd:
|
|
1203
|
+
onDragEnd: d,
|
|
1193
1204
|
style: u,
|
|
1194
|
-
label:
|
|
1195
|
-
...
|
|
1205
|
+
label: v,
|
|
1206
|
+
...b
|
|
1196
1207
|
} = r;
|
|
1197
|
-
return
|
|
1198
|
-
|
|
1208
|
+
return j(b, !1), /* @__PURE__ */ l.jsx(
|
|
1209
|
+
V,
|
|
1199
1210
|
{
|
|
1200
1211
|
className: n,
|
|
1201
1212
|
ref: t,
|
|
1202
|
-
"aria-label":
|
|
1213
|
+
"aria-label": v,
|
|
1203
1214
|
draggable: s,
|
|
1204
1215
|
onDragStart: c,
|
|
1205
|
-
onDragEnd:
|
|
1216
|
+
onDragEnd: d,
|
|
1206
1217
|
style: u,
|
|
1207
|
-
...
|
|
1208
|
-
children:
|
|
1218
|
+
...b,
|
|
1219
|
+
children: a
|
|
1209
1220
|
}
|
|
1210
1221
|
);
|
|
1211
|
-
}),
|
|
1222
|
+
}), Ve = R(
|
|
1212
1223
|
(r, t) => {
|
|
1213
|
-
const { className: n, children:
|
|
1214
|
-
|
|
1215
|
-
const { ref: u, focused:
|
|
1224
|
+
const { className: n, children: a, onMouseEnter: s, onMouseLeave: c, ...d } = r;
|
|
1225
|
+
j(d);
|
|
1226
|
+
const { ref: u, focused: v } = Zr(), b = Qr(v), h = qe(t, u, b);
|
|
1216
1227
|
return /* @__PURE__ */ l.jsx(
|
|
1217
|
-
|
|
1228
|
+
N,
|
|
1218
1229
|
{
|
|
1219
1230
|
className: n,
|
|
1220
|
-
ref:
|
|
1231
|
+
ref: h,
|
|
1221
1232
|
role: "toolbar",
|
|
1222
1233
|
onMouseEnter: s,
|
|
1223
1234
|
onMouseLeave: c,
|
|
1224
|
-
children:
|
|
1235
|
+
children: a
|
|
1225
1236
|
}
|
|
1226
1237
|
);
|
|
1227
1238
|
}
|
|
1228
|
-
),
|
|
1229
|
-
/* @__PURE__ */ l.jsx(
|
|
1230
|
-
r.secondaryTooltip && /* @__PURE__ */ l.jsx(
|
|
1231
|
-
] }),
|
|
1239
|
+
), Lt = (r) => /* @__PURE__ */ l.jsxs(de, { gap: 0, className: "bn-tooltip", children: [
|
|
1240
|
+
/* @__PURE__ */ l.jsx(X, { size: "sm", children: r.mainTooltip }),
|
|
1241
|
+
r.secondaryTooltip && /* @__PURE__ */ l.jsx(X, { size: "xs", children: r.secondaryTooltip })
|
|
1242
|
+
] }), Ye = R(
|
|
1232
1243
|
(r, t) => {
|
|
1233
1244
|
const {
|
|
1234
1245
|
className: n,
|
|
1235
|
-
children:
|
|
1246
|
+
children: a,
|
|
1236
1247
|
mainTooltip: s,
|
|
1237
1248
|
secondaryTooltip: c,
|
|
1238
|
-
icon:
|
|
1249
|
+
icon: d,
|
|
1239
1250
|
isSelected: u,
|
|
1240
|
-
isDisabled:
|
|
1241
|
-
onClick:
|
|
1242
|
-
label:
|
|
1251
|
+
isDisabled: v,
|
|
1252
|
+
onClick: b,
|
|
1253
|
+
label: h,
|
|
1243
1254
|
...w
|
|
1244
1255
|
} = r;
|
|
1245
|
-
return
|
|
1246
|
-
|
|
1256
|
+
return j(w, !1), /* @__PURE__ */ l.jsx(
|
|
1257
|
+
qr,
|
|
1247
1258
|
{
|
|
1248
1259
|
withinPortal: !1,
|
|
1249
1260
|
label: /* @__PURE__ */ l.jsx(
|
|
1250
|
-
|
|
1261
|
+
Lt,
|
|
1251
1262
|
{
|
|
1252
1263
|
mainTooltip: s,
|
|
1253
1264
|
secondaryTooltip: c
|
|
1254
1265
|
}
|
|
1255
1266
|
),
|
|
1256
|
-
children:
|
|
1257
|
-
|
|
1267
|
+
children: a ? /* @__PURE__ */ l.jsx(
|
|
1268
|
+
V,
|
|
1258
1269
|
{
|
|
1259
|
-
"aria-label":
|
|
1270
|
+
"aria-label": h,
|
|
1260
1271
|
className: n,
|
|
1261
|
-
onMouseDown: (
|
|
1262
|
-
|
|
1272
|
+
onMouseDown: (k) => {
|
|
1273
|
+
ue() && k.currentTarget.focus();
|
|
1263
1274
|
},
|
|
1264
|
-
onClick:
|
|
1275
|
+
onClick: b,
|
|
1265
1276
|
"aria-pressed": u,
|
|
1266
1277
|
"data-selected": u || void 0,
|
|
1267
1278
|
"data-test": s.slice(0, 1).toLowerCase() + s.replace(/\s+/g, "").slice(1),
|
|
1268
1279
|
size: "xs",
|
|
1269
|
-
disabled:
|
|
1280
|
+
disabled: v || !1,
|
|
1270
1281
|
ref: t,
|
|
1271
1282
|
...w,
|
|
1272
|
-
children:
|
|
1283
|
+
children: a
|
|
1273
1284
|
}
|
|
1274
1285
|
) : /* @__PURE__ */ l.jsx(
|
|
1275
|
-
|
|
1286
|
+
Ke,
|
|
1276
1287
|
{
|
|
1277
1288
|
className: n,
|
|
1278
|
-
"aria-label":
|
|
1279
|
-
onMouseDown: (
|
|
1280
|
-
|
|
1289
|
+
"aria-label": h,
|
|
1290
|
+
onMouseDown: (k) => {
|
|
1291
|
+
ue() && k.currentTarget.focus();
|
|
1281
1292
|
},
|
|
1282
|
-
onClick:
|
|
1293
|
+
onClick: b,
|
|
1283
1294
|
"aria-pressed": u,
|
|
1284
1295
|
"data-selected": u || void 0,
|
|
1285
1296
|
"data-test": s.slice(0, 1).toLowerCase() + s.replace(/\s+/g, "").slice(1),
|
|
1286
1297
|
size: 30,
|
|
1287
|
-
disabled:
|
|
1298
|
+
disabled: v || !1,
|
|
1288
1299
|
ref: t,
|
|
1289
1300
|
...w,
|
|
1290
|
-
children:
|
|
1301
|
+
children: d
|
|
1291
1302
|
}
|
|
1292
1303
|
)
|
|
1293
1304
|
}
|
|
1294
1305
|
);
|
|
1295
1306
|
}
|
|
1296
|
-
),
|
|
1297
|
-
const { className: n, items:
|
|
1298
|
-
|
|
1299
|
-
const
|
|
1300
|
-
return
|
|
1301
|
-
|
|
1307
|
+
), At = R((r, t) => {
|
|
1308
|
+
const { className: n, items: a, isDisabled: s, ...c } = r;
|
|
1309
|
+
j(c);
|
|
1310
|
+
const d = a.filter((u) => u.isSelected)[0];
|
|
1311
|
+
return d ? /* @__PURE__ */ l.jsxs(
|
|
1312
|
+
C,
|
|
1302
1313
|
{
|
|
1303
1314
|
withinPortal: !1,
|
|
1304
1315
|
transitionProps: {
|
|
@@ -1307,26 +1318,26 @@ const Ye = wr(void 0), Zr = T((r, t) => {
|
|
|
1307
1318
|
disabled: s,
|
|
1308
1319
|
middlewares: { flip: !0, shift: !0, inline: !1, size: !0 },
|
|
1309
1320
|
children: [
|
|
1310
|
-
/* @__PURE__ */ l.jsx(
|
|
1311
|
-
|
|
1321
|
+
/* @__PURE__ */ l.jsx(C.Target, { children: /* @__PURE__ */ l.jsx(
|
|
1322
|
+
V,
|
|
1312
1323
|
{
|
|
1313
1324
|
onMouseDown: (u) => {
|
|
1314
|
-
|
|
1325
|
+
ue() && u.currentTarget.focus();
|
|
1315
1326
|
},
|
|
1316
|
-
leftSection:
|
|
1317
|
-
rightSection: /* @__PURE__ */ l.jsx(
|
|
1327
|
+
leftSection: d.icon,
|
|
1328
|
+
rightSection: /* @__PURE__ */ l.jsx(ft, {}),
|
|
1318
1329
|
size: "xs",
|
|
1319
1330
|
variant: "subtle",
|
|
1320
1331
|
disabled: s,
|
|
1321
|
-
children:
|
|
1332
|
+
children: d.text
|
|
1322
1333
|
}
|
|
1323
1334
|
) }),
|
|
1324
|
-
/* @__PURE__ */ l.jsx(
|
|
1325
|
-
|
|
1335
|
+
/* @__PURE__ */ l.jsx(C.Dropdown, { className: n, ref: t, children: a.map((u) => /* @__PURE__ */ l.jsx(
|
|
1336
|
+
C.Item,
|
|
1326
1337
|
{
|
|
1327
1338
|
onClick: u.onClick,
|
|
1328
1339
|
leftSection: u.icon,
|
|
1329
|
-
rightSection: u.isSelected ? /* @__PURE__ */ l.jsx(
|
|
1340
|
+
rightSection: u.isSelected ? /* @__PURE__ */ l.jsx(He, { size: 10, className: "bn-tick-icon" }) : (
|
|
1330
1341
|
// Ensures space for tick even if item isn't currently selected.
|
|
1331
1342
|
/* @__PURE__ */ l.jsx("div", { className: "bn-tick-space" })
|
|
1332
1343
|
),
|
|
@@ -1350,7 +1361,7 @@ const x = [
|
|
|
1350
1361
|
"#161616",
|
|
1351
1362
|
"#0F0F0F",
|
|
1352
1363
|
"#000000"
|
|
1353
|
-
],
|
|
1364
|
+
], Ue = {
|
|
1354
1365
|
colors: {
|
|
1355
1366
|
editor: {
|
|
1356
1367
|
text: x[5],
|
|
@@ -1420,7 +1431,7 @@ const x = [
|
|
|
1420
1431
|
},
|
|
1421
1432
|
borderRadius: 6,
|
|
1422
1433
|
fontFamily: '"Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Open Sans", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif'
|
|
1423
|
-
},
|
|
1434
|
+
}, Ht = {
|
|
1424
1435
|
colors: {
|
|
1425
1436
|
editor: {
|
|
1426
1437
|
text: x[2],
|
|
@@ -1488,101 +1499,103 @@ const x = [
|
|
|
1488
1499
|
}
|
|
1489
1500
|
}
|
|
1490
1501
|
},
|
|
1491
|
-
borderRadius:
|
|
1492
|
-
fontFamily:
|
|
1493
|
-
},
|
|
1502
|
+
borderRadius: Ue.borderRadius,
|
|
1503
|
+
fontFamily: Ue.fontFamily
|
|
1504
|
+
}, $t = {
|
|
1494
1505
|
FormattingToolbar: {
|
|
1495
|
-
Root:
|
|
1496
|
-
Button:
|
|
1497
|
-
Select:
|
|
1506
|
+
Root: Ve,
|
|
1507
|
+
Button: Ye,
|
|
1508
|
+
Select: At
|
|
1498
1509
|
},
|
|
1499
1510
|
FilePanel: {
|
|
1500
|
-
Root:
|
|
1501
|
-
Button:
|
|
1502
|
-
FileInput:
|
|
1503
|
-
TabPanel:
|
|
1504
|
-
TextInput:
|
|
1511
|
+
Root: jt,
|
|
1512
|
+
Button: Rt,
|
|
1513
|
+
FileInput: Et,
|
|
1514
|
+
TabPanel: Tt,
|
|
1515
|
+
TextInput: wt
|
|
1505
1516
|
},
|
|
1506
1517
|
LinkToolbar: {
|
|
1507
|
-
Root:
|
|
1508
|
-
Button:
|
|
1518
|
+
Root: Ve,
|
|
1519
|
+
Button: Ye
|
|
1509
1520
|
},
|
|
1510
1521
|
SideMenu: {
|
|
1511
|
-
Root:
|
|
1512
|
-
Button:
|
|
1522
|
+
Root: _t,
|
|
1523
|
+
Button: Ct
|
|
1513
1524
|
},
|
|
1514
1525
|
SuggestionMenu: {
|
|
1515
|
-
Root:
|
|
1516
|
-
Item:
|
|
1517
|
-
EmptyItem:
|
|
1518
|
-
Label:
|
|
1519
|
-
Loader:
|
|
1526
|
+
Root: Ot,
|
|
1527
|
+
Item: Dt,
|
|
1528
|
+
EmptyItem: Ft,
|
|
1529
|
+
Label: Nt,
|
|
1530
|
+
Loader: Mt
|
|
1520
1531
|
},
|
|
1521
1532
|
TableHandle: {
|
|
1522
|
-
Root:
|
|
1533
|
+
Root: It
|
|
1523
1534
|
},
|
|
1524
1535
|
Generic: {
|
|
1525
1536
|
Form: {
|
|
1526
1537
|
Root: (r) => /* @__PURE__ */ l.jsx("div", { children: r.children }),
|
|
1527
|
-
TextInput:
|
|
1538
|
+
TextInput: at
|
|
1528
1539
|
},
|
|
1529
1540
|
Menu: {
|
|
1530
|
-
Root:
|
|
1531
|
-
Trigger:
|
|
1532
|
-
Dropdown:
|
|
1533
|
-
Divider:
|
|
1534
|
-
Label:
|
|
1535
|
-
Item:
|
|
1541
|
+
Root: mt,
|
|
1542
|
+
Trigger: pt,
|
|
1543
|
+
Dropdown: ht,
|
|
1544
|
+
Divider: xt,
|
|
1545
|
+
Label: yt,
|
|
1546
|
+
Item: gt
|
|
1536
1547
|
},
|
|
1537
1548
|
Popover: {
|
|
1538
|
-
Root:
|
|
1539
|
-
Trigger:
|
|
1540
|
-
Content:
|
|
1549
|
+
Root: kt,
|
|
1550
|
+
Trigger: St,
|
|
1551
|
+
Content: Pt
|
|
1541
1552
|
}
|
|
1542
1553
|
}
|
|
1543
|
-
},
|
|
1554
|
+
}, zt = {
|
|
1544
1555
|
// Removes button press effect
|
|
1545
1556
|
activeClassName: ""
|
|
1546
|
-
},
|
|
1547
|
-
const { theme: t, ...n } = r,
|
|
1557
|
+
}, Kt = (r) => {
|
|
1558
|
+
const { theme: t, ...n } = r, a = $r(), s = Xr(), c = (a == null ? void 0 : a.colorSchemePreference) || s, d = le(
|
|
1548
1559
|
(u) => {
|
|
1549
|
-
if (u && (
|
|
1560
|
+
if (u && (nt(u), typeof t == "object")) {
|
|
1550
1561
|
if ("light" in t && "dark" in t) {
|
|
1551
|
-
|
|
1562
|
+
ze(
|
|
1552
1563
|
t[c === "dark" ? "dark" : "light"],
|
|
1553
1564
|
u
|
|
1554
1565
|
);
|
|
1555
1566
|
return;
|
|
1556
1567
|
}
|
|
1557
|
-
|
|
1568
|
+
ze(t, u);
|
|
1558
1569
|
return;
|
|
1559
1570
|
}
|
|
1560
1571
|
},
|
|
1561
1572
|
[c, t]
|
|
1562
1573
|
);
|
|
1563
|
-
return /* @__PURE__ */ l.jsx(
|
|
1564
|
-
|
|
1574
|
+
return /* @__PURE__ */ l.jsx(zr.Provider, { value: $t, children: /* @__PURE__ */ l.jsx(
|
|
1575
|
+
Jr,
|
|
1565
1576
|
{
|
|
1566
|
-
theme:
|
|
1577
|
+
theme: zt,
|
|
1567
1578
|
cssVariablesSelector: ".bn-container",
|
|
1579
|
+
getRootElement: () => {
|
|
1580
|
+
},
|
|
1568
1581
|
children: /* @__PURE__ */ l.jsx(
|
|
1569
|
-
|
|
1582
|
+
Wr,
|
|
1570
1583
|
{
|
|
1571
1584
|
theme: typeof t == "object" ? void 0 : t,
|
|
1572
1585
|
...n,
|
|
1573
|
-
ref:
|
|
1586
|
+
ref: d
|
|
1574
1587
|
}
|
|
1575
1588
|
)
|
|
1576
1589
|
}
|
|
1577
1590
|
) });
|
|
1578
1591
|
};
|
|
1579
1592
|
export {
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1593
|
+
Kt as BlockNoteView,
|
|
1594
|
+
ze as applyBlockNoteCSSVariablesFromTheme,
|
|
1595
|
+
$t as components,
|
|
1596
|
+
Ht as darkDefaultTheme,
|
|
1584
1597
|
x as defaultColorScheme,
|
|
1585
|
-
|
|
1586
|
-
|
|
1598
|
+
Ue as lightDefaultTheme,
|
|
1599
|
+
nt as removeBlockNoteCSSVariables
|
|
1587
1600
|
};
|
|
1588
1601
|
//# sourceMappingURL=blocknote-mantine.js.map
|