@blocknote/shadcn 0.14.0 → 0.14.1

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.
@@ -1,21 +1,21 @@
1
1
  import * as g from "react";
2
- import Ae, { createContext as Qt, useContext as er, useMemo as $e, forwardRef as N } from "react";
3
- import { ComponentsContext as tr, BlockNoteViewRaw as rr } from "@blocknote/react";
4
- import { cva as Z } from "class-variance-authority";
5
- import { clsx as or } from "clsx";
6
- import { twMerge as nr } from "tailwind-merge";
7
- import { Slot as ze } from "@radix-ui/react-slot";
2
+ import ze, { createContext as or, useContext as nr, useMemo as We, forwardRef as N, useRef as ar, useEffect as sr } from "react";
3
+ import { elementOverflow as ir, mergeRefs as lr, ComponentsContext as dr, BlockNoteViewRaw as cr } from "@blocknote/react";
4
+ import { cva as Q } from "class-variance-authority";
5
+ import { clsx as ur } from "clsx";
6
+ import { twMerge as fr } from "tailwind-merge";
7
+ import { Slot as Ye } from "@radix-ui/react-slot";
8
8
  import * as T from "@radix-ui/react-dropdown-menu";
9
- import { ChevronRight as We, Check as Ye, Circle as ar, ChevronDown as Ue, ChevronUp as sr } from "lucide-react";
10
- import { FormProvider as ir, useFormContext as lr, useForm as dr } from "react-hook-form";
9
+ import { ChevronRight as Ue, Check as Ke, Circle as mr, ChevronDown as Je, ChevronUp as pr } from "lucide-react";
10
+ import { FormProvider as gr, useFormContext as vr, useForm as br } from "react-hook-form";
11
11
  import * as qe from "@radix-ui/react-label";
12
- import * as Q from "@radix-ui/react-popover";
12
+ import * as ee from "@radix-ui/react-popover";
13
13
  import * as D from "@radix-ui/react-select";
14
- import * as L from "@radix-ui/react-tabs";
14
+ import * as B from "@radix-ui/react-tabs";
15
15
  import * as Ge from "@radix-ui/react-toggle";
16
16
  import * as q from "@radix-ui/react-tooltip";
17
17
  import { assertEmpty as C } from "@blocknote/core";
18
- var de = { exports: {} }, Y = {};
18
+ var ue = { exports: {} }, K = {};
19
19
  /**
20
20
  * @license React
21
21
  * react-jsx-runtime.production.min.js
@@ -25,25 +25,25 @@ var de = { exports: {} }, Y = {};
25
25
  * This source code is licensed under the MIT license found in the
26
26
  * LICENSE file in the root directory of this source tree.
27
27
  */
28
- var Oe;
29
- function cr() {
30
- if (Oe)
31
- return Y;
32
- Oe = 1;
33
- var o = Ae, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, i = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
34
- function c(x, m, p) {
35
- var b, S = {}, _ = null, B = null;
36
- p !== void 0 && (_ = "" + p), m.key !== void 0 && (_ = "" + m.key), m.ref !== void 0 && (B = m.ref);
37
- for (b in m)
38
- a.call(m, b) && !d.hasOwnProperty(b) && (S[b] = m[b]);
28
+ var Be;
29
+ function xr() {
30
+ if (Be)
31
+ return K;
32
+ Be = 1;
33
+ var o = ze, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, i = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
34
+ function c(x, p, f) {
35
+ var v, S = {}, _ = null, V = null;
36
+ f !== void 0 && (_ = "" + f), p.key !== void 0 && (_ = "" + p.key), p.ref !== void 0 && (V = p.ref);
37
+ for (v in p)
38
+ a.call(p, v) && !d.hasOwnProperty(v) && (S[v] = p[v]);
39
39
  if (x && x.defaultProps)
40
- for (b in m = x.defaultProps, m)
41
- S[b] === void 0 && (S[b] = m[b]);
42
- return { $$typeof: r, type: x, key: _, ref: B, props: S, _owner: i.current };
40
+ for (v in p = x.defaultProps, p)
41
+ S[v] === void 0 && (S[v] = p[v]);
42
+ return { $$typeof: r, type: x, key: _, ref: V, props: S, _owner: i.current };
43
43
  }
44
- return Y.Fragment = t, Y.jsx = c, Y.jsxs = c, Y;
44
+ return K.Fragment = t, K.jsx = c, K.jsxs = c, K;
45
45
  }
46
- var U = {};
46
+ var J = {};
47
47
  /**
48
48
  * @license React
49
49
  * react-jsx-runtime.development.js
@@ -53,27 +53,27 @@ var U = {};
53
53
  * This source code is licensed under the MIT license found in the
54
54
  * LICENSE file in the root directory of this source tree.
55
55
  */
56
- var Le;
57
- function ur() {
58
- return Le || (Le = 1, process.env.NODE_ENV !== "production" && function() {
59
- var o = Ae, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), x = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), ue = Symbol.iterator, xt = "@@iterator";
60
- function ht(e) {
56
+ var Ve;
57
+ function hr() {
58
+ return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && function() {
59
+ var o = ze, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), x = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), V = Symbol.for("react.offscreen"), me = Symbol.iterator, yt = "@@iterator";
60
+ function wt(e) {
61
61
  if (e === null || typeof e != "object")
62
62
  return null;
63
- var s = ue && e[ue] || e[xt];
63
+ var s = me && e[me] || e[yt];
64
64
  return typeof s == "function" ? s : null;
65
65
  }
66
- var V = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
66
+ var A = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
67
67
  function P(e) {
68
68
  {
69
- for (var s = arguments.length, l = new Array(s > 1 ? s - 1 : 0), f = 1; f < s; f++)
70
- l[f - 1] = arguments[f];
71
- yt("error", e, l);
69
+ for (var s = arguments.length, l = new Array(s > 1 ? s - 1 : 0), m = 1; m < s; m++)
70
+ l[m - 1] = arguments[m];
71
+ Ct("error", e, l);
72
72
  }
73
73
  }
74
- function yt(e, s, l) {
74
+ function Ct(e, s, l) {
75
75
  {
76
- var f = V.ReactDebugCurrentFrame, y = f.getStackAddendum();
76
+ var m = A.ReactDebugCurrentFrame, y = m.getStackAddendum();
77
77
  y !== "" && (s += "%s", l = l.concat([y]));
78
78
  var w = l.map(function(h) {
79
79
  return String(h);
@@ -81,23 +81,23 @@ function ur() {
81
81
  w.unshift("Warning: " + s), Function.prototype.apply.call(console[e], console, w);
82
82
  }
83
83
  }
84
- var wt = !1, Ct = !1, Nt = !1, jt = !1, Tt = !1, fe;
85
- fe = Symbol.for("react.module.reference");
86
- function Rt(e) {
87
- return !!(typeof e == "string" || typeof e == "function" || e === a || e === d || Tt || e === i || e === p || e === b || jt || e === B || wt || Ct || Nt || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === S || e.$$typeof === c || e.$$typeof === x || e.$$typeof === m || // This needs to include all possible module reference object
84
+ var Nt = !1, jt = !1, Tt = !1, Rt = !1, St = !1, pe;
85
+ pe = Symbol.for("react.module.reference");
86
+ function Et(e) {
87
+ return !!(typeof e == "string" || typeof e == "function" || e === a || e === d || St || e === i || e === f || e === v || Rt || e === V || Nt || jt || Tt || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === S || e.$$typeof === c || e.$$typeof === x || e.$$typeof === p || // This needs to include all possible module reference object
88
88
  // types supported by any Flight configuration anywhere since
89
89
  // we don't know which Flight build this will end up being used
90
90
  // with.
91
- e.$$typeof === fe || e.getModuleId !== void 0));
91
+ e.$$typeof === pe || e.getModuleId !== void 0));
92
92
  }
93
- function St(e, s, l) {
94
- var f = e.displayName;
95
- if (f)
96
- return f;
93
+ function Dt(e, s, l) {
94
+ var m = e.displayName;
95
+ if (m)
96
+ return m;
97
97
  var y = s.displayName || s.name || "";
98
98
  return y !== "" ? l + "(" + y + ")" : l;
99
99
  }
100
- function me(e) {
100
+ function ge(e) {
101
101
  return e.displayName || "Context";
102
102
  }
103
103
  function F(e) {
@@ -116,24 +116,24 @@ function ur() {
116
116
  return "Profiler";
117
117
  case i:
118
118
  return "StrictMode";
119
- case p:
119
+ case f:
120
120
  return "Suspense";
121
- case b:
121
+ case v:
122
122
  return "SuspenseList";
123
123
  }
124
124
  if (typeof e == "object")
125
125
  switch (e.$$typeof) {
126
126
  case x:
127
127
  var s = e;
128
- return me(s) + ".Consumer";
128
+ return ge(s) + ".Consumer";
129
129
  case c:
130
130
  var l = e;
131
- return me(l._context) + ".Provider";
132
- case m:
133
- return St(e, e.render, "ForwardRef");
131
+ return ge(l._context) + ".Provider";
132
+ case p:
133
+ return Dt(e, e.render, "ForwardRef");
134
134
  case S:
135
- var f = e.displayName || null;
136
- return f !== null ? f : F(e.type) || "Memo";
135
+ var m = e.displayName || null;
136
+ return m !== null ? m : F(e.type) || "Memo";
137
137
  case _: {
138
138
  var y = e, w = y._payload, h = y._init;
139
139
  try {
@@ -145,18 +145,18 @@ function ur() {
145
145
  }
146
146
  return null;
147
147
  }
148
- var O = Object.assign, z = 0, pe, ge, ve, be, xe, he, ye;
149
- function we() {
148
+ var O = Object.assign, W = 0, ve, be, xe, he, ye, we, Ce;
149
+ function Ne() {
150
150
  }
151
- we.__reactDisabledLog = !0;
152
- function Et() {
151
+ Ne.__reactDisabledLog = !0;
152
+ function _t() {
153
153
  {
154
- if (z === 0) {
155
- pe = console.log, ge = console.info, ve = console.warn, be = console.error, xe = console.group, he = console.groupCollapsed, ye = console.groupEnd;
154
+ if (W === 0) {
155
+ ve = console.log, be = console.info, xe = console.warn, he = console.error, ye = console.group, we = console.groupCollapsed, Ce = console.groupEnd;
156
156
  var e = {
157
157
  configurable: !0,
158
158
  enumerable: !0,
159
- value: we,
159
+ value: Ne,
160
160
  writable: !0
161
161
  };
162
162
  Object.defineProperties(console, {
@@ -169,12 +169,12 @@ function ur() {
169
169
  groupEnd: e
170
170
  });
171
171
  }
172
- z++;
172
+ W++;
173
173
  }
174
174
  }
175
- function Dt() {
175
+ function Pt() {
176
176
  {
177
- if (z--, z === 0) {
177
+ if (W--, W === 0) {
178
178
  var e = {
179
179
  configurable: !0,
180
180
  enumerable: !0,
@@ -182,64 +182,64 @@ function ur() {
182
182
  };
183
183
  Object.defineProperties(console, {
184
184
  log: O({}, e, {
185
- value: pe
185
+ value: ve
186
186
  }),
187
187
  info: O({}, e, {
188
- value: ge
188
+ value: be
189
189
  }),
190
190
  warn: O({}, e, {
191
- value: ve
191
+ value: xe
192
192
  }),
193
193
  error: O({}, e, {
194
- value: be
194
+ value: he
195
195
  }),
196
196
  group: O({}, e, {
197
- value: xe
197
+ value: ye
198
198
  }),
199
199
  groupCollapsed: O({}, e, {
200
- value: he
200
+ value: we
201
201
  }),
202
202
  groupEnd: O({}, e, {
203
- value: ye
203
+ value: Ce
204
204
  })
205
205
  });
206
206
  }
207
- z < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
207
+ W < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
208
208
  }
209
209
  }
210
- var te = V.ReactCurrentDispatcher, re;
210
+ var re = A.ReactCurrentDispatcher, oe;
211
211
  function G(e, s, l) {
212
212
  {
213
- if (re === void 0)
213
+ if (oe === void 0)
214
214
  try {
215
215
  throw Error();
216
216
  } catch (y) {
217
- var f = y.stack.trim().match(/\n( *(at )?)/);
218
- re = f && f[1] || "";
217
+ var m = y.stack.trim().match(/\n( *(at )?)/);
218
+ oe = m && m[1] || "";
219
219
  }
220
220
  return `
221
- ` + re + e;
221
+ ` + oe + e;
222
222
  }
223
223
  }
224
- var oe = !1, H;
224
+ var ne = !1, H;
225
225
  {
226
- var _t = typeof WeakMap == "function" ? WeakMap : Map;
227
- H = new _t();
226
+ var It = typeof WeakMap == "function" ? WeakMap : Map;
227
+ H = new It();
228
228
  }
229
- function Ce(e, s) {
230
- if (!e || oe)
229
+ function je(e, s) {
230
+ if (!e || ne)
231
231
  return "";
232
232
  {
233
233
  var l = H.get(e);
234
234
  if (l !== void 0)
235
235
  return l;
236
236
  }
237
- var f;
238
- oe = !0;
237
+ var m;
238
+ ne = !0;
239
239
  var y = Error.prepareStackTrace;
240
240
  Error.prepareStackTrace = void 0;
241
241
  var w;
242
- w = te.current, te.current = null, Et();
242
+ w = re.current, re.current = null, _t();
243
243
  try {
244
244
  if (s) {
245
245
  var h = function() {
@@ -252,171 +252,171 @@ function ur() {
252
252
  }), typeof Reflect == "object" && Reflect.construct) {
253
253
  try {
254
254
  Reflect.construct(h, []);
255
- } catch (k) {
256
- f = k;
255
+ } catch (M) {
256
+ m = M;
257
257
  }
258
258
  Reflect.construct(e, [], h);
259
259
  } else {
260
260
  try {
261
261
  h.call();
262
- } catch (k) {
263
- f = k;
262
+ } catch (M) {
263
+ m = M;
264
264
  }
265
265
  e.call(h.prototype);
266
266
  }
267
267
  } else {
268
268
  try {
269
269
  throw Error();
270
- } catch (k) {
271
- f = k;
270
+ } catch (M) {
271
+ m = M;
272
272
  }
273
273
  e();
274
274
  }
275
- } catch (k) {
276
- if (k && f && typeof k.stack == "string") {
277
- for (var v = k.stack.split(`
278
- `), I = f.stack.split(`
279
- `), j = v.length - 1, E = I.length - 1; j >= 1 && E >= 0 && v[j] !== I[E]; )
275
+ } catch (M) {
276
+ if (M && m && typeof M.stack == "string") {
277
+ for (var b = M.stack.split(`
278
+ `), I = m.stack.split(`
279
+ `), j = b.length - 1, E = I.length - 1; j >= 1 && E >= 0 && b[j] !== I[E]; )
280
280
  E--;
281
281
  for (; j >= 1 && E >= 0; j--, E--)
282
- if (v[j] !== I[E]) {
282
+ if (b[j] !== I[E]) {
283
283
  if (j !== 1 || E !== 1)
284
284
  do
285
- if (j--, E--, E < 0 || v[j] !== I[E]) {
286
- var M = `
287
- ` + v[j].replace(" at new ", " at ");
288
- return e.displayName && M.includes("<anonymous>") && (M = M.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, M), M;
285
+ if (j--, E--, E < 0 || b[j] !== I[E]) {
286
+ var k = `
287
+ ` + b[j].replace(" at new ", " at ");
288
+ return e.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, k), k;
289
289
  }
290
290
  while (j >= 1 && E >= 0);
291
291
  break;
292
292
  }
293
293
  }
294
294
  } finally {
295
- oe = !1, te.current = w, Dt(), Error.prepareStackTrace = y;
295
+ ne = !1, re.current = w, Pt(), Error.prepareStackTrace = y;
296
296
  }
297
- var $ = e ? e.displayName || e.name : "", ke = $ ? G($) : "";
298
- return typeof e == "function" && H.set(e, ke), ke;
297
+ var z = e ? e.displayName || e.name : "", L = z ? G(z) : "";
298
+ return typeof e == "function" && H.set(e, L), L;
299
299
  }
300
- function Pt(e, s, l) {
301
- return Ce(e, !1);
300
+ function Mt(e, s, l) {
301
+ return je(e, !1);
302
302
  }
303
- function It(e) {
303
+ function kt(e) {
304
304
  var s = e.prototype;
305
305
  return !!(s && s.isReactComponent);
306
306
  }
307
- function J(e, s, l) {
307
+ function X(e, s, l) {
308
308
  if (e == null)
309
309
  return "";
310
310
  if (typeof e == "function")
311
- return Ce(e, It(e));
311
+ return je(e, kt(e));
312
312
  if (typeof e == "string")
313
313
  return G(e);
314
314
  switch (e) {
315
- case p:
315
+ case f:
316
316
  return G("Suspense");
317
- case b:
317
+ case v:
318
318
  return G("SuspenseList");
319
319
  }
320
320
  if (typeof e == "object")
321
321
  switch (e.$$typeof) {
322
- case m:
323
- return Pt(e.render);
322
+ case p:
323
+ return Mt(e.render);
324
324
  case S:
325
- return J(e.type, s, l);
325
+ return X(e.type, s, l);
326
326
  case _: {
327
- var f = e, y = f._payload, w = f._init;
327
+ var m = e, y = m._payload, w = m._init;
328
328
  try {
329
- return J(w(y), s, l);
329
+ return X(w(y), s, l);
330
330
  } catch {
331
331
  }
332
332
  }
333
333
  }
334
334
  return "";
335
335
  }
336
- var K = Object.prototype.hasOwnProperty, Ne = {}, je = V.ReactDebugCurrentFrame;
337
- function X(e) {
336
+ var Y = Object.prototype.hasOwnProperty, Te = {}, Re = A.ReactDebugCurrentFrame;
337
+ function Z(e) {
338
338
  if (e) {
339
- var s = e._owner, l = J(e.type, e._source, s ? s.type : null);
340
- je.setExtraStackFrame(l);
339
+ var s = e._owner, l = X(e.type, e._source, s ? s.type : null);
340
+ Re.setExtraStackFrame(l);
341
341
  } else
342
- je.setExtraStackFrame(null);
342
+ Re.setExtraStackFrame(null);
343
343
  }
344
- function Mt(e, s, l, f, y) {
344
+ function Ft(e, s, l, m, y) {
345
345
  {
346
- var w = Function.call.bind(K);
346
+ var w = Function.call.bind(Y);
347
347
  for (var h in e)
348
348
  if (w(e, h)) {
349
- var v = void 0;
349
+ var b = void 0;
350
350
  try {
351
351
  if (typeof e[h] != "function") {
352
- var I = Error((f || "React class") + ": " + l + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
352
+ var I = Error((m || "React class") + ": " + l + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
353
353
  throw I.name = "Invariant Violation", I;
354
354
  }
355
- v = e[h](s, h, f, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
355
+ b = e[h](s, h, m, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
356
356
  } catch (j) {
357
- v = j;
357
+ b = j;
358
358
  }
359
- v && !(v instanceof Error) && (X(y), P("%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", l, h, typeof v), X(null)), v instanceof Error && !(v.message in Ne) && (Ne[v.message] = !0, X(y), P("Failed %s type: %s", l, v.message), X(null));
359
+ b && !(b instanceof Error) && (Z(y), P("%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).", m || "React class", l, h, typeof b), Z(null)), b instanceof Error && !(b.message in Te) && (Te[b.message] = !0, Z(y), P("Failed %s type: %s", l, b.message), Z(null));
360
360
  }
361
361
  }
362
362
  }
363
- var Ft = Array.isArray;
364
- function ne(e) {
365
- return Ft(e);
363
+ var Ot = Array.isArray;
364
+ function ae(e) {
365
+ return Ot(e);
366
366
  }
367
- function kt(e) {
367
+ function Lt(e) {
368
368
  {
369
369
  var s = typeof Symbol == "function" && Symbol.toStringTag, l = s && e[Symbol.toStringTag] || e.constructor.name || "Object";
370
370
  return l;
371
371
  }
372
372
  }
373
- function Ot(e) {
373
+ function Bt(e) {
374
374
  try {
375
- return Te(e), !1;
375
+ return Se(e), !1;
376
376
  } catch {
377
377
  return !0;
378
378
  }
379
379
  }
380
- function Te(e) {
380
+ function Se(e) {
381
381
  return "" + e;
382
382
  }
383
- function Re(e) {
384
- if (Ot(e))
385
- return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", kt(e)), Te(e);
383
+ function Ee(e) {
384
+ if (Bt(e))
385
+ return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Lt(e)), Se(e);
386
386
  }
387
- var W = V.ReactCurrentOwner, Lt = {
387
+ var U = A.ReactCurrentOwner, Vt = {
388
388
  key: !0,
389
389
  ref: !0,
390
390
  __self: !0,
391
391
  __source: !0
392
- }, Se, Ee, ae;
393
- ae = {};
394
- function Bt(e) {
395
- if (K.call(e, "ref")) {
392
+ }, De, _e, se;
393
+ se = {};
394
+ function At(e) {
395
+ if (Y.call(e, "ref")) {
396
396
  var s = Object.getOwnPropertyDescriptor(e, "ref").get;
397
397
  if (s && s.isReactWarning)
398
398
  return !1;
399
399
  }
400
400
  return e.ref !== void 0;
401
401
  }
402
- function Vt(e) {
403
- if (K.call(e, "key")) {
402
+ function $t(e) {
403
+ if (Y.call(e, "key")) {
404
404
  var s = Object.getOwnPropertyDescriptor(e, "key").get;
405
405
  if (s && s.isReactWarning)
406
406
  return !1;
407
407
  }
408
408
  return e.key !== void 0;
409
409
  }
410
- function At(e, s) {
411
- if (typeof e.ref == "string" && W.current && s && W.current.stateNode !== s) {
412
- var l = F(W.current.type);
413
- ae[l] || (P('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', F(W.current.type), e.ref), ae[l] = !0);
410
+ function zt(e, s) {
411
+ if (typeof e.ref == "string" && U.current && s && U.current.stateNode !== s) {
412
+ var l = F(U.current.type);
413
+ se[l] || (P('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', F(U.current.type), e.ref), se[l] = !0);
414
414
  }
415
415
  }
416
- function $t(e, s) {
416
+ function Wt(e, s) {
417
417
  {
418
418
  var l = function() {
419
- Se || (Se = !0, P("%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)", s));
419
+ De || (De = !0, P("%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)", s));
420
420
  };
421
421
  l.isReactWarning = !0, Object.defineProperty(e, "key", {
422
422
  get: l,
@@ -424,10 +424,10 @@ function ur() {
424
424
  });
425
425
  }
426
426
  }
427
- function zt(e, s) {
427
+ function Yt(e, s) {
428
428
  {
429
429
  var l = function() {
430
- Ee || (Ee = !0, P("%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)", s));
430
+ _e || (_e = !0, P("%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)", s));
431
431
  };
432
432
  l.isReactWarning = !0, Object.defineProperty(e, "ref", {
433
433
  get: l,
@@ -435,8 +435,8 @@ function ur() {
435
435
  });
436
436
  }
437
437
  }
438
- var Wt = function(e, s, l, f, y, w, h) {
439
- var v = {
438
+ var Ut = function(e, s, l, m, y, w, h) {
439
+ var b = {
440
440
  // This tag allows us to uniquely identify this as a React Element
441
441
  $$typeof: r,
442
442
  // Built-in properties that belong on the element
@@ -447,58 +447,58 @@ function ur() {
447
447
  // Record the component responsible for creating this element.
448
448
  _owner: w
449
449
  };
450
- return v._store = {}, Object.defineProperty(v._store, "validated", {
450
+ return b._store = {}, Object.defineProperty(b._store, "validated", {
451
451
  configurable: !1,
452
452
  enumerable: !1,
453
453
  writable: !0,
454
454
  value: !1
455
- }), Object.defineProperty(v, "_self", {
455
+ }), Object.defineProperty(b, "_self", {
456
456
  configurable: !1,
457
457
  enumerable: !1,
458
458
  writable: !1,
459
- value: f
460
- }), Object.defineProperty(v, "_source", {
459
+ value: m
460
+ }), Object.defineProperty(b, "_source", {
461
461
  configurable: !1,
462
462
  enumerable: !1,
463
463
  writable: !1,
464
464
  value: y
465
- }), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
465
+ }), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
466
466
  };
467
- function Yt(e, s, l, f, y) {
467
+ function Kt(e, s, l, m, y) {
468
468
  {
469
- var w, h = {}, v = null, I = null;
470
- l !== void 0 && (Re(l), v = "" + l), Vt(s) && (Re(s.key), v = "" + s.key), Bt(s) && (I = s.ref, At(s, y));
469
+ var w, h = {}, b = null, I = null;
470
+ l !== void 0 && (Ee(l), b = "" + l), $t(s) && (Ee(s.key), b = "" + s.key), At(s) && (I = s.ref, zt(s, y));
471
471
  for (w in s)
472
- K.call(s, w) && !Lt.hasOwnProperty(w) && (h[w] = s[w]);
472
+ Y.call(s, w) && !Vt.hasOwnProperty(w) && (h[w] = s[w]);
473
473
  if (e && e.defaultProps) {
474
474
  var j = e.defaultProps;
475
475
  for (w in j)
476
476
  h[w] === void 0 && (h[w] = j[w]);
477
477
  }
478
- if (v || I) {
478
+ if (b || I) {
479
479
  var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
480
- v && $t(h, E), I && zt(h, E);
480
+ b && Wt(h, E), I && Yt(h, E);
481
481
  }
482
- return Wt(e, v, I, y, f, W.current, h);
482
+ return Ut(e, b, I, y, m, U.current, h);
483
483
  }
484
484
  }
485
- var se = V.ReactCurrentOwner, De = V.ReactDebugCurrentFrame;
486
- function A(e) {
485
+ var ie = A.ReactCurrentOwner, Pe = A.ReactDebugCurrentFrame;
486
+ function $(e) {
487
487
  if (e) {
488
- var s = e._owner, l = J(e.type, e._source, s ? s.type : null);
489
- De.setExtraStackFrame(l);
488
+ var s = e._owner, l = X(e.type, e._source, s ? s.type : null);
489
+ Pe.setExtraStackFrame(l);
490
490
  } else
491
- De.setExtraStackFrame(null);
491
+ Pe.setExtraStackFrame(null);
492
492
  }
493
- var ie;
494
- ie = !1;
495
- function le(e) {
493
+ var le;
494
+ le = !1;
495
+ function de(e) {
496
496
  return typeof e == "object" && e !== null && e.$$typeof === r;
497
497
  }
498
- function _e() {
498
+ function Ie() {
499
499
  {
500
- if (se.current) {
501
- var e = F(se.current.type);
500
+ if (ie.current) {
501
+ var e = F(ie.current.type);
502
502
  if (e)
503
503
  return `
504
504
 
@@ -507,7 +507,7 @@ Check the render method of \`` + e + "`.";
507
507
  return "";
508
508
  }
509
509
  }
510
- function Ut(e) {
510
+ function Jt(e) {
511
511
  {
512
512
  if (e !== void 0) {
513
513
  var s = e.fileName.replace(/^.*[\\\/]/, ""), l = e.lineNumber;
@@ -518,10 +518,10 @@ Check your code at ` + s + ":" + l + ".";
518
518
  return "";
519
519
  }
520
520
  }
521
- var Pe = {};
521
+ var Me = {};
522
522
  function qt(e) {
523
523
  {
524
- var s = _e();
524
+ var s = Ie();
525
525
  if (!s) {
526
526
  var l = typeof e == "string" ? e : e.displayName || e.name;
527
527
  l && (s = `
@@ -531,35 +531,35 @@ Check the top-level render call using <` + l + ">.");
531
531
  return s;
532
532
  }
533
533
  }
534
- function Ie(e, s) {
534
+ function ke(e, s) {
535
535
  {
536
536
  if (!e._store || e._store.validated || e.key != null)
537
537
  return;
538
538
  e._store.validated = !0;
539
539
  var l = qt(s);
540
- if (Pe[l])
540
+ if (Me[l])
541
541
  return;
542
- Pe[l] = !0;
543
- var f = "";
544
- e && e._owner && e._owner !== se.current && (f = " It was passed a child from " + F(e._owner.type) + "."), A(e), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, f), A(null);
542
+ Me[l] = !0;
543
+ var m = "";
544
+ e && e._owner && e._owner !== ie.current && (m = " It was passed a child from " + F(e._owner.type) + "."), $(e), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, m), $(null);
545
545
  }
546
546
  }
547
- function Me(e, s) {
547
+ function Fe(e, s) {
548
548
  {
549
549
  if (typeof e != "object")
550
550
  return;
551
- if (ne(e))
551
+ if (ae(e))
552
552
  for (var l = 0; l < e.length; l++) {
553
- var f = e[l];
554
- le(f) && Ie(f, s);
553
+ var m = e[l];
554
+ de(m) && ke(m, s);
555
555
  }
556
- else if (le(e))
556
+ else if (de(e))
557
557
  e._store && (e._store.validated = !0);
558
558
  else if (e) {
559
- var y = ht(e);
559
+ var y = wt(e);
560
560
  if (typeof y == "function" && y !== e.entries)
561
561
  for (var w = y.call(e), h; !(h = w.next()).done; )
562
- le(h.value) && Ie(h.value, s);
562
+ de(h.value) && ke(h.value, s);
563
563
  }
564
564
  }
565
565
  }
@@ -571,17 +571,17 @@ Check the top-level render call using <` + l + ">.");
571
571
  var l;
572
572
  if (typeof s == "function")
573
573
  l = s.propTypes;
574
- else if (typeof s == "object" && (s.$$typeof === m || // Note: Memo only checks outer props here.
574
+ else if (typeof s == "object" && (s.$$typeof === p || // Note: Memo only checks outer props here.
575
575
  // Inner props are checked in the reconciler.
576
576
  s.$$typeof === S))
577
577
  l = s.propTypes;
578
578
  else
579
579
  return;
580
580
  if (l) {
581
- var f = F(s);
582
- Mt(l, e.props, "prop", f, e);
583
- } else if (s.PropTypes !== void 0 && !ie) {
584
- ie = !0;
581
+ var m = F(s);
582
+ Ft(l, e.props, "prop", m, e);
583
+ } else if (s.PropTypes !== void 0 && !le) {
584
+ le = !0;
585
585
  var y = F(s);
586
586
  P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
587
587
  }
@@ -591,61 +591,76 @@ Check the top-level render call using <` + l + ">.");
591
591
  function Ht(e) {
592
592
  {
593
593
  for (var s = Object.keys(e.props), l = 0; l < s.length; l++) {
594
- var f = s[l];
595
- if (f !== "children" && f !== "key") {
596
- A(e), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), A(null);
594
+ var m = s[l];
595
+ if (m !== "children" && m !== "key") {
596
+ $(e), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), $(null);
597
597
  break;
598
598
  }
599
599
  }
600
- e.ref !== null && (A(e), P("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
600
+ e.ref !== null && ($(e), P("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
601
601
  }
602
602
  }
603
- function Fe(e, s, l, f, y, w) {
603
+ var Oe = {};
604
+ function Le(e, s, l, m, y, w) {
604
605
  {
605
- var h = Rt(e);
606
+ var h = Et(e);
606
607
  if (!h) {
607
- var v = "";
608
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
609
- var I = Ut(y);
610
- I ? v += I : v += _e();
608
+ var b = "";
609
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
610
+ var I = Jt(y);
611
+ I ? b += I : b += Ie();
611
612
  var j;
612
- e === null ? j = "null" : ne(e) ? j = "array" : e !== void 0 && e.$$typeof === r ? (j = "<" + (F(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : j = typeof e, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, v);
613
+ e === null ? j = "null" : ae(e) ? j = "array" : e !== void 0 && e.$$typeof === r ? (j = "<" + (F(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : j = typeof e, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, b);
613
614
  }
614
- var E = Yt(e, s, l, y, w);
615
+ var E = Kt(e, s, l, y, w);
615
616
  if (E == null)
616
617
  return E;
617
618
  if (h) {
618
- var M = s.children;
619
- if (M !== void 0)
620
- if (f)
621
- if (ne(M)) {
622
- for (var $ = 0; $ < M.length; $++)
623
- Me(M[$], e);
624
- Object.freeze && Object.freeze(M);
619
+ var k = s.children;
620
+ if (k !== void 0)
621
+ if (m)
622
+ if (ae(k)) {
623
+ for (var z = 0; z < k.length; z++)
624
+ Fe(k[z], e);
625
+ Object.freeze && Object.freeze(k);
625
626
  } else
626
627
  P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
627
628
  else
628
- Me(M, e);
629
+ Fe(k, e);
630
+ }
631
+ if (Y.call(s, "key")) {
632
+ var L = F(e), M = Object.keys(s).filter(function(rr) {
633
+ return rr !== "key";
634
+ }), ce = M.length > 0 ? "{key: someKey, " + M.join(": ..., ") + ": ...}" : "{key: someKey}";
635
+ if (!Oe[L + ce]) {
636
+ var tr = M.length > 0 ? "{" + M.join(": ..., ") + ": ...}" : "{}";
637
+ P(`A props object containing a "key" prop is being spread into JSX:
638
+ let props = %s;
639
+ <%s {...props} />
640
+ React keys must be passed directly to JSX without using spread:
641
+ let props = %s;
642
+ <%s key={someKey} {...props} />`, ce, L, tr, L), Oe[L + ce] = !0;
643
+ }
629
644
  }
630
645
  return e === a ? Ht(E) : Gt(E), E;
631
646
  }
632
647
  }
633
- function Jt(e, s, l) {
634
- return Fe(e, s, l, !0);
648
+ function Xt(e, s, l) {
649
+ return Le(e, s, l, !0);
635
650
  }
636
- function Kt(e, s, l) {
637
- return Fe(e, s, l, !1);
651
+ function Zt(e, s, l) {
652
+ return Le(e, s, l, !1);
638
653
  }
639
- var Xt = Kt, Zt = Jt;
640
- U.Fragment = a, U.jsx = Xt, U.jsxs = Zt;
641
- }()), U;
654
+ var Qt = Zt, er = Xt;
655
+ J.Fragment = a, J.jsx = Qt, J.jsxs = er;
656
+ }()), J;
642
657
  }
643
- process.env.NODE_ENV === "production" ? de.exports = cr() : de.exports = ur();
644
- var n = de.exports;
658
+ process.env.NODE_ENV === "production" ? ue.exports = xr() : ue.exports = hr();
659
+ var n = ue.exports;
645
660
  function u(...o) {
646
- return nr(or(o));
661
+ return fr(ur(o));
647
662
  }
648
- const fr = Z(
663
+ const yr = Q(
649
664
  "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
650
665
  {
651
666
  variants: {
@@ -661,10 +676,10 @@ const fr = Z(
661
676
  }
662
677
  }
663
678
  );
664
- function mr({ className: o, variant: r, ...t }) {
665
- return /* @__PURE__ */ n.jsx("div", { className: u(fr({ variant: r }), o), ...t });
679
+ function wr({ className: o, variant: r, ...t }) {
680
+ return /* @__PURE__ */ n.jsx("div", { className: u(yr({ variant: r }), o), ...t });
666
681
  }
667
- const pr = Z(
682
+ const Cr = Q(
668
683
  "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
669
684
  {
670
685
  variants: {
@@ -690,11 +705,11 @@ const pr = Z(
690
705
  }
691
706
  ), He = g.forwardRef(
692
707
  ({ className: o, variant: r, size: t, asChild: a = !1, ...i }, d) => {
693
- const c = a ? ze : "button";
708
+ const c = a ? Ye : "button";
694
709
  return /* @__PURE__ */ n.jsx(
695
710
  c,
696
711
  {
697
- className: u(pr({ variant: r, size: t, className: o })),
712
+ className: u(Cr({ variant: r, size: t, className: o })),
698
713
  ref: d,
699
714
  ...i
700
715
  }
@@ -702,7 +717,7 @@ const pr = Z(
702
717
  }
703
718
  );
704
719
  He.displayName = "Button";
705
- const Je = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
720
+ const Xe = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
706
721
  "div",
707
722
  {
708
723
  ref: t,
@@ -713,8 +728,8 @@ const Je = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
713
728
  ...r
714
729
  }
715
730
  ));
716
- Je.displayName = "Card";
717
- const gr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
731
+ Xe.displayName = "Card";
732
+ const Nr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
718
733
  "div",
719
734
  {
720
735
  ref: t,
@@ -722,8 +737,8 @@ const gr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
722
737
  ...r
723
738
  }
724
739
  ));
725
- gr.displayName = "CardHeader";
726
- const vr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
740
+ Nr.displayName = "CardHeader";
741
+ const jr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
727
742
  "h3",
728
743
  {
729
744
  ref: t,
@@ -734,8 +749,8 @@ const vr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
734
749
  ...r
735
750
  }
736
751
  ));
737
- vr.displayName = "CardTitle";
738
- const br = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
752
+ jr.displayName = "CardTitle";
753
+ const Tr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
739
754
  "p",
740
755
  {
741
756
  ref: t,
@@ -743,10 +758,10 @@ const br = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
743
758
  ...r
744
759
  }
745
760
  ));
746
- br.displayName = "CardDescription";
747
- const Ke = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx("div", { ref: t, className: u("p-6 pt-0", o), ...r }));
748
- Ke.displayName = "CardContent";
749
- const xr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
761
+ Tr.displayName = "CardDescription";
762
+ const Ze = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx("div", { ref: t, className: u("p-6 pt-0", o), ...r }));
763
+ Ze.displayName = "CardContent";
764
+ const Rr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
750
765
  "div",
751
766
  {
752
767
  ref: t,
@@ -754,8 +769,8 @@ const xr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
754
769
  ...r
755
770
  }
756
771
  ));
757
- xr.displayName = "CardFooter";
758
- const hr = T.Root, yr = T.Trigger, wr = T.Sub, Xe = g.forwardRef(({ className: o, inset: r, children: t, ...a }, i) => /* @__PURE__ */ n.jsxs(
772
+ Rr.displayName = "CardFooter";
773
+ const Sr = T.Root, Er = T.Trigger, Dr = T.Sub, Qe = g.forwardRef(({ className: o, inset: r, children: t, ...a }, i) => /* @__PURE__ */ n.jsxs(
759
774
  T.SubTrigger,
760
775
  {
761
776
  ref: i,
@@ -767,12 +782,12 @@ const hr = T.Root, yr = T.Trigger, wr = T.Sub, Xe = g.forwardRef(({ className: o
767
782
  ...a,
768
783
  children: [
769
784
  t,
770
- /* @__PURE__ */ n.jsx(We, { className: "ml-auto h-4 w-4" })
785
+ /* @__PURE__ */ n.jsx(Ue, { className: "ml-auto h-4 w-4" })
771
786
  ]
772
787
  }
773
788
  ));
774
- Xe.displayName = T.SubTrigger.displayName;
775
- const Ze = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
789
+ Qe.displayName = T.SubTrigger.displayName;
790
+ const et = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
776
791
  T.SubContent,
777
792
  {
778
793
  ref: t,
@@ -783,8 +798,8 @@ const Ze = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
783
798
  ...r
784
799
  }
785
800
  ));
786
- Ze.displayName = T.SubContent.displayName;
787
- const Qe = g.forwardRef(({ className: o, sideOffset: r = 4, ...t }, a) => (
801
+ et.displayName = T.SubContent.displayName;
802
+ const tt = g.forwardRef(({ className: o, sideOffset: r = 4, ...t }, a) => (
788
803
  // <DropdownMenuPrimitive.Portal>
789
804
  /* @__PURE__ */ n.jsx(
790
805
  T.Content,
@@ -799,8 +814,8 @@ const Qe = g.forwardRef(({ className: o, sideOffset: r = 4, ...t }, a) => (
799
814
  }
800
815
  )
801
816
  ));
802
- Qe.displayName = T.Content.displayName;
803
- const et = g.forwardRef(({ className: o, inset: r, ...t }, a) => /* @__PURE__ */ n.jsx(
817
+ tt.displayName = T.Content.displayName;
818
+ const rt = g.forwardRef(({ className: o, inset: r, ...t }, a) => /* @__PURE__ */ n.jsx(
804
819
  T.Item,
805
820
  {
806
821
  ref: a,
@@ -812,8 +827,8 @@ const et = g.forwardRef(({ className: o, inset: r, ...t }, a) => /* @__PURE__ */
812
827
  ...t
813
828
  }
814
829
  ));
815
- et.displayName = T.Item.displayName;
816
- const tt = g.forwardRef(({ className: o, children: r, checked: t, ...a }, i) => /* @__PURE__ */ n.jsxs(
830
+ rt.displayName = T.Item.displayName;
831
+ const ot = g.forwardRef(({ className: o, children: r, checked: t, ...a }, i) => /* @__PURE__ */ n.jsxs(
817
832
  T.CheckboxItem,
818
833
  {
819
834
  ref: i,
@@ -824,13 +839,13 @@ const tt = g.forwardRef(({ className: o, children: r, checked: t, ...a }, i) =>
824
839
  checked: t,
825
840
  ...a,
826
841
  children: [
827
- /* @__PURE__ */ n.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n.jsx(T.ItemIndicator, { children: /* @__PURE__ */ n.jsx(Ye, { className: "h-4 w-4" }) }) }),
842
+ /* @__PURE__ */ n.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n.jsx(T.ItemIndicator, { children: /* @__PURE__ */ n.jsx(Ke, { className: "h-4 w-4" }) }) }),
828
843
  r
829
844
  ]
830
845
  }
831
846
  ));
832
- tt.displayName = T.CheckboxItem.displayName;
833
- const Cr = g.forwardRef(({ className: o, children: r, ...t }, a) => /* @__PURE__ */ n.jsxs(
847
+ ot.displayName = T.CheckboxItem.displayName;
848
+ const _r = g.forwardRef(({ className: o, children: r, ...t }, a) => /* @__PURE__ */ n.jsxs(
834
849
  T.RadioItem,
835
850
  {
836
851
  ref: a,
@@ -840,13 +855,13 @@ const Cr = g.forwardRef(({ className: o, children: r, ...t }, a) => /* @__PURE__
840
855
  ),
841
856
  ...t,
842
857
  children: [
843
- /* @__PURE__ */ n.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n.jsx(T.ItemIndicator, { children: /* @__PURE__ */ n.jsx(ar, { className: "h-2 w-2 fill-current" }) }) }),
858
+ /* @__PURE__ */ n.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n.jsx(T.ItemIndicator, { children: /* @__PURE__ */ n.jsx(mr, { className: "h-2 w-2 fill-current" }) }) }),
844
859
  r
845
860
  ]
846
861
  }
847
862
  ));
848
- Cr.displayName = T.RadioItem.displayName;
849
- const rt = g.forwardRef(({ className: o, inset: r, ...t }, a) => /* @__PURE__ */ n.jsx(
863
+ _r.displayName = T.RadioItem.displayName;
864
+ const nt = g.forwardRef(({ className: o, inset: r, ...t }, a) => /* @__PURE__ */ n.jsx(
850
865
  T.Label,
851
866
  {
852
867
  ref: a,
@@ -858,8 +873,8 @@ const rt = g.forwardRef(({ className: o, inset: r, ...t }, a) => /* @__PURE__ */
858
873
  ...t
859
874
  }
860
875
  ));
861
- rt.displayName = T.Label.displayName;
862
- const ot = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
876
+ nt.displayName = T.Label.displayName;
877
+ const at = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
863
878
  T.Separator,
864
879
  {
865
880
  ref: t,
@@ -867,22 +882,22 @@ const ot = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
867
882
  ...r
868
883
  }
869
884
  ));
870
- ot.displayName = T.Separator.displayName;
871
- const Nr = Z(
885
+ at.displayName = T.Separator.displayName;
886
+ const Pr = Q(
872
887
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
873
- ), ce = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
888
+ ), fe = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
874
889
  qe.Root,
875
890
  {
876
891
  ref: t,
877
- className: u(Nr(), o),
892
+ className: u(Pr(), o),
878
893
  ...r
879
894
  }
880
895
  ));
881
- ce.displayName = qe.Root.displayName;
882
- const jr = ir, Tr = g.createContext(
896
+ fe.displayName = qe.Root.displayName;
897
+ const Ir = gr, Mr = g.createContext(
883
898
  {}
884
- ), ee = () => {
885
- const o = g.useContext(Tr), r = g.useContext(nt), { getFieldState: t, formState: a } = lr(), i = t(o.name, a);
899
+ ), te = () => {
900
+ const o = g.useContext(Mr), r = g.useContext(st), { getFieldState: t, formState: a } = vr(), i = t(o.name, a);
886
901
  if (!o)
887
902
  throw new Error("useFormField should be used within <FormField>");
888
903
  const { id: d } = r;
@@ -894,17 +909,17 @@ const jr = ir, Tr = g.createContext(
894
909
  formMessageId: `${d}-form-item-message`,
895
910
  ...i
896
911
  };
897
- }, nt = g.createContext(
912
+ }, st = g.createContext(
898
913
  {}
899
- ), Rr = g.forwardRef(({ className: o, ...r }, t) => {
914
+ ), kr = g.forwardRef(({ className: o, ...r }, t) => {
900
915
  const a = g.useId();
901
- return /* @__PURE__ */ n.jsx(nt.Provider, { value: { id: a }, children: /* @__PURE__ */ n.jsx("div", { ref: t, className: u("space-y-2", o), ...r }) });
916
+ return /* @__PURE__ */ n.jsx(st.Provider, { value: { id: a }, children: /* @__PURE__ */ n.jsx("div", { ref: t, className: u("space-y-2", o), ...r }) });
902
917
  });
903
- Rr.displayName = "FormItem";
904
- const Sr = g.forwardRef(({ className: o, ...r }, t) => {
905
- const { error: a, formItemId: i } = ee();
918
+ kr.displayName = "FormItem";
919
+ const Fr = g.forwardRef(({ className: o, ...r }, t) => {
920
+ const { error: a, formItemId: i } = te();
906
921
  return /* @__PURE__ */ n.jsx(
907
- ce,
922
+ fe,
908
923
  {
909
924
  ref: t,
910
925
  className: u(a && "text-destructive", o),
@@ -913,11 +928,11 @@ const Sr = g.forwardRef(({ className: o, ...r }, t) => {
913
928
  }
914
929
  );
915
930
  });
916
- Sr.displayName = "FormLabel";
917
- const Er = g.forwardRef(({ ...o }, r) => {
918
- const { error: t, formItemId: a, formDescriptionId: i, formMessageId: d } = ee();
931
+ Fr.displayName = "FormLabel";
932
+ const Or = g.forwardRef(({ ...o }, r) => {
933
+ const { error: t, formItemId: a, formDescriptionId: i, formMessageId: d } = te();
919
934
  return /* @__PURE__ */ n.jsx(
920
- ze,
935
+ Ye,
921
936
  {
922
937
  ref: r,
923
938
  id: a,
@@ -927,9 +942,9 @@ const Er = g.forwardRef(({ ...o }, r) => {
927
942
  }
928
943
  );
929
944
  });
930
- Er.displayName = "FormControl";
931
- const Dr = g.forwardRef(({ className: o, ...r }, t) => {
932
- const { formDescriptionId: a } = ee();
945
+ Or.displayName = "FormControl";
946
+ const Lr = g.forwardRef(({ className: o, ...r }, t) => {
947
+ const { formDescriptionId: a } = te();
933
948
  return /* @__PURE__ */ n.jsx(
934
949
  "p",
935
950
  {
@@ -940,9 +955,9 @@ const Dr = g.forwardRef(({ className: o, ...r }, t) => {
940
955
  }
941
956
  );
942
957
  });
943
- Dr.displayName = "FormDescription";
944
- const _r = g.forwardRef(({ className: o, children: r, ...t }, a) => {
945
- const { error: i, formMessageId: d } = ee(), c = i ? String(i == null ? void 0 : i.message) : r;
958
+ Lr.displayName = "FormDescription";
959
+ const Br = g.forwardRef(({ className: o, children: r, ...t }, a) => {
960
+ const { error: i, formMessageId: d } = te(), c = i ? String(i == null ? void 0 : i.message) : r;
946
961
  return c ? /* @__PURE__ */ n.jsx(
947
962
  "p",
948
963
  {
@@ -954,8 +969,8 @@ const _r = g.forwardRef(({ className: o, children: r, ...t }, a) => {
954
969
  }
955
970
  ) : null;
956
971
  });
957
- _r.displayName = "FormMessage";
958
- const at = g.forwardRef(
972
+ Br.displayName = "FormMessage";
973
+ const it = g.forwardRef(
959
974
  ({ className: o, type: r, ...t }, a) => /* @__PURE__ */ n.jsx(
960
975
  "input",
961
976
  {
@@ -969,11 +984,11 @@ const at = g.forwardRef(
969
984
  }
970
985
  )
971
986
  );
972
- at.displayName = "Input";
973
- const Pr = Q.Root, Ir = Q.Trigger, st = g.forwardRef(({ className: o, align: r = "center", sideOffset: t = 4, ...a }, i) => (
987
+ it.displayName = "Input";
988
+ const Vr = ee.Root, Ar = ee.Trigger, lt = g.forwardRef(({ className: o, align: r = "center", sideOffset: t = 4, ...a }, i) => (
974
989
  // <PopoverPrimitive.Portal>
975
990
  /* @__PURE__ */ n.jsx(
976
- Q.Content,
991
+ ee.Content,
977
992
  {
978
993
  ref: i,
979
994
  align: r,
@@ -986,8 +1001,8 @@ const Pr = Q.Root, Ir = Q.Trigger, st = g.forwardRef(({ className: o, align: r =
986
1001
  }
987
1002
  )
988
1003
  ));
989
- st.displayName = Q.Content.displayName;
990
- const Mr = D.Root, Fr = D.Value, it = g.forwardRef(({ className: o, children: r, ...t }, a) => /* @__PURE__ */ n.jsxs(
1004
+ lt.displayName = ee.Content.displayName;
1005
+ const $r = D.Root, zr = D.Value, dt = g.forwardRef(({ className: o, children: r, ...t }, a) => /* @__PURE__ */ n.jsxs(
991
1006
  D.Trigger,
992
1007
  {
993
1008
  ref: a,
@@ -998,12 +1013,12 @@ const Mr = D.Root, Fr = D.Value, it = g.forwardRef(({ className: o, children: r,
998
1013
  ...t,
999
1014
  children: [
1000
1015
  r,
1001
- /* @__PURE__ */ n.jsx(D.Icon, { asChild: !0, children: /* @__PURE__ */ n.jsx(Ue, { className: "h-4 w-4 opacity-50" }) })
1016
+ /* @__PURE__ */ n.jsx(D.Icon, { asChild: !0, children: /* @__PURE__ */ n.jsx(Je, { className: "h-4 w-4 opacity-50" }) })
1002
1017
  ]
1003
1018
  }
1004
1019
  ));
1005
- it.displayName = D.Trigger.displayName;
1006
- const lt = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1020
+ dt.displayName = D.Trigger.displayName;
1021
+ const ct = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1007
1022
  D.ScrollUpButton,
1008
1023
  {
1009
1024
  ref: t,
@@ -1012,11 +1027,11 @@ const lt = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1012
1027
  o
1013
1028
  ),
1014
1029
  ...r,
1015
- children: /* @__PURE__ */ n.jsx(sr, { className: "h-4 w-4" })
1030
+ children: /* @__PURE__ */ n.jsx(pr, { className: "h-4 w-4" })
1016
1031
  }
1017
1032
  ));
1018
- lt.displayName = D.ScrollUpButton.displayName;
1019
- const dt = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1033
+ ct.displayName = D.ScrollUpButton.displayName;
1034
+ const ut = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1020
1035
  D.ScrollDownButton,
1021
1036
  {
1022
1037
  ref: t,
@@ -1025,11 +1040,11 @@ const dt = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1025
1040
  o
1026
1041
  ),
1027
1042
  ...r,
1028
- children: /* @__PURE__ */ n.jsx(Ue, { className: "h-4 w-4" })
1043
+ children: /* @__PURE__ */ n.jsx(Je, { className: "h-4 w-4" })
1029
1044
  }
1030
1045
  ));
1031
- dt.displayName = D.ScrollDownButton.displayName;
1032
- const ct = g.forwardRef(({ className: o, children: r, position: t = "popper", ...a }, i) => (
1046
+ ut.displayName = D.ScrollDownButton.displayName;
1047
+ const ft = g.forwardRef(({ className: o, children: r, position: t = "popper", ...a }, i) => (
1033
1048
  // <SelectPrimitive.Portal>
1034
1049
  /* @__PURE__ */ n.jsxs(
1035
1050
  D.Content,
@@ -1043,7 +1058,7 @@ const ct = g.forwardRef(({ className: o, children: r, position: t = "popper", ..
1043
1058
  position: t,
1044
1059
  ...a,
1045
1060
  children: [
1046
- /* @__PURE__ */ n.jsx(lt, {}),
1061
+ /* @__PURE__ */ n.jsx(ct, {}),
1047
1062
  /* @__PURE__ */ n.jsx(
1048
1063
  D.Viewport,
1049
1064
  {
@@ -1054,13 +1069,13 @@ const ct = g.forwardRef(({ className: o, children: r, position: t = "popper", ..
1054
1069
  children: r
1055
1070
  }
1056
1071
  ),
1057
- /* @__PURE__ */ n.jsx(dt, {})
1072
+ /* @__PURE__ */ n.jsx(ut, {})
1058
1073
  ]
1059
1074
  }
1060
1075
  )
1061
1076
  ));
1062
- ct.displayName = D.Content.displayName;
1063
- const kr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1077
+ ft.displayName = D.Content.displayName;
1078
+ const Wr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1064
1079
  D.Label,
1065
1080
  {
1066
1081
  ref: t,
@@ -1068,8 +1083,8 @@ const kr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1068
1083
  ...r
1069
1084
  }
1070
1085
  ));
1071
- kr.displayName = D.Label.displayName;
1072
- const ut = g.forwardRef(({ className: o, children: r, ...t }, a) => /* @__PURE__ */ n.jsxs(
1086
+ Wr.displayName = D.Label.displayName;
1087
+ const mt = g.forwardRef(({ className: o, children: r, ...t }, a) => /* @__PURE__ */ n.jsxs(
1073
1088
  D.Item,
1074
1089
  {
1075
1090
  ref: a,
@@ -1079,13 +1094,13 @@ const ut = g.forwardRef(({ className: o, children: r, ...t }, a) => /* @__PURE__
1079
1094
  ),
1080
1095
  ...t,
1081
1096
  children: [
1082
- /* @__PURE__ */ n.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n.jsx(D.ItemIndicator, { children: /* @__PURE__ */ n.jsx(Ye, { className: "h-4 w-4" }) }) }),
1097
+ /* @__PURE__ */ n.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n.jsx(D.ItemIndicator, { children: /* @__PURE__ */ n.jsx(Ke, { className: "h-4 w-4" }) }) }),
1083
1098
  /* @__PURE__ */ n.jsx(D.ItemText, { children: r })
1084
1099
  ]
1085
1100
  }
1086
1101
  ));
1087
- ut.displayName = D.Item.displayName;
1088
- const Or = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1102
+ mt.displayName = D.Item.displayName;
1103
+ const Yr = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1089
1104
  D.Separator,
1090
1105
  {
1091
1106
  ref: t,
@@ -1093,9 +1108,9 @@ const Or = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1093
1108
  ...r
1094
1109
  }
1095
1110
  ));
1096
- Or.displayName = D.Separator.displayName;
1097
- const Lr = L.Root, ft = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1098
- L.List,
1111
+ Yr.displayName = D.Separator.displayName;
1112
+ const Ur = B.Root, pt = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1113
+ B.List,
1099
1114
  {
1100
1115
  ref: t,
1101
1116
  className: u(
@@ -1105,9 +1120,9 @@ const Lr = L.Root, ft = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__
1105
1120
  ...r
1106
1121
  }
1107
1122
  ));
1108
- ft.displayName = L.List.displayName;
1109
- const mt = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1110
- L.Trigger,
1123
+ pt.displayName = B.List.displayName;
1124
+ const gt = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1125
+ B.Trigger,
1111
1126
  {
1112
1127
  ref: t,
1113
1128
  className: u(
@@ -1117,9 +1132,9 @@ const mt = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1117
1132
  ...r
1118
1133
  }
1119
1134
  ));
1120
- mt.displayName = L.Trigger.displayName;
1121
- const pt = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1122
- L.Content,
1135
+ gt.displayName = B.Trigger.displayName;
1136
+ const vt = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1137
+ B.Content,
1123
1138
  {
1124
1139
  ref: t,
1125
1140
  className: u(
@@ -1129,8 +1144,8 @@ const pt = g.forwardRef(({ className: o, ...r }, t) => /* @__PURE__ */ n.jsx(
1129
1144
  ...r
1130
1145
  }
1131
1146
  ));
1132
- pt.displayName = L.Content.displayName;
1133
- const Br = Z(
1147
+ vt.displayName = B.Content.displayName;
1148
+ const Kr = Q(
1134
1149
  "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
1135
1150
  {
1136
1151
  variants: {
@@ -1149,16 +1164,16 @@ const Br = Z(
1149
1164
  size: "default"
1150
1165
  }
1151
1166
  }
1152
- ), gt = g.forwardRef(({ className: o, variant: r, size: t, ...a }, i) => /* @__PURE__ */ n.jsx(
1167
+ ), bt = g.forwardRef(({ className: o, variant: r, size: t, ...a }, i) => /* @__PURE__ */ n.jsx(
1153
1168
  Ge.Root,
1154
1169
  {
1155
1170
  ref: i,
1156
- className: u(Br({ variant: r, size: t, className: o })),
1171
+ className: u(Kr({ variant: r, size: t, className: o })),
1157
1172
  ...a
1158
1173
  }
1159
1174
  ));
1160
- gt.displayName = Ge.Root.displayName;
1161
- const Vr = q.Provider, Ar = q.Root, $r = q.Trigger, vt = g.forwardRef(({ className: o, sideOffset: r = 4, ...t }, a) => /* @__PURE__ */ n.jsx(
1175
+ bt.displayName = Ge.Root.displayName;
1176
+ const Jr = q.Provider, qr = q.Root, Gr = q.Trigger, xt = g.forwardRef(({ className: o, sideOffset: r = 4, ...t }, a) => /* @__PURE__ */ n.jsx(
1162
1177
  q.Content,
1163
1178
  {
1164
1179
  ref: a,
@@ -1170,76 +1185,76 @@ const Vr = q.Provider, Ar = q.Root, $r = q.Trigger, vt = g.forwardRef(({ classNa
1170
1185
  ...t
1171
1186
  }
1172
1187
  ));
1173
- vt.displayName = q.Content.displayName;
1174
- const zr = {
1188
+ xt.displayName = q.Content.displayName;
1189
+ const Hr = {
1175
1190
  Badge: {
1176
- Badge: mr
1191
+ Badge: wr
1177
1192
  },
1178
1193
  Button: {
1179
1194
  Button: He
1180
1195
  },
1181
1196
  Card: {
1182
- Card: Je,
1183
- CardContent: Ke
1197
+ Card: Xe,
1198
+ CardContent: Ze
1184
1199
  },
1185
1200
  DropdownMenu: {
1186
- DropdownMenu: hr,
1187
- DropdownMenuCheckboxItem: tt,
1188
- DropdownMenuContent: Qe,
1189
- DropdownMenuItem: et,
1190
- DropdownMenuLabel: rt,
1191
- DropdownMenuSeparator: ot,
1192
- DropdownMenuSub: wr,
1193
- DropdownMenuSubContent: Ze,
1194
- DropdownMenuSubTrigger: Xe,
1195
- DropdownMenuTrigger: yr
1201
+ DropdownMenu: Sr,
1202
+ DropdownMenuCheckboxItem: ot,
1203
+ DropdownMenuContent: tt,
1204
+ DropdownMenuItem: rt,
1205
+ DropdownMenuLabel: nt,
1206
+ DropdownMenuSeparator: at,
1207
+ DropdownMenuSub: Dr,
1208
+ DropdownMenuSubContent: et,
1209
+ DropdownMenuSubTrigger: Qe,
1210
+ DropdownMenuTrigger: Er
1196
1211
  },
1197
1212
  Form: {
1198
- Form: jr
1213
+ Form: Ir
1199
1214
  },
1200
1215
  Input: {
1201
- Input: at
1216
+ Input: it
1202
1217
  },
1203
1218
  Label: {
1204
- Label: ce
1219
+ Label: fe
1205
1220
  },
1206
1221
  Popover: {
1207
- Popover: Pr,
1208
- PopoverContent: st,
1209
- PopoverTrigger: Ir
1222
+ Popover: Vr,
1223
+ PopoverContent: lt,
1224
+ PopoverTrigger: Ar
1210
1225
  },
1211
1226
  Select: {
1212
- Select: Mr,
1213
- SelectContent: ct,
1214
- SelectItem: ut,
1215
- SelectTrigger: it,
1216
- SelectValue: Fr
1227
+ Select: $r,
1228
+ SelectContent: ft,
1229
+ SelectItem: mt,
1230
+ SelectTrigger: dt,
1231
+ SelectValue: zr
1217
1232
  },
1218
1233
  Tabs: {
1219
- Tabs: Lr,
1220
- TabsContent: pt,
1221
- TabsList: ft,
1222
- TabsTrigger: mt
1234
+ Tabs: Ur,
1235
+ TabsContent: vt,
1236
+ TabsList: pt,
1237
+ TabsTrigger: gt
1223
1238
  },
1224
1239
  Toggle: {
1225
- Toggle: gt
1240
+ Toggle: bt
1226
1241
  },
1227
1242
  Tooltip: {
1228
- Tooltip: Ar,
1229
- TooltipContent: vt,
1230
- TooltipProvider: Vr,
1231
- TooltipTrigger: $r
1243
+ Tooltip: qr,
1244
+ TooltipContent: xt,
1245
+ TooltipProvider: Jr,
1246
+ TooltipTrigger: Gr
1232
1247
  }
1233
- }, bt = Qt(void 0);
1248
+ }, ht = or(void 0);
1234
1249
  function R() {
1235
- return er(bt);
1250
+ return nr(ht);
1236
1251
  }
1237
- const Wr = (o) => {
1252
+ const Xr = (o) => {
1238
1253
  const { children: r, ...t } = o;
1239
1254
  C(t);
1240
- const a = R(), i = dr();
1255
+ const a = R(), i = br();
1241
1256
  return /* @__PURE__ */ n.jsx(a.Form.Form, { ...i, children: r });
1242
- }, Yr = (o) => N(
1257
+ }, Zr = (o) => N(
1243
1258
  (r, t) => /* @__PURE__ */ n.jsx(
1244
1259
  o,
1245
1260
  {
@@ -1254,7 +1269,7 @@ const Wr = (o) => {
1254
1269
  ref: t
1255
1270
  }
1256
1271
  )
1257
- ), Ur = (o) => {
1272
+ ), Qr = (o) => {
1258
1273
  const {
1259
1274
  children: r,
1260
1275
  onOpenChange: t,
@@ -1272,17 +1287,17 @@ const Wr = (o) => {
1272
1287
  children: r
1273
1288
  }
1274
1289
  ) : /* @__PURE__ */ n.jsx(c.DropdownMenu.DropdownMenu, { onOpenChange: t, children: r });
1275
- }, qr = (o) => {
1290
+ }, eo = (o) => {
1276
1291
  const { children: r, sub: t, ...a } = o;
1277
1292
  C(a);
1278
- const i = R(), d = $e(
1279
- () => Yr(
1293
+ const i = R(), d = We(
1294
+ () => Zr(
1280
1295
  i.DropdownMenu.DropdownMenuTrigger
1281
1296
  ),
1282
1297
  [i.DropdownMenu.DropdownMenuTrigger]
1283
1298
  );
1284
1299
  return t ? /* @__PURE__ */ n.jsx(i.DropdownMenu.DropdownMenuSubTrigger, { children: r }) : /* @__PURE__ */ n.jsx(d, { asChild: !0, ...a, children: r });
1285
- }, Gr = N((o, r) => {
1300
+ }, to = N((o, r) => {
1286
1301
  const { className: t, children: a, sub: i, ...d } = o;
1287
1302
  C(d);
1288
1303
  const c = R();
@@ -1301,41 +1316,41 @@ const Wr = (o) => {
1301
1316
  children: a
1302
1317
  }
1303
1318
  );
1304
- }), Hr = N((o, r) => {
1305
- const { className: t, children: a, icon: i, checked: d, subTrigger: c, onClick: x, ...m } = o;
1306
- C(m);
1307
- const p = R();
1319
+ }), ro = N((o, r) => {
1320
+ const { className: t, children: a, icon: i, checked: d, subTrigger: c, onClick: x, ...p } = o;
1321
+ C(p);
1322
+ const f = R();
1308
1323
  return c ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1309
1324
  i,
1310
1325
  a
1311
1326
  ] }) : d !== void 0 ? /* @__PURE__ */ n.jsxs(
1312
- p.DropdownMenu.DropdownMenuCheckboxItem,
1327
+ f.DropdownMenu.DropdownMenuCheckboxItem,
1313
1328
  {
1314
1329
  className: u(t, "gap-1"),
1315
1330
  ref: r,
1316
1331
  checked: d,
1317
1332
  onClick: x,
1318
- ...m,
1333
+ ...p,
1319
1334
  children: [
1320
1335
  i,
1321
1336
  a
1322
1337
  ]
1323
1338
  }
1324
1339
  ) : /* @__PURE__ */ n.jsxs(
1325
- p.DropdownMenu.DropdownMenuItem,
1340
+ f.DropdownMenu.DropdownMenuItem,
1326
1341
  {
1327
1342
  className: t,
1328
1343
  ref: r,
1329
1344
  onClick: x,
1330
- ...m,
1345
+ ...p,
1331
1346
  children: [
1332
1347
  i,
1333
1348
  a,
1334
- c && /* @__PURE__ */ n.jsx(We, { className: "ml-auto h-4 w-4" })
1349
+ c && /* @__PURE__ */ n.jsx(Ue, { className: "ml-auto h-4 w-4" })
1335
1350
  ]
1336
1351
  }
1337
1352
  );
1338
- }), Jr = N((o, r) => {
1353
+ }), oo = N((o, r) => {
1339
1354
  const { className: t, ...a } = o;
1340
1355
  C(a);
1341
1356
  const i = R();
@@ -1346,7 +1361,7 @@ const Wr = (o) => {
1346
1361
  ref: r
1347
1362
  }
1348
1363
  );
1349
- }), Kr = N((o, r) => {
1364
+ }), no = N((o, r) => {
1350
1365
  const { className: t, children: a, ...i } = o;
1351
1366
  C(i);
1352
1367
  const d = R();
@@ -1358,7 +1373,7 @@ const Wr = (o) => {
1358
1373
  children: a
1359
1374
  }
1360
1375
  );
1361
- }), Xr = N((o, r) => {
1376
+ }), ao = N((o, r) => {
1362
1377
  const {
1363
1378
  className: t,
1364
1379
  tabs: a,
@@ -1367,12 +1382,12 @@ const Wr = (o) => {
1367
1382
  setOpenTab: c,
1368
1383
  loading: x,
1369
1384
  // TODO: implement loader
1370
- ...m
1385
+ ...p
1371
1386
  } = o;
1372
- C(m);
1373
- const p = R();
1387
+ C(p);
1388
+ const f = R();
1374
1389
  return /* @__PURE__ */ n.jsxs(
1375
- p.Tabs.Tabs,
1390
+ f.Tabs.Tabs,
1376
1391
  {
1377
1392
  className: u(t, "bg-popover p-2 rounded-lg"),
1378
1393
  ref: r,
@@ -1380,12 +1395,12 @@ const Wr = (o) => {
1380
1395
  defaultValue: i,
1381
1396
  onValueChange: c,
1382
1397
  children: [
1383
- /* @__PURE__ */ n.jsx(p.Tabs.TabsList, { children: a.map((b) => /* @__PURE__ */ n.jsx(p.Tabs.TabsTrigger, { value: b.name, children: b.name }, b.name)) }),
1384
- a.map((b) => /* @__PURE__ */ n.jsx(p.Tabs.TabsContent, { value: b.name, children: /* @__PURE__ */ n.jsx(p.Card.Card, { children: /* @__PURE__ */ n.jsx(p.Card.CardContent, { className: "p-4", children: b.tabPanel }) }) }, b.name))
1398
+ /* @__PURE__ */ n.jsx(f.Tabs.TabsList, { children: a.map((v) => /* @__PURE__ */ n.jsx(f.Tabs.TabsTrigger, { value: v.name, children: v.name }, v.name)) }),
1399
+ a.map((v) => /* @__PURE__ */ n.jsx(f.Tabs.TabsContent, { value: v.name, children: /* @__PURE__ */ n.jsx(f.Card.Card, { children: /* @__PURE__ */ n.jsx(f.Card.CardContent, { className: "p-4", children: v.tabPanel }) }) }, v.name))
1385
1400
  ]
1386
1401
  }
1387
1402
  );
1388
- }), Zr = N((o, r) => {
1403
+ }), so = N((o, r) => {
1389
1404
  const { className: t, children: a, onClick: i, label: d, ...c } = o;
1390
1405
  C(c);
1391
1406
  const x = R();
@@ -1400,23 +1415,23 @@ const Wr = (o) => {
1400
1415
  children: a
1401
1416
  }
1402
1417
  );
1403
- }), Qr = N((o, r) => {
1418
+ }), io = N((o, r) => {
1404
1419
  const { className: t, accept: a, value: i, placeholder: d, onChange: c, ...x } = o;
1405
1420
  C(x);
1406
- const m = R();
1421
+ const p = R();
1407
1422
  return /* @__PURE__ */ n.jsx(
1408
- m.Input.Input,
1423
+ p.Input.Input,
1409
1424
  {
1410
1425
  type: "file",
1411
1426
  className: t,
1412
1427
  ref: r,
1413
1428
  accept: a,
1414
1429
  value: i ? i.name : void 0,
1415
- onChange: async (p) => c == null ? void 0 : c(p.target.files[0]),
1430
+ onChange: async (f) => c == null ? void 0 : c(f.target.files[0]),
1416
1431
  placeholder: d
1417
1432
  }
1418
1433
  );
1419
- }), eo = N((o, r) => {
1434
+ }), lo = N((o, r) => {
1420
1435
  const { className: t, children: a, ...i } = o;
1421
1436
  return C(i), /* @__PURE__ */ n.jsx(
1422
1437
  "div",
@@ -1429,12 +1444,12 @@ const Wr = (o) => {
1429
1444
  children: a
1430
1445
  }
1431
1446
  );
1432
- }), to = N((o, r) => {
1447
+ }), co = N((o, r) => {
1433
1448
  const { className: t, value: a, placeholder: i, onKeyDown: d, onChange: c, ...x } = o;
1434
1449
  C(x);
1435
- const m = R();
1450
+ const p = R();
1436
1451
  return /* @__PURE__ */ n.jsx(
1437
- m.Input.Input,
1452
+ p.Input.Input,
1438
1453
  {
1439
1454
  "data-test": "embed-input",
1440
1455
  className: u(t, "w-80"),
@@ -1445,7 +1460,7 @@ const Wr = (o) => {
1445
1460
  onChange: c
1446
1461
  }
1447
1462
  );
1448
- }), ro = (o) => {
1463
+ }), uo = (o) => {
1449
1464
  const {
1450
1465
  children: r,
1451
1466
  opened: t,
@@ -1456,14 +1471,14 @@ const Wr = (o) => {
1456
1471
  C(i);
1457
1472
  const d = R();
1458
1473
  return /* @__PURE__ */ n.jsx(d.Popover.Popover, { open: t, children: r });
1459
- }, oo = N(
1474
+ }, fo = N(
1460
1475
  (o, r) => {
1461
1476
  const { children: t, ...a } = o;
1462
1477
  C(a);
1463
1478
  const i = R();
1464
1479
  return /* @__PURE__ */ n.jsx(i.Popover.PopoverTrigger, { ref: r, asChild: !0, children: t });
1465
1480
  }
1466
- ), no = N((o, r) => {
1481
+ ), mo = N((o, r) => {
1467
1482
  const { className: t, variant: a, children: i, ...d } = o;
1468
1483
  C(d);
1469
1484
  const c = R();
@@ -1480,10 +1495,10 @@ const Wr = (o) => {
1480
1495
  children: i
1481
1496
  }
1482
1497
  );
1483
- }), ao = N((o, r) => {
1498
+ }), po = N((o, r) => {
1484
1499
  const { className: t, children: a, ...i } = o;
1485
1500
  return C(i, !1), /* @__PURE__ */ n.jsx("div", { className: t, ref: r, ...i, children: a });
1486
- }), so = N((o, r) => {
1501
+ }), go = N((o, r) => {
1487
1502
  const {
1488
1503
  className: t,
1489
1504
  children: a,
@@ -1491,11 +1506,11 @@ const Wr = (o) => {
1491
1506
  onClick: d,
1492
1507
  onDragEnd: c,
1493
1508
  onDragStart: x,
1494
- draggable: m,
1495
- label: p,
1496
- ...b
1509
+ draggable: p,
1510
+ label: f,
1511
+ ...v
1497
1512
  } = o;
1498
- C(b, !1);
1513
+ C(v, !1);
1499
1514
  const S = R();
1500
1515
  return /* @__PURE__ */ n.jsxs(
1501
1516
  S.Button.Button,
@@ -1503,19 +1518,19 @@ const Wr = (o) => {
1503
1518
  variant: "ghost",
1504
1519
  className: u(t, "text-gray-400"),
1505
1520
  ref: r,
1506
- "aria-label": p,
1521
+ "aria-label": f,
1507
1522
  onClick: d,
1508
1523
  onDragStart: x,
1509
1524
  onDragEnd: c,
1510
- draggable: m,
1511
- ...b,
1525
+ draggable: p,
1526
+ ...v,
1512
1527
  children: [
1513
1528
  i,
1514
1529
  a
1515
1530
  ]
1516
1531
  }
1517
1532
  );
1518
- }), io = N((o, r) => {
1533
+ }), vo = N((o, r) => {
1519
1534
  const { className: t, children: a, id: i, ...d } = o;
1520
1535
  return C(d), /* @__PURE__ */ n.jsx(
1521
1536
  "div",
@@ -1530,7 +1545,7 @@ const Wr = (o) => {
1530
1545
  children: a
1531
1546
  }
1532
1547
  );
1533
- }), lo = N((o, r) => {
1548
+ }), bo = N((o, r) => {
1534
1549
  const { className: t, children: a, ...i } = o;
1535
1550
  return C(i), /* @__PURE__ */ n.jsx(
1536
1551
  "div",
@@ -1543,16 +1558,23 @@ const Wr = (o) => {
1543
1558
  children: /* @__PURE__ */ n.jsx("div", { children: a })
1544
1559
  }
1545
1560
  );
1546
- }), co = N((o, r) => {
1547
- const t = R(), { className: a, item: i, isSelected: d, onClick: c, id: x, ...m } = o;
1548
- return C(m), /* @__PURE__ */ n.jsxs(
1561
+ }), xo = N((o, r) => {
1562
+ const t = R(), { className: a, item: i, isSelected: d, onClick: c, id: x, ...p } = o;
1563
+ C(p);
1564
+ const f = ar(null);
1565
+ return sr(() => {
1566
+ if (!f.current || !d)
1567
+ return;
1568
+ const v = ir(f.current);
1569
+ v === "top" ? f.current.scrollIntoView(!0) : v === "bottom" && f.current.scrollIntoView(!1);
1570
+ }, [d]), /* @__PURE__ */ n.jsxs(
1549
1571
  "div",
1550
1572
  {
1551
1573
  className: u(
1552
1574
  "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1553
1575
  a
1554
1576
  ),
1555
- ref: r,
1577
+ ref: lr([r, f]),
1556
1578
  id: x,
1557
1579
  onClick: c,
1558
1580
  role: "option",
@@ -1567,7 +1589,7 @@ const Wr = (o) => {
1567
1589
  ]
1568
1590
  }
1569
1591
  );
1570
- }), uo = N((o, r) => {
1592
+ }), ho = N((o, r) => {
1571
1593
  const { className: t, children: a, ...i } = o;
1572
1594
  return C(i), /* @__PURE__ */ n.jsx(
1573
1595
  "div",
@@ -1577,10 +1599,10 @@ const Wr = (o) => {
1577
1599
  children: a
1578
1600
  }
1579
1601
  );
1580
- }), fo = N((o, r) => {
1602
+ }), yo = N((o, r) => {
1581
1603
  const { className: t, children: a, ...i } = o;
1582
1604
  return C(i), /* @__PURE__ */ n.jsx("div", { className: t, ref: r, children: a });
1583
- }), mo = N((o, r) => {
1605
+ }), wo = N((o, r) => {
1584
1606
  const {
1585
1607
  className: t,
1586
1608
  children: a,
@@ -1588,27 +1610,27 @@ const Wr = (o) => {
1588
1610
  onDragStart: d,
1589
1611
  onDragEnd: c,
1590
1612
  style: x,
1591
- label: m,
1592
- ...p
1613
+ label: p,
1614
+ ...f
1593
1615
  } = o;
1594
- C(p, !1);
1595
- const b = R();
1616
+ C(f, !1);
1617
+ const v = R();
1596
1618
  return /* @__PURE__ */ n.jsx(
1597
- b.Button.Button,
1619
+ v.Button.Button,
1598
1620
  {
1599
1621
  variant: "ghost",
1600
1622
  className: u(t, "p-0 h-fit w-fit text-gray-400"),
1601
1623
  ref: r,
1602
- "aria-label": m,
1624
+ "aria-label": p,
1603
1625
  draggable: i,
1604
1626
  onDragStart: d,
1605
1627
  onDragEnd: c,
1606
1628
  style: x,
1607
- ...p,
1629
+ ...f,
1608
1630
  children: a
1609
1631
  }
1610
1632
  );
1611
- }), po = N(
1633
+ }), Co = N(
1612
1634
  (o) => {
1613
1635
  const {
1614
1636
  className: r,
@@ -1619,9 +1641,9 @@ const Wr = (o) => {
1619
1641
  value: d,
1620
1642
  autoFocus: c,
1621
1643
  placeholder: x,
1622
- onKeyDown: m,
1623
- onChange: p,
1624
- onSubmit: b,
1644
+ onKeyDown: p,
1645
+ onChange: f,
1646
+ onSubmit: v,
1625
1647
  ...S
1626
1648
  } = o;
1627
1649
  C(S);
@@ -1637,9 +1659,9 @@ const Wr = (o) => {
1637
1659
  autoFocus: c,
1638
1660
  placeholder: x,
1639
1661
  value: d,
1640
- onKeyDown: m,
1641
- onChange: p,
1642
- onSubmit: b
1662
+ onKeyDown: p,
1663
+ onChange: f,
1664
+ onSubmit: v
1643
1665
  }
1644
1666
  )
1645
1667
  ] }) : /* @__PURE__ */ n.jsx(
@@ -1650,13 +1672,13 @@ const Wr = (o) => {
1650
1672
  autoFocus: c,
1651
1673
  placeholder: x,
1652
1674
  value: d,
1653
- onKeyDown: m,
1654
- onChange: p,
1655
- onSubmit: b
1675
+ onKeyDown: p,
1676
+ onChange: f,
1677
+ onSubmit: v
1656
1678
  }
1657
1679
  );
1658
1680
  }
1659
- ), Be = N(
1681
+ ), Ae = N(
1660
1682
  (o, r) => {
1661
1683
  const { className: t, children: a, onMouseEnter: i, onMouseLeave: d, ...c } = o;
1662
1684
  C(c);
@@ -1675,7 +1697,7 @@ const Wr = (o) => {
1675
1697
  }
1676
1698
  ) });
1677
1699
  }
1678
- ), Ve = N(
1700
+ ), $e = N(
1679
1701
  (o, r) => {
1680
1702
  const {
1681
1703
  className: t,
@@ -1684,21 +1706,21 @@ const Wr = (o) => {
1684
1706
  secondaryTooltip: d,
1685
1707
  icon: c,
1686
1708
  isSelected: x,
1687
- isDisabled: m,
1688
- onClick: p,
1689
- label: b,
1709
+ isDisabled: p,
1710
+ onClick: f,
1711
+ label: v,
1690
1712
  ...S
1691
1713
  } = o;
1692
1714
  C(S, !1);
1693
- const _ = R(), B = x === void 0 ? /* @__PURE__ */ n.jsxs(
1715
+ const _ = R(), V = x === void 0 ? /* @__PURE__ */ n.jsxs(
1694
1716
  _.Button.Button,
1695
1717
  {
1696
1718
  className: t,
1697
1719
  variant: "ghost",
1698
- disabled: m,
1699
- onClick: p,
1720
+ disabled: p,
1721
+ onClick: f,
1700
1722
  ref: r,
1701
- "aria-label": b,
1723
+ "aria-label": v,
1702
1724
  ...S,
1703
1725
  children: [
1704
1726
  c,
@@ -1712,12 +1734,12 @@ const Wr = (o) => {
1712
1734
  t,
1713
1735
  "data-[state=open]:bg-accent data-[state=closed]:text-accent-foreground"
1714
1736
  ),
1715
- "aria-label": b,
1716
- onClick: p,
1737
+ "aria-label": v,
1738
+ onClick: f,
1717
1739
  pressed: x,
1718
- disabled: m,
1740
+ disabled: p,
1719
1741
  "data-state": x ? "on" : "off",
1720
- "data-disabled": m,
1742
+ "data-disabled": p,
1721
1743
  ref: r,
1722
1744
  ...S,
1723
1745
  children: [
@@ -1727,7 +1749,7 @@ const Wr = (o) => {
1727
1749
  }
1728
1750
  );
1729
1751
  return /* @__PURE__ */ n.jsxs(_.Tooltip.Tooltip, { children: [
1730
- /* @__PURE__ */ n.jsx(_.Tooltip.TooltipTrigger, { asChild: !0, children: B }),
1752
+ /* @__PURE__ */ n.jsx(_.Tooltip.TooltipTrigger, { asChild: !0, children: V }),
1731
1753
  /* @__PURE__ */ n.jsxs(
1732
1754
  _.Tooltip.TooltipContent,
1733
1755
  {
@@ -1740,96 +1762,96 @@ const Wr = (o) => {
1740
1762
  )
1741
1763
  ] });
1742
1764
  }
1743
- ), go = N((o, r) => {
1765
+ ), No = N((o, r) => {
1744
1766
  const { className: t, items: a, isDisabled: i, ...d } = o;
1745
1767
  C(d);
1746
- const c = R(), x = (p) => /* @__PURE__ */ n.jsxs("div", { className: "flex gap-1 items-center", children: [
1747
- p.icon,
1748
- p.text
1749
- ] }), m = a.filter((p) => p.isSelected)[0];
1750
- return m ? /* @__PURE__ */ n.jsxs(
1768
+ const c = R(), x = (f) => /* @__PURE__ */ n.jsxs("div", { className: "flex gap-1 items-center", children: [
1769
+ f.icon,
1770
+ f.text
1771
+ ] }), p = a.filter((f) => f.isSelected)[0];
1772
+ return p ? /* @__PURE__ */ n.jsxs(
1751
1773
  c.Select.Select,
1752
1774
  {
1753
- value: m.text,
1754
- onValueChange: (p) => {
1755
- var b, S;
1756
- return (S = (b = a.find((_) => _.text === p)).onClick) == null ? void 0 : S.call(b);
1775
+ value: p.text,
1776
+ onValueChange: (f) => {
1777
+ var v, S;
1778
+ return (S = (v = a.find((_) => _.text === f)).onClick) == null ? void 0 : S.call(v);
1757
1779
  },
1758
1780
  disabled: i,
1759
1781
  children: [
1760
1782
  /* @__PURE__ */ n.jsx(c.Select.SelectTrigger, { className: "border-none", children: /* @__PURE__ */ n.jsx(c.Select.SelectValue, {}) }),
1761
- /* @__PURE__ */ n.jsx(c.Select.SelectContent, { className: t, ref: r, children: a.map((p) => /* @__PURE__ */ n.jsx(
1783
+ /* @__PURE__ */ n.jsx(c.Select.SelectContent, { className: t, ref: r, children: a.map((f) => /* @__PURE__ */ n.jsx(
1762
1784
  c.Select.SelectItem,
1763
1785
  {
1764
- disabled: p.isDisabled,
1765
- value: p.text,
1766
- children: /* @__PURE__ */ n.jsx(x, { ...p })
1786
+ disabled: f.isDisabled,
1787
+ value: f.text,
1788
+ children: /* @__PURE__ */ n.jsx(x, { ...f })
1767
1789
  },
1768
- p.text
1790
+ f.text
1769
1791
  )) })
1770
1792
  ]
1771
1793
  }
1772
1794
  ) : null;
1773
1795
  });
1774
- const vo = {
1796
+ const jo = {
1775
1797
  FormattingToolbar: {
1776
- Root: Be,
1777
- Button: Ve,
1778
- Select: go
1798
+ Root: Ae,
1799
+ Button: $e,
1800
+ Select: No
1779
1801
  },
1780
1802
  FilePanel: {
1781
- Root: Xr,
1782
- Button: Zr,
1783
- FileInput: Qr,
1784
- TabPanel: eo,
1785
- TextInput: to
1803
+ Root: ao,
1804
+ Button: so,
1805
+ FileInput: io,
1806
+ TabPanel: lo,
1807
+ TextInput: co
1786
1808
  },
1787
1809
  LinkToolbar: {
1788
- Root: Be,
1789
- Button: Ve
1810
+ Root: Ae,
1811
+ Button: $e
1790
1812
  },
1791
1813
  SideMenu: {
1792
- Root: ao,
1793
- Button: so
1814
+ Root: po,
1815
+ Button: go
1794
1816
  },
1795
1817
  SuggestionMenu: {
1796
- Root: io,
1797
- Item: co,
1798
- EmptyItem: lo,
1799
- Label: uo,
1800
- Loader: fo
1818
+ Root: vo,
1819
+ Item: xo,
1820
+ EmptyItem: bo,
1821
+ Label: ho,
1822
+ Loader: yo
1801
1823
  },
1802
1824
  TableHandle: {
1803
- Root: mo
1825
+ Root: wo
1804
1826
  },
1805
1827
  Generic: {
1806
1828
  Form: {
1807
- Root: Wr,
1808
- TextInput: po
1829
+ Root: Xr,
1830
+ TextInput: Co
1809
1831
  },
1810
1832
  Menu: {
1811
- Root: Ur,
1812
- Trigger: qr,
1813
- Dropdown: Gr,
1814
- Divider: Jr,
1815
- Label: Kr,
1816
- Item: Hr
1833
+ Root: Qr,
1834
+ Trigger: eo,
1835
+ Dropdown: to,
1836
+ Divider: oo,
1837
+ Label: no,
1838
+ Item: ro
1817
1839
  },
1818
1840
  Popover: {
1819
- Root: ro,
1820
- Trigger: oo,
1821
- Content: no
1841
+ Root: uo,
1842
+ Trigger: fo,
1843
+ Content: mo
1822
1844
  }
1823
1845
  }
1824
- }, Ro = (o) => {
1825
- const { shadCNComponents: r, ...t } = o, a = $e(() => ({
1846
+ }, ko = (o) => {
1847
+ const { shadCNComponents: r, ...t } = o, a = We(() => ({
1826
1848
  ...r,
1827
- ...zr
1849
+ ...Hr
1828
1850
  }), [r]);
1829
- return /* @__PURE__ */ n.jsx(bt.Provider, { value: a, children: /* @__PURE__ */ n.jsx(tr.Provider, { value: vo, children: /* @__PURE__ */ n.jsx(rr, { ...t }) }) });
1851
+ return /* @__PURE__ */ n.jsx(ht.Provider, { value: a, children: /* @__PURE__ */ n.jsx(dr.Provider, { value: jo, children: /* @__PURE__ */ n.jsx(cr, { ...t }) }) });
1830
1852
  };
1831
1853
  export {
1832
- Ro as BlockNoteView,
1833
- vo as components
1854
+ ko as BlockNoteView,
1855
+ jo as components
1834
1856
  };
1835
1857
  //# sourceMappingURL=blocknote-shadcn.js.map